libZSservicesZSamazonka-grafanaZSamazonka-grafana
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.Grafana.DeleteWorkspace

Description

Deletes an Amazon Managed Grafana workspace.

Synopsis

Creating a Request

data DeleteWorkspace Source #

See: newDeleteWorkspace smart constructor.

Constructors

DeleteWorkspace' 

Fields

Instances

Instances details
Eq DeleteWorkspace Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspace

Read DeleteWorkspace Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspace

Show DeleteWorkspace Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspace

Generic DeleteWorkspace Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspace

Associated Types

type Rep DeleteWorkspace :: Type -> Type #

NFData DeleteWorkspace Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspace

Methods

rnf :: DeleteWorkspace -> () #

Hashable DeleteWorkspace Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspace

AWSRequest DeleteWorkspace Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspace

Associated Types

type AWSResponse DeleteWorkspace #

ToHeaders DeleteWorkspace Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspace

ToPath DeleteWorkspace Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspace

ToQuery DeleteWorkspace Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspace

type Rep DeleteWorkspace Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspace

type Rep DeleteWorkspace = D1 ('MetaData "DeleteWorkspace" "Amazonka.Grafana.DeleteWorkspace" "libZSservicesZSamazonka-grafanaZSamazonka-grafana" 'False) (C1 ('MetaCons "DeleteWorkspace'" 'PrefixI 'True) (S1 ('MetaSel ('Just "workspaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteWorkspace Source # 
Instance details

Defined in Amazonka.Grafana.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:workspaceId:DeleteWorkspace', deleteWorkspace_workspaceId - The ID of the workspace to delete.

Request Lenses

deleteWorkspace_workspaceId :: Lens' DeleteWorkspace Text Source #

The ID of the workspace to delete.

Destructuring the Response

data DeleteWorkspaceResponse Source #

See: newDeleteWorkspaceResponse smart constructor.

Constructors

DeleteWorkspaceResponse' 

Fields

Instances

Instances details
Eq DeleteWorkspaceResponse Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspace

Show DeleteWorkspaceResponse Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspace

Generic DeleteWorkspaceResponse Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspace

Associated Types

type Rep DeleteWorkspaceResponse :: Type -> Type #

NFData DeleteWorkspaceResponse Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspace

Methods

rnf :: DeleteWorkspaceResponse -> () #

type Rep DeleteWorkspaceResponse Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspace

type Rep DeleteWorkspaceResponse = D1 ('MetaData "DeleteWorkspaceResponse" "Amazonka.Grafana.DeleteWorkspace" "libZSservicesZSamazonka-grafanaZSamazonka-grafana" 'False) (C1 ('MetaCons "DeleteWorkspaceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "workspace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 WorkspaceDescription)))

newDeleteWorkspaceResponse Source #

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

$sel:workspace:DeleteWorkspaceResponse', deleteWorkspaceResponse_workspace - A structure containing information about the workspace that was deleted.

Response Lenses

deleteWorkspaceResponse_workspace :: Lens' DeleteWorkspaceResponse WorkspaceDescription Source #

A structure containing information about the workspace that was deleted.