aws-sdk-secretsmanager 1.69.0 → 1.70.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc0ff5feca9ac6b712aeb0e2dddc7f1111a0559e20ff191c97ad4aaa516f0ebf
4
- data.tar.gz: c86dd204ca83ac9cfa57e0569a2c839f304ee3fcb98cb3e3bdc071508fe10078
3
+ metadata.gz: a891ecc91bb9b24a02af41ad8598be6db0b090c889b06ca923418913ebd49052
4
+ data.tar.gz: 3d0155ca46e14988295b03922377d1d513c3fa22b5c473d7065a9beee53c11cc
5
5
  SHA512:
6
- metadata.gz: b18c25898ad3591d6e1bd90731469b669ec0896fde5bfa7447922f24b02eeef95968360c687ab07e9fde9e7f5cef7cd05ca0dfcb375d67c087e0b180e8c0bff7
7
- data.tar.gz: 7e24ae8e98ed0e5b541e5e50f5a71030114b5e196c8e38625e0c1fefed69c3d67355b86827329ca98b006230bfbcbce47b45481b6ad191dfcd38ec0cb81ec49d
6
+ metadata.gz: cee58913dd159e16235427b18fa73399c6e892bad541fee74a79068f2bb639aed062d72adc992027b9bc05b133a90aad0b67356bcc7d581cd539206f5b9ca57e
7
+ data.tar.gz: 05de315397bd20563b8cd8cb4105d0c1cd5b3faead360f15effda07aaa2e390c6820016dfbbe57967833959f5b094daf2785e40f9d10960b862f3388951bb882
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.70.0 (2022-12-29)
5
+ ------------------
6
+
7
+ * Feature - Added owning service filter, include planned deletion flag, and next rotation date response parameter in ListSecrets.
8
+
4
9
  1.69.0 (2022-12-22)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.69.0
1
+ 1.70.0
@@ -471,12 +471,8 @@ module Aws::SecretsManager
471
471
  # secret in Secrets Manager consists of both the protected secret data
472
472
  # and the important information needed to manage the secret.
473
473
  #
474
- # For secrets that use *managed rotation*, you need to create the secret
475
- # through the managing service. For more information, see [Secrets
476
- # Manager secrets managed by other Amazon Web Services services][1].
477
- #
478
474
  # For information about creating a secret in the console, see [Create a
479
- # secret][2].
475
+ # secret][1].
480
476
  #
481
477
  # To create a secret, you can provide the secret value to be encrypted
482
478
  # in either the `SecretString` parameter or the `SecretBinary`
@@ -487,7 +483,7 @@ module Aws::SecretsManager
487
483
  # For database credentials you want to rotate, for Secrets Manager to be
488
484
  # able to rotate the secret, you must make sure the JSON you store in
489
485
  # the `SecretString` matches the [JSON structure of a database
490
- # secret][3].
486
+ # secret][2].
491
487
  #
492
488
  # If you don't specify an KMS encryption key, Secrets Manager uses the
493
489
  # Amazon Web Services managed key `aws/secretsmanager`. If this key
@@ -506,13 +502,13 @@ module Aws::SecretsManager
506
502
  # action. Do not include sensitive information in request parameters
507
503
  # except `SecretBinary` or `SecretString` because it might be logged.
508
504
  # For more information, see [Logging Secrets Manager events with
509
- # CloudTrail][4].
505
+ # CloudTrail][3].
510
506
  #
511
507
  # <b>Required permissions: </b> `secretsmanager:CreateSecret`. If you
512
508
  # include tags in the secret, you also need
513
509
  # `secretsmanager:TagResource`. For more information, see [ IAM policy
514
- # actions for Secrets Manager][5] and [Authentication and access control
515
- # in Secrets Manager][6].
510
+ # actions for Secrets Manager][4] and [Authentication and access control
511
+ # in Secrets Manager][5].
516
512
  #
517
513
  # To encrypt the secret with a KMS key other than `aws/secretsmanager`,
518
514
  # you need `kms:GenerateDataKey` and `kms:Decrypt` permission to the
@@ -520,12 +516,11 @@ module Aws::SecretsManager
520
516
  #
521
517
  #
522
518
  #
