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 |
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.
RemoveProfilePermission' | |
|
Instances
newRemoveProfilePermission Source #
:: 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.
RemoveProfilePermissionResponse' | |
|
Instances
Eq RemoveProfilePermissionResponse Source # | |
Read RemoveProfilePermissionResponse Source # | |
Show RemoveProfilePermissionResponse Source # | |
Defined in Amazonka.Signer.RemoveProfilePermission | |
Generic RemoveProfilePermissionResponse Source # | |
NFData RemoveProfilePermissionResponse Source # | |
Defined in Amazonka.Signer.RemoveProfilePermission rnf :: RemoveProfilePermissionResponse -> () # | |
type Rep RemoveProfilePermissionResponse Source # | |
Defined in Amazonka.Signer.RemoveProfilePermission type Rep RemoveProfilePermissionResponse = D1 ('MetaData "RemoveProfilePermissionResponse" "Amazonka.Signer.RemoveProfilePermission" "libZSservicesZSamazonka-signerZSamazonka-signer" 'False) (C1 ('MetaCons "RemoveProfilePermissionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "revisionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.