aws-sdk-secretsmanager 1.67.0 → 1.69.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f5a6c03a02b9b2daa83f085034afb055f3fe92cf5e3ecea832fee1fa3f65a8be
4
- data.tar.gz: d5a004d5a0caa94cf36a67c5c9c39f0a4ef91466a8117f2c45d4d7f0f4411304
3
+ metadata.gz: bc0ff5feca9ac6b712aeb0e2dddc7f1111a0559e20ff191c97ad4aaa516f0ebf
4
+ data.tar.gz: c86dd204ca83ac9cfa57e0569a2c839f304ee3fcb98cb3e3bdc071508fe10078
5
5
  SHA512:
6
- metadata.gz: 9c2acc3c5d7141c1f3ca416d80748579f02713e1e43c92fbec1ffd746f7b7bd9c0c4ab49b7d4ae82c60d2513345cb7b627973aaf97d04b192d30a01b8a6f1a15
7
- data.tar.gz: 47c7654563343053d0d0297091a58a92749fac36c74edb144fed0b33e2e01fe06faa534a595d1997cc18ee7c86684db4d229b5bf243351cc7db50f5d23b06306
6
+ metadata.gz: b18c25898ad3591d6e1bd90731469b669ec0896fde5bfa7447922f24b02eeef95968360c687ab07e9fde9e7f5cef7cd05ca0dfcb375d67c087e0b180e8c0bff7
7
+ data.tar.gz: 7e24ae8e98ed0e5b541e5e50f5a71030114b5e196c8e38625e0c1fefed69c3d67355b86827329ca98b006230bfbcbce47b45481b6ad191dfcd38ec0cb81ec49d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.69.0 (2022-12-22)
5
+ ------------------
6
+
7
+ * Feature - Documentation updates for Secrets Manager
8
+
9
+ 1.68.0 (2022-11-17)
10
+ ------------------
11
+
12
+ * Feature - Documentation updates for Secrets Manager.
13
+
4
14
  1.67.0 (2022-10-25)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.67.0
1
+ 1.69.0
@@ -471,8 +471,12 @@ 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
+ #
474
478
  # For information about creating a secret in the console, see [Create a
475
- # secret][1].
479
+ # secret][2].
476
480
  #
477
481
  # To create a secret, you can provide the secret value to be encrypted
478
482
  # in either the `SecretString` parameter or the `SecretBinary`
@@ -483,7 +487,7 @@ module Aws::SecretsManager
483
487
  # For database credentials you want to rotate, for Secrets Manager to be
484
488
  # able to rotate the secret, you must make sure the JSON you store in
485
489
  # the `SecretString` matches the [JSON structure of a database
486
- # secret][2].
490
+ # secret][3].
487
491
  #
488
492
  # If you don't specify an KMS encryption key, Secrets Manager uses the
489
493
  # Amazon Web Services managed key `aws/secretsmanager`. If this key
@@ -502,13 +506,13 @@ module Aws::SecretsManager
502
506
  # action. Do not include sensitive information in request parameters
503
507
  # except `SecretBinary` or `SecretString` because it might be logged.
504
508
  # For more information, see [Logging Secrets Manager events with
505
- # CloudTrail][3].
509
+ # CloudTrail][4].
506
510
  #
507
511
  # <b>Required permissions: </b> `secretsmanager:CreateSecret`. If you
508
512
  # include tags in the secret, you also need
509
513
  # `secretsmanager:TagResource`. For more information, see [ IAM policy
510
- # actions for Secrets Manager][4] and [Authentication and access control
511
- # in Secrets Manager][5].
514
+ # actions for Secrets Manager][5] and [Authentication and access control
515
+ # in Secrets Manager][6].
512
516
  #
513
517
  # To encrypt the secret with a KMS key other than `aws/secretsmanager`,
514
518
  # you need `kms:GenerateDataKey` and `kms:Decrypt` permission to the
@@ -516,11 +520,12 @@ module Aws::SecretsManager
516
520
  #
517
521
  #
518
522
  #
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
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
524
529
  #
525
530
  # @option params [required, String] :name
526
531
  # The name of the new secret.
@@ -907,9 +912,9 @@ module Aws::SecretsManager
907
912
  # Use this parameter with caution. This parameter causes the operation
908
913
  # to skip the normal recovery window before the permanent deletion that
909
914
  # Secrets Manager would normally impose with the `RecoveryWindowInDays`
910
- # parameter. If you delete a secret with the `ForceDeleteWithouRecovery`
911
- # parameter, then you have no opportunity to recover the secret. You
912
- # lose the secret permanently.
915
+ # parameter. If you delete a secret with the
916
+ # `ForceDeleteWithoutRecovery` parameter, then you have no opportunity
917
+ # to recover the secret. You lose the secret permanently.
913
918
  #
