aws-sdk-secretsmanager 1.47.0 → 1.51.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.
@@ -55,6 +55,7 @@ module Aws::SecretsManager
55
55
  InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
56
56
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
57
57
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
58
+ KmsKeyIdListType = Shapes::ListShape.new(name: 'KmsKeyIdListType')
58
59
  KmsKeyIdType = Shapes::StringShape.new(name: 'KmsKeyIdType')
59
60
  LastAccessedDateType = Shapes::TimestampShape.new(name: 'LastAccessedDateType')
60
61
  LastChangedDateType = Shapes::TimestampShape.new(name: 'LastChangedDateType')
@@ -260,6 +261,8 @@ module Aws::SecretsManager
260
261
  InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
261
262
  InvalidRequestException.struct_class = Types::InvalidRequestException
262
263
 
264
+ KmsKeyIdListType.member = Shapes::ShapeRef.new(shape: KmsKeyIdType)
265
+
263
266
  LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
264
267
  LimitExceededException.struct_class = Types::LimitExceededException
265
268
 
@@ -401,6 +404,7 @@ module Aws::SecretsManager
401
404
  SecretVersionsListEntry.add_member(:version_stages, Shapes::ShapeRef.new(shape: SecretVersionStagesType, location_name: "VersionStages"))
402
405
  SecretVersionsListEntry.add_member(:last_accessed_date, Shapes::ShapeRef.new(shape: LastAccessedDateType, location_name: "LastAccessedDate", metadata: {"box"=>true}))
403
406
  SecretVersionsListEntry.add_member(:created_date, Shapes::ShapeRef.new(shape: CreatedDateType, location_name: "CreatedDate", metadata: {"box"=>true}))
407
+ SecretVersionsListEntry.add_member(:kms_key_ids, Shapes::ShapeRef.new(shape: KmsKeyIdListType, location_name: "KmsKeyIds"))
404
408
  SecretVersionsListEntry.struct_class = Types::SecretVersionsListEntry
405
409
 
406
410
  SecretVersionsListType.member = Shapes::ShapeRef.new(shape: SecretVersionsListEntry)
@@ -547,6 +551,7 @@ module Aws::SecretsManager
547
551
  o.output = Shapes::ShapeRef.new(shape: DescribeSecretResponse)
548
552
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
549
553
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
554
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
550
555
  end)
551
556
 
552
557
  api.add_operation(:get_random_password, Seahorse::Model::Operation.new.tap do |o|
@@ -569,6 +574,7 @@ module Aws::SecretsManager
569
574
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
570
575
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
571
576
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
577
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
572
578
  end)
573
579
 
574
580
  api.add_operation(:get_secret_value, Seahorse::Model::Operation.new.tap do |o|
@@ -593,6 +599,7 @@ module Aws::SecretsManager
593
599
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
594
600
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
595
601
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
602
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
596
603
  o[:pager] = Aws::Pager.new(
597
604
  limit_key: "max_results",
598
605
  tokens: {