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 |
Lists the security policies that are attached to your file transfer protocol-enabled servers.
Synopsis
- data ListSecurityPolicies = ListSecurityPolicies' {}
- newListSecurityPolicies :: ListSecurityPolicies
- listSecurityPolicies_nextToken :: Lens' ListSecurityPolicies (Maybe Text)
- listSecurityPolicies_maxResults :: Lens' ListSecurityPolicies (Maybe Natural)
- data ListSecurityPoliciesResponse = ListSecurityPoliciesResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- securityPolicyNames :: [Text]
- newListSecurityPoliciesResponse :: Int -> ListSecurityPoliciesResponse
- listSecurityPoliciesResponse_nextToken :: Lens' ListSecurityPoliciesResponse (Maybe Text)
- listSecurityPoliciesResponse_httpStatus :: Lens' ListSecurityPoliciesResponse Int
- listSecurityPoliciesResponse_securityPolicyNames :: Lens' ListSecurityPoliciesResponse [Text]
Creating a Request
data ListSecurityPolicies Source #
See: newListSecurityPolicies
smart constructor.
ListSecurityPolicies' | |
|
Instances
newListSecurityPolicies :: ListSecurityPolicies Source #
Create a value of ListSecurityPolicies
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:nextToken:ListSecurityPolicies'
, listSecurityPolicies_nextToken
- When additional results are obtained from the ListSecurityPolicies
command, a NextToken
parameter is returned in the output. You can then
pass the NextToken
parameter in a subsequent command to continue
listing additional security policies.
$sel:maxResults:ListSecurityPolicies'
, listSecurityPolicies_maxResults
- Specifies the number of security policies to return as a response to the
ListSecurityPolicies
query.
Request Lenses
listSecurityPolicies_nextToken :: Lens' ListSecurityPolicies (Maybe Text) Source #
When additional results are obtained from the ListSecurityPolicies
command, a NextToken
parameter is returned in the output. You can then
pass the NextToken
parameter in a subsequent command to continue
listing additional security policies.
listSecurityPolicies_maxResults :: Lens' ListSecurityPolicies (Maybe Natural) Source #
Specifies the number of security policies to return as a response to the
ListSecurityPolicies
query.
Destructuring the Response
data ListSecurityPoliciesResponse Source #
See: newListSecurityPoliciesResponse
smart constructor.
ListSecurityPoliciesResponse' | |
|
Instances
newListSecurityPoliciesResponse Source #
Create a value of ListSecurityPoliciesResponse
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:nextToken:ListSecurityPolicies'
, listSecurityPoliciesResponse_nextToken
- When you can get additional results from the ListSecurityPolicies
operation, a NextToken
parameter is returned in the output. In a
following command, you can pass in the NextToken
parameter to continue
listing security policies.
$sel:httpStatus:ListSecurityPoliciesResponse'
, listSecurityPoliciesResponse_httpStatus
- The response's http status code.
$sel:securityPolicyNames:ListSecurityPoliciesResponse'
, listSecurityPoliciesResponse_securityPolicyNames
- An array of security policies that were listed.
Response Lenses
listSecurityPoliciesResponse_nextToken :: Lens' ListSecurityPoliciesResponse (Maybe Text) Source #
When you can get additional results from the ListSecurityPolicies
operation, a NextToken
parameter is returned in the output. In a
following command, you can pass in the NextToken
parameter to continue
listing security policies.
listSecurityPoliciesResponse_httpStatus :: Lens' ListSecurityPoliciesResponse Int Source #
The response's http status code.
listSecurityPoliciesResponse_securityPolicyNames :: Lens' ListSecurityPoliciesResponse [Text] Source #
An array of security policies that were listed.