914
919
  # @return [Types::DeleteSecretResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
915
920
  #
@@ -1575,7 +1580,7 @@ module Aws::SecretsManager
1575
1580
  # The filters to apply to the list of secrets.
1576
1581
  #
1577
1582
  # @option params [String] :sort_order
1578
- # Lists secrets in the requested order.
1583
+ # Secrets are listed by `CreatedDate`.
1579
1584
  #
1580
1585
  # @return [Types::ListSecretsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1581
1586
  #
@@ -2139,61 +2144,42 @@ module Aws::SecretsManager
2139
2144
  end
2140
2145
 
2141
2146
  # Configures and starts the asynchronous process of rotating the secret.
2142
- # For more information about rotation, see [Rotate secrets][1].
2143
- #
2144
- # If you include the configuration parameters, the operation sets the
2145
- # values for the secret and then immediately starts a rotation. If you
2146
- # don't include the configuration parameters, the operation starts a
2147
- # rotation with the values already stored in the secret.
2148
- #
2149
- # For database credentials you want to rotate, for Secrets Manager to be
2150
- # able to rotate the secret, you must make sure the secret value is in
2151
- # the [ JSON structure of a database secret][2]. In particular, if you
2152
- # want to use the [ alternating users strategy][3], your secret must
2153
- # contain the ARN of a superuser secret.
2154
- #
2155
- # To configure rotation, you also need the ARN of an Amazon Web Services
2156
- # Lambda function and the schedule for the rotation. The Lambda rotation
2157
- # function creates a new version of the secret and creates or updates
2158
- # the credentials on the database or service to match. After testing the
2159
- # new credentials, the function marks the new secret version with the
2160
- # staging label `AWSCURRENT`. Then anyone who retrieves the secret gets
2161
- # the new version. For more information, see [How rotation works][4].
2162
- #
2163
- # You can create the Lambda rotation function based on the [rotation
2164
- # function templates][5] that Secrets Manager provides. Choose a
2165
- # template that matches your [Rotation strategy][6].
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.
2166
2153
  #
2167
2154
  # When rotation is successful, the `AWSPENDING` staging label might be
2168
2155
  # attached to the same version as the `AWSCURRENT` version, or it might
2169
2156
  # not be attached to any version. If the `AWSPENDING` staging label is
2170
2157
  # present but not attached to the same version as `AWSCURRENT`, then any
2171
2158
  # later invocation of `RotateSecret` assumes that a previous rotation
2172
- # request is still in progress and returns an error.
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*.
2173
2163
  #
2174
2164
  # Secrets Manager generates a CloudTrail log entry when you call this
2175
2165
  # action. Do not include sensitive information in request parameters
2176
2166
  # because it might be logged. For more information, see [Logging Secrets
2177
- # Manager events with CloudTrail][7].
2167
+ # Manager events with CloudTrail][3].
2178
2168
  #
2179
2169
  # <b>Required permissions: </b> `secretsmanager:RotateSecret`. For more
2180
- # information, see [ IAM policy actions for Secrets Manager][8] and
2181
- # [Authentication and access control in Secrets Manager][9]. You also
2170
+ # information, see [ IAM policy actions for Secrets Manager][4] and
2171
+ # [Authentication and access control in Secrets Manager][5]. You also
2182
2172
  # need `lambda:InvokeFunction` permissions on the rotation function. For
2183
- # more information, see [ Permissions for rotation][10].
2173
+ # more information, see [ Permissions for rotation][6].
2184
2174
  #
2185
2175
  #
2186
2176
  #
2187
2177
  # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets.html
2188
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_secret_json_structure.html
2189
- # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets_strategies.html#rotating-secrets-two-users
2190
- # [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_how.html
2191
- # [5]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html
2192
- # [6]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets_strategies.html
2193
- # [7]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
2194
- # [8]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
2195
- # [9]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
2196
- # [10]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets-required-permissions-function.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
2197
2183
  #
2198
2184
  # @option params [required, String] :secret_id
2199
2185
  # The ARN or name of the secret to rotate.
@@ -2233,7 +2219,16 @@ module Aws::SecretsManager
2233
2219
  # [1]: https://wikipedia.org/wiki/Universally_unique_identifier
2234
2220
  #
2235
2221
  # @option params [String] :rotation_lambda_arn
2236
- # The ARN of the Lambda rotation function that can rotate the secret.
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
2237
2232
  #
2238
2233
  # @option params [Types::RotationRulesType] :rotation_rules
