libZSservicesZSamazonka-chimeZSamazonka-chime
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Chime.AssociatePhoneNumbersWithVoiceConnectorGroup

Description

Associates phone numbers with the specified Amazon Chime Voice Connector group.

Synopsis

Creating a Request

data AssociatePhoneNumbersWithVoiceConnectorGroup Source #

Constructors

AssociatePhoneNumbersWithVoiceConnectorGroup' 

Fields

  • forceAssociate :: Maybe Bool

    If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector Group and removes any previously existing associations. If false, does not associate any phone numbers that have previously existing associations.

  • voiceConnectorGroupId :: Text

    The Amazon Chime Voice Connector group ID.

  • e164PhoneNumbers :: [Sensitive Text]

    List of phone numbers, in E.164 format.

Instances

Instances details
Eq AssociatePhoneNumbersWithVoiceConnectorGroup Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumbersWithVoiceConnectorGroup

Show AssociatePhoneNumbersWithVoiceConnectorGroup Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumbersWithVoiceConnectorGroup

Generic AssociatePhoneNumbersWithVoiceConnectorGroup Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumbersWithVoiceConnectorGroup

NFData AssociatePhoneNumbersWithVoiceConnectorGroup Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumbersWithVoiceConnectorGroup

Hashable AssociatePhoneNumbersWithVoiceConnectorGroup Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumbersWithVoiceConnectorGroup

ToJSON AssociatePhoneNumbersWithVoiceConnectorGroup Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumbersWithVoiceConnectorGroup

AWSRequest AssociatePhoneNumbersWithVoiceConnectorGroup Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumbersWithVoiceConnectorGroup

ToHeaders AssociatePhoneNumbersWithVoiceConnectorGroup Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumbersWithVoiceConnectorGroup

ToPath AssociatePhoneNumbersWithVoiceConnectorGroup Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumbersWithVoiceConnectorGroup

ToQuery AssociatePhoneNumbersWithVoiceConnectorGroup Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumbersWithVoiceConnectorGroup

type Rep AssociatePhoneNumbersWithVoiceConnectorGroup Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumbersWithVoiceConnectorGroup

type Rep AssociatePhoneNumbersWithVoiceConnectorGroup = D1 ('MetaData "AssociatePhoneNumbersWithVoiceConnectorGroup" "Amazonka.Chime.AssociatePhoneNumbersWithVoiceConnectorGroup" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "AssociatePhoneNumbersWithVoiceConnectorGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "forceAssociate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "voiceConnectorGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "e164PhoneNumbers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Sensitive Text]))))
type AWSResponse AssociatePhoneNumbersWithVoiceConnectorGroup Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumbersWithVoiceConnectorGroup

newAssociatePhoneNumbersWithVoiceConnectorGroup Source #

Create a value of AssociatePhoneNumbersWithVoiceConnectorGroup 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:forceAssociate:AssociatePhoneNumbersWithVoiceConnectorGroup', associatePhoneNumbersWithVoiceConnectorGroup_forceAssociate - If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector Group and removes any previously existing associations. If false, does not associate any phone numbers that have previously existing associations.

$sel:voiceConnectorGroupId:AssociatePhoneNumbersWithVoiceConnectorGroup', associatePhoneNumbersWithVoiceConnectorGroup_voiceConnectorGroupId - The Amazon Chime Voice Connector group ID.

$sel:e164PhoneNumbers:AssociatePhoneNumbersWithVoiceConnectorGroup', associatePhoneNumbersWithVoiceConnectorGroup_e164PhoneNumbers - List of phone numbers, in E.164 format.

Request Lenses

associatePhoneNumbersWithVoiceConnectorGroup_forceAssociate :: Lens' AssociatePhoneNumbersWithVoiceConnectorGroup (Maybe Bool) Source #

If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector Group and removes any previously existing associations. If false, does not associate any phone numbers that have previously existing associations.

Destructuring the Response

data AssociatePhoneNumbersWithVoiceConnectorGroupResponse Source #

Constructors

AssociatePhoneNumbersWithVoiceConnectorGroupResponse' 

Fields

Instances

Instances details
Eq AssociatePhoneNumbersWithVoiceConnectorGroupResponse Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumbersWithVoiceConnectorGroup

Read AssociatePhoneNumbersWithVoiceConnectorGroupResponse Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumbersWithVoiceConnectorGroup

Show AssociatePhoneNumbersWithVoiceConnectorGroupResponse Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumbersWithVoiceConnectorGroup

Generic AssociatePhoneNumbersWithVoiceConnectorGroupResponse Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumbersWithVoiceConnectorGroup

NFData AssociatePhoneNumbersWithVoiceConnectorGroupResponse Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumbersWithVoiceConnectorGroup

type Rep AssociatePhoneNumbersWithVoiceConnectorGroupResponse Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumbersWithVoiceConnectorGroup

type Rep AssociatePhoneNumbersWithVoiceConnectorGroupResponse = D1 ('MetaData "AssociatePhoneNumbersWithVoiceConnectorGroupResponse" "Amazonka.Chime.AssociatePhoneNumbersWithVoiceConnectorGroup" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "AssociatePhoneNumbersWithVoiceConnectorGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "phoneNumberErrors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PhoneNumberError])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAssociatePhoneNumbersWithVoiceConnectorGroupResponse Source #

Create a value of AssociatePhoneNumbersWithVoiceConnectorGroupResponse 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:phoneNumberErrors:AssociatePhoneNumbersWithVoiceConnectorGroupResponse', associatePhoneNumbersWithVoiceConnectorGroupResponse_phoneNumberErrors - If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.

$sel:httpStatus:AssociatePhoneNumbersWithVoiceConnectorGroupResponse', associatePhoneNumbersWithVoiceConnectorGroupResponse_httpStatus - The response's http status code.

Response Lenses

associatePhoneNumbersWithVoiceConnectorGroupResponse_phoneNumberErrors :: Lens' AssociatePhoneNumbersWithVoiceConnectorGroupResponse (Maybe [PhoneNumberError]) Source #

If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.