Skip to content

Commit 4fcbb39

Browse files
Add support for policy operations on the CHATBOT_POLICY policy type.
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
1 parent fe8d6f6 commit 4fcbb39

File tree

70 files changed

+720
-2102
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+720
-2102
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.413
1+
1.11.414

generated/src/aws-cpp-sdk-chatbot/include/aws/chatbot/model/ChimeWebhookConfiguration.h

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,37 @@ namespace Model
148148
inline ChimeWebhookConfiguration& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
149149
inline ChimeWebhookConfiguration& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
150150
///@}
151+
152+
///@{
153+
/**
154+
* <p>Either <code>ENABLED</code> or <code>DISABLED</code>. The resource returns
155+
* <code>DISABLED</code> if the organization's AWS Chatbot policy has explicitly
156+
* denied that configuration. For example, if Amazon Chime is disabled.</p>
157+
*/
158+
inline const Aws::String& GetState() const{ return m_state; }
159+
inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
160+
inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
161+
inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
162+
inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
163+
inline ChimeWebhookConfiguration& WithState(const Aws::String& value) { SetState(value); return *this;}
164+
inline ChimeWebhookConfiguration& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
165+
inline ChimeWebhookConfiguration& WithState(const char* value) { SetState(value); return *this;}
166+
///@}
167+
168+
///@{
169+
/**
170+
* <p>Provided if State is <code>DISABLED</code>. Provides context as to why the
171+
* resource is disabled.</p>
172+
*/
173+
inline const Aws::String& GetStateReason() const{ return m_stateReason; }
174+
inline bool StateReasonHasBeenSet() const { return m_stateReasonHasBeenSet; }
175+
inline void SetStateReason(const Aws::String& value) { m_stateReasonHasBeenSet = true; m_stateReason = value; }
176+
inline void SetStateReason(Aws::String&& value) { m_stateReasonHasBeenSet = true; m_stateReason = std::move(value); }
177+
inline void SetStateReason(const char* value) { m_stateReasonHasBeenSet = true; m_stateReason.assign(value); }
178+
inline ChimeWebhookConfiguration& WithStateReason(const Aws::String& value) { SetStateReason(value); return *this;}
179+
inline ChimeWebhookConfiguration& WithStateReason(Aws::String&& value) { SetStateReason(std::move(value)); return *this;}
180+
inline ChimeWebhookConfiguration& WithStateReason(const char* value) { SetStateReason(value); return *this;}
181+
///@}
151182
private:
152183

153184
Aws::String m_webhookDescription;
@@ -170,6 +201,12 @@ namespace Model
170201

171202
Aws::Vector<Tag> m_tags;
172203
bool m_tagsHasBeenSet = false;
204+
205+
Aws::String m_state;
206+
bool m_stateHasBeenSet = false;
207+
208+
Aws::String m_stateReason;
209+
bool m_stateReasonHasBeenSet = false;
173210
};
174211

175212
} // namespace Model

generated/src/aws-cpp-sdk-chatbot/include/aws/chatbot/model/ConfiguredTeam.h

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,37 @@ namespace Model
8585
inline ConfiguredTeam& WithTeamName(Aws::String&& value) { SetTeamName(std::move(value)); return *this;}
8686
inline ConfiguredTeam& WithTeamName(const char* value) { SetTeamName(value); return *this;}
8787
///@}
88+
89+
///@{
90+
/**
91+
* <p>Either <code>ENABLED</code> or <code>DISABLED</code>. The resource returns
92+
* <code>DISABLED</code> if the organization's AWS Chatbot policy has explicitly
93+
* denied that configuration. For example, if Amazon Chime is disabled.</p>
94+
*/
95+
inline const Aws::String& GetState() const{ return m_state; }
96+
inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
97+
inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
98+
inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
99+
inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
100+
inline ConfiguredTeam& WithState(const Aws::String& value) { SetState(value); return *this;}
101+
inline ConfiguredTeam& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
102+
inline ConfiguredTeam& WithState(const char* value) { SetState(value); return *this;}
103+
///@}
104+
105+
///@{
106+
/**
107+
* <p>Provided if State is <code>DISABLED</code>. Provides context as to why the
108+
* resource is disabled.</p>
109+
*/
110+
inline const Aws::String& GetStateReason() const{ return m_stateReason; }
111+
inline bool StateReasonHasBeenSet() const { return m_stateReasonHasBeenSet; }
112+
inline void SetStateReason(const Aws::String& value) { m_stateReasonHasBeenSet = true; m_stateReason = value; }
113+
inline void SetStateReason(Aws::String&& value) { m_stateReasonHasBeenSet = true; m_stateReason = std::move(value); }
114+
inline void SetStateReason(const char* value) { m_stateReasonHasBeenSet = true; m_stateReason.assign(value); }
115+
inline ConfiguredTeam& WithStateReason(const Aws::String& value) { SetStateReason(value); return *this;}
116+
inline ConfiguredTeam& WithStateReason(Aws::String&& value) { SetStateReason(std::move(value)); return *this;}
117+
inline ConfiguredTeam& WithStateReason(const char* value) { SetStateReason(value); return *this;}
118+
///@}
88119
private:
89120

