libZSservicesZSamazonka-ampZSamazonka-amp
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AMP.DeleteWorkspace

Description

Deletes an AMP workspace.

Synopsis

Creating a Request

data DeleteWorkspace Source #

Represents the input of a DeleteWorkspace operation.

See: newDeleteWorkspace smart constructor.

Constructors

DeleteWorkspace' 

Fields

  • clientToken :: Maybe Text

    Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

  • workspaceId :: Text

    The ID of the workspace to delete.

Instances

Instances details
Eq DeleteWorkspace Source # 
Instance details

Defined in Amazonka.AMP.DeleteWorkspace

Read DeleteWorkspace Source # 
Instance details

Defined in Amazonka.AMP.DeleteWorkspace

Show DeleteWorkspace Source # 
Instance details

Defined in Amazonka.AMP.DeleteWorkspace

Generic DeleteWorkspace Source # 
Instance details

Defined in Amazonka.AMP.DeleteWorkspace

Associated Types

type Rep DeleteWorkspace :: Type -> Type #

NFData DeleteWorkspace Source # 
Instance details

Defined in Amazonka.AMP.DeleteWorkspace

Methods

rnf :: DeleteWorkspace -> () #

Hashable DeleteWorkspace Source # 
Instance details

Defined in Amazonka.AMP.DeleteWorkspace

AWSRequest DeleteWorkspace Source # 
Instance details

Defined in Amazonka.AMP.DeleteWorkspace

Associated Types

type AWSResponse DeleteWorkspace #

ToHeaders DeleteWorkspace Source # 
Instance details

Defined in Amazonka.AMP.DeleteWorkspace

ToPath DeleteWorkspace Source # 
Instance details

Defined in Amazonka.AMP.DeleteWorkspace

ToQuery DeleteWorkspace Source # 
Instance details

Defined in Amazonka.AMP.DeleteWorkspace

type Rep DeleteWorkspace Source # 
Instance details

Defined in Amazonka.AMP.DeleteWorkspace

type Rep DeleteWorkspace = D1 ('MetaData "DeleteWorkspace" "Amazonka.AMP.DeleteWorkspace" "libZSservicesZSamazonka-ampZSamazonka-amp" 'False) (C1 ('MetaCons "DeleteWorkspace'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "workspaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteWorkspace Source # 
Instance details

Defined in Amazonka.AMP.DeleteWorkspace

newDeleteWorkspace Source #

Create a value of DeleteWorkspace 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:DeleteWorkspace', deleteWorkspace_clientToken - Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

$sel:workspaceId:DeleteWorkspace', deleteWorkspace_workspaceId - The ID of the workspace to delete.

Request Lenses

deleteWorkspace_clientToken :: Lens' DeleteWorkspace (Maybe Text) Source #

Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

deleteWorkspace_workspaceId :: Lens' DeleteWorkspace Text Source #

The ID of the workspace to delete.

Destructuring the Response

data DeleteWorkspaceResponse Source #

See: newDeleteWorkspaceResponse smart constructor.

Instances

Instances details
Eq DeleteWorkspaceResponse Source # 
Instance details

Defined in Amazonka.AMP.DeleteWorkspace

Read DeleteWorkspaceResponse Source # 
Instance details

Defined in Amazonka.AMP.DeleteWorkspace

Show DeleteWorkspaceResponse Source # 
Instance details

Defined in Amazonka.AMP.DeleteWorkspace

Generic DeleteWorkspaceResponse Source # 
Instance details

Defined in Amazonka.AMP.DeleteWorkspace

Associated Types

type Rep DeleteWorkspaceResponse :: Type -> Type #

NFData DeleteWorkspaceResponse Source # 
Instance details

Defined in Amazonka.AMP.DeleteWorkspace

Methods

rnf :: DeleteWorkspaceResponse -> () #

type Rep DeleteWorkspaceResponse Source # 
Instance details

Defined in Amazonka.AMP.DeleteWorkspace

type Rep DeleteWorkspaceResponse = D1 ('MetaData "DeleteWorkspaceResponse" "Amazonka.AMP.DeleteWorkspace" "libZSservicesZSamazonka-ampZSamazonka-amp" 'False) (C1 ('MetaCons "DeleteWorkspaceResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteWorkspaceResponse :: DeleteWorkspaceResponse Source #

Create a value of DeleteWorkspaceResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.