cdk-lambda-subminute 2.0.269 → 2.0.271

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 (45) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/CHANGELOG.md +22 -1
  4. package/node_modules/aws-sdk/README.md +1 -1
  5. package/node_modules/aws-sdk/apis/drs-2020-02-26.min.json +28 -6
  6. package/node_modules/aws-sdk/apis/ecs-2014-11-13.examples.json +24 -24
  7. package/node_modules/aws-sdk/apis/entityresolution-2018-05-10.min.json +721 -79
  8. package/node_modules/aws-sdk/apis/entityresolution-2018-05-10.paginators.json +18 -0
  9. package/node_modules/aws-sdk/apis/globalaccelerator-2018-08-08.paginators.json +2 -1
  10. package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +3 -0
  11. package/node_modules/aws-sdk/apis/kafka-2018-11-14.min.json +571 -38
  12. package/node_modules/aws-sdk/apis/kafka-2018-11-14.paginators.json +6 -0
  13. package/node_modules/aws-sdk/apis/managedblockchain-query-2023-05-04.min.json +111 -0
  14. package/node_modules/aws-sdk/apis/managedblockchain-query-2023-05-04.paginators.json +6 -0
  15. package/node_modules/aws-sdk/apis/opensearch-2021-01-01.min.json +78 -59
  16. package/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +205 -184
  17. package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.min.json +34 -18
  18. package/node_modules/aws-sdk/apis/route53-recovery-cluster-2019-12-02.min.json +5 -4
  19. package/node_modules/aws-sdk/apis/route53-recovery-control-config-2020-11-02.min.json +67 -37
  20. package/node_modules/aws-sdk/apis/sesv2-2019-09-27.min.json +40 -18
  21. package/node_modules/aws-sdk/clients/cloudformation.d.ts +1 -1
  22. package/node_modules/aws-sdk/clients/codepipeline.d.ts +4 -4
  23. package/node_modules/aws-sdk/clients/drs.d.ts +27 -1
  24. package/node_modules/aws-sdk/clients/ecs.d.ts +3 -3
  25. package/node_modules/aws-sdk/clients/entityresolution.d.ts +650 -12
  26. package/node_modules/aws-sdk/clients/guardduty.d.ts +5 -1
  27. package/node_modules/aws-sdk/clients/kafka.d.ts +467 -0
  28. package/node_modules/aws-sdk/clients/managedblockchainquery.d.ts +125 -9
  29. package/node_modules/aws-sdk/clients/mediapackagev2.d.ts +13 -13
  30. package/node_modules/aws-sdk/clients/opensearch.d.ts +46 -6
  31. package/node_modules/aws-sdk/clients/redshift.d.ts +47 -7
  32. package/node_modules/aws-sdk/clients/redshiftserverless.d.ts +42 -2
  33. package/node_modules/aws-sdk/clients/route53recoverycluster.d.ts +16 -11
  34. package/node_modules/aws-sdk/clients/route53recoverycontrolconfig.d.ts +42 -0
  35. package/node_modules/aws-sdk/clients/sesv2.d.ts +43 -3
  36. package/node_modules/aws-sdk/clients/transfer.d.ts +8 -8
  37. package/node_modules/aws-sdk/clients/xray.d.ts +2 -2
  38. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +45 -13
  39. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +104 -40
  40. package/node_modules/aws-sdk/dist/aws-sdk.js +208 -187
  41. package/node_modules/aws-sdk/dist/aws-sdk.min.js +28 -28
  42. package/node_modules/aws-sdk/lib/core.js +1 -1
  43. package/node_modules/aws-sdk/lib/s3/managed_upload.d.ts +1 -1
  44. package/node_modules/aws-sdk/package.json +1 -1
  45. package/package.json +4 -4
@@ -12,13 +12,21 @@ declare class ManagedBlockchainQuery extends Service {
12
12
  constructor(options?: ManagedBlockchainQuery.Types.ClientConfiguration)
13
13
  config: Config & ManagedBlockchainQuery.Types.ClientConfiguration;
14
14
  /**
15
- * Gets the token balance for a batch of tokens by using the GetTokenBalance action for every token in the request. Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
15
+ * Gets the token balance for a batch of tokens by using the BatchGetTokenBalance action for every token in the request. Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
16
16
  */
17
17
  batchGetTokenBalance(params: ManagedBlockchainQuery.Types.BatchGetTokenBalanceInput, callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.BatchGetTokenBalanceOutput) => void): Request<ManagedBlockchainQuery.Types.BatchGetTokenBalanceOutput, AWSError>;
18
18
  /**
19
- * Gets the token balance for a batch of tokens by using the GetTokenBalance action for every token in the request. Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
19
+ * Gets the token balance for a batch of tokens by using the BatchGetTokenBalance action for every token in the request. Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
20
20
  */
21
21
  batchGetTokenBalance(callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.BatchGetTokenBalanceOutput) => void): Request<ManagedBlockchainQuery.Types.BatchGetTokenBalanceOutput, AWSError>;
