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 |
Amazonka.Signer.RemoveProfilePermission
Description
Removes cross-account permissions from a signing profile.
Synopsis
- data RemoveProfilePermission = RemoveProfilePermission' {
- revisionId :: Text
- profileName :: Text
- statementId :: Text
- newRemoveProfilePermission :: Text -> Text -> Text -> RemoveProfilePermission
- removeProfilePermission_revisionId :: Lens' RemoveProfilePermission Text
- removeProfilePermission_profileName :: Lens' RemoveProfilePermission Text
- removeProfilePermission_statementId :: Lens' RemoveProfilePermission Text
- data RemoveProfilePermissionResponse = RemoveProfilePermissionResponse' {
- revisionId :: Maybe Text
- httpStatus :: Int
- newRemoveProfilePermissionResponse :: Int -> RemoveProfilePermissionResponse
- removeProfilePermissionResponse_revisionId :: Lens' RemoveProfilePermissionResponse (Maybe Text)
- removeProfilePermissionResponse_httpStatus :: Lens' RemoveProfilePermissionResponse Int
Creating a Request
data RemoveProfilePermission Source #
See: newRemoveProfilePermission
smart constructor.
Constructors
RemoveProfilePermission' | |
Fields
|
Instances
newRemoveProfilePermission Source #
Arguments
:: Text | |
-> Text | |
-> Text | |
-> RemoveProfilePermission |
Create a value of RemoveProfilePermission
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:RemoveProfilePermission'
, removeProfilePermission_revisionId
- An identifier for the current revision of the signing profile
permissions.
$sel:profileName:RemoveProfilePermission'
, removeProfilePermission_profileName
- A human-readable name for the signing profile with permissions to be
removed.
$sel:statementId:RemoveProfilePermission'
, removeProfilePermission_statementId
- A unique identifier for the cross-account permissions statement.
Request Lenses
removeProfilePermission_revisionId :: Lens' RemoveProfilePermission Text Source #
An identifier for the current revision of the signing profile permissions.
removeProfilePermission_profileName :: Lens' RemoveProfilePermission Text Source #
A human-readable name for the signing profile with permissions to be removed.
removeProfilePermission_statementId :: Lens' RemoveProfilePermission Text Source #
A unique identifier for the cross-account permissions statement.
Destructuring the Response
data RemoveProfilePermissionResponse Source #
See: newRemoveProfilePermissionResponse
smart constructor.
Constructors
RemoveProfilePermissionResponse' | |
Fields
|
Instances
newRemoveProfilePermissionResponse Source #
Create a value of RemoveProfilePermissionResponse
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:RemoveProfilePermission'
, removeProfilePermissionResponse_revisionId
- An identifier for the current revision of the profile permissions.
$sel:httpStatus:RemoveProfilePermissionResponse'
, removeProfilePermissionResponse_httpStatus
- The response's http status code.
Response Lenses
removeProfilePermissionResponse_revisionId :: Lens' RemoveProfilePermissionResponse (Maybe Text) Source #
An identifier for the current revision of the profile permissions.
removeProfilePermissionResponse_httpStatus :: Lens' RemoveProfilePermissionResponse Int Source #
The response's http status code.