amazonka-organizations-1.6.0: 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 # 
Data DescribeHandshake Source # 

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 # 
Show DescribeHandshake Source # 
Generic DescribeHandshake Source # 
Hashable DescribeHandshake Source # 
ToJSON DescribeHandshake Source # 
NFData DescribeHandshake Source # 

Methods

rnf :: DescribeHandshake -> () #

AWSRequest DescribeHandshake Source # 
ToHeaders DescribeHandshake Source # 
ToPath DescribeHandshake Source # 
ToQuery DescribeHandshake Source # 
type Rep DescribeHandshake Source # 
type Rep DescribeHandshake = D1 * (MetaData "DescribeHandshake" "Network.AWS.Organizations.DescribeHandshake" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" True) (C1 * (MetaCons "DescribeHandshake'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dhHandshakeId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DescribeHandshake Source # 

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 # 
Data DescribeHandshakeResponse Source # 

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 # 
Generic DescribeHandshakeResponse Source # 
NFData DescribeHandshakeResponse Source # 
type Rep DescribeHandshakeResponse Source # 
type Rep DescribeHandshakeResponse = D1 * (MetaData "DescribeHandshakeResponse" "Network.AWS.Organizations.DescribeHandshake" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) (C1 * (MetaCons "DescribeHandshakeResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dhrsHandshake") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Handshake))) (S1 * (MetaSel (Just Symbol "_dhrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

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

A structure that contains information about the specified handshake.