aws-sdk-synthetics 1.23.0 → 1.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-synthetics/client.rb +74 -7
- data/lib/aws-sdk-synthetics/client_api.rb +16 -1
- data/lib/aws-sdk-synthetics/errors.rb +16 -0
- data/lib/aws-sdk-synthetics/types.rb +71 -8
- 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: 83c2fd2c7db27c51c65e15f86d3d49c66ac8b5b3113928966040f37c3d0787a9
|
4
|
+
data.tar.gz: 19ba5d68339612e0e67eb632a2327f0c2a78bc36c1c71e12525cf72dc313d679
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87dcc524dc15359078f76afd9f1e1b150b491bdecb2b71ed91f3cfc38e316aa0e519af4b2d4ccfe25daf27decd7ac21c1ef73970fc2c1047da4f7d0779aba24b
|
7
|
+
data.tar.gz: 471d99e8fefee28cb5be0a9877aecdf84515b8b460eabc0f09ef6847e77c2a6edeca83a70b652153d58c2d389f5761662517ff9b39ae8796b1142fc9ca24414a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.26.0 (2022-03-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Allow custom handler function.
|
8
|
+
|
9
|
+
1.25.0 (2022-02-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.24.0 (2022-02-07)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Adding names parameters to the Describe APIs.
|
18
|
+
|
4
19
|
1.23.0 (2022-02-03)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.26.0
|
@@ -27,6 +27,7 @@ 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/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
32
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
@@ -75,6 +76,7 @@ module Aws::Synthetics
|
|
75
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
76
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
77
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
78
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
79
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
80
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
@@ -481,7 +483,7 @@ module Aws::Synthetics
|
|
481
483
|
# s3_key: "String",
|
482
484
|
# s3_version: "String",
|
483
485
|
# zip_file: "data",
|
484
|
-
# handler: "
|
486
|
+
# handler: "CodeHandler", # required
|
485
487
|
# },
|
486
488
|
# artifact_s3_location: "String", # required
|
487
489
|
# execution_role_arn: "RoleArn", # required
|
@@ -618,10 +620,21 @@ module Aws::Synthetics
|
|
618
620
|
# This operation returns a list of the canaries in your account, along
|
619
621
|
# with full details about each canary.
|
620
622
|
#
|
621
|
-
# This operation
|
622
|
-
#
|
623
|
-
#
|
624
|
-
#
|
623
|
+
# This operation supports resource-level authorization using an IAM
|
624
|
+
# policy and the `Names` parameter. If you specify the `Names`
|
625
|
+
# parameter, the operation is successful only if you have authorization
|
626
|
+
# to view all the canaries that you specify in your request. If you do
|
627
|
+
# not have permission to view any of the canaries, the request fails
|
628
|
+
# with a 403 response.
|
629
|
+
#
|
630
|
+
# You are required to use the `Names` parameter if you are logged on to
|
631
|
+
# a user or role that has an IAM policy that restricts which canaries
|
632
|
+
# that you are allowed to view. For more information, see [ Limiting a
|
633
|
+
# user to viewing specific canaries][1].
|
634
|
+
#
|
635
|
+
#
|
636
|
+
#
|
637
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Restricted.html
|
625
638
|
#
|
626
639
|
# @option params [String] :next_token
|
627
640
|
# A token that indicates that there is more data available. You can use
|
@@ -633,6 +646,24 @@ module Aws::Synthetics
|
|
633
646
|
# time you use the `DescribeCanaries` operation. If you omit this
|
634
647
|
# parameter, the default of 100 is used.
|
635
648
|
#
|
649
|
+
# @option params [Array<String>] :names
|
650
|
+
# Use this parameter to return only canaries that match the names that
|
651
|
+
# you specify here. You can specify as many as five canary names.
|
652
|
+
#
|
653
|
+
# If you specify this parameter, the operation is successful only if you
|
654
|
+
# have authorization to view all the canaries that you specify in your
|
655
|
+
# request. If you do not have permission to view any of the canaries,
|
656
|
+
# the request fails with a 403 response.
|
657
|
+
#
|
658
|
+
# You are required to use this parameter if you are logged on to a user
|
659
|
+
# or role that has an IAM policy that restricts which canaries that you
|
660
|
+
# are allowed to view. For more information, see [ Limiting a user to
|
661
|
+
# viewing specific canaries][1].
|
662
|
+
#
|
663
|
+
#
|
664
|
+
#
|
665
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Restricted.html
|
666
|
+
#
|
636
667
|
# @return [Types::DescribeCanariesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
637
668
|
#
|
638
669
|
# * {Types::DescribeCanariesResponse#canaries #canaries} => Array<Types::Canary>
|
@@ -645,6 +676,7 @@ module Aws::Synthetics
|
|
645
676
|
# resp = client.describe_canaries({
|
646
677
|
# next_token: "Token",
|
647
678
|
# max_results: 1,
|
679
|
+
# names: ["CanaryName"],
|
648
680
|
# })
|
649
681
|
#
|
650
682
|
# @example Response structure
|
@@ -700,6 +732,22 @@ module Aws::Synthetics
|
|
700
732
|
# Use this operation to see information from the most recent run of each
|
701
733
|
# canary that you have created.
|
702
734
|
#
|
735
|
+
# This operation supports resource-level authorization using an IAM
|
736
|
+
# policy and the `Names` parameter. If you specify the `Names`
|
737
|
+
# parameter, the operation is successful only if you have authorization
|
738
|
+
# to view all the canaries that you specify in your request. If you do
|
739
|
+
# not have permission to view any of the canaries, the request fails
|
740
|
+
# with a 403 response.
|
741
|
+
#
|
742
|
+
# You are required to use the `Names` parameter if you are logged on to
|
743
|
+
# a user or role that has an IAM policy that restricts which canaries
|
744
|
+
# that you are allowed to view. For more information, see [ Limiting a
|
745
|
+
# user to viewing specific canaries][1].
|
746
|
+
#
|
747
|
+
#
|
748
|
+
#
|
749
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Restricted.html
|
750
|
+
#
|
703
751
|
# @option params [String] :next_token
|
704
752
|
# A token that indicates that there is more data available. You can use
|
705
753
|
# this token in a subsequent `DescribeCanaries` operation to retrieve
|
@@ -710,6 +758,24 @@ module Aws::Synthetics
|
|
710
758
|
# you use the `DescribeLastRun` operation. If you omit this parameter,
|
711
759
|
# the default of 100 is used.
|
712
760
|
#
|
761
|
+
# @option params [Array<String>] :names
|
762
|
+
# Use this parameter to return only canaries that match the names that
|
763
|
+
# you specify here. You can specify as many as five canary names.
|
764
|
+
#
|
765
|
+
# If you specify this parameter, the operation is successful only if you
|
766
|
+
# have authorization to view all the canaries that you specify in your
|
767
|
+
# request. If you do not have permission to view any of the canaries,
|
768
|
+
# the request fails with a 403 response.
|
769
|
+
#
|
770
|
+
# You are required to use the `Names` parameter if you are logged on to
|
771
|
+
# a user or role that has an IAM policy that restricts which canaries
|
772
|
+
# that you are allowed to view. For more information, see [ Limiting a
|
773
|
+
# user to viewing specific canaries][1].
|
774
|
+
#
|
775
|
+
#
|
776
|
+
#
|
777
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Restricted.html
|
778
|
+
#
|
713
779
|
# @return [Types::DescribeCanariesLastRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
714
780
|
#
|
715
781
|
# * {Types::DescribeCanariesLastRunResponse#canaries_last_run #canaries_last_run} => Array<Types::CanaryLastRun>
|
@@ -722,6 +788,7 @@ module Aws::Synthetics
|
|
722
788
|
# resp = client.describe_canaries_last_run({
|
723
789
|
# next_token: "Token",
|
724
790
|
# max_results: 1,
|
791
|
+
# names: ["CanaryName"],
|
725
792
|
# })
|
726
793
|
#
|
727
794
|
# @example Response structure
|
@@ -1206,7 +1273,7 @@ module Aws::Synthetics
|
|
1206
1273
|
# s3_key: "String",
|
1207
1274
|
# s3_version: "String",
|
1208
1275
|
# zip_file: "data",
|
1209
|
-
# handler: "
|
1276
|
+
# handler: "CodeHandler", # required
|
1210
1277
|
# },
|
1211
1278
|
# execution_role_arn: "RoleArn",
|
1212
1279
|
# runtime_version: "String",
|
@@ -1268,7 +1335,7 @@ module Aws::Synthetics
|
|
1268
1335
|
params: params,
|
1269
1336
|
config: config)
|
1270
1337
|
context[:gem_name] = 'aws-sdk-synthetics'
|
1271
|
-
context[:gem_version] = '1.
|
1338
|
+
context[:gem_version] = '1.26.0'
|
1272
1339
|
Seahorse::Client::Request.new(handlers, context)
|
1273
1340
|
end
|
1274
1341
|
|
@@ -42,13 +42,16 @@ module Aws::Synthetics
|
|
42
42
|
CanaryStateReasonCode = Shapes::StringShape.new(name: 'CanaryStateReasonCode')
|
43
43
|
CanaryStatus = Shapes::StructureShape.new(name: 'CanaryStatus')
|
44
44
|
CanaryTimeline = Shapes::StructureShape.new(name: 'CanaryTimeline')
|
45
|
+
CodeHandler = Shapes::StringShape.new(name: 'CodeHandler')
|
45
46
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
46
47
|
CreateCanaryRequest = Shapes::StructureShape.new(name: 'CreateCanaryRequest')
|
47
48
|
CreateCanaryResponse = Shapes::StructureShape.new(name: 'CreateCanaryResponse')
|
48
49
|
DeleteCanaryRequest = Shapes::StructureShape.new(name: 'DeleteCanaryRequest')
|
49
50
|
DeleteCanaryResponse = Shapes::StructureShape.new(name: 'DeleteCanaryResponse')
|
51
|
+
DescribeCanariesLastRunNameFilter = Shapes::ListShape.new(name: 'DescribeCanariesLastRunNameFilter')
|
50
52
|
DescribeCanariesLastRunRequest = Shapes::StructureShape.new(name: 'DescribeCanariesLastRunRequest')
|
51
53
|
DescribeCanariesLastRunResponse = Shapes::StructureShape.new(name: 'DescribeCanariesLastRunResponse')
|
54
|
+
DescribeCanariesNameFilter = Shapes::ListShape.new(name: 'DescribeCanariesNameFilter')
|
52
55
|
DescribeCanariesRequest = Shapes::StructureShape.new(name: 'DescribeCanariesRequest')
|
53
56
|
DescribeCanariesResponse = Shapes::StructureShape.new(name: 'DescribeCanariesResponse')
|
54
57
|
DescribeRuntimeVersionsRequest = Shapes::StructureShape.new(name: 'DescribeRuntimeVersionsRequest')
|
@@ -74,6 +77,7 @@ module Aws::Synthetics
|
|
74
77
|
MaxSize1024 = Shapes::IntegerShape.new(name: 'MaxSize1024')
|
75
78
|
MaxSize3008 = Shapes::IntegerShape.new(name: 'MaxSize3008')
|
76
79
|
NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
|
80
|
+
RequestEntityTooLargeException = Shapes::StructureShape.new(name: 'RequestEntityTooLargeException')
|
77
81
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
78
82
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
79
83
|
RuntimeVersion = Shapes::StructureShape.new(name: 'RuntimeVersion')
|
@@ -149,7 +153,7 @@ module Aws::Synthetics
|
|
149
153
|
CanaryCodeInput.add_member(:s3_key, Shapes::ShapeRef.new(shape: String, location_name: "S3Key"))
|
150
154
|
CanaryCodeInput.add_member(:s3_version, Shapes::ShapeRef.new(shape: String, location_name: "S3Version"))
|
151
155
|
CanaryCodeInput.add_member(:zip_file, Shapes::ShapeRef.new(shape: Blob, location_name: "ZipFile"))
|
152
|
-
CanaryCodeInput.add_member(:handler, Shapes::ShapeRef.new(shape:
|
156
|
+
CanaryCodeInput.add_member(:handler, Shapes::ShapeRef.new(shape: CodeHandler, required: true, location_name: "Handler"))
|
153
157
|
CanaryCodeInput.struct_class = Types::CanaryCodeInput
|
154
158
|
|
155
159
|
CanaryCodeOutput.add_member(:source_location_arn, Shapes::ShapeRef.new(shape: String, location_name: "SourceLocationArn"))
|
@@ -233,16 +237,22 @@ module Aws::Synthetics
|
|
233
237
|
|
234
238
|
DeleteCanaryResponse.struct_class = Types::DeleteCanaryResponse
|
235
239
|
|
240
|
+
DescribeCanariesLastRunNameFilter.member = Shapes::ShapeRef.new(shape: CanaryName)
|
241
|
+
|
236
242
|
DescribeCanariesLastRunRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
237
243
|
DescribeCanariesLastRunRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxSize100, location_name: "MaxResults"))
|
244
|
+
DescribeCanariesLastRunRequest.add_member(:names, Shapes::ShapeRef.new(shape: DescribeCanariesLastRunNameFilter, location_name: "Names"))
|
238
245
|
DescribeCanariesLastRunRequest.struct_class = Types::DescribeCanariesLastRunRequest
|
239
246
|
|
240
247
|
DescribeCanariesLastRunResponse.add_member(:canaries_last_run, Shapes::ShapeRef.new(shape: CanariesLastRun, location_name: "CanariesLastRun"))
|
241
248
|
DescribeCanariesLastRunResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
242
249
|
DescribeCanariesLastRunResponse.struct_class = Types::DescribeCanariesLastRunResponse
|
243
250
|
|
251
|
+
DescribeCanariesNameFilter.member = Shapes::ShapeRef.new(shape: CanaryName)
|
252
|
+
|
244
253
|
DescribeCanariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
245
254
|
DescribeCanariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxCanaryResults, location_name: "MaxResults"))
|
255
|
+
DescribeCanariesRequest.add_member(:names, Shapes::ShapeRef.new(shape: DescribeCanariesNameFilter, location_name: "Names"))
|
246
256
|
DescribeCanariesRequest.struct_class = Types::DescribeCanariesRequest
|
247
257
|
|
248
258
|
DescribeCanariesResponse.add_member(:canaries, Shapes::ShapeRef.new(shape: Canaries, location_name: "Canaries"))
|
@@ -284,6 +294,9 @@ module Aws::Synthetics
|
|
284
294
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
285
295
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
286
296
|
|
297
|
+
RequestEntityTooLargeException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
298
|
+
RequestEntityTooLargeException.struct_class = Types::RequestEntityTooLargeException
|
299
|
+
|
287
300
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
288
301
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
289
302
|
|
@@ -393,6 +406,7 @@ module Aws::Synthetics
|
|
393
406
|
o.output = Shapes::ShapeRef.new(shape: CreateCanaryResponse)
|
394
407
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
395
408
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
409
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestEntityTooLargeException)
|
396
410
|
end)
|
397
411
|
|
398
412
|
api.add_operation(:delete_canary, Seahorse::Model::Operation.new.tap do |o|
|
@@ -549,6 +563,7 @@ module Aws::Synthetics
|
|
549
563
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
550
564
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
551
565
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
566
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestEntityTooLargeException)
|
552
567
|
end)
|
553
568
|
end
|
554
569
|
|
@@ -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
|
@@ -236,7 +236,7 @@ module Aws::Synthetics
|
|
236
236
|
# s3_key: "String",
|
237
237
|
# s3_version: "String",
|
238
238
|
# zip_file: "data",
|
239
|
-
# handler: "
|
239
|
+
# handler: "CodeHandler", # required
|
240
240
|
# }
|
241
241
|
#
|
242
242
|
# @!attribute [rw] s3_bucket
|
@@ -261,13 +261,21 @@ 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
|
268
271
|
# The entry point to use for the source code when running the canary.
|
269
|
-
#
|
270
|
-
#
|
272
|
+
# For canaries that use the `syn-python-selenium-1.0` runtime or a
|
273
|
+
# `syn-nodejs.puppeteer` runtime earlier than
|
274
|
+
# `syn-nodejs.puppeteer-3.4`, the handler must be specified as `
|
275
|
+
# fileName.handler`. For `syn-python-selenium-1.1`,
|
276
|
+
# `syn-nodejs.puppeteer-3.4`, and later runtimes, the handler can be
|
277
|
+
# specified as ` fileName.functionName `, or you can specify a folder
|
278
|
+
# where canary scripts reside as ` folder/fileName.functionName `.
|
271
279
|
# @return [String]
|
272
280
|
#
|
273
281
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryCodeInput AWS API Documentation
|
@@ -675,7 +683,7 @@ module Aws::Synthetics
|
|
675
683
|
# s3_key: "String",
|
676
684
|
# s3_version: "String",
|
677
685
|
# zip_file: "data",
|
678
|
-
# handler: "
|
686
|
+
# handler: "CodeHandler", # required
|
679
687
|
# },
|
680
688
|
# artifact_s3_location: "String", # required
|
681
689
|
# execution_role_arn: "RoleArn", # required
|
@@ -881,6 +889,7 @@ module Aws::Synthetics
|
|
881
889
|
# {
|
882
890
|
# next_token: "Token",
|
883
891
|
# max_results: 1,
|
892
|
+
# names: ["CanaryName"],
|
884
893
|
# }
|
885
894
|
#
|
886
895
|
# @!attribute [rw] next_token
|
@@ -895,11 +904,31 @@ module Aws::Synthetics
|
|
895
904
|
# the default of 100 is used.
|
896
905
|
# @return [Integer]
|
897
906
|
#
|
907
|
+
# @!attribute [rw] names
|
908
|
+
# Use this parameter to return only canaries that match the names that
|
909
|
+
# you specify here. You can specify as many as five canary names.
|
910
|
+
#
|
911
|
+
# If you specify this parameter, the operation is successful only if
|
912
|
+
# you have authorization to view all the canaries that you specify in
|
913
|
+
# your request. If you do not have permission to view any of the
|
914
|
+
# canaries, the request fails with a 403 response.
|
915
|
+
#
|
916
|
+
# You are required to use the `Names` parameter if you are logged on
|
917
|
+
# to a user or role that has an IAM policy that restricts which
|
918
|
+
# canaries that you are allowed to view. For more information, see [
|
919
|
+
# Limiting a user to viewing specific canaries][1].
|
920
|
+
#
|
921
|
+
#
|
922
|
+
#
|
923
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Restricted.html
|
924
|
+
# @return [Array<String>]
|
925
|
+
#
|
898
926
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/DescribeCanariesLastRunRequest AWS API Documentation
|
899
927
|
#
|
900
928
|
class DescribeCanariesLastRunRequest < Struct.new(
|
901
929
|
:next_token,
|
902
|
-
:max_results
|
930
|
+
:max_results,
|
931
|
+
:names)
|
903
932
|
SENSITIVE = []
|
904
933
|
include Aws::Structure
|
905
934
|
end
|
@@ -930,6 +959,7 @@ module Aws::Synthetics
|
|
930
959
|
# {
|
931
960
|
# next_token: "Token",
|
932
961
|
# max_results: 1,
|
962
|
+
# names: ["CanaryName"],
|
933
963
|
# }
|
934
964
|
#
|
935
965
|
# @!attribute [rw] next_token
|
@@ -944,11 +974,31 @@ module Aws::Synthetics
|
|
944
974
|
# parameter, the default of 100 is used.
|
945
975
|
# @return [Integer]
|
946
976
|
#
|
977
|
+
# @!attribute [rw] names
|
978
|
+
# Use this parameter to return only canaries that match the names that
|
979
|
+
# you specify here. You can specify as many as five canary names.
|
980
|
+
#
|
981
|
+
# If you specify this parameter, the operation is successful only if
|
982
|
+
# you have authorization to view all the canaries that you specify in
|
983
|
+
# your request. If you do not have permission to view any of the
|
984
|
+
# canaries, the request fails with a 403 response.
|
985
|
+
#
|
986
|
+
# You are required to use this parameter if you are logged on to a
|
987
|
+
# user or role that has an IAM policy that restricts which canaries
|
988
|
+
# that you are allowed to view. For more information, see [ Limiting a
|
989
|
+
# user to viewing specific canaries][1].
|
990
|
+
#
|
991
|
+
#
|
992
|
+
#
|
993
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Restricted.html
|
994
|
+
# @return [Array<String>]
|
995
|
+
#
|
947
996
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/DescribeCanariesRequest AWS API Documentation
|
948
997
|
#
|
949
998
|
class DescribeCanariesRequest < Struct.new(
|
950
999
|
:next_token,
|
951
|
-
:max_results
|
1000
|
+
:max_results,
|
1001
|
+
:names)
|
952
1002
|
SENSITIVE = []
|
953
1003
|
include Aws::Structure
|
954
1004
|
end
|
@@ -1156,6 +1206,19 @@ module Aws::Synthetics
|
|
1156
1206
|
include Aws::Structure
|
1157
1207
|
end
|
1158
1208
|
|
1209
|
+
# One of the input resources is larger than is allowed.
|
1210
|
+
#
|
1211
|
+
# @!attribute [rw] message
|
1212
|
+
# @return [String]
|
1213
|
+
#
|
1214
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/RequestEntityTooLargeException AWS API Documentation
|
1215
|
+
#
|
1216
|
+
class RequestEntityTooLargeException < Struct.new(
|
1217
|
+
:message)
|
1218
|
+
SENSITIVE = []
|
1219
|
+
include Aws::Structure
|
1220
|
+
end
|
1221
|
+
|
1159
1222
|
# One of the specified resources was not found.
|
1160
1223
|
#
|
1161
1224
|
# @!attribute [rw] message
|
@@ -1383,7 +1446,7 @@ module Aws::Synthetics
|
|
1383
1446
|
# s3_key: "String",
|
1384
1447
|
# s3_version: "String",
|
1385
1448
|
# zip_file: "data",
|
1386
|
-
# handler: "
|
1449
|
+
# handler: "CodeHandler", # required
|
1387
1450
|
# },
|
1388
1451
|
# execution_role_arn: "RoleArn",
|
1389
1452
|
# runtime_version: "String",
|
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.26.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: 2022-
|
11
|
+
date: 2022-03-04 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.127.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.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|