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

Description

Updates data for the resource. To have the latest information, it must be preceded by a DescribeResource call. The dataset in the request should be the one expected when performing another DescribeResource call.

Synopsis

Creating a Request

data UpdateResource Source #

See: newUpdateResource smart constructor.

Constructors

UpdateResource' 

Fields

Instances

Instances details
Eq UpdateResource Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateResource

Read UpdateResource Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateResource

Show UpdateResource Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateResource

Generic UpdateResource Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateResource

Associated Types

type Rep UpdateResource :: Type -> Type #

NFData UpdateResource Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateResource

Methods

rnf :: UpdateResource -> () #

Hashable UpdateResource Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateResource

ToJSON UpdateResource Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateResource

AWSRequest UpdateResource Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateResource

Associated Types

type AWSResponse UpdateResource #

ToHeaders UpdateResource Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateResource

ToPath UpdateResource Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateResource

ToQuery UpdateResource Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateResource

type Rep UpdateResource Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateResource

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

Defined in Amazonka.WorkMail.UpdateResource

newUpdateResource Source #

Create a value of UpdateResource 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:name:UpdateResource', updateResource_name - The name of the resource to be updated.

$sel:bookingOptions:UpdateResource', updateResource_bookingOptions - The resource's booking options to be updated.

$sel:organizationId:UpdateResource', updateResource_organizationId - The identifier associated with the organization for which the resource is updated.

$sel:resourceId:UpdateResource', updateResource_resourceId - The identifier of the resource to be updated.

Request Lenses

updateResource_name :: Lens' UpdateResource (Maybe Text) Source #

The name of the resource to be updated.

updateResource_bookingOptions :: Lens' UpdateResource (Maybe BookingOptions) Source #

The resource's booking options to be updated.

updateResource_organizationId :: Lens' UpdateResource Text Source #

The identifier associated with the organization for which the resource is updated.

updateResource_resourceId :: Lens' UpdateResource Text Source #

The identifier of the resource to be updated.

Destructuring the Response

data UpdateResourceResponse Source #

See: newUpdateResourceResponse smart constructor.

Constructors

UpdateResourceResponse' 

Fields

Instances

Instances details
Eq UpdateResourceResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateResource

Read UpdateResourceResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateResource

Show UpdateResourceResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateResource

Generic UpdateResourceResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateResource

Associated Types

type Rep UpdateResourceResponse :: Type -> Type #

NFData UpdateResourceResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateResource

Methods

rnf :: UpdateResourceResponse -> () #

type Rep UpdateResourceResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateResource

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

newUpdateResourceResponse Source #

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

Response Lenses