Class: Aws::SecretsManager::Types::UpdateSecretResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The ARN of the secret that was updated.

Secrets Manager automatically adds several random characters to the name at the end of the ARN when you initially create a secret. This affects only the ARN and not the actual friendly name. This ensures that if you create a new secret with the same name as an old secret that you previously deleted, then users with access to the old secret don't automatically get access to the new secret because the ARNs are different.

Returns:

  • (String)


2331
2332
2333
2334
2335
2336
2337
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 2331

class UpdateSecretResponse < Struct.new(
  :arn,
  :name,
  :version_id)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The friendly name of the secret that was updated.

Returns:

  • (String)


2331
2332
2333
2334
2335
2336
2337
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 2331

class UpdateSecretResponse < Struct.new(
  :arn,
  :name,
  :version_id)
  SENSITIVE = []
  include Aws::Structure
end

#version_idString

If a new version of the secret was created by this operation, then VersionId contains the unique identifier of the new version.

Returns:

  • (String)


2331
2332
2333
2334
2335
2336
2337
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 2331

class UpdateSecretResponse < Struct.new(
  :arn,
  :name,
  :version_id)
  SENSITIVE = []
  include Aws::Structure
end