libZSservicesZSamazonka-organizationsZSamazonka-organizations
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.Organizations.DescribeHandshake

Description

Retrieves information about a previously requested handshake. The handshake ID comes from the response to the original InviteAccountToOrganization operation that generated the handshake.

You can access handshakes that are ACCEPTED, DECLINED, or CANCELED for only 30 days after they change to that state. They're then deleted and no longer accessible.

This operation can be called from any account in the organization.

Synopsis

Creating a Request

data DescribeHandshake Source #

See: newDescribeHandshake smart constructor.

Constructors

DescribeHandshake' 

Fields

  • handshakeId :: Text

    The unique identifier (ID) of the handshake that you want information about. You can get the ID from the original call to InviteAccountToOrganization, or from a call to ListHandshakesForAccount or ListHandshakesForOrganization.

    The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lowercase letters or digits.

Instances

Instances details
Eq DescribeHandshake Source # 
Instance details

Defined in Amazonka.Organizations.DescribeHandshake

Read DescribeHandshake Source # 
Instance details

Defined in Amazonka.Organizations.DescribeHandshake

Show DescribeHandshake Source # 
Instance details

Defined in Amazonka.Organizations.DescribeHandshake

Generic DescribeHandshake Source # 
Instance details

Defined in Amazonka.Organizations.DescribeHandshake

Associated Types

type Rep DescribeHandshake :: Type -> Type #

NFData DescribeHandshake Source # 
Instance details

Defined in Amazonka.Organizations.DescribeHandshake

Methods

rnf :: DescribeHandshake -> () #

Hashable DescribeHandshake Source # 
Instance details

Defined in Amazonka.Organizations.DescribeHandshake

ToJSON DescribeHandshake Source # 
Instance details

Defined in Amazonka.Organizations.DescribeHandshake

AWSRequest DescribeHandshake Source # 
Instance details

Defined in Amazonka.Organizations.DescribeHandshake

Associated Types

type AWSResponse DescribeHandshake #

ToHeaders DescribeHandshake Source # 
Instance details

Defined in Amazonka.Organizations.DescribeHandshake

ToPath DescribeHandshake Source # 
Instance details

Defined in Amazonka.Organizations.DescribeHandshake

ToQuery DescribeHandshake Source # 
Instance details

Defined in Amazonka.Organizations.DescribeHandshake

type Rep DescribeHandshake Source # 
Instance details

Defined in Amazonka.Organizations.DescribeHandshake

type Rep DescribeHandshake = D1 ('MetaData "DescribeHandshake" "Amazonka.Organizations.DescribeHandshake" "libZSservicesZSamazonka-organizationsZSamazonka-organizations" 'False) (C1 ('MetaCons "DescribeHandshake'" 'PrefixI 'True) (S1 ('MetaSel ('Just "handshakeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeHandshake Source # 
Instance details

Defined in Amazonka.Organizations.DescribeHandshake

newDescribeHandshake Source #

Create a value of DescribeHandshake 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:handshakeId:DescribeHandshake', describeHandshake_handshakeId - The unique identifier (ID) of the handshake that you want information about. You can get the ID from the original call to InviteAccountToOrganization, or from a call to ListHandshakesForAccount or ListHandshakesForOrganization.

The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lowercase letters or digits.

Request Lenses

describeHandshake_handshakeId :: Lens' DescribeHandshake Text Source #

The unique identifier (ID) of the handshake that you want information about. You can get the ID from the original call to InviteAccountToOrganization, or from a call to ListHandshakesForAccount or ListHandshakesForOrganization.

The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lowercase letters or digits.

Destructuring the Response

data DescribeHandshakeResponse Source #

See: newDescribeHandshakeResponse smart constructor.

Constructors

DescribeHandshakeResponse' 

Fields

Instances

Instances details
Eq DescribeHandshakeResponse Source # 
Instance details

Defined in Amazonka.Organizations.DescribeHandshake

Show DescribeHandshakeResponse Source # 
Instance details

Defined in Amazonka.Organizations.DescribeHandshake

Generic DescribeHandshakeResponse Source # 
Instance details

Defined in Amazonka.Organizations.DescribeHandshake

Associated Types

type Rep DescribeHandshakeResponse :: Type -> Type #

NFData DescribeHandshakeResponse Source # 
Instance details

Defined in Amazonka.Organizations.DescribeHandshake

type Rep DescribeHandshakeResponse Source # 
Instance details

Defined in Amazonka.Organizations.DescribeHandshake

type Rep DescribeHandshakeResponse = D1 ('MetaData "DescribeHandshakeResponse" "Amazonka.Organizations.DescribeHandshake" "libZSservicesZSamazonka-organizationsZSamazonka-organizations" 'False) (C1 ('MetaCons "DescribeHandshakeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "handshake") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Handshake)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeHandshakeResponse Source #

Create a value of DescribeHandshakeResponse 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:handshake:DescribeHandshakeResponse', describeHandshakeResponse_handshake - A structure that contains information about the specified handshake.

$sel:httpStatus:DescribeHandshakeResponse', describeHandshakeResponse_httpStatus - The response's http status code.

Response Lenses

describeHandshakeResponse_handshake :: Lens' DescribeHandshakeResponse (Maybe Handshake) Source #

A structure that contains information about the specified handshake.