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

Description

Creates a virtual gateway.

A virtual gateway allows resources outside your mesh to communicate to resources that are inside your mesh. The virtual gateway represents an Envoy proxy running in an Amazon ECS task, in a Kubernetes service, or on an Amazon EC2 instance. Unlike a virtual node, which represents an Envoy running with an application, a virtual gateway represents Envoy deployed by itself.

For more information about virtual gateways, see Virtual gateways.

Synopsis

Creating a Request

data CreateVirtualGateway Source #

See: newCreateVirtualGateway smart constructor.

Constructors

CreateVirtualGateway' 

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.

  • meshOwner :: Maybe Text

    The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.

  • tags :: Maybe [TagRef]

    Optional metadata that you can apply to the virtual gateway 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 of the service mesh to create the virtual gateway in.

  • spec :: VirtualGatewaySpec

    The virtual gateway specification to apply.

  • virtualGatewayName :: Text

    The name to use for the virtual gateway.

Instances

Instances details
Eq CreateVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.CreateVirtualGateway

Read CreateVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.CreateVirtualGateway

Show CreateVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.CreateVirtualGateway

Generic CreateVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.CreateVirtualGateway

Associated Types

type Rep CreateVirtualGateway :: Type -> Type #

NFData CreateVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.CreateVirtualGateway

Methods

rnf :: CreateVirtualGateway -> () #

Hashable CreateVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.CreateVirtualGateway

ToJSON CreateVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.CreateVirtualGateway

AWSRequest CreateVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.CreateVirtualGateway

Associated Types

type AWSResponse CreateVirtualGateway #

ToHeaders CreateVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.CreateVirtualGateway

ToPath CreateVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.CreateVirtualGateway

ToQuery CreateVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.CreateVirtualGateway

type Rep CreateVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.CreateVirtualGateway

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

Defined in Amazonka.AppMesh.CreateVirtualGateway

newCreateVirtualGateway Source #

Create a value of CreateVirtualGateway 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:CreateVirtualGateway', createVirtualGateway_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:meshOwner:CreateVirtualGateway', createVirtualGateway_meshOwner - The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.

$sel:tags:CreateVirtualGateway', createVirtualGateway_tags - Optional metadata that you can apply to the virtual gateway 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:CreateVirtualGateway', createVirtualGateway_meshName - The name of the service mesh to create the virtual gateway in.

$sel:spec:CreateVirtualGateway', createVirtualGateway_spec - The virtual gateway specification to apply.

$sel:virtualGatewayName:CreateVirtualGateway', createVirtualGateway_virtualGatewayName - The name to use for the virtual gateway.

Request Lenses

createVirtualGateway_clientToken :: Lens' CreateVirtualGateway (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.

createVirtualGateway_meshOwner :: Lens' CreateVirtualGateway (Maybe Text) Source #

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.

createVirtualGateway_tags :: Lens' CreateVirtualGateway (Maybe [TagRef]) Source #

Optional metadata that you can apply to the virtual gateway 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.

createVirtualGateway_meshName :: Lens' CreateVirtualGateway Text Source #

The name of the service mesh to create the virtual gateway in.

createVirtualGateway_spec :: Lens' CreateVirtualGateway VirtualGatewaySpec Source #

The virtual gateway specification to apply.

Destructuring the Response

data CreateVirtualGatewayResponse Source #

See: newCreateVirtualGatewayResponse smart constructor.

Constructors

CreateVirtualGatewayResponse' 

Fields

Instances

Instances details
Eq CreateVirtualGatewayResponse Source # 
Instance details

Defined in Amazonka.AppMesh.CreateVirtualGateway

Read CreateVirtualGatewayResponse Source # 
Instance details

Defined in Amazonka.AppMesh.CreateVirtualGateway

Show CreateVirtualGatewayResponse Source # 
Instance details

Defined in Amazonka.AppMesh.CreateVirtualGateway

Generic CreateVirtualGatewayResponse Source # 
Instance details

Defined in Amazonka.AppMesh.CreateVirtualGateway

Associated Types

type Rep CreateVirtualGatewayResponse :: Type -> Type #

NFData CreateVirtualGatewayResponse Source # 
Instance details

Defined in Amazonka.AppMesh.CreateVirtualGateway

type Rep CreateVirtualGatewayResponse Source # 
Instance details

Defined in Amazonka.AppMesh.CreateVirtualGateway

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

newCreateVirtualGatewayResponse Source #

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

$sel:virtualGateway:CreateVirtualGatewayResponse', createVirtualGatewayResponse_virtualGateway - The full description of your virtual gateway following the create call.

Response Lenses

createVirtualGatewayResponse_virtualGateway :: Lens' CreateVirtualGatewayResponse VirtualGatewayData Source #

The full description of your virtual gateway following the create call.