aws-sdk 2.583.0 → 2.587.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 (59) hide show
  1. package/CHANGELOG.md +26 -1
  2. package/README.md +1 -1
  3. package/apis/apigatewayv2-2018-11-29.min.json +632 -201
  4. package/apis/ebs-2019-11-02.examples.json +5 -0
  5. package/apis/ebs-2019-11-02.min.json +195 -0
  6. package/apis/ebs-2019-11-02.paginators.json +14 -0
  7. package/apis/kafka-2018-11-14.min.json +170 -34
  8. package/apis/kendra-2019-02-03.min.json +2 -1
  9. package/apis/kinesis-video-signaling-2019-12-04.examples.json +5 -0
  10. package/apis/kinesis-video-signaling-2019-12-04.min.json +79 -0
  11. package/apis/kinesis-video-signaling-2019-12-04.paginators.json +4 -0
  12. package/apis/kinesisvideo-2017-09-30.min.json +281 -8
  13. package/apis/kinesisvideo-2017-09-30.paginators.json +6 -0
  14. package/apis/lambda-2015-03-31.min.json +217 -25
  15. package/apis/lambda-2015-03-31.paginators.json +6 -0
  16. package/apis/metadata.json +8 -0
  17. package/apis/rds-2014-10-31.min.json +495 -101
  18. package/apis/rds-2014-10-31.paginators.json +18 -0
  19. package/apis/rekognition-2016-06-27.min.json +409 -85
  20. package/apis/rekognition-2016-06-27.paginators.json +12 -0
  21. package/apis/rekognition-2016-06-27.waiters2.json +45 -0
  22. package/apis/sagemaker-2017-07-24.min.json +3471 -472
  23. package/apis/sagemaker-2017-07-24.paginators.json +128 -16
  24. package/apis/sagemaker-2017-07-24.waiters2.json +30 -0
  25. package/apis/ssm-2014-11-06.min.json +94 -71
  26. package/apis/states-2016-11-23.min.json +92 -55
  27. package/clients/all.d.ts +2 -0
  28. package/clients/all.js +3 -1
  29. package/clients/apigatewayv2.d.ts +856 -1161
  30. package/clients/applicationautoscaling.d.ts +32 -32
  31. package/clients/browser_default.d.ts +1 -0
  32. package/clients/browser_default.js +2 -1
  33. package/clients/ebs.d.ts +211 -0
  34. package/clients/ebs.js +18 -0
  35. package/clients/kafka.d.ts +152 -0
  36. package/clients/kendra.d.ts +7 -3
  37. package/clients/kinesisvideo.d.ts +312 -1
  38. package/clients/kinesisvideosignalingchannels.d.ts +121 -0
  39. package/clients/kinesisvideosignalingchannels.js +18 -0
  40. package/clients/kms.d.ts +6 -6
  41. package/clients/lambda.d.ts +199 -2
  42. package/clients/quicksight.d.ts +223 -223
  43. package/clients/rds.d.ts +549 -0
  44. package/clients/rekognition.d.ts +423 -8
  45. package/clients/rekognition.js +1 -0
  46. package/clients/sagemaker.d.ts +4588 -610
  47. package/clients/ssm.d.ts +42 -6
  48. package/clients/stepfunctions.d.ts +54 -0
  49. package/dist/aws-sdk-core-react-native.js +2 -2
  50. package/dist/aws-sdk-react-native.js +1182 -1102
  51. package/dist/aws-sdk.js +2265 -859
  52. package/dist/aws-sdk.min.js +35 -35
  53. package/lib/config.d.ts +12 -0
  54. package/lib/config_service_placeholders.d.ts +4 -0
  55. package/lib/core.js +1 -1
  56. package/lib/services/s3.js +5 -4
  57. package/lib/services/sts.js +2 -4
  58. package/package.json +1 -1
  59. package/scripts/region-checker/whitelist.js +5 -5
