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

Description

Deletes an AWS Resilience Hub application. This is a destructive action that can't be undone.

Synopsis

Creating a Request

data DeleteApp Source #

See: newDeleteApp smart constructor.

Constructors

DeleteApp' 

Fields

  • clientToken :: Maybe Text

    Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.

  • forceDelete :: Maybe Bool

    A boolean option to force the deletion of a Resilience Hub application.

  • 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 DeleteApp Source # 
Instance details

Defined in Amazonka.ResilienceHub.DeleteApp

ToHeaders DeleteApp Source # 
Instance details

Defined in Amazonka.ResilienceHub.DeleteApp

Methods

toHeaders :: DeleteApp -> [Header] #

ToPath DeleteApp Source # 
Instance details

Defined in Amazonka.ResilienceHub.DeleteApp

ToQuery DeleteApp Source # 
Instance details

Defined in Amazonka.ResilienceHub.DeleteApp

AWSRequest DeleteApp Source # 
Instance details

Defined in Amazonka.ResilienceHub.DeleteApp

Associated Types

type AWSResponse DeleteApp #

Generic DeleteApp Source # 
Instance details

Defined in Amazonka.ResilienceHub.DeleteApp

Associated Types

type Rep DeleteApp :: Type -> Type #

Read DeleteApp Source # 
Instance details

Defined in Amazonka.ResilienceHub.DeleteApp

Show DeleteApp Source # 
Instance details

Defined in Amazonka.ResilienceHub.DeleteApp

NFData DeleteApp Source # 
Instance details

Defined in Amazonka.ResilienceHub.DeleteApp

Methods

rnf :: DeleteApp -> () #

Eq DeleteApp Source # 
Instance details

Defined in Amazonka.ResilienceHub.DeleteApp

Hashable DeleteApp Source # 
Instance details

Defined in Amazonka.ResilienceHub.DeleteApp

type AWSResponse DeleteApp Source # 
Instance details

Defined in Amazonka.ResilienceHub.DeleteApp

type Rep DeleteApp Source # 
Instance details

Defined in Amazonka.ResilienceHub.DeleteApp

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

newDeleteApp Source #

Arguments

:: Text

DeleteApp

-> DeleteApp 

Create a value of DeleteApp 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:clientToken:DeleteApp', deleteApp_clientToken - Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.

$sel:forceDelete:DeleteApp', deleteApp_forceDelete - A boolean option to force the deletion of a Resilience Hub application.

DeleteApp, deleteApp_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

deleteApp_clientToken :: Lens' DeleteApp (Maybe Text) Source #

Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.

deleteApp_forceDelete :: Lens' DeleteApp (Maybe Bool) Source #

A boolean option to force the deletion of a Resilience Hub application.

deleteApp_appArn :: Lens' DeleteApp 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 DeleteAppResponse Source #

See: newDeleteAppResponse smart constructor.

Constructors

DeleteAppResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • 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
Generic DeleteAppResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.DeleteApp

Associated Types

type Rep DeleteAppResponse :: Type -> Type #

Read DeleteAppResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.DeleteApp

Show DeleteAppResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.DeleteApp

NFData DeleteAppResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.DeleteApp

Methods

rnf :: DeleteAppResponse -> () #

Eq DeleteAppResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.DeleteApp

type Rep DeleteAppResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.DeleteApp

type Rep DeleteAppResponse = D1 ('MetaData "DeleteAppResponse" "Amazonka.ResilienceHub.DeleteApp" "amazonka-resiliencehub-2.0-EsKgNhAb0B96cCxrYtrBzG" 'False) (C1 ('MetaCons "DeleteAppResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "appArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteAppResponse Source #

Create a value of DeleteAppResponse 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:httpStatus:DeleteAppResponse', deleteAppResponse_httpStatus - The response's http status code.

DeleteApp, deleteAppResponse_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.

Response Lenses

deleteAppResponse_httpStatus :: Lens' DeleteAppResponse Int Source #

The response's http status code.

deleteAppResponse_appArn :: Lens' DeleteAppResponse 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.