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

Description

Lists your Resilience Hub applications.

Synopsis

Creating a Request

data ListApps Source #

See: newListApps smart constructor.

Constructors

ListApps' 

Fields

  • appArn :: Maybe 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.

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

  • name :: Maybe Text

    The name for the one of the listed applications.

  • nextToken :: Maybe Text

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

Instances

Instances details
ToHeaders ListApps Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListApps

Methods

toHeaders :: ListApps -> [Header] #

ToPath ListApps Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListApps

ToQuery ListApps Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListApps

AWSRequest ListApps Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListApps

Associated Types

type AWSResponse ListApps #

Generic ListApps Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListApps

Associated Types

type Rep ListApps :: Type -> Type #

Methods

from :: ListApps -> Rep ListApps x #

to :: Rep ListApps x -> ListApps #

Read ListApps Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListApps

Show ListApps Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListApps

NFData ListApps Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListApps

Methods

rnf :: ListApps -> () #

Eq ListApps Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListApps

Hashable ListApps Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListApps

Methods

hashWithSalt :: Int -> ListApps -> Int #

hash :: ListApps -> Int #

type AWSResponse ListApps Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListApps

type Rep ListApps Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListApps

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

newListApps :: ListApps Source #

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

ListApps, listApps_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.

$sel:maxResults:ListApps', listApps_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.

ListApps, listApps_name - The name for the one of the listed applications.

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

Request Lenses

listApps_appArn :: Lens' ListApps (Maybe 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.

listApps_maxResults :: Lens' ListApps (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.

listApps_name :: Lens' ListApps (Maybe Text) Source #

The name for the one of the listed applications.

listApps_nextToken :: Lens' ListApps (Maybe Text) Source #

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

Destructuring the Response

data ListAppsResponse Source #

See: newListAppsResponse smart constructor.

Constructors

ListAppsResponse' 

Fields

Instances

Instances details
Generic ListAppsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListApps

Associated Types

type Rep ListAppsResponse :: Type -> Type #

Read ListAppsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListApps

Show ListAppsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListApps

NFData ListAppsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListApps

Methods

rnf :: ListAppsResponse -> () #

Eq ListAppsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListApps

type Rep ListAppsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListApps

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

newListAppsResponse Source #

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

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

$sel:httpStatus:ListAppsResponse', listAppsResponse_httpStatus - The response's http status code.

$sel:appSummaries:ListAppsResponse', listAppsResponse_appSummaries - Summaries for the Resilience Hub application.

Response Lenses

listAppsResponse_nextToken :: Lens' ListAppsResponse (Maybe Text) Source #

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

listAppsResponse_httpStatus :: Lens' ListAppsResponse Int Source #

The response's http status code.

listAppsResponse_appSummaries :: Lens' ListAppsResponse [AppSummary] Source #

Summaries for the Resilience Hub application.