DescribeAggregateIdFormat
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.
Request Parameters
For more information about required and optional parameters that are common to all actions, see Common Query Parameters.
- 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 isUnauthorizedOperation.Type: Boolean
Required: No
Response Elements
The following elements are returned by the service.
- requestId
-
The ID of the request.
Type: String
- statusSet
-
Information about each resource's ID format.
Type: Array of IdFormat objects
- useLongIdsAggregated
-
Indicates whether all resource types in the Region are configured to use longer IDs. This value is only
trueif all users are configured to use longer IDs for all resources types in the Region.Type: Boolean
Errors
For information about the errors that are common to all actions, see Common Error Types.
Examples
Example
This example describes the overall ID format settings for the default Region.
Sample Request
https://ec2.amazonaws.com/?Action=DescribeAggregateIdFormat
&AUTHPARAMS
Sample Response
59dbff89-35bd-4eac-99ed-be587EXAMPLE
true
-
security-group
true
-
route-table-association
true
-
vpc
true
-
flow-log
true
-
vpc-peering-connection
true
-
elastic-ip-association
true
-
vpc-cidr-block-association
true
-
network-interface
true
-
subnet
true
-
2016-12-15T14:00:00.000Z
volume
true
-
vpc-ipv6-cidr-block-association
true
-
network-acl-association
true
-
dhcp-options
true
-
2016-12-15T14:00:00.000Z
snapshot
true
-
subnet-ipv6-cidr-block-association
true
-
network-interface-attachment
true
-
elastic-ip-allocation
true
-
internet-gateway
true
-
2016-12-15T14:00:00.000Z
reservation
true
-
2016-12-15T14:00:00.000Z
instance
true
-
route-table
true
-
network-acl
true
-
customer-gateway
true
-
vpc-endpoint
true
-
vpn-connection
true
-
vpn-gateway
true
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: