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 |
Obtains information about the conditional forwarders for this account.
If no input parameters are provided for RemoteDomainNames, this request describes all conditional forwarders for the specified directory ID.
Synopsis
- data DescribeConditionalForwarders = DescribeConditionalForwarders' {
- remoteDomainNames :: Maybe [Text]
- directoryId :: Text
- newDescribeConditionalForwarders :: Text -> DescribeConditionalForwarders
- describeConditionalForwarders_remoteDomainNames :: Lens' DescribeConditionalForwarders (Maybe [Text])
- describeConditionalForwarders_directoryId :: Lens' DescribeConditionalForwarders Text
- data DescribeConditionalForwardersResponse = DescribeConditionalForwardersResponse' {}
- newDescribeConditionalForwardersResponse :: Int -> DescribeConditionalForwardersResponse
- describeConditionalForwardersResponse_conditionalForwarders :: Lens' DescribeConditionalForwardersResponse (Maybe [ConditionalForwarder])
- describeConditionalForwardersResponse_httpStatus :: Lens' DescribeConditionalForwardersResponse Int
Creating a Request
data DescribeConditionalForwarders Source #
Describes a conditional forwarder.
See: newDescribeConditionalForwarders
smart constructor.
DescribeConditionalForwarders' | |
|
Instances
newDescribeConditionalForwarders Source #
Create a value of DescribeConditionalForwarders
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:remoteDomainNames:DescribeConditionalForwarders'
, describeConditionalForwarders_remoteDomainNames
- The fully qualified domain names (FQDN) of the remote domains for which
to get the list of associated conditional forwarders. If this member is
null, all conditional forwarders are returned.
$sel:directoryId:DescribeConditionalForwarders'
, describeConditionalForwarders_directoryId
- The directory ID for which to get the list of associated conditional
forwarders.
Request Lenses
describeConditionalForwarders_remoteDomainNames :: Lens' DescribeConditionalForwarders (Maybe [Text]) Source #
The fully qualified domain names (FQDN) of the remote domains for which to get the list of associated conditional forwarders. If this member is null, all conditional forwarders are returned.
describeConditionalForwarders_directoryId :: Lens' DescribeConditionalForwarders Text Source #
The directory ID for which to get the list of associated conditional forwarders.
Destructuring the Response
data DescribeConditionalForwardersResponse Source #
The result of a DescribeConditionalForwarder request.
See: newDescribeConditionalForwardersResponse
smart constructor.
DescribeConditionalForwardersResponse' | |
|
Instances
newDescribeConditionalForwardersResponse Source #
Create a value of DescribeConditionalForwardersResponse
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:conditionalForwarders:DescribeConditionalForwardersResponse'
, describeConditionalForwardersResponse_conditionalForwarders
- The list of conditional forwarders that have been created.
$sel:httpStatus:DescribeConditionalForwardersResponse'
, describeConditionalForwardersResponse_httpStatus
- The response's http status code.
Response Lenses
describeConditionalForwardersResponse_conditionalForwarders :: Lens' DescribeConditionalForwardersResponse (Maybe [ConditionalForwarder]) Source #
The list of conditional forwarders that have been created.
describeConditionalForwardersResponse_httpStatus :: Lens' DescribeConditionalForwardersResponse Int Source #
The response's http status code.