aws-sdk-ssm 1.0.0.rc14 → 1.0.0.rc15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ssm.rb +1 -1
- data/lib/aws-sdk-ssm/client.rb +178 -75
- data/lib/aws-sdk-ssm/client_api.rb +57 -0
- data/lib/aws-sdk-ssm/types.rb +302 -114
- 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: 5588470fe736359c7e583eb1e8cf4846d2f83031
|
4
|
+
data.tar.gz: a5c4bfc2ab1fd1ab198fe3db335d5f022f5e0445
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9152db78831c490f20255d9e7bbbe6171a44a2bd9bbdb45137be4750e3dbb6be6a5f78afee21f04723ae2dd086ff2ed22817895632477a977a74d1b08366303
|
7
|
+
data.tar.gz: 7b2ecd525a27b10c6cd8e823daa438f51e0c0f9965b27d87ba38721bca8dc8fb3eceee2e7ba12c7a8cc16ee33a5efc5e09283342c8715d5b4fbfd28a4686de1a
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -343,6 +343,9 @@ module Aws::SSM
|
|
343
343
|
# An Amazon S3 bucket where you want to store the output details of the
|
344
344
|
# request.
|
345
345
|
#
|
346
|
+
# @option params [String] :association_name
|
347
|
+
# Specify a descriptive name for the association.
|
348
|
+
#
|
346
349
|
# @return [Types::CreateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
347
350
|
#
|
348
351
|
# * {Types::CreateAssociationResult#association_description #association_description} => Types::AssociationDescription
|
@@ -370,12 +373,14 @@ module Aws::SSM
|
|
370
373
|
# output_s3_key_prefix: "S3KeyPrefix",
|
371
374
|
# },
|
372
375
|
# },
|
376
|
+
# association_name: "AssociationName",
|
373
377
|
# })
|
374
378
|
#
|
375
379
|
# @example Response structure
|
376
380
|
#
|
377
381
|
# resp.association_description.name #=> String
|
378
382
|
# resp.association_description.instance_id #=> String
|
383
|
+
# resp.association_description.association_version #=> String
|
379
384
|
# resp.association_description.date #=> Time
|
380
385
|
# resp.association_description.last_update_association_date #=> Time
|
381
386
|
# resp.association_description.status.date #=> Time
|
@@ -401,6 +406,7 @@ module Aws::SSM
|
|
401
406
|
# resp.association_description.output_location.s3_location.output_s3_key_prefix #=> String
|
402
407
|
# resp.association_description.last_execution_date #=> Time
|
403
408
|
# resp.association_description.last_successful_execution_date #=> Time
|
409
|
+
# resp.association_description.association_name #=> String
|
404
410
|
#
|
405
411
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociation AWS API Documentation
|
406
412
|
#
|
@@ -455,6 +461,7 @@ module Aws::SSM
|
|
455
461
|
# output_s3_key_prefix: "S3KeyPrefix",
|
456
462
|
# },
|
457
463
|
# },
|
464
|
+
# association_name: "AssociationName",
|
458
465
|
# },
|
459
466
|
# ],
|
460
467
|
# })
|
@@ -464,6 +471,7 @@ module Aws::SSM
|
|
464
471
|
# resp.successful #=> Array
|
465
472
|
# resp.successful[0].name #=> String
|
466
473
|
# resp.successful[0].instance_id #=> String
|
474
|
+
# resp.successful[0].association_version #=> String
|
467
475
|
# resp.successful[0].date #=> Time
|
468
476
|
# resp.successful[0].last_update_association_date #=> Time
|
469
477
|
# resp.successful[0].status.date #=> Time
|
@@ -489,6 +497,7 @@ module Aws::SSM
|
|
489
497
|
# resp.successful[0].output_location.s3_location.output_s3_key_prefix #=> String
|
490
498
|
# resp.successful[0].last_execution_date #=> Time
|
491
499
|
# resp.successful[0].last_successful_execution_date #=> Time
|
500
|
+
# resp.successful[0].association_name #=> String
|
492
501
|
# resp.failed #=> Array
|
493
502
|
# resp.failed[0].entry.name #=> String
|
494
503
|
# resp.failed[0].entry.instance_id #=> String
|
@@ -504,6 +513,7 @@ module Aws::SSM
|
|
504
513
|
# resp.failed[0].entry.output_location.s3_location.output_s3_region #=> String
|
505
514
|
# resp.failed[0].entry.output_location.s3_location.output_s3_bucket_name #=> String
|
506
515
|
# resp.failed[0].entry.output_location.s3_location.output_s3_key_prefix #=> String
|
516
|
+
# resp.failed[0].entry.association_name #=> String
|
507
517
|
# resp.failed[0].message #=> String
|
508
518
|
# resp.failed[0].fault #=> String, one of "Client", "Server", "Unknown"
|
509
519
|
#
|
@@ -582,7 +592,7 @@ module Aws::SSM
|
|
582
592
|
#
|
583
593
|
# @option params [String] :description
|
584
594
|
# An optional description for the Maintenance Window. We recommend
|
585
|
-
# specifying a description to help
|
595
|
+
# specifying a description to help you organize your Maintenance
|
586
596
|
# Windows.
|
587
597
|
#
|
588
598
|
# @option params [required, String] :schedule
|
@@ -597,8 +607,14 @@ module Aws::SSM
|
|
597
607
|
# Systems Manager stops scheduling new tasks for execution.
|
598
608
|
#
|
599
609
|
# @option params [required, Boolean] :allow_unassociated_targets
|
600
|
-
#
|
601
|
-
#
|
610
|
+
# Enables a Maintenance Window task to execute on managed instances,
|
611
|
+
# even if you have not registered those instances as targets. If
|
612
|
+
# enabled, then you must specify the unregistered instances (by instance
|
613
|
+
# ID) when you register a task with the Maintenance Window
|
614
|
+
#
|
615
|
+
# If you don't enable this option, then you must specify
|
616
|
+
# previously-registered targets when you register a task with the
|
617
|
+
# Maintenance Window.
|
602
618
|
#
|
603
619
|
# @option params [String] :client_token
|
604
620
|
# User-provided idempotency token.
|
@@ -1070,7 +1086,7 @@ module Aws::SSM
|
|
1070
1086
|
#
|
1071
1087
|
# @option params [Boolean] :safe
|
1072
1088
|
# The system checks if the target is being referenced by a task. If the
|
1073
|
-
# target is being referenced, the system returns
|
1089
|
+
# target is being referenced, the system returns an error and does not
|
1074
1090
|
# deregister the target from the Maintenance Window.
|
1075
1091
|
#
|
1076
1092
|
# @return [Types::DeregisterTargetFromMaintenanceWindowResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1204,6 +1220,13 @@ module Aws::SSM
|
|
1204
1220
|
# @option params [String] :association_id
|
1205
1221
|
# The association ID for which you want information.
|
1206
1222
|
#
|
1223
|
+
# @option params [String] :association_version
|
1224
|
+
# Specify the association version to retrieve. To view the latest
|
1225
|
+
# version, either specify `$LATEST` for this parameter, or omit this
|
1226
|
+
# parameter. To view a list of all associations for an instance, use
|
1227
|
+
# ListInstanceAssociations. To get a list of versions for a specific
|
1228
|
+
# association, use ListAssociationVersions.
|
1229
|
+
#
|
1207
1230
|
# @return [Types::DescribeAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1208
1231
|
#
|
1209
1232
|
# * {Types::DescribeAssociationResult#association_description #association_description} => Types::AssociationDescription
|
@@ -1214,12 +1237,14 @@ module Aws::SSM
|
|
1214
1237
|
# name: "DocumentName",
|
1215
1238
|
# instance_id: "InstanceId",
|
1216
1239
|
# association_id: "AssociationId",
|
1240
|
+
# association_version: "AssociationVersion",
|
1217
1241
|
# })
|
1218
1242
|
#
|
1219
1243
|
# @example Response structure
|
1220
1244
|
#
|
1221
1245
|
# resp.association_description.name #=> String
|
1222
1246
|
# resp.association_description.instance_id #=> String
|
1247
|
+
# resp.association_description.association_version #=> String
|
1223
1248
|
# resp.association_description.date #=> Time
|
1224
1249
|
# resp.association_description.last_update_association_date #=> Time
|
1225
1250
|
# resp.association_description.status.date #=> Time
|
@@ -1245,6 +1270,7 @@ module Aws::SSM
|
|
1245
1270
|
# resp.association_description.output_location.s3_location.output_s3_key_prefix #=> String
|
1246
1271
|
# resp.association_description.last_execution_date #=> Time
|
1247
1272
|
# resp.association_description.last_successful_execution_date #=> Time
|
1273
|
+
# resp.association_description.association_name #=> String
|
1248
1274
|
#
|
1249
1275
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociation AWS API Documentation
|
1250
1276
|
#
|
@@ -1492,6 +1518,7 @@ module Aws::SSM
|
|
1492
1518
|
# resp.associations[0].association_id #=> String
|
1493
1519
|
# resp.associations[0].instance_id #=> String
|
1494
1520
|
# resp.associations[0].content #=> String
|
1521
|
+
# resp.associations[0].association_version #=> String
|
1495
1522
|
# resp.next_token #=> String
|
1496
1523
|
#
|
1497
1524
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectiveInstanceAssociations AWS API Documentation
|
@@ -1593,6 +1620,7 @@ module Aws::SSM
|
|
1593
1620
|
# resp.instance_association_status_infos[0].association_id #=> String
|
1594
1621
|
# resp.instance_association_status_infos[0].name #=> String
|
1595
1622
|
# resp.instance_association_status_infos[0].document_version #=> String
|
1623
|
+
# resp.instance_association_status_infos[0].association_version #=> String
|
1596
1624
|
# resp.instance_association_status_infos[0].instance_id #=> String
|
1597
1625
|
# resp.instance_association_status_infos[0].execution_date #=> Time
|
1598
1626
|
# resp.instance_association_status_infos[0].status #=> String
|
@@ -1600,6 +1628,7 @@ module Aws::SSM
|
|
1600
1628
|
# resp.instance_association_status_infos[0].execution_summary #=> String
|
1601
1629
|
# resp.instance_association_status_infos[0].error_code #=> String
|
1602
1630
|
# resp.instance_association_status_infos[0].output_url.s3_output_url.output_url #=> String
|
1631
|
+
# resp.instance_association_status_infos[0].association_name #=> String
|
1603
1632
|
# resp.next_token #=> String
|
1604
1633
|
#
|
1605
1634
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceAssociationsStatus AWS API Documentation
|
@@ -2990,7 +3019,8 @@ module Aws::SSM
|
|
2990
3019
|
# all invocations.
|
2991
3020
|
#
|
2992
3021
|
# @option params [required, String] :window_execution_id
|
2993
|
-
# The ID of the Maintenance Window execution the task is
|
3022
|
+
# The ID of the Maintenance Window execution for which the task is a
|
3023
|
+
# part.
|
2994
3024
|
#
|
2995
3025
|
# @option params [required, String] :task_id
|
2996
3026
|
# The ID of the specific task in the Maintenance Window task that should
|
@@ -3442,6 +3472,65 @@ module Aws::SSM
|
|
3442
3472
|
req.send_request(options)
|
3443
3473
|
end
|
3444
3474
|
|
3475
|
+
# Retrieves all versions of an association for a specific association
|
3476
|
+
# ID.
|
3477
|
+
#
|
3478
|
+
# @option params [required, String] :association_id
|
3479
|
+
# The association ID for which you want to view all versions.
|
3480
|
+
#
|
3481
|
+
# @option params [Integer] :max_results
|
3482
|
+
# The maximum number of items to return for this call. The call also
|
3483
|
+
# returns a token that you can specify in a subsequent call to get the
|
3484
|
+
# next set of results.
|
3485
|
+
#
|
3486
|
+
# @option params [String] :next_token
|
3487
|
+
# A token to start the list. Use this token to get the next set of
|
3488
|
+
# results.
|
3489
|
+
#
|
3490
|
+
# @return [Types::ListAssociationVersionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3491
|
+
#
|
3492
|
+
# * {Types::ListAssociationVersionsResult#association_versions #association_versions} => Array<Types::AssociationVersionInfo>
|
3493
|
+
# * {Types::ListAssociationVersionsResult#next_token #next_token} => String
|
3494
|
+
#
|
3495
|
+
# @example Request syntax with placeholder values
|
3496
|
+
#
|
3497
|
+
# resp = client.list_association_versions({
|
3498
|
+
# association_id: "AssociationId", # required
|
3499
|
+
# max_results: 1,
|
3500
|
+
# next_token: "NextToken",
|
3501
|
+
# })
|
3502
|
+
#
|
3503
|
+
# @example Response structure
|
3504
|
+
#
|
3505
|
+
# resp.association_versions #=> Array
|
3506
|
+
# resp.association_versions[0].association_id #=> String
|
3507
|
+
# resp.association_versions[0].association_version #=> String
|
3508
|
+
# resp.association_versions[0].created_date #=> Time
|
3509
|
+
# resp.association_versions[0].name #=> String
|
3510
|
+
# resp.association_versions[0].document_version #=> String
|
3511
|
+
# resp.association_versions[0].parameters #=> Hash
|
3512
|
+
# resp.association_versions[0].parameters["ParameterName"] #=> Array
|
3513
|
+
# resp.association_versions[0].parameters["ParameterName"][0] #=> String
|
3514
|
+
# resp.association_versions[0].targets #=> Array
|
3515
|
+
# resp.association_versions[0].targets[0].key #=> String
|
3516
|
+
# resp.association_versions[0].targets[0].values #=> Array
|
3517
|
+
# resp.association_versions[0].targets[0].values[0] #=> String
|
3518
|
+
# resp.association_versions[0].schedule_expression #=> String
|
3519
|
+
# resp.association_versions[0].output_location.s3_location.output_s3_region #=> String
|
3520
|
+
# resp.association_versions[0].output_location.s3_location.output_s3_bucket_name #=> String
|
3521
|
+
# resp.association_versions[0].output_location.s3_location.output_s3_key_prefix #=> String
|
3522
|
+
# resp.association_versions[0].association_name #=> String
|
3523
|
+
# resp.next_token #=> String
|
3524
|
+
#
|
3525
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersions AWS API Documentation
|
3526
|
+
#
|
3527
|
+
# @overload list_association_versions(params = {})
|
3528
|
+
# @param [Hash] params ({})
|
3529
|
+
def list_association_versions(params = {}, options = {})
|
3530
|
+
req = build_request(:list_association_versions, params)
|
3531
|
+
req.send_request(options)
|
3532
|
+
end
|
3533
|
+
|
3445
3534
|
# Lists the associations for the specified Systems Manager document or
|
3446
3535
|
# instance.
|
3447
3536
|
#
|
@@ -3468,7 +3557,7 @@ module Aws::SSM
|
|
3468
3557
|
# resp = client.list_associations({
|
3469
3558
|
# association_filter_list: [
|
3470
3559
|
# {
|
3471
|
-
# key: "InstanceId", # required, accepts InstanceId, Name, AssociationId, AssociationStatusName, LastExecutedBefore, LastExecutedAfter
|
3560
|
+
# key: "InstanceId", # required, accepts InstanceId, Name, AssociationId, AssociationStatusName, LastExecutedBefore, LastExecutedAfter, AssociationName
|
3472
3561
|
# value: "AssociationFilterValue", # required
|
3473
3562
|
# },
|
3474
3563
|
# ],
|
@@ -3482,6 +3571,7 @@ module Aws::SSM
|
|
3482
3571
|
# resp.associations[0].name #=> String
|
3483
3572
|
# resp.associations[0].instance_id #=> String
|
3484
3573
|
# resp.associations[0].association_id #=> String
|
3574
|
+
# resp.associations[0].association_version #=> String
|
3485
3575
|
# resp.associations[0].document_version #=> String
|
3486
3576
|
# resp.associations[0].targets #=> Array
|
3487
3577
|
# resp.associations[0].targets[0].key #=> String
|
@@ -3493,6 +3583,7 @@ module Aws::SSM
|
|
3493
3583
|
# resp.associations[0].overview.association_status_aggregated_count #=> Hash
|
3494
3584
|
# resp.associations[0].overview.association_status_aggregated_count["StatusName"] #=> Integer
|
3495
3585
|
# resp.associations[0].schedule_expression #=> String
|
3586
|
+
# resp.associations[0].association_name #=> String
|
3496
3587
|
# resp.next_token #=> String
|
3497
3588
|
#
|
3498
3589
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociations AWS API Documentation
|
@@ -3682,23 +3773,22 @@ module Aws::SSM
|
|
3682
3773
|
req.send_request(options)
|
3683
3774
|
end
|
3684
3775
|
|
3685
|
-
# For a specified resource ID, this API returns a list of
|
3686
|
-
# statuses for different resource types. Currently, you can
|
3687
|
-
# one resource ID per call. List results depend on the
|
3688
|
-
# specified in the filter.
|
3776
|
+
# For a specified resource ID, this API action returns a list of
|
3777
|
+
# compliance statuses for different resource types. Currently, you can
|
3778
|
+
# only specify one resource ID per call. List results depend on the
|
3779
|
+
# criteria specified in the filter.
|
3689
3780
|
#
|
3690
3781
|
# @option params [Array<Types::ComplianceStringFilter>] :filters
|
3691
3782
|
# One or more compliance filters. Use a filter to return a more specific
|
3692
3783
|
# list of results.
|
3693
3784
|
#
|
3694
3785
|
# @option params [Array<String>] :resource_ids
|
3695
|
-
# The ID for the resources from which
|
3696
|
-
#
|
3786
|
+
# The ID for the resources from which to get compliance information.
|
3787
|
+
# Currently, you can only specify one resource ID.
|
3697
3788
|
#
|
3698
3789
|
# @option params [Array<String>] :resource_types
|
3699
|
-
# The type of resource from which
|
3700
|
-
#
|
3701
|
-
# `ManagedInstance`.
|
3790
|
+
# The type of resource from which to get compliance information.
|
3791
|
+
# Currently, the only supported resource type is `ManagedInstance`.
|
3702
3792
|
#
|
3703
3793
|
# @option params [String] :next_token
|
3704
3794
|
# A token to start the list. Use this token to get the next set of
|
@@ -3759,7 +3849,7 @@ module Aws::SSM
|
|
3759
3849
|
# Returns a summary count of compliant and non-compliant resources for a
|
3760
3850
|
# compliance type. For example, this call can return State Manager
|
3761
3851
|
# associations, patches, or custom compliance types according to the
|
3762
|
-
# filter criteria you specify.
|
3852
|
+
# filter criteria that you specify.
|
3763
3853
|
#
|
3764
3854
|
# @option params [Array<Types::ComplianceStringFilter>] :filters
|
3765
3855
|
# One or more compliance or inventory filters. Use a filter to return a
|
@@ -4195,10 +4285,10 @@ module Aws::SSM
|
|
4195
4285
|
end
|
4196
4286
|
|
4197
4287
|
# Registers a compliance type and other compliance details on a
|
4198
|
-
# designated resource. This
|
4288
|
+
# designated resource. This action lets you register custom compliance
|
4199
4289
|
# details with a resource. This call overwrites existing compliance
|
4200
4290
|
# information on the resource, so you must provide a full list of
|
4201
|
-
# compliance items each time you send the request.
|
4291
|
+
# compliance items each time that you send the request.
|
4202
4292
|
#
|
4203
4293
|
# @option params [required, String] :resource_id
|
4204
4294
|
# Specify an ID for this resource. For a managed instance, this is the
|
@@ -4224,9 +4314,9 @@ module Aws::SSM
|
|
4224
4314
|
# about the PatchSeverity, Classification, etc.
|
4225
4315
|
#
|
4226
4316
|
# @option params [String] :item_content_hash
|
4227
|
-
# MD5 or
|
4317
|
+
# MD5 or SHA-256 content hash. The content hash is used to determine if
|
4228
4318
|
# existing information should be overwritten or ignored. If the content
|
4229
|
-
# hashes match,
|
4319
|
+
# hashes match, the request to put compliance information is ignored.
|
4230
4320
|
#
|
4231
4321
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4232
4322
|
#
|
@@ -4510,8 +4600,9 @@ module Aws::SSM
|
|
4510
4600
|
# The parameters that should be passed to the task when it is executed.
|
4511
4601
|
#
|
4512
4602
|
# @option params [Types::MaintenanceWindowTaskInvocationParameters] :task_invocation_parameters
|
4513
|
-
#
|
4514
|
-
# fields that match the task type. All other fields should be
|
4603
|
+
# The parameters that the task should use during execution. Populate
|
4604
|
+
# only the fields that match the task type. All other fields should be
|
4605
|
+
# empty.
|
4515
4606
|
#
|
4516
4607
|
# @option params [Integer] :priority
|
4517
4608
|
# The priority of the task in the Maintenance Window, the lower the
|
@@ -4923,8 +5014,9 @@ module Aws::SSM
|
|
4923
5014
|
req.send_request(options)
|
4924
5015
|
end
|
4925
5016
|
|
4926
|
-
# Updates an association. You can
|
4927
|
-
# schedule, parameters, and Amazon S3
|
5017
|
+
# Updates an association. You can update the association name and
|
5018
|
+
# version, the document version, schedule, parameters, and Amazon S3
|
5019
|
+
# output.
|
4928
5020
|
#
|
4929
5021
|
# @option params [required, String] :association_id
|
4930
5022
|
# The ID of the association you want to update.
|
@@ -4951,6 +5043,15 @@ module Aws::SSM
|
|
4951
5043
|
# @option params [Array<Types::Target>] :targets
|
4952
5044
|
# The targets of the association.
|
4953
5045
|
#
|
5046
|
+
# @option params [String] :association_name
|
5047
|
+
# The name of the association that you want to update.
|
5048
|
+
#
|
5049
|
+
# @option params [String] :association_version
|
5050
|
+
# This parameter is provided for concurrency control purposes. You must
|
5051
|
+
# specify the latest association version in the service. If you want to
|
5052
|
+
# ensure that this request succeeds, either specify `$LATEST`, or omit
|
5053
|
+
# this parameter.
|
5054
|
+
#
|
4954
5055
|
# @return [Types::UpdateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4955
5056
|
#
|
4956
5057
|
# * {Types::UpdateAssociationResult#association_description #association_description} => Types::AssociationDescription
|
@@ -4978,12 +5079,15 @@ module Aws::SSM
|
|
4978
5079
|
# values: ["TargetValue"],
|
4979
5080
|
# },
|
4980
5081
|
# ],
|
5082
|
+
# association_name: "AssociationName",
|
5083
|
+
# association_version: "AssociationVersion",
|
4981
5084
|
# })
|
4982
5085
|
#
|
4983
5086
|
# @example Response structure
|
4984
5087
|
#
|
4985
5088
|
# resp.association_description.name #=> String
|
4986
5089
|
# resp.association_description.instance_id #=> String
|
5090
|
+
# resp.association_description.association_version #=> String
|
4987
5091
|
# resp.association_description.date #=> Time
|
4988
5092
|
# resp.association_description.last_update_association_date #=> Time
|
4989
5093
|
# resp.association_description.status.date #=> Time
|
@@ -5009,6 +5113,7 @@ module Aws::SSM
|
|
5009
5113
|
# resp.association_description.output_location.s3_location.output_s3_key_prefix #=> String
|
5010
5114
|
# resp.association_description.last_execution_date #=> Time
|
5011
5115
|
# resp.association_description.last_successful_execution_date #=> Time
|
5116
|
+
# resp.association_description.association_name #=> String
|
5012
5117
|
#
|
5013
5118
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociation AWS API Documentation
|
5014
5119
|
#
|
@@ -5052,6 +5157,7 @@ module Aws::SSM
|
|
5052
5157
|
#
|
5053
5158
|
# resp.association_description.name #=> String
|
5054
5159
|
# resp.association_description.instance_id #=> String
|
5160
|
+
# resp.association_description.association_version #=> String
|
5055
5161
|
# resp.association_description.date #=> Time
|
5056
5162
|
# resp.association_description.last_update_association_date #=> Time
|
5057
5163
|
# resp.association_description.status.date #=> Time
|
@@ -5077,6 +5183,7 @@ module Aws::SSM
|
|
5077
5183
|
# resp.association_description.output_location.s3_location.output_s3_key_prefix #=> String
|
5078
5184
|
# resp.association_description.last_execution_date #=> Time
|
5079
5185
|
# resp.association_description.last_successful_execution_date #=> Time
|
5186
|
+
# resp.association_description.association_name #=> String
|
5080
5187
|
#
|
5081
5188
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatus AWS API Documentation
|
5082
5189
|
#
|
@@ -5208,9 +5315,9 @@ module Aws::SSM
|
|
5208
5315
|
# Whether the Maintenance Window is enabled.
|
5209
5316
|
#
|
5210
5317
|
# @option params [Boolean] :replace
|
5211
|
-
# If
|
5212
|
-
# CreateMaintenanceWindow
|
5213
|
-
# Optional fields that are not specified
|
5318
|
+
# If True, then all fields that are required by the
|
5319
|
+
# CreateMaintenanceWindow action are also required for this API request.
|
5320
|
+
# Optional fields that are not specified are set to null.
|
5214
5321
|
#
|
5215
5322
|
# @return [Types::UpdateMaintenanceWindowResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5216
5323
|
#
|
@@ -5263,27 +5370,26 @@ module Aws::SSM
|
|
5263
5370
|
# The target from being an ID target to a Tag target, or a Tag target to
|
5264
5371
|
# an ID target.
|
5265
5372
|
#
|
5266
|
-
#
|
5373
|
+
# IDs for an ID target.
|
5267
5374
|
#
|
5268
|
-
#
|
5375
|
+
# Tags for a Tag target.
|
5269
5376
|
#
|
5270
|
-
#
|
5377
|
+
# Owner.
|
5271
5378
|
#
|
5272
|
-
#
|
5379
|
+
# Name.
|
5273
5380
|
#
|
5274
|
-
#
|
5381
|
+
# Description.
|
5275
5382
|
#
|
5276
|
-
#
|
5277
|
-
# not modified.
|
5383
|
+
# If a parameter is null, then the corresponding field is not modified.
|
5278
5384
|
#
|
5279
5385
|
# @option params [required, String] :window_id
|
5280
|
-
# The Maintenance Window ID
|
5386
|
+
# The Maintenance Window ID with which to modify the target.
|
5281
5387
|
#
|
5282
5388
|
# @option params [required, String] :window_target_id
|
5283
|
-
# The target ID
|
5389
|
+
# The target ID to modify.
|
5284
5390
|
#
|
5285
5391
|
# @option params [Array<Types::Target>] :targets
|
5286
|
-
# The targets
|
5392
|
+
# The targets to add or replace.
|
5287
5393
|
#
|
5288
5394
|
# @option params [String] :owner_information
|
5289
5395
|
# User-provided value that will be included in any CloudWatch events
|
@@ -5297,9 +5403,9 @@ module Aws::SSM
|
|
5297
5403
|
# An optional description for the update.
|
5298
5404
|
#
|
5299
5405
|
# @option params [Boolean] :replace
|
5300
|
-
# If
|
5301
|
-
# RegisterTargetWithMaintenanceWindow
|
5302
|
-
# request. Optional fields that are not specified
|
5406
|
+
# If True, then all fields that are required by the
|
5407
|
+
# RegisterTargetWithMaintenanceWindow action are also required for this
|
5408
|
+
# API request. Optional fields that are not specified are set to null.
|
5303
5409
|
#
|
5304
5410
|
# @return [Types::UpdateMaintenanceWindowTargetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5305
5411
|
#
|
@@ -5349,49 +5455,46 @@ module Aws::SSM
|
|
5349
5455
|
end
|
5350
5456
|
|
5351
5457
|
# Modifies a task assigned to a Maintenance Window. You can't change
|
5352
|
-
# the task type, but you can change the following:
|
5458
|
+
# the task type, but you can change the following values:
|
5353
5459
|
#
|
5354
|
-
#
|
5460
|
+
# Task ARN. For example, you can change a RUN\_COMMAND task from
|
5355
5461
|
# AWS-RunPowerShellScript to AWS-RunShellScript.
|
5356
5462
|
#
|
5357
|
-
#
|
5463
|
+
# Service role ARN.
|
5358
5464
|
#
|
5359
|
-
#
|
5465
|
+
# Task parameters.
|
5360
5466
|
#
|
5361
|
-
#
|
5467
|
+
# Task priority.
|
5362
5468
|
#
|
5363
|
-
#
|
5469
|
+
# Task MaxConcurrency and MaxErrors.
|
5364
5470
|
#
|
5365
|
-
#
|
5471
|
+
# Log location.
|
5366
5472
|
#
|
5367
5473
|
# If a parameter is null, then the corresponding field is not modified.
|
5368
5474
|
# Also, if you set Replace to true, then all fields required by the
|
5369
|
-
# RegisterTaskWithMaintenanceWindow
|
5370
|
-
# request. Optional fields that aren't specified are
|
5475
|
+
# RegisterTaskWithMaintenanceWindow action are required for this
|
5476
|
+
# request. Optional fields that aren't specified are set to null.
|
5371
5477
|
#
|
5372
5478
|
# @option params [required, String] :window_id
|
5373
|
-
# The Maintenance Window ID that contains the task
|
5374
|
-
# modify.
|
5479
|
+
# The Maintenance Window ID that contains the task to modify.
|
5375
5480
|
#
|
5376
5481
|
# @option params [required, String] :window_task_id
|
5377
|
-
# The task ID
|
5482
|
+
# The task ID to modify.
|
5378
5483
|
#
|
5379
5484
|
# @option params [Array<Types::Target>] :targets
|
5380
|
-
# The targets (either instances or tags)
|
5381
|
-
#
|
5382
|
-
# Key=
|
5383
|
-
# using Key=tag\_name,Values=tag\_value.
|
5485
|
+
# The targets (either instances or tags) to modify. Instances are
|
5486
|
+
# specified using Key=instanceids,Values=instanceID\_1,instanceID\_2.
|
5487
|
+
# Tags are specified using Key=tag\_name,Values=tag\_value.
|
5384
5488
|
#
|
5385
5489
|
# @option params [String] :task_arn
|
5386
|
-
# The task ARN
|
5490
|
+
# The task ARN to modify.
|
5387
5491
|
#
|
5388
5492
|
# @option params [String] :service_role_arn
|
5389
|
-
# The IAM service role ARN
|
5390
|
-
#
|
5493
|
+
# The IAM service role ARN to modify. The system assumes this role
|
5494
|
+
# during task execution.
|
5391
5495
|
#
|
5392
5496
|
# @option params [Hash<String,Types::MaintenanceWindowTaskParameterValueExpression>] :task_parameters
|
5393
|
-
# The parameters
|
5394
|
-
# format:
|
5497
|
+
# The parameters to modify. The map has the following format:
|
5395
5498
|
#
|
5396
5499
|
# Key: string, between 1 and 255 characters
|
5397
5500
|
#
|
@@ -5399,13 +5502,13 @@ module Aws::SSM
|
|
5399
5502
|
# characters
|
5400
5503
|
#
|
5401
5504
|
# @option params [Types::MaintenanceWindowTaskInvocationParameters] :task_invocation_parameters
|
5402
|
-
#
|
5403
|
-
# fields that match the task type. All other fields should be
|
5505
|
+
# The parameters that the task should use during execution. Populate
|
5506
|
+
# only the fields that match the task type. All other fields should be
|
5507
|
+
# empty.
|
5404
5508
|
#
|
5405
5509
|
# @option params [Integer] :priority
|
5406
|
-
# The new task priority
|
5407
|
-
#
|
5408
|
-
# scheduled in parallel.
|
5510
|
+
# The new task priority to specify. The lower the number, the higher the
|
5511
|
+
# priority. Tasks that have the same priority are scheduled in parallel.
|
5409
5512
|
#
|
5410
5513
|
# @option params [String] :max_concurrency
|
5411
5514
|
# The new `MaxConcurrency` value you want to specify. `MaxConcurrency`
|
@@ -5413,23 +5516,23 @@ module Aws::SSM
|
|
5413
5516
|
# parallel.
|
5414
5517
|
#
|
5415
5518
|
# @option params [String] :max_errors
|
5416
|
-
# The new `MaxErrors` value
|
5417
|
-
#
|
5519
|
+
# The new `MaxErrors` value to specify. `MaxErrors` is the maximum
|
5520
|
+
# number of errors that are allowed before the task stops being
|
5418
5521
|
# scheduled.
|
5419
5522
|
#
|
5420
5523
|
# @option params [Types::LoggingInfo] :logging_info
|
5421
|
-
# The new logging location in Amazon S3
|
5524
|
+
# The new logging location in Amazon S3 to specify.
|
5422
5525
|
#
|
5423
5526
|
# @option params [String] :name
|
5424
|
-
# The new task name
|
5527
|
+
# The new task name to specify.
|
5425
5528
|
#
|
5426
5529
|
# @option params [String] :description
|
5427
|
-
# The new task description
|
5530
|
+
# The new task description to specify.
|
5428
5531
|
#
|
5429
5532
|
# @option params [Boolean] :replace
|
5430
|
-
# If
|
5431
|
-
# RegisterTaskWithMaintenanceWndow
|
5432
|
-
# request. Optional fields that are not specified
|
5533
|
+
# If True, then all fields that are required by the
|
5534
|
+
# RegisterTaskWithMaintenanceWndow action are also required for this API
|
5535
|
+
# request. Optional fields that are not specified are set to null.
|
5433
5536
|
#
|
5434
5537
|
# @return [Types::UpdateMaintenanceWindowTaskResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5435
5538
|
#
|
@@ -5716,7 +5819,7 @@ module Aws::SSM
|
|
5716
5819
|
params: params,
|
5717
5820
|
config: config)
|
5718
5821
|
context[:gem_name] = 'aws-sdk-ssm'
|
5719
|
-
context[:gem_version] = '1.0.0.
|
5822
|
+
context[:gem_version] = '1.0.0.rc15'
|
5720
5823
|
Seahorse::Client::Request.new(handlers, context)
|
5721
5824
|
end
|
5722
5825
|
|