aws-sdk 2.637.0 → 2.641.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.
Files changed (36) hide show
  1. package/CHANGELOG.md +23 -1
  2. package/README.md +1 -1
  3. package/apis/apigatewayv2-2018-11-29.min.json +437 -73
  4. package/apis/cognito-idp-2016-04-18.min.json +115 -112
  5. package/apis/ecs-2014-11-13.min.json +6 -0
  6. package/apis/elasticache-2015-02-02.min.json +424 -95
  7. package/apis/elasticache-2015-02-02.paginators.json +6 -0
  8. package/apis/iot-2015-05-28.min.json +111 -100
  9. package/apis/lex-models-2017-04-19.min.json +116 -1
  10. package/apis/mediaconvert-2017-08-29.min.json +121 -62
  11. package/apis/redshift-2012-12-01.min.json +112 -60
  12. package/apis/s3control-2018-08-20.min.json +100 -4
  13. package/apis/securityhub-2018-10-26.min.json +198 -155
  14. package/apis/ssm-2014-11-06.min.json +182 -176
  15. package/buildspec.yml +22 -0
  16. package/clients/apigatewayv2.d.ts +378 -45
  17. package/clients/appconfig.d.ts +6 -6
  18. package/clients/cognitoidentityserviceprovider.d.ts +10 -6
  19. package/clients/ec2.d.ts +1 -1
  20. package/clients/ecs.d.ts +15 -7
  21. package/clients/efs.d.ts +3 -3
  22. package/clients/elasticache.d.ts +390 -15
  23. package/clients/iot.d.ts +18 -3
  24. package/clients/lexmodelbuildingservice.d.ts +99 -0
  25. package/clients/mediaconvert.d.ts +73 -3
  26. package/clients/redshift.d.ts +44 -2
  27. package/clients/s3control.d.ts +72 -0
  28. package/clients/securityhub.d.ts +85 -4
  29. package/clients/ssm.d.ts +15 -4
  30. package/dist/aws-sdk-core-react-native.js +2 -2
  31. package/dist/aws-sdk-react-native.js +14 -14
  32. package/dist/aws-sdk.js +1076 -548
  33. package/dist/aws-sdk.min.js +63 -63
  34. package/lib/core.js +1 -1
  35. package/lib/event_listeners.js +1 -1
  36. package/package.json +1 -1
@@ -1249,6 +1249,63 @@ declare namespace SecurityHub {
1249
1249
  * The display name of the owner of the S3 bucket.
1250
1250
  */
1251
1251
  OwnerName?: NonEmptyString;
1252
+ /**
1253
+ * The date and time when the S3 bucket was created.
1254
+ */
1255
+ CreatedAt?: NonEmptyString;
1256
+ /**
1257
+ * The encryption rules that are applied to the S3 bucket.
1258
+ */
1259
+ ServerSideEncryptionConfiguration?: AwsS3BucketServerSideEncryptionConfiguration;
1260
+ }
1261
+ export interface AwsS3BucketServerSideEncryptionByDefault {
1262
+ /**
1263
+ * Server-side encryption algorithm to use for the default encryption.
1264
+ */
1265
+ SSEAlgorithm?: NonEmptyString;
1266
+ /**
1267
+ * AWS KMS customer master key (CMK) ID to use for the default encryption.
1268
+ */
1269
+ KMSMasterKeyID?: NonEmptyString;
1270
+ }
1271
+ export interface AwsS3BucketServerSideEncryptionConfiguration {
1272
+ /**
1273
+ * The encryption rules that are applied to the S3 bucket.
1274
+ */
1275
+ Rules?: AwsS3BucketServerSideEncryptionRules;
1276
+ }
1277
+ export interface AwsS3BucketServerSideEncryptionRule {
1278
+ /**
1279
+ * Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption is applied.
1280
+ */
1281
+ ApplyServerSideEncryptionByDefault?: AwsS3BucketServerSideEncryptionByDefault;
1282
+ }
1283
+ export type AwsS3BucketServerSideEncryptionRules = AwsS3BucketServerSideEncryptionRule[];
1284
+ export interface AwsS3ObjectDetails {
1285
+ /**
1286
+ * The date and time when the object was last modified.
1287
+ */
1288
+ LastModified?: NonEmptyString;
1289
+ /**
1290
+ * The opaque identifier assigned by a web server to a specific version of a resource found at a URL.
1291
+ */
1292
+ ETag?: NonEmptyString;
1293
+ /**
1294
+ * The version of the object.
1295
+ */
1296
+ VersionId?: NonEmptyString;
1297
+ /**
1298
+ * A standard MIME type describing the format of the object data.
1299
+ */
1300
+ ContentType?: NonEmptyString;
1301
+ /**
1302
+ * If the object is stored using server-side encryption, the value of the server-side encryption algorithm used when storing this object in Amazon S3.
1303
+ */
1304
+ ServerSideEncryption?: NonEmptyString;
1305
+ /**
1306
+ * The identifier of the AWS Key Management Service (AWS KMS) symmetric customer managed customer master key (CMK) that was used for the object.
1307
+ */
1308
+ SSEKMSKeyId?: NonEmptyString;
1252
1309
  }
