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.DescribeNetworkInterfaceAttribute

Description

Describes a network interface attribute. You can specify only one attribute at a time.

Synopsis

Creating a Request

data DescribeNetworkInterfaceAttribute Source #

Contains the parameters for DescribeNetworkInterfaceAttribute.

See: newDescribeNetworkInterfaceAttribute smart constructor.

Constructors

DescribeNetworkInterfaceAttribute' 

Fields

  • attribute :: Maybe NetworkInterfaceAttribute

    The attribute of the network interface. This parameter is required.

  • 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.

  • networkInterfaceId :: Text

    The ID of the network interface.

Instances

Instances details
ToHeaders DescribeNetworkInterfaceAttribute Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfaceAttribute

ToPath DescribeNetworkInterfaceAttribute Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfaceAttribute

ToQuery DescribeNetworkInterfaceAttribute Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfaceAttribute

AWSRequest DescribeNetworkInterfaceAttribute Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfaceAttribute

Generic DescribeNetworkInterfaceAttribute Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfaceAttribute

Associated Types

type Rep DescribeNetworkInterfaceAttribute :: Type -> Type #

Read DescribeNetworkInterfaceAttribute Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfaceAttribute

Show DescribeNetworkInterfaceAttribute Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfaceAttribute

NFData DescribeNetworkInterfaceAttribute Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfaceAttribute

Eq DescribeNetworkInterfaceAttribute Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfaceAttribute

Hashable DescribeNetworkInterfaceAttribute Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfaceAttribute

type AWSResponse DescribeNetworkInterfaceAttribute Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfaceAttribute

type Rep DescribeNetworkInterfaceAttribute Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfaceAttribute

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

newDescribeNetworkInterfaceAttribute Source #

Create a value of DescribeNetworkInterfaceAttribute 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:attribute:DescribeNetworkInterfaceAttribute', describeNetworkInterfaceAttribute_attribute - The attribute of the network interface. This parameter is required.

$sel:dryRun:DescribeNetworkInterfaceAttribute', describeNetworkInterfaceAttribute_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.

DescribeNetworkInterfaceAttribute, describeNetworkInterfaceAttribute_networkInterfaceId - The ID of the network interface.

Request Lenses

describeNetworkInterfaceAttribute_dryRun :: Lens' DescribeNetworkInterfaceAttribute (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 DescribeNetworkInterfaceAttributeResponse Source #

Contains the output of DescribeNetworkInterfaceAttribute.

See: newDescribeNetworkInterfaceAttributeResponse smart constructor.

Constructors

DescribeNetworkInterfaceAttributeResponse' 

Fields

Instances

Instances details
Generic DescribeNetworkInterfaceAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfaceAttribute

Read DescribeNetworkInterfaceAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfaceAttribute

Show DescribeNetworkInterfaceAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfaceAttribute

NFData DescribeNetworkInterfaceAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfaceAttribute

Eq DescribeNetworkInterfaceAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfaceAttribute

type Rep DescribeNetworkInterfaceAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfaceAttribute

type Rep DescribeNetworkInterfaceAttributeResponse = D1 ('MetaData "DescribeNetworkInterfaceAttributeResponse" "Amazonka.EC2.DescribeNetworkInterfaceAttribute" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeNetworkInterfaceAttributeResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "attachment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkInterfaceAttachment)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AttributeValue)) :*: S1 ('MetaSel ('Just "groups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GroupIdentifier])))) :*: (S1 ('MetaSel ('Just "networkInterfaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sourceDestCheck") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AttributeBooleanValue)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

Response Lenses