aws-sdk-ssm 1.52.0 → 1.53.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 +68 -45
- data/lib/aws-sdk-ssm/types.rb +90 -55
- 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: b929bb2bce1c3748ef6c2127690634bb9148d437
|
4
|
+
data.tar.gz: a178be1ec4d58a4b61f109cd2ffa5d8e5f3bd6da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c2544a15edeec45654a051bb2123f60fa7b90f8ff0cfe43d7278401692be56f1437c94a09ebde04a2fe1391138d0b6f6f9828ede97d96320eecee9b016fa4cd
|
7
|
+
data.tar.gz: 69e9aed43398a35eca89ce884a97bdb1e60d852525be0ab470332066e1f8cb61093da4b89d6028c71a6899af706e7a4d3bb898c7abf3da0333f351b06d264a90
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -1478,12 +1478,12 @@ module Aws::SSM
|
|
1478
1478
|
# The name of the document.
|
1479
1479
|
#
|
1480
1480
|
# @option params [String] :document_version
|
1481
|
-
#
|
1482
|
-
#
|
1481
|
+
# The version of the document that you want to delete. If not provided,
|
1482
|
+
# all versions of the document are deleted.
|
1483
1483
|
#
|
1484
1484
|
# @option params [String] :version_name
|
1485
|
-
#
|
1486
|
-
#
|
1485
|
+
# The version name of the document that you want to delete. If not
|
1486
|
+
# provided, all versions of the document are deleted.
|
1487
1487
|
#
|
1488
1488
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1489
1489
|
#
|
@@ -1624,8 +1624,7 @@ module Aws::SSM
|
|
1624
1624
|
req.send_request(options)
|
1625
1625
|
end
|
1626
1626
|
|
1627
|
-
# Delete a list of parameters.
|
1628
|
-
# using the Amazon EC2 console.
|
1627
|
+
# Delete a list of parameters.
|
1629
1628
|
#
|
1630
1629
|
# @option params [required, Array<String>] :names
|
1631
1630
|
# The names of the parameters to delete.
|
@@ -1845,10 +1844,10 @@ module Aws::SSM
|
|
1845
1844
|
req.send_request(options)
|
1846
1845
|
end
|
1847
1846
|
|
1848
|
-
#
|
1849
|
-
# activation was created,
|
1850
|
-
# the instances in the activation, and the number of instances
|
1851
|
-
# by this
|
1847
|
+
# Describes details about the activation, such as the date and time the
|
1848
|
+
# activation was created, its expiration date, the IAM role assigned to
|
1849
|
+
# the instances in the activation, and the number of instances
|
1850
|
+
# registered by using this activation.
|
1852
1851
|
#
|
1853
1852
|
# @option params [Array<Types::DescribeActivationsFilter>] :filters
|
1854
1853
|
# A filter to view information about your activations.
|
@@ -2306,7 +2305,7 @@ module Aws::SSM
|
|
2306
2305
|
req.send_request(options)
|
2307
2306
|
end
|
2308
2307
|
|
2309
|
-
# Lists all patches
|
2308
|
+
# Lists all patches eligible to be included in a patch baseline.
|
2310
2309
|
#
|
2311
2310
|
# @option params [Array<Types::PatchOrchestratorFilter>] :filters
|
2312
2311
|
# Filters used to scope down the returned patches.
|
@@ -3203,7 +3202,7 @@ module Aws::SSM
|
|
3203
3202
|
# values: ["TargetValue"],
|
3204
3203
|
# },
|
3205
3204
|
# ],
|
3206
|
-
# resource_type: "INSTANCE", # accepts INSTANCE
|
3205
|
+
# resource_type: "INSTANCE", # accepts INSTANCE, RESOURCE_GROUP
|
3207
3206
|
# filters: [
|
3208
3207
|
# {
|
3209
3208
|
# key: "PatchOrchestratorFilterKey",
|
@@ -3274,7 +3273,7 @@ module Aws::SSM
|
|
3274
3273
|
# resp.targets #=> Array
|
3275
3274
|
# resp.targets[0].window_id #=> String
|
3276
3275
|
# resp.targets[0].window_target_id #=> String
|
3277
|
-
# resp.targets[0].resource_type #=> String, one of "INSTANCE"
|
3276
|
+
# resp.targets[0].resource_type #=> String, one of "INSTANCE", "RESOURCE_GROUP"
|
3278
3277
|
# resp.targets[0].targets #=> Array
|
3279
3278
|
# resp.targets[0].targets[0].key #=> String
|
3280
3279
|
# resp.targets[0].targets[0].values #=> Array
|
@@ -3457,7 +3456,7 @@ module Aws::SSM
|
|
3457
3456
|
# values: ["TargetValue"],
|
3458
3457
|
# },
|
3459
3458
|
# ],
|
3460
|
-
# resource_type: "INSTANCE", # required, accepts INSTANCE
|
3459
|
+
# resource_type: "INSTANCE", # required, accepts INSTANCE, RESOURCE_GROUP
|
3461
3460
|
# max_results: 1,
|
3462
3461
|
# next_token: "NextToken",
|
3463
3462
|
# })
|
@@ -4556,8 +4555,7 @@ module Aws::SSM
|
|
4556
4555
|
req.send_request(options)
|
4557
4556
|
end
|
4558
4557
|
|
4559
|
-
# Retrieves details about a specific
|
4560
|
-
# window execution.
|
4558
|
+
# Retrieves details about a specific a maintenance window execution.
|
4561
4559
|
#
|
4562
4560
|
# @option params [required, String] :window_execution_id
|
4563
4561
|
# The ID of the maintenance window execution that includes the task.
|
@@ -4657,9 +4655,8 @@ module Aws::SSM
|
|
4657
4655
|
req.send_request(options)
|
4658
4656
|
end
|
4659
4657
|
|
4660
|
-
# Retrieves
|
4661
|
-
#
|
4662
|
-
# all invocations.
|
4658
|
+
# Retrieves information about a specific task running on a specific
|
4659
|
+
# target.
|
4663
4660
|
#
|
4664
4661
|
# @option params [required, String] :window_execution_id
|
4665
4662
|
# The ID of the maintenance window execution for which the task is a
|
@@ -6631,7 +6628,13 @@ module Aws::SSM
|
|
6631
6628
|
req.send_request(options)
|
6632
6629
|
end
|
6633
6630
|
|
6634
|
-
# Defines the default patch baseline.
|
6631
|
+
# Defines the default patch baseline for the relevant operating system.
|
6632
|
+
#
|
6633
|
+
# To reset the AWS predefined patch baseline as the default, specify the
|
6634
|
+
# full patch baseline ARN as the baseline ID value. For example, for
|
6635
|
+
# CentOS, specify
|
6636
|
+
# `arn:aws:ssm:us-east-2:733109147000:patchbaseline/pb-0574b43a65ea646ed`
|
6637
|
+
# instead of `pb-0574b43a65ea646ed`.
|
6635
6638
|
#
|
6636
6639
|
# @option params [required, String] :baseline_id
|
6637
6640
|
# The ID of the patch baseline that should be the default patch
|
@@ -6707,8 +6710,8 @@ module Aws::SSM
|
|
6707
6710
|
# The targets to register with the maintenance window. In other words,
|
6708
6711
|
# the instances to run commands on when the maintenance window runs.
|
6709
6712
|
#
|
6710
|
-
# You can specify targets using
|
6711
|
-
# been applied to instances.
|
6713
|
+
# You can specify targets using instance IDs, resource group names, or
|
6714
|
+
# tags that have been applied to instances.
|
6712
6715
|
#
|
6713
6716
|
# **Example 1**\: Specify instance IDs
|
6714
6717
|
#
|
@@ -6722,6 +6725,23 @@ module Aws::SSM
|
|
6722
6725
|
#
|
6723
6726
|
# `Key=tag-key,Values=my-tag-key-1,my-tag-key-2 `
|
6724
6727
|
#
|
6728
|
+
# **Example 4**\: Use resource group names
|
6729
|
+
#
|
6730
|
+
# `Key=resource-groups:Name,Values=resource-group-name `
|
6731
|
+
#
|
6732
|
+
# **Example 5**\: Use filters for resource group types
|
6733
|
+
#
|
6734
|
+
# `Key=resource-groups:ResourceTypeFilters,Values=resource-type-1,resource-type-2
|
6735
|
+
# `
|
6736
|
+
#
|
6737
|
+
# <note markdown="1"> For `Key=resource-groups:ResourceTypeFilters`, specify resource types
|
6738
|
+
# in the following format
|
6739
|
+
#
|
6740
|
+
# `Key=resource-groups:ResourceTypeFilters,Values=AWS::EC2::INSTANCE,AWS::EC2::VPC
|
6741
|
+
# `
|
6742
|
+
#
|
6743
|
+
# </note>
|
6744
|
+
#
|
6725
6745
|
# For more information about these examples formats, including the best
|
6726
6746
|
# use case for each one, see [Examples: Register Targets with a
|
6727
6747
|
# Maintenance Window][1] in the *AWS Systems Manager User Guide*.
|
@@ -6755,7 +6775,7 @@ module Aws::SSM
|
|
6755
6775
|
#
|
6756
6776
|
# resp = client.register_target_with_maintenance_window({
|
6757
6777
|
# window_id: "MaintenanceWindowId", # required
|
6758
|
-
# resource_type: "INSTANCE", # required, accepts INSTANCE
|
6778
|
+
# resource_type: "INSTANCE", # required, accepts INSTANCE, RESOURCE_GROUP
|
6759
6779
|
# targets: [ # required
|
6760
6780
|
# {
|
6761
6781
|
# key: "TargetKey",
|
@@ -6795,7 +6815,7 @@ module Aws::SSM
|
|
6795
6815
|
#
|
6796
6816
|
# Specify maintenance window targets using the following format:
|
6797
6817
|
#
|
6798
|
-
# `Key
|
6818
|
+
# `Key=WindowTargetIds;,Values=<window-target-id-1>,<window-target-id-2>`
|
6799
6819
|
#
|
6800
6820
|
# @option params [required, String] :task_arn
|
6801
6821
|
# The ARN of the task to run.
|
@@ -6959,20 +6979,20 @@ module Aws::SSM
|
|
6959
6979
|
req.send_request(options)
|
6960
6980
|
end
|
6961
6981
|
|
6962
|
-
# Removes
|
6982
|
+
# Removes tag keys from the specified resource.
|
6963
6983
|
#
|
6964
6984
|
# @option params [required, String] :resource_type
|
6965
|
-
# The type of resource
|
6985
|
+
# The type of resource from which you want to remove a tag.
|
6966
6986
|
#
|
6967
6987
|
# <note markdown="1"> The ManagedInstance type for this API action is only for on-premises
|
6968
|
-
# managed instances.
|
6969
|
-
#
|
6988
|
+
# managed instances. Specify the name of the managed instance in the
|
6989
|
+
# following format: mi-ID\_number. For example, mi-1a2b3c4d5e6f.
|
6970
6990
|
#
|
6971
6991
|
# </note>
|
6972
6992
|
#
|
6973
6993
|
# @option params [required, String] :resource_id
|
6974
|
-
# The resource
|
6975
|
-
#
|
6994
|
+
# The ID of the resource from which you want to remove tags. For
|
6995
|
+
# example:
|
6976
6996
|
#
|
6977
6997
|
# ManagedInstance: mi-012345abcde
|
6978
6998
|
#
|
@@ -6983,8 +7003,8 @@ module Aws::SSM
|
|
6983
7003
|
# For the Document and Parameter values, use the name of the resource.
|
6984
7004
|
#
|
6985
7005
|
# <note markdown="1"> The ManagedInstance type for this API action is only for on-premises
|
6986
|
-
# managed instances.
|
6987
|
-
#
|
7006
|
+
# managed instances. Specify the name of the managed instance in the
|
7007
|
+
# following format: mi-ID\_number. For example, mi-1a2b3c4d5e6f.
|
6988
7008
|
#
|
6989
7009
|
# </note>
|
6990
7010
|
#
|
@@ -7859,7 +7879,7 @@ module Aws::SSM
|
|
7859
7879
|
req.send_request(options)
|
7860
7880
|
end
|
7861
7881
|
|
7862
|
-
#
|
7882
|
+
# Updates one or more values for an SSM document.
|
7863
7883
|
#
|
7864
7884
|
# @option params [required, String] :content
|
7865
7885
|
# A valid JSON or YAML string.
|
@@ -8100,23 +8120,26 @@ module Aws::SSM
|
|
8100
8120
|
req.send_request(options)
|
8101
8121
|
end
|
8102
8122
|
|
8103
|
-
# Modifies the target of an existing maintenance window. You can
|
8104
|
-
#
|
8123
|
+
# Modifies the target of an existing maintenance window. You can change
|
8124
|
+
# the following:
|
8105
8125
|
#
|
8106
|
-
#
|
8107
|
-
# an ID target.
|
8126
|
+
# * Name
|
8108
8127
|
#
|
8109
|
-
#
|
8128
|
+
# * Description
|
8110
8129
|
#
|
8111
|
-
#
|
8130
|
+
# * Owner
|
8112
8131
|
#
|
8113
|
-
#
|
8132
|
+
# * IDs for an ID target
|
8114
8133
|
#
|
8115
|
-
#
|
8134
|
+
# * Tags for a Tag target
|
8116
8135
|
#
|
8117
|
-
#
|
8136
|
+
# * From any supported tag type to another. The three supported tag
|
8137
|
+
# types are ID target, Tag target, and resource group. For more
|
8138
|
+
# information, see Target.
|
8118
8139
|
#
|
8119
|
-
# If a parameter is null, then the corresponding field is not modified.
|
8140
|
+
# <note markdown="1"> If a parameter is null, then the corresponding field is not modified.
|
8141
|
+
#
|
8142
|
+
# </note>
|
8120
8143
|
#
|
8121
8144
|
# @option params [required, String] :window_id
|
8122
8145
|
# The maintenance window ID with which to modify the target.
|
@@ -8441,7 +8464,7 @@ module Aws::SSM
|
|
8441
8464
|
end
|
8442
8465
|
|
8443
8466
|
# Assigns or changes an Amazon Identity and Access Management (IAM) role
|
8444
|
-
#
|
8467
|
+
# for the managed instance.
|
8445
8468
|
#
|
8446
8469
|
# @option params [required, String] :instance_id
|
8447
8470
|
# The ID of the managed instance where you want to update the role.
|
@@ -8833,7 +8856,7 @@ module Aws::SSM
|
|
8833
8856
|
params: params,
|
8834
8857
|
config: config)
|
8835
8858
|
context[:gem_name] = 'aws-sdk-ssm'
|
8836
|
-
context[:gem_version] = '1.
|
8859
|
+
context[:gem_version] = '1.53.0'
|
8837
8860
|
Seahorse::Client::Request.new(handlers, context)
|
8838
8861
|
end
|
8839
8862
|
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -3274,13 +3274,13 @@ module Aws::SSM
|
|
3274
3274
|
# @return [String]
|
3275
3275
|
#
|
3276
3276
|
# @!attribute [rw] document_version
|
3277
|
-
#
|
3278
|
-
#
|
3277
|
+
# The version of the document that you want to delete. If not
|
3278
|
+
# provided, all versions of the document are deleted.
|
3279
3279
|
# @return [String]
|
3280
3280
|
#
|
3281
3281
|
# @!attribute [rw] version_name
|
3282
|
-
#
|
3283
|
-
#
|
3282
|
+
# The version name of the document that you want to delete. If not
|
3283
|
+
# provided, all versions of the document are deleted.
|
3284
3284
|
# @return [String]
|
3285
3285
|
#
|
3286
3286
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteDocumentRequest AWS API Documentation
|
@@ -4893,7 +4893,7 @@ module Aws::SSM
|
|
4893
4893
|
# values: ["TargetValue"],
|
4894
4894
|
# },
|
4895
4895
|
# ],
|
4896
|
-
# resource_type: "INSTANCE", # accepts INSTANCE
|
4896
|
+
# resource_type: "INSTANCE", # accepts INSTANCE, RESOURCE_GROUP
|
4897
4897
|
# filters: [
|
4898
4898
|
# {
|
4899
4899
|
# key: "PatchOrchestratorFilterKey",
|
@@ -5100,7 +5100,7 @@ module Aws::SSM
|
|
5100
5100
|
# values: ["TargetValue"],
|
5101
5101
|
# },
|
5102
5102
|
# ],
|
5103
|
-
# resource_type: "INSTANCE", # required, accepts INSTANCE
|
5103
|
+
# resource_type: "INSTANCE", # required, accepts INSTANCE, RESOURCE_GROUP
|
5104
5104
|
# max_results: 1,
|
5105
5105
|
# next_token: "NextToken",
|
5106
5106
|
# }
|
@@ -6033,7 +6033,7 @@ module Aws::SSM
|
|
6033
6033
|
include Aws::Structure
|
6034
6034
|
end
|
6035
6035
|
|
6036
|
-
# You can have at most
|
6036
|
+
# You can have at most 500 active Systems Manager documents.
|
6037
6037
|
#
|
6038
6038
|
# @!attribute [rw] message
|
6039
6039
|
# @return [String]
|
@@ -6281,7 +6281,7 @@ module Aws::SSM
|
|
6281
6281
|
include Aws::Structure
|
6282
6282
|
end
|
6283
6283
|
|
6284
|
-
# You attempted to register a LAMBDA or STEP\
|
6284
|
+
# You attempted to register a LAMBDA or STEP\_FUNCTIONS task in a region
|
6285
6285
|
# where the corresponding service is not available.
|
6286
6286
|
#
|
6287
6287
|
# @!attribute [rw] message
|
@@ -7023,7 +7023,7 @@ module Aws::SSM
|
|
7023
7023
|
#
|
7024
7024
|
# @!attribute [rw] task_type
|
7025
7025
|
# Retrieves the task type for a maintenance window. Task types include
|
7026
|
-
# the following: LAMBDA, STEP\
|
7026
|
+
# the following: LAMBDA, STEP\_FUNCTIONS, AUTOMATION, RUN\_COMMAND.
|
7027
7027
|
# @return [String]
|
7028
7028
|
#
|
7029
7029
|
# @!attribute [rw] parameters
|
@@ -7341,7 +7341,7 @@ module Aws::SSM
|
|
7341
7341
|
# The resource that the task used during execution. For RUN\_COMMAND
|
7342
7342
|
# and AUTOMATION task types, the TaskArn is the Systems Manager
|
7343
7343
|
# Document name/ARN. For LAMBDA tasks, the value is the function
|
7344
|
-
# name/ARN. For STEP\
|
7344
|
+
# name/ARN. For STEP\_FUNCTIONS tasks, the value is the state machine
|
7345
7345
|
# ARN.
|
7346
7346
|
# @return [String]
|
7347
7347
|
#
|
@@ -8787,12 +8787,10 @@ module Aws::SSM
|
|
8787
8787
|
#
|
8788
8788
|
# You do not have permission to access the instance.
|
8789
8789
|
#
|
8790
|
-
# SSM Agent is not running.
|
8791
|
-
# verify that the SSM Agent is running. On EC2 Windows instances, verify
|
8792
|
-
# that the EC2Config service is running.
|
8790
|
+
# SSM Agent is not running. Verify that SSM Agent is running.
|
8793
8791
|
#
|
8794
|
-
# SSM Agent
|
8795
|
-
#
|
8792
|
+
# SSM Agent is not registered with the SSM endpoint. Try reinstalling
|
8793
|
+
# SSM Agent.
|
8796
8794
|
#
|
8797
8795
|
# The instance is not in valid state. Valid states are: Running,
|
8798
8796
|
# Pending, Stopped, Stopping. Invalid states are: Shutting-down and
|
@@ -10819,7 +10817,7 @@ module Aws::SSM
|
|
10819
10817
|
include Aws::Structure
|
10820
10818
|
end
|
10821
10819
|
|
10822
|
-
# The parameters for a STEP\
|
10820
|
+
# The parameters for a STEP\_FUNCTIONS task.
|
10823
10821
|
#
|
10824
10822
|
# For information about specifying and updating task parameters, see
|
10825
10823
|
# RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.
|
@@ -10851,11 +10849,11 @@ module Aws::SSM
|
|
10851
10849
|
# }
|
10852
10850
|
#
|
10853
10851
|
# @!attribute [rw] input
|
10854
|
-
# The inputs for the STEP\
|
10852
|
+
# The inputs for the STEP\_FUNCTIONS task.
|
10855
10853
|
# @return [String]
|
10856
10854
|
#
|
10857
10855
|
# @!attribute [rw] name
|
10858
|
-
# The name of the STEP\
|
10856
|
+
# The name of the STEP\_FUNCTIONS task.
|
10859
10857
|
# @return [String]
|
10860
10858
|
#
|
10861
10859
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowStepFunctionsParameters AWS API Documentation
|
@@ -10934,12 +10932,12 @@ module Aws::SSM
|
|
10934
10932
|
# The resource that the task uses during execution. For RUN\_COMMAND
|
10935
10933
|
# and AUTOMATION task types, `TaskArn` is the Systems Manager document
|
10936
10934
|
# name or ARN. For LAMBDA tasks, it's the function name or ARN. For
|
10937
|
-
# STEP\
|
10935
|
+
# STEP\_FUNCTIONS tasks, it's the state machine ARN.
|
10938
10936
|
# @return [String]
|
10939
10937
|
#
|
10940
10938
|
# @!attribute [rw] type
|
10941
10939
|
# The type of task. The type can be one of the following:
|
10942
|
-
# RUN\_COMMAND, AUTOMATION, LAMBDA, or STEP\
|
10940
|
+
# RUN\_COMMAND, AUTOMATION, LAMBDA, or STEP\_FUNCTIONS.
|
10943
10941
|
# @return [String]
|
10944
10942
|
#
|
10945
10943
|
# @!attribute [rw] targets
|
@@ -11071,7 +11069,7 @@ module Aws::SSM
|
|
11071
11069
|
# @return [Types::MaintenanceWindowAutomationParameters]
|
11072
11070
|
#
|
11073
11071
|
# @!attribute [rw] step_functions
|
11074
|
-
# The parameters for a STEP\
|
11072
|
+
# The parameters for a STEP\_FUNCTIONS task type.
|
11075
11073
|
# @return [Types::MaintenanceWindowStepFunctionsParameters]
|
11076
11074
|
#
|
11077
11075
|
# @!attribute [rw] lambda
|
@@ -13048,7 +13046,7 @@ module Aws::SSM
|
|
13048
13046
|
#
|
13049
13047
|
# {
|
13050
13048
|
# window_id: "MaintenanceWindowId", # required
|
13051
|
-
# resource_type: "INSTANCE", # required, accepts INSTANCE
|
13049
|
+
# resource_type: "INSTANCE", # required, accepts INSTANCE, RESOURCE_GROUP
|
13052
13050
|
# targets: [ # required
|
13053
13051
|
# {
|
13054
13052
|
# key: "TargetKey",
|
@@ -13074,8 +13072,8 @@ module Aws::SSM
|
|
13074
13072
|
# The targets to register with the maintenance window. In other words,
|
13075
13073
|
# the instances to run commands on when the maintenance window runs.
|
13076
13074
|
#
|
13077
|
-
# You can specify targets using
|
13078
|
-
# been applied to instances.
|
13075
|
+
# You can specify targets using instance IDs, resource group names, or
|
13076
|
+
# tags that have been applied to instances.
|
13079
13077
|
#
|
13080
13078
|
# **Example 1**\: Specify instance IDs
|
13081
13079
|
#
|
@@ -13089,6 +13087,23 @@ module Aws::SSM
|
|
13089
13087
|
#
|
13090
13088
|
# `Key=tag-key,Values=my-tag-key-1,my-tag-key-2 `
|
13091
13089
|
#
|
13090
|
+
# **Example 4**\: Use resource group names
|
13091
|
+
#
|
13092
|
+
# `Key=resource-groups:Name,Values=resource-group-name `
|
13093
|
+
#
|
13094
|
+
# **Example 5**\: Use filters for resource group types
|
13095
|
+
#
|
13096
|
+
# `Key=resource-groups:ResourceTypeFilters,Values=resource-type-1,resource-type-2
|
13097
|
+
# `
|
13098
|
+
#
|
13099
|
+
# <note markdown="1"> For `Key=resource-groups:ResourceTypeFilters`, specify resource
|
13100
|
+
# types in the following format
|
13101
|
+
#
|
13102
|
+
# `Key=resource-groups:ResourceTypeFilters,Values=AWS::EC2::INSTANCE,AWS::EC2::VPC
|
13103
|
+
# `
|
13104
|
+
#
|
13105
|
+
# </note>
|
13106
|
+
#
|
13092
13107
|
# For more information about these examples formats, including the
|
13093
13108
|
# best use case for each one, see [Examples: Register Targets with a
|
13094
13109
|
# Maintenance Window][1] in the *AWS Systems Manager User Guide*.
|
@@ -13222,7 +13237,7 @@ module Aws::SSM
|
|
13222
13237
|
#
|
13223
13238
|
# Specify maintenance window targets using the following format:
|
13224
13239
|
#
|
13225
|
-
# `Key
|
13240
|
+
# `Key=WindowTargetIds;,Values=<window-target-id-1>,<window-target-id-2>`
|
13226
13241
|
# @return [Array<Types::Target>]
|
13227
13242
|
#
|
13228
13243
|
# @!attribute [rw] task_arn
|
@@ -13381,19 +13396,18 @@ module Aws::SSM
|
|
13381
13396
|
# }
|
13382
13397
|
#
|
13383
13398
|
# @!attribute [rw] resource_type
|
13384
|
-
# The type of resource
|
13399
|
+
# The type of resource from which you want to remove a tag.
|
13385
13400
|
#
|
13386
13401
|
# <note markdown="1"> The ManagedInstance type for this API action is only for on-premises
|
13387
|
-
# managed instances.
|
13388
|
-
#
|
13389
|
-
# mi-1a2b3c4d5e6f.
|
13402
|
+
# managed instances. Specify the name of the managed instance in the
|
13403
|
+
# following format: mi-ID\_number. For example, mi-1a2b3c4d5e6f.
|
13390
13404
|
#
|
13391
13405
|
# </note>
|
13392
13406
|
# @return [String]
|
13393
13407
|
#
|
13394
13408
|
# @!attribute [rw] resource_id
|
13395
|
-
# The resource
|
13396
|
-
#
|
13409
|
+
# The ID of the resource from which you want to remove tags. For
|
13410
|
+
# example:
|
13397
13411
|
#
|
13398
13412
|
# ManagedInstance: mi-012345abcde
|
13399
13413
|
#
|
@@ -13404,9 +13418,8 @@ module Aws::SSM
|
|
13404
13418
|
# For the Document and Parameter values, use the name of the resource.
|
13405
13419
|
#
|
13406
13420
|
# <note markdown="1"> The ManagedInstance type for this API action is only for on-premises
|
13407
|
-
# managed instances.
|
13408
|
-
#
|
13409
|
-
# mi-1a2b3c4d5e6f.
|
13421
|
+
# managed instances. Specify the name of the managed instance in the
|
13422
|
+
# following format: mi-ID\_number. For example, mi-1a2b3c4d5e6f.
|
13410
13423
|
#
|
13411
13424
|
# </note>
|
13412
13425
|
# @return [String]
|
@@ -13760,7 +13773,7 @@ module Aws::SSM
|
|
13760
13773
|
# A URL back to SSM Agent on the instance that the Session Manager
|
13761
13774
|
# client uses to send commands and receive output from the instance.
|
13762
13775
|
# Format:
|
13763
|
-
# `wss://
|
13776
|
+
# `wss://ssmmessages.region.amazonaws.com/v1/data-channel/session-id?stream=(input|output)`.
|
13764
13777
|
#
|
13765
13778
|
# **region** represents the Region identifier for an AWS Region
|
13766
13779
|
# supported by AWS Systems Manager, such as `us-east-2` for the US
|
@@ -14586,7 +14599,7 @@ module Aws::SSM
|
|
14586
14599
|
# A URL back to SSM Agent on the instance that the Session Manager
|
14587
14600
|
# client uses to send commands and receive output from the instance.
|
14588
14601
|
# Format:
|
14589
|
-
# `wss://
|
14602
|
+
# `wss://ssmmessages.region.amazonaws.com/v1/data-channel/session-id?stream=(input|output)`
|
14590
14603
|
#
|
14591
14604
|
# **region** represents the Region identifier for an AWS Region
|
14592
14605
|
# supported by AWS Systems Manager, such as `us-east-2` for the US
|
@@ -14845,8 +14858,45 @@ module Aws::SSM
|
|
14845
14858
|
end
|
14846
14859
|
|
14847
14860
|
# An array of search criteria that targets instances using a Key,Value
|
14848
|
-
# combination that you specify.
|
14849
|
-
#
|
14861
|
+
# combination that you specify.
|
14862
|
+
#
|
14863
|
+
# Supported formats include the following.
|
14864
|
+
#
|
14865
|
+
# * `Key=InstanceIds,Values=instance-id-1,instance-id-2,instance-id-3 `
|
14866
|
+
#
|
14867
|
+
# * `Key=tag:my-tag-key,Values=my-tag-value-1,my-tag-value-2 `
|
14868
|
+
#
|
14869
|
+
# * `Key=tag-key,Values=my-tag-key-1,my-tag-key-2 `
|
14870
|
+
#
|
14871
|
+
# * (Maintenance window targets only)
|
14872
|
+
# `Key=resource-groups:Name,Values=resource-group-name `
|
14873
|
+
#
|
14874
|
+
# * (Maintenance window targets only)
|
14875
|
+
# `Key=resource-groups:ResourceTypeFilters,Values=resource-type-1,resource-type-2
|
14876
|
+
# `
|
14877
|
+
#
|
14878
|
+
# For example:
|
14879
|
+
#
|
14880
|
+
# * `Key=InstanceIds,Values=i-02573cafcfEXAMPLE,i-0471e04240EXAMPLE,i-07782c72faEXAMPLE`
|
14881
|
+
#
|
14882
|
+
# * `Key=tag:CostCenter,Values=CostCenter1,CostCenter2,CostCenter3`
|
14883
|
+
#
|
14884
|
+
# * `Key=tag-key,Values=Name,Instance-Type,CostCenter`
|
14885
|
+
#
|
14886
|
+
# * (Maintenance window targets only)
|
14887
|
+
# `Key=resource-groups:Name,Values=ProductionResourceGroup`
|
14888
|
+
#
|
14889
|
+
# * (Maintenance window targets only)
|
14890
|
+
# `Key=resource-groups:ResourceTypeFilters,Values=AWS::EC2::INSTANCE,AWS::EC2::VPC
|
14891
|
+
# `
|
14892
|
+
#
|
14893
|
+
# For information about how to send commands that target instances using
|
14894
|
+
# `Key,Value` parameters, see [Using Targets and Rate Controls to Send
|
14895
|
+
# Commands to a Fleet][1] in the *AWS Systems Manager User Guide*.
|
14896
|
+
#
|
14897
|
+
#
|
14898
|
+
#
|
14899
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html#send-commands-targeting
|
14850
14900
|
#
|
14851
14901
|
# @note When making an API call, you may pass Target
|
14852
14902
|
# data as a hash:
|
@@ -14858,29 +14908,14 @@ module Aws::SSM
|
|
14858
14908
|
#
|
14859
14909
|
# @!attribute [rw] key
|
14860
14910
|
# User-defined criteria for sending commands that target instances
|
14861
|
-
# that meet the criteria.
|
14862
|
-
# `InstanceIds`. For more information about how to send commands that
|
14863
|
-
# target instances using `Key,Value` parameters, see [Using Targets
|
14864
|
-
# and Rate Controls to Send Commands to a Fleet][1] in the *AWS
|
14865
|
-
# Systems Manager User Guide*.
|
14866
|
-
#
|
14867
|
-
#
|
14868
|
-
#
|
14869
|
-
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html#send-commands-targeting
|
14911
|
+
# that meet the criteria.
|
14870
14912
|
# @return [String]
|
14871
14913
|
#
|
14872
14914
|
# @!attribute [rw] values
|
14873
14915
|
# User-defined criteria that maps to `Key`. For example, if you
|
14874
14916
|
# specified `tag:ServerRole`, you could specify `value:WebServer` to
|
14875
14917
|
# run a command on instances that include Amazon EC2 tags of
|
14876
|
-
# `ServerRole,WebServer`.
|
14877
|
-
# commands that target instances using `Key,Value` parameters, see
|
14878
|
-
# [Using Targets and Rate Controls to Send Commands to a Fleet][1] in
|
14879
|
-
# the *AWS Systems Manager User Guide*.
|
14880
|
-
#
|
14881
|
-
#
|
14882
|
-
#
|
14883
|
-
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html
|
14918
|
+
# `ServerRole,WebServer`.
|
14884
14919
|
# @return [Array<String>]
|
14885
14920
|
#
|
14886
14921
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Target AWS API Documentation
|
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.53.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: 2019-07-
|
11
|
+
date: 2019-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|