Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
AddProfilePermission' | |
|
Instances
newAddProfilePermission Source #
:: 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:
$sel:profileVersion:AddProfilePermission'
, addProfilePermission_profileVersion
- The version of the signing profile.
$sel:revisionId:AddProfilePermission'
, addProfilePermission_revisionId
- A unique identifier for the current profile revision.
$sel:action:AddProfilePermission'
, addProfilePermission_action
- The AWS Signer action permitted as part of cross-account permissions.
$sel:principal:AddProfilePermission'
, addProfilePermission_principal
- The AWS principal receiving cross-account permissions. This may be an
IAM role or another AWS account ID.
$sel:statementId:AddProfilePermission'
, addProfilePermission_statementId
- A unique identifier for the cross-account permission statement.
$sel:profileName: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.
AddProfilePermissionResponse' | |
|
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:
$sel:revisionId: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.