diff --git a/.changes/2.1675.0.json b/.changes/2.1675.0.json new file mode 100644 index 0000000000..b0a63765ce --- /dev/null +++ b/.changes/2.1675.0.json @@ -0,0 +1,12 @@ +[ + { + "type": "bugfix", + "category": "s3", + "description": "omit locationConstraint in createBucket to us-east-1" + }, + { + "type": "feature", + "category": "CodeBuild", + "description": "AWS CodeBuild now supports using Secrets Manager to store git credentials and using multiple source credentials in a single project." + } +] \ No newline at end of file diff --git a/.changes/next-release/bugfix-s3-9367ca5d.json b/.changes/next-release/bugfix-s3-9367ca5d.json deleted file mode 100644 index 7b80b37d38..0000000000 --- a/.changes/next-release/bugfix-s3-9367ca5d.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "bugfix", - "category": "s3", - "description": "omit locationConstraint in createBucket to us-east-1" -} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b05150c7c..db32f06927 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,11 @@ # Changelog for AWS SDK for JavaScript - + +## 2.1675.0 +* bugfix: s3: omit locationConstraint in createBucket to us-east-1 +* feature: CodeBuild: AWS CodeBuild now supports using Secrets Manager to store git credentials and using multiple source credentials in a single project. + ## 2.1674.0 * feature: Amplify: Add a new field "cacheConfig" that enables users to configure the CDN cache settings for an App * feature: AppStream: This release includes following new APIs: CreateThemeForStack, DescribeThemeForStack, UpdateThemeForStack, DeleteThemeForStack to support custom branding programmatically. diff --git a/README.md b/README.md index de6d8e263c..ddc1472a36 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true; To use the SDK in the browser, simply add the following script tag to your HTML pages: - + You can also build a custom browser SDK with your specified set of AWS services. This can allow you to reduce the SDK's size, specify different API versions of diff --git a/apis/codebuild-2016-10-06.normal.json b/apis/codebuild-2016-10-06.normal.json index 634a32e0d9..8aaaf7578a 100644 --- a/apis/codebuild-2016-10-06.normal.json +++ b/apis/codebuild-2016-10-06.normal.json @@ -523,7 +523,7 @@ "shape": "ResourceAlreadyExistsException" } ], - "documentation": "
Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.
" + "documentation": "Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository.
" }, "InvalidateProjectCache": { "name": "InvalidateProjectCache", @@ -1104,7 +1104,8 @@ "OAUTH", "BASIC_AUTH", "PERSONAL_ACCESS_TOKEN", - "CODECONNECTIONS" + "CODECONNECTIONS", + "SECRETS_MANAGER" ] }, "BatchDeleteBuildsInput": { @@ -2907,7 +2908,7 @@ }, "token": { "shape": "SensitiveNonEmptyString", - "documentation": " For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password. For the authType
CODECONNECTIONS, this is the connectionArn
.
For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password. For the authType
CODECONNECTIONS, this is the connectionArn
. For the authType
SECRETS_MANAGER, this is the secretArn
.
The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console. Note that CODECONNECTIONS is only valid for GitLab and GitLab Self Managed.
" + "documentation": "The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console.
" }, "shouldOverwrite": { "shape": "WrapperBoolean", @@ -3887,7 +3888,7 @@ }, "auth": { "shape": "SourceAuth", - "documentation": "Information about the authorization settings for CodeBuild to access the source code to be built.
This information is for the CodeBuild console's use only. Your code should not get or set this information directly.
" + "documentation": "Information about the authorization settings for CodeBuild to access the source code to be built.
" }, "reportBuildStatus": { "shape": "WrapperBoolean", @@ -4500,20 +4501,21 @@ "members": { "type": { "shape": "SourceAuthType", - "documentation": "The authorization type to use. Valid options are OAUTH or CODECONNECTIONS.
" + "documentation": "The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.
" }, "resource": { "shape": "String", "documentation": "The resource value that applies to the specified authorization type.
" } }, - "documentation": "Information about the authorization settings for CodeBuild to access the source code to be built.
This information is for the CodeBuild console's use only. Your code should not get or set this information directly.
" + "documentation": "Information about the authorization settings for CodeBuild to access the source code to be built.
" }, "SourceAuthType": { "type": "string", "enum": [ "OAUTH", - "CODECONNECTIONS" + "CODECONNECTIONS", + "SECRETS_MANAGER" ] }, "SourceCredentialsInfo": { @@ -4529,11 +4531,11 @@ }, "authType": { "shape": "AuthType", - "documentation": "The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, or CODECONNECTIONS.
" + "documentation": "The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, CODECONNECTIONS, or SECRETS_MANAGER.
" }, "resource": { "shape": "String", - "documentation": "The connection ARN if your serverType type is GITLAB or GITLAB_SELF_MANAGED and your authType is CODECONNECTIONS.
" + "documentation": "The connection ARN if your authType is CODECONNECTIONS or SECRETS_MANAGER.
" } }, "documentation": "Information about the credentials for a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository.
" diff --git a/clients/codebuild.d.ts b/clients/codebuild.d.ts index 4b0cc28a56..e76774fc0e 100644 --- a/clients/codebuild.d.ts +++ b/clients/codebuild.d.ts @@ -196,11 +196,11 @@ declare class CodeBuild extends Service { */ getResourcePolicy(callback?: (err: AWSError, data: CodeBuild.Types.GetResourcePolicyOutput) => void): Request>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=a?0:s-1,y=a?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(n=isNaN(t)?1:0,o=m):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),t+=o+c>=1?l/u:l*Math.pow(2,1-c),t*u>=2&&(o++,u/=2),o+c>=m?(n=0,o=m):o+c>=1?(n=(t*u-1)*Math.pow(2,i),o+=c):(n=t*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;e[r+d]=255&n,d+=y,n/=256,i-=8);for(o=o<0;e[r+d]=255&o,d+=y,o/=256,p-=8);e[r+d-y]|=128*b}},{}],443:[function(e,t,r){var a={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==a.call(e)}},{}],444:[function(e,t,r){!function(e){"use strict";function t(e){return null!==e&&"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,i){if(e===i)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(i))return!1;if(!0===t(e)){if(e.length!==i.length)return!1;for(var s=0;s G((f-r)/g)&&i("overflow"),r+=(p-t)*g,t=p,u=0;u =0?(c=b.substr(0,S),l=b.substr(S+1)):(c=b,l=""),d=decodeURIComponent(c),y=decodeURIComponent(l),a(o,d)?i(o[d])?o[d].push(y):o[d]=[o[d],y]:o[d]=y}return o};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],448:[function(e,t,r){"use strict";function a(e,t){if(e.map)return e.map(t);for(var r=[],a=0;a=55296&&t<=56319&&i65535&&(e-=65536,t+=w(e>>>10&1023|55296),e=56320|1023&e),t+=w(e)}).join("")}function p(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:T}function m(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function c(e,t,r){var a=0;for(e=r?G(e/R):e>>1,e+=G(e/t);e>L*k>>1;a+=T)e=G(e/L);return G(a+(L+1)*e/(e+A))}function l(e){var t,r,a,s,o,n,m,l,d,y,b=[],S=e.length,g=0,h=v,I=D;for(r=e.lastIndexOf(x),r<0&&(r=0),a=0;a=S&&i("invalid-input"),l=p(e.charCodeAt(s++)),(l>=T||l>G((f-g)/n))&&i("overflow"),g+=l*n,d=m<=I?C:m>=I+k?k:m-I,!(l=t&&bf&&i("overflow"),b==t){for(l=r,d=T;y=d<=o?C:d>=o+k?k:d-o,!(l