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 |
Network.AWS.DirectConnect.DescribeInterconnects
Description
Returns a list of interconnects owned by the AWS account.
If an interconnect ID is provided, it will only return this particular interconnect.
- describeInterconnects :: DescribeInterconnects
- data DescribeInterconnects
- diInterconnectId :: Lens' DescribeInterconnects (Maybe Text)
- describeInterconnectsResponse :: Int -> DescribeInterconnectsResponse
- data DescribeInterconnectsResponse
- dirsInterconnects :: Lens' DescribeInterconnectsResponse [Interconnect]
- dirsResponseStatus :: Lens' DescribeInterconnectsResponse Int
Creating a Request
describeInterconnects :: DescribeInterconnects #
Creates a value of DescribeInterconnects
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
diInterconnectId
- Undocumented member.
data DescribeInterconnects #
Container for the parameters to the DescribeInterconnects operation.
See: describeInterconnects
smart constructor.
Instances
Request Lenses
diInterconnectId :: Lens' DescribeInterconnects (Maybe Text) #
Undocumented member.
Destructuring the Response
describeInterconnectsResponse #
Arguments
:: Int | |
-> DescribeInterconnectsResponse |
Creates a value of DescribeInterconnectsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dirsInterconnects
- A list of interconnects.dirsResponseStatus
- -- | The response status code.
data DescribeInterconnectsResponse #
A structure containing a list of interconnects.
See: describeInterconnectsResponse
smart constructor.
Response Lenses
dirsInterconnects :: Lens' DescribeInterconnectsResponse [Interconnect] #
A list of interconnects.
dirsResponseStatus :: Lens' DescribeInterconnectsResponse Int #
- - | The response status code.