amazonka-appmesh-2.0: Amazon App Mesh 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.AppMesh.UpdateVirtualGateway

Description

Updates an existing virtual gateway in a specified service mesh.

Synopsis

Creating a Request

data UpdateVirtualGateway Source #

See: newUpdateVirtualGateway smart constructor.

Constructors

UpdateVirtualGateway' 

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 Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

  • meshName :: Text

    The name of the service mesh that the virtual gateway resides in.

  • spec :: VirtualGatewaySpec

    The new virtual gateway specification to apply. This overwrites the existing data.

  • virtualGatewayName :: Text

    The name of the virtual gateway to update.

Instances

Instances details
ToJSON UpdateVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualGateway

ToHeaders UpdateVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualGateway

ToPath UpdateVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualGateway

ToQuery UpdateVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualGateway

AWSRequest UpdateVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualGateway

Associated Types

type AWSResponse UpdateVirtualGateway #

Generic UpdateVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualGateway

Associated Types

type Rep UpdateVirtualGateway :: Type -> Type #

Read UpdateVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualGateway

Show UpdateVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualGateway

NFData UpdateVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualGateway

Methods

rnf :: UpdateVirtualGateway -> () #

Eq UpdateVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualGateway

Hashable UpdateVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualGateway

type AWSResponse UpdateVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualGateway

type Rep UpdateVirtualGateway Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualGateway

type Rep UpdateVirtualGateway = D1 ('MetaData "UpdateVirtualGateway" "Amazonka.AppMesh.UpdateVirtualGateway" "amazonka-appmesh-2.0-GBIHUgXnP8s1LEJyvNe1ca" 'False) (C1 ('MetaCons "UpdateVirtualGateway'" '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 "meshName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "spec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 VirtualGatewaySpec) :*: S1 ('MetaSel ('Just "virtualGatewayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateVirtualGateway Source #

Create a value of UpdateVirtualGateway 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:UpdateVirtualGateway', updateVirtualGateway_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.

UpdateVirtualGateway, updateVirtualGateway_meshOwner - The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

UpdateVirtualGateway, updateVirtualGateway_meshName - The name of the service mesh that the virtual gateway resides in.

UpdateVirtualGateway, updateVirtualGateway_spec - The new virtual gateway specification to apply. This overwrites the existing data.

UpdateVirtualGateway, updateVirtualGateway_virtualGatewayName - The name of the virtual gateway to update.

Request Lenses

updateVirtualGateway_clientToken :: Lens' UpdateVirtualGateway (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.

updateVirtualGateway_meshOwner :: Lens' UpdateVirtualGateway (Maybe Text) Source #

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

updateVirtualGateway_meshName :: Lens' UpdateVirtualGateway Text Source #

The name of the service mesh that the virtual gateway resides in.

updateVirtualGateway_spec :: Lens' UpdateVirtualGateway VirtualGatewaySpec Source #

The new virtual gateway specification to apply. This overwrites the existing data.

updateVirtualGateway_virtualGatewayName :: Lens' UpdateVirtualGateway Text Source #

The name of the virtual gateway to update.

Destructuring the Response

data UpdateVirtualGatewayResponse Source #

See: newUpdateVirtualGatewayResponse smart constructor.

Constructors

UpdateVirtualGatewayResponse' 

Fields

Instances

Instances details
Generic UpdateVirtualGatewayResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualGateway

Associated Types

type Rep UpdateVirtualGatewayResponse :: Type -> Type #

Read UpdateVirtualGatewayResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualGateway

Show UpdateVirtualGatewayResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualGateway

NFData UpdateVirtualGatewayResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualGateway

Eq UpdateVirtualGatewayResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualGateway

type Rep UpdateVirtualGatewayResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualGateway

type Rep UpdateVirtualGatewayResponse = D1 ('MetaData "UpdateVirtualGatewayResponse" "Amazonka.AppMesh.UpdateVirtualGateway" "amazonka-appmesh-2.0-GBIHUgXnP8s1LEJyvNe1ca" 'False) (C1 ('MetaCons "UpdateVirtualGatewayResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "virtualGateway") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 VirtualGatewayData)))

newUpdateVirtualGatewayResponse Source #

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

$sel:virtualGateway:UpdateVirtualGatewayResponse', updateVirtualGatewayResponse_virtualGateway - A full description of the virtual gateway that was updated.

Response Lenses