libZSservicesZSamazonka-directconnectZSamazonka-directconnect
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DirectConnect.DisassociateMacSecKey

Description

Removes the association between a MAC Security (MACsec) security key and an Direct Connect dedicated connection.

Synopsis

Creating a Request

data DisassociateMacSecKey Source #

See: newDisassociateMacSecKey smart constructor.

Constructors

DisassociateMacSecKey' 

Fields

  • connectionId :: Text

    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.

  • secretARN :: Text

    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.

Instances

Instances details
Eq DisassociateMacSecKey Source # 
Instance details

Defined in Amazonka.DirectConnect.DisassociateMacSecKey

Read DisassociateMacSecKey Source # 
Instance details

Defined in Amazonka.DirectConnect.DisassociateMacSecKey

Show DisassociateMacSecKey Source # 
Instance details

Defined in Amazonka.DirectConnect.DisassociateMacSecKey

Generic DisassociateMacSecKey Source # 
Instance details

Defined in Amazonka.DirectConnect.DisassociateMacSecKey

Associated Types

type Rep DisassociateMacSecKey :: Type -> Type #

NFData DisassociateMacSecKey Source # 
Instance details

Defined in Amazonka.DirectConnect.DisassociateMacSecKey

Methods

rnf :: DisassociateMacSecKey -> () #

Hashable DisassociateMacSecKey Source # 
Instance details

Defined in Amazonka.DirectConnect.DisassociateMacSecKey

ToJSON DisassociateMacSecKey Source # 
Instance details

Defined in Amazonka.DirectConnect.DisassociateMacSecKey

AWSRequest DisassociateMacSecKey Source # 
Instance details

Defined in Amazonka.DirectConnect.DisassociateMacSecKey

Associated Types

type AWSResponse DisassociateMacSecKey #

ToHeaders DisassociateMacSecKey Source # 
Instance details

Defined in Amazonka.DirectConnect.DisassociateMacSecKey

ToPath DisassociateMacSecKey Source # 
Instance details

Defined in Amazonka.DirectConnect.DisassociateMacSecKey

ToQuery DisassociateMacSecKey Source # 
Instance details

Defined in Amazonka.DirectConnect.DisassociateMacSecKey

type Rep DisassociateMacSecKey Source # 
Instance details

Defined in Amazonka.DirectConnect.DisassociateMacSecKey

type Rep DisassociateMacSecKey = D1 ('MetaData "DisassociateMacSecKey" "Amazonka.DirectConnect.DisassociateMacSecKey" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" 'False) (C1 ('MetaCons "DisassociateMacSecKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "connectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "secretARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DisassociateMacSecKey Source # 
Instance details

Defined in Amazonka.DirectConnect.DisassociateMacSecKey

newDisassociateMacSecKey Source #

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.

Constructors

DisassociateMacSecKeyResponse' 

Fields

Instances

Instances details
Eq DisassociateMacSecKeyResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DisassociateMacSecKey

Read DisassociateMacSecKeyResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DisassociateMacSecKey

Show DisassociateMacSecKeyResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DisassociateMacSecKey

Generic DisassociateMacSecKeyResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DisassociateMacSecKey

Associated Types

type Rep DisassociateMacSecKeyResponse :: Type -> Type #

NFData DisassociateMacSecKeyResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DisassociateMacSecKey

type Rep DisassociateMacSecKeyResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DisassociateMacSecKey

type Rep DisassociateMacSecKeyResponse = D1 ('MetaData "DisassociateMacSecKeyResponse" "Amazonka.DirectConnect.DisassociateMacSecKey" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" 'False) (C1 ('MetaCons "DisassociateMacSecKeyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "connectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "macSecKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MacSecKey])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.