90121
Aws::String m_tenantId;
@@ -95,6 +126,12 @@ namespace Model
95126

96127
Aws::String m_teamName;
97128
bool m_teamNameHasBeenSet = false;
129+
130+
Aws::String m_state;
131+
bool m_stateHasBeenSet = false;
132+
133+
Aws::String m_stateReason;
134+
bool m_stateReasonHasBeenSet = false;
98135
};
99136

100137
} // namespace Model

generated/src/aws-cpp-sdk-chatbot/include/aws/chatbot/model/SlackChannelConfiguration.h

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,37 @@ namespace Model
214214
inline SlackChannelConfiguration& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
215215
inline SlackChannelConfiguration& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
216216
///@}
217+
218+
///@{
219+
/**
220+
* <p>Either <code>ENABLED</code> or <code>DISABLED</code>. The resource returns
221+
* <code>DISABLED</code> if the organization's AWS Chatbot policy has explicitly
222+
* denied that configuration. For example, if Amazon Chime is disabled.</p>
223+
*/
224+
inline const Aws::String& GetState() const{ return m_state; }
225+
inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
226+
inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
227+
inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
228+
inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
229+
inline SlackChannelConfiguration& WithState(const Aws::String& value) { SetState(value); return *this;}
230+
inline SlackChannelConfiguration& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
231+
inline SlackChannelConfiguration& WithState(const char* value) { SetState(value); return *this;}
232+
///@}
233+
234+
///@{
235+
/**
236+
* <p>Provided if State is <code>DISABLED</code>. Provides context as to why the
237+
* resource is disabled.</p>
238+
*/
239+
inline const Aws::String& GetStateReason() const{ return m_stateReason; }
240+
inline bool StateReasonHasBeenSet() const { return m_stateReasonHasBeenSet; }
241+
inline void SetStateReason(const Aws::String& value) { m_stateReasonHasBeenSet = true; m_stateReason = value; }
242+
inline void SetStateReason(Aws::String&& value) { m_stateReasonHasBeenSet = true; m_stateReason = std::move(value); }
243+
inline void SetStateReason(const char* value) { m_stateReasonHasBeenSet = true; m_stateReason.assign(value); }
244+
inline SlackChannelConfiguration& WithStateReason(const Aws::String& value) { SetStateReason(value); return *this;}
245+
inline SlackChannelConfiguration& WithStateReason(Aws::String&& value) { SetStateReason(std::move(value)); return *this;}
246+
inline SlackChannelConfiguration& WithStateReason(const char* value) { SetStateReason(value); return *this;}
247+
///@}
217248
private:
218249

219250
Aws::String m_slackTeamName;
@@ -251,6 +282,12 @@ namespace Model
251282

252283
Aws::Vector<Tag> m_tags;
253284
bool m_tagsHasBeenSet = false;
285+
286+
Aws::String m_state;
287+
bool m_stateHasBeenSet = false;
288+
289+
Aws::String m_stateReason;
290+
bool m_stateReasonHasBeenSet = false;
254291
};
255292

256293
} // namespace Model

