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

Class: Aws::EC2::Types::DescribeIdentityIdFormatRequest

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

Overview

Note:

When making an API call, you may pass DescribeIdentityIdFormatRequest data as a hash:

{
  principal_arn: "String", # required
  resource: "String",
}

Contains the parameters for DescribeIdentityIdFormat.

Instance Attribute Summary collapse

Instance Attribute Details

#principal_arnString

The ARN of the principal, which can be an IAM role, IAM user, or the root user.

Returns:

  • (String)


7744
7745
7746
7747
7748
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 7744

class DescribeIdentityIdFormatRequest < Struct.new(
  :principal_arn,
  :resource)
  include Aws::Structure
end

#resourceString

The type of resource: instance | reservation | snapshot | volume

Returns:

  • (String)


7744
7745
7746
7747
7748
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 7744

class DescribeIdentityIdFormatRequest < Struct.new(
  :principal_arn,
  :resource)
  include Aws::Structure
end