aws-sdk 2.1502.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.
Files changed (121) hide show
  1. package/CHANGELOG.md +41 -1
  2. package/README.md +1 -3
  3. package/apis/accessanalyzer-2019-11-01.min.json +423 -86
  4. package/apis/accessanalyzer-2019-11-01.paginators.json +12 -0
  5. package/apis/amp-2020-08-01.min.json +320 -3
  6. package/apis/amp-2020-08-01.paginators.json +6 -0
  7. package/apis/amp-2020-08-01.waiters2.json +33 -0
  8. package/apis/bcm-data-exports-2023-11-26.examples.json +5 -0
  9. package/apis/bcm-data-exports-2023-11-26.min.json +470 -0
  10. package/apis/bcm-data-exports-2023-11-26.paginators.json +22 -0
  11. package/apis/cloudtrail-2013-11-01.min.json +67 -24
  12. package/apis/codestar-connections-2019-12-01.min.json +590 -3
  13. package/apis/codestar-connections-2019-12-01.paginators.json +10 -0
  14. package/apis/compute-optimizer-2019-11-01.min.json +243 -39
  15. package/apis/config-2014-11-12.min.json +204 -169
  16. package/apis/controltower-2018-05-10.min.json +249 -13
  17. package/apis/controltower-2018-05-10.paginators.json +6 -0
  18. package/apis/cost-optimization-hub-2022-07-26.examples.json +5 -0
  19. package/apis/cost-optimization-hub-2022-07-26.min.json +757 -0
  20. package/apis/cost-optimization-hub-2022-07-26.paginators.json +22 -0
  21. package/apis/detective-2018-10-26.min.json +294 -0
  22. package/apis/ecs-2014-11-13.min.json +108 -107
  23. package/apis/eks-2017-11-01.min.json +211 -4
  24. package/apis/eks-2017-11-01.paginators.json +12 -0
  25. package/apis/eks-auth-2023-11-26.examples.json +5 -0
  26. package/apis/eks-auth-2023-11-26.min.json +104 -0
  27. package/apis/eks-auth-2023-11-26.paginators.json +4 -0
  28. package/apis/eks-auth-2023-11-26.waiters2.json +5 -0
  29. package/apis/elasticfilesystem-2015-02-01.min.json +5 -1
  30. package/apis/elasticfilesystem-2015-02-01.paginators.json +18 -3
  31. package/apis/elasticloadbalancingv2-2015-12-01.min.json +403 -75
  32. package/apis/elasticloadbalancingv2-2015-12-01.paginators.json +15 -0
  33. package/apis/freetier-2023-09-07.examples.json +5 -0
  34. package/apis/freetier-2023-09-07.min.json +105 -0
  35. package/apis/freetier-2023-09-07.paginators.json +10 -0
  36. package/apis/fsx-2018-03-01.min.json +259 -135
  37. package/apis/guardduty-2017-11-28.min.json +64 -0
  38. package/apis/iotfleetwise-2021-06-17.min.json +159 -33
  39. package/apis/lakeformation-2017-03-31.min.json +126 -35
  40. package/apis/logs-2014-03-28.min.json +310 -36
  41. package/apis/logs-2014-03-28.paginators.json +12 -0
  42. package/apis/managedblockchain-2018-09-24.min.json +58 -50
  43. package/apis/metadata.json +22 -0
  44. package/apis/models.lex.v2-2020-08-07.min.json +633 -331
  45. package/apis/models.lex.v2-2020-08-07.paginators.json +5 -0
  46. package/apis/personalize-2018-05-22.min.json +85 -52
  47. package/apis/personalize-events-2018-03-22.min.json +97 -5
  48. package/apis/personalize-runtime-2018-05-22.min.json +68 -11
  49. package/apis/quicksight-2018-04-01.min.json +398 -268
  50. package/apis/redshift-2012-12-01.min.json +14 -2
  51. package/apis/repostspace-2022-05-13.examples.json +5 -0
  52. package/apis/repostspace-2022-05-13.min.json +447 -0
  53. package/apis/repostspace-2022-05-13.paginators.json +10 -0
  54. package/apis/runtime.lex.v2-2020-08-07.min.json +25 -24
  55. package/apis/s3-2006-03-01.examples.json +142 -142
  56. package/apis/s3-2006-03-01.min.json +45 -0
  57. package/apis/s3control-2018-08-20.min.json +1330 -314
  58. package/apis/s3control-2018-08-20.paginators.json +15 -0
  59. package/apis/secretsmanager-2017-10-17.min.json +111 -50
  60. package/apis/secretsmanager-2017-10-17.paginators.json +5 -0
  61. package/apis/securityhub-2018-10-26.examples.json +93 -2
  62. package/apis/securityhub-2018-10-26.min.json +551 -300
  63. package/apis/states-2016-11-23.min.json +85 -0
  64. package/apis/transcribe-2017-10-26.min.json +49 -38
  65. package/apis/workspaces-2015-04-08.min.json +119 -96
  66. package/apis/workspaces-thin-client-2023-08-22.examples.json +5 -0
  67. package/apis/workspaces-thin-client-2023-08-22.min.json +777 -0
  68. package/apis/workspaces-thin-client-2023-08-22.paginators.json +22 -0
  69. package/clients/accessanalyzer.d.ts +374 -5
  70. package/clients/all.d.ts +6 -0
  71. package/clients/all.js +7 -1
  72. package/clients/amp.d.ts +322 -0
  73. package/clients/bcmdataexports.d.ts +589 -0
  74. package/clients/bcmdataexports.js +18 -0
  75. package/clients/cloudtrail.d.ts +76 -2
  76. package/clients/cloudwatchlogs.d.ts +413 -1
  77. package/clients/codestarconnections.d.ts +727 -0
  78. package/clients/computeoptimizer.d.ts +307 -6
  79. package/clients/configservice.d.ts +60 -11
  80. package/clients/controltower.d.ts +258 -20
  81. package/clients/costoptimizationhub.d.ts +1283 -0
  82. package/clients/costoptimizationhub.js +18 -0
  83. package/clients/detective.d.ts +469 -0
  84. package/clients/ecs.d.ts +10 -5
  85. package/clients/efs.d.ts +39 -30
  86. package/clients/eks.d.ts +237 -15
  87. package/clients/eksauth.d.ts +124 -0
  88. package/clients/eksauth.js +19 -0
  89. package/clients/elbv2.d.ts +433 -4
  90. package/clients/freetier.d.ts +149 -0
  91. package/clients/freetier.js +18 -0
  92. package/clients/fsx.d.ts +194 -21
  93. package/clients/guardduty.d.ts +82 -11
  94. package/clients/iotfleetwise.d.ts +198 -13
  95. package/clients/lakeformation.d.ts +118 -2
  96. package/clients/lexmodelsv2.d.ts +343 -2
  97. package/clients/lexruntimev2.d.ts +14 -9
  98. package/clients/managedblockchain.d.ts +26 -5
  99. package/clients/personalize.d.ts +65 -20
  100. package/clients/personalizeevents.d.ts +102 -12
  101. package/clients/personalizeruntime.d.ts +72 -2
  102. package/clients/quicksight.d.ts +124 -0
  103. package/clients/redshift.d.ts +16 -0
  104. package/clients/repostspace.d.ts +458 -0
  105. package/clients/repostspace.js +18 -0
  106. package/clients/s3.d.ts +2 -2
  107. package/clients/s3control.d.ts +841 -13
  108. package/clients/secretsmanager.d.ts +94 -5
  109. package/clients/securityhub.d.ts +305 -2
  110. package/clients/stepfunctions.d.ts +153 -8
  111. package/clients/transcribeservice.d.ts +11 -1
  112. package/clients/workspaces.d.ts +43 -1
  113. package/clients/workspacesthinclient.d.ts +895 -0
  114. package/clients/workspacesthinclient.js +18 -0
  115. package/dist/aws-sdk-core-react-native.js +2 -2
  116. package/dist/aws-sdk-react-native.js +277 -48
  117. package/dist/aws-sdk.js +1976 -565
  118. package/dist/aws-sdk.min.js +104 -104
  119. package/lib/config_service_placeholders.d.ts +12 -0
  120. package/lib/core.js +1 -1
  121. package/package.json +1 -1