523
- # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/service-linked-secrets.html
524
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_create-basic-secret.html
525
- # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_secret_json_structure.html
526
- # [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
527
- # [5]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
528
- # [6]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
519
+ # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_create-basic-secret.html
520
+ # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_secret_json_structure.html
521
+ # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
522
+ # [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
523
+ # [5]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
529
524
  #
530
525
  # @option params [required, String] :name
531
526
  # The name of the new secret.
@@ -1006,6 +1001,7 @@ module Aws::SecretsManager
1006
1001
  # * {Types::DescribeSecretResponse#last_changed_date #last_changed_date} => Time
1007
1002
  # * {Types::DescribeSecretResponse#last_accessed_date #last_accessed_date} => Time
1008
1003
  # * {Types::DescribeSecretResponse#deleted_date #deleted_date} => Time
1004
+ # * {Types::DescribeSecretResponse#next_rotation_date #next_rotation_date} => Time
1009
1005
  # * {Types::DescribeSecretResponse#tags #tags} => Array&lt;Types::Tag&gt;
1010
1006
  # * {Types::DescribeSecretResponse#version_ids_to_stages #version_ids_to_stages} => Hash&lt;String,Array&lt;String&gt;&gt;
1011
1007
  # * {Types::DescribeSecretResponse#owning_service #owning_service} => String
@@ -1079,6 +1075,7 @@ module Aws::SecretsManager
1079
1075
  # resp.last_changed_date #=> Time
1080
1076
  # resp.last_accessed_date #=> Time
1081
1077
  # resp.deleted_date #=> Time
1078
+ # resp.next_rotation_date #=> Time
1082
1079
  # resp.tags #=> Array
1083
1080
  # resp.tags[0].key #=> String
1084
1081
  # resp.tags[0].value #=> String
@@ -1564,6 +1561,8 @@ module Aws::SecretsManager
1564
1561
  # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
1565
1562
  # [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
1566
1563
  #
1564
+ # @option params [Boolean] :include_planned_deletion
1565
+ #
1567
1566
  # @option params [Integer] :max_results
1568
1567
  # The number of results to include in the response.
1569
1568
  #
@@ -1628,11 +1627,12 @@ module Aws::SecretsManager
1628
1627
  # @example Request syntax with placeholder values
1629
1628
  #
1630
1629
  # resp = client.list_secrets({
1630
+ # include_planned_deletion: false,
1631
1631
  # max_results: 1,
1632
1632
  # next_token: "NextTokenType",
1633
1633
  # filters: [
1634
1634
  # {
1635
- # key: "description", # accepts description, name, tag-key, tag-value, primary-region, all
1635
+ # key: "description", # accepts description, name, tag-key, tag-value, primary-region, owning-service, all
1636
1636
  # values: ["FilterValueStringType"],
1637
1637
  # },
1638
1638
  # ],
@@ -1655,6 +1655,7 @@ module Aws::SecretsManager
1655
1655
  # resp.secret_list[0].last_changed_date #=> Time
1656
1656
  # resp.secret_list[0].last_accessed_date #=> Time
1657
1657
  # resp.secret_list[0].deleted_date #=> Time
1658
+ # resp.secret_list[0].next_rotation_date #=> Time
1658
1659
  # resp.secret_list[0].tags #=> Array
1659
1660
  # resp.secret_list[0].tags[0].key #=> String
1660
1661
  # resp.secret_list[0].tags[0].value #=> String
@@ -2144,42 +2145,66 @@ module Aws::SecretsManager
2144
2145
  end
2145
2146
 
2146
2147
  # Configures and starts the asynchronous process of rotating the secret.