22
+ /**
23
+ * Gets the information about a specific contract deployed on the blockchain. The Bitcoin blockchain networks do not support this operation. Metadata is currently only available for some ERC-20 contracts. Metadata will be available for additional contracts in the future.
24
+ */
25
+ getAssetContract(params: ManagedBlockchainQuery.Types.GetAssetContractInput, callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.GetAssetContractOutput) => void): Request<ManagedBlockchainQuery.Types.GetAssetContractOutput, AWSError>;
26
+ /**
27
+ * Gets the information about a specific contract deployed on the blockchain. The Bitcoin blockchain networks do not support this operation. Metadata is currently only available for some ERC-20 contracts. Metadata will be available for additional contracts in the future.
28
+ */
29
+ getAssetContract(callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.GetAssetContractOutput) => void): Request<ManagedBlockchainQuery.Types.GetAssetContractOutput, AWSError>;
22
30
  /**
23
31
  * Gets the balance of a specific token, including native tokens, for a given address (wallet or contract) on the blockchain. Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
24
32
  */
@@ -36,11 +44,19 @@ declare class ManagedBlockchainQuery extends Service {
36
44
  */
37
45
  getTransaction(callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.GetTransactionOutput) => void): Request<ManagedBlockchainQuery.Types.GetTransactionOutput, AWSError>;
38
46
  /**
39
- * This action returns the following for a given a blockchain network: Lists all token balances owned by an address (either a contact address or a wallet address). Lists all token balances for all tokens created by a contract. Lists all token balances for a given token. You must always specify the network property of the tokenFilter when using this operation.
47
+ * Lists all the contracts for a given contract type deployed by an address (either a contract address or a wallet address). The Bitcoin blockchain networks do not support this operation.
48
+ */
49
+ listAssetContracts(params: ManagedBlockchainQuery.Types.ListAssetContractsInput, callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.ListAssetContractsOutput) => void): Request<ManagedBlockchainQuery.Types.ListAssetContractsOutput, AWSError>;
50
+ /**
51
+ * Lists all the contracts for a given contract type deployed by an address (either a contract address or a wallet address). The Bitcoin blockchain networks do not support this operation.
52
+ */
53
+ listAssetContracts(callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.ListAssetContractsOutput) => void): Request<ManagedBlockchainQuery.Types.ListAssetContractsOutput, AWSError>;
54
+ /**
55
+ * This action returns the following for a given blockchain network: Lists all token balances owned by an address (either a contract address or a wallet address). Lists all token balances for all tokens created by a contract. Lists all token balances for a given token. You must always specify the network property of the tokenFilter when using this operation.
40
56
  */
41
57
  listTokenBalances(params: ManagedBlockchainQuery.Types.ListTokenBalancesInput, callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.ListTokenBalancesOutput) => void): Request<ManagedBlockchainQuery.Types.ListTokenBalancesOutput, AWSError>;
42
58
  /**
43
- * This action returns the following for a given a blockchain network: Lists all token balances owned by an address (either a contact address or a wallet address). Lists all token balances for all tokens created by a contract. Lists all token balances for a given token. You must always specify the network property of the tokenFilter when using this operation.
59
+ * This action returns the following for a given blockchain network: Lists all token balances owned by an address (either a contract address or a wallet address). Lists all token balances for all tokens created by a contract. Lists all token balances for a given token. You must always specify the network property of the tokenFilter when using this operation.
44
60
  */
45
61
  listTokenBalances(callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.ListTokenBalancesOutput) => void): Request<ManagedBlockchainQuery.Types.ListTokenBalancesOutput, AWSError>;
