libZSservicesZSamazonka-appmeshZSamazonka-appmesh
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.AppMesh.CreateMesh

Description

Creates a service mesh.

A service mesh is a logical boundary for network traffic between services that are represented by resources within the mesh. After you create your service mesh, you can create virtual services, virtual nodes, virtual routers, and routes to distribute traffic between the applications in your mesh.

For more information about service meshes, see Service meshes.

Synopsis

Creating a Request

data CreateMesh Source #

See: newCreateMesh smart constructor.

Constructors

CreateMesh' 

Fields

  • clientToken :: Maybe Text

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.

  • spec :: Maybe MeshSpec

    The service mesh specification to apply.

  • tags :: Maybe [TagRef]

    Optional metadata that you can apply to the service mesh to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

  • meshName :: Text

    The name to use for the service mesh.

Instances

Instances details
Eq CreateMesh Source # 
Instance details

Defined in Amazonka.AppMesh.CreateMesh

Read CreateMesh Source # 
Instance details

Defined in Amazonka.AppMesh.CreateMesh

Show CreateMesh Source # 
Instance details

Defined in Amazonka.AppMesh.CreateMesh

Generic CreateMesh Source # 
Instance details

Defined in Amazonka.AppMesh.CreateMesh

Associated Types

type Rep CreateMesh :: Type -> Type #

NFData CreateMesh Source # 
Instance details

Defined in Amazonka.AppMesh.CreateMesh

Methods

rnf :: CreateMesh -> () #

Hashable CreateMesh Source # 
Instance details

Defined in Amazonka.AppMesh.CreateMesh

ToJSON CreateMesh Source # 
Instance details

Defined in Amazonka.AppMesh.CreateMesh

AWSRequest CreateMesh Source # 
Instance details

Defined in Amazonka.AppMesh.CreateMesh

Associated Types

type AWSResponse CreateMesh #

ToHeaders CreateMesh Source # 
Instance details

Defined in Amazonka.AppMesh.CreateMesh

Methods

toHeaders :: CreateMesh -> [Header] #

ToPath CreateMesh Source # 
Instance details

Defined in Amazonka.AppMesh.CreateMesh

ToQuery CreateMesh Source # 
Instance details

Defined in Amazonka.AppMesh.CreateMesh

type Rep CreateMesh Source # 
Instance details

Defined in Amazonka.AppMesh.CreateMesh

type Rep CreateMesh = D1 ('MetaData "CreateMesh" "Amazonka.AppMesh.CreateMesh" "libZSservicesZSamazonka-appmeshZSamazonka-appmesh" 'False) (C1 ('MetaCons "CreateMesh'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "spec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MeshSpec))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TagRef])) :*: S1 ('MetaSel ('Just "meshName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateMesh Source # 
Instance details

Defined in Amazonka.AppMesh.CreateMesh

newCreateMesh Source #

Create a value of CreateMesh 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:clientToken:CreateMesh', createMesh_clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.

$sel:spec:CreateMesh', createMesh_spec - The service mesh specification to apply.

$sel:tags:CreateMesh', createMesh_tags - Optional metadata that you can apply to the service mesh to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

$sel:meshName:CreateMesh', createMesh_meshName - The name to use for the service mesh.

Request Lenses

createMesh_clientToken :: Lens' CreateMesh (Maybe Text) Source #

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.

createMesh_spec :: Lens' CreateMesh (Maybe MeshSpec) Source #

The service mesh specification to apply.

createMesh_tags :: Lens' CreateMesh (Maybe [TagRef]) Source #

Optional metadata that you can apply to the service mesh to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

createMesh_meshName :: Lens' CreateMesh Text Source #

The name to use for the service mesh.

Destructuring the Response

data CreateMeshResponse Source #

See: newCreateMeshResponse smart constructor.

Constructors

CreateMeshResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • mesh :: MeshData

    The full description of your service mesh following the create call.

Instances

Instances details
Eq CreateMeshResponse Source # 
Instance details

Defined in Amazonka.AppMesh.CreateMesh

Read CreateMeshResponse Source # 
Instance details

Defined in Amazonka.AppMesh.CreateMesh

Show CreateMeshResponse Source # 
Instance details

Defined in Amazonka.AppMesh.CreateMesh

Generic CreateMeshResponse Source # 
Instance details

Defined in Amazonka.AppMesh.CreateMesh

Associated Types

type Rep CreateMeshResponse :: Type -> Type #

NFData CreateMeshResponse Source # 
Instance details

Defined in Amazonka.AppMesh.CreateMesh

Methods

rnf :: CreateMeshResponse -> () #

type Rep CreateMeshResponse Source # 
Instance details

Defined in Amazonka.AppMesh.CreateMesh

type Rep CreateMeshResponse = D1 ('MetaData "CreateMeshResponse" "Amazonka.AppMesh.CreateMesh" "libZSservicesZSamazonka-appmeshZSamazonka-appmesh" 'False) (C1 ('MetaCons "CreateMeshResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "mesh") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MeshData)))

newCreateMeshResponse Source #

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

$sel:mesh:CreateMeshResponse', createMeshResponse_mesh - The full description of your service mesh following the create call.

Response Lenses

createMeshResponse_mesh :: Lens' CreateMeshResponse MeshData Source #

The full description of your service mesh following the create call.