2147
- # For information about rotation, see [Rotate secrets][1] in the
2148
- # *Secrets Manager User Guide*. If you include the configuration
2149
- # parameters, the operation sets the values for the secret and then
2150
- # immediately starts a rotation. If you don't include the configuration
2151
- # parameters, the operation starts a rotation with the values already
2152
- # stored in the secret.
2148
+ # For more information about rotation, see [Rotate secrets][1].
2149
+ #
2150
+ # If you include the configuration parameters, the operation sets the
2151
+ # values for the secret and then immediately starts a rotation. If you
2152
+ # don't include the configuration parameters, the operation starts a
2153
+ # rotation with the values already stored in the secret.
2154
+ #
2155
+ # For database credentials you want to rotate, for Secrets Manager to be
2156
+ # able to rotate the secret, you must make sure the secret value is in
2157
+ # the [ JSON structure of a database secret][2]. In particular, if you
2158
+ # want to use the [ alternating users strategy][3], your secret must
2159
+ # contain the ARN of a superuser secret.
2160
+ #
2161
+ # To configure rotation, you also need the ARN of an Amazon Web Services
2162
+ # Lambda function and the schedule for the rotation. The Lambda rotation
2163
+ # function creates a new version of the secret and creates or updates
2164
+ # the credentials on the database or service to match. After testing the
2165
+ # new credentials, the function marks the new secret version with the
2166
+ # staging label `AWSCURRENT`. Then anyone who retrieves the secret gets
2167
+ # the new version. For more information, see [How rotation works][4].
2168
+ #
2169
+ # You can create the Lambda rotation function based on the [rotation
2170
+ # function templates][5] that Secrets Manager provides. Choose a
2171
+ # template that matches your [Rotation strategy][6].
2153
2172
  #
2154
2173
  # When rotation is successful, the `AWSPENDING` staging label might be
2155
2174
  # attached to the same version as the `AWSCURRENT` version, or it might
2156
2175
  # not be attached to any version. If the `AWSPENDING` staging label is
2157
2176
  # present but not attached to the same version as `AWSCURRENT`, then any
2158
2177
  # later invocation of `RotateSecret` assumes that a previous rotation
2159
- # request is still in progress and returns an error. When rotation is
2160
- # unsuccessful, the `AWSPENDING` staging label might be attached to an
2161
- # empty secret version. For more information, see [Troubleshoot
2162
- # rotation][2] in the *Secrets Manager User Guide*.
2178
+ # request is still in progress and returns an error.
2179
+ #
2180
+ # When rotation is unsuccessful, the `AWSPENDING` staging label might be
2181
+ # attached to an empty secret version. For more information, see
2182
+ # [Troubleshoot rotation][7] in the *Secrets Manager User Guide*.
2163
2183
  #
2164
2184
  # Secrets Manager generates a CloudTrail log entry when you call this
2165
2185
  # action. Do not include sensitive information in request parameters
2166
2186
  # because it might be logged. For more information, see [Logging Secrets
2167
- # Manager events with CloudTrail][3].
2187
+ # Manager events with CloudTrail][8].
2168
2188
  #
2169
2189
  # <b>Required permissions: </b> `secretsmanager:RotateSecret`. For more
2170
- # information, see [ IAM policy actions for Secrets Manager][4] and
2171
- # [Authentication and access control in Secrets Manager][5]. You also
2190
+ # information, see [ IAM policy actions for Secrets Manager][9] and
2191
+ # [Authentication and access control in Secrets Manager][10]. You also
2172
2192
  # need `lambda:InvokeFunction` permissions on the rotation function. For
2173
- # more information, see [ Permissions for rotation][6].
2193
+ # more information, see [ Permissions for rotation][11].
2174
2194
  #
2175
2195
  #
2176
2196
  #
2177
2197
  # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets.html
2178
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot_rotation.html
2179
- # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
2180
- # [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
2181
- # [5]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
2182
- # [6]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets-required-permissions-function.html
2198
+ # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_secret_json_structure.html
2199
+ # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets_strategies.html#rotating-secrets-two-users
2200
+ # [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_how.html
2201
+ # [5]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html
2202
+ # [6]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets_strategies.html
2203
+ # [7]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot_rotation.html
2204
+ # [8]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
2205
+ # [9]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
2206
+ # [10]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
2207
+ # [11]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets-required-permissions-function.html
2183
2208
  #
2184
2209
  # @option params [required, String] :secret_id
2185
2210
  # The ARN or name of the secret to rotate.
@@ -2219,16 +2244,7 @@ module Aws::SecretsManager
2219
2244
  # [1]: https://wikipedia.org/wiki/Universally_unique_identifier
2220
2245
  #
2221
2246
  # @option params [String] :rotation_lambda_arn