46
62
  /**
@@ -61,6 +77,21 @@ declare class ManagedBlockchainQuery extends Service {
61
77
  listTransactions(callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.ListTransactionsOutput) => void): Request<ManagedBlockchainQuery.Types.ListTransactionsOutput, AWSError>;
62
78
  }
63
79
  declare namespace ManagedBlockchainQuery {
80
+ export interface AssetContract {
81
+ /**
82
+ * The container for the contract identifier containing its blockchain network and address.
83
+ */
84
+ contractIdentifier: ContractIdentifier;
85
+ /**
86
+ * The token standard of the contract.
87
+ */
88
+ tokenStandard: QueryTokenStandard;
89
+ /**
90
+ * The address of the contract deployer.
91
+ */
92
+ deployerAddress: ChainAddress;
93
+ }
94
+ export type AssetContractList = AssetContract[];
64
95
  export interface BatchGetTokenBalanceErrorItem {
65
96
  tokenIdentifier?: TokenIdentifier;
66
97
  ownerIdentifier?: OwnerIdentifier;
@@ -81,7 +112,7 @@ declare namespace ManagedBlockchainQuery {
81
112
  export type BatchGetTokenBalanceErrors = BatchGetTokenBalanceErrorItem[];
82
113
  export interface BatchGetTokenBalanceInput {
83
114
  /**
84
- * An array of GetTokenBalanceInput objects whose balance is being requested.
115
+ * An array of BatchGetTokenBalanceInputItem objects whose balance is being requested.
85
116
  */
86
117
  getTokenBalanceInputs?: GetTokenBalanceInputList;
87
118
  }
@@ -119,7 +150,66 @@ declare namespace ManagedBlockchainQuery {
119
150
  time?: Timestamp;
120
151
  }
121
152
  export type ChainAddress = string;
153
+ export interface ContractFilter {
154
+ /**
155
+ * The blockchain network of the contract.
156
+ */
157
+ network: QueryNetwork;
158
+ /**
159
+ * The container for the token standard.
160
+ */
161
+ tokenStandard: QueryTokenStandard;
162
+ /**
163
+ * The network address of the deployer.
164
+ */
165
+ deployerAddress: ChainAddress;
166
+ }
167
+ export interface ContractIdentifier {
168
+ /**
169
+ * The blockchain network of the contract.
170
+ */
171
+ network: QueryNetwork;
172
+ /**
173
+ * Container for the blockchain address about a contract.
174
+ */
175
+ contractAddress: ChainAddress;
176
+ }
177
+ export interface ContractMetadata {
178
+ /**
179
+ * The name of the token contract.
180
+ */
181
+ name?: String;
182
+ /**
183
+ * The symbol of the token contract.
184
+ */
185
+ symbol?: String;
186
+ /**
187
+ * The decimals used by the token contract.
188
+ */
189
+ decimals?: Integer;
190
+ }
122
191
  export type ErrorType = "VALIDATION_EXCEPTION"|"RESOURCE_NOT_FOUND_EXCEPTION"|string;
192
+ export interface GetAssetContractInput {
193
+ /**
194
+ * Contains the blockchain address and network information about the contract.
195
+ */
196
+ contractIdentifier: ContractIdentifier;
197
+ }
198
+ export interface GetAssetContractOutput {
199
+ /**
200
+ * Contains the blockchain address and network information about the contract.
201
+ */
202
+ contractIdentifier: ContractIdentifier;
203
+ /**
204
+ * The token standard of the contract requested.
205
+ */
206
+ tokenStandard: QueryTokenStandard;
207
+ /**
208
+ * The address of the deployer of contract.
209
+ */
210
+ deployerAddress: ChainAddress;
211
+ metadata?: ContractMetadata;
212
+ }
123
213
  export interface GetTokenBalanceInput {
124
214
  /**
125
215
  * The container for the identifier for the token, including the unique token ID and its blockchain network.
@@ -162,6 +252,31 @@ declare namespace ManagedBlockchainQuery {
162
252
  transaction: Transaction;
163
253
  }
164
254
  export type Integer = number;
255
+ export interface ListAssetContractsInput {
256
+ /**
257
+ * Contains the filter parameter for the request.
258
+ */
259
+ contractFilter: ContractFilter;
260
+ /**
261
+ * The pagination token that indicates the next set of results to retrieve.
262
+ */
263
+ nextToken?: NextToken;
264
+ /**
265
+ * The maximum number of contracts to list.
266
+ */
267
+ maxResults?: ListAssetContractsInputMaxResultsInteger;
268
+ }
269
+ export type ListAssetContractsInputMaxResultsInteger = number;
270
+ export interface ListAssetContractsOutput {
271
+ /**
272
+ * An array of contract objects that contain the properties for each contract.
273
+ */
274
+ contracts: AssetContractList;
275
+ /**
276
+ * The pagination token that indicates the next set of results to retrieve.
277
+ */
278
+ nextToken?: NextToken;
279
+ }
165
280
  export interface ListTokenBalancesInput {
166
281
  /**
167
282
  * The contract or wallet address on the blockchain network by which to filter the request. You must specify the address property of the ownerFilter when listing balances of tokens owned by the address.
@@ -280,8 +395,9 @@ declare namespace ManagedBlockchainQuery {
280
395
  */
281
396
  address: ChainAddress;
282
397
  }
283
- export type QueryNetwork = "ETHEREUM_MAINNET"|"BITCOIN_MAINNET"|string;
398
+ export type QueryNetwork = "ETHEREUM_MAINNET"|"BITCOIN_MAINNET"|"BITCOIN_TESTNET"|string;
284
399
  export type QueryTokenId = string;
400
+ export type QueryTokenStandard = "ERC20"|"ERC721"|"ERC1155"|string;
285
401
  export type QueryTransactionEventType = "ERC20_TRANSFER"|"ERC20_MINT"|"ERC20_BURN"|"ERC20_DEPOSIT"|"ERC20_WITHDRAWAL"|"ERC721_TRANSFER"|"ERC1155_TRANSFER"|"BITCOIN_VIN"|"BITCOIN_VOUT"|"INTERNAL_ETH_TRANSFER"|"ETH_TRANSFER"|string;
286
402
  export type QueryTransactionHash = string;
287
403
  export type QueryTransactionStatus = "FINAL"|"FAILED"|string;
@@ -306,7 +422,7 @@ declare namespace ManagedBlockchainQuery {
306
422
  */
307
423
  atBlockchainInstant: BlockchainInstant;
308
424
  /**
309
- * The timestamp of the last transaction at which the balance for the token in the wallet was updated.
425
+ * The Timestamp of the last transaction at which the balance for the token in the wallet was updated.
310
426
  */
311
427
  lastUpdatedTime?: BlockchainInstant;
312
428
  }
@@ -335,13 +451,13 @@ declare namespace ManagedBlockchainQuery {
335
451
  */
336
452
  contractAddress?: ChainAddress;
337
453
  /**
338
- * The unique identifier of the token.
454
+ * The unique identifier of the token. You must specify this container with btc for the native BTC token, and eth for the native ETH token. For all other token types you must specify the tokenId in the 64 character hexadecimal tokenid format.
339
455
  */
340
456
  tokenId?: QueryTokenId;
341
457
  }
342
458
  export interface Transaction {
343
459
  /**
344
- * The blockchain network where the transaction occured.
460
+ * The blockchain network where the transaction occurred.
345
461
  */
346
462
  network: QueryNetwork;
347
463
  /**
@@ -227,7 +227,7 @@ declare namespace MediaPackageV2 {
227
227
  /**
228
228
  * Any descriptive information that you want to add to the channel group for future identification purposes.
229
229
  */
230
- Description?: String;
230
+ Description?: ResourceDescription;
231
231
  }
232
232
  export type ChannelGroupsList = ChannelGroupListConfiguration[];
233
233
  export type ChannelList = ChannelListConfiguration[];
@@ -255,7 +255,7 @@ declare namespace MediaPackageV2 {
255
255
  /**
256
256
  * Any descriptive information that you want to add to the channel for future identification purposes.
257
257
  */
258
- Description?: String;
258
+ Description?: ResourceDescription;
259
259
  }
260
260
  export type CmafEncryptionMethod = "CENC"|"CBCS"|string;
261
261
  export type ContainerType = "TS"|"CMAF"|string;
@@ -301,7 +301,7 @@ declare namespace MediaPackageV2 {
301
301
  /**
302
302
  * The description for your channel group.
303
303
  */
304
- Description?: String;
304
+ Description?: ResourceDescription;
305
305
  /**
306
306
  * The comma-separated list of tag key:value pairs assigned to the channel group.
307
307
  */
@@ -353,7 +353,7 @@ declare namespace MediaPackageV2 {
353
353
  /**
354
354
  * The description for your channel.
355
355
  */
356
- Description?: String;
356
+ Description?: ResourceDescription;
357
357
  IngestEndpoints?: IngestEndpointList;
358
358
  /**
359
359
  * The comma-separated list of tag key:value pairs assigned to the channel.
@@ -640,7 +640,7 @@ declare namespace MediaPackageV2 {
640
640
  /**
641
641
  * The description for your channel group.
642
642
  */
643
- Description?: String;
643
+ Description?: ResourceDescription;
644
644
  /**
645
645
  * The comma-separated list of tag key:value pairs assigned to the channel group.
646
646
  */
@@ -668,7 +668,7 @@ declare namespace MediaPackageV2 {
668
668
  /**
669
669
  * The policy assigned to the channel.
670
670
  */
671
- Policy: String;
671
+ Policy: PolicyText;
672
672
  }
673
673
  export interface GetChannelRequest {
674
674
  /**
@@ -704,7 +704,7 @@ declare namespace MediaPackageV2 {
704
704
  /**
705
705
  * The description for your channel.
706
706
  */
707
- Description?: String;
707
+ Description?: ResourceDescription;
708
708
  IngestEndpoints?: IngestEndpointList;
709
709
  /**
710
710
  * The comma-separated list of tag key:value pairs assigned to the channel.
@@ -777,19 +777,19 @@ declare namespace MediaPackageV2 {
777
777
  /**
778
778
  * The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
779
779
  */
780
- ChannelGroupName: String;
780
+ ChannelGroupName: ResourceName;
781
781
  /**
782
782
  * The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
783
783
  */
784
- ChannelName: String;
784
+ ChannelName: ResourceName;
785
785
  /**
786
786
  * The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel.
787
787
  */
788
- OriginEndpointName: String;
788
+ OriginEndpointName: ResourceName;
789
789
  /**
790
790
  * The policy assigned to the origin endpoint.
791
791
  */
792
- Policy: String;
792
+ Policy: PolicyText;
793
793
  }
794
794
  export interface GetOriginEndpointRequest {
795
795
  /**
@@ -1200,7 +1200,7 @@ declare namespace MediaPackageV2 {
1200
1200
  /**
1201
1201
  * The description for your channel group.
1202
1202
  */
1203
- Description?: String;
1203
+ Description?: ResourceDescription;
1204
1204
  /**
1205
1205
  * The comma-separated list of tag key:value pairs assigned to the channel group.
1206
1206
  */
@@ -1244,7 +1244,7 @@ declare namespace MediaPackageV2 {
1244
1244
  /**
1245
1245
  * The description for your channel.
1246
1246
  */
1247
- Description?: String;
1247
+ Description?: ResourceDescription;
1248
1248
  IngestEndpoints?: IngestEndpointList;
1249
1249
  /**
1250
1250
  * The comma-separated list of tag key:value pairs assigned to the channel.
@@ -404,11 +404,11 @@ declare class OpenSearch extends Service {
404
404
  */
405
405
  startServiceSoftwareUpdate(callback?: (err: AWSError, data: OpenSearch.Types.StartServiceSoftwareUpdateResponse) => void): Request<OpenSearch.Types.StartServiceSoftwareUpdateResponse, AWSError>;
406
406
  /**
407
- * Modifies the cluster configuration of the specified Amazon OpenSearch Service domain.sl
407
+ * Modifies the cluster configuration of the specified Amazon OpenSearch Service domain.
408
408
  */
409
409
  updateDomainConfig(params: OpenSearch.Types.UpdateDomainConfigRequest, callback?: (err: AWSError, data: OpenSearch.Types.UpdateDomainConfigResponse) => void): Request<OpenSearch.Types.UpdateDomainConfigResponse, AWSError>;
410
410
  /**
411
- * Modifies the cluster configuration of the specified Amazon OpenSearch Service domain.sl
411
+ * Modifies the cluster configuration of the specified Amazon OpenSearch Service domain.
412
412
  */
413
413
  updateDomainConfig(callback?: (err: AWSError, data: OpenSearch.Types.UpdateDomainConfigResponse) => void): Request<OpenSearch.Types.UpdateDomainConfigResponse, AWSError>;
414
414
  /**
@@ -1138,7 +1138,7 @@ declare namespace OpenSearch {
1138
1138
  export type CreatedAt = Date;
1139
1139
  export interface CrossClusterSearchConnectionProperties {
1140
1140
  /**
1141
- * Status of SkipUnavailable param for outbound connection.
1141
+ * The status of the SkipUnavailable setting for the outbound connection. This feature allows you to specify some clusters as optional and ensure that your cross-cluster queries return partial results despite failures on one or more remote clusters.
1142
1142
  */
1143
1143
  SkipUnavailable?: SkipUnavailableStatus;
1144
1144
  }
@@ -1343,7 +1343,7 @@ declare namespace OpenSearch {
1343
1343
  }
1344
1344
  export interface DescribeDomainsRequest {
1345
1345
  /**
1346
- * Array of OpenSearch Service domain names that you want information about. If you don't specify any domains, OpenSearch Service returns information about all domains owned by the account.
1346
+ * Array of OpenSearch Service domain names that you want information about. You must specify at least one domain name.
1347
1347
  */
1348
1348
  DomainNames: DomainNameList;
1349
1349
  }
@@ -1460,7 +1460,7 @@ declare namespace OpenSearch {
1460
1460
  Value?: DescribePackagesFilterValues;
1461
1461
  }
1462
1462
  export type DescribePackagesFilterList = DescribePackagesFilter[];
1463
- export type DescribePackagesFilterName = "PackageID"|"PackageName"|"PackageStatus"|string;
1463
+ export type DescribePackagesFilterName = "PackageID"|"PackageName"|"PackageStatus"|"PackageType"|"EngineVersion"|string;
1464
1464
  export type DescribePackagesFilterValue = string;
1465
1465
  export type DescribePackagesFilterValues = DescribePackagesFilterValue[];
1466
1466
  export interface DescribePackagesRequest {
@@ -1982,6 +1982,7 @@ declare namespace OpenSearch {
1982
1982
  export type Endpoint = string;
1983
1983
  export type EndpointsMap = {[key: string]: ServiceUrl};
1984
1984
  export type EngineType = "OpenSearch"|"Elasticsearch"|string;
1985
+ export type EngineVersion = string;
1985
1986
  export interface EnvironmentInfo {
1986
1987
  /**
1987
1988
  * A list of AvailabilityZoneInfo for the domain.
@@ -2618,6 +2619,14 @@ declare namespace OpenSearch {
2618
2619
  * Additional information if the package is in an error state. Null otherwise.
2619
2620
  */
2620
2621
  ErrorDetails?: ErrorDetails;
2622
+ /**
2623
+ * Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y. Defaults to the latest version of OpenSearch.
2624
+ */
2625
+ EngineVersion?: EngineVersion;
2626
+ /**
2627
+ * If the package is a ZIP-PLUGIN package, additional information about plugin properties.
2628
+ */
2629
+ AvailablePluginProperties?: PluginProperties;
2621
2630
  }
2622
2631
  export type PackageDetailsList = PackageDetails[];
2623
2632
  export type PackageID = string;
@@ -2633,7 +2642,7 @@ declare namespace OpenSearch {
2633
2642
  S3Key?: S3Key;
2634
2643
  }
2635
2644
  export type PackageStatus = "COPYING"|"COPY_FAILED"|"VALIDATING"|"VALIDATION_FAILED"|"AVAILABLE"|"DELETING"|"DELETED"|"DELETE_FAILED"|string;
2636
- export type PackageType = "TXT-DICTIONARY"|string;
2645
+ export type PackageType = "TXT-DICTIONARY"|"ZIP-PLUGIN"|string;
2637
2646
  export type PackageVersion = string;
2638
2647
  export interface PackageVersionHistory {
2639
2648
  /**
@@ -2648,9 +2657,39 @@ declare namespace OpenSearch {
2648
2657
  * The date and time when the package was created.
2649
2658
  */
2650
2659
  CreatedAt?: CreatedAt;
2660
+ /**
2661
+ * Additional information about plugin properties if the package is a ZIP-PLUGIN package.
2662
+ */
2663
+ PluginProperties?: PluginProperties;
2651
2664
  }
2652
2665
  export type PackageVersionHistoryList = PackageVersionHistory[];
2653
2666
  export type Password = string;
2667
+ export type PluginClassName = string;
2668
+ export type PluginDescription = string;
2669
+ export type PluginName = string;
2670
+ export interface PluginProperties {
2671
+ /**
2672
+ * The name of the plugin.
2673
+ */
2674
+ Name?: PluginName;
2675
+ /**
2676
+ * The description of the plugin.
2677
+ */
2678
+ Description?: PluginDescription;
2679
+ /**
2680
+ * The version of the plugin.
2681
+ */
2682
+ Version?: PluginVersion;
2683
+ /**
2684
+ * The name of the class to load.
2685
+ */
2686
+ ClassName?: PluginClassName;
2687
+ /**
2688
+ * The uncompressed size of the plugin.
2689
+ */
2690
+ UncompressedSizeInBytes?: UncompressedPluginSizeInBytes;
2691
+ }
2692
+ export type PluginVersion = string;
2654
2693
  export type PolicyDocument = string;
2655
2694
  export type PrincipalType = "AWS_ACCOUNT"|"AWS_SERVICE"|string;
2656
2695
  export interface PurchaseReservedInstanceOfferingRequest {
@@ -3089,6 +3128,7 @@ declare namespace OpenSearch {
3089
3128
  export type TimeUnit = "HOURS"|string;
3090
3129
  export type TotalNumberOfStages = number;
3091
3130
  export type UIntValue = number;
3131
+ export type UncompressedPluginSizeInBytes = number;
3092
3132
  export interface UpdateDomainConfigRequest {
3093
3133
  /**
3094
3134
  * The name of the domain that you're updating.
@@ -461,11 +461,11 @@ declare class Redshift extends Service {
461
461
  */
462
462
  describeClusters(callback?: (err: AWSError, data: Redshift.Types.ClustersMessage) => void): Request<Redshift.Types.ClustersMessage, AWSError>;
463
463
  /**
464
- * Contains information for custom domain associations for a cluster.
464
+ * Contains information about custom domain associations for a cluster.
465
465
  */
466
466
  describeCustomDomainAssociations(params: Redshift.Types.DescribeCustomDomainAssociationsMessage, callback?: (err: AWSError, data: Redshift.Types.CustomDomainAssociationsMessage) => void): Request<Redshift.Types.CustomDomainAssociationsMessage, AWSError>;
467
467
  /**
468
- * Contains information for custom domain associations for a cluster.
468
+ * Contains information about custom domain associations for a cluster.
469
469
  */
470
470
  describeCustomDomainAssociations(callback?: (err: AWSError, data: Redshift.Types.CustomDomainAssociationsMessage) => void): Request<Redshift.Types.CustomDomainAssociationsMessage, AWSError>;
471
471
  /**
@@ -1497,6 +1497,14 @@ declare namespace Redshift {
1497
1497
  * The expiration date for the certificate associated with the custom domain name.
1498
1498
  */
1499
1499
  CustomDomainCertificateExpiryDate?: TStamp;
1500
+ /**
1501
+ * The Amazon Resource Name (ARN) for the cluster's admin user credentials secret.
1502
+ */
1503
+ MasterPasswordSecretArn?: String;
1504
+ /**
1505
+ * The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials secret.
1506
+ */
1507
+ MasterPasswordSecretKmsKeyId?: String;
1500
1508
  }
1501
1509
  export interface ClusterAssociatedToSchedule {
1502
1510
  /**
@@ -1872,9 +1880,9 @@ declare namespace Redshift {
1872
1880
  */
1873
1881
  MasterUsername: String;
1874
1882
  /**
1875
- * The password associated with the admin user account for the cluster that is being created. Constraints: Must be between 8 and 64 characters in length. Must contain at least one uppercase letter. Must contain at least one lowercase letter. Must contain one number. Can be any printable ASCII character (ASCII code 33-126) except ' (single quote), " (double quote), \, /, or @.
1883
+ * The password associated with the admin user account for the cluster that is being created. You can't use MasterUserPassword if ManageMasterPassword is true. Constraints: Must be between 8 and 64 characters in length. Must contain at least one uppercase letter. Must contain at least one lowercase letter. Must contain one number. Can be any printable ASCII character (ASCII code 33-126) except ' (single quote), " (double quote), \, /, or @.
1876
1884
  */
1877
- MasterUserPassword: String;
1885
+ MasterUserPassword?: SensitiveString;
1878
1886
  /**
1879
1887
  * A list of security groups to be associated with this cluster. Default: The default cluster security group for Amazon Redshift.
1880
1888
  */
@@ -1987,6 +1995,14 @@ declare namespace Redshift {
1987
1995
  * A flag that specifies whether to load sample data once the cluster is created.
1988
1996
  */
1989
1997
  LoadSampleData?: String;
1998
+ /**
1999
+ * If true, Amazon Redshift uses Secrets Manager to manage this cluster's admin credentials. You can't use MasterUserPassword if ManageMasterPassword is true. If ManageMasterPassword is false or not set, Amazon Redshift uses MasterUserPassword for the admin user account's password.
2000
+ */
2001
+ ManageMasterPassword?: BooleanOptional;
2002
+ /**
2003
+ * The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials secret. You can only use this parameter if ManageMasterPassword is true.
2004
+ */
2005
+ MasterPasswordSecretKmsKeyId?: String;
1990
2006
  }
1991
2007
  export interface CreateClusterParameterGroupMessage {
1992
2008
  /**
@@ -4125,9 +4141,9 @@ declare namespace Redshift {
4125
4141
  */
4126
4142
  VpcSecurityGroupIds?: VpcSecurityGroupIdList;
4127
4143
  /**
4128
- * The new password for the cluster admin user. This change is asynchronously applied as soon as possible. Between the time of the request and the completion of the request, the MasterUserPassword element exists in the PendingModifiedValues element of the operation response. Operations never return the password, so this operation provides a way to regain access to the admin user account for a cluster if the password is lost. Default: Uses existing setting. Constraints: Must be between 8 and 64 characters in length. Must contain at least one uppercase letter. Must contain at least one lowercase letter. Must contain one number. Can be any printable ASCII character (ASCII code 33-126) except ' (single quote), " (double quote), \, /, or @.
4144
+ * The new password for the cluster admin user. This change is asynchronously applied as soon as possible. Between the time of the request and the completion of the request, the MasterUserPassword element exists in the PendingModifiedValues element of the operation response. You can't use MasterUserPassword if ManageMasterPassword is true. Operations never return the password, so this operation provides a way to regain access to the admin user account for a cluster if the password is lost. Default: Uses existing setting. Constraints: Must be between 8 and 64 characters in length. Must contain at least one uppercase letter. Must contain at least one lowercase letter. Must contain one number. Can be any printable ASCII character (ASCII code 33-126) except ' (single quote), " (double quote), \, /, or @.
4129
4145
  */
4130
- MasterUserPassword?: String;
4146
+ MasterUserPassword?: SensitiveString;
4131
4147
  /**
4132
4148
  * The name of the cluster parameter group to apply to this cluster. This change is applied only after the cluster is rebooted. To reboot a cluster use RebootCluster. Default: Uses existing setting. Constraints: The cluster parameter group must be in the same parameter group family that matches the cluster version.
4133
4149
  */
@@ -4200,6 +4216,14 @@ declare namespace Redshift {
4200
4216
  * The option to change the port of an Amazon Redshift cluster.
4201
4217
  */
4202
4218
  Port?: IntegerOptional;
4219
+ /**
4220
+ * If true, Amazon Redshift uses Secrets Manager to manage this cluster's admin credentials. You can't use MasterUserPassword if ManageMasterPassword is true. If ManageMasterPassword is false or not set, Amazon Redshift uses MasterUserPassword for the admin user account's password.
4221
+ */
4222
+ ManageMasterPassword?: BooleanOptional;
4223
+ /**
4224
+ * The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials secret. You can only use this parameter if ManageMasterPassword is true.
4225
+ */
4226
+ MasterPasswordSecretKmsKeyId?: String;
4203
4227
  }
4204
4228
  export interface ModifyClusterParameterGroupMessage {
4205
4229
  /**
@@ -4622,7 +4646,7 @@ declare namespace Redshift {
4622
4646
  /**
4623
4647
  * The pending or in-progress change of the admin user password for the cluster.
4624
4648
  */
4625
- MasterUserPassword?: String;
4649
+ MasterUserPassword?: SensitiveString;
4626
4650
  /**
4627
4651
  * The pending or in-progress change of the cluster's node type.
4628
4652
  */
@@ -5125,6 +5149,14 @@ declare namespace Redshift {
5125
5149
  * Enables support for restoring an unencrypted snapshot to a cluster encrypted with Key Management Service (KMS) and a customer managed key.
5126
5150
  */
5127
5151
  Encrypted?: BooleanOptional;
5152
+ /**
5153
+ * If true, Amazon Redshift uses Secrets Manager to manage the restored cluster's admin credentials. If ManageMasterPassword is false or not set, Amazon Redshift uses the admin credentials the cluster had at the time the snapshot was taken.
5154
+ */
5155
+ ManageMasterPassword?: BooleanOptional;
5156
+ /**
5157
+ * The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials secret. You can only use this parameter if ManageMasterPassword is true.
5158
+ */
5159
+ MasterPasswordSecretKmsKeyId?: String;
5128
5160
  }
5129
5161
  export interface RestoreFromClusterSnapshotResult {
5130
5162
  Cluster?: Cluster;
@@ -5508,6 +5540,14 @@ declare namespace Redshift {
5508
5540
  * A timestamp representing the start of the retention period for the snapshot.
5509
5541
  */
5510
5542
  SnapshotRetentionStartTime?: TStamp;
5543
+ /**
5544
+ * The Amazon Resource Name (ARN) for the cluster's admin user credentials secret.
5545
+ */
5546
+ MasterPasswordSecretArn?: String;
5547
+ /**
5548
+ * The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials secret.
5549
+ */
5550
+ MasterPasswordSecretKmsKeyId?: String;
5511
5551
  }
5512
5552
  export type SnapshotAttributeToSortBy = "SOURCE_TYPE"|"TOTAL_SIZE"|"CREATE_TIME"|string;
5513
5553
  export interface SnapshotCopyGrant {
@@ -397,7 +397,11 @@ declare namespace RedshiftServerless {
397
397
  }
398
398
  export interface CreateNamespaceRequest {
399
399
  /**
400
- * The password of the administrator for the first database created in the namespace.
400
+ * The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret. You can only use this parameter if manageAdminPassword is true.
401
+ */
402
+ adminPasswordSecretKmsKeyId?: KmsKeyId;
403
+ /**
404
+ * The password of the administrator for the first database created in the namespace. You can't use adminUserPassword if manageAdminPassword is true.
401
405
  */
402
406
  adminUserPassword?: DbPassword;
403
407
  /**
@@ -424,6 +428,10 @@ declare namespace RedshiftServerless {
424
428
  * The types of logs the namespace can export. Available export types are userlog, connectionlog, and useractivitylog.
425
429
  */
426
430
  logExports?: LogExportList;
431
+ /**
432
+ * If true, Amazon Redshift uses Secrets Manager to manage the namespace's admin credentials. You can't use adminUserPassword if manageAdminPassword is true. If manageAdminPassword is false or not set, Amazon Redshift uses adminUserPassword for the admin user account's password.
433
+ */
434
+ manageAdminPassword?: Boolean;
427
435
  /**
428
436
  * The name of the namespace.
429
437
  */
@@ -1039,6 +1047,14 @@ declare namespace RedshiftServerless {
1039
1047
  export type LogExportList = LogExport[];
1040
1048
  export type Long = number;
1041
1049
  export interface Namespace {
1050
+ /**
1051
+ * The Amazon Resource Name (ARN) for the namespace's admin user credentials secret.
1052
+ */
1053
+ adminPasswordSecretArn?: String;
1054
+ /**
1055
+ * The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.
1056
+ */
1057
+ adminPasswordSecretKmsKeyId?: KmsKeyId;
1042
1058
  /**
1043
1059
  * The username of the administrator for the first database created in the namespace.
1044
1060
  */
@@ -1187,6 +1203,14 @@ declare namespace RedshiftServerless {
1187
1203
  recoveryPointId?: String;
1188
1204
  }
1189
1205
  export interface RestoreFromSnapshotRequest {
1206
+ /**
1207
+ * The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.
1208
+ */
1209
+ adminPasswordSecretKmsKeyId?: KmsKeyId;
1210
+ /**
1211
+ * If true, Amazon Redshift uses Secrets Manager to manage the restored snapshot's admin credentials. If MmanageAdminPassword is false or not set, Amazon Redshift uses the admin credentials that the namespace or cluster had at the time the snapshot was taken.
1212
+ */
1213
+ manageAdminPassword?: Boolean;
1190
1214
  /**
1191
1215
  * The name of the namespace to restore the snapshot to.
1192
1216
  */
@@ -1282,6 +1306,14 @@ declare namespace RedshiftServerless {
1282
1306
  * The size of the incremental backup in megabytes.
1283
1307
  */
1284
1308
  actualIncrementalBackupSizeInMegaBytes?: Double;
1309
+ /**
1310
+ * The Amazon Resource Name (ARN) for the namespace's admin user credentials secret.
1311
+ */
1312
+ adminPasswordSecretArn?: String;
1313
+ /**
1314
+ * The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.
1315
+ */
1316
+ adminPasswordSecretKmsKeyId?: KmsKeyId;
1285
1317
  /**
1286
1318
  * The username of the database within a snapshot.
1287
1319
  */
@@ -1477,7 +1509,11 @@ declare namespace RedshiftServerless {
1477
1509
  }
1478
1510
  export interface UpdateNamespaceRequest {
1479
1511
  /**
1480
- * The password of the administrator for the first database created in the namespace. This parameter must be updated together with adminUsername.
1512
+ * The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret. You can only use this parameter if manageAdminPassword is true.
1513
+ */
1514
+ adminPasswordSecretKmsKeyId?: KmsKeyId;
1515
+ /**
1516
+ * The password of the administrator for the first database created in the namespace. This parameter must be updated together with adminUsername. You can't use adminUserPassword if manageAdminPassword is true.
1481
1517
  */
1482
1518
  adminUserPassword?: DbPassword;
1483
1519
  /**
@@ -1500,6 +1536,10 @@ declare namespace RedshiftServerless {
1500
1536
  * The types of logs the namespace can export. The export types are userlog, connectionlog, and useractivitylog.
1501
1537
  */
1502
1538
  logExports?: LogExportList;
1539
+ /**
1540
+ * If true, Amazon Redshift uses Secrets Manager to manage the namespace's admin credentials. You can't use adminUserPassword if manageAdminPassword is true. If manageAdminPassword is false or not set, Amazon Redshift uses adminUserPassword for the admin user account's password.
1541
+ */
1542
+ manageAdminPassword?: Boolean;
1503
1543
  /**
1504
1544
  * The name of the namespace to update. You can't update the name of a namespace once it is created.
1505
1545
  */