1253
1310
  export interface AwsSecurityFinding {
1254
1311
  /**
@@ -1260,7 +1317,7 @@ declare namespace SecurityHub {
1260
1317
  */
1261
1318
  Id: NonEmptyString;
1262
1319
  /**
1263
- * The ARN generated by Security Hub that uniquely identifies a third-party company (security-findings provider) after this provider's product (solution that generates findings) is registered with Security Hub.
1320
+ * The ARN generated by Security Hub that uniquely identifies a product that generates findings. This can be the ARN for a third-party product that is integrated with Security Hub, or the ARN for a custom integration.
1264
1321
  */
1265
1322
  ProductArn: NonEmptyString;
1266
1323
  /**
@@ -1359,6 +1416,10 @@ declare namespace SecurityHub {
1359
1416
  * The workflow state of a finding.
1360
1417
  */
1361
1418
  WorkflowState?: WorkflowState;
1419
+ /**
1420
+ * Provides information about the status of the investigation into a finding.
1421
+ */
1422
+ Workflow?: Workflow;
1362
1423
  /**
1363
1424
  * The record state of a finding.
1364
1425
  */
@@ -1677,6 +1738,10 @@ declare namespace SecurityHub {
1677
1738
  * The workflow state of a finding.
1678
1739
  */
1679
1740
  WorkflowState?: StringFilterList;
1741
+ /**
1742
+ * The status of the investigation into a finding. Allowed values are the following. NEW - The initial state of a finding, before it is reviewed. NOTIFIED - Indicates that the resource owner has been notified about the security issue. Used when the initial reviewer is not the resource owner, and needs intervention from the resource owner. SUPPRESSED - The finding will not be reviewed again and will not be acted upon. RESOLVED - The finding was reviewed and remediated and is now considered resolved.
1743
+ */
1744
+ WorkflowStatus?: StringFilterList;
1680
1745
  /**
1681
1746
  * The updated record state for the finding.
1682
1747
  */
@@ -2229,7 +2294,7 @@ declare namespace SecurityHub {
2229
2294
  }
2230
2295
  export interface GetInsightsRequest {
2231
2296
  /**
2232
- * The ARNs of the insights to describe.
2297
+ * The ARNs of the insights to describe. If you do not provide any insight ARNs, then GetInsights returns all of your custom insights. It does not return any managed insights.
2233
2298
  */
2234
2299
  InsightArns?: ArnList;
2235
2300
  /**
@@ -2786,6 +2851,10 @@ declare namespace SecurityHub {
2786
2851
  * Details about an Amazon S3 Bucket related to a finding.
2787
2852
  */
2788
2853
  AwsS3Bucket?: AwsS3BucketDetails;
2854
+ /**
2855
+ * Details about an Amazon S3 object related to a finding.
2856
+ */
2857
+ AwsS3Object?: AwsS3ObjectDetails;
2789
2858
  /**
2790
2859
  * Details about an IAM access key related to a finding.
2791
2860
  */
@@ -2850,10 +2919,15 @@ declare namespace SecurityHub {
2850
2919
  */
2851
2920
  Product?: Double;
2852
2921
  /**
2853
- * The normalized severity of a finding.
2922
+ * The severity value of the finding. The allowed values are the following. INFORMATIONAL - No issue was found. LOW - The issue does not require action on its own. MEDIUM - The issue must be addressed but not urgently. HIGH - The issue must be addressed as a priority. CRITICAL - The issue must be remediated immediately to avoid it escalating.
2854
2923
  */
2855
- Normalized: Integer;
2924
+ Label?: SeverityLabel;
2925
+ /**
2926
+ * Deprecated. This attribute is being deprecated. Instead of providing Normalized, provide Label. If you provide Normalized and do not provide Label, Label is set automatically as follows. 0 - INFORMATIONAL 1–39 - LOW 40–69 - MEDIUM 70–89 - HIGH 90–100 - CRITICAL
2927
+ */
2928
+ Normalized?: Integer;
2856
2929
  }
2930
+ export type SeverityLabel = "INFORMATIONAL"|"LOW"|"MEDIUM"|"HIGH"|"CRITICAL"|string;
2857
2931
  export type SeverityRating = "LOW"|"MEDIUM"|"HIGH"|"CRITICAL"|string;
2858
2932
  export type SortCriteria = SortCriterion[];
2859
2933
  export interface SortCriterion {
@@ -3118,7 +3192,14 @@ declare namespace SecurityHub {
3118
3192
  */
3119
3193
  Type?: NonEmptyString;
3120
3194
  }
3195
+ export interface Workflow {
3196
+ /**
3197
+ * The status of the investigation into the finding. The allowed values are the following. NEW - The initial state of a finding, before it is reviewed. NOTIFIED - Indicates that you notified the resource owner about the security issue. Used when the initial reviewer is not the resource owner, and needs intervention from the resource owner. SUPPRESSED - The finding will not be reviewed again and will not be acted upon. RESOLVED - The finding was reviewed and remediated and is now considered resolved.
3198
+ */
3199
+ Status?: WorkflowStatus;
3200
+ }
3121
3201
  export type WorkflowState = "NEW"|"ASSIGNED"|"IN_PROGRESS"|"DEFERRED"|"RESOLVED"|string;
3202
+ export type WorkflowStatus = "NEW"|"NOTIFIED"|"RESOLVED"|"SUPPRESSED"|string;
3122
3203
  /**
3123
3204
  * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
3124
3205
  */
package/clients/ssm.d.ts CHANGED
@@ -3416,7 +3416,7 @@ declare namespace SSM {
3416
3416
  */
3417
3417
  Parameters?: ParameterMetadataList;
3418
3418
  /**
3419
- * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
3419
+ * The token to use when requesting the next set of items.
3420
3420
  */
3421
3421
  NextToken?: NextToken;
3422
3422
  }
@@ -6763,9 +6763,9 @@ declare namespace SSM {
6763
6763
  */
6764
6764
  ApproveAfterDays?: ApproveAfterDays;
6765
6765
  /**
6766
- * The cutoff date for auto approval of released patches. Any patches released on or before this date will be installed automatically
6766
+ * Example API
6767
6767
  */
6768
- ApproveUntilDate?: PatchStringDate;
6768
+ ApproveUntilDate?: PatchStringDateTime;
6769
6769
  /**
6770
6770
  * For instances identified by the approval rule filters, enables a patch baseline to apply non-security updates available in the specified repository. The default value is 'false'. Applies to Linux instances only.
6771
6771
  */
@@ -6813,7 +6813,7 @@ declare namespace SSM {
6813
6813
  */
6814
6814
  ApprovalDate?: DateTime;
6815
6815
  }
6816
- export type PatchStringDate = string;
6816
+ export type PatchStringDateTime = string;
6817
6817
  export type PatchTitle = string;
6818
6818
  export type PatchUnreportedNotApplicableCount = number;
6819
6819
  export type PatchVendor = string;
@@ -7172,6 +7172,13 @@ declare namespace SSM {
7172
7172
  OrganizationalUnits?: ResourceDataSyncOrganizationalUnitList;
7173
7173
  }
7174
7174
  export type ResourceDataSyncCreatedTime = Date;
7175
+ export interface ResourceDataSyncDestinationDataSharing {
7176
+ /**
7177
+ * The sharing data type. Only Organization is supported.
7178
+ */
7179
+ DestinationDataSharingType?: ResourceDataSyncDestinationDataSharingType;
7180
+ }
7181
+ export type ResourceDataSyncDestinationDataSharingType = string;
7175
7182
  export type ResourceDataSyncIncludeFutureRegions = boolean;
7176
7183
  export interface ResourceDataSyncItem {
7177
7184
  /**
@@ -7249,6 +7256,10 @@ declare namespace SSM {
7249
7256
  * The ARN of an encryption key for a destination in Amazon S3. Must belong to the same Region as the destination Amazon S3 bucket.
7250
7257
  */
7251
7258
  AWSKMSKeyARN?: ResourceDataSyncAWSKMSKeyARN;
7259
+ /**
7260
+ * Enables destination data sharing. By default, this field is null.
7261
+ */
7262
+ DestinationDataSharing?: ResourceDataSyncDestinationDataSharing;
7252
7263
  }
7253
7264
  export type ResourceDataSyncS3Format = "JsonSerDe"|string;
7254
7265
  export type ResourceDataSyncS3Prefix = string;
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
83
83
  /**
84
84
  * @constant
85
85
  */
86
- VERSION: '2.637.0',
86
+ VERSION: '2.641.0',
87
87
 
88
88
  /**
89
89
  * @api private
@@ -6506,7 +6506,7 @@ return /******/ (function(modules) { // webpackBootstrap
6506
6506
  req.service.config.getCredentials(function(err) {
6507
6507
  if (err) {
6508
6508
  req.response.error = AWS.util.error(err,
6509
- {code: 'CredentialsError', message: 'Missing credentials in config'});
6509
+ {code: 'CredentialsError', message: 'Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1'});
6510
6510
  }
6511
6511
  done();
6512
6512
  });