2222
- # For secrets that use a Lambda rotation function to rotate, the ARN of
2223
- # the Lambda rotation function.
2224
- #
2225
- # For secrets that use *managed rotation*, omit this field. For more
2226
- # information, see [Managed rotation][1] in the *Secrets Manager User
2227
- # Guide*.
2228
- #
2229
- #
2230
- #
2231
- # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_managed.html
2247
+ # The ARN of the Lambda rotation function that can rotate the secret.
2232
2248
  #
2233
2249
  # @option params [Types::RotationRulesType] :rotation_rules
2234
2250
  # A structure that defines the rotation configuration for this secret.
@@ -2238,8 +2254,7 @@ module Aws::SecretsManager
2238
2254
  # next scheduled rotation window. The rotation schedule is defined in
2239
2255
  # RotateSecretRequest$RotationRules.
2240
2256
  #
2241
- # For secrets that use a Lambda rotation function to rotate, if you
2242
- # don't immediately rotate the secret, Secrets Manager tests the
2257
+ # If you don't immediately rotate the secret, Secrets Manager tests the
2243
2258
  # rotation configuration by running the [ `testSecret` step][1] of the
2244
2259
  # Lambda rotation function. The test creates an `AWSPENDING` version of
2245
2260
  # the secret and then removes it.
@@ -2575,10 +2590,6 @@ module Aws::SecretsManager
2575
2590
  # To change the rotation configuration of a secret, use RotateSecret
2576
2591
  # instead.
2577
2592
  #
2578
- # To change a secret so that it is managed by another service, you need
2579
- # to recreate the secret in that service. See [Secrets Manager secrets
2580
- # managed by other Amazon Web Services services][1].
2581
- #
2582
2593
  # We recommend you avoid calling `UpdateSecret` at a sustained rate of
2583
2594
  # more than once every 10 minutes. When you call `UpdateSecret` to
2584
2595
  # update the secret value, Secrets Manager creates a new version of the
@@ -2603,22 +2614,21 @@ module Aws::SecretsManager
2603
2614
  # action. Do not include sensitive information in request parameters
2604
2615
  # except `SecretBinary` or `SecretString` because it might be logged.
2605
2616
  # For more information, see [Logging Secrets Manager events with
2606
- # CloudTrail][2].
2617
+ # CloudTrail][1].
2607
2618
  #
2608
2619
  # <b>Required permissions: </b> `secretsmanager:UpdateSecret`. For more
2609
- # information, see [ IAM policy actions for Secrets Manager][3] and
2610
- # [Authentication and access control in Secrets Manager][4]. If you use
2620
+ # information, see [ IAM policy actions for Secrets Manager][2] and
2621
+ # [Authentication and access control in Secrets Manager][3]. If you use
2611
2622
  # a customer managed key, you must also have `kms:GenerateDataKey` and
2612
2623
  # `kms:Decrypt` permissions on the key. For more information, see [
2613
- # Secret encryption and decryption][5].
2624
+ # Secret encryption and decryption][4].
2614
2625
  #
2615
2626
  #
2616
2627
  #
2617
- # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/service-linked-secrets.html
2618
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
2619
- # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
2620
- # [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
2621
- # [5]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/security-encryption.html
2628
+ # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
2629
+ # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
2630
+ # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
2631
+ # [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/security-encryption.html
2622
2632
  #
2623
2633
  # @option params [required, String] :secret_id
2624
2634
  # The ARN or name of the secret.
@@ -3042,7 +3052,7 @@ module Aws::SecretsManager
3042
3052
  params: params,
3043
3053
  config: config)
3044
3054
  context[:gem_name] = 'aws-sdk-secretsmanager'
3045
- context[:gem_version] = '1.69.0'
3055
+ context[:gem_version] = '1.70.0'
3046
3056
  Seahorse::Client::Request.new(handlers, context)
3047
3057
  end
3048
3058
 
@@ -69,6 +69,7 @@ module Aws::SecretsManager
69
69
  MalformedPolicyDocumentException = Shapes::StructureShape.new(name: 'MalformedPolicyDocumentException')
70
70
  MaxResultsType = Shapes::IntegerShape.new(name: 'MaxResultsType')
