aws-sdk-synthetics 1.26.0 → 1.27.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 83c2fd2c7db27c51c65e15f86d3d49c66ac8b5b3113928966040f37c3d0787a9
4
- data.tar.gz: 19ba5d68339612e0e67eb632a2327f0c2a78bc36c1c71e12525cf72dc313d679
3
+ metadata.gz: e90ede807013d574614f641816461a58854c876226b6cd13d404edf5a33485e8
4
+ data.tar.gz: 665b4ff535fa7a6280e982c0a740eacb888872c85995e153a5943b2652b2708c
5
5
  SHA512:
6
- metadata.gz: 87dcc524dc15359078f76afd9f1e1b150b491bdecb2b71ed91f3cfc38e316aa0e519af4b2d4ccfe25daf27decd7ac21c1ef73970fc2c1047da4f7d0779aba24b
7
- data.tar.gz: 471d99e8fefee28cb5be0a9877aecdf84515b8b460eabc0f09ef6847e77c2a6edeca83a70b652153d58c2d389f5761662517ff9b39ae8796b1142fc9ca24414a
6
+ metadata.gz: 670516f66f038cb78944cb853aebb162d63c1ce1e91b3127baa8f169d4cde3fb55a96d89a82fea4bbc34ef3eb5974cec9b6941d93ce63d5e5145d9421d294c57
7
+ data.tar.gz: 50819f10eb45d54a35b37a1d24da703c7e5b483d6d3a31d8bb7103cbdc0c080b80680700aed79dd45ea10f370ba2135b3a61e09403e8beecc1046b855a604fc6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.27.0 (2022-05-02)
5
+ ------------------
6
+
7
+ * Feature - CloudWatch Synthetics has introduced a new feature to provide customers with an option to delete the underlying resources that Synthetics canary creates when the user chooses to delete the canary.
8
+
4
9
  1.26.0 (2022-03-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.26.0
1
+ 1.27.0
@@ -533,7 +533,7 @@ module Aws::Synthetics
533
533
  # resp.canary.failure_retention_period_in_days #=> Integer
534
534
  # resp.canary.status.state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
535
535
  # resp.canary.status.state_reason #=> String
536
- # resp.canary.status.state_reason_code #=> String, one of "INVALID_PERMISSIONS"
536
+ # resp.canary.status.state_reason_code #=> String, one of "INVALID_PERMISSIONS", "CREATE_PENDING", "CREATE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_PENDING", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "ROLLBACK_COMPLETE", "ROLLBACK_FAILED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "SYNC_DELETE_IN_PROGRESS"
537
537
  # resp.canary.timeline.created #=> Time
538
538
  # resp.canary.timeline.last_modified #=> Time
539
539
  # resp.canary.timeline.last_started #=> Time
@@ -567,12 +567,12 @@ module Aws::Synthetics
567
567
 
568
568
  # Permanently deletes the specified canary.
569
569
  #
570
- # When you delete a canary, resources used and created by the canary are
571
- # not automatically deleted. After you delete a canary that you do not
572
- # intend to use again, you should also delete the following:
570
+ # If you specify `DeleteLambda` to `true`, CloudWatch Synthetics also
571
+ # deletes the Lambda functions and layers that are used by the canary.
573
572
  #
574
- # * The Lambda functions and layers used by this canary. These have the
575
- # prefix `cwsyn-MyCanaryName `.
573
+ # Other esources used and created by the canary are not automatically
574
+ # deleted. After you delete a canary that you do not intend to use
575
+ # again, you should also delete the following:
576
576
  #
577
577
  # * The CloudWatch alarms created for this canary. These alarms have a
578
578
  # name of `Synthetics-SharpDrop-Alarm-MyCanaryName `.
@@ -600,12 +600,19 @@ module Aws::Synthetics
600
600
  #
601
601
  # [1]: https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DescribeCanaries.html
602
602
  #
603
+ # @option params [Boolean] :delete_lambda
604
+ # Specifies whether to also delete the Lambda functions and layers used
605
+ # by this canary. The default is false.
606
+ #
607
+ # Type: Boolean
608
+ #
603
609
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
604
610
  #
605
611
  # @example Request syntax with placeholder values
606
612
  #
607
613
  # resp = client.delete_canary({
608
614
  # name: "CanaryName", # required
615
+ # delete_lambda: false,
609
616
  # })
610
617
  #
611
618
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/DeleteCanary AWS API Documentation
@@ -696,7 +703,7 @@ module Aws::Synthetics
696
703
  # resp.canaries[0].failure_retention_period_in_days #=> Integer
697
704
  # resp.canaries[0].status.state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
698
705
  # resp.canaries[0].status.state_reason #=> String
699
- # resp.canaries[0].status.state_reason_code #=> String, one of "INVALID_PERMISSIONS"
706
+ # resp.canaries[0].status.state_reason_code #=> String, one of "INVALID_PERMISSIONS", "CREATE_PENDING", "CREATE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_PENDING", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "ROLLBACK_COMPLETE", "ROLLBACK_FAILED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "SYNC_DELETE_IN_PROGRESS"
700
707
  # resp.canaries[0].timeline.created #=> Time
701
708
  # resp.canaries[0].timeline.last_modified #=> Time
702
709
  # resp.canaries[0].timeline.last_started #=> Time
@@ -900,7 +907,7 @@ module Aws::Synthetics
900
907
  # resp.canary.failure_retention_period_in_days #=> Integer
901
908
  # resp.canary.status.state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
902
909
  # resp.canary.status.state_reason #=> String
903
- # resp.canary.status.state_reason_code #=> String, one of "INVALID_PERMISSIONS"
910
+ # resp.canary.status.state_reason_code #=> String, one of "INVALID_PERMISSIONS", "CREATE_PENDING", "CREATE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_PENDING", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "ROLLBACK_COMPLETE", "ROLLBACK_FAILED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "SYNC_DELETE_IN_PROGRESS"
904
911
  # resp.canary.timeline.created #=> Time
905
912
  # resp.canary.timeline.last_modified #=> Time
906
913
  # resp.canary.timeline.last_started #=> Time
@@ -1335,7 +1342,7 @@ module Aws::Synthetics
1335
1342
  params: params,
1336
1343
  config: config)