2239
2234
  # A structure that defines the rotation configuration for this secret.
@@ -2243,7 +2238,8 @@ module Aws::SecretsManager
2243
2238
  # next scheduled rotation window. The rotation schedule is defined in
2244
2239
  # RotateSecretRequest$RotationRules.
2245
2240
  #
2246
- # If you don't immediately rotate the secret, Secrets Manager tests the
2241
+ # For secrets that use a Lambda rotation function to rotate, if you
2242
+ # don't immediately rotate the secret, Secrets Manager tests the
2247
2243
  # rotation configuration by running the [ `testSecret` step][1] of the
2248
2244
  # Lambda rotation function. The test creates an `AWSPENDING` version of
2249
2245
  # the secret and then removes it.
@@ -2579,6 +2575,10 @@ module Aws::SecretsManager
2579
2575
  # To change the rotation configuration of a secret, use RotateSecret
2580
2576
  # instead.
2581
2577
  #
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
2582
  # We recommend you avoid calling `UpdateSecret` at a sustained rate of
2583
2583
  # more than once every 10 minutes. When you call `UpdateSecret` to
2584
2584
  # update the secret value, Secrets Manager creates a new version of the
@@ -2603,21 +2603,22 @@ module Aws::SecretsManager
2603
2603
  # action. Do not include sensitive information in request parameters
2604
2604
  # except `SecretBinary` or `SecretString` because it might be logged.
2605
2605
  # For more information, see [Logging Secrets Manager events with
2606
- # CloudTrail][1].
2606
+ # CloudTrail][2].
2607
2607
  #
2608
2608
  # <b>Required permissions: </b> `secretsmanager:UpdateSecret`. For more
2609
- # information, see [ IAM policy actions for Secrets Manager][2] and
2610
- # [Authentication and access control in Secrets Manager][3]. If you use
2609
+ # information, see [ IAM policy actions for Secrets Manager][3] and
2610
+ # [Authentication and access control in Secrets Manager][4]. If you use
2611
2611
  # a customer managed key, you must also have `kms:GenerateDataKey` and
2612
2612
  # `kms:Decrypt` permissions on the key. For more information, see [
2613
- # Secret encryption and decryption][4].
2613
+ # Secret encryption and decryption][5].
2614
2614
  #
2615
2615
  #
2616
2616
  #
2617
- # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
2618
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
2619
- # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
2620
- # [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/security-encryption.html
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
2621
2622
  #
2622
2623
  # @option params [required, String] :secret_id
2623
2624
  # The ARN or name of the secret.
@@ -3041,7 +3042,7 @@ module Aws::SecretsManager
3041
3042
  params: params,
3042
3043
  config: config)
3043
3044
  context[:gem_name] = 'aws-sdk-secretsmanager'
3044
- context[:gem_version] = '1.67.0'
3045
+ context[:gem_version] = '1.69.0'
3045
3046
  Seahorse::Client::Request.new(handlers, context)
3046
3047
  end
3047
3048
 
@@ -50,6 +50,9 @@ module Aws::SecretsManager
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
53
56
  self[:use_dual_stack] = options[:use_dual_stack]
54
57
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
58
  if self[:use_dual_stack].nil?
@@ -29,83 +29,82 @@ module Aws::SecretsManager
29
29
  # @api private
30
30
  RULES = <<-JSON
31
31
  eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
- ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
38
- ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
39
- aGluZyB0aGU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JlZSIsInJ1bGVzIjpbeyJjb25kaXRp
98
+ b25zIjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9zZWNyZXRzbWFu
99
+ YWdlci57UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2R1YWxTdGFja0Ruc1N1
100
+ ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoi
101
+ ZW5kcG9pbnQifV19LHsiY29uZGl0aW9ucyI6W10sImVycm9yIjoiRHVhbFN0
102
+ YWNrIGlzIGVuYWJsZWQgYnV0IHRoaXMgcGFydGl0aW9uIGRvZXMgbm90IHN1
103
+ cHBvcnQgRHVhbFN0YWNrIiwidHlwZSI6ImVycm9yIn1dfSx7ImNvbmRpdGlv
104
+ bnMiOltdLCJlbmRwb2ludCI6eyJ1cmwiOiJodHRwczovL3NlY3JldHNtYW5h
105
+ Z2VyLntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZG5zU3VmZml4fSIsInBy
106
+ b3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9
107
+ XX1dfQ==
109
108
 
110
109
  JSON
111
110
  end
@@ -10,13 +10,6 @@
10
10
  module Aws::SecretsManager
11
11
  module Types
12
12
 