@@ -0,0 +1,211 @@
1
+ import {Request} from '../lib/request';
2
+ import {Response} from '../lib/response';
3
+ import {AWSError} from '../lib/error';
4
+ import {Service} from '../lib/service';
5
+ import {ServiceConfigurationOptions} from '../lib/service';
6
+ import {ConfigBase as Config} from '../lib/config';
7
+ import {Readable} from 'stream';
8
+ interface Blob {}
9
+ declare class EBS extends Service {
10
+ /**
11
+ * Constructs a service object. This object has one method for each API operation.
12
+ */
13
+ constructor(options?: EBS.Types.ClientConfiguration)
14
+ config: Config & EBS.Types.ClientConfiguration;
15
+ /**
16
+ * Returns the data in a block in an Amazon Elastic Block Store snapshot.
17
+ */
18
+ getSnapshotBlock(params: EBS.Types.GetSnapshotBlockRequest, callback?: (err: AWSError, data: EBS.Types.GetSnapshotBlockResponse) => void): Request<EBS.Types.GetSnapshotBlockResponse, AWSError>;
19
+ /**
20
+ * Returns the data in a block in an Amazon Elastic Block Store snapshot.
21
+ */
22
+ getSnapshotBlock(callback?: (err: AWSError, data: EBS.Types.GetSnapshotBlockResponse) => void): Request<EBS.Types.GetSnapshotBlockResponse, AWSError>;
23
+ /**
24
+ * Returns the block indexes and block tokens for blocks that are different between two Amazon Elastic Block Store snapshots of the same volume/snapshot lineage.
25
+ */
26
+ listChangedBlocks(params: EBS.Types.ListChangedBlocksRequest, callback?: (err: AWSError, data: EBS.Types.ListChangedBlocksResponse) => void): Request<EBS.Types.ListChangedBlocksResponse, AWSError>;
27
+ /**
28
+ * Returns the block indexes and block tokens for blocks that are different between two Amazon Elastic Block Store snapshots of the same volume/snapshot lineage.
29
+ */
30
+ listChangedBlocks(callback?: (err: AWSError, data: EBS.Types.ListChangedBlocksResponse) => void): Request<EBS.Types.ListChangedBlocksResponse, AWSError>;
31
+ /**
32
+ * Returns the block indexes and block tokens for blocks in an Amazon Elastic Block Store snapshot.
33
+ */
34
+ listSnapshotBlocks(params: EBS.Types.ListSnapshotBlocksRequest, callback?: (err: AWSError, data: EBS.Types.ListSnapshotBlocksResponse) => void): Request<EBS.Types.ListSnapshotBlocksResponse, AWSError>;
35
+ /**
36
+ * Returns the block indexes and block tokens for blocks in an Amazon Elastic Block Store snapshot.
37
+ */
38
+ listSnapshotBlocks(callback?: (err: AWSError, data: EBS.Types.ListSnapshotBlocksResponse) => void): Request<EBS.Types.ListSnapshotBlocksResponse, AWSError>;
39
+ }
40
+ declare namespace EBS {
41
+ export interface Block {
42
+ /**
43
+ * The block index.
44
+ */
45
+ BlockIndex?: BlockIndex;
46
+ /**
47
+ * The block token for the block index.
48
+ */
49
+ BlockToken?: BlockToken;
50
+ }
51
+ export type BlockData = Buffer|Uint8Array|Blob|string|Readable;
52
+ export type BlockIndex = number;
53
+ export type BlockSize = number;
54
+ export type BlockToken = string;
55
+ export type Blocks = Block[];
56
+ export interface ChangedBlock {
57
+ /**
58
+ * The block index.
59
+ */
60
+ BlockIndex?: BlockIndex;
61
+ /**
62
+ * The block token for the block index of the first snapshot ID specified in the list changed blocks operation. This value is absent if the first snapshot does not have the changed block that is on the second snapshot.
63
+ */
64
+ FirstBlockToken?: BlockToken;
65
+ /**
66
+ * The block token for the block index of the second snapshot ID specified in the list changed blocks operation.
67
+ */
68
+ SecondBlockToken?: BlockToken;
69
+ }
70
+ export type ChangedBlocks = ChangedBlock[];
71
+ export type Checksum = string;
72
+ export type ChecksumAlgorithm = "SHA256"|string;
73
+ export type DataLength = number;
74
+ export interface GetSnapshotBlockRequest {
75
+ /**
76
+ * The ID of the snapshot containing the block from which to get data.
77
+ */
78
+ SnapshotId: SnapshotId;
79
+ /**
80
+ * The block index of the block from which to get data. Obtain the block index by running the list changed blocks or list snapshot blocks operations.
81
+ */
82
+ BlockIndex: BlockIndex;
83
+ /**
84
+ * The block token of the block from which to get data. Obtain the block token by running the list changed blocks or list snapshot blocks operations.
85
+ */
86
+ BlockToken: BlockToken;
87
+ }
88
+ export interface GetSnapshotBlockResponse {
89
+ /**
90
+ * The size of the data in the block.
91
+ */
92
+ DataLength?: DataLength;
93
+ /**
94
+ * The data content of the block.
95
+ */
96
+ BlockData?: BlockData;
97
+ /**
98
+ * The checksum generated for the block.
99
+ */
100
+ Checksum?: Checksum;
101
+ /**
102
+ * The algorithm used to generate the checksum for the block, such as SHA256.
103
+ */
104
+ ChecksumAlgorithm?: ChecksumAlgorithm;
105
+ }
106
+ export interface ListChangedBlocksRequest {
107
+ /**
108
+ * The ID of the first snapshot to use for the comparison.
109
+ */
110
+ FirstSnapshotId?: SnapshotId;
111
+ /**
112
+ * The ID of the second snapshot to use for the comparison.
113
+ */
114
+ SecondSnapshotId: SnapshotId;
115
+ /**
116
+ * The token to request the next page of results.
117
+ */
118
+ NextToken?: PageToken;
119
+ /**
120
+ * The number of results to return.
121
+ */
122
+ MaxResults?: MaxResults;
123
+ /**
124
+ * The block index from which the comparison should start. The list in the response will start from this block index or the next valid block index in the snapshots.
125
+ */
126
+ StartingBlockIndex?: BlockIndex;
127
+ }
128
+ export interface ListChangedBlocksResponse {
129
+ /**
130
+ * An array of objects containing information about the changed blocks.
131
+ */
132
+ ChangedBlocks?: ChangedBlocks;
133
+ /**
134
+ * The time when the block token expires.
135
+ */
136
+ ExpiryTime?: TimeStamp;
137
+ /**
138
+ * The size of the volume in GB.
139
+ */
140
+ VolumeSize?: VolumeSize;
141
+ /**
142
+ * The size of the block.
143
+ */
144
+ BlockSize?: BlockSize;
145
+ /**
146
+ * The token to use to retrieve the next page of results. This value is null when there are no more results to return.
147
+ */
148
+ NextToken?: PageToken;
149
+ }
150
+ export interface ListSnapshotBlocksRequest {
151
+ /**
152
+ * The ID of the snapshot from which to get block indexes and block tokens.
153
+ */
154
+ SnapshotId: SnapshotId;
155
+ /**
156
+ * The token to request the next page of results.
157
+ */
158
+ NextToken?: PageToken;
159
+ /**
160
+ * The number of results to return.
161
+ */
162
+ MaxResults?: MaxResults;
163
+ /**
164
+ * The block index from which the list should start. The list in the response will start from this block index or the next valid block index in the snapshot.
165
+ */
166
+ StartingBlockIndex?: BlockIndex;
167
+ }
168
+ export interface ListSnapshotBlocksResponse {
169
+ /**
170
+ * An array of objects containing information about the blocks.
171
+ */
172
+ Blocks?: Blocks;
173
+ /**
174
+ * The time when the block token expires.
175
+ */
176
+ ExpiryTime?: TimeStamp;
177
+ /**
178
+ * The size of the volume in GB.
179
+ */
180
+ VolumeSize?: VolumeSize;
181
+ /**
182
+ * The size of the block.
183
+ */
184
+ BlockSize?: BlockSize;
185
+ /**
186
+ * The token to use to retrieve the next page of results. This value is null when there are no more results to return.
187
+ */
188
+ NextToken?: PageToken;
189
+ }
190
+ export type MaxResults = number;
191
+ export type PageToken = string;
192
+ export type SnapshotId = string;
193
+ export type TimeStamp = Date;
194
+ export type VolumeSize = number;
195
+ /**
196
+ * 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.
197
+ */
198
+ export type apiVersion = "2019-11-02"|"latest"|string;
199
+ export interface ClientApiVersions {
200
+ /**
201
+ * 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.
202
+ */
203
+ apiVersion?: apiVersion;
204
+ }
205
+ export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
206
+ /**
207
+ * Contains interfaces for use with the EBS client.
208
+ */
209
+ export import Types = EBS;
210
+ }
211
+ export = EBS;
package/clients/ebs.js ADDED
@@ -0,0 +1,18 @@
1
+ require('../lib/node_loader');
2
+ var AWS = require('../lib/core');
3
+ var Service = AWS.Service;
4
+ var apiLoader = AWS.apiLoader;
5
+
6
+ apiLoader.services['ebs'] = {};
7
+ AWS.EBS = Service.defineService('ebs', ['2019-11-02']);
8
+ Object.defineProperty(apiLoader.services['ebs'], '2019-11-02', {
9
+ get: function get() {
10
+ var model = require('../apis/ebs-2019-11-02.min.json');
11
+ model.paginators = require('../apis/ebs-2019-11-02.paginators.json').pagination;
12
+ return model;
13
+ },
14
+ enumerable: true,
15
+ configurable: true
16
+ });
17
+
18
+ module.exports = AWS.EBS;
@@ -239,6 +239,18 @@ declare class Kafka extends Service {
239
239
 
240
240
  */
241
241
  updateClusterConfiguration(callback?: (err: AWSError, data: Kafka.Types.UpdateClusterConfigurationResponse) => void): Request<Kafka.Types.UpdateClusterConfigurationResponse, AWSError>;
242
+ /**
243
+ *
244
+ Updates the monitoring settings for the cluster. You can use this operation to specify which Apache Kafka metrics you want Amazon MSK to send to Amazon CloudWatch. You can also specify settings for open monitoring with Prometheus.
245
+
246
+ */
247
+ updateMonitoring(params: Kafka.Types.UpdateMonitoringRequest, callback?: (err: AWSError, data: Kafka.Types.UpdateMonitoringResponse) => void): Request<Kafka.Types.UpdateMonitoringResponse, AWSError>;
248
+ /**
249
+ *
250
+ Updates the monitoring settings for the cluster. You can use this operation to specify which Apache Kafka metrics you want Amazon MSK to send to Amazon CloudWatch. You can also specify settings for open monitoring with Prometheus.
251
+
252
+ */
253
+ updateMonitoring(callback?: (err: AWSError, data: Kafka.Types.UpdateMonitoringResponse) => void): Request<Kafka.Types.UpdateMonitoringResponse, AWSError>;
242
254
  }
