Copyright | (c) 2013-2018 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 |
Returns a list of direct connect gateways in your account. Deleted direct connect gateways are not returned. You can provide a direct connect gateway ID in the request to return information about the specific direct connect gateway only. Otherwise, if a direct connect gateway ID is not provided, information about all of your direct connect gateways is returned.
- describeDirectConnectGateways :: DescribeDirectConnectGateways
- data DescribeDirectConnectGateways
- ddcgDirectConnectGatewayId :: Lens' DescribeDirectConnectGateways (Maybe Text)
- ddcgNextToken :: Lens' DescribeDirectConnectGateways (Maybe Text)
- ddcgMaxResults :: Lens' DescribeDirectConnectGateways (Maybe Int)
- describeDirectConnectGatewaysResponse :: Int -> DescribeDirectConnectGatewaysResponse
- data DescribeDirectConnectGatewaysResponse
- ddcgrsDirectConnectGateways :: Lens' DescribeDirectConnectGatewaysResponse [DirectConnectGateway]
- ddcgrsNextToken :: Lens' DescribeDirectConnectGatewaysResponse (Maybe Text)
- ddcgrsResponseStatus :: Lens' DescribeDirectConnectGatewaysResponse Int
Creating a Request
describeDirectConnectGateways :: DescribeDirectConnectGateways Source #
Creates a value of DescribeDirectConnectGateways
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ddcgDirectConnectGatewayId
- The ID of the direct connect gateway. Example: "abcd1234-dcba-5678-be23-cdef9876ab45" Default: NoneddcgNextToken
- The token provided in the previous describe result to retrieve the next page of the result. Default: NoneddcgMaxResults
- The maximum number of direct connect gateways to return per page. Example: 15 Default: None
data DescribeDirectConnectGateways Source #
Container for the parameters to the DescribeDirectConnectGateways operation.
See: describeDirectConnectGateways
smart constructor.
Request Lenses
ddcgDirectConnectGatewayId :: Lens' DescribeDirectConnectGateways (Maybe Text) Source #
The ID of the direct connect gateway. Example: "abcd1234-dcba-5678-be23-cdef9876ab45" Default: None
ddcgNextToken :: Lens' DescribeDirectConnectGateways (Maybe Text) Source #
The token provided in the previous describe result to retrieve the next page of the result. Default: None
ddcgMaxResults :: Lens' DescribeDirectConnectGateways (Maybe Int) Source #
The maximum number of direct connect gateways to return per page. Example: 15 Default: None
Destructuring the Response
describeDirectConnectGatewaysResponse Source #
Creates a value of DescribeDirectConnectGatewaysResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ddcgrsDirectConnectGateways
- Information about the direct connect gateways.ddcgrsNextToken
- Undocumented member.ddcgrsResponseStatus
- -- | The response status code.
data DescribeDirectConnectGatewaysResponse Source #
Container for the response from the DescribeDirectConnectGateways API call
See: describeDirectConnectGatewaysResponse
smart constructor.
Response Lenses
ddcgrsDirectConnectGateways :: Lens' DescribeDirectConnectGatewaysResponse [DirectConnectGateway] Source #
Information about the direct connect gateways.
ddcgrsNextToken :: Lens' DescribeDirectConnectGatewaysResponse (Maybe Text) Source #
Undocumented member.
ddcgrsResponseStatus :: Lens' DescribeDirectConnectGatewaysResponse Int Source #
- - | The response status code.