cdk-comprehend-s3olap 2.0.77 → 2.0.80

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.
Files changed (51) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-comprehend-s3olap.js +2 -2
  3. package/lib/comprehend-lambdas.js +2 -2
  4. package/lib/iam-roles.js +4 -4
  5. package/node_modules/aws-sdk/CHANGELOG.md +18 -1
  6. package/node_modules/aws-sdk/README.md +1 -1
  7. package/node_modules/aws-sdk/apis/cloudfront-2020-05-31.min.json +350 -82
  8. package/node_modules/aws-sdk/apis/config-2014-11-12.min.json +107 -91
  9. package/node_modules/aws-sdk/apis/iotwireless-2020-11-22.min.json +123 -79
  10. package/node_modules/aws-sdk/apis/mediapackage-2017-10-12.min.json +7 -0
  11. package/node_modules/aws-sdk/apis/panorama-2019-07-24.min.json +47 -10
  12. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +64 -29
  13. package/node_modules/aws-sdk/apis/sso-oidc-2019-06-10.min.json +1 -2
  14. package/node_modules/aws-sdk/clients/cloudfront.d.ts +246 -4
  15. package/node_modules/aws-sdk/clients/configservice.d.ts +27 -7
  16. package/node_modules/aws-sdk/clients/elbv2.d.ts +1 -1
  17. package/node_modules/aws-sdk/clients/gamelift.d.ts +1 -1
  18. package/node_modules/aws-sdk/clients/iam.d.ts +6 -6
  19. package/node_modules/aws-sdk/clients/iotwireless.d.ts +60 -11
  20. package/node_modules/aws-sdk/clients/ivs.d.ts +3 -3
  21. package/node_modules/aws-sdk/clients/mediapackage.d.ts +2 -0
  22. package/node_modules/aws-sdk/clients/panorama.d.ts +62 -0
  23. package/node_modules/aws-sdk/clients/quicksight.d.ts +38 -4
  24. package/node_modules/aws-sdk/clients/rds.d.ts +5 -5
  25. package/node_modules/aws-sdk/clients/ssooidc.d.ts +12 -12
  26. package/node_modules/aws-sdk/clients/transfer.d.ts +20 -20
  27. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +151 -31
  28. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +160 -40
  29. package/node_modules/aws-sdk/dist/aws-sdk.js +687 -287
  30. package/node_modules/aws-sdk/dist/aws-sdk.min.js +85 -85
  31. package/node_modules/aws-sdk/lib/config-base.d.ts +14 -0
  32. package/node_modules/aws-sdk/lib/config.js +78 -1
  33. package/node_modules/aws-sdk/lib/core.js +1 -1
  34. package/node_modules/aws-sdk/lib/event_listeners.js +49 -30
  35. package/node_modules/aws-sdk/lib/node_loader.js +17 -1
  36. package/node_modules/aws-sdk/lib/service.js +2 -0
  37. package/node_modules/aws-sdk/lib/shared-ini/ini-loader.d.ts +1 -12
  38. package/node_modules/aws-sdk/lib/shared-ini/ini-loader.js +68 -30
  39. package/node_modules/aws-sdk/lib/signers/bearer.js +14 -0
  40. package/node_modules/aws-sdk/lib/signers/request_signer.js +2 -0
  41. package/node_modules/aws-sdk/lib/token/sso_token_provider.d.ts +12 -0
  42. package/node_modules/aws-sdk/lib/token/sso_token_provider.js +245 -0
  43. package/node_modules/aws-sdk/lib/token/static_token_provider.d.ts +8 -0
  44. package/node_modules/aws-sdk/lib/token/static_token_provider.js +27 -0
  45. package/node_modules/aws-sdk/lib/token/token_provider_chain.d.ts +24 -0
  46. package/node_modules/aws-sdk/lib/token/token_provider_chain.js +165 -0
  47. package/node_modules/aws-sdk/lib/token.d.ts +101 -0
  48. package/node_modules/aws-sdk/lib/token.js +219 -0
  49. package/node_modules/aws-sdk/package.json +1 -1
  50. package/node_modules/aws-sdk/scripts/region-checker/allowlist.js +4 -1
  51. package/package.json +6 -6
