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

Description

Lists how the resources in an application version are mapped/sourced from. Mappings can be physical resource identifiers, CloudFormation stacks, resource-groups, or an application registry app.

Synopsis

Creating a Request

data ListAppVersionResourceMappings Source #

See: newListAppVersionResourceMappings smart constructor.

Constructors

ListAppVersionResourceMappings' 

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.

  • appVersion :: Text

    The version of the application.

Instances

Instances details
ToJSON ListAppVersionResourceMappings Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersionResourceMappings

ToHeaders ListAppVersionResourceMappings Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersionResourceMappings

ToPath ListAppVersionResourceMappings Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersionResourceMappings

ToQuery ListAppVersionResourceMappings Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersionResourceMappings

AWSRequest ListAppVersionResourceMappings Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersionResourceMappings

Generic ListAppVersionResourceMappings Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersionResourceMappings

Associated Types

type Rep ListAppVersionResourceMappings :: Type -> Type #

Read ListAppVersionResourceMappings Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersionResourceMappings

Show ListAppVersionResourceMappings Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersionResourceMappings

NFData ListAppVersionResourceMappings Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersionResourceMappings

Eq ListAppVersionResourceMappings Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersionResourceMappings

Hashable ListAppVersionResourceMappings Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersionResourceMappings

type AWSResponse ListAppVersionResourceMappings Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersionResourceMappings

type Rep ListAppVersionResourceMappings Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersionResourceMappings

type Rep ListAppVersionResourceMappings = D1 ('MetaData "ListAppVersionResourceMappings" "Amazonka.ResilienceHub.ListAppVersionResourceMappings" "amazonka-resiliencehub-2.0-EsKgNhAb0B96cCxrYtrBzG" 'False) (C1 ('MetaCons "ListAppVersionResourceMappings'" '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) :*: S1 ('MetaSel ('Just "appVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListAppVersionResourceMappings Source #

Create a value of ListAppVersionResourceMappings 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:ListAppVersionResourceMappings', listAppVersionResourceMappings_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.

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

ListAppVersionResourceMappings, listAppVersionResourceMappings_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.

ListAppVersionResourceMappings, listAppVersionResourceMappings_appVersion - The version of the application.

Request Lenses

listAppVersionResourceMappings_maxResults :: Lens' ListAppVersionResourceMappings (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.

listAppVersionResourceMappings_nextToken :: Lens' ListAppVersionResourceMappings (Maybe Text) Source #

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

listAppVersionResourceMappings_appArn :: Lens' ListAppVersionResourceMappings 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 ListAppVersionResourceMappingsResponse Source #

Constructors

ListAppVersionResourceMappingsResponse' 

Fields

  • nextToken :: Maybe Text

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

  • httpStatus :: Int

    The response's http status code.

  • resourceMappings :: [ResourceMapping]

    Mappings used to map logical resources from the template to physical resources. You can use the mapping type CFN_STACK if the application template uses a logical stack name. Or you can map individual resources by using the mapping type RESOURCE. We recommend using the mapping type CFN_STACK if the application is backed by a CloudFormation stack.

Instances

Instances details
Generic ListAppVersionResourceMappingsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersionResourceMappings

Read ListAppVersionResourceMappingsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersionResourceMappings

Show ListAppVersionResourceMappingsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersionResourceMappings

NFData ListAppVersionResourceMappingsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersionResourceMappings

Eq ListAppVersionResourceMappingsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersionResourceMappings

type Rep ListAppVersionResourceMappingsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppVersionResourceMappings

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

newListAppVersionResourceMappingsResponse Source #

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

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

$sel:httpStatus:ListAppVersionResourceMappingsResponse', listAppVersionResourceMappingsResponse_httpStatus - The response's http status code.

$sel:resourceMappings:ListAppVersionResourceMappingsResponse', listAppVersionResourceMappingsResponse_resourceMappings - Mappings used to map logical resources from the template to physical resources. You can use the mapping type CFN_STACK if the application template uses a logical stack name. Or you can map individual resources by using the mapping type RESOURCE. We recommend using the mapping type CFN_STACK if the application is backed by a CloudFormation stack.

Response Lenses

listAppVersionResourceMappingsResponse_nextToken :: Lens' ListAppVersionResourceMappingsResponse (Maybe Text) Source #

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

listAppVersionResourceMappingsResponse_resourceMappings :: Lens' ListAppVersionResourceMappingsResponse [ResourceMapping] Source #

Mappings used to map logical resources from the template to physical resources. You can use the mapping type CFN_STACK if the application template uses a logical stack name. Or you can map individual resources by using the mapping type RESOURCE. We recommend using the mapping type CFN_STACK if the application is backed by a CloudFormation stack.