aws-sdk 2.810.0 → 2.814.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 (86) hide show
  1. package/CHANGELOG.md +35 -1
  2. package/README.md +2 -3
  3. package/apis/amp-2020-08-01.examples.json +5 -0
  4. package/apis/amp-2020-08-01.min.json +211 -0
  5. package/apis/amp-2020-08-01.paginators.json +10 -0
  6. package/apis/ce-2017-10-25.min.json +101 -97
  7. package/apis/config-2014-11-12.min.json +40 -6
  8. package/apis/dlm-2018-01-12.min.json +104 -16
  9. package/apis/ec2-2016-11-15.min.json +11 -0
  10. package/apis/greengrassv2-2020-11-30.examples.json +5 -0
  11. package/apis/greengrassv2-2020-11-30.min.json +1069 -0
  12. package/apis/greengrassv2-2020-11-30.paginators.json +40 -0
  13. package/apis/imagebuilder-2019-12-02.min.json +375 -88
  14. package/apis/imagebuilder-2019-12-02.paginators.json +24 -9
  15. package/apis/iot-2015-05-28.min.json +904 -278
  16. package/apis/iot-2015-05-28.paginators.json +24 -0
  17. package/apis/iotanalytics-2017-11-27.min.json +79 -27
  18. package/apis/iotdeviceadvisor-2020-09-18.examples.json +5 -0
  19. package/apis/iotdeviceadvisor-2020-09-18.min.json +596 -0
  20. package/apis/iotdeviceadvisor-2020-09-18.paginators.json +19 -0
  21. package/apis/iotfleethub-2020-11-03.examples.json +5 -0
  22. package/apis/iotfleethub-2020-11-03.min.json +292 -0
  23. package/apis/iotfleethub-2020-11-03.paginators.json +9 -0
  24. package/apis/iotwireless-2020-11-22.examples.json +5 -0
  25. package/apis/iotwireless-2020-11-22.min.json +1832 -0
  26. package/apis/iotwireless-2020-11-22.paginators.json +29 -0
  27. package/apis/kms-2014-11-01.examples.json +7 -4
  28. package/apis/kms-2014-11-01.min.json +7 -1
  29. package/apis/lambda-2015-03-31.examples.json +6 -6
  30. package/apis/lambda-2015-03-31.min.json +140 -100
  31. package/apis/location-2020-11-19.examples.json +5 -0
  32. package/apis/location-2020-11-19.min.json +1759 -0
  33. package/apis/location-2020-11-19.paginators.json +44 -0
  34. package/apis/metadata.json +21 -0
  35. package/apis/quicksight-2018-04-01.min.json +120 -119
  36. package/apis/rds-2014-10-31.min.json +192 -172
  37. package/apis/route53-2013-04-01.min.json +372 -96
  38. package/apis/route53resolver-2018-04-01.min.json +81 -6
  39. package/apis/route53resolver-2018-04-01.paginators.json +6 -0
  40. package/apis/servicecatalog-2015-12-10.min.json +187 -117
  41. package/apis/servicecatalog-2015-12-10.paginators.json +5 -0
  42. package/apis/ssm-2014-11-06.min.json +606 -293
  43. package/apis/ssm-2014-11-06.paginators.json +12 -0
  44. package/apis/wellarchitected-2020-03-31.examples.json +5 -0
  45. package/apis/wellarchitected-2020-03-31.min.json +1329 -0
  46. package/apis/wellarchitected-2020-03-31.paginators.json +49 -0
  47. package/clients/all.d.ts +7 -0
  48. package/clients/all.js +8 -1
  49. package/clients/amp.d.ts +220 -0
  50. package/clients/amp.js +18 -0
  51. package/clients/configservice.d.ts +49 -28
  52. package/clients/costexplorer.d.ts +3 -2
  53. package/clients/dlm.d.ts +99 -7
  54. package/clients/ec2.d.ts +14 -2
  55. package/clients/greengrassv2.d.ts +1270 -0
  56. package/clients/greengrassv2.js +18 -0
  57. package/clients/imagebuilder.d.ts +433 -5
  58. package/clients/iot.d.ts +770 -60
  59. package/clients/iotanalytics.d.ts +68 -2
  60. package/clients/iotdeviceadvisor.d.ts +710 -0
  61. package/clients/iotdeviceadvisor.js +18 -0
  62. package/clients/iotfleethub.d.ts +315 -0
  63. package/clients/iotfleethub.js +18 -0
  64. package/clients/iotwireless.d.ts +2124 -0
  65. package/clients/iotwireless.js +18 -0
  66. package/clients/kms.d.ts +117 -109
  67. package/clients/lambda.d.ts +63 -17
  68. package/clients/location.d.ts +1498 -0
  69. package/clients/location.js +18 -0
  70. package/clients/quicksight.d.ts +15 -10
  71. package/clients/rds.d.ts +41 -14
  72. package/clients/route53.d.ts +247 -1
  73. package/clients/route53resolver.d.ts +105 -8
  74. package/clients/servicecatalog.d.ts +122 -14
  75. package/clients/sqs.d.ts +23 -23
  76. package/clients/ssm.d.ts +534 -31
  77. package/clients/wellarchitected.d.ts +871 -0
  78. package/clients/wellarchitected.js +18 -0
  79. package/dist/aws-sdk-core-react-native.js +7 -2
  80. package/dist/aws-sdk-react-native.js +293 -24
  81. package/dist/aws-sdk.js +2709 -1190
  82. package/dist/aws-sdk.min.js +81 -81
  83. package/lib/config_service_placeholders.d.ts +14 -0
  84. package/lib/core.js +1 -1
  85. package/lib/util.js +5 -0
  86. package/package.json +1 -1