@@ -461,15 +461,15 @@ declare namespace Transfer {
461
461
  export type Arn = string;
462
462
  export interface As2ConnectorConfig {
463
463
  /**
464
- * A unique identifier for the AS2 process.
464
+ * A unique identifier for the AS2 local profile.
465
465
  */
466
466
  LocalProfileId?: ProfileId;
467
467
  /**
468
- * A unique identifier for the partner for the connector.
468
+ * A unique identifier for the partner profile for the connector.
469
469
  */
470
470
  PartnerProfileId?: ProfileId;
471
471
  /**
472
- * A short description to help identify the connector.
472
+ * Used as the Subject HTTP header attribute in AS2 messages that are being sent with the connector.
473
473
  */
474
474
  MessageSubject?: MessageSubject;
475
475
  /**
@@ -481,11 +481,11 @@ declare namespace Transfer {
481
481
  */
482
482
  EncryptionAlgorithm?: EncryptionAlg;
483
483
  /**
484
- * The algorithm that is used to sign the AS2 transfers for this partner profile.
484
+ * The algorithm that is used to sign the AS2 messages sent with the connector.
485
485
  */
486
486
  SigningAlgorithm?: SigningAlg;
487
487
  /**
488
- * The signing algorithm for the MDN response.
488
+ * The signing algorithm for the MDN response. If set to DEFAULT (or not set at all), the value for SigningAlogorithm is used.
489
489
  */
490
490
  MdnSigningAlgorithm?: MdnSigningAlg;
491
491
  /**
@@ -590,7 +590,7 @@ declare namespace Transfer {
590
590
  */
591
591
  BaseDirectory: HomeDirectory;
592
592
  /**
593
- * The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that grants access to at least the HomeDirectory of your users' Amazon S3 buckets.
593
+ * With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.
594
594
  */
595
595
  AccessRole: Role;
596
596
  /**
@@ -638,7 +638,7 @@ declare namespace Transfer {
638
638
  }
639
639
  export interface CreateProfileRequest {
640
640
  /**
641
- * The As2Id is the AS2-name, as defined in the defined in the RFC 4130. For inbound transfers, this is the AS2-From header for the AS2 messages sent from the partner. For outbound connectors, this is the AS2-To header for the AS2 messages sent to the partner using the StartFileTransfer API operation. This ID cannot include spaces.
641
+ * The As2Id is the AS2-name, as defined in the RFC 4130. For inbound transfers, this is the AS2-From header for the AS2 messages sent from the partner. For outbound connectors, this is the AS2-To header for the AS2 messages sent to the partner using the StartFileTransfer API operation. This ID cannot include spaces.
642
642
  */
643
643
  As2Id: As2Id;
644
644
  /**
@@ -1107,11 +1107,11 @@ declare namespace Transfer {
1107
1107
  */
1108
1108
  ServerId?: ServerId;
1109
1109
  /**
1110
- * A unique identifier for the AS2 process.
1110
+ * A unique identifier for the AS2 local profile.
1111
1111
  */
1112
1112
  LocalProfileId?: ProfileId;
1113
1113
  /**
1114
- * A unique identifier for the partner in the agreement.
1114
+ * A unique identifier for the partner profile used in the agreement.
1115
1115
  */
1116
1116
  PartnerProfileId?: ProfileId;
1117
1117
  /**
@@ -1119,7 +1119,7 @@ declare namespace Transfer {
1119
1119
  */
1120
1120
  BaseDirectory?: HomeDirectory;
1121
1121
  /**
1122
- * The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that grants access to at least the HomeDirectory of your users' Amazon S3 buckets.
1122
+ * With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.
1123
1123
  */
1124
1124
  AccessRole?: Role;
1125
1125
  /**
@@ -1260,7 +1260,7 @@ declare namespace Transfer {
1260
1260
  */
1261
1261
  ProfileType?: ProfileType;
1262
1262
  /**
1263
- * The unique identifier for the AS2 process.
1263
+ * The As2Id is the AS2-name, as defined in the RFC 4130. For inbound transfers, this is the AS2-From header for the AS2 messages sent from the partner. For outbound connectors, this is the AS2-To header for the AS2 messages sent to the partner using the StartFileTransfer API operation. This ID cannot include spaces.
1264
1264
  */
1265
1265
  As2Id?: As2Id;
1266
1266
  /**
@@ -1308,7 +1308,7 @@ declare namespace Transfer {
1308
1308
  */
1309
1309
  Certificate?: Certificate;
1310
1310
  /**
1311
- * The protocol settings that are configured for your server. Use the PassiveIp parameter to indicate passive mode. Enter a single IPv4 address, such as the public IP address of a firewall, router, or load balancer.
1311
+ * The protocol settings that are configured for your server. To indicate passive mode (for FTP and FTPS protocols), use the PassiveIp parameter. Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer. To ignore the error that is generated when the client attempts to use the SETSTAT command on a file that you are uploading to an Amazon S3 bucket, use the SetStatOption parameter. To have the Transfer Family server ignore the SETSTAT command and upload files without needing to make any changes to your SFTP client, set the value to ENABLE_NO_OP. If you set the SetStatOption parameter to ENABLE_NO_OP, Transfer Family generates a log entry to Amazon CloudWatch Logs, so that you can determine when the client is making a SETSTAT call. To determine whether your Transfer Family server resumes recent, negotiated sessions through a unique session ID, use the TlsSessionResumptionMode parameter. As2Transports indicates the transport method for the AS2 messages. Currently, only HTTP is supported.
1312
1312
  */
1313
1313
  ProtocolDetails?: ProtocolDetails;
1314
1314
  /**
@@ -1348,7 +1348,7 @@ declare namespace Transfer {
1348
1348
  */
1349
1349
  PreAuthenticationLoginBanner?: PreAuthenticationLoginBanner;
1350
1350
  /**
1351
- * Specifies the file transfer protocol or protocols over which your file transfer protocol client can connect to your server's endpoint. The available protocols are: SFTP (Secure Shell (SSH) File Transfer Protocol): File transfer over SSH FTPS (File Transfer Protocol Secure): File transfer with TLS encryption FTP (File Transfer Protocol): Unencrypted file transfer
1351
+ * Specifies the file transfer protocol or protocols over which your file transfer protocol client can connect to your server's endpoint. The available protocols are: SFTP (Secure Shell (SSH) File Transfer Protocol): File transfer over SSH FTPS (File Transfer Protocol Secure): File transfer with TLS encryption FTP (File Transfer Protocol): Unencrypted file transfer AS2 (Applicability Statement 2): used for transporting structured business-to-business data If you select FTPS, you must choose a certificate stored in Certificate Manager (ACM) which is used to identify your server when clients connect to it over FTPS. If Protocol includes either FTP or FTPS, then the EndpointType must be VPC and the IdentityProviderType must be AWS_DIRECTORY_SERVICE or API_GATEWAY. If Protocol includes FTP, then AddressAllocationIds cannot be associated. If Protocol is set only to SFTP, the EndpointType can be set to PUBLIC and the IdentityProviderType can be set to SERVICE_MANAGED. If Protocol includes AS2, then the EndpointType must be VPC, and domain must be Amazon S3.
1352
1352
  */
1353
1353
  Protocols?: Protocols;
1354
1354
  /**
@@ -1950,11 +1950,11 @@ declare namespace Transfer {
1950
1950
  */
1951
1951
  ServerId?: ServerId;
1952
1952
  /**
1953
- * A unique identifier for the AS2 process.
1953
+ * A unique identifier for the AS2 local profile.
1954
1954
  */
1955
1955
  LocalProfileId?: ProfileId;
1956
1956
  /**
1957
- * A unique identifier for the partner process.
1957
+ * A unique identifier for the partner profile.
1958
1958
  */
1959
1959
  PartnerProfileId?: ProfileId;
1960
1960
  }
@@ -2038,7 +2038,7 @@ declare namespace Transfer {
2038
2038
  */
2039
2039
  ProfileId?: ProfileId;
2040
2040
  /**
2041
- * The unique identifier for the AS2 process.
2041
+ * The As2Id is the AS2-name, as defined in the RFC 4130. For inbound transfers, this is the AS2-From header for the AS2 messages sent from the partner. For outbound connectors, this is the AS2-To header for the AS2 messages sent to the partner using the StartFileTransfer API operation. This ID cannot include spaces.
2042
2042
  */
2043
2043
  As2Id?: As2Id;
2044
2044
  /**
@@ -2474,11 +2474,11 @@ declare namespace Transfer {
2474
2474
  */
2475
2475
  Status?: AgreementStatusType;
2476
2476
  /**
2477
- * To change the local profile identifier, provide a new value here.
2477
+ * A unique identifier for the AS2 local profile. To change the local profile identifier, provide a new value here.
2478
2478
  */
2479
2479
  LocalProfileId?: ProfileId;
2480
2480
  /**
2481
- * To change the partner profile identifier, provide a new value here.
2481
+ * A unique identifier for the partner profile. To change the partner profile identifier, provide a new value here.
2482
2482
  */
2483
2483
  PartnerProfileId?: ProfileId;
2484
2484
  /**
@@ -2486,7 +2486,7 @@ declare namespace Transfer {
2486
2486
  */
2487
2487
  BaseDirectory?: HomeDirectory;
2488
2488
  /**
2489
- * The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that grants access to at least the HomeDirectory of your users' Amazon S3 buckets.
2489
+ * With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.
2490
2490
  */
2491
2491
  AccessRole?: Role;
2492
2492
  }
@@ -2602,7 +2602,7 @@ declare namespace Transfer {
2602
2602
  */
2603
2603
  PreAuthenticationLoginBanner?: PreAuthenticationLoginBanner;
2604
2604
  /**
2605
- * Specifies the file transfer protocol or protocols over which your file transfer protocol client can connect to your server's endpoint. The available protocols are: Secure Shell (SSH) File Transfer Protocol (SFTP): File transfer over SSH File Transfer Protocol Secure (FTPS): File transfer with TLS encryption File Transfer Protocol (FTP): Unencrypted file transfer If you select FTPS, you must choose a certificate stored in Amazon Web ServicesCertificate Manager (ACM) which will be used to identify your server when clients connect to it over FTPS. If Protocol includes either FTP or FTPS, then the EndpointType must be VPC and the IdentityProviderType must be AWS_DIRECTORY_SERVICE or API_GATEWAY. If Protocol includes FTP, then AddressAllocationIds cannot be associated. If Protocol is set only to SFTP, the EndpointType can be set to PUBLIC and the IdentityProviderType can be set to SERVICE_MANAGED.
2605
+ * Specifies the file transfer protocol or protocols over which your file transfer protocol client can connect to your server's endpoint. The available protocols are: SFTP (Secure Shell (SSH) File Transfer Protocol): File transfer over SSH FTPS (File Transfer Protocol Secure): File transfer with TLS encryption FTP (File Transfer Protocol): Unencrypted file transfer AS2 (Applicability Statement 2): used for transporting structured business-to-business data If you select FTPS, you must choose a certificate stored in Certificate Manager (ACM) which is used to identify your server when clients connect to it over FTPS. If Protocol includes either FTP or FTPS, then the EndpointType must be VPC and the IdentityProviderType must be AWS_DIRECTORY_SERVICE or API_GATEWAY. If Protocol includes FTP, then AddressAllocationIds cannot be associated. If Protocol is set only to SFTP, the EndpointType can be set to PUBLIC and the IdentityProviderType can be set to SERVICE_MANAGED. If Protocol includes AS2, then the EndpointType must be VPC, and domain must be Amazon S3.
2606
2606
  */
2607
2607
  Protocols?: Protocols;
2608
2608
  /**
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
83
83
  /**
84
84
  * @constant
85
85
  */
86
- VERSION: '2.1201.0',
86
+ VERSION: '2.1204.0',
87
87
 
88
88
  /**
89
89
  * @api private
@@ -147,7 +147,7 @@ return /******/ (function(modules) { // webpackBootstrap
147
147
  __webpack_require__(76);
148
148
  __webpack_require__(77);
149
149
  __webpack_require__(78);
150
- __webpack_require__(86);
150
+ __webpack_require__(87);
151
151
 
152
152
  /**
153
153
  * @readonly
@@ -5217,6 +5217,8 @@ return /******/ (function(modules) { // webpackBootstrap
5217
5217
  version = this.config.signatureVersion;
5218
5218
  } else if (authtype === 'v4' || authtype === 'v4-unsigned-body') {
5219
5219
  version = 'v4';
5220
+ } else if (authtype === 'bearer') {
5221
+ version = 'bearer';
5220
5222
  } else {
5221
5223
  version = this.api.signatureVersion;
5222
5224
  }
@@ -6157,6 +6159,82 @@ return /******/ (function(modules) { // webpackBootstrap
6157
6159
  }
6158
6160
  },
6159
6161
 
6162
+ /**
6163
+ * Loads token from the configuration object. This is used internally
6164
+ * by the SDK to ensure that refreshable {Token} objects are properly
6165
+ * refreshed and loaded when sending a request. If you want to ensure that
6166
+ * your token is loaded prior to a request, you can use this method
6167
+ * directly to provide accurate token data stored in the object.
6168
+ *
6169
+ * @note If you configure the SDK with static token, the token data should
6170
+ * already be present in {token} attribute. This method is primarily necessary
6171
+ * to load token from asynchronous sources, or sources that can refresh
6172
+ * token periodically.
6173
+ * @example Getting your access token
6174
+ * AWS.config.getToken(function(err) {
6175
+ * if (err) console.log(err.stack); // token not loaded
6176
+ * else console.log("Token:", AWS.config.token.token);
6177
+ * })
6178
+ * @callback callback function(err)
6179
+ * Called when the {token} have been properly set on the configuration object.
6180
+ *
6181
+ * @param err [Error] if this is set, token was not successfully loaded and
6182
+ * this error provides information why.
6183
+ * @see token
6184
+ */
6185
+ getToken: function getToken(callback) {
6186
+ var self = this;
6187
+
6188
+ function finish(err) {
6189
+ callback(err, err ? null : self.token);
6190
+ }
6191
+
6192
+ function tokenError(msg, err) {
6193
+ return new AWS.util.error(err || new Error(), {
6194
+ code: 'TokenError',
6195
+ message: msg,
6196
+ name: 'TokenError'
6197
+ });
6198
+ }
6199
+
6200
+ function getAsyncToken() {
6201
+ self.token.get(function(err) {
6202
+ if (err) {
6203
+ var msg = 'Could not load token from ' +
6204
+ self.token.constructor.name;
6205
+ err = tokenError(msg, err);
6206
+ }
6207
+ finish(err);
6208
+ });
6209
+ }
6210
+
6211
+ function getStaticToken() {
6212
+ var err = null;
6213
+ if (!self.token.token) {
6214
+ err = tokenError('Missing token');
6215
+ }
6216
+ finish(err);
6217
+ }
6218
+
6219
+ if (self.token) {
6220
+ if (typeof self.token.get === 'function') {
6221
+ getAsyncToken();
6222
+ } else { // static token
6223
+ getStaticToken();
6224
+ }
6225
+ } else if (self.tokenProvider) {
6226
+ self.tokenProvider.resolve(function(err, token) {
6227
+ if (err) {
6228
+ err = tokenError('Could not load token from any providers', err);
6229
+ }
6230
+ self.token = token;
6231
+ finish(err);
6232
+ });
6233
+ } else {
6234
+ finish(tokenError('No token to load'));
6235
+ }
6236
+ },
6237
+
6160
6238
  /**
6161
6239
  * @!group Loading and Setting Configuration Options
6162
6240
  */
@@ -6290,7 +6368,8 @@ return /******/ (function(modules) { // webpackBootstrap
6290
6368
  hostPrefixEnabled: true,
6291
6369
  stsRegionalEndpoints: 'legacy',
6292
6370
  useFipsEndpoint: false,
6293
- useDualstackEndpoint: false
6371
+ useDualstackEndpoint: false,
6372
+ token: null
6294
6373
  },
6295
6374
 
6296
6375
  /**
@@ -7288,37 +7367,56 @@ return /******/ (function(modules) { // webpackBootstrap
7288
7367
  var authtype = operation ? operation.authtype : '';
7289
7368
  if (!service.api.signatureVersion && !authtype && !service.config.signatureVersion) return done(); // none
7290
7369
 
7291
- service.config.getCredentials(function (err, credentials) {
7292
- if (err) {
7293
- req.response.error = err;
7294
- return done();
7295
- }
7370
+ if (authtype === 'bearer' || service.config.signatureVersion === 'bearer') {
7371
+ service.config.getToken(function (err, token) {
7372
+ if (err) {
7373
+ req.response.error = err;
7374
+ return done();
7375
+ }
7296
7376
 
7297
- try {
7298
- var date = service.getSkewCorrectedDate();
7299
- var SignerClass = service.getSignerClass(req);
7300
- var signer = new SignerClass(req.httpRequest,
7301
- service.getSigningName(req),
7302
- {
7303
- signatureCache: service.config.signatureCache,
7304
- operation: operation,
7305
- signatureVersion: service.api.signatureVersion
7306
- });
7307
- signer.setServiceClientId(service._clientId);
7377
+ try {
7378
+ var SignerClass = service.getSignerClass(req);
7379
+ var signer = new SignerClass(req.httpRequest);
7380
+ signer.addAuthorization(token);
7381
+ } catch (e) {
7382
+ req.response.error = e;
7383
+ }
7384
+ done();
7385
+ });
7386
+ } else {
7387
+ service.config.getCredentials(function (err, credentials) {
7388
+ if (err) {
7389
+ req.response.error = err;
7390
+ return done();
7391
+ }
7308
7392
 
7309
- // clear old authorization headers
7310
- delete req.httpRequest.headers['Authorization'];
7311
- delete req.httpRequest.headers['Date'];
7312
- delete req.httpRequest.headers['X-Amz-Date'];
7393
+ try {
7394
+ var date = service.getSkewCorrectedDate();
7395
+ var SignerClass = service.getSignerClass(req);
7396
+ var signer = new SignerClass(req.httpRequest,
7397
+ service.getSigningName(req),
7398
+ {
7399
+ signatureCache: service.config.signatureCache,
7400
+ operation: operation,
7401
+ signatureVersion: service.api.signatureVersion
7402
+ });
7403
+ signer.setServiceClientId(service._clientId);
7404
+
7405
+ // clear old authorization headers
7406
+ delete req.httpRequest.headers['Authorization'];
7407
+ delete req.httpRequest.headers['Date'];
7408
+ delete req.httpRequest.headers['X-Amz-Date'];
7409
+
7410
+ // add new authorization
7411
+ signer.addAuthorization(credentials, date);
7412
+ req.signedAt = date;
7413
+ } catch (e) {
7414
+ req.response.error = e;
7415
+ }
7416
+ done();
7417
+ });
7313
7418
 
7314
- // add new authorization
7315
- signer.addAuthorization(credentials, date);
7316
- req.signedAt = date;
7317
- } catch (e) {
7318
- req.response.error = e;
7319
- }
7320
- done();
7321
- });
7419
+ }
7322
7420
  });
7323
7421
 
7324
7422
  add('VALIDATE_RESPONSE', 'validateResponse', function VALIDATE_RESPONSE(resp) {
@@ -13185,6 +13283,7 @@ return /******/ (function(modules) { // webpackBootstrap
13185
13283
  case 'v4': return AWS.Signers.V4;
13186
13284
  case 's3': return AWS.Signers.S3;
13187
13285
  case 'v3https': return AWS.Signers.V3Https;
13286
+ case 'bearer': return AWS.Signers.Bearer;
13188
13287
  }
13189
13288
  throw new Error('Unknown signing version ' + version);
13190
13289
  };
@@ -13195,6 +13294,7 @@ return /******/ (function(modules) { // webpackBootstrap
13195
13294
  __webpack_require__(82);
13196
13295
  __webpack_require__(84);
13197
13296
  __webpack_require__(85);
13297
+ __webpack_require__(86);
13198
13298
 
13199
13299
 
13200
13300
  /***/ }),
@@ -14004,6 +14104,26 @@ return /******/ (function(modules) { // webpackBootstrap
14004
14104
 
14005
14105
  var AWS = __webpack_require__(1);
14006
14106
 
14107
+ /**
14108
+ * @api private
14109
+ */
14110
+ AWS.Signers.Bearer = AWS.util.inherit(AWS.Signers.RequestSigner, {
14111
+ constructor: function Bearer(request) {
14112
+ AWS.Signers.RequestSigner.call(this, request);
14113
+ },
14114
+
14115
+ addAuthorization: function addAuthorization(token) {
14116
+ this.request.httpRequest.headers['Authorization'] = 'Bearer ' + token.token;
14117
+ }
14118
+ });
14119
+
14120
+
14121
+ /***/ }),
14122
+ /* 87 */
14123
+ /***/ (function(module, exports, __webpack_require__) {
14124
+
14125
+ var AWS = __webpack_require__(1);
14126
+
14007
14127
  /**
14008
14128
  * @api private
14009
14129
  */