1337
1344
  context[:gem_name] = 'aws-sdk-synthetics'
1338
- context[:gem_version] = '1.26.0'
1345
+ context[:gem_version] = '1.27.0'
1339
1346
  Seahorse::Client::Request.new(handlers, context)
1340
1347
  end
1341
1348
 
@@ -111,6 +111,7 @@ module Aws::Synthetics
111
111
  VpcConfigInput = Shapes::StructureShape.new(name: 'VpcConfigInput')
112
112
  VpcConfigOutput = Shapes::StructureShape.new(name: 'VpcConfigOutput')
113
113
  VpcId = Shapes::StringShape.new(name: 'VpcId')
114
+ boolean = Shapes::BooleanShape.new(name: 'boolean')
114
115
 
115
116
  ArtifactConfigInput.add_member(:s3_encryption, Shapes::ShapeRef.new(shape: S3EncryptionConfig, location_name: "S3Encryption"))
116
117
  ArtifactConfigInput.struct_class = Types::ArtifactConfigInput
@@ -233,6 +234,7 @@ module Aws::Synthetics
233
234
  CreateCanaryResponse.struct_class = Types::CreateCanaryResponse
234
235
 
235
236
  DeleteCanaryRequest.add_member(:name, Shapes::ShapeRef.new(shape: CanaryName, required: true, location: "uri", location_name: "name"))
237
+ DeleteCanaryRequest.add_member(:delete_lambda, Shapes::ShapeRef.new(shape: boolean, location: "querystring", location_name: "deleteLambda"))
236
238
  DeleteCanaryRequest.struct_class = Types::DeleteCanaryRequest
237
239
 
238
240
  DeleteCanaryResponse.struct_class = Types::DeleteCanaryResponse
@@ -860,6 +860,7 @@ module Aws::Synthetics
860
860
  #
861
861
  # {
862
862
  # name: "CanaryName", # required
863
+ # delete_lambda: false,
863
864
  # }
864
865
  #
865
866
  # @!attribute [rw] name
@@ -871,10 +872,18 @@ module Aws::Synthetics
871
872
  # [1]: https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DescribeCanaries.html
872
873
  # @return [String]
873
874
  #
875
+ # @!attribute [rw] delete_lambda
876
+ # Specifies whether to also delete the Lambda functions and layers
877
+ # used by this canary. The default is false.
878
+ #
879
+ # Type: Boolean
880
+ # @return [Boolean]
881
+ #
874
882
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/DeleteCanaryRequest AWS API Documentation
875
883
  #
876
884
  class DeleteCanaryRequest < Struct.new(
877
- :name)
885
+ :name,
886
+ :delete_lambda)
878
887
  SENSITIVE = []
879
888
  include Aws::Structure
880
889
  end
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-synthetics/customizations'
48
48
  # @!group service
49
49
  module Aws::Synthetics
50
50
 
51
- GEM_VERSION = '1.26.0'
51
+ GEM_VERSION = '1.27.0'
52
52
 
53
53
  end
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.26.0
4
+ version: 1.27.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-03-04 00:00:00.000000000 Z
11
+ date: 2022-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core