amazonka-autoscaling-2.0: Amazon Auto Scaling 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.AutoScaling.DetachTrafficSources

Description

__Reserved for use with Amazon VPC Lattice, which is in preview and subject to change. Do not use this API for production workloads. This API is also subject to change.__

Detaches one or more traffic sources from the specified Auto Scaling group.

Synopsis

Creating a Request

data DetachTrafficSources Source #

See: newDetachTrafficSources smart constructor.

Constructors

DetachTrafficSources' 

Fields

  • autoScalingGroupName :: Text

    The name of the Auto Scaling group.

  • trafficSources :: [TrafficSourceIdentifier]

    The unique identifiers of one or more traffic sources you are detaching. You can specify up to 10 traffic sources.

    Currently, you must specify an Amazon Resource Name (ARN) for an existing VPC Lattice target group. When you detach a target group, it enters the Removing state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the target group using the DescribeTrafficSources API call. The instances continue to run.

Instances

Instances details
ToHeaders DetachTrafficSources Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachTrafficSources

ToPath DetachTrafficSources Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachTrafficSources

ToQuery DetachTrafficSources Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachTrafficSources

AWSRequest DetachTrafficSources Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachTrafficSources

Associated Types

type AWSResponse DetachTrafficSources #

Generic DetachTrafficSources Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachTrafficSources

Associated Types

type Rep DetachTrafficSources :: Type -> Type #

Read DetachTrafficSources Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachTrafficSources

Show DetachTrafficSources Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachTrafficSources

NFData DetachTrafficSources Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachTrafficSources

Methods

rnf :: DetachTrafficSources -> () #

Eq DetachTrafficSources Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachTrafficSources

Hashable DetachTrafficSources Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachTrafficSources

type AWSResponse DetachTrafficSources Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachTrafficSources

type Rep DetachTrafficSources Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachTrafficSources

type Rep DetachTrafficSources = D1 ('MetaData "DetachTrafficSources" "Amazonka.AutoScaling.DetachTrafficSources" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "DetachTrafficSources'" 'PrefixI 'True) (S1 ('MetaSel ('Just "autoScalingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "trafficSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TrafficSourceIdentifier])))

newDetachTrafficSources Source #

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

DetachTrafficSources, detachTrafficSources_autoScalingGroupName - The name of the Auto Scaling group.

DetachTrafficSources, detachTrafficSources_trafficSources - The unique identifiers of one or more traffic sources you are detaching. You can specify up to 10 traffic sources.

Currently, you must specify an Amazon Resource Name (ARN) for an existing VPC Lattice target group. When you detach a target group, it enters the Removing state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the target group using the DescribeTrafficSources API call. The instances continue to run.

Request Lenses

detachTrafficSources_trafficSources :: Lens' DetachTrafficSources [TrafficSourceIdentifier] Source #

The unique identifiers of one or more traffic sources you are detaching. You can specify up to 10 traffic sources.

Currently, you must specify an Amazon Resource Name (ARN) for an existing VPC Lattice target group. When you detach a target group, it enters the Removing state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the target group using the DescribeTrafficSources API call. The instances continue to run.

Destructuring the Response

data DetachTrafficSourcesResponse Source #

See: newDetachTrafficSourcesResponse smart constructor.

Constructors

DetachTrafficSourcesResponse' 

Fields

Instances

Instances details
Generic DetachTrafficSourcesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachTrafficSources

Associated Types

type Rep DetachTrafficSourcesResponse :: Type -> Type #

Read DetachTrafficSourcesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachTrafficSources

Show DetachTrafficSourcesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachTrafficSources

NFData DetachTrafficSourcesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachTrafficSources

Eq DetachTrafficSourcesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachTrafficSources

type Rep DetachTrafficSourcesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachTrafficSources

type Rep DetachTrafficSourcesResponse = D1 ('MetaData "DetachTrafficSourcesResponse" "Amazonka.AutoScaling.DetachTrafficSources" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "DetachTrafficSourcesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDetachTrafficSourcesResponse Source #

Create a value of DetachTrafficSourcesResponse 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:httpStatus:DetachTrafficSourcesResponse', detachTrafficSourcesResponse_httpStatus - The response's http status code.

Response Lenses