aws-sdk-synthetics 1.56.0 → 1.57.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-synthetics/client.rb +44 -6
- data/lib/aws-sdk-synthetics/client_api.rb +4 -0
- data/lib/aws-sdk-synthetics/types.rb +54 -2
- data/lib/aws-sdk-synthetics.rb +1 -1
- data/sig/client.rbs +3 -1
- data/sig/types.rbs +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 889950dbefacfd954f9d332c4982a6ffe8904526536e56e97f1dc8ffdfad9ae5
|
4
|
+
data.tar.gz: e340340f6411b6e04dc8f7e5822127e44fe34f82e2134c62e0331dd231ee9d54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a2002d0e6b97437db9d9e5b43e0a2cb960249f6351cbec982fc97ec179fcbcc89f574433085e569bde79dbd04d1654caa8fdff3a60473c4a22a56d7628bf5fb
|
7
|
+
data.tar.gz: 293738863741b86354d9706b4823eda630cb32ec15226e47ca678916b7a74dc3701dd467106cec8398eee13abb3e3e0e2b54930d8f28e883b75526fd118f4952
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.57.0 (2024-11-07)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add support to toggle if a canary will automatically delete provisioned canary resources such as Lambda functions and layers when a canary is deleted. This behavior can be controlled via the new ProvisionedResourceCleanup property exposed in the CreateCanary and UpdateCanary APIs.
|
8
|
+
|
4
9
|
1.56.0 (2024-11-06)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.57.0
|
@@ -596,6 +596,20 @@ module Aws::Synthetics
|
|
596
596
|
# If you specify this parameter and don't specify any tags in the
|
597
597
|
# `Tags` parameter, the canary creation fails.
|
598
598
|
#
|
599
|
+
# @option params [String] :provisioned_resource_cleanup
|
600
|
+
# Specifies whether to also delete the Lambda functions and layers used
|
601
|
+
# by this canary when the canary is deleted. If you omit this parameter,
|
602
|
+
# the default of `AUTOMATIC` is used, which means that the Lambda
|
603
|
+
# functions and layers will be deleted when the canary is deleted.
|
604
|
+
#
|
605
|
+
# If the value of this parameter is `OFF`, then the value of the
|
606
|
+
# `DeleteLambda` parameter of the [DeleteCanary][1] operation determines
|
607
|
+
# whether the Lambda functions and layers will be deleted.
|
608
|
+
#
|
609
|
+
#
|
610
|
+
#
|
611
|
+
# [1]: https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DeleteCanary.html
|
612
|
+
#
|
599
613
|
# @option params [Hash<String,String>] :tags
|
600
614
|
# A list of key-value pairs to associate with the canary. You can
|
601
615
|
# associate as many as 50 tags with a canary.
|
@@ -650,6 +664,7 @@ module Aws::Synthetics
|
|
650
664
|
# security_group_ids: ["SecurityGroupId"],
|
651
665
|
# },
|
652
666
|
# resources_to_replicate_tags: ["lambda-function"], # accepts lambda-function
|
667
|
+
# provisioned_resource_cleanup: "AUTOMATIC", # accepts AUTOMATIC, OFF
|
653
668
|
# tags: {
|
654
669
|
# "TagKey" => "TagValue",
|
655
670
|
# },
|
@@ -695,6 +710,7 @@ module Aws::Synthetics
|
|
695
710
|
# resp.canary.visual_reference.base_screenshots[0].ignore_coordinates #=> Array
|
696
711
|
# resp.canary.visual_reference.base_screenshots[0].ignore_coordinates[0] #=> String
|
697
712
|
# resp.canary.visual_reference.base_canary_run_id #=> String
|
713
|
+
# resp.canary.provisioned_resource_cleanup #=> String, one of "AUTOMATIC", "OFF"
|
698
714
|
# resp.canary.tags #=> Hash
|
699
715
|
# resp.canary.tags["TagKey"] #=> String
|
700
716
|
# resp.canary.artifact_config.s3_encryption.encryption_mode #=> String, one of "SSE_S3", "SSE_KMS"
|
@@ -782,12 +798,14 @@ module Aws::Synthetics
|
|
782
798
|
|
783
799
|
# Permanently deletes the specified canary.
|
784
800
|
#
|
785
|
-
# If
|
786
|
-
#
|
801
|
+
# If the canary's `ProvisionedResourceCleanup` field is set to
|
802
|
+
# `AUTOMATIC` or you specify `DeleteLambda` in this operation as `true`,
|
803
|
+
# CloudWatch Synthetics also deletes the Lambda functions and layers
|
804
|
+
# that are used by the canary.
|
787
805
|
#
|
788
806
|
# Other resources used and created by the canary are not automatically
|
789
|
-
# deleted. After you delete a canary
|
790
|
-
#
|
807
|
+
# deleted. After you delete a canary, you should also delete the
|
808
|
+
# following:
|
791
809
|
#
|
792
810
|
# * The CloudWatch alarms created for this canary. These alarms have a
|
793
811
|
# name of
|
@@ -820,7 +838,12 @@ module Aws::Synthetics
|
|
820
838
|
#
|
821
839
|
# @option params [Boolean] :delete_lambda
|
822
840
|
# Specifies whether to also delete the Lambda functions and layers used
|
823
|
-
# by this canary. The default is false
|
841
|
+
# by this canary. The default is `false`.
|
842
|
+
#
|
843
|
+
# Your setting for this parameter is used only if the canary doesn't
|
844
|
+
# have `AUTOMATIC` for its `ProvisionedResourceCleanup` field. If that
|
845
|
+
# field is set to `AUTOMATIC`, then the Lambda functions and layers will
|
846
|
+
# be deleted when this canary is deleted.
|
824
847
|
#
|
825
848
|
# Type: Boolean
|
826
849
|
#
|
@@ -968,6 +991,7 @@ module Aws::Synthetics
|
|
968
991
|
# resp.canaries[0].visual_reference.base_screenshots[0].ignore_coordinates #=> Array
|
969
992
|
# resp.canaries[0].visual_reference.base_screenshots[0].ignore_coordinates[0] #=> String
|
970
993
|
# resp.canaries[0].visual_reference.base_canary_run_id #=> String
|
994
|
+
# resp.canaries[0].provisioned_resource_cleanup #=> String, one of "AUTOMATIC", "OFF"
|
971
995
|
# resp.canaries[0].tags #=> Hash
|
972
996
|
# resp.canaries[0].tags["TagKey"] #=> String
|
973
997
|
# resp.canaries[0].artifact_config.s3_encryption.encryption_mode #=> String, one of "SSE_S3", "SSE_KMS"
|
@@ -1201,6 +1225,7 @@ module Aws::Synthetics
|
|
1201
1225
|
# resp.canary.visual_reference.base_screenshots[0].ignore_coordinates #=> Array
|
1202
1226
|
# resp.canary.visual_reference.base_screenshots[0].ignore_coordinates[0] #=> String
|
1203
1227
|
# resp.canary.visual_reference.base_canary_run_id #=> String
|
1228
|
+
# resp.canary.provisioned_resource_cleanup #=> String, one of "AUTOMATIC", "OFF"
|
1204
1229
|
# resp.canary.tags #=> Hash
|
1205
1230
|
# resp.canary.tags["TagKey"] #=> String
|
1206
1231
|
# resp.canary.artifact_config.s3_encryption.encryption_mode #=> String, one of "SSE_S3", "SSE_KMS"
|
@@ -1732,6 +1757,18 @@ module Aws::Synthetics
|
|
1732
1757
|
# including the encryption-at-rest settings for artifacts that the
|
1733
1758
|
# canary uploads to Amazon S3.
|
1734
1759
|
#
|
1760
|
+
# @option params [String] :provisioned_resource_cleanup
|
1761
|
+
# Specifies whether to also delete the Lambda functions and layers used
|
1762
|
+
# by this canary when the canary is deleted.
|
1763
|
+
#
|
1764
|
+
# If the value of this parameter is `OFF`, then the value of the
|
1765
|
+
# `DeleteLambda` parameter of the [DeleteCanary][1] operation determines
|
1766
|
+
# whether the Lambda functions and layers will be deleted.
|
1767
|
+
#
|
1768
|
+
#
|
1769
|
+
#
|
1770
|
+
# [1]: https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DeleteCanary.html
|
1771
|
+
#
|
1735
1772
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1736
1773
|
#
|
1737
1774
|
# @example Request syntax with placeholder values
|
@@ -1781,6 +1818,7 @@ module Aws::Synthetics
|
|
1781
1818
|
# kms_key_arn: "KmsKeyArn",
|
1782
1819
|
# },
|
1783
1820
|
# },
|
1821
|
+
# provisioned_resource_cleanup: "AUTOMATIC", # accepts AUTOMATIC, OFF
|
1784
1822
|
# })
|
1785
1823
|
#
|
1786
1824
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/UpdateCanary AWS API Documentation
|
@@ -1810,7 +1848,7 @@ module Aws::Synthetics
|
|
1810
1848
|
tracer: tracer
|
1811
1849
|
)
|
1812
1850
|
context[:gem_name] = 'aws-sdk-synthetics'
|
1813
|
-
context[:gem_version] = '1.
|
1851
|
+
context[:gem_version] = '1.57.0'
|
1814
1852
|
Seahorse::Client::Request.new(handlers, context)
|
1815
1853
|
end
|
1816
1854
|
|
@@ -105,6 +105,7 @@ module Aws::Synthetics
|
|
105
105
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
106
106
|
NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
|
107
107
|
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
108
|
+
ProvisionedResourceCleanupSetting = Shapes::StringShape.new(name: 'ProvisionedResourceCleanupSetting')
|
108
109
|
RequestEntityTooLargeException = Shapes::StructureShape.new(name: 'RequestEntityTooLargeException')
|
109
110
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
110
111
|
ResourceList = Shapes::ListShape.new(name: 'ResourceList')
|
@@ -189,6 +190,7 @@ module Aws::Synthetics
|
|
189
190
|
Canary.add_member(:runtime_version, Shapes::ShapeRef.new(shape: String, location_name: "RuntimeVersion"))
|
190
191
|
Canary.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfigOutput, location_name: "VpcConfig"))
|
191
192
|
Canary.add_member(:visual_reference, Shapes::ShapeRef.new(shape: VisualReferenceOutput, location_name: "VisualReference"))
|
193
|
+
Canary.add_member(:provisioned_resource_cleanup, Shapes::ShapeRef.new(shape: ProvisionedResourceCleanupSetting, location_name: "ProvisionedResourceCleanup"))
|
192
194
|
Canary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
193
195
|
Canary.add_member(:artifact_config, Shapes::ShapeRef.new(shape: ArtifactConfigOutput, location_name: "ArtifactConfig"))
|
194
196
|
Canary.struct_class = Types::Canary
|
@@ -270,6 +272,7 @@ module Aws::Synthetics
|
|
270
272
|
CreateCanaryRequest.add_member(:runtime_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RuntimeVersion"))
|
271
273
|
CreateCanaryRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfigInput, location_name: "VpcConfig"))
|
272
274
|
CreateCanaryRequest.add_member(:resources_to_replicate_tags, Shapes::ShapeRef.new(shape: ResourceList, location_name: "ResourcesToReplicateTags"))
|
275
|
+
CreateCanaryRequest.add_member(:provisioned_resource_cleanup, Shapes::ShapeRef.new(shape: ProvisionedResourceCleanupSetting, location_name: "ProvisionedResourceCleanup"))
|
273
276
|
CreateCanaryRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
274
277
|
CreateCanaryRequest.add_member(:artifact_config, Shapes::ShapeRef.new(shape: ArtifactConfigInput, location_name: "ArtifactConfig"))
|
275
278
|
CreateCanaryRequest.struct_class = Types::CreateCanaryRequest
|
@@ -482,6 +485,7 @@ module Aws::Synthetics
|
|
482
485
|
UpdateCanaryRequest.add_member(:visual_reference, Shapes::ShapeRef.new(shape: VisualReferenceInput, location_name: "VisualReference"))
|
483
486
|
UpdateCanaryRequest.add_member(:artifact_s3_location, Shapes::ShapeRef.new(shape: String, location_name: "ArtifactS3Location"))
|
484
487
|
UpdateCanaryRequest.add_member(:artifact_config, Shapes::ShapeRef.new(shape: ArtifactConfigInput, location_name: "ArtifactConfig"))
|
488
|
+
UpdateCanaryRequest.add_member(:provisioned_resource_cleanup, Shapes::ShapeRef.new(shape: ProvisionedResourceCleanupSetting, location_name: "ProvisionedResourceCleanup"))
|
485
489
|
UpdateCanaryRequest.struct_class = Types::UpdateCanaryRequest
|
486
490
|
|
487
491
|
UpdateCanaryResponse.struct_class = Types::UpdateCanaryResponse
|
@@ -209,6 +209,21 @@ module Aws::Synthetics
|
|
209
209
|
# screen to ignore during the visual monitoring comparison.
|
210
210
|
# @return [Types::VisualReferenceOutput]
|
211
211
|
#
|
212
|
+
# @!attribute [rw] provisioned_resource_cleanup
|
213
|
+
# Specifies whether to also delete the Lambda functions and layers
|
214
|
+
# used by this canary when the canary is deleted. If it is
|
215
|
+
# `AUTOMATIC`, the Lambda functions and layers will be deleted when
|
216
|
+
# the canary is deleted.
|
217
|
+
#
|
218
|
+
# If the value of this parameter is `OFF`, then the value of the
|
219
|
+
# `DeleteLambda` parameter of the [DeleteCanary][1] operation
|
220
|
+
# determines whether the Lambda functions and layers will be deleted.
|
221
|
+
#
|
222
|
+
#
|
223
|
+
#
|
224
|
+
# [1]: https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DeleteCanary.html
|
225
|
+
# @return [String]
|
226
|
+
#
|
212
227
|
# @!attribute [rw] tags
|
213
228
|
# The list of key-value pairs that are associated with the canary.
|
214
229
|
# @return [Hash<String,String>]
|
@@ -237,6 +252,7 @@ module Aws::Synthetics
|
|
237
252
|
:runtime_version,
|
238
253
|
:vpc_config,
|
239
254
|
:visual_reference,
|
255
|
+
:provisioned_resource_cleanup,
|
240
256
|
:tags,
|
241
257
|
:artifact_config)
|
242
258
|
SENSITIVE = []
|
@@ -787,6 +803,22 @@ module Aws::Synthetics
|
|
787
803
|
# `Tags` parameter, the canary creation fails.
|
788
804
|
# @return [Array<String>]
|
789
805
|
#
|
806
|
+
# @!attribute [rw] provisioned_resource_cleanup
|
807
|
+
# Specifies whether to also delete the Lambda functions and layers
|
808
|
+
# used by this canary when the canary is deleted. If you omit this
|
809
|
+
# parameter, the default of `AUTOMATIC` is used, which means that the
|
810
|
+
# Lambda functions and layers will be deleted when the canary is
|
811
|
+
# deleted.
|
812
|
+
#
|
813
|
+
# If the value of this parameter is `OFF`, then the value of the
|
814
|
+
# `DeleteLambda` parameter of the [DeleteCanary][1] operation
|
815
|
+
# determines whether the Lambda functions and layers will be deleted.
|
816
|
+
#
|
817
|
+
#
|
818
|
+
#
|
819
|
+
# [1]: https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DeleteCanary.html
|
820
|
+
# @return [String]
|
821
|
+
#
|
790
822
|
# @!attribute [rw] tags
|
791
823
|
# A list of key-value pairs to associate with the canary. You can
|
792
824
|
# associate as many as 50 tags with a canary.
|
@@ -821,6 +853,7 @@ module Aws::Synthetics
|
|
821
853
|
:runtime_version,
|
822
854
|
:vpc_config,
|
823
855
|
:resources_to_replicate_tags,
|
856
|
+
:provisioned_resource_cleanup,
|
824
857
|
:tags,
|
825
858
|
:artifact_config)
|
826
859
|
SENSITIVE = []
|
@@ -889,7 +922,12 @@ module Aws::Synthetics
|
|
889
922
|
#
|
890
923
|
# @!attribute [rw] delete_lambda
|
891
924
|
# Specifies whether to also delete the Lambda functions and layers
|
892
|
-
# used by this canary. The default is false
|
925
|
+
# used by this canary. The default is `false`.
|
926
|
+
#
|
927
|
+
# Your setting for this parameter is used only if the canary doesn't
|
928
|
+
# have `AUTOMATIC` for its `ProvisionedResourceCleanup` field. If that
|
929
|
+
# field is set to `AUTOMATIC`, then the Lambda functions and layers
|
930
|
+
# will be deleted when this canary is deleted.
|
893
931
|
#
|
894
932
|
# Type: Boolean
|
895
933
|
# @return [Boolean]
|
@@ -1804,6 +1842,19 @@ module Aws::Synthetics
|
|
1804
1842
|
# canary uploads to Amazon S3.
|
1805
1843
|
# @return [Types::ArtifactConfigInput]
|
1806
1844
|
#
|
1845
|
+
# @!attribute [rw] provisioned_resource_cleanup
|
1846
|
+
# Specifies whether to also delete the Lambda functions and layers
|
1847
|
+
# used by this canary when the canary is deleted.
|
1848
|
+
#
|
1849
|
+
# If the value of this parameter is `OFF`, then the value of the
|
1850
|
+
# `DeleteLambda` parameter of the [DeleteCanary][1] operation
|
1851
|
+
# determines whether the Lambda functions and layers will be deleted.
|
1852
|
+
#
|
1853
|
+
#
|
1854
|
+
#
|
1855
|
+
# [1]: https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DeleteCanary.html
|
1856
|
+
# @return [String]
|
1857
|
+
#
|
1807
1858
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/UpdateCanaryRequest AWS API Documentation
|
1808
1859
|
#
|
1809
1860
|
class UpdateCanaryRequest < Struct.new(
|
@@ -1818,7 +1869,8 @@ module Aws::Synthetics
|
|
1818
1869
|
:vpc_config,
|
1819
1870
|
:visual_reference,
|
1820
1871
|
:artifact_s3_location,
|
1821
|
-
:artifact_config
|
1872
|
+
:artifact_config,
|
1873
|
+
:provisioned_resource_cleanup)
|
1822
1874
|
SENSITIVE = []
|
1823
1875
|
include Aws::Structure
|
1824
1876
|
end
|
data/lib/aws-sdk-synthetics.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -119,6 +119,7 @@ module Aws
|
|
119
119
|
security_group_ids: Array[::String]?
|
120
120
|
},
|
121
121
|
?resources_to_replicate_tags: Array[("lambda-function")],
|
122
|
+
?provisioned_resource_cleanup: ("AUTOMATIC" | "OFF"),
|
122
123
|
?tags: Hash[::String, ::String],
|
123
124
|
?artifact_config: {
|
124
125
|
s3_encryption: {
|
@@ -372,7 +373,8 @@ module Aws
|
|
372
373
|
encryption_mode: ("SSE_S3" | "SSE_KMS")?,
|
373
374
|
kms_key_arn: ::String?
|
374
375
|
}?
|
375
|
-
}
|
376
|
+
},
|
377
|
+
?provisioned_resource_cleanup: ("AUTOMATIC" | "OFF")
|
376
378
|
) -> _UpdateCanaryResponseSuccess
|
377
379
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCanaryResponseSuccess
|
378
380
|
end
|
data/sig/types.rbs
CHANGED
@@ -54,6 +54,7 @@ module Aws::Synthetics
|
|
54
54
|
attr_accessor runtime_version: ::String
|
55
55
|
attr_accessor vpc_config: Types::VpcConfigOutput
|
56
56
|
attr_accessor visual_reference: Types::VisualReferenceOutput
|
57
|
+
attr_accessor provisioned_resource_cleanup: ("AUTOMATIC" | "OFF")
|
57
58
|
attr_accessor tags: ::Hash[::String, ::String]
|
58
59
|
attr_accessor artifact_config: Types::ArtifactConfigOutput
|
59
60
|
SENSITIVE: []
|
@@ -161,6 +162,7 @@ module Aws::Synthetics
|
|
161
162
|
attr_accessor runtime_version: ::String
|
162
163
|
attr_accessor vpc_config: Types::VpcConfigInput
|
163
164
|
attr_accessor resources_to_replicate_tags: ::Array[("lambda-function")]
|
165
|
+
attr_accessor provisioned_resource_cleanup: ("AUTOMATIC" | "OFF")
|
164
166
|
attr_accessor tags: ::Hash[::String, ::String]
|
165
167
|
attr_accessor artifact_config: Types::ArtifactConfigInput
|
166
168
|
SENSITIVE: []
|
@@ -440,6 +442,7 @@ module Aws::Synthetics
|
|
440
442
|
attr_accessor visual_reference: Types::VisualReferenceInput
|
441
443
|
attr_accessor artifact_s3_location: ::String
|
442
444
|
attr_accessor artifact_config: Types::ArtifactConfigInput
|
445
|
+
attr_accessor provisioned_resource_cleanup: ("AUTOMATIC" | "OFF")
|
443
446
|
SENSITIVE: []
|
444
447
|
end
|
445
448
|
|
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.57.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: 2024-11-
|
11
|
+
date: 2024-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|