Class: Aws::RAM::Types::SetDefaultPermissionVersionRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ram/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a [UUID type of value.].

If you don’t provide this value, then Amazon Web Services generates a random one for you.

If you retry the operation with the same ‘ClientToken`, but with different parameters, the retry fails with an `IdempotentParameterMismatch` error.

[1]: wikipedia.org/wiki/Universally_unique_identifier

Returns:

  • (String)


3648
3649
3650
3651
3652
3653
3654
# File 'lib/aws-sdk-ram/types.rb', line 3648

class SetDefaultPermissionVersionRequest < Struct.new(
  :permission_arn,
  :permission_version,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#permission_arnString

Specifies the [Amazon Resource Name (ARN)] of the customer managed permission whose default version you want to change.

[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html

Returns:

  • (String)


3648
3649
3650
3651
3652
3653
3654
# File 'lib/aws-sdk-ram/types.rb', line 3648

class SetDefaultPermissionVersionRequest < Struct.new(
  :permission_arn,
  :permission_version,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#permission_versionInteger

Specifies the version number that you want to designate as the default for customer managed permission. To see a list of all available version numbers, use ListPermissionVersions.

Returns:

  • (Integer)


3648
3649
3650
3651
3652
3653
3654
# File 'lib/aws-sdk-ram/types.rb', line 3648

class SetDefaultPermissionVersionRequest < Struct.new(
  :permission_arn,
  :permission_version,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end