aws-sdk 2.1674.0 → 2.1675.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/clients/codebuild.d.ts +10 -10
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +6 -2
- package/dist/aws-sdk.js +8 -4
- package/dist/aws-sdk.min.js +3 -3
- package/lib/core.js +1 -1
- package/lib/services/s3.js +5 -1
- package/package.json +1 -1
- package/scripts/region-checker/allowlist.js +2 -1
package/README.md
CHANGED
@@ -64,7 +64,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true;
|
|
64
64
|
To use the SDK in the browser, simply add the following script tag to your
|
65
65
|
HTML pages:
|
66
66
|
|
67
|
-
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.
|
67
|
+
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1675.0.min.js"></script>
|
68
68
|
|
69
69
|
You can also build a custom browser SDK with your specified set of AWS services.
|
70
70
|
This can allow you to reduce the SDK's size, specify different API versions of
|
package/clients/codebuild.d.ts
CHANGED
@@ -196,11 +196,11 @@ declare class CodeBuild extends Service {
|
|
196
196
|
*/
|
197
197
|
getResourcePolicy(callback?: (err: AWSError, data: CodeBuild.Types.GetResourcePolicyOutput) => void): Request<CodeBuild.Types.GetResourcePolicyOutput, AWSError>;
|
198
198
|
/**
|
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.
|
200
200
|
*/
|
201
201
|
importSourceCredentials(params: CodeBuild.Types.ImportSourceCredentialsInput, callback?: (err: AWSError, data: CodeBuild.Types.ImportSourceCredentialsOutput) => void): Request<CodeBuild.Types.ImportSourceCredentialsOutput, AWSError>;
|
202
202
|
/**
|
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.
|
204
204
|
*/
|
205
205
|
importSourceCredentials(callback?: (err: AWSError, data: CodeBuild.Types.ImportSourceCredentialsOutput) => void): Request<CodeBuild.Types.ImportSourceCredentialsOutput, AWSError>;
|
206
206
|
/**
|
@@ -416,7 +416,7 @@ declare namespace CodeBuild {
|
|
416
416
|
export type ArtifactNamespace = "NONE"|"BUILD_ID"|string;
|
417
417
|
export type ArtifactPackaging = "NONE"|"ZIP"|string;
|
418
418
|
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;
|
420
420
|
export interface BatchDeleteBuildsInput {
|
421
421
|
/**
|
422
422
|
* The IDs of the builds to delete.
|
@@ -1578,7 +1578,7 @@ declare namespace CodeBuild {
|
|
1578
1578
|
*/
|
1579
1579
|
username?: NonEmptyString;
|
1580
1580
|
/**
|
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.
|
1582
1582
|
*/
|
1583
1583
|
token: SensitiveNonEmptyString;
|
1584
1584
|
/**
|
@@ -1586,7 +1586,7 @@ declare namespace CodeBuild {
|
|
1586
1586
|
*/
|
1587
1587
|
serverType: ServerType;
|
1588
1588
|
/**
|
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.
|
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.
|
1590
1590
|
*/
|
1591
1591
|
authType: AuthType;
|
1592
1592
|
/**
|
@@ -2290,7 +2290,7 @@ declare namespace CodeBuild {
|
|
2290
2290
|
*/
|
2291
2291
|
buildspec?: String;
|
2292
2292
|
/**
|
2293
|
-
* Information about the authorization settings for CodeBuild to access the source code to be built.
|
2293
|
+
* Information about the authorization settings for CodeBuild to access the source code to be built.
|
2294
2294
|
*/
|
2295
2295
|
auth?: SourceAuth;
|
2296
2296
|
/**
|
@@ -2629,7 +2629,7 @@ declare namespace CodeBuild {
|
|
2629
2629
|
export type SortOrderType = "ASCENDING"|"DESCENDING"|string;
|
2630
2630
|
export interface SourceAuth {
|
2631
2631
|
/**
|
2632
|
-
* The authorization type to use. Valid options are OAUTH or
|
2632
|
+
* The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.
|
2633
2633
|
*/
|
2634
2634
|
type: SourceAuthType;
|
2635
2635
|
/**
|
@@ -2637,7 +2637,7 @@ declare namespace CodeBuild {
|
|
2637
2637
|
*/
|
2638
2638
|
resource?: String;
|
2639
2639
|
}
|
2640
|
-
export type SourceAuthType = "OAUTH"|"CODECONNECTIONS"|string;
|
2640
|
+
export type SourceAuthType = "OAUTH"|"CODECONNECTIONS"|"SECRETS_MANAGER"|string;
|
2641
2641
|
export interface SourceCredentialsInfo {
|
2642
2642
|
/**
|
2643
2643
|
* The Amazon Resource Name (ARN) of the token.
|
@@ -2648,11 +2648,11 @@ declare namespace CodeBuild {
|
|
2648
2648
|
*/
|
2649
2649
|
serverType?: ServerType;
|
2650
2650
|
/**
|
2651
|
-
* The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, or
|
2651
|
+
* The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, CODECONNECTIONS, or SECRETS_MANAGER.
|
2652
2652
|
*/
|
2653
2653
|
authType?: AuthType;
|
2654
2654
|
/**
|
2655
|
-
* The connection ARN if your
|
2655
|
+
* The connection ARN if your authType is CODECONNECTIONS or SECRETS_MANAGER.
|
2656
2656
|
*/
|
2657
2657
|
resource?: String;
|
2658
2658
|
}
|
@@ -395,7 +395,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
395
395
|
/**
|
396
396
|
* @constant
|
397
397
|
*/
|
398
|
-
VERSION: '2.
|
398
|
+
VERSION: '2.1675.0',
|
399
399
|
|
400
400
|
/**
|
401
401
|
* @api private
|
@@ -42659,7 +42659,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
42659
42659
|
// mutate params object argument passed in by user
|
42660
42660
|
var copiedParams = AWS.util.copy(params);
|
42661
42661
|
|
42662
|
-
if (
|
42662
|
+
if (
|
42663
|
+
this.config.region !== 'us-east-1'
|
42664
|
+
&& hostname !== this.api.globalEndpoint
|
42665
|
+
&& !params.CreateBucketConfiguration
|
42666
|
+
) {
|
42663
42667
|
copiedParams.CreateBucketConfiguration = { LocationConstraint: this.config.region };
|
42664
42668
|
}
|
42665
42669
|
return this.makeRequest('createBucket', copiedParams, callback);
|
package/dist/aws-sdk.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
// AWS SDK for JavaScript v2.
|
1
|
+
// AWS SDK for JavaScript v2.1675.0
|
2
2
|
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
3
3
|
// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt
|
4
4
|
(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, {
|
|
277592
277592
|
/**
|
277593
277593
|
* @constant
|
277594
277594
|
*/
|
277595
|
-
VERSION: '2.
|
277595
|
+
VERSION: '2.1675.0',
|
277596
277596
|
|
277597
277597
|
/**
|
277598
277598
|
* @api private
|
@@ -289587,7 +289587,11 @@ AWS.util.update(AWS.S3.prototype, {
|
|
289587
289587
|
// mutate params object argument passed in by user
|
289588
289588
|
var copiedParams = AWS.util.copy(params);
|
289589
289589
|
|
289590
|
-
if (
|
289590
|
+
if (
|
289591
|
+
this.config.region !== 'us-east-1'
|
289592
|
+
&& hostname !== this.api.globalEndpoint
|
289593
|
+
&& !params.CreateBucketConfiguration
|
289594
|
+
) {
|
289591
289595
|
copiedParams.CreateBucketConfiguration = { LocationConstraint: this.config.region };
|
289592
289596
|
}
|
289593
289597
|
return this.makeRequest('createBucket', copiedParams, callback);
|
@@ -299909,7 +299913,7 @@ var LRUCache = /** @class */ (function () {
|
|
299909
299913
|
}());
|
299910
299914
|
exports.LRUCache = LRUCache;
|
299911
299915
|
},{}],467:[function(require,module,exports){
|
299912
|
-
// AWS SDK for JavaScript v2.
|
299916
|
+
// AWS SDK for JavaScript v2.1675.0
|
299913
299917
|
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
299914
299918
|
// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt
|
299915
299919
|
require('./browser_loader');
|