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.CreateLayout

Description

Creates a layout in the Cases domain. Layouts define the following configuration in the top section and More Info tab of the Cases user interface:

  • Fields to display to the users
  • Field ordering

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

Synopsis

Creating a Request

data CreateLayout Source #

See: newCreateLayout smart constructor.

Constructors

CreateLayout' 

Fields

  • content :: LayoutContent

    Information about which fields will be present in the layout, and information about the order of the fields.

  • domainId :: Text

    The unique identifier of the Cases domain.

  • name :: Text

    The name of the layout. It must be unique for the Cases domain.

Instances

Instances details
ToJSON CreateLayout Source # 
Instance details

Defined in Amazonka.ConnectCases.CreateLayout

ToHeaders CreateLayout Source # 
Instance details

Defined in Amazonka.ConnectCases.CreateLayout

ToPath CreateLayout Source # 
Instance details

Defined in Amazonka.ConnectCases.CreateLayout

ToQuery CreateLayout Source # 
Instance details

Defined in Amazonka.ConnectCases.CreateLayout

AWSRequest CreateLayout Source # 
Instance details

Defined in Amazonka.ConnectCases.CreateLayout

Associated Types

type AWSResponse CreateLayout #

Generic CreateLayout Source # 
Instance details

Defined in Amazonka.ConnectCases.CreateLayout

Associated Types

type Rep CreateLayout :: Type -> Type #

Read CreateLayout Source # 
Instance details

Defined in Amazonka.ConnectCases.CreateLayout

Show CreateLayout Source # 
Instance details

Defined in Amazonka.ConnectCases.CreateLayout

NFData CreateLayout Source # 
Instance details

Defined in Amazonka.ConnectCases.CreateLayout

Methods

rnf :: CreateLayout -> () #

Eq CreateLayout Source # 
Instance details

Defined in Amazonka.ConnectCases.CreateLayout

Hashable CreateLayout Source # 
Instance details

Defined in Amazonka.ConnectCases.CreateLayout

type AWSResponse CreateLayout Source # 
Instance details

Defined in Amazonka.ConnectCases.CreateLayout

type Rep CreateLayout Source # 
Instance details

Defined in Amazonka.ConnectCases.CreateLayout

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

newCreateLayout Source #

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

CreateLayout, createLayout_content - Information about which fields will be present in the layout, and information about the order of the fields.

CreateLayout, createLayout_domainId - The unique identifier of the Cases domain.

CreateLayout, createLayout_name - The name of the layout. It must be unique for the Cases domain.

Request Lenses

createLayout_content :: Lens' CreateLayout LayoutContent Source #

Information about which fields will be present in the layout, and information about the order of the fields.

createLayout_domainId :: Lens' CreateLayout Text Source #

The unique identifier of the Cases domain.

createLayout_name :: Lens' CreateLayout Text Source #

The name of the layout. It must be unique for the Cases domain.

Destructuring the Response

data CreateLayoutResponse Source #

See: newCreateLayoutResponse smart constructor.

Constructors

CreateLayoutResponse' 

Fields

Instances

Instances details
Generic CreateLayoutResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.CreateLayout

Associated Types

type Rep CreateLayoutResponse :: Type -> Type #

Read CreateLayoutResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.CreateLayout

Show CreateLayoutResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.CreateLayout

NFData CreateLayoutResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.CreateLayout

Methods

rnf :: CreateLayoutResponse -> () #

Eq CreateLayoutResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.CreateLayout

type Rep CreateLayoutResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.CreateLayout

type Rep CreateLayoutResponse = D1 ('MetaData "CreateLayoutResponse" "Amazonka.ConnectCases.CreateLayout" "amazonka-connectcases-2.0-9RA5jvVYRVL9KmD8hfMfHn" 'False) (C1 ('MetaCons "CreateLayoutResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "layoutArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "layoutId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateLayoutResponse Source #

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

CreateLayoutResponse, createLayoutResponse_layoutArn - The Amazon Resource Name (ARN) of the newly created layout.

CreateLayoutResponse, createLayoutResponse_layoutId - The unique identifier of the layout.

Response Lenses

createLayoutResponse_layoutArn :: Lens' CreateLayoutResponse Text Source #

The Amazon Resource Name (ARN) of the newly created layout.

createLayoutResponse_layoutId :: Lens' CreateLayoutResponse Text Source #

The unique identifier of the layout.