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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ram/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.

Returns:

  • (String)


3648
3649
3650
3651
3652
3653
3654
# File 'gems/aws-sdk-ram/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.

Returns:

  • (String)


3648
3649
3650
3651
3652
3653
3654
# File 'gems/aws-sdk-ram/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 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 3648

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