cdk-lambda-subminute 2.0.310 → 2.0.311

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 (141) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/CHANGELOG.md +52 -1
  4. package/node_modules/aws-sdk/README.md +1 -3
  5. package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.min.json +423 -86
  6. package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.paginators.json +12 -0
  7. package/node_modules/aws-sdk/apis/amp-2020-08-01.min.json +320 -3
  8. package/node_modules/aws-sdk/apis/amp-2020-08-01.paginators.json +6 -0
  9. package/node_modules/aws-sdk/apis/amp-2020-08-01.waiters2.json +33 -0
  10. package/node_modules/aws-sdk/apis/appsync-2017-07-25.min.json +141 -6
  11. package/node_modules/aws-sdk/apis/b2bi-2022-06-23.examples.json +714 -0
  12. package/node_modules/aws-sdk/apis/b2bi-2022-06-23.min.json +1095 -0
  13. package/node_modules/aws-sdk/apis/b2bi-2022-06-23.paginators.json +28 -0
  14. package/node_modules/aws-sdk/apis/backup-2018-11-15.min.json +855 -84
  15. package/node_modules/aws-sdk/apis/backup-2018-11-15.paginators.json +18 -0
  16. package/node_modules/aws-sdk/apis/bcm-data-exports-2023-11-26.examples.json +5 -0
  17. package/node_modules/aws-sdk/apis/bcm-data-exports-2023-11-26.min.json +470 -0
  18. package/node_modules/aws-sdk/apis/bcm-data-exports-2023-11-26.paginators.json +22 -0
  19. package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +67 -24
  20. package/node_modules/aws-sdk/apis/codestar-connections-2019-12-01.min.json +590 -3
  21. package/node_modules/aws-sdk/apis/codestar-connections-2019-12-01.paginators.json +10 -0
  22. package/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.min.json +243 -39
  23. package/node_modules/aws-sdk/apis/config-2014-11-12.min.json +204 -169
  24. package/node_modules/aws-sdk/apis/controltower-2018-05-10.min.json +317 -13
  25. package/node_modules/aws-sdk/apis/controltower-2018-05-10.paginators.json +6 -0
  26. package/node_modules/aws-sdk/apis/cost-optimization-hub-2022-07-26.examples.json +5 -0
  27. package/node_modules/aws-sdk/apis/cost-optimization-hub-2022-07-26.min.json +757 -0
  28. package/node_modules/aws-sdk/apis/cost-optimization-hub-2022-07-26.paginators.json +22 -0
  29. package/node_modules/aws-sdk/apis/detective-2018-10-26.min.json +294 -0
  30. package/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +108 -107
  31. package/node_modules/aws-sdk/apis/eks-2017-11-01.min.json +211 -4
  32. package/node_modules/aws-sdk/apis/eks-2017-11-01.paginators.json +12 -0
  33. package/node_modules/aws-sdk/apis/eks-auth-2023-11-26.examples.json +5 -0
  34. package/node_modules/aws-sdk/apis/eks-auth-2023-11-26.min.json +104 -0
  35. package/node_modules/aws-sdk/apis/eks-auth-2023-11-26.paginators.json +4 -0
  36. package/node_modules/aws-sdk/apis/eks-auth-2023-11-26.waiters2.json +5 -0
  37. package/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json +71 -33
  38. package/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.paginators.json +18 -3
  39. package/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.min.json +403 -75
  40. package/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.paginators.json +15 -0
  41. package/node_modules/aws-sdk/apis/fis-2020-12-01.min.json +366 -15
  42. package/node_modules/aws-sdk/apis/fis-2020-12-01.paginators.json +10 -0
  43. package/node_modules/aws-sdk/apis/freetier-2023-09-07.examples.json +5 -0
  44. package/node_modules/aws-sdk/apis/freetier-2023-09-07.min.json +105 -0
  45. package/node_modules/aws-sdk/apis/freetier-2023-09-07.paginators.json +10 -0
  46. package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +259 -135
  47. package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +64 -0
  48. package/node_modules/aws-sdk/apis/iotfleetwise-2021-06-17.min.json +159 -33
  49. package/node_modules/aws-sdk/apis/lakeformation-2017-03-31.min.json +126 -35
  50. package/node_modules/aws-sdk/apis/logs-2014-03-28.min.json +310 -36
  51. package/node_modules/aws-sdk/apis/logs-2014-03-28.paginators.json +12 -0
  52. package/node_modules/aws-sdk/apis/managedblockchain-2018-09-24.min.json +58 -50
  53. package/node_modules/aws-sdk/apis/metadata.json +25 -0
  54. package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +633 -331
  55. package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.paginators.json +5 -0
  56. package/node_modules/aws-sdk/apis/personalize-2018-05-22.min.json +85 -52
  57. package/node_modules/aws-sdk/apis/personalize-events-2018-03-22.min.json +97 -5
  58. package/node_modules/aws-sdk/apis/personalize-runtime-2018-05-22.min.json +68 -11
  59. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +398 -268
  60. package/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +14 -2
  61. package/node_modules/aws-sdk/apis/repostspace-2022-05-13.examples.json +5 -0
  62. package/node_modules/aws-sdk/apis/repostspace-2022-05-13.min.json +447 -0
  63. package/node_modules/aws-sdk/apis/repostspace-2022-05-13.paginators.json +10 -0
  64. package/node_modules/aws-sdk/apis/runtime.lex.v2-2020-08-07.min.json +25 -24
  65. package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +142 -142
  66. package/node_modules/aws-sdk/apis/s3-2006-03-01.min.json +45 -0
  67. package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +1330 -314
  68. package/node_modules/aws-sdk/apis/s3control-2018-08-20.paginators.json +15 -0
  69. package/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.min.json +111 -50
  70. package/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.paginators.json +5 -0
  71. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.examples.json +526 -10
  72. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +1057 -352
  73. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.paginators.json +12 -0
  74. package/node_modules/aws-sdk/apis/states-2016-11-23.min.json +85 -0
  75. package/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json +268 -70
  76. package/node_modules/aws-sdk/apis/transcribe-2017-10-26.paginators.json +5 -0
  77. package/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json +119 -96
  78. package/node_modules/aws-sdk/apis/workspaces-thin-client-2023-08-22.examples.json +5 -0
  79. package/node_modules/aws-sdk/apis/workspaces-thin-client-2023-08-22.min.json +777 -0
  80. package/node_modules/aws-sdk/apis/workspaces-thin-client-2023-08-22.paginators.json +22 -0
  81. package/node_modules/aws-sdk/clients/accessanalyzer.d.ts +374 -5
  82. package/node_modules/aws-sdk/clients/all.d.ts +7 -0
  83. package/node_modules/aws-sdk/clients/all.js +8 -1
  84. package/node_modules/aws-sdk/clients/amp.d.ts +322 -0
  85. package/node_modules/aws-sdk/clients/appsync.d.ts +169 -0
  86. package/node_modules/aws-sdk/clients/b2bi.d.ts +1388 -0
  87. package/node_modules/aws-sdk/clients/b2bi.js +18 -0
  88. package/node_modules/aws-sdk/clients/backup.d.ts +848 -45
  89. package/node_modules/aws-sdk/clients/bcmdataexports.d.ts +589 -0
  90. package/node_modules/aws-sdk/clients/bcmdataexports.js +18 -0
  91. package/node_modules/aws-sdk/clients/cloudtrail.d.ts +76 -2
  92. package/node_modules/aws-sdk/clients/cloudwatchlogs.d.ts +413 -1
  93. package/node_modules/aws-sdk/clients/codestarconnections.d.ts +727 -0
  94. package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +307 -6
  95. package/node_modules/aws-sdk/clients/configservice.d.ts +60 -11
  96. package/node_modules/aws-sdk/clients/controltower.d.ts +319 -25
  97. package/node_modules/aws-sdk/clients/costoptimizationhub.d.ts +1283 -0
  98. package/node_modules/aws-sdk/clients/costoptimizationhub.js +18 -0
  99. package/node_modules/aws-sdk/clients/detective.d.ts +469 -0
  100. package/node_modules/aws-sdk/clients/ecs.d.ts +10 -5
  101. package/node_modules/aws-sdk/clients/efs.d.ts +75 -33
  102. package/node_modules/aws-sdk/clients/eks.d.ts +237 -15
  103. package/node_modules/aws-sdk/clients/eksauth.d.ts +124 -0
  104. package/node_modules/aws-sdk/clients/eksauth.js +19 -0
  105. package/node_modules/aws-sdk/clients/elbv2.d.ts +433 -4
  106. package/node_modules/aws-sdk/clients/fis.d.ts +383 -3
  107. package/node_modules/aws-sdk/clients/freetier.d.ts +149 -0
  108. package/node_modules/aws-sdk/clients/freetier.js +18 -0
  109. package/node_modules/aws-sdk/clients/fsx.d.ts +194 -21
  110. package/node_modules/aws-sdk/clients/glue.d.ts +3 -3
  111. package/node_modules/aws-sdk/clients/guardduty.d.ts +82 -11
  112. package/node_modules/aws-sdk/clients/iotfleetwise.d.ts +198 -13
  113. package/node_modules/aws-sdk/clients/lakeformation.d.ts +118 -2
  114. package/node_modules/aws-sdk/clients/lexmodelsv2.d.ts +343 -2
  115. package/node_modules/aws-sdk/clients/lexruntimev2.d.ts +14 -9
  116. package/node_modules/aws-sdk/clients/managedblockchain.d.ts +26 -5
  117. package/node_modules/aws-sdk/clients/personalize.d.ts +65 -20
  118. package/node_modules/aws-sdk/clients/personalizeevents.d.ts +102 -12
  119. package/node_modules/aws-sdk/clients/personalizeruntime.d.ts +72 -2
  120. package/node_modules/aws-sdk/clients/quicksight.d.ts +124 -0
  121. package/node_modules/aws-sdk/clients/rds.d.ts +80 -80
  122. package/node_modules/aws-sdk/clients/redshift.d.ts +16 -0
  123. package/node_modules/aws-sdk/clients/repostspace.d.ts +458 -0
  124. package/node_modules/aws-sdk/clients/repostspace.js +18 -0
  125. package/node_modules/aws-sdk/clients/s3.d.ts +2 -2
  126. package/node_modules/aws-sdk/clients/s3control.d.ts +841 -13
  127. package/node_modules/aws-sdk/clients/secretsmanager.d.ts +94 -5
  128. package/node_modules/aws-sdk/clients/securityhub.d.ts +908 -15
  129. package/node_modules/aws-sdk/clients/stepfunctions.d.ts +153 -8
  130. package/node_modules/aws-sdk/clients/transcribeservice.d.ts +312 -46
  131. package/node_modules/aws-sdk/clients/workspaces.d.ts +43 -1
  132. package/node_modules/aws-sdk/clients/workspacesthinclient.d.ts +895 -0
  133. package/node_modules/aws-sdk/clients/workspacesthinclient.js +18 -0
  134. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
  135. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +321 -55
  136. package/node_modules/aws-sdk/dist/aws-sdk.js +2045 -597
  137. package/node_modules/aws-sdk/dist/aws-sdk.min.js +104 -104
  138. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +14 -0
  139. package/node_modules/aws-sdk/lib/core.js +1 -1
  140. package/node_modules/aws-sdk/package.json +1 -1
  141. package/package.json +3 -3
@@ -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 get the secret value from SecretString or SecretBinary, call 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.
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 get the secret value from SecretString or SecretBinary, call 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.
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. You can use forward slashes in the name to represent a path hierarchy. For example, /prod/databases/dbserver1 could represent the secret for a server named dbserver1 in the folder databases in the folder prod.
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[];