libZSservicesZSamazonka-athenaZSamazonka-athena
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.Athena.DeleteWorkGroup

Description

Deletes the workgroup with the specified name. The primary workgroup cannot be deleted.

Synopsis

Creating a Request

data DeleteWorkGroup Source #

See: newDeleteWorkGroup smart constructor.

Constructors

DeleteWorkGroup' 

Fields

  • recursiveDeleteOption :: Maybe Bool

    The option to delete the workgroup and its contents even if the workgroup contains any named queries or query executions.

  • workGroup :: Text

    The unique name of the workgroup to delete.

Instances

Instances details
Eq DeleteWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

Read DeleteWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

Show DeleteWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

Generic DeleteWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

Associated Types

type Rep DeleteWorkGroup :: Type -> Type #

NFData DeleteWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

Methods

rnf :: DeleteWorkGroup -> () #

Hashable DeleteWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

ToJSON DeleteWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

AWSRequest DeleteWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

Associated Types

type AWSResponse DeleteWorkGroup #

ToHeaders DeleteWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

ToPath DeleteWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

ToQuery DeleteWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

type Rep DeleteWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

type Rep DeleteWorkGroup = D1 ('MetaData "DeleteWorkGroup" "Amazonka.Athena.DeleteWorkGroup" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "DeleteWorkGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "recursiveDeleteOption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "workGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

newDeleteWorkGroup Source #

Create a value of DeleteWorkGroup 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:recursiveDeleteOption:DeleteWorkGroup', deleteWorkGroup_recursiveDeleteOption - The option to delete the workgroup and its contents even if the workgroup contains any named queries or query executions.

$sel:workGroup:DeleteWorkGroup', deleteWorkGroup_workGroup - The unique name of the workgroup to delete.

Request Lenses

deleteWorkGroup_recursiveDeleteOption :: Lens' DeleteWorkGroup (Maybe Bool) Source #

The option to delete the workgroup and its contents even if the workgroup contains any named queries or query executions.

deleteWorkGroup_workGroup :: Lens' DeleteWorkGroup Text Source #

The unique name of the workgroup to delete.

Destructuring the Response

data DeleteWorkGroupResponse Source #

See: newDeleteWorkGroupResponse smart constructor.

Constructors

DeleteWorkGroupResponse' 

Fields

Instances

Instances details
Eq DeleteWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

Read DeleteWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

Show DeleteWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

Generic DeleteWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

Associated Types

type Rep DeleteWorkGroupResponse :: Type -> Type #

NFData DeleteWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

Methods

rnf :: DeleteWorkGroupResponse -> () #

type Rep DeleteWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

type Rep DeleteWorkGroupResponse = D1 ('MetaData "DeleteWorkGroupResponse" "Amazonka.Athena.DeleteWorkGroup" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "DeleteWorkGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteWorkGroupResponse Source #

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

Response Lenses