aws-sdk-ssm 1.28.0 → 1.29.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/lib/aws-sdk-ssm.rb +1 -1
- data/lib/aws-sdk-ssm/client.rb +81 -2
- data/lib/aws-sdk-ssm/client_api.rb +10 -0
- data/lib/aws-sdk-ssm/types.rb +193 -14
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73843bce7c55eef1cb23833856d09dd174211924
|
4
|
+
data.tar.gz: 390eba622835355c3476a92892ccaf8965ac88ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94e6d3bb7a8d475666d289c0a3574626200dc0c58ef4af0673433885e9df0248f1a3266ea2b6788618539da301e4fd1149193af9022708d8abf5d524a8a3d97d
|
7
|
+
data.tar.gz: 6ba63459d714872de37bb078ca5991e519c3608af6cc7389338289719009b474ecf8bfcbe79191de8cc53532219742d5bc29c5990f7a7b8af99ec722b9aa3deb
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -437,6 +437,35 @@ module Aws::SSM
|
|
437
437
|
# @option params [String] :association_name
|
438
438
|
# Specify a descriptive name for the association.
|
439
439
|
#
|
440
|
+
# @option params [String] :max_errors
|
441
|
+
# The number of errors that are allowed before the system stops sending
|
442
|
+
# requests to run the association on additional targets. You can specify
|
443
|
+
# either an absolute number of errors, for example 10, or a percentage
|
444
|
+
# of the target set, for example 10%. If you specify 3, for example, the
|
445
|
+
# system stops sending requests when the fourth error is received. If
|
446
|
+
# you specify 0, then the system stops sending requests after the first
|
447
|
+
# error is returned. If you run an association on 50 instances and set
|
448
|
+
# MaxError to 10%, then the system stops sending the request when the
|
449
|
+
# sixth error is received.
|
450
|
+
#
|
451
|
+
# Executions that are already running an association when MaxErrors is
|
452
|
+
# reached are allowed to complete, but some of these executions may fail
|
453
|
+
# as well. If you need to ensure that there won't be more than
|
454
|
+
# max-errors failed executions, set MaxConcurrency to 1 so that
|
455
|
+
# executions proceed one at a time.
|
456
|
+
#
|
457
|
+
# @option params [String] :max_concurrency
|
458
|
+
# The maximum number of targets allowed to run the association at the
|
459
|
+
# same time. You can specify a number, for example 10, or a percentage
|
460
|
+
# of the target set, for example 10%. The default value is 100%, which
|
461
|
+
# means all targets run the association at the same time.
|
462
|
+
#
|
463
|
+
# If a new instance starts and attempts to execute an association while
|
464
|
+
# Systems Manager is executing MaxConcurrency associations, the
|
465
|
+
# association is allowed to run. During the next association interval,
|
466
|
+
# the new instance will process its association within the limit
|
467
|
+
# specified for MaxConcurrency.
|
468
|
+
#
|
440
469
|
# @return [Types::CreateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
441
470
|
#
|
442
471
|
# * {Types::CreateAssociationResult#association_description #association_description} => Types::AssociationDescription
|
@@ -465,6 +494,8 @@ module Aws::SSM
|
|
465
494
|
# },
|
466
495
|
# },
|
467
496
|
# association_name: "AssociationName",
|
497
|
+
# max_errors: "MaxErrors",
|
498
|
+
# max_concurrency: "MaxConcurrency",
|
468
499
|
# })
|
469
500
|
#
|
470
501
|
# @example Response structure
|
@@ -498,6 +529,8 @@ module Aws::SSM
|
|
498
529
|
# resp.association_description.last_execution_date #=> Time
|
499
530
|
# resp.association_description.last_successful_execution_date #=> Time
|
500
531
|
# resp.association_description.association_name #=> String
|
532
|
+
# resp.association_description.max_errors #=> String
|
533
|
+
# resp.association_description.max_concurrency #=> String
|
501
534
|
#
|
502
535
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociation AWS API Documentation
|
503
536
|
#
|
@@ -553,6 +586,8 @@ module Aws::SSM
|
|
553
586
|
# },
|
554
587
|
# },
|
555
588
|
# association_name: "AssociationName",
|
589
|
+
# max_errors: "MaxErrors",
|
590
|
+
# max_concurrency: "MaxConcurrency",
|
556
591
|
# },
|
557
592
|
# ],
|
558
593
|
# })
|
@@ -589,6 +624,8 @@ module Aws::SSM
|
|
589
624
|
# resp.successful[0].last_execution_date #=> Time
|
590
625
|
# resp.successful[0].last_successful_execution_date #=> Time
|
591
626
|
# resp.successful[0].association_name #=> String
|
627
|
+
# resp.successful[0].max_errors #=> String
|
628
|
+
# resp.successful[0].max_concurrency #=> String
|
592
629
|
# resp.failed #=> Array
|
593
630
|
# resp.failed[0].entry.name #=> String
|
594
631
|
# resp.failed[0].entry.instance_id #=> String
|
@@ -605,6 +642,8 @@ module Aws::SSM
|
|
605
642
|
# resp.failed[0].entry.output_location.s3_location.output_s3_bucket_name #=> String
|
606
643
|
# resp.failed[0].entry.output_location.s3_location.output_s3_key_prefix #=> String
|
607
644
|
# resp.failed[0].entry.association_name #=> String
|
645
|
+
# resp.failed[0].entry.max_errors #=> String
|
646
|
+
# resp.failed[0].entry.max_concurrency #=> String
|
608
647
|
# resp.failed[0].message #=> String
|
609
648
|
# resp.failed[0].fault #=> String, one of "Client", "Server", "Unknown"
|
610
649
|
#
|
@@ -1552,6 +1591,8 @@ module Aws::SSM
|
|
1552
1591
|
# resp.association_description.last_execution_date #=> Time
|
1553
1592
|
# resp.association_description.last_successful_execution_date #=> Time
|
1554
1593
|
# resp.association_description.association_name #=> String
|
1594
|
+
# resp.association_description.max_errors #=> String
|
1595
|
+
# resp.association_description.max_concurrency #=> String
|
1555
1596
|
#
|
1556
1597
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociation AWS API Documentation
|
1557
1598
|
#
|
@@ -2201,7 +2242,8 @@ module Aws::SSM
|
|
2201
2242
|
#
|
2202
2243
|
# @option params [Array<Types::InstanceInformationStringFilter>] :filters
|
2203
2244
|
# One or more filters. Use a filter to return a more specific list of
|
2204
|
-
# instances.
|
2245
|
+
# instances. You can filter on Amazon EC2 tag. Specify tags by using a
|
2246
|
+
# key-value mapping.
|
2205
2247
|
#
|
2206
2248
|
# @option params [Integer] :max_results
|
2207
2249
|
# The maximum number of items to return for this call. The call also
|
@@ -4557,6 +4599,8 @@ module Aws::SSM
|
|
4557
4599
|
# resp.association_versions[0].output_location.s3_location.output_s3_bucket_name #=> String
|
4558
4600
|
# resp.association_versions[0].output_location.s3_location.output_s3_key_prefix #=> String
|
4559
4601
|
# resp.association_versions[0].association_name #=> String
|
4602
|
+
# resp.association_versions[0].max_errors #=> String
|
4603
|
+
# resp.association_versions[0].max_concurrency #=> String
|
4560
4604
|
# resp.next_token #=> String
|
4561
4605
|
#
|
4562
4606
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersions AWS API Documentation
|
@@ -6540,6 +6584,35 @@ module Aws::SSM
|
|
6540
6584
|
# ensure that this request succeeds, either specify `$LATEST`, or omit
|
6541
6585
|
# this parameter.
|
6542
6586
|
#
|
6587
|
+
# @option params [String] :max_errors
|
6588
|
+
# The number of errors that are allowed before the system stops sending
|
6589
|
+
# requests to run the association on additional targets. You can specify
|
6590
|
+
# either an absolute number of errors, for example 10, or a percentage
|
6591
|
+
# of the target set, for example 10%. If you specify 3, for example, the
|
6592
|
+
# system stops sending requests when the fourth error is received. If
|
6593
|
+
# you specify 0, then the system stops sending requests after the first
|
6594
|
+
# error is returned. If you run an association on 50 instances and set
|
6595
|
+
# MaxError to 10%, then the system stops sending the request when the
|
6596
|
+
# sixth error is received.
|
6597
|
+
#
|
6598
|
+
# Executions that are already running an association when MaxErrors is
|
6599
|
+
# reached are allowed to complete, but some of these executions may fail
|
6600
|
+
# as well. If you need to ensure that there won't be more than
|
6601
|
+
# max-errors failed executions, set MaxConcurrency to 1 so that
|
6602
|
+
# executions proceed one at a time.
|
6603
|
+
#
|
6604
|
+
# @option params [String] :max_concurrency
|
6605
|
+
# The maximum number of targets allowed to run the association at the
|
6606
|
+
# same time. You can specify a number, for example 10, or a percentage
|
6607
|
+
# of the target set, for example 10%. The default value is 100%, which
|
6608
|
+
# means all targets run the association at the same time.
|
6609
|
+
#
|
6610
|
+
# If a new instance starts and attempts to execute an association while
|
6611
|
+
# Systems Manager is executing MaxConcurrency associations, the
|
6612
|
+
# association is allowed to run. During the next association interval,
|
6613
|
+
# the new instance will process its association within the limit
|
6614
|
+
# specified for MaxConcurrency.
|
6615
|
+
#
|
6543
6616
|
# @return [Types::UpdateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6544
6617
|
#
|
6545
6618
|
# * {Types::UpdateAssociationResult#association_description #association_description} => Types::AssociationDescription
|
@@ -6569,6 +6642,8 @@ module Aws::SSM
|
|
6569
6642
|
# ],
|
6570
6643
|
# association_name: "AssociationName",
|
6571
6644
|
# association_version: "AssociationVersion",
|
6645
|
+
# max_errors: "MaxErrors",
|
6646
|
+
# max_concurrency: "MaxConcurrency",
|
6572
6647
|
# })
|
6573
6648
|
#
|
6574
6649
|
# @example Response structure
|
@@ -6602,6 +6677,8 @@ module Aws::SSM
|
|
6602
6677
|
# resp.association_description.last_execution_date #=> Time
|
6603
6678
|
# resp.association_description.last_successful_execution_date #=> Time
|
6604
6679
|
# resp.association_description.association_name #=> String
|
6680
|
+
# resp.association_description.max_errors #=> String
|
6681
|
+
# resp.association_description.max_concurrency #=> String
|
6605
6682
|
#
|
6606
6683
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociation AWS API Documentation
|
6607
6684
|
#
|
@@ -6672,6 +6749,8 @@ module Aws::SSM
|
|
6672
6749
|
# resp.association_description.last_execution_date #=> Time
|
6673
6750
|
# resp.association_description.last_successful_execution_date #=> Time
|
6674
6751
|
# resp.association_description.association_name #=> String
|
6752
|
+
# resp.association_description.max_errors #=> String
|
6753
|
+
# resp.association_description.max_concurrency #=> String
|
6675
6754
|
#
|
6676
6755
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatus AWS API Documentation
|
6677
6756
|
#
|
@@ -7469,7 +7548,7 @@ module Aws::SSM
|
|
7469
7548
|
params: params,
|
7470
7549
|
config: config)
|
7471
7550
|
context[:gem_name] = 'aws-sdk-ssm'
|
7472
|
-
context[:gem_version] = '1.
|
7551
|
+
context[:gem_version] = '1.29.0'
|
7473
7552
|
Seahorse::Client::Request.new(handlers, context)
|
7474
7553
|
end
|
7475
7554
|
|
@@ -928,6 +928,8 @@ module Aws::SSM
|
|
928
928
|
AssociationDescription.add_member(:last_execution_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastExecutionDate"))
|
929
929
|
AssociationDescription.add_member(:last_successful_execution_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastSuccessfulExecutionDate"))
|
930
930
|
AssociationDescription.add_member(:association_name, Shapes::ShapeRef.new(shape: AssociationName, location_name: "AssociationName"))
|
931
|
+
AssociationDescription.add_member(:max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "MaxErrors"))
|
932
|
+
AssociationDescription.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "MaxConcurrency"))
|
931
933
|
AssociationDescription.struct_class = Types::AssociationDescription
|
932
934
|
|
933
935
|
AssociationDescriptionList.member = Shapes::ShapeRef.new(shape: AssociationDescription)
|
@@ -1004,6 +1006,8 @@ module Aws::SSM
|
|
1004
1006
|
AssociationVersionInfo.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "ScheduleExpression"))
|
1005
1007
|
AssociationVersionInfo.add_member(:output_location, Shapes::ShapeRef.new(shape: InstanceAssociationOutputLocation, location_name: "OutputLocation"))
|
1006
1008
|
AssociationVersionInfo.add_member(:association_name, Shapes::ShapeRef.new(shape: AssociationName, location_name: "AssociationName"))
|
1009
|
+
AssociationVersionInfo.add_member(:max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "MaxErrors"))
|
1010
|
+
AssociationVersionInfo.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "MaxConcurrency"))
|
1007
1011
|
AssociationVersionInfo.struct_class = Types::AssociationVersionInfo
|
1008
1012
|
|
1009
1013
|
AssociationVersionList.member = Shapes::ShapeRef.new(shape: AssociationVersionInfo)
|
@@ -1234,6 +1238,8 @@ module Aws::SSM
|
|
1234
1238
|
CreateAssociationBatchRequestEntry.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "ScheduleExpression"))
|
1235
1239
|
CreateAssociationBatchRequestEntry.add_member(:output_location, Shapes::ShapeRef.new(shape: InstanceAssociationOutputLocation, location_name: "OutputLocation"))
|
1236
1240
|
CreateAssociationBatchRequestEntry.add_member(:association_name, Shapes::ShapeRef.new(shape: AssociationName, location_name: "AssociationName"))
|
1241
|
+
CreateAssociationBatchRequestEntry.add_member(:max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "MaxErrors"))
|
1242
|
+
CreateAssociationBatchRequestEntry.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "MaxConcurrency"))
|
1237
1243
|
CreateAssociationBatchRequestEntry.struct_class = Types::CreateAssociationBatchRequestEntry
|
1238
1244
|
|
1239
1245
|
CreateAssociationBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: AssociationDescriptionList, location_name: "Successful"))
|
@@ -1248,6 +1254,8 @@ module Aws::SSM
|
|
1248
1254
|
CreateAssociationRequest.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "ScheduleExpression"))
|
1249
1255
|
CreateAssociationRequest.add_member(:output_location, Shapes::ShapeRef.new(shape: InstanceAssociationOutputLocation, location_name: "OutputLocation"))
|
1250
1256
|
CreateAssociationRequest.add_member(:association_name, Shapes::ShapeRef.new(shape: AssociationName, location_name: "AssociationName"))
|
1257
|
+
CreateAssociationRequest.add_member(:max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "MaxErrors"))
|
1258
|
+
CreateAssociationRequest.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "MaxConcurrency"))
|
1251
1259
|
CreateAssociationRequest.struct_class = Types::CreateAssociationRequest
|
1252
1260
|
|
1253
1261
|
CreateAssociationResult.add_member(:association_description, Shapes::ShapeRef.new(shape: AssociationDescription, location_name: "AssociationDescription"))
|
@@ -2979,6 +2987,8 @@ module Aws::SSM
|
|
2979
2987
|
UpdateAssociationRequest.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, location_name: "Targets"))
|
2980
2988
|
UpdateAssociationRequest.add_member(:association_name, Shapes::ShapeRef.new(shape: AssociationName, location_name: "AssociationName"))
|
2981
2989
|
UpdateAssociationRequest.add_member(:association_version, Shapes::ShapeRef.new(shape: AssociationVersion, location_name: "AssociationVersion"))
|
2990
|
+
UpdateAssociationRequest.add_member(:max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "MaxErrors"))
|
2991
|
+
UpdateAssociationRequest.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "MaxConcurrency"))
|
2982
2992
|
UpdateAssociationRequest.struct_class = Types::UpdateAssociationRequest
|
2983
2993
|
|
2984
2994
|
UpdateAssociationResult.add_member(:association_description, Shapes::ShapeRef.new(shape: AssociationDescription, location_name: "AssociationDescription"))
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -265,6 +265,37 @@ module Aws::SSM
|
|
265
265
|
# The association name.
|
266
266
|
# @return [String]
|
267
267
|
#
|
268
|
+
# @!attribute [rw] max_errors
|
269
|
+
# The number of errors that are allowed before the system stops
|
270
|
+
# sending requests to run the association on additional targets. You
|
271
|
+
# can specify either an absolute number of errors, for example 10, or
|
272
|
+
# a percentage of the target set, for example 10%. If you specify 3,
|
273
|
+
# for example, the system stops sending requests when the fourth error
|
274
|
+
# is received. If you specify 0, then the system stops sending
|
275
|
+
# requests after the first error is returned. If you run an
|
276
|
+
# association on 50 instances and set MaxError to 10%, then the system
|
277
|
+
# stops sending the request when the sixth error is received.
|
278
|
+
#
|
279
|
+
# Executions that are already running an association when MaxErrors is
|
280
|
+
# reached are allowed to complete, but some of these executions may
|
281
|
+
# fail as well. If you need to ensure that there won't be more than
|
282
|
+
# max-errors failed executions, set MaxConcurrency to 1 so that
|
283
|
+
# executions proceed one at a time.
|
284
|
+
# @return [String]
|
285
|
+
#
|
286
|
+
# @!attribute [rw] max_concurrency
|
287
|
+
# The maximum number of targets allowed to run the association at the
|
288
|
+
# same time. You can specify a number, for example 10, or a percentage
|
289
|
+
# of the target set, for example 10%. The default value is 100%, which
|
290
|
+
# means all targets run the association at the same time.
|
291
|
+
#
|
292
|
+
# If a new instance starts and attempts to execute an association
|
293
|
+
# while Systems Manager is executing MaxConcurrency associations, the
|
294
|
+
# association is allowed to run. During the next association interval,
|
295
|
+
# the new instance will process its association within the limit
|
296
|
+
# specified for MaxConcurrency.
|
297
|
+
# @return [String]
|
298
|
+
#
|
268
299
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationDescription AWS API Documentation
|
269
300
|
#
|
270
301
|
class AssociationDescription < Struct.new(
|
@@ -283,7 +314,9 @@ module Aws::SSM
|
|
283
314
|
:output_location,
|
284
315
|
:last_execution_date,
|
285
316
|
:last_successful_execution_date,
|
286
|
-
:association_name
|
317
|
+
:association_name,
|
318
|
+
:max_errors,
|
319
|
+
:max_concurrency)
|
287
320
|
include Aws::Structure
|
288
321
|
end
|
289
322
|
|
@@ -590,6 +623,37 @@ module Aws::SSM
|
|
590
623
|
# version was created.
|
591
624
|
# @return [String]
|
592
625
|
#
|
626
|
+
# @!attribute [rw] max_errors
|
627
|
+
# The number of errors that are allowed before the system stops
|
628
|
+
# sending requests to run the association on additional targets. You
|
629
|
+
# can specify either an absolute number of errors, for example 10, or
|
630
|
+
# a percentage of the target set, for example 10%. If you specify 3,
|
631
|
+
# for example, the system stops sending requests when the fourth error
|
632
|
+
# is received. If you specify 0, then the system stops sending
|
633
|
+
# requests after the first error is returned. If you run an
|
634
|
+
# association on 50 instances and set MaxError to 10%, then the system
|
635
|
+
# stops sending the request when the sixth error is received.
|
636
|
+
#
|
637
|
+
# Executions that are already running an association when MaxErrors is
|
638
|
+
# reached are allowed to complete, but some of these executions may
|
639
|
+
# fail as well. If you need to ensure that there won't be more than
|
640
|
+
# max-errors failed executions, set MaxConcurrency to 1 so that
|
641
|
+
# executions proceed one at a time.
|
642
|
+
# @return [String]
|
643
|
+
#
|
644
|
+
# @!attribute [rw] max_concurrency
|
645
|
+
# The maximum number of targets allowed to run the association at the
|
646
|
+
# same time. You can specify a number, for example 10, or a percentage
|
647
|
+
# of the target set, for example 10%. The default value is 100%, which
|
648
|
+
# means all targets run the association at the same time.
|
649
|
+
#
|
650
|
+
# If a new instance starts and attempts to execute an association
|
651
|
+
# while Systems Manager is executing MaxConcurrency associations, the
|
652
|
+
# association is allowed to run. During the next association interval,
|
653
|
+
# the new instance will process its association within the limit
|
654
|
+
# specified for MaxConcurrency.
|
655
|
+
# @return [String]
|
656
|
+
#
|
593
657
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationVersionInfo AWS API Documentation
|
594
658
|
#
|
595
659
|
class AssociationVersionInfo < Struct.new(
|
@@ -602,7 +666,9 @@ module Aws::SSM
|
|
602
666
|
:targets,
|
603
667
|
:schedule_expression,
|
604
668
|
:output_location,
|
605
|
-
:association_name
|
669
|
+
:association_name,
|
670
|
+
:max_errors,
|
671
|
+
:max_concurrency)
|
606
672
|
include Aws::Structure
|
607
673
|
end
|
608
674
|
|
@@ -1892,6 +1958,8 @@ module Aws::SSM
|
|
1892
1958
|
# },
|
1893
1959
|
# },
|
1894
1960
|
# association_name: "AssociationName",
|
1961
|
+
# max_errors: "MaxErrors",
|
1962
|
+
# max_concurrency: "MaxConcurrency",
|
1895
1963
|
# },
|
1896
1964
|
# ],
|
1897
1965
|
# }
|
@@ -1935,6 +2003,8 @@ module Aws::SSM
|
|
1935
2003
|
# },
|
1936
2004
|
# },
|
1937
2005
|
# association_name: "AssociationName",
|
2006
|
+
# max_errors: "MaxErrors",
|
2007
|
+
# max_concurrency: "MaxConcurrency",
|
1938
2008
|
# }
|
1939
2009
|
#
|
1940
2010
|
# @!attribute [rw] name
|
@@ -1971,6 +2041,37 @@ module Aws::SSM
|
|
1971
2041
|
# Specify a descriptive name for the association.
|
1972
2042
|
# @return [String]
|
1973
2043
|
#
|
2044
|
+
# @!attribute [rw] max_errors
|
2045
|
+
# The number of errors that are allowed before the system stops
|
2046
|
+
# sending requests to run the association on additional targets. You
|
2047
|
+
# can specify either an absolute number of errors, for example 10, or
|
2048
|
+
# a percentage of the target set, for example 10%. If you specify 3,
|
2049
|
+
# for example, the system stops sending requests when the fourth error
|
2050
|
+
# is received. If you specify 0, then the system stops sending
|
2051
|
+
# requests after the first error is returned. If you run an
|
2052
|
+
# association on 50 instances and set MaxError to 10%, then the system
|
2053
|
+
# stops sending the request when the sixth error is received.
|
2054
|
+
#
|
2055
|
+
# Executions that are already running an association when MaxErrors is
|
2056
|
+
# reached are allowed to complete, but some of these executions may
|
2057
|
+
# fail as well. If you need to ensure that there won't be more than
|
2058
|
+
# max-errors failed executions, set MaxConcurrency to 1 so that
|
2059
|
+
# executions proceed one at a time.
|
2060
|
+
# @return [String]
|
2061
|
+
#
|
2062
|
+
# @!attribute [rw] max_concurrency
|
2063
|
+
# The maximum number of targets allowed to run the association at the
|
2064
|
+
# same time. You can specify a number, for example 10, or a percentage
|
2065
|
+
# of the target set, for example 10%. The default value is 100%, which
|
2066
|
+
# means all targets run the association at the same time.
|
2067
|
+
#
|
2068
|
+
# If a new instance starts and attempts to execute an association
|
2069
|
+
# while Systems Manager is executing MaxConcurrency associations, the
|
2070
|
+
# association is allowed to run. During the next association interval,
|
2071
|
+
# the new instance will process its association within the limit
|
2072
|
+
# specified for MaxConcurrency.
|
2073
|
+
# @return [String]
|
2074
|
+
#
|
1974
2075
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatchRequestEntry AWS API Documentation
|
1975
2076
|
#
|
1976
2077
|
class CreateAssociationBatchRequestEntry < Struct.new(
|
@@ -1981,7 +2082,9 @@ module Aws::SSM
|
|
1981
2082
|
:targets,
|
1982
2083
|
:schedule_expression,
|
1983
2084
|
:output_location,
|
1984
|
-
:association_name
|
2085
|
+
:association_name,
|
2086
|
+
:max_errors,
|
2087
|
+
:max_concurrency)
|
1985
2088
|
include Aws::Structure
|
1986
2089
|
end
|
1987
2090
|
|
@@ -2026,6 +2129,8 @@ module Aws::SSM
|
|
2026
2129
|
# },
|
2027
2130
|
# },
|
2028
2131
|
# association_name: "AssociationName",
|
2132
|
+
# max_errors: "MaxErrors",
|
2133
|
+
# max_concurrency: "MaxConcurrency",
|
2029
2134
|
# }
|
2030
2135
|
#
|
2031
2136
|
# @!attribute [rw] name
|
@@ -2063,6 +2168,37 @@ module Aws::SSM
|
|
2063
2168
|
# Specify a descriptive name for the association.
|
2064
2169
|
# @return [String]
|
2065
2170
|
#
|
2171
|
+
# @!attribute [rw] max_errors
|
2172
|
+
# The number of errors that are allowed before the system stops
|
2173
|
+
# sending requests to run the association on additional targets. You
|
2174
|
+
# can specify either an absolute number of errors, for example 10, or
|
2175
|
+
# a percentage of the target set, for example 10%. If you specify 3,
|
2176
|
+
# for example, the system stops sending requests when the fourth error
|
2177
|
+
# is received. If you specify 0, then the system stops sending
|
2178
|
+
# requests after the first error is returned. If you run an
|
2179
|
+
# association on 50 instances and set MaxError to 10%, then the system
|
2180
|
+
# stops sending the request when the sixth error is received.
|
2181
|
+
#
|
2182
|
+
# Executions that are already running an association when MaxErrors is
|
2183
|
+
# reached are allowed to complete, but some of these executions may
|
2184
|
+
# fail as well. If you need to ensure that there won't be more than
|
2185
|
+
# max-errors failed executions, set MaxConcurrency to 1 so that
|
2186
|
+
# executions proceed one at a time.
|
2187
|
+
# @return [String]
|
2188
|
+
#
|
2189
|
+
# @!attribute [rw] max_concurrency
|
2190
|
+
# The maximum number of targets allowed to run the association at the
|
2191
|
+
# same time. You can specify a number, for example 10, or a percentage
|
2192
|
+
# of the target set, for example 10%. The default value is 100%, which
|
2193
|
+
# means all targets run the association at the same time.
|
2194
|
+
#
|
2195
|
+
# If a new instance starts and attempts to execute an association
|
2196
|
+
# while Systems Manager is executing MaxConcurrency associations, the
|
2197
|
+
# association is allowed to run. During the next association interval,
|
2198
|
+
# the new instance will process its association within the limit
|
2199
|
+
# specified for MaxConcurrency.
|
2200
|
+
# @return [String]
|
2201
|
+
#
|
2066
2202
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationRequest AWS API Documentation
|
2067
2203
|
#
|
2068
2204
|
class CreateAssociationRequest < Struct.new(
|
@@ -2073,7 +2209,9 @@ module Aws::SSM
|
|
2073
2209
|
:targets,
|
2074
2210
|
:schedule_expression,
|
2075
2211
|
:output_location,
|
2076
|
-
:association_name
|
2212
|
+
:association_name,
|
2213
|
+
:max_errors,
|
2214
|
+
:max_concurrency)
|
2077
2215
|
include Aws::Structure
|
2078
2216
|
end
|
2079
2217
|
|
@@ -3633,7 +3771,8 @@ module Aws::SSM
|
|
3633
3771
|
#
|
3634
3772
|
# @!attribute [rw] filters
|
3635
3773
|
# One or more filters. Use a filter to return a more specific list of
|
3636
|
-
# instances.
|
3774
|
+
# instances. You can filter on Amazon EC2 tag. Specify tags by using a
|
3775
|
+
# key-value mapping.
|
3637
3776
|
# @return [Array<Types::InstanceInformationStringFilter>]
|
3638
3777
|
#
|
3639
3778
|
# @!attribute [rw] max_results
|
@@ -3848,8 +3987,7 @@ module Aws::SSM
|
|
3848
3987
|
#
|
3849
3988
|
# Severity (string)
|
3850
3989
|
#
|
3851
|
-
# State (string
|
3852
|
-
# "NOT APPLICABLE", "FAILED")
|
3990
|
+
# State (string, such as "INSTALLED" or "FAILED")
|
3853
3991
|
#
|
3854
3992
|
# InstalledTime (DateTime)
|
3855
3993
|
#
|
@@ -4613,9 +4751,9 @@ module Aws::SSM
|
|
4613
4751
|
#
|
4614
4752
|
# @!attribute [rw] instances_with_installed_rejected_patches
|
4615
4753
|
# The number of instances with patches installed that are specified in
|
4616
|
-
# a RejectedPatches list. Patches with a status of
|
4617
|
-
# were typically installed before they were
|
4618
|
-
# list.
|
4754
|
+
# a RejectedPatches list. Patches with a status of
|
4755
|
+
# *INSTALLED\_REJECTED* were typically installed before they were
|
4756
|
+
# added to a RejectedPatches list.
|
4619
4757
|
#
|
4620
4758
|
# <note markdown="1"> If ALLOW\_AS\_DEPENDENCY is the specified option for
|
4621
4759
|
# RejectedPatchesAction, the value of
|
@@ -9666,8 +9804,14 @@ module Aws::SSM
|
|
9666
9804
|
# @return [String]
|
9667
9805
|
#
|
9668
9806
|
# @!attribute [rw] state
|
9669
|
-
# The state of the patch on the instance
|
9670
|
-
#
|
9807
|
+
# The state of the patch on the instance, such as INSTALLED or FAILED.
|
9808
|
+
#
|
9809
|
+
# For descriptions of each patch state, see [About Patch
|
9810
|
+
# Compliance][1] in the *AWS Systems Manager User Guide*.
|
9811
|
+
#
|
9812
|
+
#
|
9813
|
+
#
|
9814
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-compliance-about.html#sysman-compliance-monitor-patch
|
9671
9815
|
# @return [String]
|
9672
9816
|
#
|
9673
9817
|
# @!attribute [rw] installed_time
|
@@ -10981,7 +11125,7 @@ module Aws::SSM
|
|
10981
11125
|
end
|
10982
11126
|
|
10983
11127
|
# @!attribute [rw] window_task_id
|
10984
|
-
# The
|
11128
|
+
# The ID of the task in the Maintenance Window.
|
10985
11129
|
# @return [String]
|
10986
11130
|
#
|
10987
11131
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTaskWithMaintenanceWindowResult AWS API Documentation
|
@@ -12311,6 +12455,8 @@ module Aws::SSM
|
|
12311
12455
|
# ],
|
12312
12456
|
# association_name: "AssociationName",
|
12313
12457
|
# association_version: "AssociationVersion",
|
12458
|
+
# max_errors: "MaxErrors",
|
12459
|
+
# max_concurrency: "MaxConcurrency",
|
12314
12460
|
# }
|
12315
12461
|
#
|
12316
12462
|
# @!attribute [rw] association_id
|
@@ -12356,6 +12502,37 @@ module Aws::SSM
|
|
12356
12502
|
# or omit this parameter.
|
12357
12503
|
# @return [String]
|
12358
12504
|
#
|
12505
|
+
# @!attribute [rw] max_errors
|
12506
|
+
# The number of errors that are allowed before the system stops
|
12507
|
+
# sending requests to run the association on additional targets. You
|
12508
|
+
# can specify either an absolute number of errors, for example 10, or
|
12509
|
+
# a percentage of the target set, for example 10%. If you specify 3,
|
12510
|
+
# for example, the system stops sending requests when the fourth error
|
12511
|
+
# is received. If you specify 0, then the system stops sending
|
12512
|
+
# requests after the first error is returned. If you run an
|
12513
|
+
# association on 50 instances and set MaxError to 10%, then the system
|
12514
|
+
# stops sending the request when the sixth error is received.
|
12515
|
+
#
|
12516
|
+
# Executions that are already running an association when MaxErrors is
|
12517
|
+
# reached are allowed to complete, but some of these executions may
|
12518
|
+
# fail as well. If you need to ensure that there won't be more than
|
12519
|
+
# max-errors failed executions, set MaxConcurrency to 1 so that
|
12520
|
+
# executions proceed one at a time.
|
12521
|
+
# @return [String]
|
12522
|
+
#
|
12523
|
+
# @!attribute [rw] max_concurrency
|
12524
|
+
# The maximum number of targets allowed to run the association at the
|
12525
|
+
# same time. You can specify a number, for example 10, or a percentage
|
12526
|
+
# of the target set, for example 10%. The default value is 100%, which
|
12527
|
+
# means all targets run the association at the same time.
|
12528
|
+
#
|
12529
|
+
# If a new instance starts and attempts to execute an association
|
12530
|
+
# while Systems Manager is executing MaxConcurrency associations, the
|
12531
|
+
# association is allowed to run. During the next association interval,
|
12532
|
+
# the new instance will process its association within the limit
|
12533
|
+
# specified for MaxConcurrency.
|
12534
|
+
# @return [String]
|
12535
|
+
#
|
12359
12536
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationRequest AWS API Documentation
|
12360
12537
|
#
|
12361
12538
|
class UpdateAssociationRequest < Struct.new(
|
@@ -12367,7 +12544,9 @@ module Aws::SSM
|
|
12367
12544
|
:name,
|
12368
12545
|
:targets,
|
12369
12546
|
:association_name,
|
12370
|
-
:association_version
|
12547
|
+
:association_version,
|
12548
|
+
:max_errors,
|
12549
|
+
:max_concurrency)
|
12371
12550
|
include Aws::Structure
|
12372
12551
|
end
|
12373
12552
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ssm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.29.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: 2018-10-
|
11
|
+
date: 2018-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|