71
71
  NameType = Shapes::StringShape.new(name: 'NameType')
72
+ NextRotationDateType = Shapes::TimestampShape.new(name: 'NextRotationDateType')
72
73
  NextTokenType = Shapes::StringShape.new(name: 'NextTokenType')
73
74
  NonEmptyResourcePolicyType = Shapes::StringShape.new(name: 'NonEmptyResourcePolicyType')
74
75
  OwningServiceType = Shapes::StringShape.new(name: 'OwningServiceType')
@@ -197,6 +198,7 @@ module Aws::SecretsManager
197
198
  DescribeSecretResponse.add_member(:last_changed_date, Shapes::ShapeRef.new(shape: LastChangedDateType, location_name: "LastChangedDate", metadata: {"box"=>true}))
198
199
  DescribeSecretResponse.add_member(:last_accessed_date, Shapes::ShapeRef.new(shape: LastAccessedDateType, location_name: "LastAccessedDate", metadata: {"box"=>true}))
199
200
  DescribeSecretResponse.add_member(:deleted_date, Shapes::ShapeRef.new(shape: DeletedDateType, location_name: "DeletedDate", metadata: {"box"=>true}))
201
+ DescribeSecretResponse.add_member(:next_rotation_date, Shapes::ShapeRef.new(shape: NextRotationDateType, location_name: "NextRotationDate"))
200
202
  DescribeSecretResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagListType, location_name: "Tags"))
201
203
  DescribeSecretResponse.add_member(:version_ids_to_stages, Shapes::ShapeRef.new(shape: SecretVersionsToStagesMapType, location_name: "VersionIdsToStages"))
202
204
  DescribeSecretResponse.add_member(:owning_service, Shapes::ShapeRef.new(shape: OwningServiceType, location_name: "OwningService"))
@@ -280,6 +282,7 @@ module Aws::SecretsManager
280
282
  ListSecretVersionIdsResponse.add_member(:name, Shapes::ShapeRef.new(shape: SecretNameType, location_name: "Name"))
281
283
  ListSecretVersionIdsResponse.struct_class = Types::ListSecretVersionIdsResponse
282
284
 
285
+ ListSecretsRequest.add_member(:include_planned_deletion, Shapes::ShapeRef.new(shape: BooleanType, location_name: "IncludePlannedDeletion", metadata: {"box"=>true}))
283
286
  ListSecretsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsType, location_name: "MaxResults", metadata: {"box"=>true}))
284
287
  ListSecretsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenType, location_name: "NextToken"))
285
288
  ListSecretsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FiltersListType, location_name: "Filters"))
@@ -394,6 +397,7 @@ module Aws::SecretsManager
394
397
  SecretListEntry.add_member(:last_changed_date, Shapes::ShapeRef.new(shape: LastChangedDateType, location_name: "LastChangedDate", metadata: {"box"=>true}))
395
398
  SecretListEntry.add_member(:last_accessed_date, Shapes::ShapeRef.new(shape: LastAccessedDateType, location_name: "LastAccessedDate", metadata: {"box"=>true}))
396
399
  SecretListEntry.add_member(:deleted_date, Shapes::ShapeRef.new(shape: DeletedDateType, location_name: "DeletedDate"))
400
+ SecretListEntry.add_member(:next_rotation_date, Shapes::ShapeRef.new(shape: NextRotationDateType, location_name: "NextRotationDate"))
397
401
  SecretListEntry.add_member(:tags, Shapes::ShapeRef.new(shape: TagListType, location_name: "Tags"))
398
402
  SecretListEntry.add_member(:secret_versions_to_stages, Shapes::ShapeRef.new(shape: SecretVersionsToStagesMapType, location_name: "SecretVersionsToStages"))
399
403
  SecretListEntry.add_member(:owning_service, Shapes::ShapeRef.new(shape: OwningServiceType, location_name: "OwningService"))
@@ -493,6 +493,9 @@ module Aws::SecretsManager
493
493
  # deletion and restore access to the secret, use RestoreSecret.
494
494
  # @return [Time]
495
495
  #
496
+ # @!attribute [rw] next_rotation_date
497
+ # @return [Time]
498
+ #
496
499
  # @!attribute [rw] tags
