aws-sdk-appmesh 1.19.1 → 1.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-appmesh.rb +7 -4
- data/lib/aws-sdk-appmesh/client.rb +416 -45
- data/lib/aws-sdk-appmesh/client_api.rb +50 -0
- data/lib/aws-sdk-appmesh/errors.rb +32 -10
- data/lib/aws-sdk-appmesh/resource.rb +1 -0
- data/lib/aws-sdk-appmesh/types.rb +494 -10
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9c3dd391d1c5a608dce75c1166ee229d7e1fc7ae25e83b3688d4375fa2ee1bb0
|
4
|
+
data.tar.gz: d3030698fd1f1364c888cfffbdc916894569c43186c0e33ee555e9507c62cd6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6517eaf59773fde081496e0a460357732aed56c3f12023a2d11caba58b2ac1f372e63ee83608cac613f5632df5da2d7bb7824efabca9931d300ca7b4ee48bdd
|
7
|
+
data.tar.gz: bc690d5b2b645bc15b0f97d5027dfce0ed861d449e7e7d59f3459ab9c490d614acf3fff8b82982c64205d0424253bac6a7ff7bda7e4a36a7c5924beab2fc802b
|
data/lib/aws-sdk-appmesh.rb
CHANGED
@@ -24,17 +24,20 @@ require_relative 'aws-sdk-appmesh/customizations'
|
|
24
24
|
# methods each accept a hash of request parameters and return a response
|
25
25
|
# structure.
|
26
26
|
#
|
27
|
+
# app_mesh = Aws::AppMesh::Client.new
|
28
|
+
# resp = app_mesh.create_mesh(params)
|
29
|
+
#
|
27
30
|
# See {Client} for more information.
|
28
31
|
#
|
29
32
|
# # Errors
|
30
33
|
#
|
31
|
-
# Errors returned from AWS App Mesh
|
32
|
-
# extend {Errors::ServiceError}.
|
34
|
+
# Errors returned from AWS App Mesh are defined in the
|
35
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
33
36
|
#
|
34
37
|
# begin
|
35
38
|
# # do stuff
|
36
39
|
# rescue Aws::AppMesh::Errors::ServiceError
|
37
|
-
# # rescues all
|
40
|
+
# # rescues all AWS App Mesh API errors
|
38
41
|
# end
|
39
42
|
#
|
40
43
|
# See {Errors} for more information.
|
@@ -42,6 +45,6 @@ require_relative 'aws-sdk-appmesh/customizations'
|
|
42
45
|
# @service
|
43
46
|
module Aws::AppMesh
|
44
47
|
|
45
|
-
GEM_VERSION = '1.
|
48
|
+
GEM_VERSION = '1.24.0'
|
46
49
|
|
47
50
|
end
|
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
|
30
30
|
Aws::Plugins::GlobalConfiguration.add_identifier(:appmesh)
|
31
31
|
|
32
32
|
module Aws::AppMesh
|
33
|
+
# An API client for AppMesh. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
|
+
#
|
35
|
+
# client = Aws::AppMesh::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
|
+
#
|
41
|
+
# For details on configuring region and credentials see
|
42
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
43
|
+
#
|
44
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
45
|
class Client < Seahorse::Client::Base
|
34
46
|
|
35
47
|
include Aws::ClientStubs
|
@@ -93,7 +105,7 @@ module Aws::AppMesh
|
|
93
105
|
# @option options [required, String] :region
|
94
106
|
# The AWS region to connect to. The configured `:region` is
|
95
107
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
97
109
|
#
|
98
110
|
# * `Aws.config[:region]`
|
99
111
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +120,12 @@ module Aws::AppMesh
|
|
108
120
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
121
|
# the background every 60 secs (default). Defaults to `false`.
|
110
122
|
#
|
123
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
124
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
125
|
+
# until there is sufficent client side capacity to retry the request.
|
126
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
127
|
+
# not retry instead of sleeping.
|
128
|
+
#
|
111
129
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
130
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
131
|
# this client.
|
@@ -132,6 +150,10 @@ module Aws::AppMesh
|
|
132
150
|
# When `true`, an attempt is made to coerce request parameters into
|
133
151
|
# the required types.
|
134
152
|
#
|
153
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
154
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
155
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
156
|
+
#
|
135
157
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
158
|
# Set to true to disable SDK automatically adding host prefix
|
137
159
|
# to default service endpoint when available.
|
@@ -139,7 +161,7 @@ module Aws::AppMesh
|
|
139
161
|
# @option options [String] :endpoint
|
140
162
|
# The client endpoint is normally constructed from the `:region`
|
141
163
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
143
165
|
#
|
144
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +176,7 @@ module Aws::AppMesh
|
|
154
176
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
177
|
#
|
156
178
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
179
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
180
|
#
|
159
181
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
182
|
# The log formatter.
|
@@ -166,15 +188,29 @@ module Aws::AppMesh
|
|
166
188
|
# The Logger instance to send log messages to. If this option
|
167
189
|
# is not set, logging will be disabled.
|
168
190
|
#
|
191
|
+
# @option options [Integer] :max_attempts (3)
|
192
|
+
# An integer representing the maximum number attempts that will be made for
|
193
|
+
# a single request, including the initial attempt. For example,
|
194
|
+
# setting this value to 5 will result in a request being retried up to
|
195
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
196
|
+
#
|
169
197
|
# @option options [String] :profile ("default")
|
170
198
|
# Used when loading credentials from the shared credentials file
|
171
199
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
200
|
#
|
201
|
+
# @option options [Proc] :retry_backoff
|
202
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
203
|
+
# This option is only used in the `legacy` retry mode.
|
204
|
+
#
|
173
205
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
206
|
+
# The base delay in seconds used by the default backoff function. This option
|
207
|
+
# is only used in the `legacy` retry mode.
|
175
208
|
#
|
176
209
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
210
|
+
# A delay randomiser function used by the default backoff function.
|
211
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
212
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
213
|
+
# in the `legacy` retry mode.
|
178
214
|
#
|
179
215
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
216
|
#
|
@@ -182,11 +218,30 @@ module Aws::AppMesh
|
|
182
218
|
# The maximum number of times to retry failed requests. Only
|
183
219
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
220
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
221
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
222
|
+
# endpoint discovery, and errors from expired credentials.
|
223
|
+
# This option is only used in the `legacy` retry mode.
|
187
224
|
#
|
188
225
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
226
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
227
|
+
# used by the default backoff function. This option is only used in the
|
228
|
+
# `legacy` retry mode.
|
229
|
+
#
|
230
|
+
# @option options [String] :retry_mode ("legacy")
|
231
|
+
# Specifies which retry algorithm to use. Values are:
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
190
245
|
#
|
191
246
|
# @option options [String] :secret_access_key
|
192
247
|
#
|
@@ -209,16 +264,15 @@ module Aws::AppMesh
|
|
209
264
|
# requests through. Formatted like 'http://proxy.com:123'.
|
210
265
|
#
|
211
266
|
# @option options [Float] :http_open_timeout (15) The number of
|
212
|
-
# seconds to wait when opening a HTTP session before
|
267
|
+
# seconds to wait when opening a HTTP session before raising a
|
213
268
|
# `Timeout::Error`.
|
214
269
|
#
|
215
270
|
# @option options [Integer] :http_read_timeout (60) The default
|
216
271
|
# number of seconds to wait for response data. This value can
|
217
|
-
# safely be set
|
218
|
-
# per-request on the session yeidled by {#session_for}.
|
272
|
+
# safely be set per-request on the session.
|
219
273
|
#
|
220
274
|
# @option options [Float] :http_idle_timeout (5) The number of
|
221
|
-
# seconds a connection is allowed to sit
|
275
|
+
# seconds a connection is allowed to sit idle before it is
|
222
276
|
# considered stale. Stale connections are closed and removed
|
223
277
|
# from the pool before making a request.
|
224
278
|
#
|
@@ -227,7 +281,7 @@ module Aws::AppMesh
|
|
227
281
|
# request body. This option has no effect unless the request has
|
228
282
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
229
283
|
# disables this behaviour. This value can safely be set per
|
230
|
-
# request on the session
|
284
|
+
# request on the session.
|
231
285
|
#
|
232
286
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
233
287
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -254,12 +308,19 @@ module Aws::AppMesh
|
|
254
308
|
|
255
309
|
# @!group API Operations
|
256
310
|
|
257
|
-
# Creates a service mesh.
|
258
|
-
#
|
311
|
+
# Creates a service mesh.
|
312
|
+
#
|
313
|
+
# A service mesh is a logical boundary for network traffic between
|
314
|
+
# services that are represented by resources within the mesh. After you
|
315
|
+
# create your service mesh, you can create virtual services, virtual
|
316
|
+
# nodes, virtual routers, and routes to distribute traffic between the
|
317
|
+
# applications in your mesh.
|
318
|
+
#
|
319
|
+
# For more information about service meshes, see [Service meshes][1].
|
259
320
|
#
|
260
|
-
#
|
261
|
-
#
|
262
|
-
#
|
321
|
+
#
|
322
|
+
#
|
323
|
+
# [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/meshes.html
|
263
324
|
#
|
264
325
|
# @option params [String] :client_token
|
265
326
|
# Unique, case-sensitive identifier that you provide to ensure the
|
@@ -310,6 +371,8 @@ module Aws::AppMesh
|
|
310
371
|
# resp.mesh.metadata.arn #=> String
|
311
372
|
# resp.mesh.metadata.created_at #=> Time
|
312
373
|
# resp.mesh.metadata.last_updated_at #=> Time
|
374
|
+
# resp.mesh.metadata.mesh_owner #=> String
|
375
|
+
# resp.mesh.metadata.resource_owner #=> String
|
313
376
|
# resp.mesh.metadata.uid #=> String
|
314
377
|
# resp.mesh.metadata.version #=> Integer
|
315
378
|
# resp.mesh.spec.egress_filter.type #=> String, one of "ALLOW_ALL", "DROP_ALL"
|
@@ -326,19 +389,14 @@ module Aws::AppMesh
|
|
326
389
|
|
327
390
|
# Creates a route that is associated with a virtual router.
|
328
391
|
#
|
329
|
-
# You can
|
330
|
-
#
|
331
|
-
# name is `my-service.local` and you want the route to match requests to
|
332
|
-
# `my-service.local/metrics`, your prefix should be `/metrics`.
|
333
|
-
#
|
334
|
-
# If your route matches a request, you can distribute traffic to one or
|
335
|
-
# more target virtual nodes with relative weighting.
|
392
|
+
# You can route several different protocols and define a retry policy
|
393
|
+
# for a route. Traffic can be routed to one or more virtual nodes.
|
336
394
|
#
|
337
395
|
# For more information about routes, see [Routes][1].
|
338
396
|
#
|
339
397
|
#
|
340
398
|
#
|
341
|
-
# [1]: https://docs.aws.amazon.com
|
399
|
+
# [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/routes.html
|
342
400
|
#
|
343
401
|
# @option params [String] :client_token
|
344
402
|
# Unique, case-sensitive identifier that you provide to ensure the
|
@@ -351,6 +409,17 @@ module Aws::AppMesh
|
|
351
409
|
# @option params [required, String] :mesh_name
|
352
410
|
# The name of the service mesh to create the route in.
|
353
411
|
#
|
412
|
+
# @option params [String] :mesh_owner
|
413
|
+
# The AWS IAM account ID of the service mesh owner. If the account ID is
|
414
|
+
# not your own, then the account that you specify must share the mesh
|
415
|
+
# with your account before you can create the resource in the service
|
416
|
+
# mesh. For more information about mesh sharing, see [Working with
|
417
|
+
# Shared Meshes][1].
|
418
|
+
#
|
419
|
+
#
|
420
|
+
#
|
421
|
+
# [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
|
422
|
+
#
|
354
423
|
# @option params [required, String] :route_name
|
355
424
|
# The name to use for the route.
|
356
425
|
#
|
@@ -365,7 +434,9 @@ module Aws::AppMesh
|
|
365
434
|
# length of 256 characters.
|
366
435
|
#
|
367
436
|
# @option params [required, String] :virtual_router_name
|
368
|
-
# The name of the virtual router in which to create the route.
|
437
|
+
# The name of the virtual router in which to create the route. If the
|
438
|
+
# virtual router is in a shared mesh, then you must be the owner of the
|
439
|
+
# virtual router resource.
|
369
440
|
#
|
370
441
|
# @return [Types::CreateRouteOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
371
442
|
#
|
@@ -376,6 +447,7 @@ module Aws::AppMesh
|
|
376
447
|
# resp = client.create_route({
|
377
448
|
# client_token: "String",
|
378
449
|
# mesh_name: "ResourceName", # required
|
450
|
+
# mesh_owner: "AccountId",
|
379
451
|
# route_name: "ResourceName", # required
|
380
452
|
# spec: { # required
|
381
453
|
# grpc_route: {
|
@@ -525,6 +597,8 @@ module Aws::AppMesh
|
|
525
597
|
# resp.route.metadata.arn #=> String
|
526
598
|
# resp.route.metadata.created_at #=> Time
|
527
599
|
# resp.route.metadata.last_updated_at #=> Time
|
600
|
+
# resp.route.metadata.mesh_owner #=> String
|
601
|
+
# resp.route.metadata.resource_owner #=> String
|
528
602
|
# resp.route.metadata.uid #=> String
|
529
603
|
# resp.route.metadata.version #=> Integer
|
530
604
|
# resp.route.route_name #=> String
|
@@ -616,11 +690,13 @@ module Aws::AppMesh
|
|
616
690
|
# A virtual node acts as a logical pointer to a particular task group,
|
617
691
|
# such as an Amazon ECS service or a Kubernetes deployment. When you
|
618
692
|
# create a virtual node, you can specify the service discovery
|
619
|
-
# information for your task group
|
693
|
+
# information for your task group, and whether the proxy running in a
|
694
|
+
# task group will communicate with other proxies using Transport Layer
|
695
|
+
# Security (TLS).
|
620
696
|
#
|
621
|
-
#
|
622
|
-
#
|
623
|
-
# to
|
697
|
+
# You define a `listener` for any inbound traffic that your virtual node
|
698
|
+
# expects. Any virtual service that your virtual node expects to
|
699
|
+
# communicate to is specified as a `backend`.
|
624
700
|
#
|
625
701
|
# The response metadata for your new virtual node contains the `arn`
|
626
702
|
# that is associated with the virtual node. Set this value (either the
|
@@ -638,11 +714,11 @@ module Aws::AppMesh
|
|
638
714
|
#
|
639
715
|
# </note>
|
640
716
|
#
|
641
|
-
# For more information about virtual nodes, see [Virtual
|
717
|
+
# For more information about virtual nodes, see [Virtual nodes][1].
|
642
718
|
#
|
643
719
|
#
|
644
720
|
#
|
645
|
-
# [1]: https://docs.aws.amazon.com
|
721
|
+
# [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_nodes.html
|
646
722
|
#
|
647
723
|
# @option params [String] :client_token
|
648
724
|
# Unique, case-sensitive identifier that you provide to ensure the
|
@@ -655,6 +731,17 @@ module Aws::AppMesh
|
|
655
731
|
# @option params [required, String] :mesh_name
|
656
732
|
# The name of the service mesh to create the virtual node in.
|
657
733
|
#
|
734
|
+
# @option params [String] :mesh_owner
|
735
|
+
# The AWS IAM account ID of the service mesh owner. If the account ID is
|
736
|
+
# not your own, then the account that you specify must share the mesh
|
737
|
+
# with your account before you can create the resource in the service
|
738
|
+
# mesh. For more information about mesh sharing, see [Working with
|
739
|
+
# Shared Meshes][1].
|
740
|
+
#
|
741
|
+
#
|
742
|
+
#
|
743
|
+
# [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
|
744
|
+
#
|
658
745
|
# @option params [required, Types::VirtualNodeSpec] :spec
|
659
746
|
# The virtual node specification to apply.
|
660
747
|
#
|
@@ -677,6 +764,7 @@ module Aws::AppMesh
|
|
677
764
|
# resp = client.create_virtual_node({
|
678
765
|
# client_token: "String",
|
679
766
|
# mesh_name: "ResourceName", # required
|
767
|
+
# mesh_owner: "AccountId",
|
680
768
|
# spec: { # required
|
681
769
|
# backend_defaults: {
|
682
770
|
# client_policy: {
|
@@ -786,6 +874,8 @@ module Aws::AppMesh
|
|
786
874
|
# resp.virtual_node.metadata.arn #=> String
|
787
875
|
# resp.virtual_node.metadata.created_at #=> Time
|
788
876
|
# resp.virtual_node.metadata.last_updated_at #=> Time
|
877
|
+
# resp.virtual_node.metadata.mesh_owner #=> String
|
878
|
+
# resp.virtual_node.metadata.resource_owner #=> String
|
789
879
|
# resp.virtual_node.metadata.uid #=> String
|
790
880
|
# resp.virtual_node.metadata.version #=> Integer
|
791
881
|
# resp.virtual_node.spec.backend_defaults.client_policy.tls.enforce #=> Boolean
|
@@ -837,19 +927,18 @@ module Aws::AppMesh
|
|
837
927
|
|
838
928
|
# Creates a virtual router within a service mesh.
|
839
929
|
#
|
840
|
-
#
|
841
|
-
#
|
842
|
-
#
|
843
|
-
#
|
844
|
-
#
|
845
|
-
#
|
846
|
-
# different virtual nodes.
|
930
|
+
# Specify a `listener` for any inbound traffic that your virtual router
|
931
|
+
# receives. Create a virtual router for each protocol and port that you
|
932
|
+
# need to route. Virtual routers handle traffic for one or more virtual
|
933
|
+
# services within your mesh. After you create your virtual router,
|
934
|
+
# create and associate routes for your virtual router that direct
|
935
|
+
# incoming requests to different virtual nodes.
|
847
936
|
#
|
848
|
-
# For more information about virtual routers, see [Virtual
|
937
|
+
# For more information about virtual routers, see [Virtual routers][1].
|
849
938
|
#
|
850
939
|
#
|
851
940
|
#
|
852
|
-
# [1]: https://docs.aws.amazon.com
|
941
|
+
# [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_routers.html
|
853
942
|
#
|
854
943
|
# @option params [String] :client_token
|
855
944
|
# Unique, case-sensitive identifier that you provide to ensure the
|
@@ -862,6 +951,17 @@ module Aws::AppMesh
|
|
862
951
|
# @option params [required, String] :mesh_name
|
863
952
|
# The name of the service mesh to create the virtual router in.
|
864
953
|
#
|
954
|
+
# @option params [String] :mesh_owner
|
955
|
+
# The AWS IAM account ID of the service mesh owner. If the account ID is
|
956
|
+
# not your own, then the account that you specify must share the mesh
|
957
|
+
# with your account before you can create the resource in the service
|
958
|
+
# mesh. For more information about mesh sharing, see [Working with
|
959
|
+
# Shared Meshes][1].
|
960
|
+
#
|
961
|
+
#
|
962
|
+
#
|
963
|
+
# [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
|
964
|
+
#
|
865
965
|
# @option params [required, Types::VirtualRouterSpec] :spec
|
866
966
|
# The virtual router specification to apply.
|
867
967
|
#
|
@@ -884,6 +984,7 @@ module Aws::AppMesh
|
|
884
984
|
# resp = client.create_virtual_router({
|
885
985
|
# client_token: "String",
|
886
986
|
# mesh_name: "ResourceName", # required
|
987
|
+
# mesh_owner: "AccountId",
|
887
988
|
# spec: { # required
|
888
989
|
# listeners: [
|
889
990
|
# {
|
@@ -909,6 +1010,8 @@ module Aws::AppMesh
|
|
909
1010
|
# resp.virtual_router.metadata.arn #=> String
|
910
1011
|
# resp.virtual_router.metadata.created_at #=> Time
|
911
1012
|
# resp.virtual_router.metadata.last_updated_at #=> Time
|
1013
|
+
# resp.virtual_router.metadata.mesh_owner #=> String
|
1014
|
+
# resp.virtual_router.metadata.resource_owner #=> String
|
912
1015
|
# resp.virtual_router.metadata.uid #=> String
|
913
1016
|
# resp.virtual_router.metadata.version #=> Integer
|
914
1017
|
# resp.virtual_router.spec.listeners #=> Array
|
@@ -936,11 +1039,11 @@ module Aws::AppMesh
|
|
936
1039
|
# virtual service.
|
937
1040
|
#
|
938
1041
|
# For more information about virtual services, see [Virtual
|
939
|
-
#
|
1042
|
+
# services][1].
|
940
1043
|
#
|
941
1044
|
#
|
942
1045
|
#
|
943
|
-
# [1]: https://docs.aws.amazon.com
|
1046
|
+
# [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_services.html
|
944
1047
|
#
|
945
1048
|
# @option params [String] :client_token
|
946
1049
|
# Unique, case-sensitive identifier that you provide to ensure the
|
@@ -953,6 +1056,17 @@ module Aws::AppMesh
|
|
953
1056
|
# @option params [required, String] :mesh_name
|
954
1057
|
# The name of the service mesh to create the virtual service in.
|
955
1058
|
#
|
1059
|
+
# @option params [String] :mesh_owner
|
1060
|
+
# The AWS IAM account ID of the service mesh owner. If the account ID is
|
1061
|
+
# not your own, then the account that you specify must share the mesh
|
1062
|
+
# with your account before you can create the resource in the service
|
1063
|
+
# mesh. For more information about mesh sharing, see [Working with
|
1064
|
+
# Shared Meshes][1].
|
1065
|
+
#
|
1066
|
+
#
|
1067
|
+
#
|
1068
|
+
# [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
|
1069
|
+
#
|
956
1070
|
# @option params [required, Types::VirtualServiceSpec] :spec
|
957
1071
|
# The virtual service specification to apply.
|
958
1072
|
#
|
@@ -975,6 +1089,7 @@ module Aws::AppMesh
|
|
975
1089
|
# resp = client.create_virtual_service({
|
976
1090
|
# client_token: "String",
|
977
1091
|
# mesh_name: "ResourceName", # required
|
1092
|
+
# mesh_owner: "AccountId",
|
978
1093
|
# spec: { # required
|
979
1094
|
# provider: {
|
980
1095
|
# virtual_node: {
|
@@ -1000,6 +1115,8 @@ module Aws::AppMesh
|
|
1000
1115
|
# resp.virtual_service.metadata.arn #=> String
|
1001
1116
|
# resp.virtual_service.metadata.created_at #=> Time
|
1002
1117
|
# resp.virtual_service.metadata.last_updated_at #=> Time
|
1118
|
+
# resp.virtual_service.metadata.mesh_owner #=> String
|
1119
|
+
# resp.virtual_service.metadata.resource_owner #=> String
|
1003
1120
|
# resp.virtual_service.metadata.uid #=> String
|
1004
1121
|
# resp.virtual_service.metadata.version #=> Integer
|
1005
1122
|
# resp.virtual_service.spec.provider.virtual_node.virtual_node_name #=> String
|
@@ -1041,6 +1158,8 @@ module Aws::AppMesh
|
|
1041
1158
|
# resp.mesh.metadata.arn #=> String
|
1042
1159
|
# resp.mesh.metadata.created_at #=> Time
|
1043
1160
|
# resp.mesh.metadata.last_updated_at #=> Time
|
1161
|
+
# resp.mesh.metadata.mesh_owner #=> String
|
1162
|
+
# resp.mesh.metadata.resource_owner #=> String
|
1044
1163
|
# resp.mesh.metadata.uid #=> String
|
1045
1164
|
# resp.mesh.metadata.version #=> Integer
|
1046
1165
|
# resp.mesh.spec.egress_filter.type #=> String, one of "ALLOW_ALL", "DROP_ALL"
|
@@ -1060,6 +1179,16 @@ module Aws::AppMesh
|
|
1060
1179
|
# @option params [required, String] :mesh_name
|
1061
1180
|
# The name of the service mesh to delete the route in.
|
1062
1181
|
#
|
1182
|
+
# @option params [String] :mesh_owner
|
1183
|
+
# The AWS IAM account ID of the service mesh owner. If the account ID is
|
1184
|
+
# not your own, then it's the ID of the account that shared the mesh
|
1185
|
+
# with your account. For more information about mesh sharing, see
|
1186
|
+
# [Working with Shared Meshes][1].
|
1187
|
+
#
|
1188
|
+
#
|
1189
|
+
#
|
1190
|
+
# [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
|
1191
|
+
#
|
1063
1192
|
# @option params [required, String] :route_name
|
1064
1193
|
# The name of the route to delete.
|
1065
1194
|
#
|
@@ -1074,6 +1203,7 @@ module Aws::AppMesh
|
|
1074
1203
|
#
|
1075
1204
|
# resp = client.delete_route({
|
1076
1205
|
# mesh_name: "ResourceName", # required
|
1206
|
+
# mesh_owner: "AccountId",
|
1077
1207
|
# route_name: "ResourceName", # required
|
1078
1208
|
# virtual_router_name: "ResourceName", # required
|
1079
1209
|
# })
|
@@ -1084,6 +1214,8 @@ module Aws::AppMesh
|
|
1084
1214
|
# resp.route.metadata.arn #=> String
|
1085
1215
|
# resp.route.metadata.created_at #=> Time
|
1086
1216
|
# resp.route.metadata.last_updated_at #=> Time
|
1217
|
+
# resp.route.metadata.mesh_owner #=> String
|
1218
|
+
# resp.route.metadata.resource_owner #=> String
|
1087
1219
|
# resp.route.metadata.uid #=> String
|
1088
1220
|
# resp.route.metadata.version #=> Integer
|
1089
1221
|
# resp.route.route_name #=> String
|
@@ -1178,6 +1310,16 @@ module Aws::AppMesh
|
|
1178
1310
|
# @option params [required, String] :mesh_name
|
1179
1311
|
# The name of the service mesh to delete the virtual node in.
|
1180
1312
|
#
|
1313
|
+
# @option params [String] :mesh_owner
|
1314
|
+
# The AWS IAM account ID of the service mesh owner. If the account ID is
|
1315
|
+
# not your own, then it's the ID of the account that shared the mesh
|
1316
|
+
# with your account. For more information about mesh sharing, see
|
1317
|
+
# [Working with Shared Meshes][1].
|
1318
|
+
#
|
1319
|
+
#
|
1320
|
+
#
|
1321
|
+
# [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
|
1322
|
+
#
|
1181
1323
|
# @option params [required, String] :virtual_node_name
|
1182
1324
|
# The name of the virtual node to delete.
|
1183
1325
|
#
|
@@ -1189,6 +1331,7 @@ module Aws::AppMesh
|
|
1189
1331
|
#
|
1190
1332
|
# resp = client.delete_virtual_node({
|
1191
1333
|
# mesh_name: "ResourceName", # required
|
1334
|
+
# mesh_owner: "AccountId",
|
1192
1335
|
# virtual_node_name: "ResourceName", # required
|
1193
1336
|
# })
|
1194
1337
|
#
|
@@ -1198,6 +1341,8 @@ module Aws::AppMesh
|
|
1198
1341
|
# resp.virtual_node.metadata.arn #=> String
|
1199
1342
|
# resp.virtual_node.metadata.created_at #=> Time
|
1200
1343
|
# resp.virtual_node.metadata.last_updated_at #=> Time
|
1344
|
+
# resp.virtual_node.metadata.mesh_owner #=> String
|
1345
|
+
# resp.virtual_node.metadata.resource_owner #=> String
|
1201
1346
|
# resp.virtual_node.metadata.uid #=> String
|
1202
1347
|
# resp.virtual_node.metadata.version #=> Integer
|
1203
1348
|
# resp.virtual_node.spec.backend_defaults.client_policy.tls.enforce #=> Boolean
|
@@ -1255,6 +1400,16 @@ module Aws::AppMesh
|
|
1255
1400
|
# @option params [required, String] :mesh_name
|
1256
1401
|
# The name of the service mesh to delete the virtual router in.
|
1257
1402
|
#
|
1403
|
+
# @option params [String] :mesh_owner
|
1404
|
+
# The AWS IAM account ID of the service mesh owner. If the account ID is
|
1405
|
+
# not your own, then it's the ID of the account that shared the mesh
|
1406
|
+
# with your account. For more information about mesh sharing, see
|
1407
|
+
# [Working with Shared Meshes][1].
|
1408
|
+
#
|
1409
|
+
#
|
1410
|
+
#
|
1411
|
+
# [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
|
1412
|
+
#
|
1258
1413
|
# @option params [required, String] :virtual_router_name
|
1259
1414
|
# The name of the virtual router to delete.
|
1260
1415
|
#
|
@@ -1266,6 +1421,7 @@ module Aws::AppMesh
|
|
1266
1421
|
#
|
1267
1422
|
# resp = client.delete_virtual_router({
|
1268
1423
|
# mesh_name: "ResourceName", # required
|
1424
|
+
# mesh_owner: "AccountId",
|
1269
1425
|
# virtual_router_name: "ResourceName", # required
|
1270
1426
|
# })
|
1271
1427
|
#
|
@@ -1275,6 +1431,8 @@ module Aws::AppMesh
|
|
1275
1431
|
# resp.virtual_router.metadata.arn #=> String
|
1276
1432
|
# resp.virtual_router.metadata.created_at #=> Time
|
1277
1433
|
# resp.virtual_router.metadata.last_updated_at #=> Time
|
1434
|
+
# resp.virtual_router.metadata.mesh_owner #=> String
|
1435
|
+
# resp.virtual_router.metadata.resource_owner #=> String
|
1278
1436
|
# resp.virtual_router.metadata.uid #=> String
|
1279
1437
|
# resp.virtual_router.metadata.version #=> Integer
|
1280
1438
|
# resp.virtual_router.spec.listeners #=> Array
|
@@ -1297,6 +1455,16 @@ module Aws::AppMesh
|
|
1297
1455
|
# @option params [required, String] :mesh_name
|
1298
1456
|
# The name of the service mesh to delete the virtual service in.
|
1299
1457
|
#
|
1458
|
+
# @option params [String] :mesh_owner
|
1459
|
+
# The AWS IAM account ID of the service mesh owner. If the account ID is
|
1460
|
+
# not your own, then it's the ID of the account that shared the mesh
|
1461
|
+
# with your account. For more information about mesh sharing, see
|
1462
|
+
# [Working with Shared Meshes][1].
|
1463
|
+
#
|
1464
|
+
#
|
1465
|
+
#
|
1466
|
+
# [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
|
1467
|
+
#
|
1300
1468
|
# @option params [required, String] :virtual_service_name
|
1301
1469
|
# The name of the virtual service to delete.
|
1302
1470
|
#
|
@@ -1308,6 +1476,7 @@ module Aws::AppMesh
|
|
1308
1476
|
#
|
1309
1477
|
# resp = client.delete_virtual_service({
|
1310
1478
|
# mesh_name: "ResourceName", # required
|
1479
|
+
# mesh_owner: "AccountId",
|
1311
1480
|
# virtual_service_name: "ServiceName", # required
|
1312
1481
|
# })
|
1313
1482
|
#
|
@@ -1317,6 +1486,8 @@ module Aws::AppMesh
|
|
1317
1486
|
# resp.virtual_service.metadata.arn #=> String
|
1318
1487
|
# resp.virtual_service.metadata.created_at #=> Time
|
1319
1488
|
# resp.virtual_service.metadata.last_updated_at #=> Time
|
1489
|
+
# resp.virtual_service.metadata.mesh_owner #=> String
|
1490
|
+
# resp.virtual_service.metadata.resource_owner #=> String
|
1320
1491
|
# resp.virtual_service.metadata.uid #=> String
|
1321
1492
|
# resp.virtual_service.metadata.version #=> Integer
|
1322
1493
|
# resp.virtual_service.spec.provider.virtual_node.virtual_node_name #=> String
|
@@ -1338,6 +1509,16 @@ module Aws::AppMesh
|
|
1338
1509
|
# @option params [required, String] :mesh_name
|
1339
1510
|
# The name of the service mesh to describe.
|
1340
1511
|
#
|
1512
|
+
# @option params [String] :mesh_owner
|
1513
|
+
# The AWS IAM account ID of the service mesh owner. If the account ID is
|
1514
|
+
# not your own, then it's the ID of the account that shared the mesh
|
1515
|
+
# with your account. For more information about mesh sharing, see
|
1516
|
+
# [Working with Shared Meshes][1].
|
1517
|
+
#
|
1518
|
+
#
|
1519
|
+
#
|
1520
|
+
# [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
|
1521
|
+
#
|
1341
1522
|
# @return [Types::DescribeMeshOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1342
1523
|
#
|
1343
1524
|
# * {Types::DescribeMeshOutput#mesh #mesh} => Types::MeshData
|
@@ -1346,6 +1527,7 @@ module Aws::AppMesh
|
|
1346
1527
|
#
|
1347
1528
|
# resp = client.describe_mesh({
|
1348
1529
|
# mesh_name: "ResourceName", # required
|
1530
|
+
# mesh_owner: "AccountId",
|
1349
1531
|
# })
|
1350
1532
|
#
|
1351
1533
|
# @example Response structure
|
@@ -1354,6 +1536,8 @@ module Aws::AppMesh
|
|
1354
1536
|
# resp.mesh.metadata.arn #=> String
|
1355
1537
|
# resp.mesh.metadata.created_at #=> Time
|
1356
1538
|
# resp.mesh.metadata.last_updated_at #=> Time
|
1539
|
+
# resp.mesh.metadata.mesh_owner #=> String
|
1540
|
+
# resp.mesh.metadata.resource_owner #=> String
|
1357
1541
|
# resp.mesh.metadata.uid #=> String
|
1358
1542
|
# resp.mesh.metadata.version #=> Integer
|
1359
1543
|
# resp.mesh.spec.egress_filter.type #=> String, one of "ALLOW_ALL", "DROP_ALL"
|
@@ -1373,6 +1557,16 @@ module Aws::AppMesh
|
|
1373
1557
|
# @option params [required, String] :mesh_name
|
1374
1558
|
# The name of the service mesh that the route resides in.
|
1375
1559
|
#
|
1560
|
+
# @option params [String] :mesh_owner
|
1561
|
+
# The AWS IAM account ID of the service mesh owner. If the account ID is
|
1562
|
+
# not your own, then it's the ID of the account that shared the mesh
|
1563
|
+
# with your account. For more information about mesh sharing, see
|
1564
|
+
# [Working with Shared Meshes][1].
|
1565
|
+
#
|
1566
|
+
#
|
1567
|
+
#
|
1568
|
+
# [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
|
1569
|
+
#
|
1376
1570
|
# @option params [required, String] :route_name
|
1377
1571
|
# The name of the route to describe.
|
1378
1572
|
#
|
@@ -1387,6 +1581,7 @@ module Aws::AppMesh
|
|
1387
1581
|
#
|
1388
1582
|
# resp = client.describe_route({
|
1389
1583
|
# mesh_name: "ResourceName", # required
|
1584
|
+
# mesh_owner: "AccountId",
|
1390
1585
|
# route_name: "ResourceName", # required
|
1391
1586
|
# virtual_router_name: "ResourceName", # required
|
1392
1587
|
# })
|
@@ -1397,6 +1592,8 @@ module Aws::AppMesh
|
|
1397
1592
|
# resp.route.metadata.arn #=> String
|
1398
1593
|
# resp.route.metadata.created_at #=> Time
|
1399
1594
|
# resp.route.metadata.last_updated_at #=> Time
|
1595
|
+
# resp.route.metadata.mesh_owner #=> String
|
1596
|
+
# resp.route.metadata.resource_owner #=> String
|
1400
1597
|
# resp.route.metadata.uid #=> String
|
1401
1598
|
# resp.route.metadata.version #=> Integer
|
1402
1599
|
# resp.route.route_name #=> String
|
@@ -1488,6 +1685,16 @@ module Aws::AppMesh
|
|
1488
1685
|
# @option params [required, String] :mesh_name
|
1489
1686
|
# The name of the service mesh that the virtual node resides in.
|
1490
1687
|
#
|
1688
|
+
# @option params [String] :mesh_owner
|
1689
|
+
# The AWS IAM account ID of the service mesh owner. If the account ID is
|
1690
|
+
# not your own, then it's the ID of the account that shared the mesh
|
1691
|
+
# with your account. For more information about mesh sharing, see
|
1692
|
+
# [Working with Shared Meshes][1].
|
1693
|
+
#
|
1694
|
+
#
|
1695
|
+
#
|
1696
|
+
# [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
|
1697
|
+
#
|
1491
1698
|
# @option params [required, String] :virtual_node_name
|
1492
1699
|
# The name of the virtual node to describe.
|
1493
1700
|
#
|
@@ -1499,6 +1706,7 @@ module Aws::AppMesh
|
|
1499
1706
|
#
|
1500
1707
|
# resp = client.describe_virtual_node({
|
1501
1708
|
# mesh_name: "ResourceName", # required
|
1709
|
+
# mesh_owner: "AccountId",
|
1502
1710
|
# virtual_node_name: "ResourceName", # required
|
1503
1711
|
# })
|
1504
1712
|
#
|
@@ -1508,6 +1716,8 @@ module Aws::AppMesh
|
|
1508
1716
|
# resp.virtual_node.metadata.arn #=> String
|
1509
1717
|
# resp.virtual_node.metadata.created_at #=> Time
|
1510
1718
|
# resp.virtual_node.metadata.last_updated_at #=> Time
|
1719
|
+
# resp.virtual_node.metadata.mesh_owner #=> String
|
1720
|
+
# resp.virtual_node.metadata.resource_owner #=> String
|
1511
1721
|
# resp.virtual_node.metadata.uid #=> String
|
1512
1722
|
# resp.virtual_node.metadata.version #=> Integer
|
1513
1723
|
# resp.virtual_node.spec.backend_defaults.client_policy.tls.enforce #=> Boolean
|
@@ -1562,6 +1772,16 @@ module Aws::AppMesh
|
|
1562
1772
|
# @option params [required, String] :mesh_name
|
1563
1773
|
# The name of the service mesh that the virtual router resides in.
|
1564
1774
|
#
|
1775
|
+
# @option params [String] :mesh_owner
|
1776
|
+
# The AWS IAM account ID of the service mesh owner. If the account ID is
|
1777
|
+
# not your own, then it's the ID of the account that shared the mesh
|
1778
|
+
# with your account. For more information about mesh sharing, see
|
1779
|
+
# [Working with Shared Meshes][1].
|
1780
|
+
#
|
1781
|
+
#
|
1782
|
+
#
|
1783
|
+
# [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
|
1784
|
+
#
|
1565
1785
|
# @option params [required, String] :virtual_router_name
|
1566
1786
|
# The name of the virtual router to describe.
|
1567
1787
|
#
|
@@ -1573,6 +1793,7 @@ module Aws::AppMesh
|
|
1573
1793
|
#
|
1574
1794
|
# resp = client.describe_virtual_router({
|
1575
1795
|
# mesh_name: "ResourceName", # required
|
1796
|
+
# mesh_owner: "AccountId",
|
1576
1797
|
# virtual_router_name: "ResourceName", # required
|
1577
1798
|
# })
|
1578
1799
|
#
|
@@ -1582,6 +1803,8 @@ module Aws::AppMesh
|
|
1582
1803
|
# resp.virtual_router.metadata.arn #=> String
|
1583
1804
|
# resp.virtual_router.metadata.created_at #=> Time
|
1584
1805
|
# resp.virtual_router.metadata.last_updated_at #=> Time
|
1806
|
+
# resp.virtual_router.metadata.mesh_owner #=> String
|
1807
|
+
# resp.virtual_router.metadata.resource_owner #=> String
|
1585
1808
|
# resp.virtual_router.metadata.uid #=> String
|
1586
1809
|
# resp.virtual_router.metadata.version #=> Integer
|
1587
1810
|
# resp.virtual_router.spec.listeners #=> Array
|
@@ -1604,6 +1827,16 @@ module Aws::AppMesh
|
|
1604
1827
|
# @option params [required, String] :mesh_name
|
1605
1828
|
# The name of the service mesh that the virtual service resides in.
|
1606
1829
|
#
|
1830
|
+
# @option params [String] :mesh_owner
|
1831
|
+
# The AWS IAM account ID of the service mesh owner. If the account ID is
|
1832
|
+
# not your own, then it's the ID of the account that shared the mesh
|
1833
|
+
# with your account. For more information about mesh sharing, see
|
1834
|
+
# [Working with Shared Meshes][1].
|
1835
|
+
#
|
1836
|
+
#
|
1837
|
+
#
|
1838
|
+
# [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
|
1839
|
+
#
|
1607
1840
|
# @option params [required, String] :virtual_service_name
|
1608
1841
|
# The name of the virtual service to describe.
|
1609
1842
|
#
|
@@ -1615,6 +1848,7 @@ module Aws::AppMesh
|
|
1615
1848
|
#
|
1616
1849
|
# resp = client.describe_virtual_service({
|
1617
1850
|
# mesh_name: "ResourceName", # required
|
1851
|
+
# mesh_owner: "AccountId",
|
1618
1852
|
# virtual_service_name: "ServiceName", # required
|
1619
1853
|
# })
|
1620
1854
|
#
|
@@ -1624,6 +1858,8 @@ module Aws::AppMesh
|
|
1624
1858
|
# resp.virtual_service.metadata.arn #=> String
|
1625
1859
|
# resp.virtual_service.metadata.created_at #=> Time
|
1626
1860
|
# resp.virtual_service.metadata.last_updated_at #=> Time
|
1861
|
+
# resp.virtual_service.metadata.mesh_owner #=> String
|
1862
|
+
# resp.virtual_service.metadata.resource_owner #=> String
|
1627
1863
|
# resp.virtual_service.metadata.uid #=> String
|
1628
1864
|
# resp.virtual_service.metadata.version #=> Integer
|
1629
1865
|
# resp.virtual_service.spec.provider.virtual_node.virtual_node_name #=> String
|
@@ -1669,6 +1905,8 @@ module Aws::AppMesh
|
|
1669
1905
|
# * {Types::ListMeshesOutput#meshes #meshes} => Array<Types::MeshRef>
|
1670
1906
|
# * {Types::ListMeshesOutput#next_token #next_token} => String
|
1671
1907
|
#
|
1908
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1909
|
+
#
|
1672
1910
|
# @example Request syntax with placeholder values
|
1673
1911
|
#
|
1674
1912
|
# resp = client.list_meshes({
|
@@ -1680,7 +1918,12 @@ module Aws::AppMesh
|
|
1680
1918
|
#
|
1681
1919
|
# resp.meshes #=> Array
|
1682
1920
|
# resp.meshes[0].arn #=> String
|
1921
|
+
# resp.meshes[0].created_at #=> Time
|
1922
|
+
# resp.meshes[0].last_updated_at #=> Time
|
1683
1923
|
# resp.meshes[0].mesh_name #=> String
|
1924
|
+
# resp.meshes[0].mesh_owner #=> String
|
1925
|
+
# resp.meshes[0].resource_owner #=> String
|
1926
|
+
# resp.meshes[0].version #=> Integer
|
1684
1927
|
# resp.next_token #=> String
|
1685
1928
|
#
|
1686
1929
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListMeshes AWS API Documentation
|
@@ -1707,6 +1950,16 @@ module Aws::AppMesh
|
|
1707
1950
|
# @option params [required, String] :mesh_name
|
1708
1951
|
# The name of the service mesh to list routes in.
|
1709
1952
|
#
|
1953
|
+
# @option params [String] :mesh_owner
|
1954
|
+
# The AWS IAM account ID of the service mesh owner. If the account ID is
|
1955
|
+
# not your own, then it's the ID of the account that shared the mesh
|
1956
|
+
# with your account. For more information about mesh sharing, see
|
1957
|
+
# [Working with Shared Meshes][1].
|
1958
|
+
#
|
1959
|
+
#
|
1960
|
+
#
|
1961
|
+
# [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
|
1962
|
+
#
|
1710
1963
|
# @option params [String] :next_token
|
1711
1964
|
# The `nextToken` value returned from a previous paginated `ListRoutes`
|
1712
1965
|
# request where `limit` was used and the results exceeded the value of
|
@@ -1721,11 +1974,14 @@ module Aws::AppMesh
|
|
1721
1974
|
# * {Types::ListRoutesOutput#next_token #next_token} => String
|
1722
1975
|
# * {Types::ListRoutesOutput#routes #routes} => Array<Types::RouteRef>
|
1723
1976
|
#
|
1977
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1978
|
+
#
|
1724
1979
|
# @example Request syntax with placeholder values
|
1725
1980
|
#
|
1726
1981
|
# resp = client.list_routes({
|
1727
1982
|
# limit: 1,
|
1728
1983
|
# mesh_name: "ResourceName", # required
|
1984
|
+
# mesh_owner: "AccountId",
|
1729
1985
|
# next_token: "String",
|
1730
1986
|
# virtual_router_name: "ResourceName", # required
|
1731
1987
|
# })
|
@@ -1735,8 +1991,13 @@ module Aws::AppMesh
|
|
1735
1991
|
# resp.next_token #=> String
|
1736
1992
|
# resp.routes #=> Array
|
1737
1993
|
# resp.routes[0].arn #=> String
|
1994
|
+
# resp.routes[0].created_at #=> Time
|
1995
|
+
# resp.routes[0].last_updated_at #=> Time
|
1738
1996
|
# resp.routes[0].mesh_name #=> String
|
1997
|
+
# resp.routes[0].mesh_owner #=> String
|
1998
|
+
# resp.routes[0].resource_owner #=> String
|
1739
1999
|
# resp.routes[0].route_name #=> String
|
2000
|
+
# resp.routes[0].version #=> Integer
|
1740
2001
|
# resp.routes[0].virtual_router_name #=> String
|
1741
2002
|
#
|
1742
2003
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListRoutes AWS API Documentation
|
@@ -1775,6 +2036,8 @@ module Aws::AppMesh
|
|
1775
2036
|
# * {Types::ListTagsForResourceOutput#next_token #next_token} => String
|
1776
2037
|
# * {Types::ListTagsForResourceOutput#tags #tags} => Array<Types::TagRef>
|
1777
2038
|
#
|
2039
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2040
|
+
#
|
1778
2041
|
# @example Request syntax with placeholder values
|
1779
2042
|
#
|
1780
2043
|
# resp = client.list_tags_for_resource({
|
@@ -1814,6 +2077,16 @@ module Aws::AppMesh
|
|
1814
2077
|
# @option params [required, String] :mesh_name
|
1815
2078
|
# The name of the service mesh to list virtual nodes in.
|
1816
2079
|
#
|
2080
|
+
# @option params [String] :mesh_owner
|
2081
|
+
# The AWS IAM account ID of the service mesh owner. If the account ID is
|
2082
|
+
# not your own, then it's the ID of the account that shared the mesh
|
2083
|
+
# with your account. For more information about mesh sharing, see
|
2084
|
+
# [Working with Shared Meshes][1].
|
2085
|
+
#
|
2086
|
+
#
|
2087
|
+
#
|
2088
|
+
# [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
|
2089
|
+
#
|
1817
2090
|
# @option params [String] :next_token
|
1818
2091
|
# The `nextToken` value returned from a previous paginated
|
1819
2092
|
# `ListVirtualNodes` request where `limit` was used and the results
|
@@ -1825,11 +2098,14 @@ module Aws::AppMesh
|
|
1825
2098
|
# * {Types::ListVirtualNodesOutput#next_token #next_token} => String
|
1826
2099
|
# * {Types::ListVirtualNodesOutput#virtual_nodes #virtual_nodes} => Array<Types::VirtualNodeRef>
|
1827
2100
|
#
|
2101
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2102
|
+
#
|
1828
2103
|
# @example Request syntax with placeholder values
|
1829
2104
|
#
|
1830
2105
|
# resp = client.list_virtual_nodes({
|
1831
2106
|
# limit: 1,
|
1832
2107
|
# mesh_name: "ResourceName", # required
|
2108
|
+
# mesh_owner: "AccountId",
|
1833
2109
|
# next_token: "String",
|
1834
2110
|
# })
|
1835
2111
|
#
|
@@ -1838,7 +2114,12 @@ module Aws::AppMesh
|
|
1838
2114
|
# resp.next_token #=> String
|
1839
2115
|
# resp.virtual_nodes #=> Array
|
1840
2116
|
# resp.virtual_nodes[0].arn #=> String
|
2117
|
+
# resp.virtual_nodes[0].created_at #=> Time
|
2118
|
+
# resp.virtual_nodes[0].last_updated_at #=> Time
|
1841
2119
|
# resp.virtual_nodes[0].mesh_name #=> String
|
2120
|
+
# resp.virtual_nodes[0].mesh_owner #=> String
|
2121
|
+
# resp.virtual_nodes[0].resource_owner #=> String
|
2122
|
+
# resp.virtual_nodes[0].version #=> Integer
|
1842
2123
|
# resp.virtual_nodes[0].virtual_node_name #=> String
|
1843
2124
|
#
|
1844
2125
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualNodes AWS API Documentation
|
@@ -1865,6 +2146,16 @@ module Aws::AppMesh
|
|
1865
2146
|
# @option params [required, String] :mesh_name
|
1866
2147
|
# The name of the service mesh to list virtual routers in.
|
1867
2148
|
#
|
2149
|
+
# @option params [String] :mesh_owner
|
2150
|
+
# The AWS IAM account ID of the service mesh owner. If the account ID is
|
2151
|
+
# not your own, then it's the ID of the account that shared the mesh
|
2152
|
+
# with your account. For more information about mesh sharing, see
|
2153
|
+
# [Working with Shared Meshes][1].
|
2154
|
+
#
|
2155
|
+
#
|
2156
|
+
#
|
2157
|
+
# [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
|
2158
|
+
#
|
1868
2159
|
# @option params [String] :next_token
|
1869
2160
|
# The `nextToken` value returned from a previous paginated
|
1870
2161
|
# `ListVirtualRouters` request where `limit` was used and the results
|
@@ -1876,11 +2167,14 @@ module Aws::AppMesh
|
|
1876
2167
|
# * {Types::ListVirtualRoutersOutput#next_token #next_token} => String
|
1877
2168
|
# * {Types::ListVirtualRoutersOutput#virtual_routers #virtual_routers} => Array<Types::VirtualRouterRef>
|
1878
2169
|
#
|
2170
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2171
|
+
#
|
1879
2172
|
# @example Request syntax with placeholder values
|
1880
2173
|
#
|
1881
2174
|
# resp = client.list_virtual_routers({
|
1882
2175
|
# limit: 1,
|
1883
2176
|
# mesh_name: "ResourceName", # required
|
2177
|
+
# mesh_owner: "AccountId",
|
1884
2178
|
# next_token: "String",
|
1885
2179
|
# })
|
1886
2180
|
#
|
@@ -1889,7 +2183,12 @@ module Aws::AppMesh
|
|
1889
2183
|
# resp.next_token #=> String
|
1890
2184
|
# resp.virtual_routers #=> Array
|
1891
2185
|
# resp.virtual_routers[0].arn #=> String
|
2186
|
+
# resp.virtual_routers[0].created_at #=> Time
|
2187
|
+
# resp.virtual_routers[0].last_updated_at #=> Time
|
1892
2188
|
# resp.virtual_routers[0].mesh_name #=> String
|
2189
|
+
# resp.virtual_routers[0].mesh_owner #=> String
|
2190
|
+
# resp.virtual_routers[0].resource_owner #=> String
|
2191
|
+
# resp.virtual_routers[0].version #=> Integer
|
1893
2192
|
# resp.virtual_routers[0].virtual_router_name #=> String
|
1894
2193
|
#
|
1895
2194
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualRouters AWS API Documentation
|
@@ -1916,6 +2215,16 @@ module Aws::AppMesh
|
|
1916
2215
|
# @option params [required, String] :mesh_name
|
1917
2216
|
# The name of the service mesh to list virtual services in.
|
1918
2217
|
#
|
2218
|
+
# @option params [String] :mesh_owner
|
2219
|
+
# The AWS IAM account ID of the service mesh owner. If the account ID is
|
2220
|
+
# not your own, then it's the ID of the account that shared the mesh
|
2221
|
+
# with your account. For more information about mesh sharing, see
|
2222
|
+
# [Working with Shared Meshes][1].
|
2223
|
+
#
|
2224
|
+
#
|
2225
|
+
#
|
2226
|
+
# [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
|
2227
|
+
#
|
1919
2228
|
# @option params [String] :next_token
|
1920
2229
|
# The `nextToken` value returned from a previous paginated
|
1921
2230
|
# `ListVirtualServices` request where `limit` was used and the results
|
@@ -1927,11 +2236,14 @@ module Aws::AppMesh
|
|
1927
2236
|
# * {Types::ListVirtualServicesOutput#next_token #next_token} => String
|
1928
2237
|
# * {Types::ListVirtualServicesOutput#virtual_services #virtual_services} => Array<Types::VirtualServiceRef>
|
1929
2238
|
#
|
2239
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2240
|
+
#
|
1930
2241
|
# @example Request syntax with placeholder values
|
1931
2242
|
#
|
1932
2243
|
# resp = client.list_virtual_services({
|
1933
2244
|
# limit: 1,
|
1934
2245
|
# mesh_name: "ResourceName", # required
|
2246
|
+
# mesh_owner: "AccountId",
|
1935
2247
|
# next_token: "String",
|
1936
2248
|
# })
|
1937
2249
|
#
|
@@ -1940,7 +2252,12 @@ module Aws::AppMesh
|
|
1940
2252
|
# resp.next_token #=> String
|
1941
2253
|
# resp.virtual_services #=> Array
|
1942
2254
|
# resp.virtual_services[0].arn #=> String
|
2255
|
+
# resp.virtual_services[0].created_at #=> Time
|
2256
|
+
# resp.virtual_services[0].last_updated_at #=> Time
|
1943
2257
|
# resp.virtual_services[0].mesh_name #=> String
|
2258
|
+
# resp.virtual_services[0].mesh_owner #=> String
|
2259
|
+
# resp.virtual_services[0].resource_owner #=> String
|
2260
|
+
# resp.virtual_services[0].version #=> Integer
|
1944
2261
|
# resp.virtual_services[0].virtual_service_name #=> String
|
1945
2262
|
#
|
1946
2263
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualServices AWS API Documentation
|
@@ -2052,6 +2369,8 @@ module Aws::AppMesh
|
|
2052
2369
|
# resp.mesh.metadata.arn #=> String
|
2053
2370
|
# resp.mesh.metadata.created_at #=> Time
|
2054
2371
|
# resp.mesh.metadata.last_updated_at #=> Time
|
2372
|
+
# resp.mesh.metadata.mesh_owner #=> String
|
2373
|
+
# resp.mesh.metadata.resource_owner #=> String
|
2055
2374
|
# resp.mesh.metadata.uid #=> String
|
2056
2375
|
# resp.mesh.metadata.version #=> Integer
|
2057
2376
|
# resp.mesh.spec.egress_filter.type #=> String, one of "ALLOW_ALL", "DROP_ALL"
|
@@ -2080,6 +2399,16 @@ module Aws::AppMesh
|
|
2080
2399
|
# @option params [required, String] :mesh_name
|
2081
2400
|
# The name of the service mesh that the route resides in.
|
2082
2401
|
#
|
2402
|
+
# @option params [String] :mesh_owner
|
2403
|
+
# The AWS IAM account ID of the service mesh owner. If the account ID is
|
2404
|
+
# not your own, then it's the ID of the account that shared the mesh
|
2405
|
+
# with your account. For more information about mesh sharing, see
|
2406
|
+
# [Working with Shared Meshes][1].
|
2407
|
+
#
|
2408
|
+
#
|
2409
|
+
#
|
2410
|
+
# [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
|
2411
|
+
#
|
2083
2412
|
# @option params [required, String] :route_name
|
2084
2413
|
# The name of the route to update.
|
2085
2414
|
#
|
@@ -2099,6 +2428,7 @@ module Aws::AppMesh
|
|
2099
2428
|
# resp = client.update_route({
|
2100
2429
|
# client_token: "String",
|
2101
2430
|
# mesh_name: "ResourceName", # required
|
2431
|
+
# mesh_owner: "AccountId",
|
2102
2432
|
# route_name: "ResourceName", # required
|
2103
2433
|
# spec: { # required
|
2104
2434
|
# grpc_route: {
|
@@ -2242,6 +2572,8 @@ module Aws::AppMesh
|
|
2242
2572
|
# resp.route.metadata.arn #=> String
|
2243
2573
|
# resp.route.metadata.created_at #=> Time
|
2244
2574
|
# resp.route.metadata.last_updated_at #=> Time
|
2575
|
+
# resp.route.metadata.mesh_owner #=> String
|
2576
|
+
# resp.route.metadata.resource_owner #=> String
|
2245
2577
|
# resp.route.metadata.uid #=> String
|
2246
2578
|
# resp.route.metadata.version #=> Integer
|
2247
2579
|
# resp.route.route_name #=> String
|
@@ -2341,6 +2673,16 @@ module Aws::AppMesh
|
|
2341
2673
|
# @option params [required, String] :mesh_name
|
2342
2674
|
# The name of the service mesh that the virtual node resides in.
|
2343
2675
|
#
|
2676
|
+
# @option params [String] :mesh_owner
|
2677
|
+
# The AWS IAM account ID of the service mesh owner. If the account ID is
|
2678
|
+
# not your own, then it's the ID of the account that shared the mesh
|
2679
|
+
# with your account. For more information about mesh sharing, see
|
2680
|
+
# [Working with Shared Meshes][1].
|
2681
|
+
#
|
2682
|
+
#
|
2683
|
+
#
|
2684
|
+
# [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
|
2685
|
+
#
|
2344
2686
|
# @option params [required, Types::VirtualNodeSpec] :spec
|
2345
2687
|
# The new virtual node specification to apply. This overwrites the
|
2346
2688
|
# existing data.
|
@@ -2357,6 +2699,7 @@ module Aws::AppMesh
|
|
2357
2699
|
# resp = client.update_virtual_node({
|
2358
2700
|
# client_token: "String",
|
2359
2701
|
# mesh_name: "ResourceName", # required
|
2702
|
+
# mesh_owner: "AccountId",
|
2360
2703
|
# spec: { # required
|
2361
2704
|
# backend_defaults: {
|
2362
2705
|
# client_policy: {
|
@@ -2460,6 +2803,8 @@ module Aws::AppMesh
|
|
2460
2803
|
# resp.virtual_node.metadata.arn #=> String
|
2461
2804
|
# resp.virtual_node.metadata.created_at #=> Time
|
2462
2805
|
# resp.virtual_node.metadata.last_updated_at #=> Time
|
2806
|
+
# resp.virtual_node.metadata.mesh_owner #=> String
|
2807
|
+
# resp.virtual_node.metadata.resource_owner #=> String
|
2463
2808
|
# resp.virtual_node.metadata.uid #=> String
|
2464
2809
|
# resp.virtual_node.metadata.version #=> Integer
|
2465
2810
|
# resp.virtual_node.spec.backend_defaults.client_policy.tls.enforce #=> Boolean
|
@@ -2522,6 +2867,16 @@ module Aws::AppMesh
|
|
2522
2867
|
# @option params [required, String] :mesh_name
|
2523
2868
|
# The name of the service mesh that the virtual router resides in.
|
2524
2869
|
#
|
2870
|
+
# @option params [String] :mesh_owner
|
2871
|
+
# The AWS IAM account ID of the service mesh owner. If the account ID is
|
2872
|
+
# not your own, then it's the ID of the account that shared the mesh
|
2873
|
+
# with your account. For more information about mesh sharing, see
|
2874
|
+
# [Working with Shared Meshes][1].
|
2875
|
+
#
|
2876
|
+
#
|
2877
|
+
#
|
2878
|
+
# [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
|
2879
|
+
#
|
2525
2880
|
# @option params [required, Types::VirtualRouterSpec] :spec
|
2526
2881
|
# The new virtual router specification to apply. This overwrites the
|
2527
2882
|
# existing data.
|
@@ -2538,6 +2893,7 @@ module Aws::AppMesh
|
|
2538
2893
|
# resp = client.update_virtual_router({
|
2539
2894
|
# client_token: "String",
|
2540
2895
|
# mesh_name: "ResourceName", # required
|
2896
|
+
# mesh_owner: "AccountId",
|
2541
2897
|
# spec: { # required
|
2542
2898
|
# listeners: [
|
2543
2899
|
# {
|
@@ -2557,6 +2913,8 @@ module Aws::AppMesh
|
|
2557
2913
|
# resp.virtual_router.metadata.arn #=> String
|
2558
2914
|
# resp.virtual_router.metadata.created_at #=> Time
|
2559
2915
|
# resp.virtual_router.metadata.last_updated_at #=> Time
|
2916
|
+
# resp.virtual_router.metadata.mesh_owner #=> String
|
2917
|
+
# resp.virtual_router.metadata.resource_owner #=> String
|
2560
2918
|
# resp.virtual_router.metadata.uid #=> String
|
2561
2919
|
# resp.virtual_router.metadata.version #=> Integer
|
2562
2920
|
# resp.virtual_router.spec.listeners #=> Array
|
@@ -2587,6 +2945,16 @@ module Aws::AppMesh
|
|
2587
2945
|
# @option params [required, String] :mesh_name
|
2588
2946
|
# The name of the service mesh that the virtual service resides in.
|
2589
2947
|
#
|
2948
|
+
# @option params [String] :mesh_owner
|
2949
|
+
# The AWS IAM account ID of the service mesh owner. If the account ID is
|
2950
|
+
# not your own, then it's the ID of the account that shared the mesh
|
2951
|
+
# with your account. For more information about mesh sharing, see
|
2952
|
+
# [Working with Shared Meshes][1].
|
2953
|
+
#
|
2954
|
+
#
|
2955
|
+
#
|
2956
|
+
# [1]: https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html
|
2957
|
+
#
|
2590
2958
|
# @option params [required, Types::VirtualServiceSpec] :spec
|
2591
2959
|
# The new virtual service specification to apply. This overwrites the
|
2592
2960
|
# existing data.
|
@@ -2603,6 +2971,7 @@ module Aws::AppMesh
|
|
2603
2971
|
# resp = client.update_virtual_service({
|
2604
2972
|
# client_token: "String",
|
2605
2973
|
# mesh_name: "ResourceName", # required
|
2974
|
+
# mesh_owner: "AccountId",
|
2606
2975
|
# spec: { # required
|
2607
2976
|
# provider: {
|
2608
2977
|
# virtual_node: {
|
@@ -2622,6 +2991,8 @@ module Aws::AppMesh
|
|
2622
2991
|
# resp.virtual_service.metadata.arn #=> String
|
2623
2992
|
# resp.virtual_service.metadata.created_at #=> Time
|
2624
2993
|
# resp.virtual_service.metadata.last_updated_at #=> Time
|
2994
|
+
# resp.virtual_service.metadata.mesh_owner #=> String
|
2995
|
+
# resp.virtual_service.metadata.resource_owner #=> String
|
2625
2996
|
# resp.virtual_service.metadata.uid #=> String
|
2626
2997
|
# resp.virtual_service.metadata.version #=> Integer
|
2627
2998
|
# resp.virtual_service.spec.provider.virtual_node.virtual_node_name #=> String
|
@@ -2651,7 +3022,7 @@ module Aws::AppMesh
|
|
2651
3022
|
params: params,
|
2652
3023
|
config: config)
|
2653
3024
|
context[:gem_name] = 'aws-sdk-appmesh'
|
2654
|
-
context[:gem_version] = '1.
|
3025
|
+
context[:gem_version] = '1.24.0'
|
2655
3026
|
Seahorse::Client::Request.new(handlers, context)
|
2656
3027
|
end
|
2657
3028
|
|