amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.DisassociateTrunkInterface

Description

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

Creating a Request

data DisassociateTrunkInterface Source #

See: newDisassociateTrunkInterface smart constructor.

Constructors

DisassociateTrunkInterface' 

Fields

  • clientToken :: Maybe Text

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

  • dryRun :: Maybe Bool

    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.

  • associationId :: Text

    The ID of the association

Instances

Instances details
ToHeaders DisassociateTrunkInterface Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTrunkInterface

ToPath DisassociateTrunkInterface Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTrunkInterface

ToQuery DisassociateTrunkInterface Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTrunkInterface

AWSRequest DisassociateTrunkInterface Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTrunkInterface

Generic DisassociateTrunkInterface Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTrunkInterface

Associated Types

type Rep DisassociateTrunkInterface :: Type -> Type #

Read DisassociateTrunkInterface Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTrunkInterface

Show DisassociateTrunkInterface Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTrunkInterface

NFData DisassociateTrunkInterface Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTrunkInterface

Eq DisassociateTrunkInterface Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTrunkInterface

Hashable DisassociateTrunkInterface Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTrunkInterface

type AWSResponse DisassociateTrunkInterface Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTrunkInterface

type Rep DisassociateTrunkInterface Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTrunkInterface

type Rep DisassociateTrunkInterface = D1 ('MetaData "DisassociateTrunkInterface" "Amazonka.EC2.DisassociateTrunkInterface" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DisassociateTrunkInterface'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "associationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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.

Destructuring the Response

data DisassociateTrunkInterfaceResponse Source #

Constructors

DisassociateTrunkInterfaceResponse' 

Fields

Instances

Instances details
Generic DisassociateTrunkInterfaceResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTrunkInterface

Associated Types

type Rep DisassociateTrunkInterfaceResponse :: Type -> Type #

Read DisassociateTrunkInterfaceResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTrunkInterface

Show DisassociateTrunkInterfaceResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTrunkInterface

NFData DisassociateTrunkInterfaceResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTrunkInterface

Eq DisassociateTrunkInterfaceResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTrunkInterface

type Rep DisassociateTrunkInterfaceResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateTrunkInterface

type Rep DisassociateTrunkInterfaceResponse = D1 ('MetaData "DisassociateTrunkInterfaceResponse" "Amazonka.EC2.DisassociateTrunkInterface" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DisassociateTrunkInterfaceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "return'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.