@@ -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[];
@@ -395,6 +395,14 @@ declare class SecurityHub extends Service {
395
395
  * Returns the details for the Security Hub member accounts for the specified account IDs. An administrator account can be either the delegated Security Hub administrator account for an organization or an administrator account that enabled Security Hub manually. The results include both member accounts that are managed using Organizations and accounts that were invited manually.
396
396
  */
397
397
  getMembers(callback?: (err: AWSError, data: SecurityHub.Types.GetMembersResponse) => void): Request<SecurityHub.Types.GetMembersResponse, AWSError>;
398
+ /**
399
+ * Retrieves the definition of a security control. The definition includes the control title, description, Region availability, parameter definitions, and other details.
400
+ */
401
+ getSecurityControlDefinition(params: SecurityHub.Types.GetSecurityControlDefinitionRequest, callback?: (err: AWSError, data: SecurityHub.Types.GetSecurityControlDefinitionResponse) => void): Request<SecurityHub.Types.GetSecurityControlDefinitionResponse, AWSError>;
402
+ /**
403
+ * Retrieves the definition of a security control. The definition includes the control title, description, Region availability, parameter definitions, and other details.
404
+ */
405
+ getSecurityControlDefinition(callback?: (err: AWSError, data: SecurityHub.Types.GetSecurityControlDefinitionResponse) => void): Request<SecurityHub.Types.GetSecurityControlDefinitionResponse, AWSError>;
398
406
  /**
399
407
  * Invites other Amazon Web Services accounts to become member accounts for the Security Hub administrator account that the invitation is sent from. This operation is only used to invite accounts that do not belong to an organization. Organization accounts do not receive invitations. Before you can use this action to invite a member, you must first use the CreateMembers action to create the member account in Security Hub. When the account owner enables Security Hub and accepts the invitation to become a member account, the administrator account can view the findings generated from the member account.
400
408
  */
@@ -531,6 +539,14 @@ declare class SecurityHub extends Service {
531
539
  * Used to update the configuration related to Organizations. Can only be called from a Security Hub administrator account.
532
540
  */
533
541
  updateOrganizationConfiguration(callback?: (err: AWSError, data: SecurityHub.Types.UpdateOrganizationConfigurationResponse) => void): Request<SecurityHub.Types.UpdateOrganizationConfigurationResponse, AWSError>;
542
+ /**
543
+ * Updates the properties of a security control.
544
+ */
545
+ updateSecurityControl(params: SecurityHub.Types.UpdateSecurityControlRequest, callback?: (err: AWSError, data: SecurityHub.Types.UpdateSecurityControlResponse) => void): Request<SecurityHub.Types.UpdateSecurityControlResponse, AWSError>;
546
+ /**
547
+ * Updates the properties of a security control.
548
+ */
549
+ updateSecurityControl(callback?: (err: AWSError, data: SecurityHub.Types.UpdateSecurityControlResponse) => void): Request<SecurityHub.Types.UpdateSecurityControlResponse, AWSError>;
534
550
  /**
535
551
  * Updates configuration options for Security Hub.
536
552
  */
@@ -696,6 +712,7 @@ declare namespace SecurityHub {
696
712
  export type AdminAccounts = AdminAccount[];
697
713
  export type AdminStatus = "ENABLED"|"DISABLE_IN_PROGRESS"|string;
698
714
  export type AdminsMaxResults = number;
715
+ export type AlphaNumericNonEmptyString = string;
699
716
  export type ArnList = NonEmptyString[];
700
717
  export interface AssociatedStandard {
701
718
  /**
@@ -10805,6 +10822,22 @@ declare namespace SecurityHub {
10805
10822
  * The unique identifier of a standard in which a control is enabled. This field consists of the resource portion of the Amazon Resource Name (ARN) returned for a standard in the DescribeStandards API response.
10806
10823
  */
10807
10824
  ComplianceAssociatedStandardsId?: StringFilterList;
10825
+ /**
10826
+ * Indicates whether a software vulnerability in your environment has a known exploit. You can filter findings by this field only if you use Security Hub and Amazon Inspector.
10827
+ */
10828
+ VulnerabilitiesExploitAvailable?: StringFilterList;
10829
+ /**
10830
+ * Indicates whether a vulnerability is fixed in a newer version of the affected software packages. You can filter findings by this field only if you use Security Hub and Amazon Inspector.
10831
+ */
10832
+ VulnerabilitiesFixAvailable?: StringFilterList;
10833
+ /**
10834
+ * The name of a security control parameter.
10835
+ */
10836
+ ComplianceSecurityControlParametersName?: StringFilterList;
10837
+ /**
10838
+ * The current value of a security control parameter.
10839
+ */
10840
+ ComplianceSecurityControlParametersValue?: StringFilterList;
10808
10841
  }
10809
10842
  export interface AwsSecurityFindingIdentifier {
10810
10843
  /**
@@ -11806,6 +11839,12 @@ declare namespace SecurityHub {
11806
11839
  UnprocessedAssociationUpdates?: UnprocessedStandardsControlAssociationUpdates;
11807
11840
  }
11808
11841
  export type Boolean = boolean;
11842
+ export interface BooleanConfigurationOptions {
11843
+ /**
11844
+ * The Security Hub default value for a boolean parameter.
11845
+ */
11846
+ DefaultValue?: Boolean;
11847
+ }
11809
11848
  export interface BooleanFilter {
11810
11849
  /**
11811
11850
  * The value of the boolean.
@@ -11943,8 +11982,46 @@ declare namespace SecurityHub {
11943
11982
  * The enabled security standards in which a security control is currently enabled.
11944
11983
  */
11945
11984
  AssociatedStandards?: AssociatedStandardsList;
11985
+ /**
11986
+ * An object that includes security control parameter names and values.
11987
+ */
11988
+ SecurityControlParameters?: SecurityControlParametersList;
11946
11989
  }
11947
11990
  export type ComplianceStatus = "PASSED"|"WARNING"|"FAILED"|"NOT_AVAILABLE"|string;
11991
+ export interface ConfigurationOptions {
11992
+ /**
11993
+ * The options for customizing a security control parameter that is an integer.
11994
+ */
11995
+ Integer?: IntegerConfigurationOptions;
11996
+ /**
11997
+ * The options for customizing a security control parameter that is a list of integers.
11998
+ */
11999
+ IntegerList?: IntegerListConfigurationOptions;
12000
+ /**
12001
+ * The options for customizing a security control parameter that is a double.
12002
+ */
12003
+ Double?: DoubleConfigurationOptions;
12004
+ /**
12005
+ * The options for customizing a security control parameter that is a string data type.
12006
+ */
12007
+ String?: StringConfigurationOptions;
12008
+ /**
12009
+ * The options for customizing a security control parameter that is a list of strings.
12010
+ */
12011
+ StringList?: StringListConfigurationOptions;
12012
+ /**
12013
+ * The options for customizing a security control parameter that is a boolean. For a boolean parameter, the options are true and false.
12014
+ */
12015
+ Boolean?: BooleanConfigurationOptions;
12016
+ /**
12017
+ * The options for customizing a security control parameter that is an enum.
12018
+ */
12019
+ Enum?: EnumConfigurationOptions;
12020
+ /**
12021
+ * The options for customizing a security control parameter that is a list of enums.
12022
+ */
12023
+ EnumList?: EnumListConfigurationOptions;
12024
+ }
11948
12025
  export interface ContainerDetails {
11949
12026
  /**
11950
12027
  * The runtime of the container.
@@ -12137,6 +12214,7 @@ declare namespace SecurityHub {
12137
12214
  */
12138
12215
  TotalCount?: Long;
12139
12216
  }
12217
+ export type CustomizableProperties = SecurityControlProperty[];
12140
12218
  export interface Cvss {
12141
12219
  /**
12142
12220
  * The version of CVSS for the CVSS score.
@@ -12447,6 +12525,20 @@ declare namespace SecurityHub {
12447
12525
  Blocked?: Boolean;
12448
12526
  }
12449
12527
  export type Double = number;
12528
+ export interface DoubleConfigurationOptions {
12529
+ /**
12530
+ * The Security Hub default value for a control parameter that is a double.
12531
+ */
12532
+ DefaultValue?: Double;
12533
+ /**
12534
+ * The minimum valid value for a control parameter that is a double.
12535
+ */
12536
+ Min?: Double;
12537
+ /**
12538
+ * The maximum valid value for a control parameter that is a double.
12539
+ */
12540
+ Max?: Double;
12541
+ }
12450
12542
  export interface EnableImportFindingsForProductRequest {
12451
12543
  /**
12452
12544
  * The ARN of the product to enable the integration for.
@@ -12483,6 +12575,30 @@ declare namespace SecurityHub {
12483
12575
  }
12484
12576
  export interface EnableSecurityHubResponse {
12485
12577
  }
12578
+ export interface EnumConfigurationOptions {
12579
+ /**
12580
+ * The Security Hub default value for a control parameter that is an enum.
12581
+ */
12582
+ DefaultValue?: NonEmptyString;
12583
+ /**
12584
+ * The valid values for a control parameter that is an enum.
12585
+ */
12586
+ AllowedValues?: StringList;
12587
+ }
12588
+ export interface EnumListConfigurationOptions {
12589
+ /**
12590
+ * The Security Hub default value for a control parameter that is a list of enums.
12591
+ */
12592
+ DefaultValue?: StringList;
12593
+ /**
12594
+ * The maximum number of list items that an enum list control parameter can accept.
12595
+ */
12596
+ MaxItems?: Integer;
12597
+ /**
12598
+ * The valid values for a control parameter that is a list of enums.
12599
+ */
12600
+ AllowedValues?: StringList;
12601
+ }
12486
12602
  export type FieldMap = {[key: string]: NonEmptyString};
12487
12603
  export type FilePathList = FilePaths[];
12488
12604
  export interface FilePaths {
@@ -12845,6 +12961,15 @@ declare namespace SecurityHub {
12845
12961
  */
12846
12962
  UnprocessedAccounts?: ResultList;
12847
12963
  }
12964
+ export interface GetSecurityControlDefinitionRequest {
12965
+ /**
12966
+ * The ID of the security control to retrieve the definition for. This field doesn’t accept an Amazon Resource Name (ARN).
12967
+ */
12968
+ SecurityControlId: NonEmptyString;
12969
+ }
12970
+ export interface GetSecurityControlDefinitionResponse {
12971
+ SecurityControlDefinition: SecurityControlDefinition;
12972
+ }
12848
12973
  export interface IcmpTypeCode {
12849
12974
  /**
12850
12975
  * The ICMP code for which to deny or allow access. To deny or allow all codes, use the value -1.
@@ -12915,7 +13040,39 @@ declare namespace SecurityHub {
12915
13040
  ResultValues: InsightResultValueList;
12916
13041
  }
12917
13042
  export type Integer = number;
13043
+ export interface IntegerConfigurationOptions {
13044
+ /**
13045
+ * The Security Hub default value for a control parameter that is an integer.
13046
+ */
13047
+ DefaultValue?: Integer;
13048
+ /**
13049
+ * The minimum valid value for a control parameter that is an integer.
13050
+ */
13051
+ Min?: Integer;
13052
+ /**
13053
+ * The maximum valid value for a control parameter that is an integer.
13054
+ */
13055
+ Max?: Integer;
13056
+ }
12918
13057
  export type IntegerList = Integer[];
13058
+ export interface IntegerListConfigurationOptions {
13059
+ /**
13060
+ * The Security Hub default value for a control parameter that is a list of integers.
13061
+ */
13062
+ DefaultValue?: IntegerList;
13063
+ /**
13064
+ * The minimum valid value for a control parameter that is a list of integers.
13065
+ */
13066
+ Min?: Integer;
13067
+ /**
13068
+ * The maximum valid value for a control parameter that is a list of integers.
13069
+ */
13070
+ Max?: Integer;
13071
+ /**
13072
+ * The maximum number of list items that an interger list control parameter can accept.
13073
+ */
13074
+ MaxItems?: Integer;
13075
+ }
12919
13076
  export type IntegrationType = "SEND_FINDINGS_TO_SECURITY_HUB"|"RECEIVE_FINDINGS_FROM_SECURITY_HUB"|"UPDATE_FINDINGS_IN_SECURITY_HUB"|string;
12920
13077
  export type IntegrationTypeList = IntegrationType[];
12921
13078
  export interface Invitation {
@@ -13420,6 +13577,14 @@ declare namespace SecurityHub {
13420
13577
  * The equal-to condition to be applied to a single field when querying for findings.
13421
13578
  */
13422
13579
  Eq?: Double;
13580
+ /**
13581
+ * The greater-than condition to be applied to a single field when querying for findings.
13582
+ */
13583
+ Gt?: Double;
13584
+ /**
13585
+ * The less-than condition to be applied to a single field when querying for findings.
13586
+ */
13587
+ Lt?: Double;
13423
13588
  }
13424
13589
  export type NumberFilterList = NumberFilter[];
13425
13590
  export interface Occurrences {
@@ -13459,6 +13624,63 @@ declare namespace SecurityHub {
13459
13624
  OffsetRange?: Range;
13460
13625
  }
13461
13626
  export type Pages = Page[];
13627
+ export interface ParameterConfiguration {
13628
+ /**
13629
+ * Identifies whether a control parameter uses a custom user-defined value or the Security Hub default value.
13630
+ */
13631
+ ValueType: ParameterValueType;
13632
+ /**
13633
+ * The current value of a control parameter.
13634
+ */
13635
+ Value?: ParameterValue;
13636
+ }
13637
+ export interface ParameterDefinition {
13638
+ /**
13639
+ * Description of a control parameter.
13640
+ */
13641
+ Description: NonEmptyString;
13642
+ /**
13643
+ * The options for customizing a control parameter. Customization options vary based on the data type of the parameter.
13644
+ */
13645
+ ConfigurationOptions: ConfigurationOptions;
13646
+ }
13647
+ export type ParameterDefinitions = {[key: string]: ParameterDefinition};
13648
+ export interface ParameterValue {
13649
+ /**
13650
+ * A control parameter that is an integer.
13651
+ */
13652
+ Integer?: Integer;
13653
+ /**
13654
+ * A control parameter that is a list of integers.
13655
+ */
13656
+ IntegerList?: IntegerList;
13657
+ /**
13658
+ * A control parameter that is a double.
13659
+ */
13660
+ Double?: Double;
13661
+ /**
13662
+ * A control parameter that is a string.
13663
+ */
13664
+ String?: NonEmptyString;
13665
+ /**
13666
+ * A control parameter that is a list of strings.
13667
+ */
13668
+ StringList?: StringList;
13669
+ /**
13670
+ * A control parameter that is a boolean.
13671
+ */
13672
+ Boolean?: Boolean;
13673
+ /**
13674
+ * A control parameter that is an enum.
13675
+ */
13676
+ Enum?: NonEmptyString;
13677
+ /**
13678
+ * A control parameter that is a list of enums.
13679
+ */
13680
+ EnumList?: StringList;
13681
+ }
13682
+ export type ParameterValueType = "DEFAULT"|"CUSTOM"|string;
13683
+ export type Parameters = {[key: string]: ParameterConfiguration};
13462
13684
  export type Partition = "aws"|"aws-cn"|"aws-us-gov"|string;
13463
13685
  export interface PatchSummary {
13464
13686
  /**
@@ -14438,6 +14660,18 @@ declare namespace SecurityHub {
14438
14660
  * The enablement status of a security control in a specific standard.
14439
14661
  */
14440
14662
  SecurityControlStatus: ControlStatus;
14663
+ /**
14664
+ * Identifies whether customizable properties of a security control are reflected in Security Hub findings. A status of READY indicates findings include the current parameter values. A status of UPDATING indicates that all findings may not include the current parameter values.
14665
+ */
14666
+ UpdateStatus?: UpdateStatus;
14667
+ /**
14668
+ * An object that identifies the name of a control parameter, its current value, and whether it has been customized.
14669
+ */
14670
+ Parameters?: Parameters;
14671
+ /**
14672
+ * The most recent reason for updating the customizable properties of a security control. This differs from the UpdateReason field of the BatchUpdateStandardsControlAssociations API, which tracks the reason for updating the enablement status of a control. This field accepts alphanumeric characters in addition to white spaces, dashes, and underscores.
14673
+ */
14674
+ LastUpdateReason?: AlphaNumericNonEmptyString;
14441
14675
  }
14442
14676
  export interface SecurityControlDefinition {
14443
14677
  /**
@@ -14464,8 +14698,28 @@ declare namespace SecurityHub {
14464
14698
  * Specifies whether a security control is available in the current Amazon Web Services Region.
14465
14699
  */
14466
14700
  CurrentRegionAvailability: RegionAvailabilityStatus;
14701
+ /**
14702
+ * Security control properties that you can customize. Currently, only parameter customization is supported for select controls. An empty array is returned for controls that don’t support custom properties.
14703
+ */
14704
+ CustomizableProperties?: CustomizableProperties;
14705
+ /**
14706
+ * An object that provides a security control parameter name, description, and the options for customizing it. This object is excluded for a control that doesn't support custom parameters.
14707
+ */
14708
+ ParameterDefinitions?: ParameterDefinitions;
14467
14709
  }
14468
14710
  export type SecurityControlDefinitions = SecurityControlDefinition[];
14711
+ export interface SecurityControlParameter {
14712
+ /**
14713
+ * The name of a
14714
+ */
14715
+ Name?: NonEmptyString;
14716
+ /**
14717
+ * The current value of a control parameter.
14718
+ */
14719
+ Value?: TypeList;
14720
+ }
14721
+ export type SecurityControlParametersList = SecurityControlParameter[];
14722
+ export type SecurityControlProperty = "Parameters"|string;
14469
14723
  export type SecurityControls = SecurityControl[];
14470
14724
  export type SecurityGroups = NonEmptyString[];
14471
14725
  export interface SensitiveDataDetections {
@@ -14500,7 +14754,7 @@ declare namespace SecurityHub {
14500
14754
  export type SensitiveDataResultList = SensitiveDataResult[];
14501
14755
  export interface Severity {
14502
14756
  /**
14503
- * Deprecated. This attribute is being deprecated. Instead of providing Product, provide Original. The native severity as defined by the Amazon Web Services service or integrated partner product that generated the finding.
14757
+ * Deprecated. This attribute isn't included in findings. Instead of providing Product, provide Original. The native severity as defined by the Amazon Web Services service or integrated partner product that generated the finding.
14504
14758
  */
14505
14759
  Product?: Double;
14506
14760
  /**
@@ -14508,7 +14762,7 @@ declare namespace SecurityHub {
14508
14762
  */
14509
14763
  Label?: SeverityLabel;
14510
14764
  /**
14511
- * Deprecated. The normalized severity of a finding. This attribute is being deprecated. Instead of providing Normalized, provide Label. If you provide Label and do not provide Normalized, then Normalized is set automatically as follows. INFORMATIONAL - 0 LOW - 1 MEDIUM - 40 HIGH - 70 CRITICAL - 90
14765
+ * Deprecated. The normalized severity of a finding. Instead of providing Normalized, provide Label. If you provide Label and do not provide Normalized, then Normalized is set automatically as follows. INFORMATIONAL - 0 LOW - 1 MEDIUM - 40 HIGH - 70 CRITICAL - 90
14512
14766
  */
14513
14767
  Normalized?: Integer;
14514
14768
  /**
@@ -14855,6 +15109,20 @@ declare namespace SecurityHub {
14855
15109
  }
14856
15110
  export type StatusReasonCode = "NO_AVAILABLE_CONFIGURATION_RECORDER"|"INTERNAL_ERROR"|string;
14857
15111
  export type StatusReasonsList = StatusReason[];
15112
+ export interface StringConfigurationOptions {
15113
+ /**
15114
+ * The Security Hub default value for a control parameter that is a string.
15115
+ */
15116
+ DefaultValue?: NonEmptyString;
15117
+ /**
15118
+ * An RE2 regular expression that Security Hub uses to validate a user-provided control parameter string.
15119
+ */
15120
+ Re2Expression?: NonEmptyString;
15121
+ /**
15122
+ * The description of the RE2 regular expression.
15123
+ */
15124
+ ExpressionDescription?: NonEmptyString;
15125
+ }
14858
15126
  export interface StringFilter {
14859
15127
  /**
14860
15128
  * The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub. If you provide security hub as the filter value, there's no match.
@@ -14868,6 +15136,24 @@ declare namespace SecurityHub {
14868
15136
  export type StringFilterComparison = "EQUALS"|"PREFIX"|"NOT_EQUALS"|"PREFIX_NOT_EQUALS"|"CONTAINS"|"NOT_CONTAINS"|string;
14869
15137
  export type StringFilterList = StringFilter[];
14870
15138
  export type StringList = NonEmptyString[];
15139
+ export interface StringListConfigurationOptions {
15140
+ /**
15141
+ * The Security Hub default value for a control parameter that is a list of strings.
15142
+ */
15143
+ DefaultValue?: StringList;
15144
+ /**
15145
+ * An RE2 regular expression that Security Hub uses to validate a user-provided list of strings for a control parameter.
15146
+ */
15147
+ Re2Expression?: NonEmptyString;
15148
+ /**
15149
+ * The maximum number of list items that a string list control parameter can accept.
15150
+ */
15151
+ MaxItems?: Integer;
15152
+ /**
15153
+ * The description of the RE2 regular expression.
15154
+ */
15155
+ ExpressionDescription?: NonEmptyString;
15156
+ }
14871
15157
  export type TagKey = string;
14872
15158
  export type TagKeyList = TagKey[];
14873
15159
  export type TagMap = {[key: string]: TagValue};
@@ -15138,6 +15424,22 @@ declare namespace SecurityHub {
15138
15424
  }
15139
15425
  export interface UpdateOrganizationConfigurationResponse {
15140
15426
  }
15427
+ export interface UpdateSecurityControlRequest {
15428
+ /**
15429
+ * The Amazon Resource Name (ARN) or ID of the control to update.
15430
+ */
15431
+ SecurityControlId: NonEmptyString;
15432
+ /**
15433
+ * An object that specifies which security control parameters to update.
15434
+ */
15435
+ Parameters: Parameters;
15436
+ /**
15437
+ * The most recent reason for updating the properties of the security control. This field accepts alphanumeric characters in addition to white spaces, dashes, and underscores.
15438
+ */
15439
+ LastUpdateReason?: AlphaNumericNonEmptyString;
15440
+ }
15441
+ export interface UpdateSecurityControlResponse {
15442
+ }
15141
15443
  export interface UpdateSecurityHubConfigurationRequest {
15142
15444
  /**
15143
15445
  * Whether to automatically enable new controls when they are added to standards that are enabled. By default, this is set to true, and new controls are enabled automatically. To not automatically enable new controls, set this to false.
@@ -15166,6 +15468,7 @@ declare namespace SecurityHub {
15166
15468
  }
15167
15469
  export interface UpdateStandardsControlResponse {
15168
15470
  }
15471
+ export type UpdateStatus = "READY"|"UPDATING"|string;
15169
15472
  export type VerificationState = "UNKNOWN"|"TRUE_POSITIVE"|"FALSE_POSITIVE"|"BENIGN_POSITIVE"|string;
15170
15473
  export interface VolumeMount {
15171
15474
  /**