Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This API action is currently in limited preview only. If you are interested in using this feature, contact your account manager.
Describes one or more network interface trunk associations.
This operation returns paginated results.
Synopsis
- data DescribeTrunkInterfaceAssociations = DescribeTrunkInterfaceAssociations' {}
- newDescribeTrunkInterfaceAssociations :: DescribeTrunkInterfaceAssociations
- describeTrunkInterfaceAssociations_associationIds :: Lens' DescribeTrunkInterfaceAssociations (Maybe [Text])
- describeTrunkInterfaceAssociations_dryRun :: Lens' DescribeTrunkInterfaceAssociations (Maybe Bool)
- describeTrunkInterfaceAssociations_filters :: Lens' DescribeTrunkInterfaceAssociations (Maybe [Filter])
- describeTrunkInterfaceAssociations_maxResults :: Lens' DescribeTrunkInterfaceAssociations (Maybe Natural)
- describeTrunkInterfaceAssociations_nextToken :: Lens' DescribeTrunkInterfaceAssociations (Maybe Text)
- data DescribeTrunkInterfaceAssociationsResponse = DescribeTrunkInterfaceAssociationsResponse' {}
- newDescribeTrunkInterfaceAssociationsResponse :: Int -> DescribeTrunkInterfaceAssociationsResponse
- describeTrunkInterfaceAssociationsResponse_interfaceAssociations :: Lens' DescribeTrunkInterfaceAssociationsResponse (Maybe [TrunkInterfaceAssociation])
- describeTrunkInterfaceAssociationsResponse_nextToken :: Lens' DescribeTrunkInterfaceAssociationsResponse (Maybe Text)
- describeTrunkInterfaceAssociationsResponse_httpStatus :: Lens' DescribeTrunkInterfaceAssociationsResponse Int
Creating a Request
data DescribeTrunkInterfaceAssociations Source #
See: newDescribeTrunkInterfaceAssociations
smart constructor.
DescribeTrunkInterfaceAssociations' | |
|
Instances
newDescribeTrunkInterfaceAssociations :: DescribeTrunkInterfaceAssociations Source #
Create a value of DescribeTrunkInterfaceAssociations
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:associationIds:DescribeTrunkInterfaceAssociations'
, describeTrunkInterfaceAssociations_associationIds
- The IDs of the associations.
$sel:dryRun:DescribeTrunkInterfaceAssociations'
, describeTrunkInterfaceAssociations_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
$sel:filters:DescribeTrunkInterfaceAssociations'
, describeTrunkInterfaceAssociations_filters
- One or more filters.
gre-key
- The ID of a trunk interface association.interface-protocol
- The interface protocol. Valid values areVLAN
andGRE
.
$sel:maxResults:DescribeTrunkInterfaceAssociations'
, describeTrunkInterfaceAssociations_maxResults
- The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
DescribeTrunkInterfaceAssociations
, describeTrunkInterfaceAssociations_nextToken
- The token for the next page of results.
Request Lenses
describeTrunkInterfaceAssociations_associationIds :: Lens' DescribeTrunkInterfaceAssociations (Maybe [Text]) Source #
The IDs of the associations.
describeTrunkInterfaceAssociations_dryRun :: Lens' DescribeTrunkInterfaceAssociations (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
describeTrunkInterfaceAssociations_filters :: Lens' DescribeTrunkInterfaceAssociations (Maybe [Filter]) Source #
One or more filters.
gre-key
- The ID of a trunk interface association.interface-protocol
- The interface protocol. Valid values areVLAN
andGRE
.
describeTrunkInterfaceAssociations_maxResults :: Lens' DescribeTrunkInterfaceAssociations (Maybe Natural) Source #
The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
describeTrunkInterfaceAssociations_nextToken :: Lens' DescribeTrunkInterfaceAssociations (Maybe Text) Source #
The token for the next page of results.
Destructuring the Response
data DescribeTrunkInterfaceAssociationsResponse Source #
See: newDescribeTrunkInterfaceAssociationsResponse
smart constructor.
DescribeTrunkInterfaceAssociationsResponse' | |
|
Instances
newDescribeTrunkInterfaceAssociationsResponse Source #
Create a value of DescribeTrunkInterfaceAssociationsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:interfaceAssociations:DescribeTrunkInterfaceAssociationsResponse'
, describeTrunkInterfaceAssociationsResponse_interfaceAssociations
- Information about the trunk associations.
DescribeTrunkInterfaceAssociations
, describeTrunkInterfaceAssociationsResponse_nextToken
- The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
$sel:httpStatus:DescribeTrunkInterfaceAssociationsResponse'
, describeTrunkInterfaceAssociationsResponse_httpStatus
- The response's http status code.
Response Lenses
describeTrunkInterfaceAssociationsResponse_interfaceAssociations :: Lens' DescribeTrunkInterfaceAssociationsResponse (Maybe [TrunkInterfaceAssociation]) Source #
Information about the trunk associations.
describeTrunkInterfaceAssociationsResponse_nextToken :: Lens' DescribeTrunkInterfaceAssociationsResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
describeTrunkInterfaceAssociationsResponse_httpStatus :: Lens' DescribeTrunkInterfaceAssociationsResponse Int Source #
The response's http status code.