You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::SecretsManager::Types::ListSecretVersionIdsResponse

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

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) for the secret.

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)


1112
1113
1114
1115
1116
1117
1118
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 1112

class ListSecretVersionIdsResponse < Struct.new(
  :versions,
  :next_token,
  :arn,
  :name)
  include Aws::Structure
end

#nameString

The friendly name of the secret.

Returns:

  • (String)


1112
1113
1114
1115
1116
1117
1118
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 1112

class ListSecretVersionIdsResponse < Struct.new(
  :versions,
  :next_token,
  :arn,
  :name)
  include Aws::Structure
end

#next_tokenString

If present in the response, this value indicates that there's more output available than what's included in the current response. This can occur even when the response includes no values at all, such as when you ask for a filtered view of a very long list. Use this value in the NextToken request parameter in a subsequent call to the operation to continue processing and get the next part of the output. You should repeat this until the NextToken response element comes back empty (as null).

Returns:

  • (String)


1112
1113
1114
1115
1116
1117
1118
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 1112

class ListSecretVersionIdsResponse < Struct.new(
  :versions,
  :next_token,
  :arn,
  :name)
  include Aws::Structure
end

#versionsArray<Types::SecretVersionsListEntry>

The list of the currently available versions of the specified secret.

Returns:



1112
1113
1114
1115
1116
1117
1118
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 1112

class ListSecretVersionIdsResponse < Struct.new(
  :versions,
  :next_token,
  :arn,
  :name)
  include Aws::Structure
end