13
- # @note When making an API call, you may pass CancelRotateSecretRequest
14
- # data as a hash:
15
- #
16
- # {
17
- # secret_id: "SecretIdType", # required
18
- # }
19
- #
20
13
  # @!attribute [rw] secret_id
21
14
  # The ARN or name of the secret.
22
15
  #
@@ -63,31 +56,6 @@ module Aws::SecretsManager
63
56
  include Aws::Structure
64
57
  end
65
58
 
66
- # @note When making an API call, you may pass CreateSecretRequest
67
- # data as a hash:
68
- #
69
- # {
70
- # name: "NameType", # required
71
- # client_request_token: "ClientRequestTokenType",
72
- # description: "DescriptionType",
73
- # kms_key_id: "KmsKeyIdType",
74
- # secret_binary: "data",
75
- # secret_string: "SecretStringType",
76
- # tags: [
77
- # {
78
- # key: "TagKeyType",
79
- # value: "TagValueType",
80
- # },
81
- # ],
82
- # add_replica_regions: [
83
- # {
84
- # region: "RegionType",
85
- # kms_key_id: "KmsKeyIdType",
86
- # },
87
- # ],
88
- # force_overwrite_replica_secret: false,
89
- # }
90
- #
91
59
  # @!attribute [rw] name
92
60
  # The name of the new secret.
93
61
  #
@@ -328,13 +296,6 @@ module Aws::SecretsManager
328
296
  include Aws::Structure
329
297
  end
330
298
 
331
- # @note When making an API call, you may pass DeleteResourcePolicyRequest
332
- # data as a hash:
333
- #
334
- # {
335
- # secret_id: "SecretIdType", # required
336
- # }
337
- #
338
299
  # @!attribute [rw] secret_id
339
300
  # The ARN or name of the secret to delete the attached resource-based
340
301
  # policy for.
@@ -374,15 +335,6 @@ module Aws::SecretsManager
374
335
  include Aws::Structure
375
336
  end
376
337
 
377
- # @note When making an API call, you may pass DeleteSecretRequest
378
- # data as a hash:
379
- #
380
- # {
381
- # secret_id: "SecretIdType", # required
382
- # recovery_window_in_days: 1,
383
- # force_delete_without_recovery: false,
384
- # }
385
- #
386
338
  # @!attribute [rw] secret_id
387
339
  # The ARN or name of the secret to delete.
388
340
  #
@@ -417,7 +369,7 @@ module Aws::SecretsManager
417
369
  # to skip the normal recovery window before the permanent deletion
418
370
  # that Secrets Manager would normally impose with the
419
371
  # `RecoveryWindowInDays` parameter. If you delete a secret with the
420
- # `ForceDeleteWithouRecovery` parameter, then you have no opportunity
372
+ # `ForceDeleteWithoutRecovery` parameter, then you have no opportunity
421
373
  # to recover the secret. You lose the secret permanently.
422
374
  # @return [Boolean]
423
375
  #
@@ -456,13 +408,6 @@ module Aws::SecretsManager
456
408
  include Aws::Structure
457
409
  end
458
410
 
459
- # @note When making an API call, you may pass DescribeSecretRequest
460
- # data as a hash:
461
- #
462
- # {
463
- # secret_id: "SecretIdType", # required
464
- # }
465
- #
466
411
  # @!attribute [rw] secret_id
467
412
  # The ARN or name of the secret.
468
413
  #
@@ -665,14 +610,6 @@ module Aws::SecretsManager
665
610
  #
666
611
  # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_search-secret.html
667
612
  #
668
- # @note When making an API call, you may pass Filter
669
- # data as a hash:
670
- #
671
- # {
672
- # key: "description", # accepts description, name, tag-key, tag-value, primary-region, all
673
- # values: ["FilterValueStringType"],
674
- # }
675
- #
676
613
  # @!attribute [rw] key
677
614
  # The following are keys you can use:
678
615
  #
@@ -706,20 +643,6 @@ module Aws::SecretsManager
706
643
  include Aws::Structure
707
644
  end
708
645
 
709
- # @note When making an API call, you may pass GetRandomPasswordRequest
710
- # data as a hash:
711
- #
712
- # {
713
- # password_length: 1,
714
- # exclude_characters: "ExcludeCharactersType",
715
- # exclude_numbers: false,
716
- # exclude_punctuation: false,
717
- # exclude_uppercase: false,
718
- # exclude_lowercase: false,
719
- # include_space: false,
720
- # require_each_included_type: false,
721
- # }
722
- #
723
646
  # @!attribute [rw] password_length
724
647
  # The length of the password. If you don't include this parameter,
725
648
  # the default length is 32 characters.
