« blib/lib/Paws/AppMesh/UpdateRouteOutput.pm
↑ Summary
blib/lib/Paws/AppMesh/UpdateVirtualGatewayOutput.pm »
| 1 | |||
| 2 | package Paws::AppMesh::UpdateVirtualGateway; | ||
| 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::VirtualGatewaySpec', traits => ['NameInRequest'], request_name => 'spec', required => 1); | ||
| 8 | has VirtualGatewayName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'virtualGatewayName', required => 1); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateVirtualGateway'); | ||
| 13 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v20190125/meshes/{meshName}/virtualGateways/{virtualGatewayName}'); | ||
| 14 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 15 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AppMesh::UpdateVirtualGatewayOutput'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::AppMesh::UpdateVirtualGateway - Arguments for method UpdateVirtualGateway on L<Paws::AppMesh> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method UpdateVirtualGateway on the | ||
| 27 | L<AWS App Mesh|Paws::AppMesh> service. Use the attributes of this class | ||
| 28 | as arguments to method UpdateVirtualGateway. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateVirtualGateway. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $appmesh = Paws->service('AppMesh'); | ||
| 35 | my $UpdateVirtualGatewayOutput = $appmesh->UpdateVirtualGateway( | ||
| 36 | MeshName => 'MyResourceName', | ||
| 37 | Spec => { | ||
| 38 | Listeners => [ | ||
| 39 | { | ||
| 40 | PortMapping => { | ||
| 41 | Port => 1, # min: 1, max: 65535 | ||
| 42 | Protocol => 'http', # values: http, http2, grpc | ||
| 43 | |||
| 44 | }, | ||
| 45 | ConnectionPool => { | ||
| 46 | Grpc => { | ||
| 47 | MaxRequests => 1, # min: 1 | ||
| 48 | |||
| 49 | }, # OPTIONAL | ||
| 50 | Http => { | ||
| 51 | MaxConnections => 1, # min: 1 | ||
| 52 | MaxPendingRequests => 1, # min: 1; OPTIONAL | ||
| 53 | }, # OPTIONAL | ||
| 54 | Http2 => { | ||
| 55 | MaxRequests => 1, # min: 1 | ||
| 56 | |||
| 57 | }, # OPTIONAL | ||
| 58 | }, # OPTIONAL | ||
| 59 | HealthCheck => { | ||
| 60 | HealthyThreshold => 1, # min: 2, max: 10 | ||
| 61 | IntervalMillis => 1, # min: 5000, max: 300000 | ||
| 62 | Protocol => 'http', # values: http, http2, grpc | ||
| 63 | TimeoutMillis => 1, # min: 2000, max: 60000 | ||
| 64 | UnhealthyThreshold => 1, # min: 2, max: 10 | ||
| 65 | Path => 'MyString', # OPTIONAL | ||
| 66 | Port => 1, # min: 1, max: 65535 | ||
| 67 | }, # OPTIONAL | ||
| 68 | Tls => { | ||
| 69 | Certificate => { | ||
| 70 | Acm => { | ||
| 71 | CertificateArn => 'MyArn', | ||
| 72 | |||
| 73 | }, # OPTIONAL | ||
| 74 | File => { | ||
| 75 | CertificateChain => 'MyFilePath', # min: 1, max: 255 | ||
| 76 | PrivateKey => 'MyFilePath', # min: 1, max: 255 | ||
| 77 | |||
| 78 | }, # OPTIONAL | ||
| 79 | Sds => { | ||
| 80 | SecretName => 'MyVirtualGatewaySdsSecretName', | ||
| 81 | |||
| 82 | }, # OPTIONAL | ||
| 83 | }, | ||
| 84 | Mode => 'STRICT', # values: STRICT, PERMISSIVE, DISABLED | ||
| 85 | Validation => { | ||
| 86 | Trust => { | ||
| 87 | File => { | ||
| 88 | CertificateChain => 'MyFilePath', # min: 1, max: 255 | ||
| 89 | |||
| 90 | }, # OPTIONAL | ||
| 91 | Sds => { | ||
| 92 | SecretName => 'MyVirtualGatewaySdsSecretName', | ||
| 93 | |||
| 94 | }, # OPTIONAL | ||
| 95 | }, | ||
| 96 | SubjectAlternativeNames => { | ||
| 97 | Match => { | ||
| 98 | Exact => [ | ||
| 99 | 'MySubjectAlternativeName', ... # min: 1, max: 254 | ||
| 100 | ], | ||
| 101 | |||
| 102 | }, | ||
| 103 | |||
| 104 | }, # OPTIONAL | ||
| 105 | }, # OPTIONAL | ||
| 106 | }, # OPTIONAL | ||
| 107 | }, | ||
| 108 | ... | ||
| 109 | ], # max: 1 | ||
| 110 | BackendDefaults => { | ||
| 111 | ClientPolicy => { | ||
| 112 | Tls => { | ||
| 113 | Validation => { | ||
| 114 | Trust => { | ||
| 115 | Acm => { | ||
| 116 | CertificateAuthorityArns => [ 'MyArn', ... ] | ||
| 117 | , # min: 1, max: 3 | ||
| 118 | |||
| 119 | }, # OPTIONAL | ||
| 120 | File => { | ||
| 121 | CertificateChain => 'MyFilePath', # min: 1, max: 255 | ||
| 122 | |||
| 123 | }, # OPTIONAL | ||
| 124 | Sds => { | ||
| 125 | SecretName => 'MyVirtualGatewaySdsSecretName', | ||
| 126 | |||
| 127 | }, # OPTIONAL | ||
| 128 | }, | ||
| 129 | SubjectAlternativeNames => { | ||
| 130 | Match => { | ||
| 131 | Exact => [ | ||
| 132 | 'MySubjectAlternativeName', ... # min: 1, max: 254 | ||
| 133 | ], | ||
| 134 | |||
| 135 | }, | ||
| 136 | |||
| 137 | }, # OPTIONAL | ||
| 138 | }, | ||
| 139 | Certificate => { | ||
| 140 | File => { | ||
| 141 | CertificateChain => 'MyFilePath', # min: 1, max: 255 | ||
| 142 | PrivateKey => 'MyFilePath', # min: 1, max: 255 | ||
| 143 | |||
| 144 | }, # OPTIONAL | ||
| 145 | Sds => { | ||
| 146 | SecretName => 'MyVirtualGatewaySdsSecretName', | ||
| 147 | |||
| 148 | }, # OPTIONAL | ||
| 149 | }, # OPTIONAL | ||
| 150 | Enforce => 1, # OPTIONAL | ||
| 151 | Ports => [ | ||
| 152 | 1, ... # min: 1, max: 65535 | ||
| 153 | ], # OPTIONAL | ||
| 154 | }, # OPTIONAL | ||
| 155 | }, # OPTIONAL | ||
| 156 | }, # OPTIONAL | ||
| 157 | Logging => { | ||
| 158 | AccessLog => { | ||
| 159 | File => { | ||
| 160 | Path => 'MyFilePath', # min: 1, max: 255 | ||
| 161 | |||
| 162 | }, # OPTIONAL | ||
| 163 | }, # OPTIONAL | ||
| 164 | }, # OPTIONAL | ||
| 165 | }, | ||
| 166 | VirtualGatewayName => 'MyResourceName', | ||
| 167 | ClientToken => 'MyString', # OPTIONAL | ||
| 168 | MeshOwner => 'MyAccountId', # OPTIONAL | ||
| 169 | ); | ||
| 170 | |||
| 171 | # Results: | ||
| 172 | my $VirtualGateway = $UpdateVirtualGatewayOutput->VirtualGateway; | ||
| 173 | |||
| 174 | # Returns a L<Paws::AppMesh::UpdateVirtualGatewayOutput> object. | ||
| 175 | |||
| 176 | 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. | ||
| 177 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/appmesh/UpdateVirtualGateway> | ||
| 178 | |||
| 179 | =head1 ATTRIBUTES | ||
| 180 | |||
| 181 | |||
| 182 | =head2 ClientToken => Str | ||
| 183 | |||
| 184 | Unique, case-sensitive identifier that you provide to ensure the | ||
| 185 | idempotency of the request. Up to 36 letters, numbers, hyphens, and | ||
| 186 | underscores are allowed. | ||
| 187 | |||
| 188 | |||
| 189 | |||
| 190 | =head2 B<REQUIRED> MeshName => Str | ||
| 191 | |||
| 192 | The name of the service mesh that the virtual gateway resides in. | ||
| 193 | |||
| 194 | |||
| 195 | |||
| 196 | =head2 MeshOwner => Str | ||
| 197 | |||
| 198 | The AWS IAM account ID of the service mesh owner. If the account ID is | ||
| 199 | not your own, then it's the ID of the account that shared the mesh with | ||
| 200 | your account. For more information about mesh sharing, see Working with | ||
| 201 | shared meshes | ||
| 202 | (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). | ||
| 203 | |||
| 204 | |||
| 205 | |||
| 206 | =head2 B<REQUIRED> Spec => L<Paws::AppMesh::VirtualGatewaySpec> | ||
| 207 | |||
| 208 | The new virtual gateway specification to apply. This overwrites the | ||
| 209 | existing data. | ||
| 210 | |||
| 211 | |||
| 212 | |||
| 213 | =head2 B<REQUIRED> VirtualGatewayName => Str | ||
| 214 | |||
| 215 | The name of the virtual gateway to update. | ||
| 216 | |||
| 217 | |||
| 218 | |||
| 219 | |||
| 220 | =head1 SEE ALSO | ||
| 221 | |||
| 222 | This class forms part of L<Paws>, documenting arguments for method UpdateVirtualGateway in L<Paws::AppMesh> | ||
| 223 | |||
| 224 | =head1 BUGS and CONTRIBUTIONS | ||
| 225 | |||
| 226 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 227 | |||
| 228 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 229 | |||
| 230 | =cut | ||
| 231 |