libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront
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.CloudFront.ListFunctions

Description

Gets a list of all CloudFront functions in your account.

You can optionally apply a filter to return only the functions that are in the specified stage, either DEVELOPMENT or LIVE.

You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.

Synopsis

Creating a Request

data ListFunctions Source #

See: newListFunctions smart constructor.

Constructors

ListFunctions' 

Fields

  • stage :: Maybe FunctionStage

    An optional filter to return only the functions that are in the specified stage, either DEVELOPMENT or LIVE.

  • marker :: Maybe Text

    Use this field when paginating results to indicate where to begin in your list of functions. The response includes functions in the list that occur after the marker. To get the next page of the list, set this field’s value to the value of NextMarker from the current page’s response.

  • maxItems :: Maybe Text

    The maximum number of functions that you want in the response.

Instances

Instances details
Eq ListFunctions Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

Read ListFunctions Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

Show ListFunctions Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

Generic ListFunctions Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

Associated Types

type Rep ListFunctions :: Type -> Type #

NFData ListFunctions Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

Methods

rnf :: ListFunctions -> () #

Hashable ListFunctions Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

AWSRequest ListFunctions Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

Associated Types

type AWSResponse ListFunctions #

ToHeaders ListFunctions Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

ToPath ListFunctions Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

ToQuery ListFunctions Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

type Rep ListFunctions Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

type Rep ListFunctions = D1 ('MetaData "ListFunctions" "Amazonka.CloudFront.ListFunctions" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "ListFunctions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FunctionStage)) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))
type AWSResponse ListFunctions Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

newListFunctions :: ListFunctions Source #

Create a value of ListFunctions 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:stage:ListFunctions', listFunctions_stage - An optional filter to return only the functions that are in the specified stage, either DEVELOPMENT or LIVE.

$sel:marker:ListFunctions', listFunctions_marker - Use this field when paginating results to indicate where to begin in your list of functions. The response includes functions in the list that occur after the marker. To get the next page of the list, set this field’s value to the value of NextMarker from the current page’s response.

$sel:maxItems:ListFunctions', listFunctions_maxItems - The maximum number of functions that you want in the response.

Request Lenses

listFunctions_stage :: Lens' ListFunctions (Maybe FunctionStage) Source #

An optional filter to return only the functions that are in the specified stage, either DEVELOPMENT or LIVE.

listFunctions_marker :: Lens' ListFunctions (Maybe Text) Source #

Use this field when paginating results to indicate where to begin in your list of functions. The response includes functions in the list that occur after the marker. To get the next page of the list, set this field’s value to the value of NextMarker from the current page’s response.

listFunctions_maxItems :: Lens' ListFunctions (Maybe Text) Source #

The maximum number of functions that you want in the response.

Destructuring the Response

data ListFunctionsResponse Source #

See: newListFunctionsResponse smart constructor.

Constructors

ListFunctionsResponse' 

Fields

Instances

Instances details
Eq ListFunctionsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

Read ListFunctionsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

Show ListFunctionsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

Generic ListFunctionsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

Associated Types

type Rep ListFunctionsResponse :: Type -> Type #

NFData ListFunctionsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

Methods

rnf :: ListFunctionsResponse -> () #

type Rep ListFunctionsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

type Rep ListFunctionsResponse = D1 ('MetaData "ListFunctionsResponse" "Amazonka.CloudFront.ListFunctions" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "ListFunctionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "functionList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FunctionList)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newListFunctionsResponse Source #

Create a value of ListFunctionsResponse 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:functionList:ListFunctionsResponse', listFunctionsResponse_functionList - A list of CloudFront functions.

$sel:httpStatus:ListFunctionsResponse', listFunctionsResponse_httpStatus - The response's http status code.

Response Lenses