libZSservicesZSamazonka-ramZSamazonka-ram
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.RAM.UpdateResourceShare

Description

Updates the specified resource share that you own.

Synopsis

Creating a Request

data UpdateResourceShare Source #

See: newUpdateResourceShare smart constructor.

Constructors

UpdateResourceShare' 

Fields

Instances

Instances details
Eq UpdateResourceShare Source # 
Instance details

Defined in Amazonka.RAM.UpdateResourceShare

Read UpdateResourceShare Source # 
Instance details

Defined in Amazonka.RAM.UpdateResourceShare

Show UpdateResourceShare Source # 
Instance details

Defined in Amazonka.RAM.UpdateResourceShare

Generic UpdateResourceShare Source # 
Instance details

Defined in Amazonka.RAM.UpdateResourceShare

Associated Types

type Rep UpdateResourceShare :: Type -> Type #

NFData UpdateResourceShare Source # 
Instance details

Defined in Amazonka.RAM.UpdateResourceShare

Methods

rnf :: UpdateResourceShare -> () #

Hashable UpdateResourceShare Source # 
Instance details

Defined in Amazonka.RAM.UpdateResourceShare

ToJSON UpdateResourceShare Source # 
Instance details

Defined in Amazonka.RAM.UpdateResourceShare

AWSRequest UpdateResourceShare Source # 
Instance details

Defined in Amazonka.RAM.UpdateResourceShare

Associated Types

type AWSResponse UpdateResourceShare #

ToHeaders UpdateResourceShare Source # 
Instance details

Defined in Amazonka.RAM.UpdateResourceShare

ToPath UpdateResourceShare Source # 
Instance details

Defined in Amazonka.RAM.UpdateResourceShare

ToQuery UpdateResourceShare Source # 
Instance details

Defined in Amazonka.RAM.UpdateResourceShare

type Rep UpdateResourceShare Source # 
Instance details

Defined in Amazonka.RAM.UpdateResourceShare

type Rep UpdateResourceShare = D1 ('MetaData "UpdateResourceShare" "Amazonka.RAM.UpdateResourceShare" "libZSservicesZSamazonka-ramZSamazonka-ram" 'False) (C1 ('MetaCons "UpdateResourceShare'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "allowExternalPrincipals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceShareArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateResourceShare Source # 
Instance details

Defined in Amazonka.RAM.UpdateResourceShare

newUpdateResourceShare Source #

Create a value of UpdateResourceShare 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:UpdateResourceShare', updateResourceShare_clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

$sel:allowExternalPrincipals:UpdateResourceShare', updateResourceShare_allowExternalPrincipals - Indicates whether principals outside your organization in Organizations can be associated with a resource share.

$sel:name:UpdateResourceShare', updateResourceShare_name - The name of the resource share.

$sel:resourceShareArn:UpdateResourceShare', updateResourceShare_resourceShareArn - The Amazon Resource Name (ARN) of the resource share.

Request Lenses

updateResourceShare_clientToken :: Lens' UpdateResourceShare (Maybe Text) Source #

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

updateResourceShare_allowExternalPrincipals :: Lens' UpdateResourceShare (Maybe Bool) Source #

Indicates whether principals outside your organization in Organizations can be associated with a resource share.

updateResourceShare_resourceShareArn :: Lens' UpdateResourceShare Text Source #

The Amazon Resource Name (ARN) of the resource share.

Destructuring the Response

data UpdateResourceShareResponse Source #

See: newUpdateResourceShareResponse smart constructor.

Constructors

UpdateResourceShareResponse' 

Fields

Instances

Instances details
Eq UpdateResourceShareResponse Source # 
Instance details

Defined in Amazonka.RAM.UpdateResourceShare

Read UpdateResourceShareResponse Source # 
Instance details

Defined in Amazonka.RAM.UpdateResourceShare

Show UpdateResourceShareResponse Source # 
Instance details

Defined in Amazonka.RAM.UpdateResourceShare

Generic UpdateResourceShareResponse Source # 
Instance details

Defined in Amazonka.RAM.UpdateResourceShare

Associated Types

type Rep UpdateResourceShareResponse :: Type -> Type #

NFData UpdateResourceShareResponse Source # 
Instance details

Defined in Amazonka.RAM.UpdateResourceShare

type Rep UpdateResourceShareResponse Source # 
Instance details

Defined in Amazonka.RAM.UpdateResourceShare

type Rep UpdateResourceShareResponse = D1 ('MetaData "UpdateResourceShareResponse" "Amazonka.RAM.UpdateResourceShare" "libZSservicesZSamazonka-ramZSamazonka-ram" 'False) (C1 ('MetaCons "UpdateResourceShareResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceShare") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceShare)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdateResourceShareResponse Source #

Create a value of UpdateResourceShareResponse 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:UpdateResourceShare', updateResourceShareResponse_clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

$sel:resourceShare:UpdateResourceShareResponse', updateResourceShareResponse_resourceShare - Information about the resource share.

$sel:httpStatus:UpdateResourceShareResponse', updateResourceShareResponse_httpStatus - The response's http status code.

Response Lenses

updateResourceShareResponse_clientToken :: Lens' UpdateResourceShareResponse (Maybe Text) Source #

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.