amazonka-transfer-2.0: Amazon Transfer Family SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Transfer.ListCertificates

Description

Returns a list of the current certificates that have been imported into Transfer Family. If you want to limit the results to a certain number, supply a value for the MaxResults parameter. If you ran the command previously and received a value for the NextToken parameter, you can supply that value to continue listing certificates from where you left off.

This operation returns paginated results.

Synopsis

Creating a Request

data ListCertificates Source #

See: newListCertificates smart constructor.

Constructors

ListCertificates' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of certificates to return.

  • nextToken :: Maybe Text

    When you can get additional results from the ListCertificates call, a NextToken parameter is returned in the output. You can then pass in a subsequent command to the NextToken parameter to continue listing additional certificates.

Instances

Instances details
ToJSON ListCertificates Source # 
Instance details

Defined in Amazonka.Transfer.ListCertificates

ToHeaders ListCertificates Source # 
Instance details

Defined in Amazonka.Transfer.ListCertificates

ToPath ListCertificates Source # 
Instance details

Defined in Amazonka.Transfer.ListCertificates

ToQuery ListCertificates Source # 
Instance details

Defined in Amazonka.Transfer.ListCertificates

AWSPager ListCertificates Source # 
Instance details

Defined in Amazonka.Transfer.ListCertificates

AWSRequest ListCertificates Source # 
Instance details

Defined in Amazonka.Transfer.ListCertificates

Associated Types

type AWSResponse ListCertificates #

Generic ListCertificates Source # 
Instance details

Defined in Amazonka.Transfer.ListCertificates

Associated Types

type Rep ListCertificates :: Type -> Type #

Read ListCertificates Source # 
Instance details

Defined in Amazonka.Transfer.ListCertificates

Show ListCertificates Source # 
Instance details

Defined in Amazonka.Transfer.ListCertificates

NFData ListCertificates Source # 
Instance details

Defined in Amazonka.Transfer.ListCertificates

Methods

rnf :: ListCertificates -> () #

Eq ListCertificates Source # 
Instance details

Defined in Amazonka.Transfer.ListCertificates

Hashable ListCertificates Source # 
Instance details

Defined in Amazonka.Transfer.ListCertificates

type AWSResponse ListCertificates Source # 
Instance details

Defined in Amazonka.Transfer.ListCertificates

type Rep ListCertificates Source # 
Instance details

Defined in Amazonka.Transfer.ListCertificates

type Rep ListCertificates = D1 ('MetaData "ListCertificates" "Amazonka.Transfer.ListCertificates" "amazonka-transfer-2.0-JiqKYJwOo427yDlzvkXGLY" 'False) (C1 ('MetaCons "ListCertificates'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListCertificates :: ListCertificates Source #

Create a value of ListCertificates 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:maxResults:ListCertificates', listCertificates_maxResults - The maximum number of certificates to return.

ListCertificates, listCertificates_nextToken - When you can get additional results from the ListCertificates call, a NextToken parameter is returned in the output. You can then pass in a subsequent command to the NextToken parameter to continue listing additional certificates.

Request Lenses

listCertificates_maxResults :: Lens' ListCertificates (Maybe Natural) Source #

The maximum number of certificates to return.

listCertificates_nextToken :: Lens' ListCertificates (Maybe Text) Source #

When you can get additional results from the ListCertificates call, a NextToken parameter is returned in the output. You can then pass in a subsequent command to the NextToken parameter to continue listing additional certificates.

Destructuring the Response

data ListCertificatesResponse Source #

See: newListCertificatesResponse smart constructor.

Constructors

ListCertificatesResponse' 

Fields

Instances

Instances details
Generic ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.Transfer.ListCertificates

Associated Types

type Rep ListCertificatesResponse :: Type -> Type #

Read ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.Transfer.ListCertificates

Show ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.Transfer.ListCertificates

NFData ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.Transfer.ListCertificates

Eq ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.Transfer.ListCertificates

type Rep ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.Transfer.ListCertificates

type Rep ListCertificatesResponse = D1 ('MetaData "ListCertificatesResponse" "Amazonka.Transfer.ListCertificates" "amazonka-transfer-2.0-JiqKYJwOo427yDlzvkXGLY" 'False) (C1 ('MetaCons "ListCertificatesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "certificates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ListedCertificate]))))

newListCertificatesResponse Source #

Create a value of ListCertificatesResponse 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:

ListCertificates, listCertificatesResponse_nextToken - Returns the next token, which you can use to list the next certificate.

$sel:httpStatus:ListCertificatesResponse', listCertificatesResponse_httpStatus - The response's http status code.

$sel:certificates:ListCertificatesResponse', listCertificatesResponse_certificates - Returns an array of the certificates that are specified in the ListCertificates call.

Response Lenses

listCertificatesResponse_nextToken :: Lens' ListCertificatesResponse (Maybe Text) Source #

Returns the next token, which you can use to list the next certificate.

listCertificatesResponse_certificates :: Lens' ListCertificatesResponse [ListedCertificate] Source #

Returns an array of the certificates that are specified in the ListCertificates call.