Skip to content

Commit

Permalink
Update generated code (#1657)
Browse files Browse the repository at this point in the history
* update generated code

* Test deprecation

---------

Co-authored-by: Jérémy Derussé <jeremy@derusse.com>
  • Loading branch information
async-aws-bot and jderusse authored Feb 2, 2024
1 parent ee03139 commit c3a67c3
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 26 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## NOT RELEASED

### Changed

- AWS enhancement: Documentation updates.

## 1.7.2

### Changed
Expand Down
61 changes: 35 additions & 26 deletions src/CognitoIdentityProviderClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -958,8 +958,8 @@ public function adminUserGlobalSignOut($input): AdminUserGlobalSignOutResponse
*
* > Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation.
* > For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native
* > and OIDC APIs [^2].
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user
* > pools API and user pool endpoints [^2].
*
* [^1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerifySoftwareToken.html
* [^2]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html
Expand Down Expand Up @@ -1000,10 +1000,13 @@ public function associateSoftwareToken($input = []): AssociateSoftwareTokenRespo
/**
* Changes the password for a specified user in a user pool.
*
* Authorize this action with a signed-in user's access token. It must include the scope
* `aws.cognito.signin.user.admin`.
*
* > Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation.
* > For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native
* > and OIDC APIs [^1].
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user
* > pools API and user pool endpoints [^1].
*
* [^1]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html
*
Expand Down Expand Up @@ -1054,8 +1057,8 @@ public function changePassword($input): ChangePasswordResponse
*
* > Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation.
* > For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native
* > and OIDC APIs [^1].
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user
* > pools API and user pool endpoints [^1].
*
* [^1]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html
*
Expand Down Expand Up @@ -1130,8 +1133,8 @@ public function confirmForgotPassword($input): ConfirmForgotPasswordResponse
*
* > Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation.
* > For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native
* > and OIDC APIs [^3].
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user
* > pools API and user pool endpoints [^3].
*
* [^1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_SignUp.html
* [^2]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminCreateUser.html
Expand Down Expand Up @@ -1257,8 +1260,8 @@ public function createGroup($input): CreateGroupResponse
*
* > Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation.
* > For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native
* > and OIDC APIs [^3].
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user
* > pools API and user pool endpoints [^3].
*
* > This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register
* > an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in
Expand Down Expand Up @@ -1335,10 +1338,13 @@ public function forgotPassword($input): ForgotPasswordResponse
/**
* Gets the user attributes and metadata for a user.
*
* Authorize this action with a signed-in user's access token. It must include the scope
* `aws.cognito.signin.user.admin`.
*
* > Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation.
* > For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native
* > and OIDC APIs [^1].
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user
* > pools API and user pool endpoints [^1].
*
* [^1]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html
*
Expand Down Expand Up @@ -1384,8 +1390,8 @@ public function getUser($input): GetUserResponse
*
* > Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation.
* > For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native
* > and OIDC APIs [^2].
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user
* > pools API and user pool endpoints [^2].
*
* > This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register
* > an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in
Expand Down Expand Up @@ -1557,8 +1563,8 @@ public function listUsers($input): ListUsersResponse
*
* > Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation.
* > For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native
* > and OIDC APIs [^1].
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user
* > pools API and user pool endpoints [^1].
*
* > This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register
* > an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in
Expand Down Expand Up @@ -1641,8 +1647,8 @@ public function resendConfirmationCode($input): ResendConfirmationCodeResponse
*
* > Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation.
* > For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native
* > and OIDC APIs [^2].
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user
* > pools API and user pool endpoints [^2].
*
* > This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register
* > an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in
Expand Down Expand Up @@ -1735,8 +1741,8 @@ public function respondToAuthChallenge($input): RespondToAuthChallengeResponse
*
* > Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation.
* > For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native
* > and OIDC APIs [^1].
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user
* > pools API and user pool endpoints [^1].
*
* [^1]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html
*
Expand Down Expand Up @@ -1783,10 +1789,13 @@ public function revokeToken($input): RevokeTokenResponse
* you want MFA to be applied selectively based on the assessed risk level of sign-in attempts, deactivate MFA for users
* and turn on Adaptive Authentication for the user pool.
*
* Authorize this action with a signed-in user's access token. It must include the scope
* `aws.cognito.signin.user.admin`.
*
* > Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation.
* > For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native
* > and OIDC APIs [^1].
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user
* > pools API and user pool endpoints [^1].
*
* [^1]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html
*
Expand Down Expand Up @@ -1831,8 +1840,8 @@ public function setUserMfaPreference($input): SetUserMFAPreferenceResponse
*
* > Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation.
* > For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native
* > and OIDC APIs [^1].
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user
* > pools API and user pool endpoints [^1].
*
* > This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register
* > an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in
Expand Down Expand Up @@ -1913,8 +1922,8 @@ public function signUp($input): SignUpResponse
*
* > Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation.
* > For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native
* > and OIDC APIs [^1].
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user
* > pools API and user pool endpoints [^1].
*
* [^1]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html
*
Expand Down

0 comments on commit c3a67c3

Please sign in to comment.