aws-sdk-synthetics 1.1.0 → 1.2.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: 8df239fd482578856439ed2bca5016fe61cd6dda6b1af268b11f8d5fb76af6ea
4
- data.tar.gz: f92e2dd9097c73b5dc021892437ec6b270eccbb520de358a3a00ee054779b67c
3
+ metadata.gz: 5dc73f211c0fc675c264cce626319d912d559c6f0c7939e5788513e8c868a37d
4
+ data.tar.gz: c8c1270653158acd03f6ec6b75d0b9025f8df4f15c3249cc991cd5e80d56fe3a
5
5
  SHA512:
6
- metadata.gz: 2478ef26ddb983403b195d1ba9bbe990e748b3eae54c812ea6f80f4889b5bfcb8356acb8015ff2fd9065317194b097d4b7ccc8b5396b35bd9ffc89ff77e9b6fe
7
- data.tar.gz: a52babc0a4f8323db62e4946bf2bff8a62ea066c5c0b3661618e72e688a36fcd3777664a26bd98b85d1c71d1ca1ad0b31638601c9aecf19e669f5da31eafb4ea
6
+ metadata.gz: 0152a69d76af15f8a1d7e18765d1ff36916250cdcd5fb681d236cba944d7fdbf2d806ffe523ba2bbdb58ce36763e9ba1302e169df6b53ae54d384f3a83689b79
7
+ data.tar.gz: 0b56f3b55cb05dbcbba3b12703dd08013910873f904497d6c26e40edc1875c9f6179537b8b22d3941f2bd1944d1aae4e47679815a6b55e78380abed87dc2bfbe
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-synthetics/customizations'
45
45
  # @service
46
46
  module Aws::Synthetics
47
47
 
48
- GEM_VERSION = '1.1.0'
48
+ GEM_VERSION = '1.2.0'
49
49
 
50
50
  end
@@ -315,24 +315,25 @@ module Aws::Synthetics
315
315
  # metrics. You can set up a canary to run continuously or just once.
316
316
  #
317
317
  # Do not use `CreateCanary` to modify an existing canary. Use
318
- # UpdateCanary instead.
318
+ # [UpdateCanary][1] instead.
319
319
  #
320
320
  # To create canaries, you must have the `CloudWatchSyntheticsFullAccess`
321
321
  # policy. If you are creating a new IAM role for the canary, you also
322
322
  # need the the `iam:CreateRole`, `iam:CreatePolicy` and
323
323
  # `iam:AttachRolePolicy` permissions. For more information, see
324
- # [Necessary Roles and Permissions][1].
324
+ # [Necessary Roles and Permissions][2].
325
325
  #
326
326
  # Do not include secrets or proprietary information in your canary
327
327
  # names. The canary name makes up part of the Amazon Resource Name (ARN)
328
328
  # for the canary, and the ARN is included in outbound calls over the
329
329
  # internet. For more information, see [Security Considerations for
330
- # Synthetics Canaries][2].
330
+ # Synthetics Canaries][3].
331
331
  #
332
332
  #
333
333
  #
334
- # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Roles
335
- # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/servicelens_canaries_security.html
334
+ # [1]: https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_UpdateCanary.html
335
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Roles
336
+ # [3]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/servicelens_canaries_security.html
336
337
  #
337
338
  # @option params [required, String] :name
338
339
  # The name for this canary. Be sure to give it a descriptive name that
@@ -444,6 +445,7 @@ module Aws::Synthetics
444
445
  # },
445
446
  # run_config: {
446
447
  # timeout_in_seconds: 1, # required
448
+ # memory_in_mb: 1,
447
449
  # },
448
450
  # success_retention_period_in_days: 1,
449
451
  # failure_retention_period_in_days: 1,
@@ -467,6 +469,7 @@ module Aws::Synthetics
467
469
  # resp.canary.schedule.expression #=> String
468
470
  # resp.canary.schedule.duration_in_seconds #=> Integer
469
471
  # resp.canary.run_config.timeout_in_seconds #=> Integer
472
+ # resp.canary.run_config.memory_in_mb #=> Integer
470
473
  # resp.canary.success_retention_period_in_days #=> Integer
471
474
  # resp.canary.failure_retention_period_in_days #=> Integer
472
475
  # resp.canary.status.state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
@@ -525,7 +528,11 @@ module Aws::Synthetics
525
528
  #
526
529
  # @option params [required, String] :name
527
530
  # The name of the canary that you want to delete. To find the names of
528
- # your canaries, use DescribeCanaries.
531
+ # your canaries, use [DescribeCanaries][1].
532
+ #
533
+ #
534
+ #
535
+ # [1]: https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DescribeCanaries.html
529
536
  #
530
537
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
531
538
  #
@@ -587,6 +594,7 @@ module Aws::Synthetics
587
594
  # resp.canaries[0].schedule.expression #=> String
588
595
  # resp.canaries[0].schedule.duration_in_seconds #=> Integer
589
596
  # resp.canaries[0].run_config.timeout_in_seconds #=> Integer
