amazonka-ram-2.0: Amazon Resource Access Manager SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.RAM.RejectResourceShareInvitation

Description

Rejects an invitation to a resource share from another Amazon Web Services account.

Synopsis

Creating a Request

data RejectResourceShareInvitation Source #

See: newRejectResourceShareInvitation smart constructor.

Constructors

RejectResourceShareInvitation' 

Fields

  • clientToken :: Maybe Text

    Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..

    If you don't provide this value, then Amazon Web Services generates a random one for you.

  • resourceShareInvitationArn :: Text

    Specifies the Amazon Resoure Name (ARN) of the invitation that you want to reject.

Instances

Instances details
ToJSON RejectResourceShareInvitation Source # 
Instance details

Defined in Amazonka.RAM.RejectResourceShareInvitation

ToHeaders RejectResourceShareInvitation Source # 
Instance details

Defined in Amazonka.RAM.RejectResourceShareInvitation

ToPath RejectResourceShareInvitation Source # 
Instance details

Defined in Amazonka.RAM.RejectResourceShareInvitation

ToQuery RejectResourceShareInvitation Source # 
Instance details

Defined in Amazonka.RAM.RejectResourceShareInvitation

AWSRequest RejectResourceShareInvitation Source # 
Instance details

Defined in Amazonka.RAM.RejectResourceShareInvitation

Generic RejectResourceShareInvitation Source # 
Instance details

Defined in Amazonka.RAM.RejectResourceShareInvitation

Associated Types

type Rep RejectResourceShareInvitation :: Type -> Type #

Read RejectResourceShareInvitation Source # 
Instance details

Defined in Amazonka.RAM.RejectResourceShareInvitation

Show RejectResourceShareInvitation Source # 
Instance details

Defined in Amazonka.RAM.RejectResourceShareInvitation

NFData RejectResourceShareInvitation Source # 
Instance details

Defined in Amazonka.RAM.RejectResourceShareInvitation

Eq RejectResourceShareInvitation Source # 
Instance details

Defined in Amazonka.RAM.RejectResourceShareInvitation

Hashable RejectResourceShareInvitation Source # 
Instance details

Defined in Amazonka.RAM.RejectResourceShareInvitation

type AWSResponse RejectResourceShareInvitation Source # 
Instance details

Defined in Amazonka.RAM.RejectResourceShareInvitation

type Rep RejectResourceShareInvitation Source # 
Instance details

Defined in Amazonka.RAM.RejectResourceShareInvitation

type Rep RejectResourceShareInvitation = D1 ('MetaData "RejectResourceShareInvitation" "Amazonka.RAM.RejectResourceShareInvitation" "amazonka-ram-2.0-2ZD9k8USaHb58ZVl9MaFYL" 'False) (C1 ('MetaCons "RejectResourceShareInvitation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceShareInvitationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newRejectResourceShareInvitation Source #

Create a value of RejectResourceShareInvitation 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:

RejectResourceShareInvitation, rejectResourceShareInvitation_clientToken - Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..

If you don't provide this value, then Amazon Web Services generates a random one for you.

RejectResourceShareInvitation, rejectResourceShareInvitation_resourceShareInvitationArn - Specifies the Amazon Resoure Name (ARN) of the invitation that you want to reject.

Request Lenses

rejectResourceShareInvitation_clientToken :: Lens' RejectResourceShareInvitation (Maybe Text) Source #

Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..

If you don't provide this value, then Amazon Web Services generates a random one for you.

Destructuring the Response

data RejectResourceShareInvitationResponse Source #

Constructors

RejectResourceShareInvitationResponse' 

Fields

  • clientToken :: Maybe Text

    The idempotency identifier associated with this request. If you want to repeat the same operation in an idempotent manner then you must include this value in the clientToken request parameter of that later call. All other parameters must also have the same values that you used in the first call.

  • resourceShareInvitation :: Maybe ResourceShareInvitation

    An object that contains the details about the rejected invitation.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic RejectResourceShareInvitationResponse Source # 
Instance details

Defined in Amazonka.RAM.RejectResourceShareInvitation

Read RejectResourceShareInvitationResponse Source # 
Instance details

Defined in Amazonka.RAM.RejectResourceShareInvitation

Show RejectResourceShareInvitationResponse Source # 
Instance details

Defined in Amazonka.RAM.RejectResourceShareInvitation

NFData RejectResourceShareInvitationResponse Source # 
Instance details

Defined in Amazonka.RAM.RejectResourceShareInvitation

Eq RejectResourceShareInvitationResponse Source # 
Instance details

Defined in Amazonka.RAM.RejectResourceShareInvitation

type Rep RejectResourceShareInvitationResponse Source # 
Instance details

Defined in Amazonka.RAM.RejectResourceShareInvitation

type Rep RejectResourceShareInvitationResponse = D1 ('MetaData "RejectResourceShareInvitationResponse" "Amazonka.RAM.RejectResourceShareInvitation" "amazonka-ram-2.0-2ZD9k8USaHb58ZVl9MaFYL" 'False) (C1 ('MetaCons "RejectResourceShareInvitationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceShareInvitation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceShareInvitation)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newRejectResourceShareInvitationResponse Source #

Create a value of RejectResourceShareInvitationResponse 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:

RejectResourceShareInvitation, rejectResourceShareInvitationResponse_clientToken - The idempotency identifier associated with this request. If you want to repeat the same operation in an idempotent manner then you must include this value in the clientToken request parameter of that later call. All other parameters must also have the same values that you used in the first call.

$sel:resourceShareInvitation:RejectResourceShareInvitationResponse', rejectResourceShareInvitationResponse_resourceShareInvitation - An object that contains the details about the rejected invitation.

$sel:httpStatus:RejectResourceShareInvitationResponse', rejectResourceShareInvitationResponse_httpStatus - The response's http status code.

Response Lenses

rejectResourceShareInvitationResponse_clientToken :: Lens' RejectResourceShareInvitationResponse (Maybe Text) Source #

The idempotency identifier associated with this request. If you want to repeat the same operation in an idempotent manner then you must include this value in the clientToken request parameter of that later call. All other parameters must also have the same values that you used in the first call.