Skip to content

Commit 718948b

Browse files
Update generated code (#1682)
update generated code
1 parent 6ec27b1 commit 718948b

22 files changed

+81
-55
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"variables": {
3-
"${LATEST}": "3.300.13"
3+
"${LATEST}": "3.300.14"
44
},
55
"endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json",
66
"services": {

src/Service/CodeBuild/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## NOT RELEASED
44

5+
### Changed
6+
7+
- AWS enhancement: Documentation updates.
8+
59
## 2.3.0
610

711
### Added

src/Service/CodeBuild/src/CodeBuildClient.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,12 @@ public function batchGetBuilds($input): BatchGetBuildsOutput
5858
}
5959

6060
/**
61-
* Starts running a build.
61+
* Starts running a build with the settings defined in the project. These setting include: how to run a build, where to
62+
* get the source code, which build environment to use, which build commands to run, and where to store the build
63+
* output.
64+
*
65+
* You can also start a build run by overriding some of the build settings in the project. The overrides only apply for
66+
* that specific start build request. The settings in the project are unaltered.
6267
*
6368
* @see https://docs.aws.amazon.com/codebuild/latest/APIReference/API_StartBuild.html
6469
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-codebuild-2016-10-06.html#startbuild

src/Service/CodeBuild/src/Input/StartBuildInput.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ final class StartBuildInput extends Input
142142
private $gitSubmodulesConfigOverride;
143143

144144
/**
145-
* A buildspec file declaration that overrides, for this build only, the latest one already defined in the build
146-
* project.
145+
* A buildspec file declaration that overrides the latest one defined in the build project, for this build only. The
146+
* buildspec defined on the project is not changed.
147147
*
148148
* If this value is set, it can be either an inline buildspec definition, the path to an alternate buildspec file
149149
* relative to the value of the built-in `CODEBUILD_SRC_DIR` environment variable, or the path to an S3 bucket. The
@@ -152,6 +152,11 @@ final class StartBuildInput extends Input
152152
* string, the source code must contain a buildspec file in its root directory. For more information, see Buildspec File
153153
* Name and Storage Location [^1].
154154
*
155+
* > Since this property allows you to change the build commands that will run in the container, you should note that an
156+
* > IAM principal with the ability to call this API and set this parameter can override the default settings. Moreover,
157+
* > we encourage that you use a trustworthy buildspec location like a file in your source repository or a Amazon S3
158+
* > bucket.
159+
*
155160
* [^1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-name-storage
156161
*
157162
* @var string|null

src/Service/CognitoIdentityProvider/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## NOT RELEASED
44

5+
### Changed
6+
7+
- AWS enhancement: Documentation updates.
8+
59
## 1.7.3
610

711
### Changed

src/Service/CognitoIdentityProvider/src/CognitoIdentityProviderClient.php

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -648,16 +648,19 @@ public function adminRemoveUserFromGroup($input): Result
648648
/**
649649
* Resets the specified user's password in a user pool as an administrator. Works on any user.
650650
*
651+
* To use this API operation, your user pool must have self-service account recovery configured. Use
652+
* AdminSetUserPassword [^1] if you manage passwords as an administrator.
653+
*
651654
* > This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register
652655
* > an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in
653-
* > Amazon Cognito, you must register a phone number with Amazon Pinpoint [^1]. Amazon Cognito uses the registered
656+
* > Amazon Cognito, you must register a phone number with Amazon Pinpoint [^2]. Amazon Cognito uses the registered
654657
* > number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up,
655658
* > activate their accounts, or sign in.
656659
* >
657660
* > If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple
658-
* > Notification Service might place your account in the SMS sandbox. In *sandbox mode [^2]*, you can send messages
661+
* > Notification Service might place your account in the SMS sandbox. In *sandbox mode [^3]*, you can send messages
659662
* > only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the
660-
* > sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools [^3] in
663+
* > sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools [^4] in
661664
* > the *Amazon Cognito Developer Guide*.
662665
*
663666
* Deactivates a user's password, requiring them to change it. If a user tries to sign in after the API is called,
@@ -673,15 +676,16 @@ public function adminRemoveUserFromGroup($input): Result
673676
* >
674677
* > **Learn more**
675678
* >
676-
* > - Signing Amazon Web Services API Requests [^4]
677-
* > - Using the Amazon Cognito user pools API and user pool endpoints [^5]
679+
* > - Signing Amazon Web Services API Requests [^5]
680+
* > - Using the Amazon Cognito user pools API and user pool endpoints [^6]
678681
* >
679682
*
680-
* [^1]: https://console.aws.amazon.com/pinpoint/home/
681-
* [^2]: https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html
682-
* [^3]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-sms-settings.html
683-
* [^4]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-signing.html
684-
* [^5]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html
683+
* [^1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminSetUserPassword.html
684+
* [^2]: https://console.aws.amazon.com/pinpoint/home/
685+
* [^3]: https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html
686+
* [^4]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-sms-settings.html
687+
* [^5]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-signing.html
688+
* [^6]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html
685689
*
686690
* @see https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminResetUserPassword.html
687691
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-cognito-idp-2016-04-18.html#adminresetuserpassword
@@ -1258,29 +1262,33 @@ public function createGroup($input): CreateGroupResponse
12581262
* app client has a client secret and you don't provide a `SECRET_HASH` parameter, this API returns
12591263
* `NotAuthorizedException`.
12601264
*
1265+
* To use this API operation, your user pool must have self-service account recovery configured. Use
1266+
* AdminSetUserPassword [^3] if you manage passwords as an administrator.
1267+
*
12611268
* > Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation.
12621269
* > For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in
12631270
* > policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user
1264-
* > pools API and user pool endpoints [^3].
1271+
* > pools API and user pool endpoints [^4].
12651272
*
12661273
* > This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register
12671274
* > an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in
1268-
* > Amazon Cognito, you must register a phone number with Amazon Pinpoint [^4]. Amazon Cognito uses the registered
1275+
* > Amazon Cognito, you must register a phone number with Amazon Pinpoint [^5]. Amazon Cognito uses the registered
12691276
* > number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up,
12701277
* > activate their accounts, or sign in.
12711278
* >
12721279
* > If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple
1273-
* > Notification Service might place your account in the SMS sandbox. In *sandbox mode [^5]*, you can send messages
1280+
* > Notification Service might place your account in the SMS sandbox. In *sandbox mode [^6]*, you can send messages
12741281
* > only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the
1275-
* > sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools [^6] in
1282+
* > sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools [^7] in
12761283
* > the *Amazon Cognito Developer Guide*.
12771284
*
12781285
* [^1]: https://docs.aws.amazon.com/cognito/latest/developerguide/how-to-recover-a-user-account.html
12791286
* [^2]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ConfirmForgotPassword.html
1280-
* [^3]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html
1281-
* [^4]: https://console.aws.amazon.com/pinpoint/home/
1282-
* [^5]: https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html
1283-
* [^6]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-sms-settings.html
1287+
* [^3]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminSetUserPassword.html
1288+
* [^4]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html
1289+
* [^5]: https://console.aws.amazon.com/pinpoint/home/
1290+
* [^6]: https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html
1291+
* [^7]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-sms-settings.html
12841292
*
12851293
* @see https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ForgotPassword.html
12861294
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-cognito-idp-2016-04-18.html#forgotpassword

src/Service/CognitoIdentityProvider/src/Input/AdminAddUserToGroupRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ final class AdminAddUserToGroupRequest extends Input
2020

2121
/**
2222
* The username of the user that you want to query or modify. The value of this parameter is typically your user's
23-
* username, but it can be any of their alias attributes. If `username` isn't an alias attribute in your user pool, you
24-
* can also use their `sub` in this request.
23+
* username, but it can be any of their alias attributes. If `username` isn't an alias attribute in your user pool, this
24+
* value must be the `sub` of a local user or the username of a user from a third-party IdP.
2525
*
2626
* @required
2727
*

src/Service/CognitoIdentityProvider/src/Input/AdminConfirmSignUpRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ final class AdminConfirmSignUpRequest extends Input
2323

2424
/**
2525
* The username of the user that you want to query or modify. The value of this parameter is typically your user's
26-
* username, but it can be any of their alias attributes. If `username` isn't an alias attribute in your user pool, you
27-
* can also use their `sub` in this request.
26+
* username, but it can be any of their alias attributes. If `username` isn't an alias attribute in your user pool, this
27+
* value must be the `sub` of a local user or the username of a user from a third-party IdP.
2828
*
2929
* @required
3030
*

src/Service/CognitoIdentityProvider/src/Input/AdminDeleteUserRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ final class AdminDeleteUserRequest extends Input
2323

2424
/**
2525
* The username of the user that you want to query or modify. The value of this parameter is typically your user's
26-
* username, but it can be any of their alias attributes. If `username` isn't an alias attribute in your user pool, you
27-
* can also use their `sub` in this request.
26+
* username, but it can be any of their alias attributes. If `username` isn't an alias attribute in your user pool, this
27+
* value must be the `sub` of a local user or the username of a user from a third-party IdP.
2828
*
2929
* @required
3030
*

src/Service/CognitoIdentityProvider/src/Input/AdminDisableUserRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ final class AdminDisableUserRequest extends Input
2323

2424
/**
2525
* The username of the user that you want to query or modify. The value of this parameter is typically your user's
26-
* username, but it can be any of their alias attributes. If `username` isn't an alias attribute in your user pool, you
27-
* can also use their `sub` in this request.
26+
* username, but it can be any of their alias attributes. If `username` isn't an alias attribute in your user pool, this
27+
* value must be the `sub` of a local user or the username of a user from a third-party IdP.
2828
*
2929
* @required
3030
*

0 commit comments

Comments
 (0)