generated/src/aws-cpp-sdk-chatbot/include/aws/chatbot/model/SlackWorkspace.h

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,50 @@ namespace Model
6464
inline SlackWorkspace& WithSlackTeamName(Aws::String&& value) { SetSlackTeamName(std::move(value)); return *this;}
6565
inline SlackWorkspace& WithSlackTeamName(const char* value) { SetSlackTeamName(value); return *this;}
6666
///@}
67+
68+
///@{
69+
/**
70+
* <p>Either <code>ENABLED</code> or <code>DISABLED</code>. The resource returns
71+
* <code>DISABLED</code> if the organization's AWS Chatbot policy has explicitly
72+
* denied that configuration. For example, if Amazon Chime is disabled.</p>
73+
*/
74+
inline const Aws::String& GetState() const{ return m_state; }
75+
inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
76+
inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
77+
inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
78+
inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
79+
inline SlackWorkspace& WithState(const Aws::String& value) { SetState(value); return *this;}
80+
inline SlackWorkspace& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
81+
inline SlackWorkspace& WithState(const char* value) { SetState(value); return *this;}
82+
///@}
83+
84+
///@{
85+
/**
86+
* <p>Provided if State is <code>DISABLED</code>. Provides context as to why the
87+
* resource is disabled.</p>
88+
*/
89+
inline const Aws::String& GetStateReason() const{ return m_stateReason; }
90+
inline bool StateReasonHasBeenSet() const { return m_stateReasonHasBeenSet; }
91+
inline void SetStateReason(const Aws::String& value) { m_stateReasonHasBeenSet = true; m_stateReason = value; }
92+
inline void SetStateReason(Aws::String&& value) { m_stateReasonHasBeenSet = true; m_stateReason = std::move(value); }
93+
inline void SetStateReason(const char* value) { m_stateReasonHasBeenSet = true; m_stateReason.assign(value); }
94+
inline SlackWorkspace& WithStateReason(const Aws::String& value) { SetStateReason(value); return *this;}
95+
inline SlackWorkspace& WithStateReason(Aws::String&& value) { SetStateReason(std::move(value)); return *this;}
96+
inline SlackWorkspace& WithStateReason(const char* value) { SetStateReason(value); return *this;}
97+
///@}
6798
private:
6899

69100
Aws::String m_slackTeamId;
70101
bool m_slackTeamIdHasBeenSet = false;
71102

72103
Aws::String m_slackTeamName;
73104
bool m_slackTeamNameHasBeenSet = false;
105+
106+
Aws::String m_state;
107+
bool m_stateHasBeenSet = false;
108+
109+
Aws::String m_stateReason;
110+
bool m_stateReasonHasBeenSet = false;
74111
};
75112

76113
} // namespace Model

generated/src/aws-cpp-sdk-chatbot/include/aws/chatbot/model/TeamsChannelConfiguration.h

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,37 @@ namespace Model
235235
inline TeamsChannelConfiguration& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
236236
inline TeamsChannelConfiguration& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
237237
///@}
238+
239+
///@{
240+
/**
241+
* <p>Either <code>ENABLED</code> or <code>DISABLED</code>. The resource returns
242+
* <code>DISABLED</code> if the organization's AWS Chatbot policy has explicitly
243+
* denied that configuration. For example, if Amazon Chime is disabled.</p>
244+
*/
245+
inline const Aws::String& GetState() const{ return m_state; }
246+
inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
247+
inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
248+
inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
249+
inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
250+
inline TeamsChannelConfiguration& WithState(const Aws::String& value) { SetState(value); return *this;}
251+
inline TeamsChannelConfiguration& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
252+
inline TeamsChannelConfiguration& WithState(const char* value) { SetState(value); return *this;}
253+
///@}
254+
255+
///@{
256+
/**
257+
* <p>Provided if State is <code>DISABLED</code>. Provides context as to why the
258+
* resource is disabled.</p>
259+
*/
260+
inline const Aws::String& GetStateReason() const{ return m_stateReason; }
261+
inline bool StateReasonHasBeenSet() const { return m_stateReasonHasBeenSet; }
262+
inline void SetStateReason(const Aws::String& value) { m_stateReasonHasBeenSet = true; m_stateReason = value; }
263+
inline void SetStateReason(Aws::String&& value) { m_stateReasonHasBeenSet = true; m_stateReason = std::move(value); }
264+
inline void SetStateReason(const char* value) { m_stateReasonHasBeenSet = true; m_stateReason.assign(value); }
265+
inline TeamsChannelConfiguration& WithStateReason(const Aws::String& value) { SetStateReason(value); return *this;}
266+
inline TeamsChannelConfiguration& WithStateReason(Aws::String&& value) { SetStateReason(std::move(value)); return *this;}
267+
inline TeamsChannelConfiguration& WithStateReason(const char* value) { SetStateReason(value); return *this;}
268+
///@}
238269
private:
239270

