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

Description

Updates an existing virtual service in a specified service mesh.

Synopsis

Creating a Request

data UpdateVirtualService Source #

See: newUpdateVirtualService smart constructor.

Constructors

UpdateVirtualService' 

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

  • spec :: VirtualServiceSpec

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

  • virtualServiceName :: Text

    The name of the virtual service to update.

Instances

Instances details
ToJSON UpdateVirtualService Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

ToHeaders UpdateVirtualService Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

ToPath UpdateVirtualService Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

ToQuery UpdateVirtualService Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

AWSRequest UpdateVirtualService Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

Associated Types

type AWSResponse UpdateVirtualService #

Generic UpdateVirtualService Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

Associated Types

type Rep UpdateVirtualService :: Type -> Type #

Read UpdateVirtualService Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

Show UpdateVirtualService Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

NFData UpdateVirtualService Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

Methods

rnf :: UpdateVirtualService -> () #

Eq UpdateVirtualService Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

Hashable UpdateVirtualService Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

type AWSResponse UpdateVirtualService Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

type Rep UpdateVirtualService Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

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

newUpdateVirtualService Source #

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

UpdateVirtualService, updateVirtualService_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.

UpdateVirtualService, updateVirtualService_meshName - The name of the service mesh that the virtual service resides in.

UpdateVirtualService, updateVirtualService_spec - The new virtual service specification to apply. This overwrites the existing data.

UpdateVirtualService, updateVirtualService_virtualServiceName - The name of the virtual service to update.

Request Lenses

updateVirtualService_clientToken :: Lens' UpdateVirtualService (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.

updateVirtualService_meshOwner :: Lens' UpdateVirtualService (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.

updateVirtualService_meshName :: Lens' UpdateVirtualService Text Source #

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

updateVirtualService_spec :: Lens' UpdateVirtualService VirtualServiceSpec Source #

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

updateVirtualService_virtualServiceName :: Lens' UpdateVirtualService Text Source #

The name of the virtual service to update.

Destructuring the Response

data UpdateVirtualServiceResponse Source #

See: newUpdateVirtualServiceResponse smart constructor.

Constructors

UpdateVirtualServiceResponse' 

Fields

Instances

Instances details
Generic UpdateVirtualServiceResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

Associated Types

type Rep UpdateVirtualServiceResponse :: Type -> Type #

Read UpdateVirtualServiceResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

Show UpdateVirtualServiceResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

NFData UpdateVirtualServiceResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

Eq UpdateVirtualServiceResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

type Rep UpdateVirtualServiceResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

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

newUpdateVirtualServiceResponse Source #

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

UpdateVirtualServiceResponse, updateVirtualServiceResponse_virtualService - A full description of the virtual service that was updated.

Response Lenses