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

Description

Information about one or more Traffic Mirror targets.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeTrafficMirrorTargets Source #

See: newDescribeTrafficMirrorTargets smart constructor.

Constructors

DescribeTrafficMirrorTargets' 

Fields

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

  • filters :: Maybe [Filter]

    One or more filters. The possible values are:

    • description: The Traffic Mirror target description.
    • network-interface-id: The ID of the Traffic Mirror session network interface.
    • network-load-balancer-arn: The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the session.
    • owner-id: The ID of the account that owns the Traffic Mirror session.
    • traffic-mirror-target-id: The ID of the Traffic Mirror target.
  • maxResults :: Maybe Natural

    The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

  • nextToken :: Maybe Text

    The token for the next page of results.

  • trafficMirrorTargetIds :: Maybe [Text]

    The ID of the Traffic Mirror targets.

Instances

Instances details
ToHeaders DescribeTrafficMirrorTargets Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrafficMirrorTargets

ToPath DescribeTrafficMirrorTargets Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrafficMirrorTargets

ToQuery DescribeTrafficMirrorTargets Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrafficMirrorTargets

AWSPager DescribeTrafficMirrorTargets Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrafficMirrorTargets

AWSRequest DescribeTrafficMirrorTargets Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrafficMirrorTargets

Generic DescribeTrafficMirrorTargets Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrafficMirrorTargets

Associated Types

type Rep DescribeTrafficMirrorTargets :: Type -> Type #

Read DescribeTrafficMirrorTargets Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrafficMirrorTargets

Show DescribeTrafficMirrorTargets Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrafficMirrorTargets

NFData DescribeTrafficMirrorTargets Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrafficMirrorTargets

Eq DescribeTrafficMirrorTargets Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrafficMirrorTargets

Hashable DescribeTrafficMirrorTargets Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrafficMirrorTargets

type AWSResponse DescribeTrafficMirrorTargets Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrafficMirrorTargets

type Rep DescribeTrafficMirrorTargets Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrafficMirrorTargets

type Rep DescribeTrafficMirrorTargets = D1 ('MetaData "DescribeTrafficMirrorTargets" "Amazonka.EC2.DescribeTrafficMirrorTargets" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeTrafficMirrorTargets'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter]))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "trafficMirrorTargetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))))

newDescribeTrafficMirrorTargets :: DescribeTrafficMirrorTargets Source #

Create a value of DescribeTrafficMirrorTargets 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:dryRun:DescribeTrafficMirrorTargets', describeTrafficMirrorTargets_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.

$sel:filters:DescribeTrafficMirrorTargets', describeTrafficMirrorTargets_filters - One or more filters. The possible values are:

  • description: The Traffic Mirror target description.
  • network-interface-id: The ID of the Traffic Mirror session network interface.
  • network-load-balancer-arn: The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the session.
  • owner-id: The ID of the account that owns the Traffic Mirror session.
  • traffic-mirror-target-id: The ID of the Traffic Mirror target.

$sel:maxResults:DescribeTrafficMirrorTargets', describeTrafficMirrorTargets_maxResults - The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

DescribeTrafficMirrorTargets, describeTrafficMirrorTargets_nextToken - The token for the next page of results.

$sel:trafficMirrorTargetIds:DescribeTrafficMirrorTargets', describeTrafficMirrorTargets_trafficMirrorTargetIds - The ID of the Traffic Mirror targets.

Request Lenses

describeTrafficMirrorTargets_dryRun :: Lens' DescribeTrafficMirrorTargets (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.

describeTrafficMirrorTargets_filters :: Lens' DescribeTrafficMirrorTargets (Maybe [Filter]) Source #

One or more filters. The possible values are:

  • description: The Traffic Mirror target description.
  • network-interface-id: The ID of the Traffic Mirror session network interface.
  • network-load-balancer-arn: The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the session.
  • owner-id: The ID of the account that owns the Traffic Mirror session.
  • traffic-mirror-target-id: The ID of the Traffic Mirror target.

describeTrafficMirrorTargets_maxResults :: Lens' DescribeTrafficMirrorTargets (Maybe Natural) Source #

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

Destructuring the Response

data DescribeTrafficMirrorTargetsResponse Source #

Constructors

DescribeTrafficMirrorTargetsResponse' 

Fields

Instances

Instances details
Generic DescribeTrafficMirrorTargetsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrafficMirrorTargets

Read DescribeTrafficMirrorTargetsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrafficMirrorTargets

Show DescribeTrafficMirrorTargetsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrafficMirrorTargets

NFData DescribeTrafficMirrorTargetsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrafficMirrorTargets

Eq DescribeTrafficMirrorTargetsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrafficMirrorTargets

type Rep DescribeTrafficMirrorTargetsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrafficMirrorTargets

type Rep DescribeTrafficMirrorTargetsResponse = D1 ('MetaData "DescribeTrafficMirrorTargetsResponse" "Amazonka.EC2.DescribeTrafficMirrorTargets" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeTrafficMirrorTargetsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "trafficMirrorTargets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TrafficMirrorTarget])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeTrafficMirrorTargetsResponse Source #

Create a value of DescribeTrafficMirrorTargetsResponse 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:

DescribeTrafficMirrorTargets, describeTrafficMirrorTargetsResponse_nextToken - The token to use to retrieve the next page of results. The value is null when there are no more results to return.

$sel:trafficMirrorTargets:DescribeTrafficMirrorTargetsResponse', describeTrafficMirrorTargetsResponse_trafficMirrorTargets - Information about one or more Traffic Mirror targets.

$sel:httpStatus:DescribeTrafficMirrorTargetsResponse', describeTrafficMirrorTargetsResponse_httpStatus - The response's http status code.

Response Lenses

describeTrafficMirrorTargetsResponse_nextToken :: Lens' DescribeTrafficMirrorTargetsResponse (Maybe Text) Source #

The token to use to retrieve the next page of results. The value is null when there are no more results to return.