amazonka-apprunner-2.0: Amazon App Runner 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.AppRunner.ListAutoScalingConfigurations

Description

Returns a list of active App Runner automatic scaling configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or the revisions for all active configurations in your account. You can optionally query only the latest revision of each requested name.

To retrieve a full description of a particular configuration revision, call and provide one of the ARNs returned by ListAutoScalingConfigurations.

Synopsis

Creating a Request

data ListAutoScalingConfigurations Source #

See: newListAutoScalingConfigurations smart constructor.

Constructors

ListAutoScalingConfigurations' 

Fields

  • autoScalingConfigurationName :: Maybe Text

    The name of the App Runner auto scaling configuration that you want to list. If specified, App Runner lists revisions that share this name. If not specified, App Runner returns revisions of all active configurations.

  • latestOnly :: Maybe Bool

    Set to true to list only the latest revision for each requested configuration name.

    Set to false to list all revisions for each requested configuration name.

    Default: true

  • maxResults :: Maybe Natural

    The maximum number of results to include in each response (result page). It's used for a paginated request.

    If you don't specify MaxResults, the request retrieves all available results in a single response.

  • nextToken :: Maybe Text

    A token from a previous result page. It's used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones that are specified in the initial request.

    If you don't specify NextToken, the request retrieves the first result page.

Instances

Instances details
ToJSON ListAutoScalingConfigurations Source # 
Instance details

Defined in Amazonka.AppRunner.ListAutoScalingConfigurations

ToHeaders ListAutoScalingConfigurations Source # 
Instance details

Defined in Amazonka.AppRunner.ListAutoScalingConfigurations

ToPath ListAutoScalingConfigurations Source # 
Instance details

Defined in Amazonka.AppRunner.ListAutoScalingConfigurations

ToQuery ListAutoScalingConfigurations Source # 
Instance details

Defined in Amazonka.AppRunner.ListAutoScalingConfigurations

AWSRequest ListAutoScalingConfigurations Source # 
Instance details

Defined in Amazonka.AppRunner.ListAutoScalingConfigurations

Generic ListAutoScalingConfigurations Source # 
Instance details

Defined in Amazonka.AppRunner.ListAutoScalingConfigurations

Associated Types

type Rep ListAutoScalingConfigurations :: Type -> Type #

Read ListAutoScalingConfigurations Source # 
Instance details

Defined in Amazonka.AppRunner.ListAutoScalingConfigurations

Show ListAutoScalingConfigurations Source # 
Instance details

Defined in Amazonka.AppRunner.ListAutoScalingConfigurations

NFData ListAutoScalingConfigurations Source # 
Instance details

Defined in Amazonka.AppRunner.ListAutoScalingConfigurations

Eq ListAutoScalingConfigurations Source # 
Instance details

Defined in Amazonka.AppRunner.ListAutoScalingConfigurations

Hashable ListAutoScalingConfigurations Source # 
Instance details

Defined in Amazonka.AppRunner.ListAutoScalingConfigurations

type AWSResponse ListAutoScalingConfigurations Source # 
Instance details

Defined in Amazonka.AppRunner.ListAutoScalingConfigurations

type Rep ListAutoScalingConfigurations Source # 
Instance details

Defined in Amazonka.AppRunner.ListAutoScalingConfigurations

