aws-sdk-synthetics 1.20.0 → 1.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-synthetics/client.rb +85 -7
- data/lib/aws-sdk-synthetics/client_api.rb +14 -0
- data/lib/aws-sdk-synthetics/errors.rb +16 -0
- data/lib/aws-sdk-synthetics/types.rb +61 -3
- data/lib/aws-sdk-synthetics.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef6c0f77e8ee3ee6e0721111a64ddc60ef13323bda6f551719276c94140baca1
|
4
|
+
data.tar.gz: b865b3fb7efde95a4fb7b1a8f10651f9f4a1552e46835897ebb2a8b7485b9068
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf4258a8aea33367df051252fbfb49d8329f8956dc4fe56033674c80f78ecf86315c4cf36a966158a4d7e3eb7ffd0bf2ed9b1eb74d16a9b70cb8800a8794e11e
|
7
|
+
data.tar.gz: bbbbf3d8949b7bbe08d41fb4e268e4865e524c638989a630192a1079b6bdb2d0878f218b0e65bda459ca428505102881ba6d5f64f8fe61fb63a629ae26771df0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.24.0 (2022-02-07)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adding names parameters to the Describe APIs.
|
8
|
+
|
9
|
+
1.23.0 (2022-02-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.22.0 (2021-12-21)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.21.0 (2021-11-30)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.20.0 (2021-11-04)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.24.0
|
@@ -27,6 +27,8 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
30
32
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
33
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
34
|
|
@@ -73,6 +75,8 @@ module Aws::Synthetics
|
|
73
75
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
76
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
77
|
add_plugin(Aws::Plugins::HttpChecksum)
|
78
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
79
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
76
80
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
81
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
78
82
|
|
@@ -119,7 +123,9 @@ module Aws::Synthetics
|
|
119
123
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
124
|
# are very aggressive. Construct and pass an instance of
|
121
125
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
126
|
+
# enable retries and extended timeouts. Instance profile credential
|
127
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
128
|
+
# to true.
|
123
129
|
#
|
124
130
|
# @option options [required, String] :region
|
125
131
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +179,10 @@ module Aws::Synthetics
|
|
173
179
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
180
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
181
|
#
|
182
|
+
# @option options [String] :defaults_mode ("legacy")
|
183
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
184
|
+
# accepted modes and the configuration defaults that are included.
|
185
|
+
#
|
176
186
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
187
|
# Set to true to disable SDK automatically adding host prefix
|
178
188
|
# to default service endpoint when available.
|
@@ -295,7 +305,7 @@ module Aws::Synthetics
|
|
295
305
|
# seconds to wait when opening a HTTP session before raising a
|
296
306
|
# `Timeout::Error`.
|
297
307
|
#
|
298
|
-
# @option options [
|
308
|
+
# @option options [Float] :http_read_timeout (60) The default
|
299
309
|
# number of seconds to wait for response data. This value can
|
300
310
|
# safely be set per-request on the session.
|
301
311
|
#
|
@@ -311,6 +321,9 @@ module Aws::Synthetics
|
|
311
321
|
# disables this behaviour. This value can safely be set per
|
312
322
|
# request on the session.
|
313
323
|
#
|
324
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
325
|
+
# in seconds.
|
326
|
+
#
|
314
327
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
315
328
|
# HTTP debug output will be sent to the `:logger`.
|
316
329
|
#
|
@@ -605,10 +618,21 @@ module Aws::Synthetics
|
|
605
618
|
# This operation returns a list of the canaries in your account, along
|
606
619
|
# with full details about each canary.
|
607
620
|
#
|
608
|
-
# This operation
|
609
|
-
#
|
610
|
-
#
|
611
|
-
#
|
621
|
+
# This operation supports resource-level authorization using an IAM
|
622
|
+
# policy and the `Names` parameter. If you specify the `Names`
|
623
|
+
# parameter, the operation is successful only if you have authorization
|
624
|
+
# to view all the canaries that you specify in your request. If you do
|
625
|
+
# not have permission to view any of the canaries, the request fails
|
626
|
+
# with a 403 response.
|
627
|
+
#
|
628
|
+
# You are required to use the `Names` parameter if you are logged on to
|
629
|
+
# a user or role that has an IAM policy that restricts which canaries
|
630
|
+
# that you are allowed to view. For more information, see [ Limiting a
|
631
|
+
# user to viewing specific canaries][1].
|
632
|
+
#
|
633
|
+
#
|
634
|
+
#
|
635
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Restricted.html
|
612
636
|
#
|
613
637
|
# @option params [String] :next_token
|
614
638
|
# A token that indicates that there is more data available. You can use
|
@@ -620,6 +644,24 @@ module Aws::Synthetics
|
|
620
644
|
# time you use the `DescribeCanaries` operation. If you omit this
|
621
645
|
# parameter, the default of 100 is used.
|
622
646
|
#
|
647
|
+
# @option params [Array<String>] :names
|
648
|
+
# Use this parameter to return only canaries that match the names that
|
649
|
+
# you specify here. You can specify as many as five canary names.
|
650
|
+
#
|
651
|
+
# If you specify this parameter, the operation is successful only if you
|
652
|
+
# have authorization to view all the canaries that you specify in your
|
653
|
+
# request. If you do not have permission to view any of the canaries,
|
654
|
+
# the request fails with a 403 response.
|
655
|
+
#
|
656
|
+
# You are required to use this parameter if you are logged on to a user
|
657
|
+
# or role that has an IAM policy that restricts which canaries that you
|
658
|
+
# are allowed to view. For more information, see [ Limiting a user to
|
659
|
+
# viewing specific canaries][1].
|
660
|
+
#
|
661
|
+
#
|
662
|
+
#
|
663
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Restricted.html
|
664
|
+
#
|
623
665
|
# @return [Types::DescribeCanariesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
624
666
|
#
|
625
667
|
# * {Types::DescribeCanariesResponse#canaries #canaries} => Array<Types::Canary>
|
@@ -632,6 +674,7 @@ module Aws::Synthetics
|
|
632
674
|
# resp = client.describe_canaries({
|
633
675
|
# next_token: "Token",
|
634
676
|
# max_results: 1,
|
677
|
+
# names: ["CanaryName"],
|
635
678
|
# })
|
636
679
|
#
|
637
680
|
# @example Response structure
|
@@ -687,6 +730,22 @@ module Aws::Synthetics
|
|
687
730
|
# Use this operation to see information from the most recent run of each
|
688
731
|
# canary that you have created.
|
689
732
|
#
|
733
|
+
# This operation supports resource-level authorization using an IAM
|
734
|
+
# policy and the `Names` parameter. If you specify the `Names`
|
735
|
+
# parameter, the operation is successful only if you have authorization
|
736
|
+
# to view all the canaries that you specify in your request. If you do
|
737
|
+
# not have permission to view any of the canaries, the request fails
|
738
|
+
# with a 403 response.
|
739
|
+
#
|
740
|
+
# You are required to use the `Names` parameter if you are logged on to
|
741
|
+
# a user or role that has an IAM policy that restricts which canaries
|
742
|
+
# that you are allowed to view. For more information, see [ Limiting a
|
743
|
+
# user to viewing specific canaries][1].
|
744
|
+
#
|
745
|
+
#
|
746
|
+
#
|
747
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Restricted.html
|
748
|
+
#
|
690
749
|
# @option params [String] :next_token
|
691
750
|
# A token that indicates that there is more data available. You can use
|
692
751
|
# this token in a subsequent `DescribeCanaries` operation to retrieve
|
@@ -697,6 +756,24 @@ module Aws::Synthetics
|
|
697
756
|
# you use the `DescribeLastRun` operation. If you omit this parameter,
|
698
757
|
# the default of 100 is used.
|
699
758
|
#
|
759
|
+
# @option params [Array<String>] :names
|
760
|
+
# Use this parameter to return only canaries that match the names that
|
761
|
+
# you specify here. You can specify as many as five canary names.
|
762
|
+
#
|
763
|
+
# If you specify this parameter, the operation is successful only if you
|
764
|
+
# have authorization to view all the canaries that you specify in your
|
765
|
+
# request. If you do not have permission to view any of the canaries,
|
766
|
+
# the request fails with a 403 response.
|
767
|
+
#
|
768
|
+
# You are required to use the `Names` parameter if you are logged on to
|
769
|
+
# a user or role that has an IAM policy that restricts which canaries
|
770
|
+
# that you are allowed to view. For more information, see [ Limiting a
|
771
|
+
# user to viewing specific canaries][1].
|
772
|
+
#
|
773
|
+
#
|
774
|
+
#
|
775
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Restricted.html
|
776
|
+
#
|
700
777
|
# @return [Types::DescribeCanariesLastRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
701
778
|
#
|
702
779
|
# * {Types::DescribeCanariesLastRunResponse#canaries_last_run #canaries_last_run} => Array<Types::CanaryLastRun>
|
@@ -709,6 +786,7 @@ module Aws::Synthetics
|
|
709
786
|
# resp = client.describe_canaries_last_run({
|
710
787
|
# next_token: "Token",
|
711
788
|
# max_results: 1,
|
789
|
+
# names: ["CanaryName"],
|
712
790
|
# })
|
713
791
|
#
|
714
792
|
# @example Response structure
|
@@ -1255,7 +1333,7 @@ module Aws::Synthetics
|
|
1255
1333
|
params: params,
|
1256
1334
|
config: config)
|
1257
1335
|
context[:gem_name] = 'aws-sdk-synthetics'
|
1258
|
-
context[:gem_version] = '1.
|
1336
|
+
context[:gem_version] = '1.24.0'
|
1259
1337
|
Seahorse::Client::Request.new(handlers, context)
|
1260
1338
|
end
|
1261
1339
|
|
@@ -47,8 +47,10 @@ module Aws::Synthetics
|
|
47
47
|
CreateCanaryResponse = Shapes::StructureShape.new(name: 'CreateCanaryResponse')
|
48
48
|
DeleteCanaryRequest = Shapes::StructureShape.new(name: 'DeleteCanaryRequest')
|
49
49
|
DeleteCanaryResponse = Shapes::StructureShape.new(name: 'DeleteCanaryResponse')
|
50
|
+
DescribeCanariesLastRunNameFilter = Shapes::ListShape.new(name: 'DescribeCanariesLastRunNameFilter')
|
50
51
|
DescribeCanariesLastRunRequest = Shapes::StructureShape.new(name: 'DescribeCanariesLastRunRequest')
|
51
52
|
DescribeCanariesLastRunResponse = Shapes::StructureShape.new(name: 'DescribeCanariesLastRunResponse')
|
53
|
+
DescribeCanariesNameFilter = Shapes::ListShape.new(name: 'DescribeCanariesNameFilter')
|
52
54
|
DescribeCanariesRequest = Shapes::StructureShape.new(name: 'DescribeCanariesRequest')
|
53
55
|
DescribeCanariesResponse = Shapes::StructureShape.new(name: 'DescribeCanariesResponse')
|
54
56
|
DescribeRuntimeVersionsRequest = Shapes::StructureShape.new(name: 'DescribeRuntimeVersionsRequest')
|
@@ -74,6 +76,7 @@ module Aws::Synthetics
|
|
74
76
|
MaxSize1024 = Shapes::IntegerShape.new(name: 'MaxSize1024')
|
75
77
|
MaxSize3008 = Shapes::IntegerShape.new(name: 'MaxSize3008')
|
76
78
|
NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
|
79
|
+
RequestEntityTooLargeException = Shapes::StructureShape.new(name: 'RequestEntityTooLargeException')
|
77
80
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
78
81
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
79
82
|
RuntimeVersion = Shapes::StructureShape.new(name: 'RuntimeVersion')
|
@@ -233,16 +236,22 @@ module Aws::Synthetics
|
|
233
236
|
|
234
237
|
DeleteCanaryResponse.struct_class = Types::DeleteCanaryResponse
|
235
238
|
|
239
|
+
DescribeCanariesLastRunNameFilter.member = Shapes::ShapeRef.new(shape: CanaryName)
|
240
|
+
|
236
241
|
DescribeCanariesLastRunRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
237
242
|
DescribeCanariesLastRunRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxSize100, location_name: "MaxResults"))
|
243
|
+
DescribeCanariesLastRunRequest.add_member(:names, Shapes::ShapeRef.new(shape: DescribeCanariesLastRunNameFilter, location_name: "Names"))
|
238
244
|
DescribeCanariesLastRunRequest.struct_class = Types::DescribeCanariesLastRunRequest
|
239
245
|
|
240
246
|
DescribeCanariesLastRunResponse.add_member(:canaries_last_run, Shapes::ShapeRef.new(shape: CanariesLastRun, location_name: "CanariesLastRun"))
|
241
247
|
DescribeCanariesLastRunResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
242
248
|
DescribeCanariesLastRunResponse.struct_class = Types::DescribeCanariesLastRunResponse
|
243
249
|
|
250
|
+
DescribeCanariesNameFilter.member = Shapes::ShapeRef.new(shape: CanaryName)
|
251
|
+
|
244
252
|
DescribeCanariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
245
253
|
DescribeCanariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxCanaryResults, location_name: "MaxResults"))
|
254
|
+
DescribeCanariesRequest.add_member(:names, Shapes::ShapeRef.new(shape: DescribeCanariesNameFilter, location_name: "Names"))
|
246
255
|
DescribeCanariesRequest.struct_class = Types::DescribeCanariesRequest
|
247
256
|
|
248
257
|
DescribeCanariesResponse.add_member(:canaries, Shapes::ShapeRef.new(shape: Canaries, location_name: "Canaries"))
|
@@ -284,6 +293,9 @@ module Aws::Synthetics
|
|
284
293
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
285
294
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
286
295
|
|
296
|
+
RequestEntityTooLargeException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
297
|
+
RequestEntityTooLargeException.struct_class = Types::RequestEntityTooLargeException
|
298
|
+
|
287
299
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
288
300
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
289
301
|
|
@@ -393,6 +405,7 @@ module Aws::Synthetics
|
|
393
405
|
o.output = Shapes::ShapeRef.new(shape: CreateCanaryResponse)
|
394
406
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
395
407
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
408
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestEntityTooLargeException)
|
396
409
|
end)
|
397
410
|
|
398
411
|
api.add_operation(:delete_canary, Seahorse::Model::Operation.new.tap do |o|
|
@@ -549,6 +562,7 @@ module Aws::Synthetics
|
|
549
562
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
550
563
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
551
564
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
565
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestEntityTooLargeException)
|
552
566
|
end)
|
553
567
|
end
|
554
568
|
|
@@ -29,6 +29,7 @@ module Aws::Synthetics
|
|
29
29
|
# ## Error Classes
|
30
30
|
# * {ConflictException}
|
31
31
|
# * {InternalServerException}
|
32
|
+
# * {RequestEntityTooLargeException}
|
32
33
|
# * {ResourceNotFoundException}
|
33
34
|
# * {ValidationException}
|
34
35
|
#
|
@@ -68,6 +69,21 @@ module Aws::Synthetics
|
|
68
69
|
end
|
69
70
|
end
|
70
71
|
|
72
|
+
class RequestEntityTooLargeException < ServiceError
|
73
|
+
|
74
|
+
# @param [Seahorse::Client::RequestContext] context
|
75
|
+
# @param [String] message
|
76
|
+
# @param [Aws::Synthetics::Types::RequestEntityTooLargeException] data
|
77
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
78
|
+
super(context, message, data)
|
79
|
+
end
|
80
|
+
|
81
|
+
# @return [String]
|
82
|
+
def message
|
83
|
+
@message || @data[:message]
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
71
87
|
class ResourceNotFoundException < ServiceError
|
72
88
|
|
73
89
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -261,7 +261,10 @@ module Aws::Synthetics
|
|
261
261
|
# If you input your canary script directly into the canary instead of
|
262
262
|
# referring to an S3 location, the value of this parameter is the
|
263
263
|
# base64-encoded contents of the .zip file that contains the script.
|
264
|
-
# It must be smaller than
|
264
|
+
# It must be smaller than 225 Kb.
|
265
|
+
#
|
266
|
+
# For large canary scripts, we recommend that you use an S3 location
|
267
|
+
# instead of inputting it directly with this parameter.
|
265
268
|
# @return [String]
|
266
269
|
#
|
267
270
|
# @!attribute [rw] handler
|
@@ -881,6 +884,7 @@ module Aws::Synthetics
|
|
881
884
|
# {
|
882
885
|
# next_token: "Token",
|
883
886
|
# max_results: 1,
|
887
|
+
# names: ["CanaryName"],
|
884
888
|
# }
|
885
889
|
#
|
886
890
|
# @!attribute [rw] next_token
|
@@ -895,11 +899,31 @@ module Aws::Synthetics
|
|
895
899
|
# the default of 100 is used.
|
896
900
|
# @return [Integer]
|
897
901
|
#
|
902
|
+
# @!attribute [rw] names
|
903
|
+
# Use this parameter to return only canaries that match the names that
|
904
|
+
# you specify here. You can specify as many as five canary names.
|
905
|
+
#
|
906
|
+
# If you specify this parameter, the operation is successful only if
|
907
|
+
# you have authorization to view all the canaries that you specify in
|
908
|
+
# your request. If you do not have permission to view any of the
|
909
|
+
# canaries, the request fails with a 403 response.
|
910
|
+
#
|
911
|
+
# You are required to use the `Names` parameter if you are logged on
|
912
|
+
# to a user or role that has an IAM policy that restricts which
|
913
|
+
# canaries that you are allowed to view. For more information, see [
|
914
|
+
# Limiting a user to viewing specific canaries][1].
|
915
|
+
#
|
916
|
+
#
|
917
|
+
#
|
918
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Restricted.html
|
919
|
+
# @return [Array<String>]
|
920
|
+
#
|
898
921
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/DescribeCanariesLastRunRequest AWS API Documentation
|
899
922
|
#
|
900
923
|
class DescribeCanariesLastRunRequest < Struct.new(
|
901
924
|
:next_token,
|
902
|
-
:max_results
|
925
|
+
:max_results,
|
926
|
+
:names)
|
903
927
|
SENSITIVE = []
|
904
928
|
include Aws::Structure
|
905
929
|
end
|
@@ -930,6 +954,7 @@ module Aws::Synthetics
|
|
930
954
|
# {
|
931
955
|
# next_token: "Token",
|
932
956
|
# max_results: 1,
|
957
|
+
# names: ["CanaryName"],
|
933
958
|
# }
|
934
959
|
#
|
935
960
|
# @!attribute [rw] next_token
|
@@ -944,11 +969,31 @@ module Aws::Synthetics
|
|
944
969
|
# parameter, the default of 100 is used.
|
945
970
|
# @return [Integer]
|
946
971
|
#
|
972
|
+
# @!attribute [rw] names
|
973
|
+
# Use this parameter to return only canaries that match the names that
|
974
|
+
# you specify here. You can specify as many as five canary names.
|
975
|
+
#
|
976
|
+
# If you specify this parameter, the operation is successful only if
|
977
|
+
# you have authorization to view all the canaries that you specify in
|
978
|
+
# your request. If you do not have permission to view any of the
|
979
|
+
# canaries, the request fails with a 403 response.
|
980
|
+
#
|
981
|
+
# You are required to use this parameter if you are logged on to a
|
982
|
+
# user or role that has an IAM policy that restricts which canaries
|
983
|
+
# that you are allowed to view. For more information, see [ Limiting a
|
984
|
+
# user to viewing specific canaries][1].
|
985
|
+
#
|
986
|
+
#
|
987
|
+
#
|
988
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Restricted.html
|
989
|
+
# @return [Array<String>]
|
990
|
+
#
|
947
991
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/DescribeCanariesRequest AWS API Documentation
|
948
992
|
#
|
949
993
|
class DescribeCanariesRequest < Struct.new(
|
950
994
|
:next_token,
|
951
|
-
:max_results
|
995
|
+
:max_results,
|
996
|
+
:names)
|
952
997
|
SENSITIVE = []
|
953
998
|
include Aws::Structure
|
954
999
|
end
|
@@ -1156,6 +1201,19 @@ module Aws::Synthetics
|
|
1156
1201
|
include Aws::Structure
|
1157
1202
|
end
|
1158
1203
|
|
1204
|
+
# One of the input resources is larger than is allowed.
|
1205
|
+
#
|
1206
|
+
# @!attribute [rw] message
|
1207
|
+
# @return [String]
|
1208
|
+
#
|
1209
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/RequestEntityTooLargeException AWS API Documentation
|
1210
|
+
#
|
1211
|
+
class RequestEntityTooLargeException < Struct.new(
|
1212
|
+
:message)
|
1213
|
+
SENSITIVE = []
|
1214
|
+
include Aws::Structure
|
1215
|
+
end
|
1216
|
+
|
1159
1217
|
# One of the specified resources was not found.
|
1160
1218
|
#
|
1161
1219
|
# @!attribute [rw] message
|
data/lib/aws-sdk-synthetics.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-synthetics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.126.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.126.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|