libZSservicesZSamazonka-connectZSamazonka-connect
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.Connect.UpdateRoutingProfileName

Description

Updates the name and description of a routing profile. The request accepts the following data in JSON format. At least Name or Description must be provided.

Synopsis

Creating a Request

data UpdateRoutingProfileName Source #

See: newUpdateRoutingProfileName smart constructor.

Constructors

UpdateRoutingProfileName' 

Fields

  • name :: Maybe Text

    The name of the routing profile. Must not be more than 127 characters.

  • description :: Maybe Text

    The description of the routing profile. Must not be more than 250 characters.

  • instanceId :: Text

    The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

  • routingProfileId :: Text

    The identifier of the routing profile.

Instances

Instances details
Eq UpdateRoutingProfileName Source # 
Instance details

Defined in Amazonka.Connect.UpdateRoutingProfileName

Read UpdateRoutingProfileName Source # 
Instance details

Defined in Amazonka.Connect.UpdateRoutingProfileName

Show UpdateRoutingProfileName Source # 
Instance details

Defined in Amazonka.Connect.UpdateRoutingProfileName

Generic UpdateRoutingProfileName Source # 
Instance details

Defined in Amazonka.Connect.UpdateRoutingProfileName

Associated Types

type Rep UpdateRoutingProfileName :: Type -> Type #

NFData UpdateRoutingProfileName Source # 
Instance details

Defined in Amazonka.Connect.UpdateRoutingProfileName

Hashable UpdateRoutingProfileName Source # 
Instance details

Defined in Amazonka.Connect.UpdateRoutingProfileName

ToJSON UpdateRoutingProfileName Source # 
Instance details

Defined in Amazonka.Connect.UpdateRoutingProfileName

AWSRequest UpdateRoutingProfileName Source # 
Instance details

Defined in Amazonka.Connect.UpdateRoutingProfileName

ToHeaders UpdateRoutingProfileName Source # 
Instance details

Defined in Amazonka.Connect.UpdateRoutingProfileName

ToPath UpdateRoutingProfileName Source # 
Instance details

Defined in Amazonka.Connect.UpdateRoutingProfileName

ToQuery UpdateRoutingProfileName Source # 
Instance details

Defined in Amazonka.Connect.UpdateRoutingProfileName

type Rep UpdateRoutingProfileName Source # 
Instance details

Defined in Amazonka.Connect.UpdateRoutingProfileName

type Rep UpdateRoutingProfileName = D1 ('MetaData "UpdateRoutingProfileName" "Amazonka.Connect.UpdateRoutingProfileName" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "UpdateRoutingProfileName'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "routingProfileId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateRoutingProfileName Source # 
Instance details

Defined in Amazonka.Connect.UpdateRoutingProfileName

newUpdateRoutingProfileName Source #

Create a value of UpdateRoutingProfileName 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:name:UpdateRoutingProfileName', updateRoutingProfileName_name - The name of the routing profile. Must not be more than 127 characters.

$sel:description:UpdateRoutingProfileName', updateRoutingProfileName_description - The description of the routing profile. Must not be more than 250 characters.

$sel:instanceId:UpdateRoutingProfileName', updateRoutingProfileName_instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

$sel:routingProfileId:UpdateRoutingProfileName', updateRoutingProfileName_routingProfileId - The identifier of the routing profile.

Request Lenses

updateRoutingProfileName_name :: Lens' UpdateRoutingProfileName (Maybe Text) Source #

The name of the routing profile. Must not be more than 127 characters.

updateRoutingProfileName_description :: Lens' UpdateRoutingProfileName (Maybe Text) Source #

The description of the routing profile. Must not be more than 250 characters.

updateRoutingProfileName_instanceId :: Lens' UpdateRoutingProfileName Text Source #

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Destructuring the Response

data UpdateRoutingProfileNameResponse Source #

See: newUpdateRoutingProfileNameResponse smart constructor.

Instances

Instances details
Eq UpdateRoutingProfileNameResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateRoutingProfileName

Read UpdateRoutingProfileNameResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateRoutingProfileName

Show UpdateRoutingProfileNameResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateRoutingProfileName

Generic UpdateRoutingProfileNameResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateRoutingProfileName

Associated Types

type Rep UpdateRoutingProfileNameResponse :: Type -> Type #

NFData UpdateRoutingProfileNameResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateRoutingProfileName

type Rep UpdateRoutingProfileNameResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateRoutingProfileName

type Rep UpdateRoutingProfileNameResponse = D1 ('MetaData "UpdateRoutingProfileNameResponse" "Amazonka.Connect.UpdateRoutingProfileName" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "UpdateRoutingProfileNameResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUpdateRoutingProfileNameResponse :: UpdateRoutingProfileNameResponse Source #

Create a value of UpdateRoutingProfileNameResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.