597
+ # resp.canaries[0].run_config.memory_in_mb #=> Integer
590
598
  # resp.canaries[0].success_retention_period_in_days #=> Integer
591
599
  # resp.canaries[0].failure_retention_period_in_days #=> Integer
592
600
  # resp.canaries[0].status.state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
@@ -746,6 +754,7 @@ module Aws::Synthetics
746
754
  # resp.canary.schedule.expression #=> String
747
755
  # resp.canary.schedule.duration_in_seconds #=> Integer
748
756
  # resp.canary.run_config.timeout_in_seconds #=> Integer
757
+ # resp.canary.run_config.memory_in_mb #=> Integer
749
758
  # resp.canary.success_retention_period_in_days #=> Integer
750
759
  # resp.canary.failure_retention_period_in_days #=> Integer
751
760
  # resp.canary.status.state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
@@ -868,7 +877,11 @@ module Aws::Synthetics
868
877
  #
869
878
  # @option params [required, String] :name
870
879
  # The name of the canary that you want to run. To find canary names, use
871
- # DescribeCanaries.
880
+ # [DescribeCanaries][1].
881
+ #
882
+ #
883
+ #
884
+ # [1]: https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DescribeCanaries.html
872
885
  #
873
886
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
874
887
  #
@@ -898,7 +911,11 @@ module Aws::Synthetics
898
911
  #
899
912
  # @option params [required, String] :name
900
913
  # The name of the canary that you want to stop. To find the names of
901
- # your canaries, use DescribeCanaries.
914
+ # your canaries, use [DescribeCanaries][1].
915
+ #
916
+ #
917
+ #
918
+ # [1]: https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DescribeCanaries.html
902
919
  #
903
920
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
904
921
  #
@@ -1005,10 +1022,14 @@ module Aws::Synthetics
1005
1022
  #
1006
1023
  # @option params [required, String] :name
1007
1024
  # The name of the canary that you want to update. To find the names of
1008
- # your canaries, use DescribeCanaries.
1025
+ # your canaries, use [DescribeCanaries][1].
1009
1026
  #
1010
1027
  # You cannot change the name of a canary that has already been created.
1011
1028
  #
1029
+ #
1030
+ #
1031
+ # [1]: https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DescribeCanaries.html
1032
+ #
1012
1033
  # @option params [Types::CanaryCodeInput] :code
1013
1034
  # A structure that includes the entry point from which the canary should
1014
1035
  # start running your script. If the script is stored in an S3 bucket,
@@ -1088,6 +1109,7 @@ module Aws::Synthetics
1088
1109
  # },
1089
1110
  # run_config: {
1090
1111
  # timeout_in_seconds: 1, # required
1112
+ # memory_in_mb: 1,
1091
1113
  # },
1092
1114
  # success_retention_period_in_days: 1,
1093
1115
  # failure_retention_period_in_days: 1,
@@ -1119,7 +1141,7 @@ module Aws::Synthetics
1119
1141
  params: params,
1120
1142
  config: config)
1121
1143
  context[:gem_name] = 'aws-sdk-synthetics'
1122
- context[:gem_version] = '1.1.0'
1144
+ context[:gem_version] = '1.2.0'
1123
1145
  Seahorse::Client::Request.new(handlers, context)
1124
1146
  end
1125
1147
 
@@ -58,6 +58,7 @@ module Aws::Synthetics
58
58
  MaxOneYearInSeconds = Shapes::IntegerShape.new(name: 'MaxOneYearInSeconds')
59
59
  MaxSize100 = Shapes::IntegerShape.new(name: 'MaxSize100')
60
60
  MaxSize1024 = Shapes::IntegerShape.new(name: 'MaxSize1024')
61
+ MaxSize3008 = Shapes::IntegerShape.new(name: 'MaxSize3008')
61
62
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
62
63
  RuntimeVersion = Shapes::StructureShape.new(name: 'RuntimeVersion')
63
64
  RuntimeVersionList = Shapes::ListShape.new(name: 'RuntimeVersionList')
@@ -131,9 +132,11 @@ module Aws::Synthetics
131
132
  CanaryRun.struct_class = Types::CanaryRun
132
133
 
133
134
  CanaryRunConfigInput.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: MaxFifteenMinutesInSeconds, required: true, location_name: "TimeoutInSeconds"))
135
+ CanaryRunConfigInput.add_member(:memory_in_mb, Shapes::ShapeRef.new(shape: MaxSize3008, location_name: "MemoryInMB"))
134
136
  CanaryRunConfigInput.struct_class = Types::CanaryRunConfigInput
135
137
 
136
138
  CanaryRunConfigOutput.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: MaxFifteenMinutesInSeconds, location_name: "TimeoutInSeconds"))
139
+ CanaryRunConfigOutput.add_member(:memory_in_mb, Shapes::ShapeRef.new(shape: MaxSize3008, location_name: "MemoryInMB"))
137
140
  CanaryRunConfigOutput.struct_class = Types::CanaryRunConfigOutput
