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 |
Deletes the resource policy set on a domain.
Synopsis
- data DeleteDomainPermissionsPolicy = DeleteDomainPermissionsPolicy' {
- policyRevision :: Maybe Text
- domainOwner :: Maybe Text
- domain :: Text
- newDeleteDomainPermissionsPolicy :: Text -> DeleteDomainPermissionsPolicy
- deleteDomainPermissionsPolicy_policyRevision :: Lens' DeleteDomainPermissionsPolicy (Maybe Text)
- deleteDomainPermissionsPolicy_domainOwner :: Lens' DeleteDomainPermissionsPolicy (Maybe Text)
- deleteDomainPermissionsPolicy_domain :: Lens' DeleteDomainPermissionsPolicy Text
- data DeleteDomainPermissionsPolicyResponse = DeleteDomainPermissionsPolicyResponse' {}
- newDeleteDomainPermissionsPolicyResponse :: Int -> DeleteDomainPermissionsPolicyResponse
- deleteDomainPermissionsPolicyResponse_policy :: Lens' DeleteDomainPermissionsPolicyResponse (Maybe ResourcePolicy)
- deleteDomainPermissionsPolicyResponse_httpStatus :: Lens' DeleteDomainPermissionsPolicyResponse Int
Creating a Request
data DeleteDomainPermissionsPolicy Source #
See: newDeleteDomainPermissionsPolicy
smart constructor.
DeleteDomainPermissionsPolicy' | |
|
Instances
newDeleteDomainPermissionsPolicy Source #
Create a value of DeleteDomainPermissionsPolicy
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:policyRevision:DeleteDomainPermissionsPolicy'
, deleteDomainPermissionsPolicy_policyRevision
- The current revision of the resource policy to be deleted. This revision
is used for optimistic locking, which prevents others from overwriting
your changes to the domain's resource policy.
$sel:domainOwner:DeleteDomainPermissionsPolicy'
, deleteDomainPermissionsPolicy_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:domain:DeleteDomainPermissionsPolicy'
, deleteDomainPermissionsPolicy_domain
- The name of the domain associated with the resource policy to be
deleted.
Request Lenses
deleteDomainPermissionsPolicy_policyRevision :: Lens' DeleteDomainPermissionsPolicy (Maybe Text) Source #
The current revision of the resource policy to be deleted. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain's resource policy.
deleteDomainPermissionsPolicy_domainOwner :: Lens' DeleteDomainPermissionsPolicy (Maybe Text) Source #
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
deleteDomainPermissionsPolicy_domain :: Lens' DeleteDomainPermissionsPolicy Text Source #
The name of the domain associated with the resource policy to be deleted.
Destructuring the Response
data DeleteDomainPermissionsPolicyResponse Source #
See: newDeleteDomainPermissionsPolicyResponse
smart constructor.
DeleteDomainPermissionsPolicyResponse' | |
|
Instances
newDeleteDomainPermissionsPolicyResponse Source #
Create a value of DeleteDomainPermissionsPolicyResponse
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:policy:DeleteDomainPermissionsPolicyResponse'
, deleteDomainPermissionsPolicyResponse_policy
- Information about the deleted resource policy after processing the
request.
$sel:httpStatus:DeleteDomainPermissionsPolicyResponse'
, deleteDomainPermissionsPolicyResponse_httpStatus
- The response's http status code.
Response Lenses
deleteDomainPermissionsPolicyResponse_policy :: Lens' DeleteDomainPermissionsPolicyResponse (Maybe ResourcePolicy) Source #
Information about the deleted resource policy after processing the request.
deleteDomainPermissionsPolicyResponse_httpStatus :: Lens' DeleteDomainPermissionsPolicyResponse Int Source #
The response's http status code.