amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.DescribeIdentityIdFormat

Description

Describes the ID format settings for resources for the specified IAM user, IAM role, or root user. For example, you can view the resource types that are enabled for longer IDs. This request only returns information about resource types whose ID formats can be modified; it does not return information about other resource types. For more information, see Resource IDs in the Amazon Elastic Compute Cloud User Guide.

The following resource types support longer IDs: bundle | conversion-task | customer-gateway | dhcp-options | elastic-ip-allocation | elastic-ip-association | export-task | flow-log | image | import-task | instance | internet-gateway | network-acl | network-acl-association | network-interface | network-interface-attachment | prefix-list | reservation | route-table | route-table-association | security-group | snapshot | subnet | subnet-cidr-block-association | volume | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.

These settings apply to the principal specified in the request. They do not apply to the principal that makes the request.

Synopsis

Creating a Request

data DescribeIdentityIdFormat Source #

See: newDescribeIdentityIdFormat smart constructor.

Constructors

DescribeIdentityIdFormat' 

Fields

  • resource :: Maybe Text

    The type of resource: bundle | conversion-task | customer-gateway | dhcp-options | elastic-ip-allocation | elastic-ip-association | export-task | flow-log | image | import-task | instance | internet-gateway | network-acl | network-acl-association | network-interface | network-interface-attachment | prefix-list | reservation | route-table | route-table-association | security-group | snapshot | subnet | subnet-cidr-block-association | volume | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway

  • principalArn :: Text

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

Instances

Instances details
ToHeaders DescribeIdentityIdFormat Source # 
Instance details

Defined in Amazonka.EC2.DescribeIdentityIdFormat

ToPath DescribeIdentityIdFormat Source # 
Instance details

Defined in Amazonka.EC2.DescribeIdentityIdFormat

ToQuery DescribeIdentityIdFormat Source # 
Instance details

Defined in Amazonka.EC2.DescribeIdentityIdFormat

AWSRequest DescribeIdentityIdFormat Source # 
Instance details

Defined in Amazonka.EC2.DescribeIdentityIdFormat

Generic DescribeIdentityIdFormat Source # 
Instance details

Defined in Amazonka.EC2.DescribeIdentityIdFormat

Associated Types

type Rep DescribeIdentityIdFormat :: Type -> Type #

Read DescribeIdentityIdFormat Source # 
Instance details

Defined in Amazonka.EC2.DescribeIdentityIdFormat

Show DescribeIdentityIdFormat Source # 
Instance details

Defined in Amazonka.EC2.DescribeIdentityIdFormat

NFData DescribeIdentityIdFormat Source # 
Instance details

Defined in Amazonka.EC2.DescribeIdentityIdFormat

Eq DescribeIdentityIdFormat Source # 
Instance details

Defined in Amazonka.EC2.DescribeIdentityIdFormat

Hashable DescribeIdentityIdFormat Source # 
Instance details

Defined in Amazonka.EC2.DescribeIdentityIdFormat

type AWSResponse DescribeIdentityIdFormat Source # 
Instance details

Defined in Amazonka.EC2.DescribeIdentityIdFormat

type Rep DescribeIdentityIdFormat Source # 
Instance details

Defined in Amazonka.EC2.DescribeIdentityIdFormat

type Rep DescribeIdentityIdFormat = D1 ('MetaData "DescribeIdentityIdFormat" "Amazonka.EC2.DescribeIdentityIdFormat" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeIdentityIdFormat'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "principalArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDescribeIdentityIdFormat Source #

Create a value of DescribeIdentityIdFormat with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

DescribeIdentityIdFormat, describeIdentityIdFormat_resource - The type of resource: bundle | conversion-task | customer-gateway | dhcp-options | elastic-ip-allocation | elastic-ip-association | export-task | flow-log | image | import-task | instance | internet-gateway | network-acl | network-acl-association | network-interface | network-interface-attachment | prefix-list | reservation | route-table | route-table-association | security-group | snapshot | subnet | subnet-cidr-block-association | volume | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway

$sel:principalArn:DescribeIdentityIdFormat', describeIdentityIdFormat_principalArn - The ARN of the principal, which can be an IAM role, IAM user, or the root user.

Request Lenses

describeIdentityIdFormat_resource :: Lens' DescribeIdentityIdFormat (Maybe Text) Source #

The type of resource: bundle | conversion-task | customer-gateway | dhcp-options | elastic-ip-allocation | elastic-ip-association | export-task | flow-log | image | import-task | instance | internet-gateway | network-acl | network-acl-association | network-interface | network-interface-attachment | prefix-list | reservation | route-table | route-table-association | security-group | snapshot | subnet | subnet-cidr-block-association | volume | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway

describeIdentityIdFormat_principalArn :: Lens' DescribeIdentityIdFormat Text Source #

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

Destructuring the Response

data DescribeIdentityIdFormatResponse Source #

See: newDescribeIdentityIdFormatResponse smart constructor.

Constructors

DescribeIdentityIdFormatResponse' 

Fields

Instances

Instances details
Generic DescribeIdentityIdFormatResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeIdentityIdFormat

Associated Types

type Rep DescribeIdentityIdFormatResponse :: Type -> Type #

Read DescribeIdentityIdFormatResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeIdentityIdFormat

Show DescribeIdentityIdFormatResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeIdentityIdFormat

NFData DescribeIdentityIdFormatResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeIdentityIdFormat

Eq DescribeIdentityIdFormatResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeIdentityIdFormat

type Rep DescribeIdentityIdFormatResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeIdentityIdFormat

type Rep DescribeIdentityIdFormatResponse = D1 ('MetaData "DescribeIdentityIdFormatResponse" "Amazonka.EC2.DescribeIdentityIdFormat" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeIdentityIdFormatResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "statuses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [IdFormat])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeIdentityIdFormatResponse Source #

Create a value of DescribeIdentityIdFormatResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

DescribeIdentityIdFormatResponse, describeIdentityIdFormatResponse_statuses - Information about the ID format for the resources.

$sel:httpStatus:DescribeIdentityIdFormatResponse', describeIdentityIdFormatResponse_httpStatus - The response's http status code.

Response Lenses