243
255
  declare namespace Kafka {
244
256
  export type BrokerAZDistribution = "DEFAULT"|string;
@@ -418,6 +430,12 @@ kafka.m5.4xlarge, kafka.m5.12xlarge, and kafka.m5.24xlarge.
418
430
 
419
431
  */
420
432
  EnhancedMonitoring?: EnhancedMonitoring;
433
+ /**
434
+ *
435
+ Settings for open monitoring using Prometheus.
436
+
437
+ */
438
+ OpenMonitoring?: OpenMonitoring;
421
439
  /**
422
440
  *
423
441
  The number of broker nodes in the cluster.
@@ -615,6 +633,12 @@ kafka.m5.4xlarge, kafka.m5.12xlarge, and kafka.m5.24xlarge.
615
633
 
616
634
  */
617
635
  EnhancedMonitoring?: EnhancedMonitoring;
636
+ /**
637
+ *
638
+ The settings for open monitoring.
639
+
640
+ */
641
+ OpenMonitoring?: OpenMonitoringInfo;
618
642
  /**
619
643
  *
620
644
  The version of Apache Kafka.
@@ -1157,6 +1181,94 @@ kafka.m5.4xlarge, kafka.m5.12xlarge, and kafka.m5.24xlarge.
1157
1181
 
1158
1182
  */
1159
1183
  NumberOfBrokerNodes?: __integer;
1184
+ /**
1185
+ *
1186
+ Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.
1187
+
1188
+ */
1189
+ EnhancedMonitoring?: EnhancedMonitoring;
1190
+ /**
1191
+ *
1192
+ The settings for open monitoring.
1193
+
1194
+ */
1195
+ OpenMonitoring?: OpenMonitoring;
1196
+ }
1197
+ export interface NodeExporter {
1198
+ /**
1199
+ *
1200
+ Indicates whether you want to enable or disable the Node Exporter.
1201
+
1202
+ */
1203
+ EnabledInBroker: __boolean;
1204
+ }
1205
+ export interface NodeExporterInfo {
1206
+ /**
1207
+ *
1208
+ Indicates whether you want to enable or disable the Node Exporter.
1209
+
1210
+ */
1211
+ EnabledInBroker: __boolean;
1212
+ }
1213
+ export interface JmxExporter {
1214
+ /**
1215
+ *
1216
+ Indicates whether you want to enable or disable the JMX Exporter.
1217
+
1218
+ */
1219
+ EnabledInBroker: __boolean;
1220
+ }
1221
+ export interface JmxExporterInfo {
1222
+ /**
1223
+ *
1224
+ Indicates whether you want to enable or disable the JMX Exporter.
1225
+
1226
+ */
1227
+ EnabledInBroker: __boolean;
1228
+ }
1229
+ export interface OpenMonitoring {
1230
+ /**
1231
+ *
1232
+ Prometheus settings.
1233
+
1234
+ */
1235
+ Prometheus: Prometheus;
1236
+ }
1237
+ export interface OpenMonitoringInfo {
1238
+ /**
1239
+ *
1240
+ Prometheus settings.
1241
+
1242
+ */
1243
+ Prometheus: PrometheusInfo;
1244
+ }
1245
+ export interface Prometheus {
1246
+ /**
1247
+ *
1248
+ Indicates whether you want to enable or disable the JMX Exporter.
1249
+
1250
+ */
1251
+ JmxExporter?: JmxExporter;
1252
+ /**
1253
+ *
1254
+ Indicates whether you want to enable or disable the Node Exporter.
1255
+
1256
+ */
1257
+ NodeExporter?: NodeExporter;
1258
+ }
1259
+ export interface PrometheusInfo {
1260
+ /**
1261
+ *
1262
+ Indicates whether you want to enable or disable the JMX Exporter.
1263
+
1264
+ */
1265
+ JmxExporter?: JmxExporterInfo;
1266
+ /**
1267
+ *
1268
+ Indicates whether you want to enable or disable the Node Exporter.
1269
+
1270
+ */
1271
+ NodeExporter?: NodeExporterInfo;
1160
1272
  }
