aws-sdk-secretsmanager 1.52.0 → 1.56.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-secretsmanager/client.rb +635 -1007
- data/lib/aws-sdk-secretsmanager/client_api.rb +8 -0
- data/lib/aws-sdk-secretsmanager/types.rb +567 -648
- data/lib/aws-sdk-secretsmanager.rb +1 -1
- metadata +4 -4
@@ -32,6 +32,7 @@ module Aws::SecretsManager
|
|
32
32
|
DescribeSecretRequest = Shapes::StructureShape.new(name: 'DescribeSecretRequest')
|
33
33
|
DescribeSecretResponse = Shapes::StructureShape.new(name: 'DescribeSecretResponse')
|
34
34
|
DescriptionType = Shapes::StringShape.new(name: 'DescriptionType')
|
35
|
+
DurationType = Shapes::StringShape.new(name: 'DurationType')
|
35
36
|
EncryptionFailure = Shapes::StructureShape.new(name: 'EncryptionFailure')
|
36
37
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
37
38
|
ExcludeCharactersType = Shapes::StringShape.new(name: 'ExcludeCharactersType')
|
@@ -99,6 +100,7 @@ module Aws::SecretsManager
|
|
99
100
|
RotationEnabledType = Shapes::BooleanShape.new(name: 'RotationEnabledType')
|
100
101
|
RotationLambdaARNType = Shapes::StringShape.new(name: 'RotationLambdaARNType')
|
101
102
|
RotationRulesType = Shapes::StructureShape.new(name: 'RotationRulesType')
|
103
|
+
ScheduleExpressionType = Shapes::StringShape.new(name: 'ScheduleExpressionType')
|
102
104
|
SecretARNType = Shapes::StringShape.new(name: 'SecretARNType')
|
103
105
|
SecretBinaryType = Shapes::BlobShape.new(name: 'SecretBinaryType')
|
104
106
|
SecretIdType = Shapes::StringShape.new(name: 'SecretIdType')
|
@@ -368,6 +370,7 @@ module Aws::SecretsManager
|
|
368
370
|
RotateSecretRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenType, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
369
371
|
RotateSecretRequest.add_member(:rotation_lambda_arn, Shapes::ShapeRef.new(shape: RotationLambdaARNType, location_name: "RotationLambdaARN"))
|
370
372
|
RotateSecretRequest.add_member(:rotation_rules, Shapes::ShapeRef.new(shape: RotationRulesType, location_name: "RotationRules"))
|
373
|
+
RotateSecretRequest.add_member(:rotate_immediately, Shapes::ShapeRef.new(shape: BooleanType, location_name: "RotateImmediately", metadata: {"box"=>true}))
|
371
374
|
RotateSecretRequest.struct_class = Types::RotateSecretRequest
|
372
375
|
|
373
376
|
RotateSecretResponse.add_member(:arn, Shapes::ShapeRef.new(shape: SecretARNType, location_name: "ARN"))
|
@@ -376,6 +379,8 @@ module Aws::SecretsManager
|
|
376
379
|
RotateSecretResponse.struct_class = Types::RotateSecretResponse
|
377
380
|
|
378
381
|
RotationRulesType.add_member(:automatically_after_days, Shapes::ShapeRef.new(shape: AutomaticallyRotateAfterDaysType, location_name: "AutomaticallyAfterDays", metadata: {"box"=>true}))
|
382
|
+
RotationRulesType.add_member(:duration, Shapes::ShapeRef.new(shape: DurationType, location_name: "Duration"))
|
383
|
+
RotationRulesType.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpressionType, location_name: "ScheduleExpression"))
|
379
384
|
RotationRulesType.struct_class = Types::RotationRulesType
|
380
385
|
|
381
386
|
SecretListEntry.add_member(:arn, Shapes::ShapeRef.new(shape: SecretARNType, location_name: "ARN"))
|
@@ -517,6 +522,7 @@ module Aws::SecretsManager
|
|
517
522
|
o.errors << Shapes::ShapeRef.new(shape: MalformedPolicyDocumentException)
|
518
523
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
519
524
|
o.errors << Shapes::ShapeRef.new(shape: PreconditionNotMetException)
|
525
|
+
o.errors << Shapes::ShapeRef.new(shape: DecryptionFailure)
|
520
526
|
end)
|
521
527
|
|
522
528
|
api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
@@ -652,6 +658,7 @@ module Aws::SecretsManager
|
|
652
658
|
o.errors << Shapes::ShapeRef.new(shape: ResourceExistsException)
|
653
659
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
654
660
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
661
|
+
o.errors << Shapes::ShapeRef.new(shape: DecryptionFailure)
|
655
662
|
end)
|
656
663
|
|
657
664
|
api.add_operation(:remove_regions_from_replication, Seahorse::Model::Operation.new.tap do |o|
|
@@ -753,6 +760,7 @@ module Aws::SecretsManager
|
|
753
760
|
o.errors << Shapes::ShapeRef.new(shape: MalformedPolicyDocumentException)
|
754
761
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
755
762
|
o.errors << Shapes::ShapeRef.new(shape: PreconditionNotMetException)
|
763
|
+
o.errors << Shapes::ShapeRef.new(shape: DecryptionFailure)
|
756
764
|
end)
|
757
765
|
|
758
766
|
api.add_operation(:update_secret_version_stage, Seahorse::Model::Operation.new.tap do |o|
|