| 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 |
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_requestId :: Lens' DescribeIpRestrictionResponse (Maybe Text)
- describeIpRestrictionResponse_ipRestrictionRuleMap :: Lens' DescribeIpRestrictionResponse (Maybe (HashMap Text Text))
- describeIpRestrictionResponse_enabled :: Lens' DescribeIpRestrictionResponse (Maybe Bool)
- describeIpRestrictionResponse_awsAccountId :: 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 #
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:
$sel:awsAccountId:DescribeIpRestriction', describeIpRestriction_awsAccountId - Your AWS account ID.
Request Lenses
describeIpRestriction_awsAccountId :: Lens' DescribeIpRestriction Text Source #
Your AWS account ID.
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:
$sel:requestId:DescribeIpRestrictionResponse', describeIpRestrictionResponse_requestId - The ID of the describe request.
$sel:ipRestrictionRuleMap:DescribeIpRestrictionResponse', describeIpRestrictionResponse_ipRestrictionRuleMap - Describes the IP rules with CIDR range and description.
$sel:enabled:DescribeIpRestrictionResponse', describeIpRestrictionResponse_enabled - Whether or not IP rules are enabled.
$sel:awsAccountId:DescribeIpRestriction', describeIpRestrictionResponse_awsAccountId - Your AWS account ID.
$sel:status:DescribeIpRestrictionResponse', describeIpRestrictionResponse_status - The status of a set of IP restrictions. A successful request returns a
200 status code.
Response Lenses
describeIpRestrictionResponse_requestId :: Lens' DescribeIpRestrictionResponse (Maybe Text) Source #
The ID of the describe request.
describeIpRestrictionResponse_ipRestrictionRuleMap :: Lens' DescribeIpRestrictionResponse (Maybe (HashMap Text Text)) Source #
Describes the IP rules with CIDR range and description.
describeIpRestrictionResponse_enabled :: Lens' DescribeIpRestrictionResponse (Maybe Bool) Source #
Whether or not IP rules are enabled.
describeIpRestrictionResponse_awsAccountId :: Lens' DescribeIpRestrictionResponse (Maybe Text) Source #
Your AWS account ID.
describeIpRestrictionResponse_status :: Lens' DescribeIpRestrictionResponse Int Source #
The status of a set of IP restrictions. A successful request returns a 200 status code.