libZSservicesZSamazonka-transferZSamazonka-transfer
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Transfer.ListSecurityPolicies

Description

Lists the security policies that are attached to your file transfer protocol-enabled servers.

Synopsis

Creating a Request

data ListSecurityPolicies Source #

See: newListSecurityPolicies smart constructor.

Constructors

ListSecurityPolicies' 

Fields

  • nextToken :: Maybe Text

    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.

  • maxResults :: Maybe Natural

    Specifies the number of security policies to return as a response to the ListSecurityPolicies query.

Instances

Instances details
Eq ListSecurityPolicies Source # 
Instance details

Defined in Amazonka.Transfer.ListSecurityPolicies

Read ListSecurityPolicies Source # 
Instance details

Defined in Amazonka.Transfer.ListSecurityPolicies

Show ListSecurityPolicies Source # 
Instance details

Defined in Amazonka.Transfer.ListSecurityPolicies

Generic ListSecurityPolicies Source # 
Instance details

Defined in Amazonka.Transfer.ListSecurityPolicies

Associated Types

type Rep ListSecurityPolicies :: Type -> Type #

NFData ListSecurityPolicies Source # 
Instance details

Defined in Amazonka.Transfer.ListSecurityPolicies

Methods

rnf :: ListSecurityPolicies -> () #

Hashable ListSecurityPolicies Source # 
Instance details

Defined in Amazonka.Transfer.ListSecurityPolicies

ToJSON ListSecurityPolicies Source # 
Instance details

Defined in Amazonka.Transfer.ListSecurityPolicies

AWSRequest ListSecurityPolicies Source # 
Instance details

Defined in Amazonka.Transfer.ListSecurityPolicies

Associated Types

type AWSResponse ListSecurityPolicies #

ToHeaders ListSecurityPolicies Source # 
Instance details

Defined in Amazonka.Transfer.ListSecurityPolicies

ToPath ListSecurityPolicies Source # 
Instance details

Defined in Amazonka.Transfer.ListSecurityPolicies

ToQuery ListSecurityPolicies Source # 
Instance details

Defined in Amazonka.Transfer.ListSecurityPolicies

type Rep ListSecurityPolicies Source # 
Instance details

Defined in Amazonka.Transfer.ListSecurityPolicies

type Rep ListSecurityPolicies = D1 ('MetaData "ListSecurityPolicies" "Amazonka.Transfer.ListSecurityPolicies" "libZSservicesZSamazonka-transferZSamazonka-transfer" 'False) (C1 ('MetaCons "ListSecurityPolicies'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListSecurityPolicies Source # 
Instance details

Defined in Amazonka.Transfer.ListSecurityPolicies

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.

Constructors

ListSecurityPoliciesResponse' 

Fields

  • nextToken :: Maybe Text

    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.

  • httpStatus :: Int

    The response's http status code.

  • securityPolicyNames :: [Text]

    An array of security policies that were listed.

Instances

Instances details
Eq ListSecurityPoliciesResponse Source # 
Instance details

Defined in Amazonka.Transfer.ListSecurityPolicies

Read ListSecurityPoliciesResponse Source # 
Instance details

Defined in Amazonka.Transfer.ListSecurityPolicies

Show ListSecurityPoliciesResponse Source # 
Instance details

Defined in Amazonka.Transfer.ListSecurityPolicies

Generic ListSecurityPoliciesResponse Source # 
Instance details

Defined in Amazonka.Transfer.ListSecurityPolicies

Associated Types

type Rep ListSecurityPoliciesResponse :: Type -> Type #

NFData ListSecurityPoliciesResponse Source # 
Instance details

Defined in Amazonka.Transfer.ListSecurityPolicies

type Rep ListSecurityPoliciesResponse Source # 
Instance details

Defined in Amazonka.Transfer.ListSecurityPolicies

type Rep ListSecurityPoliciesResponse = D1 ('MetaData "ListSecurityPoliciesResponse" "Amazonka.Transfer.ListSecurityPolicies" "libZSservicesZSamazonka-transferZSamazonka-transfer" 'False) (C1 ('MetaCons "ListSecurityPoliciesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "securityPolicyNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))

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.