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.DescribeAggregateIdFormat

Description

Describes the longer ID format settings for all resource types in a specific Region. This request is useful for performing a quick audit to determine whether a specific Region is fully opted in for longer IDs (17-character IDs).

This request only returns information about resource types that support longer IDs.

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.

Synopsis

Creating a Request

data DescribeAggregateIdFormat Source #

See: newDescribeAggregateIdFormat smart constructor.

Constructors

DescribeAggregateIdFormat' 

Fields

  • dryRun :: Maybe Bool

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Instances

Instances details
ToHeaders DescribeAggregateIdFormat Source # 
Instance details

Defined in Amazonka.EC2.DescribeAggregateIdFormat

ToPath DescribeAggregateIdFormat Source # 
Instance details

Defined in Amazonka.EC2.DescribeAggregateIdFormat

ToQuery DescribeAggregateIdFormat Source # 
Instance details

Defined in Amazonka.EC2.DescribeAggregateIdFormat

AWSRequest DescribeAggregateIdFormat Source # 
Instance details

Defined in Amazonka.EC2.DescribeAggregateIdFormat

Generic DescribeAggregateIdFormat Source # 
Instance details

Defined in Amazonka.EC2.DescribeAggregateIdFormat

Associated Types

type Rep DescribeAggregateIdFormat :: Type -> Type #

Read DescribeAggregateIdFormat Source # 
Instance details

Defined in Amazonka.EC2.DescribeAggregateIdFormat

Show DescribeAggregateIdFormat Source # 
Instance details

Defined in Amazonka.EC2.DescribeAggregateIdFormat

NFData DescribeAggregateIdFormat Source # 
Instance details

Defined in Amazonka.EC2.DescribeAggregateIdFormat

Eq DescribeAggregateIdFormat Source # 
Instance details

Defined in Amazonka.EC2.DescribeAggregateIdFormat

Hashable DescribeAggregateIdFormat Source # 
Instance details

Defined in Amazonka.EC2.DescribeAggregateIdFormat

type AWSResponse DescribeAggregateIdFormat Source # 
Instance details

Defined in Amazonka.EC2.DescribeAggregateIdFormat

type Rep DescribeAggregateIdFormat Source # 
Instance details

Defined in Amazonka.EC2.DescribeAggregateIdFormat

type Rep DescribeAggregateIdFormat = D1 ('MetaData "DescribeAggregateIdFormat" "Amazonka.EC2.DescribeAggregateIdFormat" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeAggregateIdFormat'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newDescribeAggregateIdFormat :: DescribeAggregateIdFormat Source #

Create a value of DescribeAggregateIdFormat 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:

$sel:dryRun:DescribeAggregateIdFormat', describeAggregateIdFormat_dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Request Lenses

describeAggregateIdFormat_dryRun :: Lens' DescribeAggregateIdFormat (Maybe Bool) Source #

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Destructuring the Response

data DescribeAggregateIdFormatResponse Source #

See: newDescribeAggregateIdFormatResponse smart constructor.

Constructors

DescribeAggregateIdFormatResponse' 

Fields

  • statuses :: Maybe [IdFormat]

    Information about each resource's ID format.

  • useLongIdsAggregated :: Maybe Bool

    Indicates whether all resource types in the Region are configured to use longer IDs. This value is only true if all users are configured to use longer IDs for all resources types in the Region.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeAggregateIdFormatResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeAggregateIdFormat

Associated Types

type Rep DescribeAggregateIdFormatResponse :: Type -> Type #

Read DescribeAggregateIdFormatResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeAggregateIdFormat

Show DescribeAggregateIdFormatResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeAggregateIdFormat

NFData DescribeAggregateIdFormatResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeAggregateIdFormat

Eq DescribeAggregateIdFormatResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeAggregateIdFormat

type Rep DescribeAggregateIdFormatResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeAggregateIdFormat

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

newDescribeAggregateIdFormatResponse Source #

Create a value of DescribeAggregateIdFormatResponse 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:

DescribeAggregateIdFormatResponse, describeAggregateIdFormatResponse_statuses - Information about each resource's ID format.

$sel:useLongIdsAggregated:DescribeAggregateIdFormatResponse', describeAggregateIdFormatResponse_useLongIdsAggregated - Indicates whether all resource types in the Region are configured to use longer IDs. This value is only true if all users are configured to use longer IDs for all resources types in the Region.

$sel:httpStatus:DescribeAggregateIdFormatResponse', describeAggregateIdFormatResponse_httpStatus - The response's http status code.

Response Lenses

describeAggregateIdFormatResponse_useLongIdsAggregated :: Lens' DescribeAggregateIdFormatResponse (Maybe Bool) Source #

Indicates whether all resource types in the Region are configured to use longer IDs. This value is only true if all users are configured to use longer IDs for all resources types in the Region.