Skip to content

Commit

Permalink
Add support for policy operations on the CHATBOT_POLICY policy type.
Browse files Browse the repository at this point in the history
AWS PCS API documentation - Edited the description of the iamInstanceProfileArn parameter of the CreateComputeNodeGroup and UpdateComputeNodeGroup actions; edited the description of the SlurmCustomSetting data type to list the supported parameters for clusters and compute node groups.
Documentation update for RDS Data API to reflect support for Aurora MySQL Serverless v2 and Provisioned DB clusters.
Return State and StateReason fields for Chatbot Channel Configurations.
Reverting Lambda resource-based policy and block public access APIs.
Adding `TagPropagation` attribute to Sagemaker API
  • Loading branch information
aws-sdk-cpp-automation committed Sep 26, 2024
1 parent fe8d6f6 commit 4fcbb39
Show file tree
Hide file tree
Showing 70 changed files with 720 additions and 2,102 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.413
1.11.414
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,37 @@ namespace Model
inline ChimeWebhookConfiguration& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
inline ChimeWebhookConfiguration& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
///@}

///@{
/**
* <p>Either <code>ENABLED</code> or <code>DISABLED</code>. The resource returns
* <code>DISABLED</code> if the organization's AWS Chatbot policy has explicitly
* denied that configuration. For example, if Amazon Chime is disabled.</p>
*/
inline const Aws::String& GetState() const{ return m_state; }
inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
inline ChimeWebhookConfiguration& WithState(const Aws::String& value) { SetState(value); return *this;}
inline ChimeWebhookConfiguration& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
inline ChimeWebhookConfiguration& WithState(const char* value) { SetState(value); return *this;}
///@}

///@{
/**
* <p>Provided if State is <code>DISABLED</code>. Provides context as to why the
* resource is disabled.</p>
*/
inline const Aws::String& GetStateReason() const{ return m_stateReason; }
inline bool StateReasonHasBeenSet() const { return m_stateReasonHasBeenSet; }
inline void SetStateReason(const Aws::String& value) { m_stateReasonHasBeenSet = true; m_stateReason = value; }
inline void SetStateReason(Aws::String&& value) { m_stateReasonHasBeenSet = true; m_stateReason = std::move(value); }
inline void SetStateReason(const char* value) { m_stateReasonHasBeenSet = true; m_stateReason.assign(value); }
inline ChimeWebhookConfiguration& WithStateReason(const Aws::String& value) { SetStateReason(value); return *this;}
inline ChimeWebhookConfiguration& WithStateReason(Aws::String&& value) { SetStateReason(std::move(value)); return *this;}
inline ChimeWebhookConfiguration& WithStateReason(const char* value) { SetStateReason(value); return *this;}
///@}
private:

Aws::String m_webhookDescription;
Expand All @@ -170,6 +201,12 @@ namespace Model

Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet = false;

Aws::String m_state;
bool m_stateHasBeenSet = false;

Aws::String m_stateReason;
bool m_stateReasonHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,37 @@ namespace Model
inline ConfiguredTeam& WithTeamName(Aws::String&& value) { SetTeamName(std::move(value)); return *this;}
inline ConfiguredTeam& WithTeamName(const char* value) { SetTeamName(value); return *this;}
///@}

///@{
/**
* <p>Either <code>ENABLED</code> or <code>DISABLED</code>. The resource returns
* <code>DISABLED</code> if the organization's AWS Chatbot policy has explicitly
* denied that configuration. For example, if Amazon Chime is disabled.</p>
*/
inline const Aws::String& GetState() const{ return m_state; }
inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
inline ConfiguredTeam& WithState(const Aws::String& value) { SetState(value); return *this;}
inline ConfiguredTeam& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
inline ConfiguredTeam& WithState(const char* value) { SetState(value); return *this;}
///@}

///@{
/**
* <p>Provided if State is <code>DISABLED</code>. Provides context as to why the
* resource is disabled.</p>
*/
inline const Aws::String& GetStateReason() const{ return m_stateReason; }
inline bool StateReasonHasBeenSet() const { return m_stateReasonHasBeenSet; }
inline void SetStateReason(const Aws::String& value) { m_stateReasonHasBeenSet = true; m_stateReason = value; }
inline void SetStateReason(Aws::String&& value) { m_stateReasonHasBeenSet = true; m_stateReason = std::move(value); }
inline void SetStateReason(const char* value) { m_stateReasonHasBeenSet = true; m_stateReason.assign(value); }
inline ConfiguredTeam& WithStateReason(const Aws::String& value) { SetStateReason(value); return *this;}
inline ConfiguredTeam& WithStateReason(Aws::String&& value) { SetStateReason(std::move(value)); return *this;}
inline ConfiguredTeam& WithStateReason(const char* value) { SetStateReason(value); return *this;}
///@}
private:

Aws::String m_tenantId;
Expand All @@ -95,6 +126,12 @@ namespace Model

Aws::String m_teamName;
bool m_teamNameHasBeenSet = false;

Aws::String m_state;
bool m_stateHasBeenSet = false;

Aws::String m_stateReason;
bool m_stateReasonHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,37 @@ namespace Model
inline SlackChannelConfiguration& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
inline SlackChannelConfiguration& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
///@}

///@{
/**
* <p>Either <code>ENABLED</code> or <code>DISABLED</code>. The resource returns
* <code>DISABLED</code> if the organization's AWS Chatbot policy has explicitly
* denied that configuration. For example, if Amazon Chime is disabled.</p>
*/
inline const Aws::String& GetState() const{ return m_state; }
inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
inline SlackChannelConfiguration& WithState(const Aws::String& value) { SetState(value); return *this;}
inline SlackChannelConfiguration& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
inline SlackChannelConfiguration& WithState(const char* value) { SetState(value); return *this;}
///@}

///@{
/**
* <p>Provided if State is <code>DISABLED</code>. Provides context as to why the
* resource is disabled.</p>
*/
inline const Aws::String& GetStateReason() const{ return m_stateReason; }
inline bool StateReasonHasBeenSet() const { return m_stateReasonHasBeenSet; }
inline void SetStateReason(const Aws::String& value) { m_stateReasonHasBeenSet = true; m_stateReason = value; }
inline void SetStateReason(Aws::String&& value) { m_stateReasonHasBeenSet = true; m_stateReason = std::move(value); }
inline void SetStateReason(const char* value) { m_stateReasonHasBeenSet = true; m_stateReason.assign(value); }
inline SlackChannelConfiguration& WithStateReason(const Aws::String& value) { SetStateReason(value); return *this;}
inline SlackChannelConfiguration& WithStateReason(Aws::String&& value) { SetStateReason(std::move(value)); return *this;}
inline SlackChannelConfiguration& WithStateReason(const char* value) { SetStateReason(value); return *this;}
///@}
private:

Aws::String m_slackTeamName;
Expand Down Expand Up @@ -251,6 +282,12 @@ namespace Model

Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet = false;

Aws::String m_state;
bool m_stateHasBeenSet = false;

Aws::String m_stateReason;
bool m_stateReasonHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,50 @@ namespace Model
inline SlackWorkspace& WithSlackTeamName(Aws::String&& value) { SetSlackTeamName(std::move(value)); return *this;}
inline SlackWorkspace& WithSlackTeamName(const char* value) { SetSlackTeamName(value); return *this;}
///@}

///@{
/**
* <p>Either <code>ENABLED</code> or <code>DISABLED</code>. The resource returns
* <code>DISABLED</code> if the organization's AWS Chatbot policy has explicitly
* denied that configuration. For example, if Amazon Chime is disabled.</p>
*/
inline const Aws::String& GetState() const{ return m_state; }
inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
inline SlackWorkspace& WithState(const Aws::String& value) { SetState(value); return *this;}
inline SlackWorkspace& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
inline SlackWorkspace& WithState(const char* value) { SetState(value); return *this;}
///@}

///@{
/**
* <p>Provided if State is <code>DISABLED</code>. Provides context as to why the
* resource is disabled.</p>
*/
inline const Aws::String& GetStateReason() const{ return m_stateReason; }
inline bool StateReasonHasBeenSet() const { return m_stateReasonHasBeenSet; }
inline void SetStateReason(const Aws::String& value) { m_stateReasonHasBeenSet = true; m_stateReason = value; }
inline void SetStateReason(Aws::String&& value) { m_stateReasonHasBeenSet = true; m_stateReason = std::move(value); }
inline void SetStateReason(const char* value) { m_stateReasonHasBeenSet = true; m_stateReason.assign(value); }
inline SlackWorkspace& WithStateReason(const Aws::String& value) { SetStateReason(value); return *this;}
inline SlackWorkspace& WithStateReason(Aws::String&& value) { SetStateReason(std::move(value)); return *this;}
inline SlackWorkspace& WithStateReason(const char* value) { SetStateReason(value); return *this;}
///@}
private:

Aws::String m_slackTeamId;
bool m_slackTeamIdHasBeenSet = false;

Aws::String m_slackTeamName;
bool m_slackTeamNameHasBeenSet = false;

Aws::String m_state;
bool m_stateHasBeenSet = false;