@@ -791,13 +714,6 @@ module Aws::SecretsManager
791
714
  include Aws::Structure
792
715
  end
793
716
 
794
- # @note When making an API call, you may pass GetResourcePolicyRequest
795
- # data as a hash:
796
- #
797
- # {
798
- # secret_id: "SecretIdType", # required
799
- # }
800
- #
801
717
  # @!attribute [rw] secret_id
802
718
  # The ARN or name of the secret to retrieve the attached
803
719
  # resource-based policy for.
@@ -849,15 +765,6 @@ module Aws::SecretsManager
849
765
  include Aws::Structure
850
766
  end
851
767
 
852
- # @note When making an API call, you may pass GetSecretValueRequest
853
- # data as a hash:
854
- #
855
- # {
856
- # secret_id: "SecretIdType", # required
857
- # version_id: "SecretVersionIdType",
858
- # version_stage: "SecretVersionStageType",
859
- # }
860
- #
861
768
  # @!attribute [rw] secret_id
862
769
  # The ARN or name of the secret to retrieve.
863
770
  #
@@ -1048,16 +955,6 @@ module Aws::SecretsManager
1048
955
  include Aws::Structure
1049
956
  end
1050
957
 
1051
- # @note When making an API call, you may pass ListSecretVersionIdsRequest
1052
- # data as a hash:
1053
- #
1054
- # {
1055
- # secret_id: "SecretIdType", # required
1056
- # max_results: 1,
1057
- # next_token: "NextTokenType",
1058
- # include_deprecated: false,
1059
- # }
1060
- #
1061
958
  # @!attribute [rw] secret_id
1062
959
  # The ARN or name of the secret whose versions you want to list.
1063
960
  #
@@ -1132,21 +1029,6 @@ module Aws::SecretsManager
1132
1029
  include Aws::Structure
1133
1030
  end
1134
1031
 
1135
- # @note When making an API call, you may pass ListSecretsRequest
1136
- # data as a hash:
1137
- #
1138
- # {
1139
- # max_results: 1,
1140
- # next_token: "NextTokenType",
1141
- # filters: [
1142
- # {
1143
- # key: "description", # accepts description, name, tag-key, tag-value, primary-region, all
1144
- # values: ["FilterValueStringType"],
1145
- # },
1146
- # ],
1147
- # sort_order: "asc", # accepts asc, desc
1148
- # }
1149
- #
1150
1032
  # @!attribute [rw] max_results
1151
1033
  # The number of results to include in the response.
1152
1034
  #
@@ -1166,7 +1048,7 @@ module Aws::SecretsManager
1166
1048
  # @return [Array<Types::Filter>]
1167
1049
  #
1168
1050
  # @!attribute [rw] sort_order
1169
- # Lists secrets in the requested order.
1051
+ # Secrets are listed by `CreatedDate`.
1170
1052
  # @return [String]
1171
1053
  #
1172
1054
  # @see http://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/ListSecretsRequest AWS API Documentation
@@ -1242,15 +1124,6 @@ module Aws::SecretsManager
1242
1124
  include Aws::Structure
1243
1125
  end
1244
1126
 
1245
- # @note When making an API call, you may pass PutResourcePolicyRequest
1246
- # data as a hash:
1247
- #
1248
- # {
1249
- # secret_id: "SecretIdType", # required
1250
- # resource_policy: "NonEmptyResourcePolicyType", # required
1251
- # block_public_policy: false,
1252
- # }
1253
- #
1254
1127
  # @!attribute [rw] secret_id
1255
1128
  # The ARN or name of the secret to attach the resource-based policy.
1256
1129
  #
@@ -1304,17 +1177,6 @@ module Aws::SecretsManager
1304
1177
  include Aws::Structure
1305
1178
  end
1306
1179
 
1307
- # @note When making an API call, you may pass PutSecretValueRequest
1308
- # data as a hash:
1309
- #
1310
- # {
1311
- # secret_id: "SecretIdType", # required
1312
- # client_request_token: "ClientRequestTokenType",
1313
- # secret_binary: "data",
1314
- # secret_string: "SecretStringType",
1315
- # version_stages: ["SecretVersionStageType"],
1316
- # }
1317
- #
1318
1180
  # @!attribute [rw] secret_id
1319
1181
  # The ARN or name of the secret to add a new version to.
1320
1182
  #
@@ -1448,14 +1310,6 @@ module Aws::SecretsManager
1448
1310
  include Aws::Structure
1449
1311
  end
1450
1312
 
1451
- # @note When making an API call, you may pass RemoveRegionsFromReplicationRequest
1452
- # data as a hash:
1453
- #
1454
- # {
1455
- # secret_id: "SecretIdType", # required
1456
- # remove_replica_regions: ["RegionType"], # required
1457
- # }
1458
- #
1459
1313
  # @!attribute [rw] secret_id
1460
1314
  # The ARN or name of the secret.
1461
1315
  # @return [String]
@@ -1493,14 +1347,6 @@ module Aws::SecretsManager
1493
1347
  # A custom type that specifies a `Region` and the `KmsKeyId` for a
1494
1348
  # replica secret.
1495
1349
  #
1496
- # @note When making an API call, you may pass ReplicaRegionType
1497
- # data as a hash:
1498
- #
1499
- # {
1500
- # region: "RegionType",
1501
- # kms_key_id: "KmsKeyIdType",
1502
- # }
1503
- #
1504
1350
  # @!attribute [rw] region
1505
1351
  # A Region code. For a list of Region codes, see [Name and code of
1506
1352
  # Regions][1].
@@ -1525,20 +1371,6 @@ module Aws::SecretsManager
1525
1371
  include Aws::Structure
1526
1372
  end
1527
1373
 
1528
- # @note When making an API call, you may pass ReplicateSecretToRegionsRequest
1529
- # data as a hash:
1530
- #
1531
- # {
1532
- # secret_id: "SecretIdType", # required
1533
- # add_replica_regions: [ # required
1534
- # {
1535
- # region: "RegionType",
1536
- # kms_key_id: "KmsKeyIdType",
1537
- # },
1538
- # ],
1539
- # force_overwrite_replica_secret: false,
1540
- # }
1541
- #
1542
1374
  # @!attribute [rw] secret_id
1543
1375
  # The ARN or name of the secret to replicate.
1544
1376
  # @return [String]
@@ -1642,13 +1474,6 @@ module Aws::SecretsManager
1642
1474
  include Aws::Structure
1643
1475
  end
1644
1476
 
1645
- # @note When making an API call, you may pass RestoreSecretRequest
1646
- # data as a hash:
1647
- #
1648
- # {
1649
- # secret_id: "SecretIdType", # required
1650
- # }
1651
- #
1652
1477
  # @!attribute [rw] secret_id
1653
1478
  # The ARN or name of the secret to restore.
1654
1479
  #
@@ -1685,21 +1510,6 @@ module Aws::SecretsManager
1685
1510
  include Aws::Structure
1686
1511
  end
1687
1512
 
1688
- # @note When making an API call, you may pass RotateSecretRequest
1689
- # data as a hash:
1690
- #
1691
- # {
1692
- # secret_id: "SecretIdType", # required
1693
- # client_request_token: "ClientRequestTokenType",
1694
- # rotation_lambda_arn: "RotationLambdaARNType",
1695
- # rotation_rules: {
1696
- # automatically_after_days: 1,
1697
- # duration: "DurationType",
1698
- # schedule_expression: "ScheduleExpressionType",
1699
- # },
1700
- # rotate_immediately: false,
1701
- # }
1702
- #
1703
1513
  # @!attribute [rw] secret_id
1704
1514
  # The ARN or name of the secret to rotate.
1705
1515
  #
@@ -1742,7 +1552,16 @@ module Aws::SecretsManager
1742
1552
  # @return [String]
1743
1553
  #
1744
1554
  # @!attribute [rw] rotation_lambda_arn
1745
- # The ARN of the Lambda rotation function that can rotate the secret.
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
1746
1565
  # @return [String]
1747
1566
  #
1748
1567
  # @!attribute [rw] rotation_rules
@@ -1754,10 +1573,11 @@ module Aws::SecretsManager
1754
1573
  # next scheduled rotation window. The rotation schedule is defined in
1755
1574
  # RotateSecretRequest$RotationRules.
1756
1575
  #
1757
- # If you don't immediately rotate the secret, Secrets Manager tests
1758
- # the rotation configuration by running the [ `testSecret` step][1] of
1759
- # the Lambda rotation function. The test creates an `AWSPENDING`
1760
- # version of the secret and then removes it.
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.
1761
1581
  #
1762
1582
  # If you don't specify this value, then by default, Secrets Manager
1763
1583
  # rotates the secret immediately.
@@ -1803,15 +1623,6 @@ module Aws::SecretsManager
1803
1623
 
1804
1624
  # A structure that defines the rotation configuration for the secret.
1805
1625
  #
1806
- # @note When making an API call, you may pass RotationRulesType
1807
- # data as a hash:
1808
- #
1809
- # {
1810
- # automatically_after_days: 1,
1811
- # duration: "DurationType",
1812
- # schedule_expression: "ScheduleExpressionType",
1813
- # }
1814
- #
1815
1626
  # @!attribute [rw] automatically_after_days
