| 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.WorkMail.DescribeInboundDmarcSettings
Description
Lists the settings in a DMARC policy for a specified organization.
Synopsis
- data DescribeInboundDmarcSettings = DescribeInboundDmarcSettings' {}
- newDescribeInboundDmarcSettings :: Text -> DescribeInboundDmarcSettings
- describeInboundDmarcSettings_organizationId :: Lens' DescribeInboundDmarcSettings Text
- data DescribeInboundDmarcSettingsResponse = DescribeInboundDmarcSettingsResponse' {
- enforced :: Maybe Bool
- httpStatus :: Int
- newDescribeInboundDmarcSettingsResponse :: Int -> DescribeInboundDmarcSettingsResponse
- describeInboundDmarcSettingsResponse_enforced :: Lens' DescribeInboundDmarcSettingsResponse (Maybe Bool)
- describeInboundDmarcSettingsResponse_httpStatus :: Lens' DescribeInboundDmarcSettingsResponse Int
Creating a Request
data DescribeInboundDmarcSettings Source #
See: newDescribeInboundDmarcSettings smart constructor.
Constructors
| DescribeInboundDmarcSettings' | |
Fields
| |
Instances
newDescribeInboundDmarcSettings Source #
Arguments
| :: Text | |
| -> DescribeInboundDmarcSettings |
Create a value of DescribeInboundDmarcSettings 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:
DescribeInboundDmarcSettings, describeInboundDmarcSettings_organizationId - Lists the ID of the given organization.
Request Lenses
describeInboundDmarcSettings_organizationId :: Lens' DescribeInboundDmarcSettings Text Source #
Lists the ID of the given organization.
Destructuring the Response
data DescribeInboundDmarcSettingsResponse Source #
See: newDescribeInboundDmarcSettingsResponse smart constructor.
Constructors
| DescribeInboundDmarcSettingsResponse' | |
Fields
| |
Instances
newDescribeInboundDmarcSettingsResponse Source #
Arguments
| :: Int | |
| -> DescribeInboundDmarcSettingsResponse |
Create a value of DescribeInboundDmarcSettingsResponse 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:enforced:DescribeInboundDmarcSettingsResponse', describeInboundDmarcSettingsResponse_enforced - Lists the enforcement setting of the applied policy.
$sel:httpStatus:DescribeInboundDmarcSettingsResponse', describeInboundDmarcSettingsResponse_httpStatus - The response's http status code.
Response Lenses
describeInboundDmarcSettingsResponse_enforced :: Lens' DescribeInboundDmarcSettingsResponse (Maybe Bool) Source #
Lists the enforcement setting of the applied policy.
describeInboundDmarcSettingsResponse_httpStatus :: Lens' DescribeInboundDmarcSettingsResponse Int Source #
The response's http status code.