Copyright | (c) 2013-2021 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 |
Removes the association between a MAC Security (MACsec) security key and an Direct Connect dedicated connection.
Synopsis
- data DisassociateMacSecKey = DisassociateMacSecKey' {
- connectionId :: Text
- secretARN :: Text
- newDisassociateMacSecKey :: Text -> Text -> DisassociateMacSecKey
- disassociateMacSecKey_connectionId :: Lens' DisassociateMacSecKey Text
- disassociateMacSecKey_secretARN :: Lens' DisassociateMacSecKey Text
- data DisassociateMacSecKeyResponse = DisassociateMacSecKeyResponse' {
- connectionId :: Maybe Text
- macSecKeys :: Maybe [MacSecKey]
- httpStatus :: Int
- newDisassociateMacSecKeyResponse :: Int -> DisassociateMacSecKeyResponse
- disassociateMacSecKeyResponse_connectionId :: Lens' DisassociateMacSecKeyResponse (Maybe Text)
- disassociateMacSecKeyResponse_macSecKeys :: Lens' DisassociateMacSecKeyResponse (Maybe [MacSecKey])
- disassociateMacSecKeyResponse_httpStatus :: Lens' DisassociateMacSecKeyResponse Int
Creating a Request
data DisassociateMacSecKey Source #
See: newDisassociateMacSecKey
smart constructor.
DisassociateMacSecKey' | |
|
Instances
newDisassociateMacSecKey Source #
:: Text | |
-> Text | |
-> DisassociateMacSecKey |
Create a value of DisassociateMacSecKey
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:connectionId:DisassociateMacSecKey'
, disassociateMacSecKey_connectionId
- The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG
(dxlag-xxxx).
You can use DescribeConnections or DescribeLags to retrieve connection ID.
$sel:secretARN:DisassociateMacSecKey'
, disassociateMacSecKey_secretARN
- The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key.
You can use DescribeConnections to retrieve the ARN of the MAC Security (MACsec) secret key.
Request Lenses
disassociateMacSecKey_connectionId :: Lens' DisassociateMacSecKey Text Source #
The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).
You can use DescribeConnections or DescribeLags to retrieve connection ID.
disassociateMacSecKey_secretARN :: Lens' DisassociateMacSecKey Text Source #
The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key.
You can use DescribeConnections to retrieve the ARN of the MAC Security (MACsec) secret key.
Destructuring the Response
data DisassociateMacSecKeyResponse Source #
See: newDisassociateMacSecKeyResponse
smart constructor.
DisassociateMacSecKeyResponse' | |
|
Instances
newDisassociateMacSecKeyResponse Source #
Create a value of DisassociateMacSecKeyResponse
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:connectionId:DisassociateMacSecKey'
, disassociateMacSecKeyResponse_connectionId
- The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG
(dxlag-xxxx).
$sel:macSecKeys:DisassociateMacSecKeyResponse'
, disassociateMacSecKeyResponse_macSecKeys
- The MAC Security (MACsec) security keys no longer associated with the
dedicated connection.
$sel:httpStatus:DisassociateMacSecKeyResponse'
, disassociateMacSecKeyResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateMacSecKeyResponse_connectionId :: Lens' DisassociateMacSecKeyResponse (Maybe Text) Source #
The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).
disassociateMacSecKeyResponse_macSecKeys :: Lens' DisassociateMacSecKeyResponse (Maybe [MacSecKey]) Source #
The MAC Security (MACsec) security keys no longer associated with the dedicated connection.
disassociateMacSecKeyResponse_httpStatus :: Lens' DisassociateMacSecKeyResponse Int Source #
The response's http status code.