aws-sdk 2.1501.0 → 2.1503.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.
- package/CHANGELOG.md +46 -1
- package/README.md +1 -3
- package/apis/accessanalyzer-2019-11-01.min.json +423 -86
- package/apis/accessanalyzer-2019-11-01.paginators.json +12 -0
- package/apis/amp-2020-08-01.min.json +320 -3
- package/apis/amp-2020-08-01.paginators.json +6 -0
- package/apis/amp-2020-08-01.waiters2.json +33 -0
- package/apis/bcm-data-exports-2023-11-26.examples.json +5 -0
- package/apis/bcm-data-exports-2023-11-26.min.json +470 -0
- package/apis/bcm-data-exports-2023-11-26.paginators.json +22 -0
- package/apis/cloudtrail-2013-11-01.min.json +67 -24
- package/apis/codestar-connections-2019-12-01.min.json +590 -3
- package/apis/codestar-connections-2019-12-01.paginators.json +10 -0
- package/apis/compute-optimizer-2019-11-01.min.json +243 -39
- package/apis/config-2014-11-12.min.json +204 -169
- package/apis/controltower-2018-05-10.min.json +249 -13
- package/apis/controltower-2018-05-10.paginators.json +6 -0
- package/apis/cost-optimization-hub-2022-07-26.examples.json +5 -0
- package/apis/cost-optimization-hub-2022-07-26.min.json +757 -0
- package/apis/cost-optimization-hub-2022-07-26.paginators.json +22 -0
- package/apis/detective-2018-10-26.min.json +294 -0
- package/apis/ecs-2014-11-13.min.json +108 -107
- package/apis/eks-2017-11-01.min.json +211 -4
- package/apis/eks-2017-11-01.paginators.json +12 -0
- package/apis/eks-auth-2023-11-26.examples.json +5 -0
- package/apis/eks-auth-2023-11-26.min.json +104 -0
- package/apis/eks-auth-2023-11-26.paginators.json +4 -0
- package/apis/eks-auth-2023-11-26.waiters2.json +5 -0
- package/apis/elasticfilesystem-2015-02-01.min.json +5 -1
- package/apis/elasticfilesystem-2015-02-01.paginators.json +18 -3
- package/apis/elasticloadbalancingv2-2015-12-01.min.json +403 -75
- package/apis/elasticloadbalancingv2-2015-12-01.paginators.json +15 -0
- package/apis/freetier-2023-09-07.examples.json +5 -0
- package/apis/freetier-2023-09-07.min.json +105 -0
- package/apis/freetier-2023-09-07.paginators.json +10 -0
- package/apis/fsx-2018-03-01.min.json +259 -135
- package/apis/guardduty-2017-11-28.min.json +64 -0
- package/apis/iotfleetwise-2021-06-17.min.json +159 -33
- package/apis/kinesis-2013-12-02.min.json +92 -21
- package/apis/lakeformation-2017-03-31.min.json +126 -35
- package/apis/logs-2014-03-28.min.json +310 -36
- package/apis/logs-2014-03-28.paginators.json +12 -0
- package/apis/managedblockchain-2018-09-24.min.json +58 -50
- package/apis/metadata.json +22 -0
- package/apis/models.lex.v2-2020-08-07.min.json +633 -331
- package/apis/models.lex.v2-2020-08-07.paginators.json +5 -0
- package/apis/personalize-2018-05-22.min.json +85 -52
- package/apis/personalize-events-2018-03-22.min.json +97 -5
- package/apis/personalize-runtime-2018-05-22.min.json +68 -11
- package/apis/quicksight-2018-04-01.min.json +398 -268
- package/apis/redshift-2012-12-01.min.json +14 -2
- package/apis/repostspace-2022-05-13.examples.json +5 -0
- package/apis/repostspace-2022-05-13.min.json +447 -0
- package/apis/repostspace-2022-05-13.paginators.json +10 -0
- package/apis/runtime.lex.v2-2020-08-07.min.json +25 -24
- package/apis/s3-2006-03-01.examples.json +142 -142
- package/apis/s3-2006-03-01.min.json +45 -0
- package/apis/s3control-2018-08-20.min.json +1283 -239
- package/apis/s3control-2018-08-20.paginators.json +15 -0
- package/apis/sagemaker-2017-07-24.min.json +544 -533
- package/apis/secretsmanager-2017-10-17.min.json +111 -50
- package/apis/secretsmanager-2017-10-17.paginators.json +5 -0
- package/apis/securityhub-2018-10-26.examples.json +93 -2
- package/apis/securityhub-2018-10-26.min.json +551 -300
- package/apis/states-2016-11-23.min.json +85 -0
- package/apis/transcribe-2017-10-26.min.json +49 -38
- package/apis/workspaces-2015-04-08.min.json +119 -96
- package/apis/workspaces-thin-client-2023-08-22.examples.json +5 -0
- package/apis/workspaces-thin-client-2023-08-22.min.json +777 -0
- package/apis/workspaces-thin-client-2023-08-22.paginators.json +22 -0
- package/clients/accessanalyzer.d.ts +374 -5
- package/clients/all.d.ts +6 -0
- package/clients/all.js +7 -1
- package/clients/amp.d.ts +322 -0
- package/clients/bcmdataexports.d.ts +589 -0
- package/clients/bcmdataexports.js +18 -0
- package/clients/cloudtrail.d.ts +76 -2
- package/clients/cloudwatchlogs.d.ts +413 -1
- package/clients/codestarconnections.d.ts +727 -0
- package/clients/computeoptimizer.d.ts +307 -6
- package/clients/configservice.d.ts +60 -11
- package/clients/controltower.d.ts +258 -20
- package/clients/costoptimizationhub.d.ts +1283 -0
- package/clients/costoptimizationhub.js +18 -0
- package/clients/detective.d.ts +469 -0
- package/clients/ecs.d.ts +10 -5
- package/clients/efs.d.ts +39 -30
- package/clients/eks.d.ts +237 -15
- package/clients/eksauth.d.ts +124 -0
- package/clients/eksauth.js +19 -0
- package/clients/elbv2.d.ts +433 -4
- package/clients/freetier.d.ts +149 -0
- package/clients/freetier.js +18 -0
- package/clients/fsx.d.ts +194 -21
- package/clients/guardduty.d.ts +82 -11
- package/clients/iotfleetwise.d.ts +198 -13
- package/clients/kinesis.d.ts +96 -42
- package/clients/lakeformation.d.ts +118 -2
- package/clients/lexmodelsv2.d.ts +343 -2
- package/clients/lexruntimev2.d.ts +14 -9
- package/clients/managedblockchain.d.ts +26 -5
- package/clients/personalize.d.ts +65 -20
- package/clients/personalizeevents.d.ts +102 -12
- package/clients/personalizeruntime.d.ts +72 -2
- package/clients/quicksight.d.ts +124 -0
- package/clients/redshift.d.ts +16 -0
- package/clients/repostspace.d.ts +458 -0
- package/clients/repostspace.js +18 -0
- package/clients/s3.d.ts +2 -2
- package/clients/s3control.d.ts +876 -16
- package/clients/sagemaker.d.ts +13 -2
- package/clients/secretsmanager.d.ts +94 -5
- package/clients/securityhub.d.ts +305 -2
- package/clients/stepfunctions.d.ts +153 -8
- package/clients/transcribeservice.d.ts +11 -1
- package/clients/workspaces.d.ts +43 -1
- package/clients/workspacesthinclient.d.ts +895 -0
- package/clients/workspacesthinclient.js +18 -0
- package/dist/aws-sdk-core-react-native.js +2 -2
- package/dist/aws-sdk-react-native.js +280 -51
- package/dist/aws-sdk.js +2069 -587
- package/dist/aws-sdk.min.js +104 -104
- package/lib/config_service_placeholders.d.ts +12 -0
- package/lib/core.js +1 -1
- package/lib/services/s3.js +1 -1
- package/package.json +1 -1
package/clients/sagemaker.d.ts
CHANGED
@@ -2551,6 +2551,7 @@ declare class SageMaker extends Service {
|
|
2551
2551
|
}
|
2552
2552
|
declare namespace SageMaker {
|
2553
2553
|
export type Accept = string;
|
2554
|
+
export type AcceptEula = boolean;
|
2554
2555
|
export type AccountId = string;
|
2555
2556
|
export type ActionArn = string;
|
2556
2557
|
export interface ActionSource {
|
@@ -7775,7 +7776,7 @@ declare namespace SageMaker {
|
|
7775
7776
|
*/
|
7776
7777
|
SingleSignOnManagedApplicationInstanceId?: String256;
|
7777
7778
|
/**
|
7778
|
-
* The ARN of the
|
7779
|
+
* The ARN of the application managed by SageMaker in IAM Identity Center. This value is only returned for domains created after September 19, 2023.
|
7779
7780
|
*/
|
7780
7781
|
SingleSignOnApplicationArn?: SingleSignOnApplicationArn;
|
7781
7782
|
/**
|
@@ -16512,6 +16513,12 @@ declare namespace SageMaker {
|
|
16512
16513
|
*/
|
16513
16514
|
DeploymentRecommendation?: DeploymentRecommendation;
|
16514
16515
|
}
|
16516
|
+
export interface ModelAccessConfig {
|
16517
|
+
/**
|
16518
|
+
* Specifies agreement to the model end-user license agreement (EULA). The AcceptEula value must be explicitly defined as True in order to accept the EULA that this model requires. You are responsible for reviewing and complying with any applicable license terms and making sure they are acceptable for your use case before downloading or using a model.
|
16519
|
+
*/
|
16520
|
+
AcceptEula: AcceptEula;
|
16521
|
+
}
|
16515
16522
|
export type ModelApprovalStatus = "Approved"|"Rejected"|"PendingManualApproval"|string;
|
16516
16523
|
export type ModelArn = string;
|
16517
16524
|
export interface ModelArtifacts {
|
@@ -20026,6 +20033,10 @@ declare namespace SageMaker {
|
|
20026
20033
|
* Specifies how the ML model data is prepared. If you choose Gzip and choose S3Object as the value of S3DataType, S3Uri identifies an object that is a gzip-compressed TAR archive. SageMaker will attempt to decompress and untar the object during model deployment. If you choose None and chooose S3Object as the value of S3DataType, S3Uri identifies an object that represents an uncompressed ML model to deploy. If you choose None and choose S3Prefix as the value of S3DataType, S3Uri identifies a key name prefix, under which all objects represents the uncompressed ML model to deploy. If you choose None, then SageMaker will follow rules below when creating model data files under /opt/ml/model directory for use by your inference code: If you choose S3Object as the value of S3DataType, then SageMaker will split the key of the S3 object referenced by S3Uri by slash (/), and use the last part as the filename of the file holding the content of the S3 object. If you choose S3Prefix as the value of S3DataType, then for each S3 object under the key name pefix referenced by S3Uri, SageMaker will trim its key by the prefix, and use the remainder as the path (relative to /opt/ml/model) of the file holding the content of the S3 object. SageMaker will split the remainder by slash (/), using intermediate parts as directory names and the last part as filename of the file holding the content of the S3 object. Do not use any of the following as file names or directory names: An empty or blank string A string which contains null bytes A string longer than 255 bytes A single dot (.) A double dot (..) Ambiguous file names will result in model deployment failure. For example, if your uncompressed ML model consists of two S3 objects s3://mybucket/model/weights and s3://mybucket/model/weights/part1 and you specify s3://mybucket/model/ as the value of S3Uri and S3Prefix as the value of S3DataType, then it will result in name clash between /opt/ml/model/weights (a regular file) and /opt/ml/model/weights/ (a directory). Do not organize the model artifacts in S3 console using folders. When you create a folder in S3 console, S3 creates a 0-byte object with a key set to the folder name you provide. They key of the 0-byte object ends with a slash (/) which violates SageMaker restrictions on model artifact file names, leading to model deployment failure.
|
20027
20034
|
*/
|
20028
20035
|
CompressionType: ModelCompressionType;
|
20036
|
+
/**
|
20037
|
+
* Specifies the access configuration file for the ML model. You can explicitly accept the model end-user license agreement (EULA) within the ModelAccessConfig. You are responsible for reviewing and complying with any applicable license terms and making sure they are acceptable for your use case before downloading or using a model.
|
20038
|
+
*/
|
20039
|
+
ModelAccessConfig?: ModelAccessConfig;
|
20029
20040
|
}
|
20030
20041
|
export type S3ModelDataType = "S3Prefix"|"S3Object"|string;
|
20031
20042
|
export type S3ModelUri = string;
|
@@ -20663,7 +20674,7 @@ declare namespace SageMaker {
|
|
20663
20674
|
*/
|
20664
20675
|
MaxWaitTimeInSeconds?: MaxWaitTimeInSeconds;
|
20665
20676
|
/**
|
20666
|
-
* The maximum
|
20677
|
+
* The maximum length of time, in seconds, that a training or compilation job can be pending before it is stopped.
|
20667
20678
|
*/
|
20668
20679
|
MaxPendingTimeInSeconds?: MaxPendingTimeInSeconds;
|
20669
20680
|
}
|
@@ -11,6 +11,14 @@ declare class SecretsManager extends Service {
|
|
11
11
|
*/
|
12
12
|
constructor(options?: SecretsManager.Types.ClientConfiguration)
|
13
13
|
config: Config & SecretsManager.Types.ClientConfiguration;
|
14
|
+
/**
|
15
|
+
* Retrieves the contents of the encrypted fields SecretString or SecretBinary for up to 20 secrets. To retrieve a single secret, call GetSecretValue. To choose which secrets to retrieve, you can specify a list of secrets by name or ARN, or you can use filters. If Secrets Manager encounters errors such as AccessDeniedException while attempting to retrieve any of the secrets, you can see the errors in Errors in the response. Secrets Manager generates CloudTrail GetSecretValue log entries for each secret you request when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail. Required permissions: secretsmanager:BatchGetSecretValue, and you must have secretsmanager:GetSecretValue for each secret. If you use filters, you must also have secretsmanager:ListSecrets. If the secrets are encrypted using customer-managed keys instead of the Amazon Web Services managed key aws/secretsmanager, then you also need kms:Decrypt permissions for the keys. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.
|
16
|
+
*/
|
17
|
+
batchGetSecretValue(params: SecretsManager.Types.BatchGetSecretValueRequest, callback?: (err: AWSError, data: SecretsManager.Types.BatchGetSecretValueResponse) => void): Request<SecretsManager.Types.BatchGetSecretValueResponse, AWSError>;
|
18
|
+
/**
|
19
|
+
* Retrieves the contents of the encrypted fields SecretString or SecretBinary for up to 20 secrets. To retrieve a single secret, call GetSecretValue. To choose which secrets to retrieve, you can specify a list of secrets by name or ARN, or you can use filters. If Secrets Manager encounters errors such as AccessDeniedException while attempting to retrieve any of the secrets, you can see the errors in Errors in the response. Secrets Manager generates CloudTrail GetSecretValue log entries for each secret you request when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail. Required permissions: secretsmanager:BatchGetSecretValue, and you must have secretsmanager:GetSecretValue for each secret. If you use filters, you must also have secretsmanager:ListSecrets. If the secrets are encrypted using customer-managed keys instead of the Amazon Web Services managed key aws/secretsmanager, then you also need kms:Decrypt permissions for the keys. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.
|
20
|
+
*/
|
21
|
+
batchGetSecretValue(callback?: (err: AWSError, data: SecretsManager.Types.BatchGetSecretValueResponse) => void): Request<SecretsManager.Types.BatchGetSecretValueResponse, AWSError>;
|
14
22
|
/**
|
15
23
|
* Turns off automatic rotation, and if a rotation is currently in progress, cancels the rotation. If you cancel a rotation in progress, it can leave the VersionStage labels in an unexpected state. You might need to remove the staging label AWSPENDING from the partially created version. You also need to determine whether to roll back to the previous version of the secret by moving the staging label AWSCURRENT to the version that has AWSPENDING. To determine which version has a specific staging label, call ListSecretVersionIds. Then use UpdateSecretVersionStage to change staging labels. For more information, see How rotation works. To turn on automatic rotation again, call RotateSecret. Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail. Required permissions: secretsmanager:CancelRotateSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.
|
16
24
|
*/
|
@@ -68,11 +76,11 @@ declare class SecretsManager extends Service {
|
|
68
76
|
*/
|
69
77
|
getResourcePolicy(callback?: (err: AWSError, data: SecretsManager.Types.GetResourcePolicyResponse) => void): Request<SecretsManager.Types.GetResourcePolicyResponse, AWSError>;
|
70
78
|
/**
|
71
|
-
* Retrieves the contents of the encrypted fields SecretString or SecretBinary from the specified version of a secret, whichever contains content. We recommend that you cache your secret values by using client-side caching. Caching secrets improves speed and reduces your costs. For more information, see Cache secrets for your applications. To retrieve the previous version of a secret, use VersionStage and specify AWSPREVIOUS. To revert to the previous version of a secret, call UpdateSecretVersionStage. Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail. Required permissions: secretsmanager:GetSecretValue. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key aws/secretsmanager, then you also need kms:Decrypt permissions for that key. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.
|
79
|
+
* Retrieves the contents of the encrypted fields SecretString or SecretBinary from the specified version of a secret, whichever contains content. To retrieve the values for a group of secrets, call BatchGetSecretValue. We recommend that you cache your secret values by using client-side caching. Caching secrets improves speed and reduces your costs. For more information, see Cache secrets for your applications. To retrieve the previous version of a secret, use VersionStage and specify AWSPREVIOUS. To revert to the previous version of a secret, call UpdateSecretVersionStage. Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail. Required permissions: secretsmanager:GetSecretValue. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key aws/secretsmanager, then you also need kms:Decrypt permissions for that key. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.
|
72
80
|
*/
|
73
81
|
getSecretValue(params: SecretsManager.Types.GetSecretValueRequest, callback?: (err: AWSError, data: SecretsManager.Types.GetSecretValueResponse) => void): Request<SecretsManager.Types.GetSecretValueResponse, AWSError>;
|
74
82
|
/**
|
75
|
-
* Retrieves the contents of the encrypted fields SecretString or SecretBinary from the specified version of a secret, whichever contains content. We recommend that you cache your secret values by using client-side caching. Caching secrets improves speed and reduces your costs. For more information, see Cache secrets for your applications. To retrieve the previous version of a secret, use VersionStage and specify AWSPREVIOUS. To revert to the previous version of a secret, call UpdateSecretVersionStage. Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail. Required permissions: secretsmanager:GetSecretValue. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key aws/secretsmanager, then you also need kms:Decrypt permissions for that key. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.
|
83
|
+
* Retrieves the contents of the encrypted fields SecretString or SecretBinary from the specified version of a secret, whichever contains content. To retrieve the values for a group of secrets, call BatchGetSecretValue. We recommend that you cache your secret values by using client-side caching. Caching secrets improves speed and reduces your costs. For more information, see Cache secrets for your applications. To retrieve the previous version of a secret, use VersionStage and specify AWSPREVIOUS. To revert to the previous version of a secret, call UpdateSecretVersionStage. Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail. Required permissions: secretsmanager:GetSecretValue. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key aws/secretsmanager, then you also need kms:Decrypt permissions for that key. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.
|
76
84
|
*/
|
77
85
|
getSecretValue(callback?: (err: AWSError, data: SecretsManager.Types.GetSecretValueResponse) => void): Request<SecretsManager.Types.GetSecretValueResponse, AWSError>;
|
78
86
|
/**
|
@@ -84,11 +92,11 @@ declare class SecretsManager extends Service {
|
|
84
92
|
*/
|
85
93
|
listSecretVersionIds(callback?: (err: AWSError, data: SecretsManager.Types.ListSecretVersionIdsResponse) => void): Request<SecretsManager.Types.ListSecretVersionIdsResponse, AWSError>;
|
86
94
|
/**
|
87
|
-
* Lists the secrets that are stored by Secrets Manager in the Amazon Web Services account, not including secrets that are marked for deletion. To see secrets marked for deletion, use the Secrets Manager console. ListSecrets is eventually consistent, however it might not reflect changes from the last five minutes. To get the latest information for a specific secret, use DescribeSecret. To list the versions of a secret, use ListSecretVersionIds. To
|
95
|
+
* Lists the secrets that are stored by Secrets Manager in the Amazon Web Services account, not including secrets that are marked for deletion. To see secrets marked for deletion, use the Secrets Manager console. ListSecrets is eventually consistent, however it might not reflect changes from the last five minutes. To get the latest information for a specific secret, use DescribeSecret. To list the versions of a secret, use ListSecretVersionIds. To retrieve the values for the secrets, call BatchGetSecretValue or GetSecretValue. For information about finding secrets in the console, see Find secrets in Secrets Manager. Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail. Required permissions: secretsmanager:ListSecrets. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.
|
88
96
|
*/
|
89
97
|
listSecrets(params: SecretsManager.Types.ListSecretsRequest, callback?: (err: AWSError, data: SecretsManager.Types.ListSecretsResponse) => void): Request<SecretsManager.Types.ListSecretsResponse, AWSError>;
|
90
98
|
/**
|
91
|
-
* Lists the secrets that are stored by Secrets Manager in the Amazon Web Services account, not including secrets that are marked for deletion. To see secrets marked for deletion, use the Secrets Manager console. ListSecrets is eventually consistent, however it might not reflect changes from the last five minutes. To get the latest information for a specific secret, use DescribeSecret. To list the versions of a secret, use ListSecretVersionIds. To
|
99
|
+
* Lists the secrets that are stored by Secrets Manager in the Amazon Web Services account, not including secrets that are marked for deletion. To see secrets marked for deletion, use the Secrets Manager console. ListSecrets is eventually consistent, however it might not reflect changes from the last five minutes. To get the latest information for a specific secret, use DescribeSecret. To list the versions of a secret, use ListSecretVersionIds. To retrieve the values for the secrets, call BatchGetSecretValue or GetSecretValue. For information about finding secrets in the console, see Find secrets in Secrets Manager. Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail. Required permissions: secretsmanager:ListSecrets. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.
|
92
100
|
*/
|
93
101
|
listSecrets(callback?: (err: AWSError, data: SecretsManager.Types.ListSecretsResponse) => void): Request<SecretsManager.Types.ListSecretsResponse, AWSError>;
|
94
102
|
/**
|
@@ -189,8 +197,55 @@ declare class SecretsManager extends Service {
|
|
189
197
|
validateResourcePolicy(callback?: (err: AWSError, data: SecretsManager.Types.ValidateResourcePolicyResponse) => void): Request<SecretsManager.Types.ValidateResourcePolicyResponse, AWSError>;
|
190
198
|
}
|
191
199
|
declare namespace SecretsManager {
|
200
|
+
export type APIErrorListType = APIErrorType[];
|
201
|
+
export interface APIErrorType {
|
202
|
+
/**
|
203
|
+
* The ARN or name of the secret.
|
204
|
+
*/
|
205
|
+
SecretId?: SecretIdType;
|
206
|
+
/**
|
207
|
+
* The error Secrets Manager encountered while retrieving an individual secret as part of BatchGetSecretValue, for example ResourceNotFoundException,InvalidParameterException, InvalidRequestException, DecryptionFailure, or AccessDeniedException.
|
208
|
+
*/
|
209
|
+
ErrorCode?: ErrorCode;
|
210
|
+
/**
|
211
|
+
* A message describing the error.
|
212
|
+
*/
|
213
|
+
Message?: ErrorMessage;
|
214
|
+
}
|
192
215
|
export type AddReplicaRegionListType = ReplicaRegionType[];
|
193
216
|
export type AutomaticallyRotateAfterDaysType = number;
|
217
|
+
export interface BatchGetSecretValueRequest {
|
218
|
+
/**
|
219
|
+
* The ARN or names of the secrets to retrieve. You must include Filters or SecretIdList, but not both.
|
220
|
+
*/
|
221
|
+
SecretIdList?: SecretIdListType;
|
222
|
+
/**
|
223
|
+
* The filters to choose which secrets to retrieve. You must include Filters or SecretIdList, but not both.
|
224
|
+
*/
|
225
|
+
Filters?: FiltersListType;
|
226
|
+
/**
|
227
|
+
* The number of results to include in the response. If there are more results available, in the response, Secrets Manager includes NextToken. To get the next results, call BatchGetSecretValue again with the value from NextToken.
|
228
|
+
*/
|
229
|
+
MaxResults?: MaxResultsBatchType;
|
230
|
+
/**
|
231
|
+
* A token that indicates where the output should continue from, if a previous call did not show all results. To get the next results, call BatchGetSecretValue again with this value.
|
232
|
+
*/
|
233
|
+
NextToken?: NextTokenType;
|
234
|
+
}
|
235
|
+
export interface BatchGetSecretValueResponse {
|
236
|
+
/**
|
237
|
+
* A list of secret values.
|
238
|
+
*/
|
239
|
+
SecretValues?: SecretValuesType;
|
240
|
+
/**
|
241
|
+
* Secrets Manager includes this value if there's more output available than what is included in the current response. This can occur even when the response includes no values at all, such as when you ask for a filtered view of a long list. To get the next results, call BatchGetSecretValue again with this value.
|
242
|
+
*/
|
243
|
+
NextToken?: NextTokenType;
|
244
|
+
/**
|
245
|
+
* A list of errors Secrets Manager encountered while attempting to retrieve individual secrets.
|
246
|
+
*/
|
247
|
+
Errors?: APIErrorListType;
|
248
|
+
}
|
194
249
|
export type BooleanType = boolean;
|
195
250
|
export interface CancelRotateSecretRequest {
|
196
251
|
/**
|
@@ -398,6 +453,7 @@ declare namespace SecretsManager {
|
|
398
453
|
}
|
399
454
|
export type DescriptionType = string;
|
400
455
|
export type DurationType = string;
|
456
|
+
export type ErrorCode = string;
|
401
457
|
export type ErrorMessage = string;
|
402
458
|
export type ExcludeCharactersType = string;
|
403
459
|
export type ExcludeLowercaseType = boolean;
|
@@ -596,6 +652,7 @@ declare namespace SecretsManager {
|
|
596
652
|
*/
|
597
653
|
NextToken?: NextTokenType;
|
598
654
|
}
|
655
|
+
export type MaxResultsBatchType = number;
|
599
656
|
export type MaxResultsType = number;
|
600
657
|
export type NameType = string;
|
601
658
|
export type NextRotationDateType = Date;
|
@@ -820,6 +877,7 @@ declare namespace SecretsManager {
|
|
820
877
|
export type ScheduleExpressionType = string;
|
821
878
|
export type SecretARNType = string;
|
822
879
|
export type SecretBinaryType = Buffer|Uint8Array|Blob|string;
|
880
|
+
export type SecretIdListType = SecretIdType[];
|
823
881
|
export type SecretIdType = string;
|
824
882
|
export interface SecretListEntry {
|
825
883
|
/**
|
@@ -827,7 +885,7 @@ declare namespace SecretsManager {
|
|
827
885
|
*/
|
828
886
|
ARN?: SecretARNType;
|
829
887
|
/**
|
830
|
-
* The friendly name of the secret.
|
888
|
+
* The friendly name of the secret.
|
831
889
|
*/
|
832
890
|
Name?: SecretNameType;
|
833
891
|
/**
|
@@ -894,6 +952,37 @@ declare namespace SecretsManager {
|
|
894
952
|
export type SecretListType = SecretListEntry[];
|
895
953
|
export type SecretNameType = string;
|
896
954
|
export type SecretStringType = string;
|
955
|
+
export interface SecretValueEntry {
|
956
|
+
/**
|
957
|
+
* The Amazon Resource Name (ARN) of the secret.
|
958
|
+
*/
|
959
|
+
ARN?: SecretARNType;
|
960
|
+
/**
|
961
|
+
* The friendly name of the secret.
|
962
|
+
*/
|
963
|
+
Name?: SecretNameType;
|
964
|
+
/**
|
965
|
+
* The unique version identifier of this version of the secret.
|
966
|
+
*/
|
967
|
+
VersionId?: SecretVersionIdType;
|
968
|
+
/**
|
969
|
+
* The decrypted secret value, if the secret value was originally provided as binary data in the form of a byte array. The parameter represents the binary data as a base64-encoded string.
|
970
|
+
*/
|
971
|
+
SecretBinary?: SecretBinaryType;
|
972
|
+
/**
|
973
|
+
* The decrypted secret value, if the secret value was originally provided as a string or through the Secrets Manager console.
|
974
|
+
*/
|
975
|
+
SecretString?: SecretStringType;
|
976
|
+
/**
|
977
|
+
* A list of all of the staging labels currently attached to this version of the secret.
|
978
|
+
*/
|
979
|
+
VersionStages?: SecretVersionStagesType;
|
980
|
+
/**
|
981
|
+
* The date the secret was created.
|
982
|
+
*/
|
983
|
+
CreatedDate?: CreatedDateType;
|
984
|
+
}
|
985
|
+
export type SecretValuesType = SecretValueEntry[];
|
897
986
|
export type SecretVersionIdType = string;
|
898
987
|
export type SecretVersionStageType = string;
|
899
988
|
export type SecretVersionStagesType = SecretVersionStageType[];
|