| 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.QuickSight.DescribeIpRestriction
Description
Provides a summary and status of IP rules.
Synopsis
- data DescribeIpRestriction = DescribeIpRestriction' {
- awsAccountId :: Text
- newDescribeIpRestriction :: Text -> DescribeIpRestriction
- describeIpRestriction_awsAccountId :: Lens' DescribeIpRestriction Text
- data DescribeIpRestrictionResponse = DescribeIpRestrictionResponse' {}
- newDescribeIpRestrictionResponse :: Int -> DescribeIpRestrictionResponse
- describeIpRestrictionResponse_awsAccountId :: Lens' DescribeIpRestrictionResponse (Maybe Text)
- describeIpRestrictionResponse_enabled :: Lens' DescribeIpRestrictionResponse (Maybe Bool)
- describeIpRestrictionResponse_ipRestrictionRuleMap :: Lens' DescribeIpRestrictionResponse (Maybe (HashMap Text Text))
- describeIpRestrictionResponse_requestId :: Lens' DescribeIpRestrictionResponse (Maybe Text)
- describeIpRestrictionResponse_status :: Lens' DescribeIpRestrictionResponse Int
Creating a Request
data DescribeIpRestriction Source #
See: newDescribeIpRestriction smart constructor.
Constructors
| DescribeIpRestriction' | |
Fields
| |
Instances
newDescribeIpRestriction Source #
Arguments
| :: Text | |
| -> DescribeIpRestriction |
Create a value of DescribeIpRestriction 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:
DescribeIpRestriction, describeIpRestriction_awsAccountId - The ID of the Amazon Web Services account that contains the IP rules.
Request Lenses
describeIpRestriction_awsAccountId :: Lens' DescribeIpRestriction Text Source #
The ID of the Amazon Web Services account that contains the IP rules.
Destructuring the Response
data DescribeIpRestrictionResponse Source #
See: newDescribeIpRestrictionResponse smart constructor.
Constructors
| DescribeIpRestrictionResponse' | |
Fields
| |
Instances
newDescribeIpRestrictionResponse Source #
Create a value of DescribeIpRestrictionResponse 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:
DescribeIpRestriction, describeIpRestrictionResponse_awsAccountId - The ID of the Amazon Web Services account that contains the IP rules.
$sel:enabled:DescribeIpRestrictionResponse', describeIpRestrictionResponse_enabled - A value that specifies whether IP rules are turned on.
$sel:ipRestrictionRuleMap:DescribeIpRestrictionResponse', describeIpRestrictionResponse_ipRestrictionRuleMap - A map that describes the IP rules with CIDR range and description.
$sel:requestId:DescribeIpRestrictionResponse', describeIpRestrictionResponse_requestId - The Amazon Web Services request ID for this operation.
DescribeIpRestrictionResponse, describeIpRestrictionResponse_status - The HTTP status of the request.
Response Lenses
describeIpRestrictionResponse_awsAccountId :: Lens' DescribeIpRestrictionResponse (Maybe Text) Source #
The ID of the Amazon Web Services account that contains the IP rules.
describeIpRestrictionResponse_enabled :: Lens' DescribeIpRestrictionResponse (Maybe Bool) Source #
A value that specifies whether IP rules are turned on.
describeIpRestrictionResponse_ipRestrictionRuleMap :: Lens' DescribeIpRestrictionResponse (Maybe (HashMap Text Text)) Source #
A map that describes the IP rules with CIDR range and description.
describeIpRestrictionResponse_requestId :: Lens' DescribeIpRestrictionResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
describeIpRestrictionResponse_status :: Lens' DescribeIpRestrictionResponse Int Source #
The HTTP status of the request.