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.
Removes an association between a branch network interface with a trunk network interface.
Synopsis
- data DisassociateTrunkInterface = DisassociateTrunkInterface' {
- clientToken :: Maybe Text
- dryRun :: Maybe Bool
- associationId :: Text
- newDisassociateTrunkInterface :: Text -> DisassociateTrunkInterface
- disassociateTrunkInterface_clientToken :: Lens' DisassociateTrunkInterface (Maybe Text)
- disassociateTrunkInterface_dryRun :: Lens' DisassociateTrunkInterface (Maybe Bool)
- disassociateTrunkInterface_associationId :: Lens' DisassociateTrunkInterface Text
- data DisassociateTrunkInterfaceResponse = DisassociateTrunkInterfaceResponse' {
- clientToken :: Maybe Text
- return' :: Maybe Bool
- httpStatus :: Int
- newDisassociateTrunkInterfaceResponse :: Int -> DisassociateTrunkInterfaceResponse
- disassociateTrunkInterfaceResponse_clientToken :: Lens' DisassociateTrunkInterfaceResponse (Maybe Text)
- disassociateTrunkInterfaceResponse_return :: Lens' DisassociateTrunkInterfaceResponse (Maybe Bool)
- disassociateTrunkInterfaceResponse_httpStatus :: Lens' DisassociateTrunkInterfaceResponse Int
Creating a Request
data DisassociateTrunkInterface Source #
See: newDisassociateTrunkInterface
smart constructor.
DisassociateTrunkInterface' | |
|
Instances
newDisassociateTrunkInterface Source #
Create a value of DisassociateTrunkInterface
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:
DisassociateTrunkInterface
, disassociateTrunkInterface_clientToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. For more information, see
How to Ensure Idempotency.
$sel:dryRun:DisassociateTrunkInterface'
, disassociateTrunkInterface_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
.
DisassociateTrunkInterface
, disassociateTrunkInterface_associationId
- The ID of the association
Request Lenses
disassociateTrunkInterface_clientToken :: Lens' DisassociateTrunkInterface (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
disassociateTrunkInterface_dryRun :: Lens' DisassociateTrunkInterface (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
.
disassociateTrunkInterface_associationId :: Lens' DisassociateTrunkInterface Text Source #
The ID of the association
Destructuring the Response
data DisassociateTrunkInterfaceResponse Source #
See: newDisassociateTrunkInterfaceResponse
smart constructor.
DisassociateTrunkInterfaceResponse' | |
|
Instances
newDisassociateTrunkInterfaceResponse Source #
Create a value of DisassociateTrunkInterfaceResponse
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:
DisassociateTrunkInterface
, disassociateTrunkInterfaceResponse_clientToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. For more information, see
How to Ensure Idempotency.
$sel:return':DisassociateTrunkInterfaceResponse'
, disassociateTrunkInterfaceResponse_return
- Returns true
if the request succeeds; otherwise, it returns an error.
$sel:httpStatus:DisassociateTrunkInterfaceResponse'
, disassociateTrunkInterfaceResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateTrunkInterfaceResponse_clientToken :: Lens' DisassociateTrunkInterfaceResponse (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
disassociateTrunkInterfaceResponse_return :: Lens' DisassociateTrunkInterfaceResponse (Maybe Bool) Source #
Returns true
if the request succeeds; otherwise, it returns an error.
disassociateTrunkInterfaceResponse_httpStatus :: Lens' DisassociateTrunkInterfaceResponse Int Source #
The response's http status code.