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 |
Describes the security policy that is attached to your file transfer protocol-enabled server. The response contains a description of the security policy's properties. For more information about security policies, see Working with security policies.
Synopsis
- data DescribeSecurityPolicy = DescribeSecurityPolicy' {}
- newDescribeSecurityPolicy :: Text -> DescribeSecurityPolicy
- describeSecurityPolicy_securityPolicyName :: Lens' DescribeSecurityPolicy Text
- data DescribeSecurityPolicyResponse = DescribeSecurityPolicyResponse' {}
- newDescribeSecurityPolicyResponse :: Int -> DescribedSecurityPolicy -> DescribeSecurityPolicyResponse
- describeSecurityPolicyResponse_httpStatus :: Lens' DescribeSecurityPolicyResponse Int
- describeSecurityPolicyResponse_securityPolicy :: Lens' DescribeSecurityPolicyResponse DescribedSecurityPolicy
Creating a Request
data DescribeSecurityPolicy Source #
See: newDescribeSecurityPolicy
smart constructor.
DescribeSecurityPolicy' | |
|
Instances
newDescribeSecurityPolicy Source #
Create a value of DescribeSecurityPolicy
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:securityPolicyName:DescribeSecurityPolicy'
, describeSecurityPolicy_securityPolicyName
- Specifies the name of the security policy that is attached to the
server.
Request Lenses
describeSecurityPolicy_securityPolicyName :: Lens' DescribeSecurityPolicy Text Source #
Specifies the name of the security policy that is attached to the server.
Destructuring the Response
data DescribeSecurityPolicyResponse Source #
See: newDescribeSecurityPolicyResponse
smart constructor.
DescribeSecurityPolicyResponse' | |
|
Instances
Eq DescribeSecurityPolicyResponse Source # | |
Read DescribeSecurityPolicyResponse Source # | |
Show DescribeSecurityPolicyResponse Source # | |
Defined in Amazonka.Transfer.DescribeSecurityPolicy | |
Generic DescribeSecurityPolicyResponse Source # | |
NFData DescribeSecurityPolicyResponse Source # | |
Defined in Amazonka.Transfer.DescribeSecurityPolicy rnf :: DescribeSecurityPolicyResponse -> () # | |
type Rep DescribeSecurityPolicyResponse Source # | |
Defined in Amazonka.Transfer.DescribeSecurityPolicy type Rep DescribeSecurityPolicyResponse = D1 ('MetaData "DescribeSecurityPolicyResponse" "Amazonka.Transfer.DescribeSecurityPolicy" "libZSservicesZSamazonka-transferZSamazonka-transfer" 'False) (C1 ('MetaCons "DescribeSecurityPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "securityPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DescribedSecurityPolicy))) |
newDescribeSecurityPolicyResponse Source #
Create a value of DescribeSecurityPolicyResponse
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:httpStatus:DescribeSecurityPolicyResponse'
, describeSecurityPolicyResponse_httpStatus
- The response's http status code.
$sel:securityPolicy:DescribeSecurityPolicyResponse'
, describeSecurityPolicyResponse_securityPolicy
- An array containing the properties of the security policy.
Response Lenses
describeSecurityPolicyResponse_httpStatus :: Lens' DescribeSecurityPolicyResponse Int Source #
The response's http status code.
describeSecurityPolicyResponse_securityPolicy :: Lens' DescribeSecurityPolicyResponse DescribedSecurityPolicy Source #
An array containing the properties of the security policy.