497
500
  # The list of tags attached to the secret. To add tags to a secret,
498
501
  # use TagResource. To remove tags, use UntagResource.
@@ -572,6 +575,7 @@ module Aws::SecretsManager
572
575
  :last_changed_date,
573
576
  :last_accessed_date,
574
577
  :deleted_date,
578
+ :next_rotation_date,
575
579
  :tags,
576
580
  :version_ids_to_stages,
577
581
  :owning_service,
@@ -1029,6 +1033,9 @@ module Aws::SecretsManager
1029
1033
  include Aws::Structure
1030
1034
  end
1031
1035
 
1036
+ # @!attribute [rw] include_planned_deletion
1037
+ # @return [Boolean]
1038
+ #
1032
1039
  # @!attribute [rw] max_results
1033
1040
  # The number of results to include in the response.
1034
1041
  #
@@ -1054,6 +1061,7 @@ module Aws::SecretsManager
1054
1061
  # @see http://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/ListSecretsRequest AWS API Documentation
1055
1062
  #
1056
1063
  class ListSecretsRequest < Struct.new(
1064
+ :include_planned_deletion,
1057
1065
  :max_results,
1058
1066
  :next_token,
1059
1067
  :filters,
@@ -1552,16 +1560,7 @@ module Aws::SecretsManager
1552
1560
  # @return [String]
1553
1561
  #
1554
1562
  # @!attribute [rw] rotation_lambda_arn
1555
- # For secrets that use a Lambda rotation function to rotate, the ARN
1556
- # of the Lambda rotation function.
1557
- #
1558
- # For secrets that use *managed rotation*, omit this field. For more
1559
- # information, see [Managed rotation][1] in the *Secrets Manager User
1560
- # Guide*.
1561
- #
1562
- #
1563
- #
1564
- # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_managed.html
1563
+ # The ARN of the Lambda rotation function that can rotate the secret.
1565
1564
  # @return [String]
1566
1565
  #
1567
1566
  # @!attribute [rw] rotation_rules
@@ -1573,11 +1572,10 @@ module Aws::SecretsManager
1573
1572
  # next scheduled rotation window. The rotation schedule is defined in
1574
1573
  # RotateSecretRequest$RotationRules.
1575
1574
  #
1576
- # For secrets that use a Lambda rotation function to rotate, if you
1577
- # don't immediately rotate the secret, Secrets Manager tests the
1578
- # rotation configuration by running the [ `testSecret` step][1] of the
1579
- # Lambda rotation function. The test creates an `AWSPENDING` version
1580
- # of the secret and then removes it.
1575
+ # If you don't immediately rotate the secret, Secrets Manager tests
1576
+ # the rotation configuration by running the [ `testSecret` step][1] of
1577
+ # the Lambda rotation function. The test creates an `AWSPENDING`
1578
+ # version of the secret and then removes it.
1581
1579
  #
1582
1580
  # If you don't specify this value, then by default, Secrets Manager
1583
1581
  # rotates the secret immediately.
@@ -1769,6 +1767,9 @@ module Aws::SecretsManager
1769
1767
  # [1]: https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_DeleteSecret.html
1770
1768
  # @return [Time]
1771
1769
  #
1770
+ # @!attribute [rw] next_rotation_date
1771
+ # @return [Time]
1772
+ #
1772
1773
  # @!attribute [rw] tags
1773
1774
  # The list of user-defined tags associated with the secret. To add
1774
1775
  # tags to a secret, use [ `TagResource` ][1]. To remove tags, use [
@@ -1819,6 +1820,7 @@ module Aws::SecretsManager
1819
1820
  :last_changed_date,
1820
1821
  :last_accessed_date,
1821
1822
  :deleted_date,
1823
+ :next_rotation_date,
1822
1824
  :tags,
1823
1825
  :secret_versions_to_stages,
1824
1826
  :owning_service,
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-secretsmanager/customizations'
52
52
  # @!group service
53
53
  module Aws::SecretsManager
54
54
 
55
- GEM_VERSION = '1.69.0'
55
+ GEM_VERSION = '1.70.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-secretsmanager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.69.0
4
+ version: 1.70.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-22 00:00:00.000000000 Z
11
+ date: 2022-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core