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.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 AWS 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
Eq UpdateVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

Read UpdateVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

Show UpdateVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

Generic UpdateVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

Associated Types

type Rep UpdateVirtualRouter :: Type -> Type #

NFData UpdateVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

Methods

rnf :: UpdateVirtualRouter -> () #

Hashable UpdateVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

ToJSON UpdateVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

AWSRequest UpdateVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

Associated Types

type AWSResponse 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

type Rep UpdateVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

type Rep UpdateVirtualRouter = D1 ('MetaData "UpdateVirtualRouter" "Amazonka.AppMesh.UpdateVirtualRouter" "libZSservicesZSamazonka-appmeshZSamazonka-appmesh" '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)))))
type AWSResponse UpdateVirtualRouter Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

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.

$sel:meshOwner:UpdateVirtualRouter', updateVirtualRouter_meshOwner - The AWS 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.

$sel:meshName:UpdateVirtualRouter', updateVirtualRouter_meshName - The name of the service mesh that the virtual router resides in.

$sel:spec:UpdateVirtualRouter', updateVirtualRouter_spec - The new virtual router specification to apply. This overwrites the existing data.

$sel:virtualRouterName: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 AWS 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
Eq UpdateVirtualRouterResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

Read UpdateVirtualRouterResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

Show UpdateVirtualRouterResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

Generic UpdateVirtualRouterResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualRouter

Associated Types

type Rep UpdateVirtualRouterResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-appmeshZSamazonka-appmesh" '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.

$sel:virtualRouter: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.