Amazon Elastic Compute Cloud
API Reference (API Version 2016-11-15)


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 | 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-peering-connection.

Request Parameters

For more information about required and optional parameters that are common to all actions, see Common Query Parameters.


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.

Type: Boolean

Required: No

Response Elements

The following elements are returned by the service.


The ID of the request.

Type: String


Information about each resource's ID format.

Type: Array of IdFormat objects


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.

Type: Boolean


For information about the errors that are common to all actions, see Common Client Errors.



This example describes the overall ID format settings for the default region.

Sample Request &AUTHPARAMS

Sample Response

<DescribeAggregateIdFormatResponse xmlns=""> <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> <useLongIdsAggregated>true</useLongIdsAggregated> <statusSet> <item> <resource>security-group</resource> <useLongIds>true</useLongIds> </item> <item> <resource>route-table-association</resource> <useLongIds>true</useLongIds> </item> <item> <resource>vpc</resource> <useLongIds>true</useLongIds> </item> <item> <resource>flow-log</resource> <useLongIds>true</useLongIds> </item> <item> <resource>vpc-peering-connection</resource> <useLongIds>true</useLongIds> </item> <item> <resource>elastic-ip-association</resource> <useLongIds>true</useLongIds> </item> <item> <resource>vpc-cidr-block-association</resource> <useLongIds>true</useLongIds> </item> <item> <resource>network-interface</resource> <useLongIds>true</useLongIds> </item> <item> <resource>subnet</resource> <useLongIds>true</useLongIds> </item> <item> <deadline>2016-12-15T14:00:00.000Z</deadline> <resource>volume</resource> <useLongIds>true</useLongIds> </item> <item> <resource>vpc-ipv6-cidr-block-association</resource> <useLongIds>true</useLongIds> </item> <item> <resource>network-acl-association</resource> <useLongIds>true</useLongIds> </item> <item> <resource>dhcp-options</resource> <useLongIds>true</useLongIds> </item> <item> <deadline>2016-12-15T14:00:00.000Z</deadline> <resource>snapshot</resource> <useLongIds>true</useLongIds> </item> <item> <resource>subnet-ipv6-cidr-block-association</resource> <useLongIds>true</useLongIds> </item> <item> <resource>network-interface-attachment</resource> <useLongIds>true</useLongIds> </item> <item> <resource>elastic-ip-allocation</resource> <useLongIds>true</useLongIds> </item> <item> <resource>internet-gateway</resource> <useLongIds>true</useLongIds> </item> <item> <deadline>2016-12-15T14:00:00.000Z</deadline> <resource>reservation</resource> <useLongIds>true</useLongIds> </item> <item> <deadline>2016-12-15T14:00:00.000Z</deadline> <resource>instance</resource> <useLongIds>true</useLongIds> </item> <item> <resource>route-table</resource> <useLongIds>true</useLongIds> </item> <item> <resource>network-acl</resource> <useLongIds>true</useLongIds> </item> </statusSet> </DescribeAggregateIdFormatResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: