amazonka-cloudfront-2.0: Amazon CloudFront 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.CloudFront.ListFunctions

Description

Gets a list of all CloudFront functions in your Amazon Web Services 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

  • 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.

  • stage :: Maybe FunctionStage

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

Instances

Instances details
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

AWSRequest ListFunctions Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

Associated Types

type AWSResponse ListFunctions #

Generic ListFunctions Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

Associated Types

type Rep ListFunctions :: Type -> Type #

Read ListFunctions Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

Show ListFunctions Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

NFData ListFunctions Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

Methods

rnf :: ListFunctions -> () #

Eq ListFunctions Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

Hashable ListFunctions Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

type AWSResponse 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" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ListFunctions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FunctionStage)))))

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:

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.

ListFunctions, listFunctions_maxItems - The maximum number of functions that you want in the response.

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

Request Lenses

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.

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.

Destructuring the Response

data ListFunctionsResponse Source #

See: newListFunctionsResponse smart constructor.

Constructors

ListFunctionsResponse' 

Fields

Instances

Instances details
Generic ListFunctionsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

Associated Types

type Rep ListFunctionsResponse :: Type -> Type #

Read ListFunctionsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

Show ListFunctionsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

NFData ListFunctionsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

Methods

rnf :: ListFunctionsResponse -> () #

Eq ListFunctionsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

type Rep ListFunctionsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListFunctions

type Rep ListFunctionsResponse = D1 ('MetaData "ListFunctionsResponse" "Amazonka.CloudFront.ListFunctions" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" '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