type Rep ListAutoScalingConfigurations = D1 ('MetaData "ListAutoScalingConfigurations" "Amazonka.AppRunner.ListAutoScalingConfigurations" "amazonka-apprunner-2.0-EwwUWnxXZrM2Mgbv25gcO5" 'False) (C1 ('MetaCons "ListAutoScalingConfigurations'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "autoScalingConfigurationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "latestOnly") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newListAutoScalingConfigurations :: ListAutoScalingConfigurations Source #

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

ListAutoScalingConfigurations, listAutoScalingConfigurations_autoScalingConfigurationName - The name of the App Runner auto scaling configuration that you want to list. If specified, App Runner lists revisions that share this name. If not specified, App Runner returns revisions of all active configurations.

$sel:latestOnly:ListAutoScalingConfigurations', listAutoScalingConfigurations_latestOnly - Set to true to list only the latest revision for each requested configuration name.

Set to false to list all revisions for each requested configuration name.

Default: true

$sel:maxResults:ListAutoScalingConfigurations', listAutoScalingConfigurations_maxResults - The maximum number of results to include in each response (result page). It's used for a paginated request.

If you don't specify MaxResults, the request retrieves all available results in a single response.

ListAutoScalingConfigurations, listAutoScalingConfigurations_nextToken - A token from a previous result page. It's used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones that are specified in the initial request.

If you don't specify NextToken, the request retrieves the first result page.

Request Lenses

listAutoScalingConfigurations_autoScalingConfigurationName :: Lens' ListAutoScalingConfigurations (Maybe Text) Source #

The name of the App Runner auto scaling configuration that you want to list. If specified, App Runner lists revisions that share this name. If not specified, App Runner returns revisions of all active configurations.

listAutoScalingConfigurations_latestOnly :: Lens' ListAutoScalingConfigurations (Maybe Bool) Source #

Set to true to list only the latest revision for each requested configuration name.

Set to false to list all revisions for each requested configuration name.

Default: true

listAutoScalingConfigurations_maxResults :: Lens' ListAutoScalingConfigurations (Maybe Natural) Source #

The maximum number of results to include in each response (result page). It's used for a paginated request.

If you don't specify MaxResults, the request retrieves all available results in a single response.

listAutoScalingConfigurations_nextToken :: Lens' ListAutoScalingConfigurations (Maybe Text) Source #

A token from a previous result page. It's used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones that are specified in the initial request.

If you don't specify NextToken, the request retrieves the first result page.

Destructuring the Response

data ListAutoScalingConfigurationsResponse Source #

Constructors

ListAutoScalingConfigurationsResponse' 

Fields

Instances

Instances details
Generic ListAutoScalingConfigurationsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListAutoScalingConfigurations

Read ListAutoScalingConfigurationsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListAutoScalingConfigurations

Show ListAutoScalingConfigurationsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListAutoScalingConfigurations

NFData ListAutoScalingConfigurationsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListAutoScalingConfigurations

Eq ListAutoScalingConfigurationsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListAutoScalingConfigurations

type Rep ListAutoScalingConfigurationsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListAutoScalingConfigurations

type Rep ListAutoScalingConfigurationsResponse = D1 ('MetaData "ListAutoScalingConfigurationsResponse" "Amazonka.AppRunner.ListAutoScalingConfigurations" "amazonka-apprunner-2.0-EwwUWnxXZrM2Mgbv25gcO5" 'False) (C1 ('MetaCons "ListAutoScalingConfigurationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "autoScalingConfigurationSummaryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [AutoScalingConfigurationSummary]))))

newListAutoScalingConfigurationsResponse Source #

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

ListAutoScalingConfigurations, listAutoScalingConfigurationsResponse_nextToken - The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.

$sel:httpStatus:ListAutoScalingConfigurationsResponse', listAutoScalingConfigurationsResponse_httpStatus - The response's http status code.

$sel:autoScalingConfigurationSummaryList:ListAutoScalingConfigurationsResponse', listAutoScalingConfigurationsResponse_autoScalingConfigurationSummaryList - A list of summary information records for auto scaling configurations. In a paginated request, the request returns up to MaxResults records for each call.

Response Lenses

listAutoScalingConfigurationsResponse_nextToken :: Lens' ListAutoScalingConfigurationsResponse (Maybe Text) Source #

The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.

listAutoScalingConfigurationsResponse_autoScalingConfigurationSummaryList :: Lens' ListAutoScalingConfigurationsResponse [AutoScalingConfigurationSummary] Source #

A list of summary information records for auto scaling configurations. In a paginated request, the request returns up to MaxResults records for each call.