1816
1627
  # The number of days between automatic scheduled rotations of the
1817
1628
  # secret. You can use this value to check that your secret meets your
@@ -1821,16 +1632,20 @@ module Aws::SecretsManager
1821
1632
  # the rotation schedule after every successful rotation. In
1822
1633
  # `RotateSecret`, you can set the rotation schedule in `RotationRules`
1823
1634
  # with `AutomaticallyAfterDays` or `ScheduleExpression`, but not both.
1635
+ # To set a rotation schedule in hours, use `ScheduleExpression`.
1824
1636
  # @return [Integer]
1825
1637
  #
1826
1638
  # @!attribute [rw] duration
1827
1639
  # The length of the rotation window in hours, for example `3h` for a
1828
1640
  # three hour window. Secrets Manager rotates your secret at any time
1829
- # during this window. The window must not go into the next UTC day. If
1830
- # you don't specify this value, the window automatically ends at the
1831
- # end of the UTC day. The window begins according to the
1832
- # `ScheduleExpression`. For more information, including examples, see
1833
- # [Schedule expressions in Secrets Manager rotation][1].
1641
+ # during this window. The window must not extend into the next
1642
+ # rotation window or the next UTC day. The window starts according to
1643
+ # the `ScheduleExpression`. If you don't specify a `Duration`, for a
1644
+ # `ScheduleExpression` in hours, the window automatically closes after
1645
+ # one hour. For a `ScheduleExpression` in days, the window
1646
+ # automatically closes at the end of the UTC day. For more
1647
+ # information, including examples, see [Schedule expressions in
1648
+ # Secrets Manager rotation][1] in the *Secrets Manager Users Guide*.
1834
1649
  #
1835
1650
  #
1836
1651
  #
@@ -1840,24 +1655,29 @@ module Aws::SecretsManager
1840
1655
  # @!attribute [rw] schedule_expression
1841
1656
  # A `cron()` or `rate()` expression that defines the schedule for
1842
1657
  # rotating your secret. Secrets Manager rotation schedules use UTC
1843
- # time zone.
1844
- #
1845
- # Secrets Manager `rate()` expressions represent the interval in days
1846
- # that you want to rotate your secret, for example `rate(10 days)`. If
1847
- # you use a `rate()` expression, the rotation window opens at
1848
- # midnight, and Secrets Manager rotates your secret any time that day
1849
- # after midnight. You can set a `Duration` to shorten the rotation
1850
- # window.
1851
- #
1852
- # You can use a `cron()` expression to create rotation schedules that
1853
- # are more detailed than a rotation interval. For more information,
1658
+ # time zone. Secrets Manager rotates your secret any time during a
1659
+ # rotation window.
1660
+ #
1661
+ # Secrets Manager `rate()` expressions represent the interval in hours
1662
+ # or days that you want to rotate your secret, for example `rate(12
1663
+ # hours)` or `rate(10 days)`. You can rotate a secret as often as
1664
+ # every four hours. If you use a `rate()` expression, the rotation
1665
+ # window starts at midnight. For a rate in hours, the default rotation
1666
+ # window closes after one hour. For a rate in days, the default
1667
+ # rotation window closes at the end of the day. You can set the
1668
+ # `Duration` to change the rotation window. The rotation window must
1669
+ # not extend into the next UTC day or into the next rotation window.
1670
+ #
1671
+ # You can use a `cron()` expression to create a rotation schedule that
1672
+ # is more detailed than a rotation interval. For more information,
1854
1673
  # including examples, see [Schedule expressions in Secrets Manager
1855
- # rotation][1]. If you use a `cron()` expression, Secrets Manager
1856
- # rotates your secret any time during that day after the window opens.
1857
- # For example, `cron(0 8 1 * ? *)` represents a rotation window that
1858
- # occurs on the first day of every month beginning at 8:00 AM UTC.
1859
- # Secrets Manager rotates the secret any time that day after 8:00 AM.
1860
- # You can set a `Duration` to shorten the rotation window.
1674
+ # rotation][1] in the *Secrets Manager Users Guide*. For a cron
1675
+ # expression that represents a schedule in hours, the default rotation
1676
+ # window closes after one hour. For a cron expression that represents
1677
+ # a schedule in days, the default rotation window closes at the end of
1678
+ # the day. You can set the `Duration` to change the rotation window.
1679
+ # The rotation window must not extend into the next UTC day or into
1680
+ # the next rotation window.
1861
1681
  #
1862
1682
  #
1863
1683
  #
