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 |
Get the Verified Access policy associated with the endpoint.
Synopsis
- data GetVerifiedAccessEndpointPolicy = GetVerifiedAccessEndpointPolicy' {}
- newGetVerifiedAccessEndpointPolicy :: Text -> GetVerifiedAccessEndpointPolicy
- getVerifiedAccessEndpointPolicy_dryRun :: Lens' GetVerifiedAccessEndpointPolicy (Maybe Bool)
- getVerifiedAccessEndpointPolicy_verifiedAccessEndpointId :: Lens' GetVerifiedAccessEndpointPolicy Text
- data GetVerifiedAccessEndpointPolicyResponse = GetVerifiedAccessEndpointPolicyResponse' {}
- newGetVerifiedAccessEndpointPolicyResponse :: Int -> GetVerifiedAccessEndpointPolicyResponse
- getVerifiedAccessEndpointPolicyResponse_policyDocument :: Lens' GetVerifiedAccessEndpointPolicyResponse (Maybe Text)
- getVerifiedAccessEndpointPolicyResponse_policyEnabled :: Lens' GetVerifiedAccessEndpointPolicyResponse (Maybe Bool)
- getVerifiedAccessEndpointPolicyResponse_httpStatus :: Lens' GetVerifiedAccessEndpointPolicyResponse Int
Creating a Request
data GetVerifiedAccessEndpointPolicy Source #
See: newGetVerifiedAccessEndpointPolicy
smart constructor.
GetVerifiedAccessEndpointPolicy' | |
|
Instances
newGetVerifiedAccessEndpointPolicy Source #
Create a value of GetVerifiedAccessEndpointPolicy
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:dryRun:GetVerifiedAccessEndpointPolicy'
, getVerifiedAccessEndpointPolicy_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
GetVerifiedAccessEndpointPolicy
, getVerifiedAccessEndpointPolicy_verifiedAccessEndpointId
- The ID of the Amazon Web Services Verified Access endpoint.
Request Lenses
getVerifiedAccessEndpointPolicy_dryRun :: Lens' GetVerifiedAccessEndpointPolicy (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
getVerifiedAccessEndpointPolicy_verifiedAccessEndpointId :: Lens' GetVerifiedAccessEndpointPolicy Text Source #
The ID of the Amazon Web Services Verified Access endpoint.
Destructuring the Response
data GetVerifiedAccessEndpointPolicyResponse Source #
See: newGetVerifiedAccessEndpointPolicyResponse
smart constructor.
GetVerifiedAccessEndpointPolicyResponse' | |
|
Instances
newGetVerifiedAccessEndpointPolicyResponse Source #
Create a value of GetVerifiedAccessEndpointPolicyResponse
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:
GetVerifiedAccessEndpointPolicyResponse
, getVerifiedAccessEndpointPolicyResponse_policyDocument
- The Amazon Web Services Verified Access policy document.
$sel:policyEnabled:GetVerifiedAccessEndpointPolicyResponse'
, getVerifiedAccessEndpointPolicyResponse_policyEnabled
- The status of the Verified Access policy.
$sel:httpStatus:GetVerifiedAccessEndpointPolicyResponse'
, getVerifiedAccessEndpointPolicyResponse_httpStatus
- The response's http status code.
Response Lenses
getVerifiedAccessEndpointPolicyResponse_policyDocument :: Lens' GetVerifiedAccessEndpointPolicyResponse (Maybe Text) Source #
The Amazon Web Services Verified Access policy document.
getVerifiedAccessEndpointPolicyResponse_policyEnabled :: Lens' GetVerifiedAccessEndpointPolicyResponse (Maybe Bool) Source #
The status of the Verified Access policy.
getVerifiedAccessEndpointPolicyResponse_httpStatus :: Lens' GetVerifiedAccessEndpointPolicyResponse Int Source #
The response's http status code.