/AWS1/CL_EC2=>DESCRIBEIDENTITYIDFORMAT()
¶
About DescribeIdentityIdFormat¶
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.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_principalarn
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
The ARN of the principal, which can be an IAM role, IAM user, or the root user.
Optional arguments:¶
iv_resource
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
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
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_ec2descrididfmtrslt
/AWS1/CL_EC2DESCRIDIDFMTRSLT
¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->/aws1/if_ec2~describeidentityidformat(
iv_principalarn = |string|
iv_resource = |string|
).
This is an example of reading all possible response values
LOOP AT lo_result->get_statuses( ) into lo_row.
lv_datetime = lo_row_1->get_deadline( ).
lv_string = lo_row_1->get_resource( ).
lv_boolean = lo_row_1->get_uselongids( ).
ENDLOOP.