aws-sdk-secretsmanager 1.68.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: 75f646483c59e7c10d57251f15dc306d5f2dce264d7d69b90a3772c2b026980d
4
- data.tar.gz: b11dfa46901a828c9d86609c544fd4123adbdb5116c1cfa46c45c6261f0a26d2
3
+ metadata.gz: bc0ff5feca9ac6b712aeb0e2dddc7f1111a0559e20ff191c97ad4aaa516f0ebf
4
+ data.tar.gz: c86dd204ca83ac9cfa57e0569a2c839f304ee3fcb98cb3e3bdc071508fe10078
5
5
  SHA512:
6
- metadata.gz: e0501cc04ce11c8cd38109a82eefb60ce4930bd71f6802371ca39c3e808ff3698bbfce5284f23ef1b4aa7f2354f7f0e33a0ed052becd34998e44966d375ed5be
7
- data.tar.gz: a23de58f79f6f1110cf0a557e2d674c4c89adc9ec04943ea53bb19295bb19b92adbb817936fbcbd7d92e5b2641c488bfa0970643faca6c3c4b8d1c489487b2bb
6
+ metadata.gz: b18c25898ad3591d6e1bd90731469b669ec0896fde5bfa7447922f24b02eeef95968360c687ab07e9fde9e7f5cef7cd05ca0dfcb375d67c087e0b180e8c0bff7
7
+ data.tar.gz: 7e24ae8e98ed0e5b541e5e50f5a71030114b5e196c8e38625e0c1fefed69c3d67355b86827329ca98b006230bfbcbce47b45481b6ad191dfcd38ec0cb81ec49d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.68.0 (2022-11-17)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.68.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.
@@ -2139,66 +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.
2173
- #
2174
- # When rotation is unsuccessful, the `AWSPENDING` staging label might be
2175
- # attached to an empty secret version. For more information, see
2176
- # [Troubleshoot rotation][7] in the *Secrets Manager User Guide*.
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*.
2177
2163
  #
2178
2164
  # Secrets Manager generates a CloudTrail log entry when you call this
2179
2165
  # action. Do not include sensitive information in request parameters
2180
2166
  # because it might be logged. For more information, see [Logging Secrets
2181
- # Manager events with CloudTrail][8].
2167
+ # Manager events with CloudTrail][3].
2182
2168
  #
2183
2169
  # <b>Required permissions: </b> `secretsmanager:RotateSecret`. For more
2184
- # information, see [ IAM policy actions for Secrets Manager][9] and
2185
- # [Authentication and access control in Secrets Manager][10]. You also
2170
+ # information, see [ IAM policy actions for Secrets Manager][4] and
2171
+ # [Authentication and access control in Secrets Manager][5]. You also
2186
2172
  # need `lambda:InvokeFunction` permissions on the rotation function. For
2187
- # more information, see [ Permissions for rotation][11].
2173
+ # more information, see [ Permissions for rotation][6].
2188
2174
  #
2189
2175
  #
2190
2176
  #
2191
2177
  # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets.html
2192
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_secret_json_structure.html
2193
- # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets_strategies.html#rotating-secrets-two-users
2194
- # [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_how.html
2195
- # [5]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html
2196
- # [6]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets_strategies.html
2197
- # [7]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot_rotation.html
2198
- # [8]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
2199
- # [9]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
2200
- # [10]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
2201
- # [11]: 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
2202
2183
  #
2203
2184
  # @option params [required, String] :secret_id
2204
2185
  # The ARN or name of the secret to rotate.
@@ -2238,7 +2219,16 @@ module Aws::SecretsManager
2238
2219
  # [1]: https://wikipedia.org/wiki/Universally_unique_identifier
2239
2220
  #
2240
2221
  # @option params [String] :rotation_lambda_arn
2241
- # 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
2242
2232
  #
2243
2233
  # @option params [Types::RotationRulesType] :rotation_rules
2244
2234
  # A structure that defines the rotation configuration for this secret.
@@ -2248,7 +2238,8 @@ module Aws::SecretsManager
2248
2238
  # next scheduled rotation window. The rotation schedule is defined in
2249
2239
  # RotateSecretRequest$RotationRules.
2250
2240
  #
2251
- # 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
2252
2243
  # rotation configuration by running the [ `testSecret` step][1] of the
2253
2244
  # Lambda rotation function. The test creates an `AWSPENDING` version of
2254
2245
  # the secret and then removes it.
@@ -2584,6 +2575,10 @@ module Aws::SecretsManager
2584
2575
  # To change the rotation configuration of a secret, use RotateSecret
2585
2576
  # instead.
2586
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
+ #
2587
2582
  # We recommend you avoid calling `UpdateSecret` at a sustained rate of
2588
2583
  # more than once every 10 minutes. When you call `UpdateSecret` to
2589
2584
  # update the secret value, Secrets Manager creates a new version of the
@@ -2608,21 +2603,22 @@ module Aws::SecretsManager
2608
2603
  # action. Do not include sensitive information in request parameters
2609
2604
  # except `SecretBinary` or `SecretString` because it might be logged.
2610
2605
  # For more information, see [Logging Secrets Manager events with
2611
- # CloudTrail][1].
2606
+ # CloudTrail][2].
2612
2607
  #
2613
2608
  # <b>Required permissions: </b> `secretsmanager:UpdateSecret`. For more
2614
- # information, see [ IAM policy actions for Secrets Manager][2] and
2615
- # [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
2616
2611
  # a customer managed key, you must also have `kms:GenerateDataKey` and
2617
2612
  # `kms:Decrypt` permissions on the key. For more information, see [
2618
- # Secret encryption and decryption][4].
2613
+ # Secret encryption and decryption][5].
2619
2614
  #
2620
2615
  #
2621
2616
  #
2622
- # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
2623
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
2624
- # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
2625
- # [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
2626
2622
  #
2627
2623
  # @option params [required, String] :secret_id
2628
2624
  # The ARN or name of the secret.
@@ -3046,7 +3042,7 @@ module Aws::SecretsManager
3046
3042
  params: params,
3047
3043
  config: config)
3048
3044
  context[:gem_name] = 'aws-sdk-secretsmanager'
3049
- context[:gem_version] = '1.68.0'
3045
+ context[:gem_version] = '1.69.0'
3050
3046
  Seahorse::Client::Request.new(handlers, context)
3051
3047
  end
3052
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?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czovL3NlY3JldHNtYW5h
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
  #
@@ -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
  #
@@ -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
@@ -2054,13 +1865,6 @@ module Aws::SecretsManager
2054
1865
  include Aws::Structure
2055
1866
  end
2056
1867
 
2057
- # @note When making an API call, you may pass StopReplicationToReplicaRequest
2058
- # data as a hash:
2059
- #
2060
- # {
2061
- # secret_id: "SecretIdType", # required
2062
- # }
2063
- #
2064
1868
  # @!attribute [rw] secret_id
2065
1869
  # The ARN of the primary secret.
2066
1870
  # @return [String]
@@ -2088,14 +1892,6 @@ module Aws::SecretsManager
2088
1892
 
2089
1893
  # A structure that contains information about a tag.
2090
1894
  #
2091
- # @note When making an API call, you may pass Tag
2092
- # data as a hash:
2093
- #
2094
- # {
2095
- # key: "TagKeyType",
2096
- # value: "TagValueType",
2097
- # }
2098
- #
2099
1895
  # @!attribute [rw] key
2100
1896
  # The key identifier, or name, of the tag.
2101
1897
  # @return [String]
@@ -2113,19 +1909,6 @@ module Aws::SecretsManager
2113
1909
  include Aws::Structure
2114
1910
  end
2115
1911
 
2116
- # @note When making an API call, you may pass TagResourceRequest
2117
- # data as a hash:
2118
- #
2119
- # {
2120
- # secret_id: "SecretIdType", # required
2121
- # tags: [ # required
2122
- # {
2123
- # key: "TagKeyType",
2124
- # value: "TagValueType",
2125
- # },
2126
- # ],
2127
- # }
2128
- #
2129
1912
  # @!attribute [rw] secret_id
2130
1913
  # The identifier for the secret to attach tags to. You can specify
2131
1914
  # either the Amazon Resource Name (ARN) or the friendly name of the
@@ -2162,14 +1945,6 @@ module Aws::SecretsManager
2162
1945
  include Aws::Structure
2163
1946
  end
2164
1947
 
2165
- # @note When making an API call, you may pass UntagResourceRequest
2166
- # data as a hash:
2167
- #
2168
- # {
2169
- # secret_id: "SecretIdType", # required
2170
- # tag_keys: ["TagKeyType"], # required
2171
- # }
2172
- #
2173
1948
  # @!attribute [rw] secret_id
2174
1949
  # The ARN or name of the secret.
2175
1950
  #
@@ -2207,18 +1982,6 @@ module Aws::SecretsManager
2207
1982
  include Aws::Structure
2208
1983
  end
2209
1984
 
2210
- # @note When making an API call, you may pass UpdateSecretRequest
2211
- # data as a hash:
2212
- #
2213
- # {
2214
- # secret_id: "SecretIdType", # required
2215
- # client_request_token: "ClientRequestTokenType",
2216
- # description: "DescriptionType",
2217
- # kms_key_id: "KmsKeyIdType",
2218
- # secret_binary: "data",
2219
- # secret_string: "SecretStringType",
2220
- # }
2221
- #
2222
1985
  # @!attribute [rw] secret_id
2223
1986
  # The ARN or name of the secret.
2224
1987
  #
@@ -2346,16 +2109,6 @@ module Aws::SecretsManager
2346
2109
  include Aws::Structure
2347
2110
  end
2348
2111
 
2349
- # @note When making an API call, you may pass UpdateSecretVersionStageRequest
2350
- # data as a hash:
2351
- #
2352
- # {
2353
- # secret_id: "SecretIdType", # required
2354
- # version_stage: "SecretVersionStageType", # required
2355
- # remove_from_version_id: "SecretVersionIdType",
2356
- # move_to_version_id: "SecretVersionIdType",
2357
- # }
2358
- #
2359
2112
  # @!attribute [rw] secret_id
2360
2113
  # The ARN or the name of the secret with the version and staging
2361
2114
  # labelsto modify.
@@ -2419,14 +2172,6 @@ module Aws::SecretsManager
2419
2172
  include Aws::Structure
2420
2173
  end
2421
2174
 
2422
- # @note When making an API call, you may pass ValidateResourcePolicyRequest
2423
- # data as a hash:
2424
- #
2425
- # {
2426
- # secret_id: "SecretIdType",
2427
- # resource_policy: "NonEmptyResourcePolicyType", # required
2428
- # }
2429
- #
2430
2175
  # @!attribute [rw] secret_id
2431
2176
  # This field is reserved for internal use.
2432
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.68.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.68.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-11-17 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