amazonka-connect-2.0: Amazon Connect Service 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.Connect.GetTrafficDistribution

Description

Retrieves the current traffic distribution for a given traffic distribution group.

Synopsis

Creating a Request

data GetTrafficDistribution Source #

See: newGetTrafficDistribution smart constructor.

Constructors

GetTrafficDistribution' 

Fields

  • id :: Text

    The identifier of the traffic distribution group.

Instances

Instances details
ToHeaders GetTrafficDistribution Source # 
Instance details

Defined in Amazonka.Connect.GetTrafficDistribution

ToPath GetTrafficDistribution Source # 
Instance details

Defined in Amazonka.Connect.GetTrafficDistribution

ToQuery GetTrafficDistribution Source # 
Instance details

Defined in Amazonka.Connect.GetTrafficDistribution

AWSRequest GetTrafficDistribution Source # 
Instance details

Defined in Amazonka.Connect.GetTrafficDistribution

Associated Types

type AWSResponse GetTrafficDistribution #

Generic GetTrafficDistribution Source # 
Instance details

Defined in Amazonka.Connect.GetTrafficDistribution

Associated Types

type Rep GetTrafficDistribution :: Type -> Type #

Read GetTrafficDistribution Source # 
Instance details

Defined in Amazonka.Connect.GetTrafficDistribution

Show GetTrafficDistribution Source # 
Instance details

Defined in Amazonka.Connect.GetTrafficDistribution

NFData GetTrafficDistribution Source # 
Instance details

Defined in Amazonka.Connect.GetTrafficDistribution

Methods

rnf :: GetTrafficDistribution -> () #

Eq GetTrafficDistribution Source # 
Instance details

Defined in Amazonka.Connect.GetTrafficDistribution

Hashable GetTrafficDistribution Source # 
Instance details

Defined in Amazonka.Connect.GetTrafficDistribution

type AWSResponse GetTrafficDistribution Source # 
Instance details

Defined in Amazonka.Connect.GetTrafficDistribution

type Rep GetTrafficDistribution Source # 
Instance details

Defined in Amazonka.Connect.GetTrafficDistribution

type Rep GetTrafficDistribution = D1 ('MetaData "GetTrafficDistribution" "Amazonka.Connect.GetTrafficDistribution" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "GetTrafficDistribution'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetTrafficDistribution Source #

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

GetTrafficDistribution, getTrafficDistribution_id - The identifier of the traffic distribution group.

Request Lenses

getTrafficDistribution_id :: Lens' GetTrafficDistribution Text Source #

The identifier of the traffic distribution group.

Destructuring the Response

data GetTrafficDistributionResponse Source #

See: newGetTrafficDistributionResponse smart constructor.

Constructors

GetTrafficDistributionResponse' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the traffic distribution group.

  • id :: Maybe Text

    The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.

  • telephonyConfig :: Maybe TelephonyConfig

    The distribution of traffic between the instance and its replicas.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic GetTrafficDistributionResponse Source # 
Instance details

Defined in Amazonka.Connect.GetTrafficDistribution

Associated Types

type Rep GetTrafficDistributionResponse :: Type -> Type #

Read GetTrafficDistributionResponse Source # 
Instance details

Defined in Amazonka.Connect.GetTrafficDistribution

Show GetTrafficDistributionResponse Source # 
Instance details

Defined in Amazonka.Connect.GetTrafficDistribution

NFData GetTrafficDistributionResponse Source # 
Instance details

Defined in Amazonka.Connect.GetTrafficDistribution

Eq GetTrafficDistributionResponse Source # 
Instance details

Defined in Amazonka.Connect.GetTrafficDistribution

type Rep GetTrafficDistributionResponse Source # 
Instance details

Defined in Amazonka.Connect.GetTrafficDistribution

type Rep GetTrafficDistributionResponse = D1 ('MetaData "GetTrafficDistributionResponse" "Amazonka.Connect.GetTrafficDistribution" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "GetTrafficDistributionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "telephonyConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TelephonyConfig)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetTrafficDistributionResponse Source #

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

GetTrafficDistributionResponse, getTrafficDistributionResponse_arn - The Amazon Resource Name (ARN) of the traffic distribution group.

GetTrafficDistribution, getTrafficDistributionResponse_id - The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.

$sel:telephonyConfig:GetTrafficDistributionResponse', getTrafficDistributionResponse_telephonyConfig - The distribution of traffic between the instance and its replicas.

$sel:httpStatus:GetTrafficDistributionResponse', getTrafficDistributionResponse_httpStatus - The response's http status code.

Response Lenses

getTrafficDistributionResponse_arn :: Lens' GetTrafficDistributionResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the traffic distribution group.

getTrafficDistributionResponse_id :: Lens' GetTrafficDistributionResponse (Maybe Text) Source #

The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.

getTrafficDistributionResponse_telephonyConfig :: Lens' GetTrafficDistributionResponse (Maybe TelephonyConfig) Source #

The distribution of traffic between the instance and its replicas.