Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Modifies the ID format of a resource for a specified IAM user, IAM role, or the root user for an account; or all IAM users, IAM roles, and the root user for an account. You can specify that resources should receive longer IDs (17-character IDs) when they are created.
The following resource types support longer IDs: 'instance' | reservation
| snapshot
| volume
. For more information, see Resource IDs in the Amazon Elastic Compute Cloud User Guide.
This setting applies to the principal specified in the request; it does not apply to the principal that makes the request.
Resources created with longer IDs are visible to all IAM roles and users, regardless of these settings and provided that they have permission to use the relevant Describe
command for the resource type.
- modifyIdentityIdFormat :: Text -> Bool -> Text -> ModifyIdentityIdFormat
- data ModifyIdentityIdFormat
- miifResource :: Lens' ModifyIdentityIdFormat Text
- miifUseLongIds :: Lens' ModifyIdentityIdFormat Bool
- miifPrincipalARN :: Lens' ModifyIdentityIdFormat Text
- modifyIdentityIdFormatResponse :: ModifyIdentityIdFormatResponse
- data ModifyIdentityIdFormatResponse
Creating a Request
modifyIdentityIdFormat Source #
Creates a value of ModifyIdentityIdFormat
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ModifyIdentityIdFormat Source #
Contains the parameters of ModifyIdentityIdFormat.
See: modifyIdentityIdFormat
smart constructor.
Request Lenses
miifResource :: Lens' ModifyIdentityIdFormat Text Source #
The type of resource: 'instance' | reservation
| snapshot
| volume
miifUseLongIds :: Lens' ModifyIdentityIdFormat Bool Source #
Indicates whether the resource should use longer IDs (17-character IDs)
miifPrincipalARN :: Lens' ModifyIdentityIdFormat Text Source #
The ARN of the principal, which can be an IAM user, IAM role, or the root user. Specify all
to modify the ID format for all IAM users, IAM roles, and the root user of the account.
Destructuring the Response
modifyIdentityIdFormatResponse :: ModifyIdentityIdFormatResponse Source #
Creates a value of ModifyIdentityIdFormatResponse
with the minimum fields required to make a request.
data ModifyIdentityIdFormatResponse Source #
See: modifyIdentityIdFormatResponse
smart constructor.