Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns a list of interconnects owned by the AWS account.
If an interconnect ID is provided, it will only return this particular interconnect.
See: AWS API Reference for DescribeInterconnects.
- describeInterconnects :: DescribeInterconnects
- data DescribeInterconnects
- diInterconnectId :: Lens' DescribeInterconnects (Maybe Text)
- describeInterconnectsResponse :: Int -> DescribeInterconnectsResponse
- data DescribeInterconnectsResponse
- dirsInterconnects :: Lens' DescribeInterconnectsResponse [Interconnect]
- dirsStatus :: Lens' DescribeInterconnectsResponse Int
Creating a Request
describeInterconnects :: DescribeInterconnects Source
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:
data DescribeInterconnects Source
Container for the parameters to the DescribeInterconnects operation.
See: describeInterconnects
smart constructor.
Request Lenses
diInterconnectId :: Lens' DescribeInterconnects (Maybe Text) Source
Undocumented member.
Destructuring the Response
describeInterconnectsResponse Source
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:
data DescribeInterconnectsResponse Source
A structure containing a list of interconnects.
See: describeInterconnectsResponse
smart constructor.
Response Lenses
dirsInterconnects :: Lens' DescribeInterconnectsResponse [Interconnect] Source
A list of interconnects.
dirsStatus :: Lens' DescribeInterconnectsResponse Int Source
The response status code.