Skip to content

Commit 47ab0b1

Browse files
author
aws-sdk-cpp-automation
committed
Add a new exception type, ForbiddenException, that is returned when request is not allowed
You can now associate an AWS WAF web ACL with an Amazon Cognito user pool.
1 parent 785a340 commit 47ab0b1

File tree

59 files changed

+1860
-1612
lines changed

Some content is hidden

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

59 files changed

+1860
-1612
lines changed

aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/CognitoIdentityProviderClient.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,9 +1244,9 @@ namespace Model
12441244
virtual void AdminUserGlobalSignOutAsync(const Model::AdminUserGlobalSignOutRequest& request, const AdminUserGlobalSignOutResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
12451245

12461246
/**
1247-
* <p>Begins setup of time-based one-time password multi-factor authentication
1248-
* (TOTP MFA) for a user, with a unique private key that Amazon Cognito generates
1249-
* and returns in the API response. You can authorize an
1247+
* <p>Begins setup of time-based one-time password (TOTP) multi-factor
1248+
* authentication (MFA) for a user, with a unique private key that Amazon Cognito
1249+
* generates and returns in the API response. You can authorize an
12501250
* <code>AssociateSoftwareToken</code> request with either the user's access token,
12511251
* or a session string from a challenge response that you received from Amazon
12521252
* Cognito.</p> <p>Amazon Cognito disassociates an existing software token

aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/CognitoIdentityProviderErrors.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ enum class CognitoIdentityProviderErrors
5454
DUPLICATE_PROVIDER,
5555
ENABLE_SOFTWARE_TOKEN_M_F_A,
5656
EXPIRED_CODE,
57+
FORBIDDEN,
5758
GROUP_EXISTS,
5859
INTERNAL_ERROR,
5960
INVALID_EMAIL_ROLE_ACCESS_POLICY,

aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/AssociateSoftwareTokenResult.h

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -33,44 +33,44 @@ namespace Model
3333

3434

3535
/**
36-
* <p>A unique generated shared secret code that is used in the time-based one-time
37-
* password (TOTP) algorithm to generate a one-time code.</p>
36+
* <p>A unique generated shared secret code that is used in the TOTP algorithm to
37+
* generate a one-time code.</p>
3838
*/
3939
inline const Aws::String& GetSecretCode() const{ return m_secretCode; }
4040

4141
/**
42-
* <p>A unique generated shared secret code that is used in the time-based one-time
43-
* password (TOTP) algorithm to generate a one-time code.</p>
42+
* <p>A unique generated shared secret code that is used in the TOTP algorithm to
43+
* generate a one-time code.</p>
4444
*/
4545
inline void SetSecretCode(const Aws::String& value) { m_secretCode = value; }
4646

4747
/**
48-
* <p>A unique generated shared secret code that is used in the time-based one-time
49-
* password (TOTP) algorithm to generate a one-time code.</p>
48+
* <p>A unique generated shared secret code that is used in the TOTP algorithm to
49+
* generate a one-time code.</p>
5050
*/
5151
inline void SetSecretCode(Aws::String&& value) { m_secretCode = std::move(value); }
5252

5353
/**
54-
* <p>A unique generated shared secret code that is used in the time-based one-time
55-
* password (TOTP) algorithm to generate a one-time code.</p>
54+
* <p>A unique generated shared secret code that is used in the TOTP algorithm to
55+
* generate a one-time code.</p>
5656
*/
5757
inline void SetSecretCode(const char* value) { m_secretCode.assign(value); }
5858

5959
/**
60-
* <p>A unique generated shared secret code that is used in the time-based one-time
61-
* password (TOTP) algorithm to generate a one-time code.</p>
60+
* <p>A unique generated shared secret code that is used in the TOTP algorithm to
61+
* generate a one-time code.</p>
6262
*/
6363
inline AssociateSoftwareTokenResult& WithSecretCode(const Aws::String& value) { SetSecretCode(value); return *this;}
6464

6565
/**
66-
* <p>A unique generated shared secret code that is used in the time-based one-time
67-
* password (TOTP) algorithm to generate a one-time code.</p>
66+
* <p>A unique generated shared secret code that is used in the TOTP algorithm to
67+
* generate a one-time code.</p>
6868
*/
6969
inline AssociateSoftwareTokenResult& WithSecretCode(Aws::String&& value) { SetSecretCode(std::move(value)); return *this;}
7070

7171
/**
72-
* <p>A unique generated shared secret code that is used in the time-based one-time
73-
* password (TOTP) algorithm to generate a one-time code.</p>
72+
* <p>A unique generated shared secret code that is used in the TOTP algorithm to
73+
* generate a one-time code.</p>
7474
*/
7575
inline AssociateSoftwareTokenResult& WithSecretCode(const char* value) { SetSecretCode(value); return *this;}
7676

aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/ConfirmForgotPasswordRequest.h

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -181,99 +181,99 @@ namespace Model
181181

182182

183183
/**
184-
* <p>The confirmation code sent by a user's request to retrieve a forgotten
185-
* password. For more information, see <a
184+
* <p>The confirmation code from your user's request to reset their password. For
185+
* more information, see <a
186186
* href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ForgotPassword.html">ForgotPassword</a>.</p>
187187
*/
188188
inline const Aws::String& GetConfirmationCode() const{ return m_confirmationCode; }
189189

190190
/**
191-
* <p>The confirmation code sent by a user's request to retrieve a forgotten
192-
* password. For more information, see <a
191+
* <p>The confirmation code from your user's request to reset their password. For
192+
* more information, see <a
193193
* href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ForgotPassword.html">ForgotPassword</a>.</p>
194194
*/
195195
inline bool ConfirmationCodeHasBeenSet() const { return m_confirmationCodeHasBeenSet; }
196196

197197
/**
198-
* <p>The confirmation code sent by a user's request to retrieve a forgotten
199-
* password. For more information, see <a
198+
* <p>The confirmation code from your user's request to reset their password. For
199+
* more information, see <a
200200
* href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ForgotPassword.html">ForgotPassword</a>.</p>
201201
*/
202202
inline void SetConfirmationCode(const Aws::String& value) { m_confirmationCodeHasBeenSet = true; m_confirmationCode = value; }
203203

204204
/**
205-
* <p>The confirmation code sent by a user's request to retrieve a forgotten
206-
* password. For more information, see <a
205+
* <p>The confirmation code from your user's request to reset their password. For
206+
* more information, see <a
207207
* href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ForgotPassword.html">ForgotPassword</a>.</p>
208208
*/
209209
inline void SetConfirmationCode(Aws::String&& value) { m_confirmationCodeHasBeenSet = true; m_confirmationCode = std::move(value); }
210210

211211
/**
212-
* <p>The confirmation code sent by a user's request to retrieve a forgotten
213-
* password. For more information, see <a
212+
* <p>The confirmation code from your user's request to reset their password. For
213+
* more information, see <a
214214
* href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ForgotPassword.html">ForgotPassword</a>.</p>
215215
*/
216216
inline void SetConfirmationCode(const char* value) { m_confirmationCodeHasBeenSet = true; m_confirmationCode.assign(value); }
217217

218218
/**
219-
* <p>The confirmation code sent by a user's request to retrieve a forgotten
220-
* password. For more information, see <a
219+
* <p>The confirmation code from your user's request to reset their password. For
220+
* more information, see <a
221221
* href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ForgotPassword.html">ForgotPassword</a>.</p>
222222
*/
223223
inline ConfirmForgotPasswordRequest& WithConfirmationCode(const Aws::String& value) { SetConfirmationCode(value); return *this;}
224224

225225
/**
226-
* <p>The confirmation code sent by a user's request to retrieve a forgotten
227-
* password. For more information, see <a
226+
* <p>The confirmation code from your user's request to reset their password. For
227+
* more information, see <a
228228
* href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ForgotPassword.html">ForgotPassword</a>.</p>
229229
*/
230230
inline ConfirmForgotPasswordRequest& WithConfirmationCode(Aws::String&& value) { SetConfirmationCode(std::move(value)); return *this;}
231231

232232
/**
233-
* <p>The confirmation code sent by a user's request to retrieve a forgotten
234-
* password. For more information, see <a
233+
* <p>The confirmation code from your user's request to reset their password. For
234+
* more information, see <a
235235
* href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ForgotPassword.html">ForgotPassword</a>.</p>
236236
*/
237237
inline ConfirmForgotPasswordRequest& WithConfirmationCode(const char* value) { SetConfirmationCode(value); return *this;}
238238

239239

240240
/**
241-
* <p>The password sent by a user's request to retrieve a forgotten password.</p>
241+
* <p>The new password that your user wants to set.</p>
242242
*/
243243
inline const Aws::String& GetPassword() const{ return m_password; }
244244

245245
/**
246-
* <p>The password sent by a user's request to retrieve a forgotten password.</p>
246+
* <p>The new password that your user wants to set.</p>
247247
*/
248248
inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
249249

250250
/**
251-
* <p>The password sent by a user's request to retrieve a forgotten password.</p>
251+
* <p>The new password that your user wants to set.</p>
252252
*/
253253
inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; }
254254

255255
/**
256-
* <p>The password sent by a user's request to retrieve a forgotten password.</p>
256+
* <p>The new password that your user wants to set.</p>
257257
*/
258258
inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); }
259259

260260
/**
261-
* <p>The password sent by a user's request to retrieve a forgotten password.</p>
261+
* <p>The new password that your user wants to set.</p>
262262
*/
263263
inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); }
264264

265265
/**
266-
* <p>The password sent by a user's request to retrieve a forgotten password.</p>
266+
* <p>The new password that your user wants to set.</p>
267267
*/
268268
inline ConfirmForgotPasswordRequest& WithPassword(const Aws::String& value) { SetPassword(value); return *this;}
269269

270270
/**
271-
* <p>The password sent by a user's request to retrieve a forgotten password.</p>
271+
* <p>The new password that your user wants to set.</p>
272272
*/
273273
inline ConfirmForgotPasswordRequest& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;}
274274

275275
/**
276-
* <p>The password sent by a user's request to retrieve a forgotten password.</p>
276+
* <p>The new password that your user wants to set.</p>
277277
*/
278278
inline ConfirmForgotPasswordRequest& WithPassword(const char* value) { SetPassword(value); return *this;}
279279

0 commit comments

Comments
 (0)