Class: Aws::RAM::Types::GetPermissionRequest

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

#permission_arnString

Specifies the [Amazon Resource Name (ARN)] of the permission whose contents you want to retrieve. To find the ARN for a permission, use either the ListPermissions operation or go to the

Permissions library][2

page in the RAM console and then choose the

name of the permission. The ARN is displayed on the detail page.

[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html [2]: console.aws.amazon.com/ram/home#Permissions:

Returns:

  • (String)


1156
1157
1158
1159
1160
1161
# File 'lib/aws-sdk-ram/types.rb', line 1156

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

#permission_versionInteger

Specifies the version number of the RAM permission to retrieve. If you don’t specify this parameter, the operation retrieves the default version.

To see the list of available versions, use ListPermissionVersions.

Returns:

  • (Integer)


1156
1157
1158
1159
1160
1161
# File 'lib/aws-sdk-ram/types.rb', line 1156

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