amazonka-resiliencehub-2.0: Amazon Resilience Hub 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.ResilienceHub.ListAppVersions

Description

Lists the different versions for the Resilience Hub applications.

Synopsis

Creating a Request

data ListAppVersions Source #

See: newListAppVersions smart constructor.

Constructors

ListAppVersions' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

  • nextToken :: Maybe Text

    Null, or the token from a previous call to get the next set of results.

  • appArn :: Text

    The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

Instances

Instances details
ToJSON ListAppVersions Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersions

ToHeaders ListAppVersions Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersions

ToPath ListAppVersions Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersions

ToQuery ListAppVersions Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersions

AWSRequest ListAppVersions Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersions

Associated Types

type AWSResponse ListAppVersions #

Generic ListAppVersions Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersions

Associated Types

type Rep ListAppVersions :: Type -> Type #

Read ListAppVersions Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersions

Show ListAppVersions Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersions

NFData ListAppVersions Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersions

Methods

rnf :: ListAppVersions -> () #

Eq ListAppVersions Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersions

Hashable ListAppVersions Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersions

type AWSResponse ListAppVersions Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersions

type Rep ListAppVersions Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersions

type Rep ListAppVersions = D1 ('MetaData "ListAppVersions" "Amazonka.ResilienceHub.ListAppVersions" "amazonka-resiliencehub-2.0-EsKgNhAb0B96cCxrYtrBzG" 'False) (C1 ('MetaCons "ListAppVersions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "appArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListAppVersions Source #

Create a value of ListAppVersions 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:ListAppVersions', listAppVersions_maxResults - The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

ListAppVersions, listAppVersions_nextToken - Null, or the token from a previous call to get the next set of results.

ListAppVersions, listAppVersions_appArn - The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

Request Lenses

listAppVersions_maxResults :: Lens' ListAppVersions (Maybe Natural) Source #

The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

listAppVersions_nextToken :: Lens' ListAppVersions (Maybe Text) Source #

Null, or the token from a previous call to get the next set of results.

listAppVersions_appArn :: Lens' ListAppVersions Text Source #

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

Destructuring the Response

data ListAppVersionsResponse Source #

See: newListAppVersionsResponse smart constructor.

Constructors

ListAppVersionsResponse' 

Fields

Instances

Instances details
Generic ListAppVersionsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersions

Associated Types

type Rep ListAppVersionsResponse :: Type -> Type #

Read ListAppVersionsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersions

Show ListAppVersionsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersions

NFData ListAppVersionsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersions

Methods

rnf :: ListAppVersionsResponse -> () #

Eq ListAppVersionsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersions

type Rep ListAppVersionsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersions

type Rep ListAppVersionsResponse = D1 ('MetaData "ListAppVersionsResponse" "Amazonka.ResilienceHub.ListAppVersions" "amazonka-resiliencehub-2.0-EsKgNhAb0B96cCxrYtrBzG" 'False) (C1 ('MetaCons "ListAppVersionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "appVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [AppVersionSummary]))))

newListAppVersionsResponse Source #

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

ListAppVersions, listAppVersionsResponse_nextToken - The token for the next set of results, or null if there are no more results.

$sel:httpStatus:ListAppVersionsResponse', listAppVersionsResponse_httpStatus - The response's http status code.

$sel:appVersions:ListAppVersionsResponse', listAppVersionsResponse_appVersions - The version of the application.

Response Lenses

listAppVersionsResponse_nextToken :: Lens' ListAppVersionsResponse (Maybe Text) Source #

The token for the next set of results, or null if there are no more results.