Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- describeHandshake :: Text -> DescribeHandshake
- data DescribeHandshake
- dhHandshakeId :: Lens' DescribeHandshake Text
- describeHandshakeResponse :: Int -> DescribeHandshakeResponse
- data DescribeHandshakeResponse
- dhrsHandshake :: Lens' DescribeHandshakeResponse (Maybe Handshake)
- dhrsResponseStatus :: Lens' DescribeHandshakeResponse Int
Creating a Request
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 toInviteAccountToOrganization
, or from a call toListHandshakesForAccount
orListHandshakesForOrganization
. 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.
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:
dhrsHandshake
- A structure that contains information about the specified handshake.dhrsResponseStatus
- -- | The response status code.
data DescribeHandshakeResponse Source #
See: describeHandshakeResponse
smart constructor.
Response Lenses
dhrsHandshake :: Lens' DescribeHandshakeResponse (Maybe Handshake) Source #
A structure that contains information about the specified handshake.
dhrsResponseStatus :: Lens' DescribeHandshakeResponse Int Source #
- - | The response status code.