@@ -46,11 +46,11 @@ declare class Lambda extends Service {
46
46
  */
47
47
  createCodeSigningConfig(callback?: (err: AWSError, data: Lambda.Types.CreateCodeSigningConfigResponse) => void): Request<Lambda.Types.CreateCodeSigningConfigResponse, AWSError>;
48
48
  /**
49
- * Creates a mapping between an event source and an AWS Lambda function. Lambda reads items from the event source and triggers the function. For details about each event source type, see the following topics. Using AWS Lambda with Amazon DynamoDB Using AWS Lambda with Amazon Kinesis Using AWS Lambda with Amazon SQS Using AWS Lambda with Amazon MQ Using AWS Lambda with Amazon MSK The following error handling options are only available for stream sources (DynamoDB and Kinesis): BisectBatchOnFunctionError - If the function returns an error, split the batch in two and retry. DestinationConfig - Send discarded records to an Amazon SQS queue or Amazon SNS topic. MaximumRecordAgeInSeconds - Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires MaximumRetryAttempts - Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires. ParallelizationFactor - Process multiple batches from each shard concurrently.
49
+ * Creates a mapping between an event source and an AWS Lambda function. Lambda reads items from the event source and triggers the function. For details about each event source type, see the following topics. Using AWS Lambda with Amazon DynamoDB Using AWS Lambda with Amazon Kinesis Using AWS Lambda with Amazon SQS Using AWS Lambda with Amazon MQ Using AWS Lambda with Amazon MSK Using AWS Lambda with Self-Managed Apache Kafka The following error handling options are only available for stream sources (DynamoDB and Kinesis): BisectBatchOnFunctionError - If the function returns an error, split the batch in two and retry. DestinationConfig - Send discarded records to an Amazon SQS queue or Amazon SNS topic. MaximumRecordAgeInSeconds - Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires MaximumRetryAttempts - Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires. ParallelizationFactor - Process multiple batches from each shard concurrently.
50
50
  */
51
51
  createEventSourceMapping(params: Lambda.Types.CreateEventSourceMappingRequest, callback?: (err: AWSError, data: Lambda.Types.EventSourceMappingConfiguration) => void): Request<Lambda.Types.EventSourceMappingConfiguration, AWSError>;
52
52
  /**
53
- * Creates a mapping between an event source and an AWS Lambda function. Lambda reads items from the event source and triggers the function. For details about each event source type, see the following topics. Using AWS Lambda with Amazon DynamoDB Using AWS Lambda with Amazon Kinesis Using AWS Lambda with Amazon SQS Using AWS Lambda with Amazon MQ Using AWS Lambda with Amazon MSK The following error handling options are only available for stream sources (DynamoDB and Kinesis): BisectBatchOnFunctionError - If the function returns an error, split the batch in two and retry. DestinationConfig - Send discarded records to an Amazon SQS queue or Amazon SNS topic. MaximumRecordAgeInSeconds - Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires MaximumRetryAttempts - Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires. ParallelizationFactor - Process multiple batches from each shard concurrently.
53
+ * Creates a mapping between an event source and an AWS Lambda function. Lambda reads items from the event source and triggers the function. For details about each event source type, see the following topics. Using AWS Lambda with Amazon DynamoDB Using AWS Lambda with Amazon Kinesis Using AWS Lambda with Amazon SQS Using AWS Lambda with Amazon MQ Using AWS Lambda with Amazon MSK Using AWS Lambda with Self-Managed Apache Kafka The following error handling options are only available for stream sources (DynamoDB and Kinesis): BisectBatchOnFunctionError - If the function returns an error, split the batch in two and retry. DestinationConfig - Send discarded records to an Amazon SQS queue or Amazon SNS topic. MaximumRecordAgeInSeconds - Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires MaximumRetryAttempts - Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires. ParallelizationFactor - Process multiple batches from each shard concurrently.
54
54
  */
55
55
  createEventSourceMapping(callback?: (err: AWSError, data: Lambda.Types.EventSourceMappingConfiguration) => void): Request<Lambda.Types.EventSourceMappingConfiguration, AWSError>;
56
56
  /**
@@ -757,7 +757,7 @@ declare namespace Lambda {
757
757
  /**
758
758
  * The Amazon Resource Name (ARN) of the event source. Amazon Kinesis - The ARN of the data stream or a stream consumer. Amazon DynamoDB Streams - The ARN of the stream. Amazon Simple Queue Service - The ARN of the queue. Amazon Managed Streaming for Apache Kafka - The ARN of the cluster.
759
759
  */
760
- EventSourceArn: Arn;
760
+ EventSourceArn?: Arn;
761
761
  /**
762
762
  * The name of the Lambda function. Name formats Function name - MyFunction. Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction. Version or Alias ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD. Partial ARN - 123456789012:function:MyFunction. The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.
763
763
  */
@@ -767,11 +767,11 @@ declare namespace Lambda {
767
767
  */
768
768
  Enabled?: Enabled;
769
769
  /**
770
- * The maximum number of items to retrieve in a single batch. Amazon Kinesis - Default 100. Max 10,000. Amazon DynamoDB Streams - Default 100. Max 1,000. Amazon Simple Queue Service - Default 10. Max 10. Amazon Managed Streaming for Apache Kafka - Default 100. Max 10,000.
770
+ * The maximum number of items to retrieve in a single batch. Amazon Kinesis - Default 100. Max 10,000. Amazon DynamoDB Streams - Default 100. Max 1,000. Amazon Simple Queue Service - Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10. Amazon Managed Streaming for Apache Kafka - Default 100. Max 10,000. Self-Managed Apache Kafka - Default 100. Max 10,000.
771
771
  */
772
772
  BatchSize?: BatchSize;
773
773
  /**
774
- * (Streams) The maximum amount of time to gather records before invoking the function, in seconds.
774
+ * (Streams and SQS standard queues) The maximum amount of time to gather records before invoking the function, in seconds.
775
775
  */
776
776
  MaximumBatchingWindowInSeconds?: MaximumBatchingWindowInSeconds;
777
777
  /**
@@ -803,7 +803,11 @@ declare namespace Lambda {
803
803
  */
804
804
  MaximumRetryAttempts?: MaximumRetryAttemptsEventSourceMapping;
805
805
  /**
806
- * (MSK) The name of the Kafka topic.
806
+ * (Streams) The duration of a processing window in seconds. The range is between 1 second up to 15 minutes.
807
+ */
808
+ TumblingWindowInSeconds?: TumblingWindowInSeconds;
809
+ /**
810
+ * The name of the Kafka topic.
807
811
  */
808
812
  Topics?: Topics;
809
813
  /**
@@ -811,9 +815,17 @@ declare namespace Lambda {
811
815
  */
812
816
  Queues?: Queues;
813
817
  /**
814
- * (MQ) The Secrets Manager secret that stores your broker credentials. To store your secret, use the following format: { "username": "your username", "password": "your password" } To reference the secret, use the following format: [ { "Type": "BASIC_AUTH", "URI": "secretARN" } ] The value of Type is always BASIC_AUTH. To encrypt the secret, you can use customer or service managed keys. When using a customer managed KMS key, the Lambda execution role requires kms:Decrypt permissions.
818
+ * An array of the authentication protocol, or the VPC components to secure your event source.
815
819
  */
816
820
  SourceAccessConfigurations?: SourceAccessConfigurations;
821
+ /**
822
+ * The Self-Managed Apache Kafka cluster to send records.
823
+ */
824
+ SelfManagedEventSource?: SelfManagedEventSource;
825
+ /**
826
+ * (Streams) A list of current response type enums applied to the event source mapping.
827
+ */
828
+ FunctionResponseTypes?: FunctionResponseTypeList;
817
829
  }
818
830
  export interface CreateFunctionRequest {
819
831
  /**
@@ -993,6 +1005,10 @@ declare namespace Lambda {
993
1005
  OnFailure?: OnFailure;
994
1006
  }
995
1007
  export type Enabled = boolean;
1008
+ export type EndPointType = "KAFKA_BOOTSTRAP_SERVERS"|string;
1009
+ export type Endpoint = string;
1010
+ export type EndpointLists = Endpoint[];
1011
+ export type Endpoints = {[key: string]: EndpointLists};
996
1012
  export interface Environment {
997
1013
  /**
998
1014
  * Environment variable key-value pairs.
@@ -1040,7 +1056,7 @@ declare namespace Lambda {
1040
1056
  */
1041
1057
  BatchSize?: BatchSize;
1042
1058
  /**
1043
- * (Streams) The maximum amount of time to gather records before invoking the function, in seconds. The default value is zero.
1059
+ * (Streams and SQS standard queues) The maximum amount of time to gather records before invoking the function, in seconds. The default value is zero.
1044
1060
  */
1045
1061
  MaximumBatchingWindowInSeconds?: MaximumBatchingWindowInSeconds;
1046
1062
  /**
@@ -1076,7 +1092,7 @@ declare namespace Lambda {
1076
1092
  */
1077
1093
  DestinationConfig?: DestinationConfig;
1078
1094
  /**
1079
- * (MSK) The name of the Kafka topic to consume.
1095
+ * The name of the Kafka topic.
1080
1096
  */
1081
1097
  Topics?: Topics;
1082
1098
  /**
@@ -1084,9 +1100,13 @@ declare namespace Lambda {
1084
1100
  */
1085
1101
  Queues?: Queues;
1086
1102
  /**
1087
- * (MQ) The Secrets Manager secret that stores your broker credentials. To store your secret, use the following format: { "username": "your username", "password": "your password" } To reference the secret, use the following format: [ { "Type": "BASIC_AUTH", "URI": "secretARN" } ] The value of Type is always BASIC_AUTH. To encrypt the secret, you can use customer or service managed keys. When using a customer managed KMS key, the Lambda execution role requires kms:Decrypt permissions.
1103
+ * An array of the authentication protocol, or the VPC components to secure your event source.
1088
1104
  */
1089
1105
  SourceAccessConfigurations?: SourceAccessConfigurations;
1106
+ /**
1107
+ * The Self-Managed Apache Kafka cluster for your event source.
1108
+ */
1109
+ SelfManagedEventSource?: SelfManagedEventSource;
1090
1110
  /**
1091
1111
  * (Streams) Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.
1092
1112
  */
@@ -1099,6 +1119,14 @@ declare namespace Lambda {
1099
1119
  * (Streams) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.
1100
1120
  */
1101
1121
  MaximumRetryAttempts?: MaximumRetryAttemptsEventSourceMapping;
1122
+ /**
1123
+ * (Streams) The duration of a processing window in seconds. The range is between 1 second up to 15 minutes.
1124
+ */
1125
+ TumblingWindowInSeconds?: TumblingWindowInSeconds;
1126
+ /**
1127
+ * (Streams) A list of current response type enums applied to the event source mapping.
1128
+ */
1129
+ FunctionResponseTypes?: FunctionResponseTypeList;
1102
1130
  }
1103
1131
  export type EventSourceMappingsList = EventSourceMappingConfiguration[];
1104
1132
  export type EventSourcePosition = "TRIM_HORIZON"|"LATEST"|"AT_TIMESTAMP"|string;
@@ -1308,6 +1336,8 @@ declare namespace Lambda {
1308
1336
  export type FunctionEventInvokeConfigList = FunctionEventInvokeConfig[];
1309
1337
  export type FunctionList = FunctionConfiguration[];
1310
1338
  export type FunctionName = string;
1339
+ export type FunctionResponseType = "ReportBatchItemFailures"|string;
1340
+ export type FunctionResponseTypeList = FunctionResponseType[];
1311
1341
  export type FunctionVersion = "ALL"|string;
1312
1342
  export interface GetAccountSettingsRequest {
1313
1343
  }
@@ -2311,20 +2341,26 @@ declare namespace Lambda {
2311
2341
  export type S3ObjectVersion = string;
2312
2342
  export type SecurityGroupId = string;
2313
2343
  export type SecurityGroupIds = SecurityGroupId[];
2344
+ export interface SelfManagedEventSource {
2345
+ /**
2346
+ * The list of bootstrap servers for your Kafka brokers in the following format: "KAFKA_BOOTSTRAP_SERVERS": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"].
2347
+ */
2348
+ Endpoints?: Endpoints;
2349
+ }
2314
2350
  export type SensitiveString = string;
2315
2351
  export type SigningProfileVersionArns = Arn[];
2316
2352
  export interface SourceAccessConfiguration {
2317
2353
  /**
2318
- * To reference the secret, use the following format: [ { "Type": "BASIC_AUTH", "URI": "secretARN" } ] The value of Type is always BASIC_AUTH. To encrypt the secret, you can use customer or service managed keys. When using a customer managed KMS key, the Lambda execution role requires kms:Decrypt permissions.
2354
+ * The type of authentication protocol or the VPC components for your event source. For example: "Type":"SASL_SCRAM_512_AUTH". BASIC_AUTH - (MQ) The Secrets Manager secret that stores your broker credentials. VPC_SUBNET - The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your Kafka cluster. VPC_SECURITY_GROUP - The VPC security group used to manage access to your Kafka brokers. SASL_SCRAM_256_AUTH - The ARN of your secret key used for SASL SCRAM-256 authentication of your Kafka brokers. SASL_SCRAM_512_AUTH - The ARN of your secret key used for SASL SCRAM-512 authentication of your Kafka brokers.
2319
2355
  */
2320
2356
  Type?: SourceAccessType;
2321
2357
  /**
2322
- * To reference the secret, use the following format: [ { "Type": "BASIC_AUTH", "URI": "secretARN" } ] The value of Type is always BASIC_AUTH. To encrypt the secret, you can use customer or service managed keys. When using a customer managed KMS key, the Lambda execution role requires kms:Decrypt permissions.
2358
+ * The value for your chosen configuration in Type. For example: "URI": "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName".
2323
2359
  */
2324
- URI?: Arn;
2360
+ URI?: URI;
2325
2361
  }
2326
2362
  export type SourceAccessConfigurations = SourceAccessConfiguration[];
2327
- export type SourceAccessType = "BASIC_AUTH"|string;
2363
+ export type SourceAccessType = "BASIC_AUTH"|"VPC_SUBNET"|"VPC_SECURITY_GROUP"|"SASL_SCRAM_512_AUTH"|"SASL_SCRAM_256_AUTH"|string;
2328
2364
  export type SourceOwner = string;
2329
2365
  export type State = "Pending"|"Active"|"Inactive"|"Failed"|string;
2330
2366
  export type StateReason = string;
@@ -2365,6 +2401,8 @@ declare namespace Lambda {
2365
2401
  Mode?: TracingMode;
2366
2402
  }
2367
2403
  export type TracingMode = "Active"|"PassThrough"|string;
2404
+ export type TumblingWindowInSeconds = number;
2405
+ export type URI = string;
2368
2406
  export type UnreservedConcurrentExecutions = number;
2369
2407
  export interface UntagResourceRequest {
2370
2408
  /**
@@ -2440,11 +2478,11 @@ declare namespace Lambda {
2440
2478
  */
2441
2479
  Enabled?: Enabled;
2442
2480
  /**
2443
- * The maximum number of items to retrieve in a single batch. Amazon Kinesis - Default 100. Max 10,000. Amazon DynamoDB Streams - Default 100. Max 1,000. Amazon Simple Queue Service - Default 10. Max 10. Amazon Managed Streaming for Apache Kafka - Default 100. Max 10,000.
2481
+ * The maximum number of items to retrieve in a single batch. Amazon Kinesis - Default 100. Max 10,000. Amazon DynamoDB Streams - Default 100. Max 1,000. Amazon Simple Queue Service - Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10. Amazon Managed Streaming for Apache Kafka - Default 100. Max 10,000. Self-Managed Apache Kafka - Default 100. Max 10,000.
2444
2482
  */
2445
2483
  BatchSize?: BatchSize;
2446
2484
  /**
2447
- * (Streams) The maximum amount of time to gather records before invoking the function, in seconds.
2485
+ * (Streams and SQS standard queues) The maximum amount of time to gather records before invoking the function, in seconds.
2448
2486
  */
2449
2487
  MaximumBatchingWindowInSeconds?: MaximumBatchingWindowInSeconds;
2450
2488
  /**
@@ -2468,9 +2506,17 @@ declare namespace Lambda {
2468
2506
  */
2469
2507
  ParallelizationFactor?: ParallelizationFactor;
2470
2508
  /**
2471
- * (MQ) The Secrets Manager secret that stores your broker credentials. To store your secret, use the following format: { "username": "your username", "password": "your password" } To reference the secret, use the following format: [ { "Type": "BASIC_AUTH", "URI": "secretARN" } ] The value of Type is always BASIC_AUTH. To encrypt the secret, you can use customer or service managed keys. When using a customer managed KMS key, the Lambda execution role requires kms:Decrypt permissions.
2509
+ * An array of the authentication protocol, or the VPC components to secure your event source.
2472
2510
  */
2473
2511
  SourceAccessConfigurations?: SourceAccessConfigurations;
2512
+ /**
2513
+ * (Streams) The duration of a processing window in seconds. The range is between 1 second up to 15 minutes.
2514
+ */
2515
+ TumblingWindowInSeconds?: TumblingWindowInSeconds;
2516
+ /**
2517
+ * (Streams) A list of current response type enums applied to the event source mapping.
2518
+ */
2519
+ FunctionResponseTypes?: FunctionResponseTypeList;
2474
2520
  }
2475
2521
  export interface UpdateFunctionCodeRequest {
2476
2522
  /**