Skip to content

Commit c0ec9d3

Browse files
author
awstools
committed
Updates SDK to v2.1675.0
1 parent a1c0ff7 commit c0ec9d3

12 files changed

+60
-39
lines changed

.changes/2.1675.0.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[
2+
{
3+
"type": "bugfix",
4+
"category": "s3",
5+
"description": "omit locationConstraint in createBucket to us-east-1"
6+
},
7+
{
8+
"type": "feature",
9+
"category": "CodeBuild",
10+
"description": "AWS CodeBuild now supports using Secrets Manager to store git credentials and using multiple source credentials in a single project."
11+
}
12+
]

.changes/next-release/bugfix-s3-9367ca5d.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# Changelog for AWS SDK for JavaScript
2-
<!--LATEST=2.1674.0-->
2+
<!--LATEST=2.1675.0-->
33
<!--ENTRYINSERT-->
44

5+
## 2.1675.0
6+
* bugfix: s3: omit locationConstraint in createBucket to us-east-1
7+
* feature: CodeBuild: AWS CodeBuild now supports using Secrets Manager to store git credentials and using multiple source credentials in a single project.
8+
59
## 2.1674.0
610
* feature: Amplify: Add a new field "cacheConfig" that enables users to configure the CDN cache settings for an App
711
* feature: AppStream: This release includes following new APIs: CreateThemeForStack, DescribeThemeForStack, UpdateThemeForStack, DeleteThemeForStack to support custom branding programmatically.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true;
6464
To use the SDK in the browser, simply add the following script tag to your
6565
HTML pages:
6666

67-
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1674.0.min.js"></script>
67+
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1675.0.min.js"></script>
6868

6969
You can also build a custom browser SDK with your specified set of AWS services.
7070
This can allow you to reduce the SDK's size, specify different API versions of

apis/codebuild-2016-10-06.normal.json

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@
523523
"shape": "ResourceAlreadyExistsException"
524524
}
525525
],
526-
"documentation": "<p> Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository. </p>"
526+
"documentation": "<p> 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. </p>"
527527
},
528528
"InvalidateProjectCache": {
529529
"name": "InvalidateProjectCache",
@@ -1104,7 +1104,8 @@
11041104
"OAUTH",
11051105
"BASIC_AUTH",
11061106
"PERSONAL_ACCESS_TOKEN",
1107-
"CODECONNECTIONS"
1107+
"CODECONNECTIONS",
1108+
"SECRETS_MANAGER"
11081109
]
11091110
},
11101111
"BatchDeleteBuildsInput": {
@@ -2907,15 +2908,15 @@
29072908
},
29082909
"token": {
29092910
"shape": "SensitiveNonEmptyString",
2910-
"documentation": "<p> 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 <code>authType</code> CODECONNECTIONS, this is the <code>connectionArn</code>.</p>"
2911+
"documentation": "<p> 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 <code>authType</code> CODECONNECTIONS, this is the <code>connectionArn</code>. For the <code>authType</code> SECRETS_MANAGER, this is the <code>secretArn</code>.</p>"
29112912
},
29122913
"serverType": {
29132914
"shape": "ServerType",
29142915
"documentation": "<p> The source provider used for this project. </p>"
29152916
},
29162917
"authType": {
29172918
"shape": "AuthType",
2918-
"documentation": "<p> 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.</p>"
2919+
"documentation": "<p> 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.</p>"
29192920
},
29202921
"shouldOverwrite": {
29212922
"shape": "WrapperBoolean",
@@ -3887,7 +3888,7 @@
38873888
},
38883889
"auth": {
38893890
"shape": "SourceAuth",
3890-
"documentation": "<p>Information about the authorization settings for CodeBuild to access the source code to be built.</p> <p>This information is for the CodeBuild console's use only. Your code should not get or set this information directly.</p>"
3891+
"documentation": "<p>Information about the authorization settings for CodeBuild to access the source code to be built.</p>"
38913892
},
38923893
"reportBuildStatus": {
38933894
"shape": "WrapperBoolean",
@@ -4500,20 +4501,21 @@
45004501
"members": {
45014502
"type": {
45024503
"shape": "SourceAuthType",
4503-
"documentation": "<p>The authorization type to use. Valid options are OAUTH or CODECONNECTIONS.</p>"
4504+
"documentation": "<p>The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.</p>"
45044505
},
45054506
"resource": {
45064507
"shape": "String",
45074508
"documentation": "<p>The resource value that applies to the specified authorization type.</p>"
45084509
}
45094510
},
4510-
"documentation": "<p>Information about the authorization settings for CodeBuild to access the source code to be built.</p> <p>This information is for the CodeBuild console's use only. Your code should not get or set this information directly.</p>"
4511+
"documentation": "<p>Information about the authorization settings for CodeBuild to access the source code to be built.</p>"
45114512
},
45124513
"SourceAuthType": {
45134514
"type": "string",
45144515
"enum": [
45154516
"OAUTH",
4516-
"CODECONNECTIONS"
4517+
"CODECONNECTIONS",
4518+
"SECRETS_MANAGER"
45174519
]
45184520
},
45194521
"SourceCredentialsInfo": {
@@ -4529,11 +4531,11 @@
45294531
},
45304532
"authType": {
45314533
"shape": "AuthType",
4532-
"documentation": "<p> The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, or CODECONNECTIONS. </p>"
4534+
"documentation": "<p> The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, CODECONNECTIONS, or SECRETS_MANAGER. </p>"
45334535
},
45344536
"resource": {
45354537
"shape": "String",
4536-
"documentation": "<p>The connection ARN if your serverType type is GITLAB or GITLAB_SELF_MANAGED and your authType is CODECONNECTIONS.</p>"
4538+
"documentation": "<p>The connection ARN if your authType is CODECONNECTIONS or SECRETS_MANAGER.</p>"
45374539
}
45384540
},
45394541
"documentation": "<p> Information about the credentials for a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. </p>"

