« blib/lib/Paws/AppMesh/UntagResourceOutput.pm
↑ Summary
blib/lib/Paws/AppMesh/UpdateGatewayRouteOutput.pm »
| 1 | |||
| 2 | package Paws::AppMesh::UpdateGatewayRoute; | ||
| 3 | use Moose; | ||
| 4 | has ClientToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'clientToken'); | ||
| 5 | has GatewayRouteName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'gatewayRouteName', required => 1); | ||
| 6 | has MeshName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'meshName', required => 1); | ||
| 7 | has MeshOwner => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'meshOwner'); | ||
| 8 | has Spec => (is => 'ro', isa => 'Paws::AppMesh::GatewayRouteSpec', traits => ['NameInRequest'], request_name => 'spec', required => 1); | ||
| 9 | has VirtualGatewayName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'virtualGatewayName', required => 1); | ||
| 10 | |||
| 11 | use MooseX::ClassAttribute; | ||
| 12 | |||
| 13 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateGatewayRoute'); | ||
| 14 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v20190125/meshes/{meshName}/virtualGateway/{virtualGatewayName}/gatewayRoutes/{gatewayRouteName}'); | ||
| 15 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 16 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AppMesh::UpdateGatewayRouteOutput'); | ||
| 17 | 1; | ||
| 18 | |||
| 19 | ### main pod documentation begin ### | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | Paws::AppMesh::UpdateGatewayRoute - Arguments for method UpdateGatewayRoute on L<Paws::AppMesh> | ||
| 24 | |||
| 25 | =head1 DESCRIPTION | ||
| 26 | |||
| 27 | This class represents the parameters used for calling the method UpdateGatewayRoute on the | ||
| 28 | L<AWS App Mesh|Paws::AppMesh> service. Use the attributes of this class | ||
| 29 | as arguments to method UpdateGatewayRoute. | ||
| 30 | |||
| 31 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateGatewayRoute. | ||
| 32 | |||
| 33 | =head1 SYNOPSIS | ||
| 34 | |||
| 35 | my $appmesh = Paws->service('AppMesh'); | ||
| 36 | my $UpdateGatewayRouteOutput = $appmesh->UpdateGatewayRoute( | ||
| 37 | GatewayRouteName => 'MyResourceName', | ||
| 38 | MeshName => 'MyResourceName', | ||
| 39 | Spec => { | ||
| 40 | GrpcRoute => { | ||
| 41 | Action => { | ||
| 42 | Target => { | ||
| 43 | VirtualService => { | ||
| 44 | VirtualServiceName => 'MyResourceName', # min: 1, max: 255 | ||
| 45 | |||
| 46 | }, | ||
| 47 | |||
| 48 | }, | ||
| 49 | Rewrite => { | ||
| 50 | Hostname => { | ||
| 51 | DefaultTargetHostname => | ||
| 52 | 'ENABLED', # values: ENABLED, DISABLED; OPTIONAL | ||
| 53 | }, # OPTIONAL | ||
| 54 | }, # OPTIONAL | ||
| 55 | }, | ||
| 56 | Match => { | ||
| 57 | Hostname => { | ||
| 58 | Exact => 'MyExactHostName', # min: 1, max: 253; OPTIONAL | ||
| 59 | Suffix => 'MySuffixHostname', # min: 1, max: 253; OPTIONAL | ||
| 60 | }, # OPTIONAL | ||
| 61 | Metadata => [ | ||
| 62 | { | ||
| 63 | Name => 'MyHeaderName', # min: 1, max: 50 | ||
| 64 | Invert => 1, # OPTIONAL | ||
| 65 | Match => { | ||
| 66 | Exact => 'MyHeaderMatch', # min: 1, max: 255; OPTIONAL | ||
| 67 | Prefix => 'MyHeaderMatch', # min: 1, max: 255; OPTIONAL | ||
| 68 | Range => { | ||
| 69 | End => 1, | ||
| 70 | Start => 1, | ||
| 71 | |||
| 72 | }, # OPTIONAL | ||
| 73 | Regex => 'MyHeaderMatch', # min: 1, max: 255; OPTIONAL | ||
| 74 | Suffix => 'MyHeaderMatch', # min: 1, max: 255; OPTIONAL | ||
| 75 | }, # OPTIONAL | ||
| 76 | }, | ||
| 77 | ... | ||
| 78 | ], # min: 1, max: 10; OPTIONAL | ||
| 79 | ServiceName => 'MyServiceName', # OPTIONAL | ||
| 80 | }, | ||
| 81 | |||
| 82 | }, # OPTIONAL | ||
| 83 | Http2Route => { | ||
| 84 | Action => { | ||
| 85 | Target => { | ||
| 86 | VirtualService => { | ||
| 87 | VirtualServiceName => 'MyResourceName', # min: 1, max: 255 | ||
| 88 | |||
| 89 | }, | ||
| 90 | |||
| 91 | }, | ||
| 92 | Rewrite => { | ||
| 93 | Hostname => { | ||
| 94 | DefaultTargetHostname => | ||
| 95 | 'ENABLED', # values: ENABLED, DISABLED; OPTIONAL | ||
| 96 | }, # OPTIONAL | ||
| 97 | Path => { | ||
| 98 | Exact => 'MyHttpPathExact', # min: 1, max: 255; OPTIONAL | ||
| 99 | }, # OPTIONAL | ||
| 100 | Prefix => { | ||
| 101 | DefaultPrefix => | ||
| 102 | 'ENABLED', # values: ENABLED, DISABLED; OPTIONAL | ||
| 103 | Value => | ||
| 104 | 'MyHttpGatewayRoutePrefix', # min: 1, max: 255; OPTIONAL | ||
| 105 | }, # OPTIONAL | ||
| 106 | }, # OPTIONAL | ||
| 107 | }, | ||
| 108 | Match => { | ||
| 109 | Headers => [ | ||
| 110 | { | ||
| 111 | Name => 'MyHeaderName', # min: 1, max: 50 | ||
| 112 | Invert => 1, # OPTIONAL | ||
| 113 | Match => { | ||
| 114 | Exact => 'MyHeaderMatch', # min: 1, max: 255; OPTIONAL | ||
| 115 | Prefix => 'MyHeaderMatch', # min: 1, max: 255; OPTIONAL | ||
| 116 | Range => { | ||
| 117 | End => 1, | ||
| 118 | Start => 1, | ||
| 119 | |||
| 120 | }, # OPTIONAL | ||
| 121 | Regex => 'MyHeaderMatch', # min: 1, max: 255; OPTIONAL | ||
| 122 | Suffix => 'MyHeaderMatch', # min: 1, max: 255; OPTIONAL | ||
| 123 | }, # OPTIONAL | ||
| 124 | }, | ||
| 125 | ... | ||
| 126 | ], # min: 1, max: 10; OPTIONAL | ||
| 127 | Hostname => { | ||
| 128 | Exact => 'MyExactHostName', # min: 1, max: 253; OPTIONAL | ||
| 129 | Suffix => 'MySuffixHostname', # min: 1, max: 253; OPTIONAL | ||
| 130 | }, # OPTIONAL | ||
| 131 | Method => 'GET' | ||
| 132 | , # values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH; OPTIONAL | ||
| 133 | Path => { | ||
| 134 | Exact => 'MyHttpPathExact', # min: 1, max: 255; OPTIONAL | ||
| 135 | Regex => 'MyHttpPathRegex', # min: 1, max: 255; OPTIONAL | ||
| 136 | }, # OPTIONAL | ||
| 137 | Prefix => 'MyString', # OPTIONAL | ||
| 138 | QueryParameters => [ | ||
| 139 | { | ||
| 140 | Name => 'MyQueryParameterName', | ||
| 141 | Match => { | ||
| 142 | Exact => 'MyString', # OPTIONAL | ||
| 143 | }, # OPTIONAL | ||
| 144 | }, | ||
| 145 | ... | ||
| 146 | ], # min: 1, max: 10; OPTIONAL | ||
| 147 | }, | ||
| 148 | |||
| 149 | }, # OPTIONAL | ||
| 150 | HttpRoute => { | ||
| 151 | Action => { | ||
| 152 | Target => { | ||
| 153 | VirtualService => { | ||
| 154 | VirtualServiceName => 'MyResourceName', # min: 1, max: 255 | ||
| 155 | |||
| 156 | }, | ||
| 157 | |||
| 158 | }, | ||
| 159 | Rewrite => { | ||
| 160 | Hostname => { | ||
| 161 | DefaultTargetHostname => | ||
| 162 | 'ENABLED', # values: ENABLED, DISABLED; OPTIONAL | ||
| 163 | }, # OPTIONAL | ||
| 164 | Path => { | ||
| 165 | Exact => 'MyHttpPathExact', # min: 1, max: 255; OPTIONAL | ||
| 166 | }, # OPTIONAL | ||
| 167 | Prefix => { | ||
| 168 | DefaultPrefix => | ||
| 169 | 'ENABLED', # values: ENABLED, DISABLED; OPTIONAL | ||
| 170 | Value => | ||
| 171 | 'MyHttpGatewayRoutePrefix', # min: 1, max: 255; OPTIONAL | ||
| 172 | }, # OPTIONAL | ||
| 173 | }, # OPTIONAL | ||
| 174 | }, | ||
| 175 | Match => { | ||
| 176 | Headers => [ | ||
| 177 | { | ||
| 178 | Name => 'MyHeaderName', # min: 1, max: 50 | ||
| 179 | Invert => 1, # OPTIONAL | ||
| 180 | Match => { | ||
| 181 | Exact => 'MyHeaderMatch', # min: 1, max: 255; OPTIONAL | ||
| 182 | Prefix => 'MyHeaderMatch', # min: 1, max: 255; OPTIONAL | ||
| 183 | Range => { | ||
| 184 | End => 1, | ||
| 185 | Start => 1, | ||
| 186 | |||
| 187 | }, # OPTIONAL | ||
| 188 | Regex => 'MyHeaderMatch', # min: 1, max: 255; OPTIONAL | ||
| 189 | Suffix => 'MyHeaderMatch', # min: 1, max: 255; OPTIONAL | ||
| 190 | }, # OPTIONAL | ||
| 191 | }, | ||
| 192 | ... | ||
| 193 | ], # min: 1, max: 10; OPTIONAL | ||
| 194 | Hostname => { | ||
| 195 | Exact => 'MyExactHostName', # min: 1, max: 253; OPTIONAL | ||
| 196 | Suffix => 'MySuffixHostname', # min: 1, max: 253; OPTIONAL | ||
| 197 | }, # OPTIONAL | ||
| 198 | Method => 'GET' | ||
| 199 | , # values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH; OPTIONAL | ||
| 200 | Path => { | ||
| 201 | Exact => 'MyHttpPathExact', # min: 1, max: 255; OPTIONAL | ||
| 202 | Regex => 'MyHttpPathRegex', # min: 1, max: 255; OPTIONAL | ||
| 203 | }, # OPTIONAL | ||
| 204 | Prefix => 'MyString', # OPTIONAL | ||
| 205 | QueryParameters => [ | ||
| 206 | { | ||
| 207 | Name => 'MyQueryParameterName', | ||
| 208 | Match => { | ||
| 209 | Exact => 'MyString', # OPTIONAL | ||
| 210 | }, # OPTIONAL | ||
| 211 | }, | ||
| 212 | ... | ||
| 213 | ], # min: 1, max: 10; OPTIONAL | ||
| 214 | }, | ||
| 215 | |||
| 216 | }, # OPTIONAL | ||
| 217 | Priority => 1, # max: 1000; OPTIONAL | ||
| 218 | }, | ||
| 219 | VirtualGatewayName => 'MyResourceName', | ||
| 220 | ClientToken => 'MyString', # OPTIONAL | ||
| 221 | MeshOwner => 'MyAccountId', # OPTIONAL | ||
| 222 | ); | ||
| 223 | |||
| 224 | # Results: | ||
| 225 | my $GatewayRoute = $UpdateGatewayRouteOutput->GatewayRoute; | ||
| 226 | |||
| 227 | # Returns a L<Paws::AppMesh::UpdateGatewayRouteOutput> object. | ||
| 228 | |||
| 229 | 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. | ||
| 230 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/appmesh/UpdateGatewayRoute> | ||
| 231 | |||
| 232 | =head1 ATTRIBUTES | ||
| 233 | |||
| 234 | |||
| 235 | =head2 ClientToken => Str | ||
| 236 | |||
| 237 | Unique, case-sensitive identifier that you provide to ensure the | ||
| 238 | idempotency of the request. Up to 36 letters, numbers, hyphens, and | ||
| 239 | underscores are allowed. | ||
| 240 | |||
| 241 | |||
| 242 | |||
| 243 | =head2 B<REQUIRED> GatewayRouteName => Str | ||
| 244 | |||
| 245 | The name of the gateway route to update. | ||
| 246 | |||
| 247 | |||
| 248 | |||
| 249 | =head2 B<REQUIRED> MeshName => Str | ||
| 250 | |||
| 251 | The name of the service mesh that the gateway route resides in. | ||
| 252 | |||
| 253 | |||
| 254 | |||
| 255 | =head2 MeshOwner => Str | ||
| 256 | |||
| 257 | The AWS IAM account ID of the service mesh owner. If the account ID is | ||
| 258 | not your own, then it's the ID of the account that shared the mesh with | ||
| 259 | your account. For more information about mesh sharing, see Working with | ||
| 260 | shared meshes | ||
| 261 | (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). | ||
| 262 | |||
| 263 | |||
| 264 | |||
| 265 | =head2 B<REQUIRED> Spec => L<Paws::AppMesh::GatewayRouteSpec> | ||
| 266 | |||
| 267 | The new gateway route specification to apply. This overwrites the | ||
| 268 | existing data. | ||
| 269 | |||
| 270 | |||
| 271 | |||
| 272 | =head2 B<REQUIRED> VirtualGatewayName => Str | ||
| 273 | |||
| 274 | The name of the virtual gateway that the gateway route is associated | ||
| 275 | with. | ||
| 276 | |||
| 277 | |||
| 278 | |||
| 279 | |||
| 280 | =head1 SEE ALSO | ||
| 281 | |||
| 282 | This class forms part of L<Paws>, documenting arguments for method UpdateGatewayRoute in L<Paws::AppMesh> | ||
| 283 | |||
| 284 | =head1 BUGS and CONTRIBUTIONS | ||
| 285 | |||
| 286 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 287 | |||
| 288 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 289 | |||
| 290 | =cut | ||
| 291 |