138
141
 
139
142
  CanaryRunStatus.add_member(:state, Shapes::ShapeRef.new(shape: CanaryRunState, location_name: "State"))
@@ -252,6 +252,7 @@ module Aws::Synthetics
252
252
  #
253
253
  # {
254
254
  # timeout_in_seconds: 1, # required
255
+ # memory_in_mb: 1,
255
256
  # }
256
257
  #
257
258
  # @!attribute [rw] timeout_in_seconds
@@ -260,10 +261,16 @@ module Aws::Synthetics
260
261
  # up to a maximum of 14 minutes.
261
262
  # @return [Integer]
262
263
  #
264
+ # @!attribute [rw] memory_in_mb
265
+ # The maximum amount of memory available to the canary while it is
266
+ # running, in MB. The value you specify must be a multiple of 64.
267
+ # @return [Integer]
268
+ #
263
269
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryRunConfigInput AWS API Documentation
264
270
  #
265
271
  class CanaryRunConfigInput < Struct.new(
266
- :timeout_in_seconds)
272
+ :timeout_in_seconds,
273
+ :memory_in_mb)
267
274
  include Aws::Structure
268
275
  end
269
276
 
@@ -273,10 +280,16 @@ module Aws::Synthetics
273
280
  # How long the canary is allowed to run before it must stop.
274
281
  # @return [Integer]
275
282
  #
283
+ # @!attribute [rw] memory_in_mb
284
+ # The maximum amount of memory available to the canary while it is
285
+ # running, in MB. The value you must be a multiple of 64.
286
+ # @return [Integer]
287
+ #
276
288
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryRunConfigOutput AWS API Documentation
277
289
  #
278
290
  class CanaryRunConfigOutput < Struct.new(
279
- :timeout_in_seconds)
291
+ :timeout_in_seconds,
292
+ :memory_in_mb)
280
293
  include Aws::Structure
281
294
  end
282
295
 
@@ -481,6 +494,7 @@ module Aws::Synthetics
481
494
  # },
482
495
  # run_config: {
483
496
  # timeout_in_seconds: 1, # required
497
+ # memory_in_mb: 1,
484
498
  # },
485
499
  # success_retention_period_in_days: 1,
486
500
  # failure_retention_period_in_days: 1,
@@ -631,7 +645,11 @@ module Aws::Synthetics
631
645
  #
632
646
  # @!attribute [rw] name
633
647
  # The name of the canary that you want to delete. To find the names of
634
- # your canaries, use DescribeCanaries.
648
+ # your canaries, use [DescribeCanaries][1].
649
+ #
650
+ #
651
+ #
652
+ # [1]: https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DescribeCanaries.html
635
653
  # @return [String]
636
654
  #
637
655
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/DeleteCanaryRequest AWS API Documentation
@@ -973,7 +991,11 @@ module Aws::Synthetics
973
991
  #
974
992
  # @!attribute [rw] name
975
993
  # The name of the canary that you want to run. To find canary names,
976
- # use DescribeCanaries.
994
+ # use [DescribeCanaries][1].
995
+ #
996
+ #
997
+ #
998
+ # [1]: https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DescribeCanaries.html
977
999
  # @return [String]
978
1000
  #
979
1001
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/StartCanaryRequest AWS API Documentation
@@ -996,7 +1018,11 @@ module Aws::Synthetics
996
1018
  #
997
1019
  # @!attribute [rw] name
998
1020
  # The name of the canary that you want to stop. To find the names of
999
- # your canaries, use DescribeCanaries.
1021
+ # your canaries, use [DescribeCanaries][1].
1022
+ #
1023
+ #
1024
+ #
1025
+ # [1]: https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DescribeCanaries.html
1000
1026
  # @return [String]
1001
1027
  #
1002
1028
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/StopCanaryRequest AWS API Documentation
@@ -1094,6 +1120,7 @@ module Aws::Synthetics
1094
1120
  # },
1095
1121
  # run_config: {
1096
1122
  # timeout_in_seconds: 1, # required
1123
+ # memory_in_mb: 1,
1097
1124
  # },
1098
1125
  # success_retention_period_in_days: 1,
1099
1126
  # failure_retention_period_in_days: 1,
@@ -1105,10 +1132,14 @@ module Aws::Synthetics
1105
1132
  #
1106
1133
  # @!attribute [rw] name
1107
1134
  # The name of the canary that you want to update. To find the names of
1108
- # your canaries, use DescribeCanaries.
1135
+ # your canaries, use [DescribeCanaries][1].
1109
1136
  #
1110
1137
  # You cannot change the name of a canary that has already been
1111
1138
  # created.
1139
+ #
1140
+ #
1141
+ #
1142
+ # [1]: https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DescribeCanaries.html
1112
1143
  # @return [String]
1113
1144
  #
1114
1145
  # @!attribute [rw] code
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.1.0
4
+ version: 1.2.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: 2020-05-07 00:00:00.000000000 Z
11
+ date: 2020-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core