clients/codebuild.d.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -196,11 +196,11 @@ declare class CodeBuild extends Service {
196196
*/
197197
getResourcePolicy(callback?: (err: AWSError, data: CodeBuild.Types.GetResourcePolicyOutput) => void): Request<CodeBuild.Types.GetResourcePolicyOutput, AWSError>;
198198
/**
199-
* Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.
199+
* 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.
200200
*/
201201
importSourceCredentials(params: CodeBuild.Types.ImportSourceCredentialsInput, callback?: (err: AWSError, data: CodeBuild.Types.ImportSourceCredentialsOutput) => void): Request<CodeBuild.Types.ImportSourceCredentialsOutput, AWSError>;
202202
/**
203-
* Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.
203+
* 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.
204204
*/
205205
importSourceCredentials(callback?: (err: AWSError, data: CodeBuild.Types.ImportSourceCredentialsOutput) => void): Request<CodeBuild.Types.ImportSourceCredentialsOutput, AWSError>;
206206
/**
@@ -416,7 +416,7 @@ declare namespace CodeBuild {
416416
export type ArtifactNamespace = "NONE"|"BUILD_ID"|string;
417417
export type ArtifactPackaging = "NONE"|"ZIP"|string;
418418
export type ArtifactsType = "CODEPIPELINE"|"S3"|"NO_ARTIFACTS"|string;
419-
export type AuthType = "OAUTH"|"BASIC_AUTH"|"PERSONAL_ACCESS_TOKEN"|"CODECONNECTIONS"|string;
419+
export type AuthType = "OAUTH"|"BASIC_AUTH"|"PERSONAL_ACCESS_TOKEN"|"CODECONNECTIONS"|"SECRETS_MANAGER"|string;
420420
export interface BatchDeleteBuildsInput {
421421
/**
422422
* The IDs of the builds to delete.
@@ -1578,15 +1578,15 @@ declare namespace CodeBuild {
15781578
*/
15791579
username?: NonEmptyString;
15801580
/**
1581-
* 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.
1581+
* 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.
15821582
*/
15831583
token: SensitiveNonEmptyString;
15841584
/**
15851585
* The source provider used for this project.
15861586
*/
15871587
serverType: ServerType;
15881588
/**
1589-
* 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.
1589+
* 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.
15901590
*/
15911591
authType: AuthType;
15921592
/**
@@ -2290,7 +2290,7 @@ declare namespace CodeBuild {
22902290
*/
22912291
buildspec?: String;
22922292
/**
2293-
* 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.
2293+
* Information about the authorization settings for CodeBuild to access the source code to be built.
22942294
*/
22952295
auth?: SourceAuth;
22962296
/**
@@ -2629,15 +2629,15 @@ declare namespace CodeBuild {
26292629
export type SortOrderType = "ASCENDING"|"DESCENDING"|string;
26302630
export interface SourceAuth {
26312631
/**
2632-
* The authorization type to use. Valid options are OAUTH or CODECONNECTIONS.
2632+
* The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.
26332633
*/
26342634
type: SourceAuthType;
26352635
/**
26362636
* The resource value that applies to the specified authorization type.
26372637
*/
26382638
resource?: String;
26392639
}
2640-
export type SourceAuthType = "OAUTH"|"CODECONNECTIONS"|string;
2640+
export type SourceAuthType = "OAUTH"|"CODECONNECTIONS"|"SECRETS_MANAGER"|string;
26412641
export interface SourceCredentialsInfo {
26422642
/**
26432643
* The Amazon Resource Name (ARN) of the token.
@@ -2648,11 +2648,11 @@ declare namespace CodeBuild {
26482648
*/
26492649
serverType?: ServerType;
26502650
/**
2651-
* The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, or CODECONNECTIONS.
2651+
* The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, CODECONNECTIONS, or SECRETS_MANAGER.
26522652
*/
26532653
authType?: AuthType;
26542654
/**
2655-
* The connection ARN if your serverType type is GITLAB or GITLAB_SELF_MANAGED and your authType is CODECONNECTIONS.
2655+
* The connection ARN if your authType is CODECONNECTIONS or SECRETS_MANAGER.
26562656
*/
26572657
resource?: String;
26582658
}

