| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Signer.AddProfilePermission
Description
Adds cross-account permissions to a signing profile.
Synopsis
- data AddProfilePermission = AddProfilePermission' {
- profileVersion :: Maybe Text
- revisionId :: Maybe Text
- action :: Text
- principal :: Text
- statementId :: Text
- profileName :: Text
- newAddProfilePermission :: Text -> Text -> Text -> Text -> AddProfilePermission
- addProfilePermission_profileVersion :: Lens' AddProfilePermission (Maybe Text)
- addProfilePermission_revisionId :: Lens' AddProfilePermission (Maybe Text)
- addProfilePermission_action :: Lens' AddProfilePermission Text
- addProfilePermission_principal :: Lens' AddProfilePermission Text
- addProfilePermission_statementId :: Lens' AddProfilePermission Text
- addProfilePermission_profileName :: Lens' AddProfilePermission Text
- data AddProfilePermissionResponse = AddProfilePermissionResponse' {
- revisionId :: Maybe Text
- httpStatus :: Int
- newAddProfilePermissionResponse :: Int -> AddProfilePermissionResponse
- addProfilePermissionResponse_revisionId :: Lens' AddProfilePermissionResponse (Maybe Text)
- addProfilePermissionResponse_httpStatus :: Lens' AddProfilePermissionResponse Int
Creating a Request
data AddProfilePermission Source #
See: newAddProfilePermission smart constructor.
Constructors
| AddProfilePermission' | |
Fields
| |
Instances
newAddProfilePermission Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> AddProfilePermission |
Create a value of AddProfilePermission 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:
AddProfilePermission, addProfilePermission_profileVersion - The version of the signing profile.
AddProfilePermission, addProfilePermission_revisionId - A unique identifier for the current profile revision.
AddProfilePermission, addProfilePermission_action - The AWS Signer action permitted as part of cross-account permissions.
AddProfilePermission, addProfilePermission_principal - The AWS principal receiving cross-account permissions. This may be an
IAM role or another AWS account ID.
AddProfilePermission, addProfilePermission_statementId - A unique identifier for the cross-account permission statement.
AddProfilePermission, addProfilePermission_profileName - The human-readable name of the signing profile.
Request Lenses
addProfilePermission_profileVersion :: Lens' AddProfilePermission (Maybe Text) Source #
The version of the signing profile.
addProfilePermission_revisionId :: Lens' AddProfilePermission (Maybe Text) Source #
A unique identifier for the current profile revision.
addProfilePermission_action :: Lens' AddProfilePermission Text Source #
The AWS Signer action permitted as part of cross-account permissions.
addProfilePermission_principal :: Lens' AddProfilePermission Text Source #
The AWS principal receiving cross-account permissions. This may be an IAM role or another AWS account ID.
addProfilePermission_statementId :: Lens' AddProfilePermission Text Source #
A unique identifier for the cross-account permission statement.
addProfilePermission_profileName :: Lens' AddProfilePermission Text Source #
The human-readable name of the signing profile.
Destructuring the Response
data AddProfilePermissionResponse Source #
See: newAddProfilePermissionResponse smart constructor.
Constructors
| AddProfilePermissionResponse' | |
Fields
| |
Instances
newAddProfilePermissionResponse Source #
Create a value of AddProfilePermissionResponse 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:
AddProfilePermission, addProfilePermissionResponse_revisionId - A unique identifier for the current profile revision.
$sel:httpStatus:AddProfilePermissionResponse', addProfilePermissionResponse_httpStatus - The response's http status code.
Response Lenses
addProfilePermissionResponse_revisionId :: Lens' AddProfilePermissionResponse (Maybe Text) Source #
A unique identifier for the current profile revision.
addProfilePermissionResponse_httpStatus :: Lens' AddProfilePermissionResponse Int Source #
The response's http status code.