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