dist/aws-sdk-core-react-native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
8383
/**
8484
* @constant
8585
*/
86-
VERSION: '2.1674.0',
86+
VERSION: '2.1675.0',
8787

8888
/**
8989
* @api private

dist/aws-sdk-react-native.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ return /******/ (function(modules) { // webpackBootstrap
395395
/**
396396
* @constant
397397
*/
398-
VERSION: '2.1674.0',
398+
VERSION: '2.1675.0',
399399

400400
/**
401401
* @api private
@@ -42659,7 +42659,11 @@ return /******/ (function(modules) { // webpackBootstrap
4265942659
// mutate params object argument passed in by user
4266042660
var copiedParams = AWS.util.copy(params);
4266142661

42662-
if (hostname !== this.api.globalEndpoint && !params.CreateBucketConfiguration) {
42662+
if (
42663+
this.config.region !== 'us-east-1'
42664+
&& hostname !== this.api.globalEndpoint
42665+
&& !params.CreateBucketConfiguration
42666+
) {
4266342667
copiedParams.CreateBucketConfiguration = { LocationConstraint: this.config.region };
4266442668
}
4266542669
return this.makeRequest('createBucket', copiedParams, callback);

dist/aws-sdk.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// AWS SDK for JavaScript v2.1674.0
1+
// AWS SDK for JavaScript v2.1675.0
22
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt
44
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
@@ -277592,7 +277592,7 @@ AWS.util.update(AWS, {
277592277592
/**
277593277593
* @constant
277594277594
*/
277595-
VERSION: '2.1674.0',
277595+
VERSION: '2.1675.0',
277596277596

277597277597
/**
277598277598
* @api private
@@ -289587,7 +289587,11 @@ AWS.util.update(AWS.S3.prototype, {
289587289587
// mutate params object argument passed in by user
289588289588
var copiedParams = AWS.util.copy(params);
289589289589

289590-
if (hostname !== this.api.globalEndpoint && !params.CreateBucketConfiguration) {
289590+
if (
289591+
this.config.region !== 'us-east-1'
289592+
&& hostname !== this.api.globalEndpoint
289593+
&& !params.CreateBucketConfiguration
289594+
) {
289591289595
copiedParams.CreateBucketConfiguration = { LocationConstraint: this.config.region };
289592289596
}
289593289597
return this.makeRequest('createBucket', copiedParams, callback);
@@ -299909,7 +299913,7 @@ var LRUCache = /** @class */ (function () {
299909299913
}());
299910299914
exports.LRUCache = LRUCache;
299911299915
},{}],467:[function(require,module,exports){
299912-
// AWS SDK for JavaScript v2.1674.0
299916+
// AWS SDK for JavaScript v2.1675.0
299913299917
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
299914299918
// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt
299915299919
require('./browser_loader');

dist/aws-sdk.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ AWS.util.update(AWS, {
2020
/**
2121
* @constant
2222
*/
23-
VERSION: '2.1674.0',
23+
VERSION: '2.1675.0',
2424

2525
/**
2626
* @api private

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "aws-sdk",
33
"description": "AWS SDK for JavaScript",
4-
"version": "2.1674.0",
4+
"version": "2.1675.0",
55
"author": {
66
"name": "Amazon Web Services",
77
"email": "",

0 commit comments

Comments
 (0)