Aws::String m_stateReason;
bool m_stateReasonHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,37 @@ namespace Model
inline TeamsChannelConfiguration& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
inline TeamsChannelConfiguration& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
///@}

///@{
/**
* <p>Either <code>ENABLED</code> or <code>DISABLED</code>. The resource returns
* <code>DISABLED</code> if the organization's AWS Chatbot policy has explicitly
* denied that configuration. For example, if Amazon Chime is disabled.</p>
*/
inline const Aws::String& GetState() const{ return m_state; }
inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
inline TeamsChannelConfiguration& WithState(const Aws::String& value) { SetState(value); return *this;}
inline TeamsChannelConfiguration& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
inline TeamsChannelConfiguration& WithState(const char* value) { SetState(value); return *this;}
///@}

///@{
/**
* <p>Provided if State is <code>DISABLED</code>. Provides context as to why the
* resource is disabled.</p>
*/
inline const Aws::String& GetStateReason() const{ return m_stateReason; }
inline bool StateReasonHasBeenSet() const { return m_stateReasonHasBeenSet; }
inline void SetStateReason(const Aws::String& value) { m_stateReasonHasBeenSet = true; m_stateReason = value; }
inline void SetStateReason(Aws::String&& value) { m_stateReasonHasBeenSet = true; m_stateReason = std::move(value); }
inline void SetStateReason(const char* value) { m_stateReasonHasBeenSet = true; m_stateReason.assign(value); }
inline TeamsChannelConfiguration& WithStateReason(const Aws::String& value) { SetStateReason(value); return *this;}
inline TeamsChannelConfiguration& WithStateReason(Aws::String&& value) { SetStateReason(std::move(value)); return *this;}
inline TeamsChannelConfiguration& WithStateReason(const char* value) { SetStateReason(value); return *this;}
///@}
private:

Aws::String m_channelId;
Expand Down Expand Up @@ -275,6 +306,12 @@ namespace Model

Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet = false;

Aws::String m_state;
bool m_stateHasBeenSet = false;

Aws::String m_stateReason;
bool m_stateReasonHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ ChimeWebhookConfiguration::ChimeWebhookConfiguration() :
m_snsTopicArnsHasBeenSet(false),
m_configurationNameHasBeenSet(false),
m_loggingLevelHasBeenSet(false),
m_tagsHasBeenSet(false)
m_tagsHasBeenSet(false),
m_stateHasBeenSet(false),
m_stateReasonHasBeenSet(false)
{
}

Expand Down Expand Up @@ -92,6 +94,20 @@ ChimeWebhookConfiguration& ChimeWebhookConfiguration::operator =(JsonView jsonVa
m_tagsHasBeenSet = true;
}

if(jsonValue.ValueExists("State"))
{
m_state = jsonValue.GetString("State");

m_stateHasBeenSet = true;
}

if(jsonValue.ValueExists("StateReason"))
{
m_stateReason = jsonValue.GetString("StateReason");

m_stateReasonHasBeenSet = true;
}

return *this;
}

Expand Down Expand Up @@ -151,6 +167,18 @@ JsonValue ChimeWebhookConfiguration::Jsonize() const

}

if(m_stateHasBeenSet)
{
payload.WithString("State", m_state);

}

if(m_stateReasonHasBeenSet)
{
payload.WithString("StateReason", m_stateReason);

}

return payload;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ namespace Model
ConfiguredTeam::ConfiguredTeam() :
m_tenantIdHasBeenSet(false),
m_teamIdHasBeenSet(false),
m_teamNameHasBeenSet(false)
m_teamNameHasBeenSet(false),
m_stateHasBeenSet(false),
m_stateReasonHasBeenSet(false)
{
}

Expand Down Expand Up @@ -54,6 +56,20 @@ ConfiguredTeam& ConfiguredTeam::operator =(JsonView jsonValue)
m_teamNameHasBeenSet = true;
}

if(jsonValue.ValueExists("State"))
{
m_state = jsonValue.GetString("State");

m_stateHasBeenSet = true;
}

if(jsonValue.ValueExists("StateReason"))
{
m_stateReason = jsonValue.GetString("StateReason");

m_stateReasonHasBeenSet = true;
}

return *this;
}

Expand All @@ -79,6 +95,18 @@ JsonValue ConfiguredTeam::Jsonize() const

}

if(m_stateHasBeenSet)
{
payload.WithString("State", m_state);

}

if(m_stateReasonHasBeenSet)
{
payload.WithString("StateReason", m_stateReason);

}

return payload;
}

Expand Down
Loading

0 comments on commit 4fcbb39

Please sign in to comment.