« blib/lib/Paws/AppMesh/UpdateVirtualRouterOutput.pm
↑ Summary
blib/lib/Paws/AppMesh/UpdateVirtualServiceOutput.pm »
| 1 | |||
| 2 | package Paws::AppMesh::UpdateVirtualService; | ||
| 3 | use Moose; | ||
| 4 | has ClientToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'clientToken'); | ||
| 5 | has MeshName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'meshName', required => 1); | ||
| 6 | has MeshOwner => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'meshOwner'); | ||
| 7 | has Spec => (is => 'ro', isa => 'Paws::AppMesh::VirtualServiceSpec', traits => ['NameInRequest'], request_name => 'spec', required => 1); | ||
| 8 | has VirtualServiceName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'virtualServiceName', required => 1); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateVirtualService'); | ||
| 13 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v20190125/meshes/{meshName}/virtualServices/{virtualServiceName}'); | ||
| 14 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 15 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AppMesh::UpdateVirtualServiceOutput'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::AppMesh::UpdateVirtualService - Arguments for method UpdateVirtualService on L<Paws::AppMesh> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method UpdateVirtualService on the | ||
| 27 | L<AWS App Mesh|Paws::AppMesh> service. Use the attributes of this class | ||
| 28 | as arguments to method UpdateVirtualService. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateVirtualService. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $appmesh = Paws->service('AppMesh'); | ||
| 35 | my $UpdateVirtualServiceOutput = $appmesh->UpdateVirtualService( | ||
| 36 | MeshName => 'MyResourceName', | ||
| 37 | Spec => { | ||
| 38 | Provider => { | ||
| 39 | VirtualNode => { | ||
| 40 | VirtualNodeName => 'MyResourceName', # min: 1, max: 255 | ||
| 41 | |||
| 42 | }, # OPTIONAL | ||
| 43 | VirtualRouter => { | ||
| 44 | VirtualRouterName => 'MyResourceName', # min: 1, max: 255 | ||
| 45 | |||
| 46 | }, # OPTIONAL | ||
| 47 | }, # OPTIONAL | ||
| 48 | }, | ||
| 49 | VirtualServiceName => 'MyServiceName', | ||
| 50 | ClientToken => 'MyString', # OPTIONAL | ||
| 51 | MeshOwner => 'MyAccountId', # OPTIONAL | ||
| 52 | ); | ||
| 53 | |||
| 54 | # Results: | ||
| 55 | my $VirtualService = $UpdateVirtualServiceOutput->VirtualService; | ||
| 56 | |||
| 57 | # Returns a L<Paws::AppMesh::UpdateVirtualServiceOutput> object. | ||
| 58 | |||
| 59 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 60 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/appmesh/UpdateVirtualService> | ||
| 61 | |||
| 62 | =head1 ATTRIBUTES | ||
| 63 | |||
| 64 | |||
| 65 | =head2 ClientToken => Str | ||
| 66 | |||
| 67 | Unique, case-sensitive identifier that you provide to ensure the | ||
| 68 | idempotency of the request. Up to 36 letters, numbers, hyphens, and | ||
| 69 | underscores are allowed. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head2 B<REQUIRED> MeshName => Str | ||
| 74 | |||
| 75 | The name of the service mesh that the virtual service resides in. | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | =head2 MeshOwner => Str | ||
| 80 | |||
| 81 | The AWS IAM account ID of the service mesh owner. If the account ID is | ||
| 82 | not your own, then it's the ID of the account that shared the mesh with | ||
| 83 | your account. For more information about mesh sharing, see Working with | ||
| 84 | shared meshes | ||
| 85 | (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). | ||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | =head2 B<REQUIRED> Spec => L<Paws::AppMesh::VirtualServiceSpec> | ||
| 90 | |||
| 91 | The new virtual service specification to apply. This overwrites the | ||
| 92 | existing data. | ||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | =head2 B<REQUIRED> VirtualServiceName => Str | ||
| 97 | |||
| 98 | The name of the virtual service to update. | ||
| 99 | |||
| 100 | |||
| 101 | |||
| 102 | |||
| 103 | =head1 SEE ALSO | ||
| 104 | |||
| 105 | This class forms part of L<Paws>, documenting arguments for method UpdateVirtualService in L<Paws::AppMesh> | ||
| 106 | |||
| 107 | =head1 BUGS and CONTRIBUTIONS | ||
| 108 | |||
| 109 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 110 | |||
| 111 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 112 | |||
| 113 | =cut | ||
| 114 |