@@ -2045,13 +1865,6 @@ module Aws::SecretsManager
2045
1865
  include Aws::Structure
2046
1866
  end
2047
1867
 
2048
- # @note When making an API call, you may pass StopReplicationToReplicaRequest
2049
- # data as a hash:
2050
- #
2051
- # {
2052
- # secret_id: "SecretIdType", # required
2053
- # }
2054
- #
2055
1868
  # @!attribute [rw] secret_id
2056
1869
  # The ARN of the primary secret.
2057
1870
  # @return [String]
@@ -2079,14 +1892,6 @@ module Aws::SecretsManager
2079
1892
 
2080
1893
  # A structure that contains information about a tag.
2081
1894
  #
2082
- # @note When making an API call, you may pass Tag
2083
- # data as a hash:
2084
- #
2085
- # {
2086
- # key: "TagKeyType",
2087
- # value: "TagValueType",
2088
- # }
2089
- #
2090
1895
  # @!attribute [rw] key
2091
1896
  # The key identifier, or name, of the tag.
2092
1897
  # @return [String]
@@ -2104,19 +1909,6 @@ module Aws::SecretsManager
2104
1909
  include Aws::Structure
2105
1910
  end
2106
1911
 
2107
- # @note When making an API call, you may pass TagResourceRequest
2108
- # data as a hash:
2109
- #
2110
- # {
2111
- # secret_id: "SecretIdType", # required
2112
- # tags: [ # required
2113
- # {
2114
- # key: "TagKeyType",
2115
- # value: "TagValueType",
2116
- # },
2117
- # ],
2118
- # }
2119
- #
2120
1912
  # @!attribute [rw] secret_id
2121
1913
  # The identifier for the secret to attach tags to. You can specify
2122
1914
  # either the Amazon Resource Name (ARN) or the friendly name of the
@@ -2153,14 +1945,6 @@ module Aws::SecretsManager
2153
1945
  include Aws::Structure
2154
1946
  end
2155
1947
 
2156
- # @note When making an API call, you may pass UntagResourceRequest
2157
- # data as a hash:
2158
- #
2159
- # {
2160
- # secret_id: "SecretIdType", # required
2161
- # tag_keys: ["TagKeyType"], # required
2162
- # }
2163
- #
2164
1948
  # @!attribute [rw] secret_id
2165
1949
  # The ARN or name of the secret.
2166
1950
  #
@@ -2198,18 +1982,6 @@ module Aws::SecretsManager
2198
1982
  include Aws::Structure
2199
1983
  end
2200
1984
 
2201
- # @note When making an API call, you may pass UpdateSecretRequest
2202
- # data as a hash:
2203
- #
2204
- # {
2205
- # secret_id: "SecretIdType", # required
2206
- # client_request_token: "ClientRequestTokenType",
2207
- # description: "DescriptionType",
2208
- # kms_key_id: "KmsKeyIdType",
2209
- # secret_binary: "data",
2210
- # secret_string: "SecretStringType",
2211
- # }
2212
- #
2213
1985
  # @!attribute [rw] secret_id
2214
1986
  # The ARN or name of the secret.
2215
1987
  #
@@ -2337,16 +2109,6 @@ module Aws::SecretsManager
2337
2109
  include Aws::Structure
2338
2110
  end
2339
2111
 
2340
- # @note When making an API call, you may pass UpdateSecretVersionStageRequest
2341
- # data as a hash:
2342
- #
2343
- # {
2344
- # secret_id: "SecretIdType", # required
2345
- # version_stage: "SecretVersionStageType", # required
2346
- # remove_from_version_id: "SecretVersionIdType",
2347
- # move_to_version_id: "SecretVersionIdType",
2348
- # }
2349
- #
2350
2112
  # @!attribute [rw] secret_id
2351
2113
  # The ARN or the name of the secret with the version and staging
2352
2114
  # labelsto modify.
@@ -2410,14 +2172,6 @@ module Aws::SecretsManager
2410
2172
  include Aws::Structure
2411
2173
  end
2412
2174
 
2413
- # @note When making an API call, you may pass ValidateResourcePolicyRequest
2414
- # data as a hash:
2415
- #
2416
- # {
2417
- # secret_id: "SecretIdType",
2418
- # resource_policy: "NonEmptyResourcePolicyType", # required
2419
- # }
2420
- #
2421
2175
  # @!attribute [rw] secret_id
2422
2176
  # This field is reserved for internal use.
2423
2177
  # @return [String]
@@ -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.67.0'
55
+ GEM_VERSION = '1.69.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.67.0
4
+ version: 1.69.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-10-25 00:00:00.000000000 Z
11
+ date: 2022-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core