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

Description

Updates an existing virtual router in a specified service mesh.

Synopsis

Creating a Request

data UpdateVirtualRouter Source #

See: newUpdateVirtualRouter smart constructor.

Constructors

UpdateVirtualRouter' 

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 router resides in.

  • spec :: VirtualRouterSpec

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

  • virtualRouterName :: Text

    The name of the virtual router to update.

Instances

Instances details
ToJSON UpdateVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

ToHeaders UpdateVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

ToPath UpdateVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

ToQuery UpdateVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

AWSRequest UpdateVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

Associated Types

type AWSResponse UpdateVirtualRouter #

Generic UpdateVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

Associated Types

type Rep UpdateVirtualRouter :: Type -> Type #

Read UpdateVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

Show UpdateVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

NFData UpdateVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

Methods

rnf :: UpdateVirtualRouter -> () #

Eq UpdateVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

Hashable UpdateVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

type AWSResponse UpdateVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

type Rep UpdateVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

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

newUpdateVirtualRouter Source #

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

UpdateVirtualRouter, updateVirtualRouter_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.

UpdateVirtualRouter, updateVirtualRouter_meshName - The name of the service mesh that the virtual router resides in.

UpdateVirtualRouter, updateVirtualRouter_spec - The new virtual router specification to apply. This overwrites the existing data.

UpdateVirtualRouter, updateVirtualRouter_virtualRouterName - The name of the virtual router to update.

Request Lenses

updateVirtualRouter_clientToken :: Lens' UpdateVirtualRouter (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.

updateVirtualRouter_meshOwner :: Lens' UpdateVirtualRouter (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.

updateVirtualRouter_meshName :: Lens' UpdateVirtualRouter Text Source #

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

updateVirtualRouter_spec :: Lens' UpdateVirtualRouter VirtualRouterSpec Source #

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

updateVirtualRouter_virtualRouterName :: Lens' UpdateVirtualRouter Text Source #

The name of the virtual router to update.

Destructuring the Response

data UpdateVirtualRouterResponse Source #

See: newUpdateVirtualRouterResponse smart constructor.

Constructors

UpdateVirtualRouterResponse' 

Fields

Instances

Instances details
Generic UpdateVirtualRouterResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

Associated Types

type Rep UpdateVirtualRouterResponse :: Type -> Type #

Read UpdateVirtualRouterResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

Show UpdateVirtualRouterResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

NFData UpdateVirtualRouterResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

Eq UpdateVirtualRouterResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

type Rep UpdateVirtualRouterResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

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

newUpdateVirtualRouterResponse Source #

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

UpdateVirtualRouterResponse, updateVirtualRouterResponse_virtualRouter - A full description of the virtual router that was updated.

Response Lenses

updateVirtualRouterResponse_virtualRouter :: Lens' UpdateVirtualRouterResponse VirtualRouterData Source #

A full description of the virtual router that was updated.