240271
Aws::String m_channelId;
@@ -275,6 +306,12 @@ namespace Model
275306

276307
Aws::Vector<Tag> m_tags;
277308
bool m_tagsHasBeenSet = false;
309+
310+
Aws::String m_state;
311+
bool m_stateHasBeenSet = false;
312+
313+
Aws::String m_stateReason;
314+
bool m_stateReasonHasBeenSet = false;
278315
};
279316

280317
} // namespace Model

generated/src/aws-cpp-sdk-chatbot/source/model/ChimeWebhookConfiguration.cpp

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ ChimeWebhookConfiguration::ChimeWebhookConfiguration() :
2525
m_snsTopicArnsHasBeenSet(false),
2626
m_configurationNameHasBeenSet(false),
2727
m_loggingLevelHasBeenSet(false),
28-
m_tagsHasBeenSet(false)
28+
m_tagsHasBeenSet(false),
29+
m_stateHasBeenSet(false),
30+
m_stateReasonHasBeenSet(false)
2931
{
3032
}
3133

@@ -92,6 +94,20 @@ ChimeWebhookConfiguration& ChimeWebhookConfiguration::operator =(JsonView jsonVa
9294
m_tagsHasBeenSet = true;
9395
}
9496

97+
if(jsonValue.ValueExists("State"))
98+
{
99+
m_state = jsonValue.GetString("State");
100+
101+
m_stateHasBeenSet = true;
102+
}
103+
104+
if(jsonValue.ValueExists("StateReason"))
105+
{
106+
m_stateReason = jsonValue.GetString("StateReason");
107+
108+
m_stateReasonHasBeenSet = true;
109+
}
110+
95111
return *this;
96112
}
97113

@@ -151,6 +167,18 @@ JsonValue ChimeWebhookConfiguration::Jsonize() const
151167

152168
}
153169

170+
if(m_stateHasBeenSet)
171+
{
172+
payload.WithString("State", m_state);
173+
174+
}
175+
176+
if(m_stateReasonHasBeenSet)
177+
{
178+
payload.WithString("StateReason", m_stateReason);
179+
180+
}
181+
154182
return payload;
155183
}
156184

generated/src/aws-cpp-sdk-chatbot/source/model/ConfiguredTeam.cpp

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ namespace Model
2121
ConfiguredTeam::ConfiguredTeam() :
2222
m_tenantIdHasBeenSet(false),
2323
m_teamIdHasBeenSet(false),
24-
m_teamNameHasBeenSet(false)
24+
m_teamNameHasBeenSet(false),
25+
m_stateHasBeenSet(false),
26+
m_stateReasonHasBeenSet(false)
2527
{
2628
}
2729

@@ -54,6 +56,20 @@ ConfiguredTeam& ConfiguredTeam::operator =(JsonView jsonValue)
5456
m_teamNameHasBeenSet = true;
5557
}
5658

59+
if(jsonValue.ValueExists("State"))
60+
{
61+
m_state = jsonValue.GetString("State");
62+
63+
m_stateHasBeenSet = true;
64+
}
65+
66+
if(jsonValue.ValueExists("StateReason"))
67+
{
68+
m_stateReason = jsonValue.GetString("StateReason");
69+
70+
m_stateReasonHasBeenSet = true;
71+
}
72+
5773
return *this;
5874
}
5975

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

8096
}
8197

98+
if(m_stateHasBeenSet)
99+
{
100+
payload.WithString("State", m_state);
101+
102+
}
103+
104+
if(m_stateReasonHasBeenSet)
105+
{
106+
payload.WithString("StateReason", m_stateReason);
107+
108+
}
109+
82110
return payload;
83111
}
84112

0 commit comments

Comments
 (0)