1161
1273
  export interface NodeInfo {
1162
1274
  /**
@@ -1362,6 +1474,46 @@ kafka.m5.4xlarge, kafka.m5.12xlarge, and kafka.m5.24xlarge.
1362
1474
  */
1363
1475
  ClusterOperationArn?: __string;
1364
1476
  }
1477
+ export interface UpdateMonitoringRequest {
1478
+ /**
1479
+ *
1480
+ The Amazon Resource Name (ARN) that uniquely identifies the cluster.
1481
+
1482
+ */
1483
+ ClusterArn: __string;
1484
+ /**
1485
+ *
1486
+ The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.
1487
+
1488
+ */
1489
+ CurrentVersion: __string;
1490
+ /**
1491
+ *
1492
+ Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.
1493
+
1494
+ */
1495
+ EnhancedMonitoring?: EnhancedMonitoring;
1496
+ /**
1497
+ *
1498
+ The settings for open monitoring.
1499
+
1500
+ */
1501
+ OpenMonitoring?: OpenMonitoringInfo;
1502
+ }
1503
+ export interface UpdateMonitoringResponse {
1504
+ /**
1505
+ *
1506
+ The Amazon Resource Name (ARN) of the cluster.
1507
+
1508
+ */
1509
+ ClusterArn?: __string;
1510
+ /**
1511
+ *
1512
+ The Amazon Resource Name (ARN) of the cluster operation.
1513
+
1514
+ */
1515
+ ClusterOperationArn?: __string;
1516
+ }
1365
1517
  export interface ZookeeperNodeInfo {
1366
1518
  /**
1367
1519
  *
@@ -450,7 +450,7 @@ declare namespace Kendra {
450
450
  */
451
451
  RoleArn: RoleArn;
452
452
  /**
453
- * The identifier of the KMS key to use to encrypt data indexed by Amazon Kendra.
453
+ * The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support asymmetric CMKs.
454
454
  */
455
455
  ServerSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
456
456
  /**
@@ -738,7 +738,7 @@ declare namespace Kendra {
738
738
  */
739
739
  RoleArn?: RoleArn;
740
740
  /**
741
- * The identifier of the KMS key used to encrypt your data.
741
+ * The identifier of the AWS KMS customer master key (CMK) used to encrypt your data. Amazon Kendra doesn't support asymmetric CMKs.
742
742
  */
743
743
  ServerSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
744
744
  /**
@@ -1288,7 +1288,7 @@ declare namespace Kendra {
1288
1288
  export type SecurityGroupIdList = VpcSecurityGroupId[];
1289
1289
  export interface ServerSideEncryptionConfiguration {
1290
1290
  /**
1291
- * The identifier of the KMS key.
1291
+ * The identifier of the AWS KMS customer master key (CMK). Amazon Kendra doesn't support asymmetric CMKs.
1292
1292
  */
1293
1293
  KmsKeyId?: KmsKeyId;
1294
1294
  }
@@ -1314,6 +1314,10 @@ declare namespace Kendra {
1314
1314
  * A list of DataSourceToIndexFieldMapping objects that map Microsoft SharePoint attributes to custom fields in the Amazon Kendra index. You must first create the index fields using the operation before you map SharePoint attributes. For more information, see Mapping Data Source Fields.
1315
1315
  */
1316
1316
  FieldMappings?: DataSourceToIndexFieldMappingList;
1317
+ /**
1318
+ * The Microsoft SharePoint attribute field that contains the title of the document.
1319
+ */
1320
+ DocumentTitleFieldName?: DataSourceFieldName;
1317
1321
  }
1318
1322
  export type SharePointUrlList = Url[];
1319
1323
  export type SharePointVersion = "SHAREPOINT_ONLINE"|string;