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

Defined in Amazonka.AppMesh.UpdateVirtualService

Read UpdateVirtualService Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

Show UpdateVirtualService Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

Generic UpdateVirtualService Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

Associated Types

type Rep UpdateVirtualService :: Type -> Type #

NFData UpdateVirtualService Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

Methods

rnf :: UpdateVirtualService -> () #

Hashable UpdateVirtualService Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

ToJSON UpdateVirtualService Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

AWSRequest UpdateVirtualService Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

Associated Types

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

type Rep UpdateVirtualService Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

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

Defined in Amazonka.AppMesh.UpdateVirtualService

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.

$sel:meshOwner:UpdateVirtualService', updateVirtualService_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:UpdateVirtualService', updateVirtualService_meshName - The name of the service mesh that the virtual service resides in.

$sel:spec:UpdateVirtualService', updateVirtualService_spec - The new virtual service specification to apply. This overwrites the existing data.

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

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
Eq UpdateVirtualServiceResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

Read UpdateVirtualServiceResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

Show UpdateVirtualServiceResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

Generic UpdateVirtualServiceResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateVirtualService

Associated Types

type Rep UpdateVirtualServiceResponse :: Type -> Type #

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

$sel:virtualService:UpdateVirtualServiceResponse', updateVirtualServiceResponse_virtualService - A full description of the virtual service that was updated.

Response Lenses