amazonka-organizations-1.6.1: Amazon Organizations SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Organizations.DescribeHandshake

Contents

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 are then deleted and no longer accessible.

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

Synopsis

Creating a Request

describeHandshake Source #

Creates a value of DescribeHandshake with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dhHandshakeId - 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 lower-case letters or digits.

data DescribeHandshake Source #

See: describeHandshake smart constructor.

Instances
Eq DescribeHandshake Source # 
Instance details

Defined in Network.AWS.Organizations.DescribeHandshake

Data DescribeHandshake Source # 
Instance details

Defined in Network.AWS.Organizations.DescribeHandshake

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeHandshake -> c DescribeHandshake #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeHandshake #

toConstr :: DescribeHandshake -> Constr #

dataTypeOf :: DescribeHandshake -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DescribeHandshake) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeHandshake) #

gmapT :: (forall b. Data b => b -> b) -> DescribeHandshake -> DescribeHandshake #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeHandshake -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeHandshake -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeHandshake -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeHandshake -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeHandshake -> m DescribeHandshake #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeHandshake -> m DescribeHandshake #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeHandshake -> m DescribeHandshake #

Read DescribeHandshake Source # 
Instance details

Defined in Network.AWS.Organizations.DescribeHandshake

Show DescribeHandshake Source # 
Instance details

Defined in Network.AWS.Organizations.DescribeHandshake

Generic DescribeHandshake Source # 
Instance details

Defined in Network.AWS.Organizations.DescribeHandshake

Associated Types

type Rep DescribeHandshake :: Type -> Type #

Hashable DescribeHandshake Source # 
Instance details

Defined in Network.AWS.Organizations.DescribeHandshake

ToJSON DescribeHandshake Source # 
Instance details

Defined in Network.AWS.Organizations.DescribeHandshake

AWSRequest DescribeHandshake Source # 
Instance details

Defined in Network.AWS.Organizations.DescribeHandshake

Associated Types

type Rs DescribeHandshake :: Type #

ToHeaders DescribeHandshake Source # 
Instance details

Defined in Network.AWS.Organizations.DescribeHandshake

ToPath DescribeHandshake Source # 
Instance details

Defined in Network.AWS.Organizations.DescribeHandshake

ToQuery DescribeHandshake Source # 
Instance details

Defined in Network.AWS.Organizations.DescribeHandshake

NFData DescribeHandshake Source # 
Instance details

Defined in Network.AWS.Organizations.DescribeHandshake

Methods

rnf :: DescribeHandshake -> () #

type Rep DescribeHandshake Source # 
Instance details

Defined in Network.AWS.Organizations.DescribeHandshake

type Rep DescribeHandshake = D1 (MetaData "DescribeHandshake" "Network.AWS.Organizations.DescribeHandshake" "amazonka-organizations-1.6.1-AXMOvAV6jebLVZPNUpIjqF" True) (C1 (MetaCons "DescribeHandshake'" PrefixI True) (S1 (MetaSel (Just "_dhHandshakeId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DescribeHandshake Source # 
Instance details

Defined in Network.AWS.Organizations.DescribeHandshake

Request Lenses

dhHandshakeId :: 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 lower-case letters or digits.

Destructuring the Response

describeHandshakeResponse Source #

Creates a value of DescribeHandshakeResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeHandshakeResponse Source #

See: describeHandshakeResponse smart constructor.

Instances
Eq DescribeHandshakeResponse Source # 
Instance details

Defined in Network.AWS.Organizations.DescribeHandshake

Data DescribeHandshakeResponse Source # 
Instance details

Defined in Network.AWS.Organizations.DescribeHandshake

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeHandshakeResponse -> c DescribeHandshakeResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeHandshakeResponse #

toConstr :: DescribeHandshakeResponse -> Constr #

dataTypeOf :: DescribeHandshakeResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DescribeHandshakeResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeHandshakeResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeHandshakeResponse -> DescribeHandshakeResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeHandshakeResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeHandshakeResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeHandshakeResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeHandshakeResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeHandshakeResponse -> m DescribeHandshakeResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeHandshakeResponse -> m DescribeHandshakeResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeHandshakeResponse -> m DescribeHandshakeResponse #

Show DescribeHandshakeResponse Source # 
Instance details

Defined in Network.AWS.Organizations.DescribeHandshake

Generic DescribeHandshakeResponse Source # 
Instance details

Defined in Network.AWS.Organizations.DescribeHandshake

Associated Types

type Rep DescribeHandshakeResponse :: Type -> Type #

NFData DescribeHandshakeResponse Source # 
Instance details

Defined in Network.AWS.Organizations.DescribeHandshake

type Rep DescribeHandshakeResponse Source # 
Instance details

Defined in Network.AWS.Organizations.DescribeHandshake

type Rep DescribeHandshakeResponse = D1 (MetaData "DescribeHandshakeResponse" "Network.AWS.Organizations.DescribeHandshake" "amazonka-organizations-1.6.1-AXMOvAV6jebLVZPNUpIjqF" False) (C1 (MetaCons "DescribeHandshakeResponse'" PrefixI True) (S1 (MetaSel (Just "_dhrsHandshake") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Handshake)) :*: S1 (MetaSel (Just "_dhrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

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

A structure that contains information about the specified handshake.