amazonka-connectcases-2.0: Amazon Connect Cases 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.ConnectCases.UpdateLayout

Description

Updates the attributes of an existing layout.

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

A ValidationException is returned when you add non-existent fieldIds to a layout.

Title and Status fields cannot be part of layouts because they are not configurable.

Synopsis

Creating a Request

data UpdateLayout Source #

See: newUpdateLayout smart constructor.

Constructors

UpdateLayout' 

Fields

  • content :: Maybe LayoutContent

    Information about which fields will be present in the layout, the order of the fields, and a read-only attribute of the field.

  • name :: Maybe Text

    The name of the layout. It must be unique per domain.

  • domainId :: Text

    The unique identifier of the Cases domain.

  • layoutId :: Text

    The unique identifier of the layout.

Instances

Instances details
ToJSON UpdateLayout Source # 
Instance details

Defined in Amazonka.ConnectCases.UpdateLayout

ToHeaders UpdateLayout Source # 
Instance details

Defined in Amazonka.ConnectCases.UpdateLayout

ToPath UpdateLayout Source # 
Instance details

Defined in Amazonka.ConnectCases.UpdateLayout

ToQuery UpdateLayout Source # 
Instance details

Defined in Amazonka.ConnectCases.UpdateLayout

AWSRequest UpdateLayout Source # 
Instance details

Defined in Amazonka.ConnectCases.UpdateLayout

Associated Types

type AWSResponse UpdateLayout #

Generic UpdateLayout Source # 
Instance details

Defined in Amazonka.ConnectCases.UpdateLayout

Associated Types

type Rep UpdateLayout :: Type -> Type #

Read UpdateLayout Source # 
Instance details

Defined in Amazonka.ConnectCases.UpdateLayout

Show UpdateLayout Source # 
Instance details

Defined in Amazonka.ConnectCases.UpdateLayout

NFData UpdateLayout Source # 
Instance details

Defined in Amazonka.ConnectCases.UpdateLayout

Methods

rnf :: UpdateLayout -> () #

Eq UpdateLayout Source # 
Instance details

Defined in Amazonka.ConnectCases.UpdateLayout

Hashable UpdateLayout Source # 
Instance details

Defined in Amazonka.ConnectCases.UpdateLayout

type AWSResponse UpdateLayout Source # 
Instance details

Defined in Amazonka.ConnectCases.UpdateLayout

type Rep UpdateLayout Source # 
Instance details

Defined in Amazonka.ConnectCases.UpdateLayout

type Rep UpdateLayout = D1 ('MetaData "UpdateLayout" "Amazonka.ConnectCases.UpdateLayout" "amazonka-connectcases-2.0-9RA5jvVYRVL9KmD8hfMfHn" 'False) (C1 ('MetaCons "UpdateLayout'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LayoutContent)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "domainId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "layoutId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateLayout Source #

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

UpdateLayout, updateLayout_content - Information about which fields will be present in the layout, the order of the fields, and a read-only attribute of the field.

UpdateLayout, updateLayout_name - The name of the layout. It must be unique per domain.

UpdateLayout, updateLayout_domainId - The unique identifier of the Cases domain.

UpdateLayout, updateLayout_layoutId - The unique identifier of the layout.

Request Lenses

updateLayout_content :: Lens' UpdateLayout (Maybe LayoutContent) Source #

Information about which fields will be present in the layout, the order of the fields, and a read-only attribute of the field.

updateLayout_name :: Lens' UpdateLayout (Maybe Text) Source #

The name of the layout. It must be unique per domain.

updateLayout_domainId :: Lens' UpdateLayout Text Source #

The unique identifier of the Cases domain.

updateLayout_layoutId :: Lens' UpdateLayout Text Source #

The unique identifier of the layout.

Destructuring the Response

data UpdateLayoutResponse Source #

See: newUpdateLayoutResponse smart constructor.

Constructors

UpdateLayoutResponse' 

Fields

Instances

Instances details
Generic UpdateLayoutResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.UpdateLayout

Associated Types

type Rep UpdateLayoutResponse :: Type -> Type #

Read UpdateLayoutResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.UpdateLayout

Show UpdateLayoutResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.UpdateLayout

NFData UpdateLayoutResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.UpdateLayout

Methods

rnf :: UpdateLayoutResponse -> () #

Eq UpdateLayoutResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.UpdateLayout

type Rep UpdateLayoutResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.UpdateLayout

type Rep UpdateLayoutResponse = D1 ('MetaData "UpdateLayoutResponse" "Amazonka.ConnectCases.UpdateLayout" "amazonka-connectcases-2.0-9RA5jvVYRVL9KmD8hfMfHn" 'False) (C1 ('MetaCons "UpdateLayoutResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateLayoutResponse Source #

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

Response Lenses