libZSservicesZSamazonka-workmailZSamazonka-workmail
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.WorkMail.DeleteResource

Description

Deletes the specified resource.

Synopsis

Creating a Request

data DeleteResource Source #

See: newDeleteResource smart constructor.

Constructors

DeleteResource' 

Fields

  • organizationId :: Text

    The identifier associated with the organization from which the resource is deleted.

  • resourceId :: Text

    The identifier of the resource to be deleted.

Instances

Instances details
Eq DeleteResource Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteResource

Read DeleteResource Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteResource

Show DeleteResource Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteResource

Generic DeleteResource Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteResource

Associated Types

type Rep DeleteResource :: Type -> Type #

NFData DeleteResource Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteResource

Methods

rnf :: DeleteResource -> () #

Hashable DeleteResource Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteResource

ToJSON DeleteResource Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteResource

AWSRequest DeleteResource Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteResource

Associated Types

type AWSResponse DeleteResource #

ToHeaders DeleteResource Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteResource

ToPath DeleteResource Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteResource

ToQuery DeleteResource Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteResource

type Rep DeleteResource Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteResource

type Rep DeleteResource = D1 ('MetaData "DeleteResource" "Amazonka.WorkMail.DeleteResource" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "DeleteResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "organizationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteResource Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteResource

newDeleteResource Source #

Create a value of DeleteResource 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:organizationId:DeleteResource', deleteResource_organizationId - The identifier associated with the organization from which the resource is deleted.

$sel:resourceId:DeleteResource', deleteResource_resourceId - The identifier of the resource to be deleted.

Request Lenses

deleteResource_organizationId :: Lens' DeleteResource Text Source #

The identifier associated with the organization from which the resource is deleted.

deleteResource_resourceId :: Lens' DeleteResource Text Source #

The identifier of the resource to be deleted.

Destructuring the Response

data DeleteResourceResponse Source #

See: newDeleteResourceResponse smart constructor.

Constructors

DeleteResourceResponse' 

Fields

Instances

Instances details
Eq DeleteResourceResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteResource

Read DeleteResourceResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteResource

Show DeleteResourceResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteResource

Generic DeleteResourceResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteResource

Associated Types

type Rep DeleteResourceResponse :: Type -> Type #

NFData DeleteResourceResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteResource

Methods

rnf :: DeleteResourceResponse -> () #

type Rep DeleteResourceResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteResource

type Rep DeleteResourceResponse = D1 ('MetaData "DeleteResourceResponse" "Amazonka.WorkMail.DeleteResource" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "DeleteResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteResourceResponse Source #

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

Response Lenses