« blib/lib/Paws/AppMesh/UpdateVirtualGatewayOutput.pm
↑ Summary
blib/lib/Paws/AppMesh/UpdateVirtualNodeOutput.pm »
| 1 | |||
| 2 | package Paws::AppMesh::UpdateVirtualNode; | ||
| 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::VirtualNodeSpec', traits => ['NameInRequest'], request_name => 'spec', required => 1); | ||
| 8 | has VirtualNodeName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'virtualNodeName', required => 1); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateVirtualNode'); | ||
| 13 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v20190125/meshes/{meshName}/virtualNodes/{virtualNodeName}'); | ||
| 14 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 15 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AppMesh::UpdateVirtualNodeOutput'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::AppMesh::UpdateVirtualNode - Arguments for method UpdateVirtualNode on L<Paws::AppMesh> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method UpdateVirtualNode on the | ||
| 27 | L<AWS App Mesh|Paws::AppMesh> service. Use the attributes of this class | ||
| 28 | as arguments to method UpdateVirtualNode. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateVirtualNode. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $appmesh = Paws->service('AppMesh'); | ||
| 35 | my $UpdateVirtualNodeOutput = $appmesh->UpdateVirtualNode( | ||
| 36 | MeshName => 'MyResourceName', | ||
| 37 | Spec => { | ||
| 38 | BackendDefaults => { | ||
| 39 | ClientPolicy => { | ||
| 40 | Tls => { | ||
| 41 | Validation => { | ||
| 42 | Trust => { | ||
| 43 | Acm => { | ||
| 44 | CertificateAuthorityArns => [ 'MyArn', ... ] | ||
| 45 | , # min: 1, max: 3 | ||
| 46 | |||
| 47 | }, # OPTIONAL | ||
| 48 | File => { | ||
| 49 | CertificateChain => 'MyFilePath', # min: 1, max: 255 | ||
| 50 | |||
| 51 | }, # OPTIONAL | ||
| 52 | Sds => { | ||
| 53 | SecretName => 'MySdsSecretName', | ||
| 54 | |||
| 55 | }, # OPTIONAL | ||
| 56 | }, | ||
| 57 | SubjectAlternativeNames => { | ||
| 58 | Match => { | ||
| 59 | Exact => [ | ||
| 60 | 'MySubjectAlternativeName', ... # min: 1, max: 254 | ||
| 61 | ], | ||
| 62 | |||
| 63 | }, | ||
| 64 | |||
| 65 | }, # OPTIONAL | ||
| 66 | }, | ||
| 67 | Certificate => { | ||
| 68 | File => { | ||
| 69 | CertificateChain => 'MyFilePath', # min: 1, max: 255 | ||
| 70 | PrivateKey => 'MyFilePath', # min: 1, max: 255 | ||
| 71 | |||
| 72 | }, # OPTIONAL | ||
| 73 | Sds => { | ||
| 74 | SecretName => 'MySdsSecretName', | ||
| 75 | |||
| 76 | }, # OPTIONAL | ||
| 77 | }, # OPTIONAL | ||
| 78 | Enforce => 1, # OPTIONAL | ||
| 79 | Ports => [ | ||
| 80 | 1, ... # min: 1, max: 65535 | ||
| 81 | ], # OPTIONAL | ||
| 82 | }, # OPTIONAL | ||
| 83 | }, # OPTIONAL | ||
| 84 | }, # OPTIONAL | ||
| 85 | Backends => [ | ||
| 86 | { | ||
| 87 | VirtualService => { | ||
| 88 | VirtualServiceName => 'MyServiceName', | ||
| 89 | ClientPolicy => { | ||
| 90 | Tls => { | ||
| 91 | Validation => { | ||
| 92 | Trust => { | ||
| 93 | Acm => { | ||
| 94 | CertificateAuthorityArns => [ 'MyArn', ... ] | ||
| 95 | , # min: 1, max: 3 | ||
| 96 | |||
| 97 | }, # OPTIONAL | ||
| 98 | File => { | ||
| 99 | CertificateChain => 'MyFilePath', # min: 1, max: 255 | ||
| 100 | |||
| 101 | }, # OPTIONAL | ||
| 102 | Sds => { | ||
| 103 | SecretName => 'MySdsSecretName', | ||
| 104 | |||
| 105 | }, # OPTIONAL | ||
| 106 | }, | ||
| 107 | SubjectAlternativeNames => { | ||
| 108 | Match => { | ||
| 109 | Exact => [ | ||
| 110 | 'MySubjectAlternativeName', ... # min: 1, max: 254 | ||
| 111 | ], | ||
| 112 | |||
| 113 | }, | ||
| 114 | |||
| 115 | }, # OPTIONAL | ||
| 116 | }, | ||
| 117 | Certificate => { | ||
| 118 | File => { | ||
| 119 | CertificateChain => 'MyFilePath', # min: 1, max: 255 | ||
| 120 | PrivateKey => 'MyFilePath', # min: 1, max: 255 | ||
| 121 | |||
| 122 | }, # OPTIONAL | ||
| 123 | Sds => { | ||
| 124 | SecretName => 'MySdsSecretName', | ||
| 125 | |||
| 126 | }, # OPTIONAL | ||
| 127 | }, # OPTIONAL | ||
| 128 | Enforce => 1, # OPTIONAL | ||
| 129 | Ports => [ | ||
| 130 | 1, ... # min: 1, max: 65535 | ||
| 131 | ], # OPTIONAL | ||
| 132 | }, # OPTIONAL | ||
| 133 | }, # OPTIONAL | ||
| 134 | }, # OPTIONAL | ||
| 135 | }, | ||
| 136 | ... | ||
| 137 | ], # OPTIONAL | ||
| 138 | Listeners => [ | ||
| 139 | { | ||
| 140 | PortMapping => { | ||
| 141 | Port => 1, # min: 1, max: 65535 | ||
| 142 | Protocol => 'http', # values: http, tcp, http2, grpc | ||
| 143 | |||
| 144 | }, | ||
| 145 | ConnectionPool => { | ||
| 146 | Grpc => { | ||
| 147 | MaxRequests => 1, # min: 1 | ||
| 148 | |||
| 149 | }, # OPTIONAL | ||
| 150 | Http => { | ||
| 151 | MaxConnections => 1, # min: 1 | ||
| 152 | MaxPendingRequests => 1, # min: 1; OPTIONAL | ||
| 153 | }, # OPTIONAL | ||
| 154 | Http2 => { | ||
| 155 | MaxRequests => 1, # min: 1 | ||
| 156 | |||
| 157 | }, # OPTIONAL | ||
| 158 | Tcp => { | ||
| 159 | MaxConnections => 1, # min: 1 | ||
| 160 | |||
| 161 | }, # OPTIONAL | ||
| 162 | }, # OPTIONAL | ||
| 163 | HealthCheck => { | ||
| 164 | HealthyThreshold => 1, # min: 2, max: 10 | ||
| 165 | IntervalMillis => 1, # min: 5000, max: 300000 | ||
| 166 | Protocol => 'http', # values: http, tcp, http2, grpc | ||
| 167 | TimeoutMillis => 1, # min: 2000, max: 60000 | ||
| 168 | UnhealthyThreshold => 1, # min: 2, max: 10 | ||
| 169 | Path => 'MyString', # OPTIONAL | ||
| 170 | Port => 1, # min: 1, max: 65535 | ||
| 171 | }, # OPTIONAL | ||
| 172 | OutlierDetection => { | ||
| 173 | BaseEjectionDuration => { | ||
| 174 | Unit => 's', # values: s, ms; OPTIONAL | ||
| 175 | Value => 1, # OPTIONAL | ||
| 176 | }, | ||
| 177 | Interval => { | ||
| 178 | Unit => 's', # values: s, ms; OPTIONAL | ||
| 179 | Value => 1, # OPTIONAL | ||
| 180 | }, | ||
| 181 | MaxEjectionPercent => 1, # max: 100 | ||
| 182 | MaxServerErrors => 1, # min: 1 | ||
| 183 | |||
| 184 | }, # OPTIONAL | ||
| 185 | Timeout => { | ||
| 186 | Grpc => { | ||
| 187 | Idle => { | ||
| 188 | Unit => 's', # values: s, ms; OPTIONAL | ||
| 189 | Value => 1, # OPTIONAL | ||
| 190 | }, | ||
| 191 | PerRequest => { | ||
| 192 | Unit => 's', # values: s, ms; OPTIONAL | ||
| 193 | Value => 1, # OPTIONAL | ||
| 194 | }, | ||
| 195 | }, # OPTIONAL | ||
| 196 | Http => { | ||
| 197 | Idle => { | ||
| 198 | Unit => 's', # values: s, ms; OPTIONAL | ||
| 199 | Value => 1, # OPTIONAL | ||
| 200 | }, | ||
| 201 | PerRequest => { | ||
| 202 | Unit => 's', # values: s, ms; OPTIONAL | ||
| 203 | Value => 1, # OPTIONAL | ||
| 204 | }, | ||
| 205 | }, # OPTIONAL | ||
| 206 | Http2 => { | ||
| 207 | Idle => { | ||
| 208 | Unit => 's', # values: s, ms; OPTIONAL | ||
| 209 | Value => 1, # OPTIONAL | ||
| 210 | }, | ||
| 211 | PerRequest => { | ||
| 212 | Unit => 's', # values: s, ms; OPTIONAL | ||
| 213 | Value => 1, # OPTIONAL | ||
| 214 | }, | ||
| 215 | }, # OPTIONAL | ||
| 216 | Tcp => { | ||
| 217 | Idle => { | ||
| 218 | Unit => 's', # values: s, ms; OPTIONAL | ||
| 219 | Value => 1, # OPTIONAL | ||
| 220 | }, | ||
| 221 | }, # OPTIONAL | ||
| 222 | }, # OPTIONAL | ||
| 223 | Tls => { | ||
| 224 | Certificate => { | ||
| 225 | Acm => { | ||
| 226 | CertificateArn => 'MyArn', | ||
| 227 | |||
| 228 | }, # OPTIONAL | ||
| 229 | File => { | ||
| 230 | CertificateChain => 'MyFilePath', # min: 1, max: 255 | ||
| 231 | PrivateKey => 'MyFilePath', # min: 1, max: 255 | ||
| 232 | |||
| 233 | }, # OPTIONAL | ||
| 234 | Sds => { | ||
| 235 | SecretName => 'MySdsSecretName', | ||
| 236 | |||
| 237 | }, # OPTIONAL | ||
| 238 | }, | ||
| 239 | Mode => 'STRICT', # values: STRICT, PERMISSIVE, DISABLED | ||
| 240 | Validation => { | ||
| 241 | Trust => { | ||
| 242 | File => { | ||
| 243 | CertificateChain => 'MyFilePath', # min: 1, max: 255 | ||
| 244 | |||
| 245 | }, # OPTIONAL | ||
| 246 | Sds => { | ||
| 247 | SecretName => 'MySdsSecretName', | ||
| 248 | |||
| 249 | }, # OPTIONAL | ||
| 250 | }, | ||
| 251 | SubjectAlternativeNames => { | ||
| 252 | Match => { | ||
| 253 | Exact => [ | ||
| 254 | 'MySubjectAlternativeName', ... # min: 1, max: 254 | ||
| 255 | ], | ||
| 256 | |||
| 257 | }, | ||
| 258 | |||
| 259 | }, # OPTIONAL | ||
| 260 | }, # OPTIONAL | ||
| 261 | }, # OPTIONAL | ||
| 262 | }, | ||
| 263 | ... | ||
| 264 | ], # max: 1; OPTIONAL | ||
| 265 | Logging => { | ||
| 266 | AccessLog => { | ||
| 267 | File => { | ||
| 268 | Path => 'MyFilePath', # min: 1, max: 255 | ||
| 269 | |||
| 270 | }, # OPTIONAL | ||
| 271 | }, # OPTIONAL | ||
| 272 | }, # OPTIONAL | ||
| 273 | ServiceDiscovery => { | ||
| 274 | AwsCloudMap => { | ||
| 275 | NamespaceName => 'MyAwsCloudMapName', # min: 1, max: 1024 | ||
| 276 | ServiceName => 'MyAwsCloudMapName', # min: 1, max: 1024 | ||
| 277 | Attributes => [ | ||
| 278 | { | ||
| 279 | Key => 'MyAwsCloudMapInstanceAttributeKey', # min: 1, max: 255 | ||
| 280 | Value => | ||
| 281 | 'MyAwsCloudMapInstanceAttributeValue', # min: 1, max: 1024 | ||
| 282 | |||
| 283 | }, | ||
| 284 | ... | ||
| 285 | ], # OPTIONAL | ||
| 286 | }, # OPTIONAL | ||
| 287 | Dns => { | ||
| 288 | Hostname => 'MyHostname', | ||
| 289 | ResponseType => | ||
| 290 | 'LOADBALANCER', # values: LOADBALANCER, ENDPOINTS; OPTIONAL | ||
| 291 | }, # OPTIONAL | ||
| 292 | }, # OPTIONAL | ||
| 293 | }, | ||
| 294 | VirtualNodeName => 'MyResourceName', | ||
| 295 | ClientToken => 'MyString', # OPTIONAL | ||
| 296 | MeshOwner => 'MyAccountId', # OPTIONAL | ||
| 297 | ); | ||
| 298 | |||
| 299 | # Results: | ||
| 300 | my $VirtualNode = $UpdateVirtualNodeOutput->VirtualNode; | ||
| 301 | |||
| 302 | # Returns a L<Paws::AppMesh::UpdateVirtualNodeOutput> object. | ||
| 303 | |||
| 304 | 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. | ||
| 305 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/appmesh/UpdateVirtualNode> | ||
| 306 | |||
| 307 | =head1 ATTRIBUTES | ||
| 308 | |||
| 309 | |||
| 310 | =head2 ClientToken => Str | ||
| 311 | |||
| 312 | Unique, case-sensitive identifier that you provide to ensure the | ||
| 313 | idempotency of the request. Up to 36 letters, numbers, hyphens, and | ||
| 314 | underscores are allowed. | ||
| 315 | |||
| 316 | |||
| 317 | |||
| 318 | =head2 B<REQUIRED> MeshName => Str | ||
| 319 | |||
| 320 | The name of the service mesh that the virtual node resides in. | ||
| 321 | |||
| 322 | |||
| 323 | |||
| 324 | =head2 MeshOwner => Str | ||
| 325 | |||
| 326 | The AWS IAM account ID of the service mesh owner. If the account ID is | ||
| 327 | not your own, then it's the ID of the account that shared the mesh with | ||
| 328 | your account. For more information about mesh sharing, see Working with | ||
| 329 | shared meshes | ||
| 330 | (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). | ||
| 331 | |||
| 332 | |||
| 333 | |||
| 334 | =head2 B<REQUIRED> Spec => L<Paws::AppMesh::VirtualNodeSpec> | ||
| 335 | |||
| 336 | The new virtual node specification to apply. This overwrites the | ||
| 337 | existing data. | ||
| 338 | |||
| 339 | |||
| 340 | |||
| 341 | =head2 B<REQUIRED> VirtualNodeName => Str | ||
| 342 | |||
| 343 | The name of the virtual node to update. | ||
| 344 | |||
| 345 | |||
| 346 | |||
| 347 | |||
| 348 | =head1 SEE ALSO | ||
| 349 | |||
| 350 | This class forms part of L<Paws>, documenting arguments for method UpdateVirtualNode in L<Paws::AppMesh> | ||
| 351 | |||
| 352 | =head1 BUGS and CONTRIBUTIONS | ||
| 353 | |||
| 354 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 355 | |||
| 356 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 357 | |||
| 358 | =cut | ||
| 359 |