aws-sdk-ssm 1.84.0 → 1.85.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 +51 -12
- data/lib/aws-sdk-ssm/types.rb +100 -23
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c52dbd9dad8d7c424f84fed75b848caf2329b22f0204eae992a3d6795caf828
|
4
|
+
data.tar.gz: abb5e8da3bb3993f7096b3ea02838f066fbcd7fdaa0640cb7519d8d0f4e50cf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 549ca09d68ef6d73f95f250c497e6c1f54e458e6b00c1b71621af26fbd014a3a18759fd4f4cec66a31e6c4804c9e8275b4073e09052ffb7a157bc4e6e9c38512
|
7
|
+
data.tar.gz: 1f07e4f7b791a7b1eb7e142bebe03601b3528c61e4ebd6d69b742536bb602aee4d7b399c678506142c147bd1e576de7f0ac77915f7e5c14090fc2c60da0df50f
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -4091,6 +4091,22 @@ module Aws::SSM
|
|
4091
4091
|
# One or more filters. Use a filter to return a more specific list of
|
4092
4092
|
# results.
|
4093
4093
|
#
|
4094
|
+
# For `DescribePatchGroups`,valid filter keys include the following:
|
4095
|
+
#
|
4096
|
+
# * `NAME_PREFIX`\: The name of the patch group. Wildcards (*) are
|
4097
|
+
# accepted.
|
4098
|
+
#
|
4099
|
+
# * `OPERATING_SYSTEM`\: The supported operating system type to return
|
4100
|
+
# results for. For valid operating system values, see
|
4101
|
+
# GetDefaultPatchBaselineRequest$OperatingSystem in
|
4102
|
+
# CreatePatchBaseline.
|
4103
|
+
#
|
4104
|
+
# Examples:
|
4105
|
+
#
|
4106
|
+
# * `--filters Key=NAME_PREFIX,Values=MyPatchGroup*`
|
4107
|
+
#
|
4108
|
+
# * `--filters Key=OPERATING_SYSTEM,Values=AMAZON_LINUX_2`
|
4109
|
+
#
|
4094
4110
|
# @option params [String] :next_token
|
4095
4111
|
# The token for the next set of items to return. (You received this
|
4096
4112
|
# token from a previous call.)
|
@@ -4476,6 +4492,9 @@ module Aws::SSM
|
|
4476
4492
|
# If the document contains only one plugin, the name can be omitted and
|
4477
4493
|
# the details will be returned.
|
4478
4494
|
#
|
4495
|
+
# Plugin names are also referred to as step names in Systems Manager
|
4496
|
+
# documents.
|
4497
|
+
#
|
4479
4498
|
# @return [Types::GetCommandInvocationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4480
4499
|
#
|
4481
4500
|
# * {Types::GetCommandInvocationResult#command_id #command_id} => String
|
@@ -6038,6 +6057,12 @@ module Aws::SSM
|
|
6038
6057
|
# @option params [String] :instance_id
|
6039
6058
|
# (Optional) Lists commands issued against this instance ID.
|
6040
6059
|
#
|
6060
|
+
# <note markdown="1"> You can't specify an instance ID in the same command that you specify
|
6061
|
+
# `Status` = `Pending`. This is because the command has not reached the
|
6062
|
+
# instance yet.
|
6063
|
+
#
|
6064
|
+
# </note>
|
6065
|
+
#
|
6041
6066
|
# @option params [Integer] :max_results
|
6042
6067
|
# (Optional) The maximum number of items to return for this call. The
|
6043
6068
|
# call also returns a token that you can specify in a subsequent call to
|
@@ -7699,23 +7724,37 @@ module Aws::SSM
|
|
7699
7724
|
# Runs commands on one or more managed instances.
|
7700
7725
|
#
|
7701
7726
|
# @option params [Array<String>] :instance_ids
|
7702
|
-
# The
|
7703
|
-
#
|
7704
|
-
# you can
|
7705
|
-
#
|
7706
|
-
#
|
7707
|
-
#
|
7727
|
+
# The IDs of the instances where the command should run. Specifying
|
7728
|
+
# instance IDs is most useful when you are targeting a limited number of
|
7729
|
+
# instances, though you can specify up to 50 IDs.
|
7730
|
+
#
|
7731
|
+
# To target a larger number of instances, or if you prefer not to list
|
7732
|
+
# individual instance IDs, we recommend using the `Targets` option
|
7733
|
+
# instead. Using `Targets`, which accepts tag key-value pairs to
|
7734
|
+
# identify the instances to send commands to, you can a send command to
|
7735
|
+
# tens, hundreds, or thousands of instances at once.
|
7736
|
+
#
|
7737
|
+
# For more information about how to use targets, see [Using targets and
|
7738
|
+
# rate controls to send commands to a fleet][1] in the *AWS Systems
|
7739
|
+
# Manager User Guide*.
|
7708
7740
|
#
|
7709
7741
|
#
|
7710
7742
|
#
|
7711
7743
|
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html
|
7712
7744
|
#
|
7713
7745
|
# @option params [Array<Types::Target>] :targets
|
7714
|
-
#
|
7715
|
-
#
|
7716
|
-
#
|
7717
|
-
#
|
7718
|
-
#
|
7746
|
+
# An array of search criteria that targets instances using a `Key,Value`
|
7747
|
+
# combination that you specify. Specifying targets is most useful when
|
7748
|
+
# you want to send a command to a large number of instances at once.
|
7749
|
+
# Using `Targets`, which accepts tag key-value pairs to identify
|
7750
|
+
# instances, you can send a command to tens, hundreds, or thousands of
|
7751
|
+
# instances at once.
|
7752
|
+
#
|
7753
|
+
# To send a command to a smaller number of instances, you can use the
|
7754
|
+
# `InstanceIds` option instead.
|
7755
|
+
#
|
7756
|
+
# For more information about how to use targets, see [Sending commands
|
7757
|
+
# to a fleet][1] in the *AWS Systems Manager User Guide*.
|
7719
7758
|
#
|
7720
7759
|
#
|
7721
7760
|
#
|
@@ -9579,7 +9618,7 @@ module Aws::SSM
|
|
9579
9618
|
params: params,
|
9580
9619
|
config: config)
|
9581
9620
|
context[:gem_name] = 'aws-sdk-ssm'
|
9582
|
-
context[:gem_version] = '1.
|
9621
|
+
context[:gem_version] = '1.85.0'
|
9583
9622
|
Seahorse::Client::Request.new(handlers, context)
|
9584
9623
|
end
|
9585
9624
|
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -1643,6 +1643,11 @@ module Aws::SSM
|
|
1643
1643
|
|
1644
1644
|
# Describes a command filter.
|
1645
1645
|
#
|
1646
|
+
# <note markdown="1"> An instance ID can't be specified when a command status is `Pending`
|
1647
|
+
# because the command hasn't run on the instance yet.
|
1648
|
+
#
|
1649
|
+
# </note>
|
1650
|
+
#
|
1646
1651
|
# @note When making an API call, you may pass CommandFilter
|
1647
1652
|
# data as a hash:
|
1648
1653
|
#
|
@@ -6029,6 +6034,22 @@ module Aws::SSM
|
|
6029
6034
|
# @!attribute [rw] filters
|
6030
6035
|
# One or more filters. Use a filter to return a more specific list of
|
6031
6036
|
# results.
|
6037
|
+
#
|
6038
|
+
# For `DescribePatchGroups`,valid filter keys include the following:
|
6039
|
+
#
|
6040
|
+
# * `NAME_PREFIX`\: The name of the patch group. Wildcards (*) are
|
6041
|
+
# accepted.
|
6042
|
+
#
|
6043
|
+
# * `OPERATING_SYSTEM`\: The supported operating system type to return
|
6044
|
+
# results for. For valid operating system values, see
|
6045
|
+
# GetDefaultPatchBaselineRequest$OperatingSystem in
|
6046
|
+
# CreatePatchBaseline.
|
6047
|
+
#
|
6048
|
+
# Examples:
|
6049
|
+
#
|
6050
|
+
# * `--filters Key=NAME_PREFIX,Values=MyPatchGroup*`
|
6051
|
+
#
|
6052
|
+
# * `--filters Key=OPERATING_SYSTEM,Values=AMAZON_LINUX_2`
|
6032
6053
|
# @return [Array<Types::PatchOrchestratorFilter>]
|
6033
6054
|
#
|
6034
6055
|
# @!attribute [rw] next_token
|
@@ -6974,6 +6995,9 @@ module Aws::SSM
|
|
6974
6995
|
# (Optional) The name of the plugin for which you want detailed
|
6975
6996
|
# results. If the document contains only one plugin, the name can be
|
6976
6997
|
# omitted and the details will be returned.
|
6998
|
+
#
|
6999
|
+
# Plugin names are also referred to as step names in Systems Manager
|
7000
|
+
# documents.
|
6977
7001
|
# @return [String]
|
6978
7002
|
#
|
6979
7003
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCommandInvocationRequest AWS API Documentation
|
@@ -8927,8 +8951,17 @@ module Aws::SSM
|
|
8927
8951
|
#
|
8928
8952
|
# @!attribute [rw] iam_role
|
8929
8953
|
# The Amazon Identity and Access Management (IAM) role assigned to the
|
8930
|
-
# on-premises Systems Manager managed
|
8931
|
-
# return the IAM role for EC2 instances.
|
8954
|
+
# on-premises Systems Manager managed instance. This call does not
|
8955
|
+
# return the IAM role for EC2 instances. To retrieve the IAM role for
|
8956
|
+
# an EC2 instance, use the Amazon EC2 `DescribeInstances` action. For
|
8957
|
+
# information, see [DescribeInstances][1] in the *Amazon EC2 API
|
8958
|
+
# Reference* or [describe-instances][2] in the *AWS CLI Command
|
8959
|
+
# Reference*.
|
8960
|
+
#
|
8961
|
+
#
|
8962
|
+
#
|
8963
|
+
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html
|
8964
|
+
# [2]: http://docs.aws.amazon.com/cli/latest/reference/ec2/describe-instances.html
|
8932
8965
|
# @return [String]
|
8933
8966
|
#
|
8934
8967
|
# @!attribute [rw] registration_date
|
@@ -8942,7 +8975,25 @@ module Aws::SSM
|
|
8942
8975
|
# @return [String]
|
8943
8976
|
#
|
8944
8977
|
# @!attribute [rw] name
|
8945
|
-
# The name
|
8978
|
+
# The name assigned to an on-premises server or virtual machine (VM)
|
8979
|
+
# when it is activated as a Systems Manager managed instance. The name
|
8980
|
+
# is specified as the `DefaultInstanceName` property using the
|
8981
|
+
# CreateActivation command. It is applied to the managed instance by
|
8982
|
+
# specifying the Activation Code and Activation ID when you install
|
8983
|
+
# SSM Agent on the instance, as explained in [Install SSM Agent for a
|
8984
|
+
# hybrid environment (Linux)][1] and [Install SSM Agent for a hybrid
|
8985
|
+
# environment (Windows)][2]. To retrieve the Name tag of an EC2
|
8986
|
+
# instance, use the Amazon EC2 `DescribeInstances` action. For
|
8987
|
+
# information, see [DescribeInstances][3] in the *Amazon EC2 API
|
8988
|
+
# Reference* or [describe-instances][4] in the *AWS CLI Command
|
8989
|
+
# Reference*.
|
8990
|
+
#
|
8991
|
+
#
|
8992
|
+
#
|
8993
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-install-managed-linux.html
|
8994
|
+
# [2]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-install-managed-win.html
|
8995
|
+
# [3]: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html
|
8996
|
+
# [4]: http://docs.aws.amazon.com/cli/latest/reference/ec2/describe-instances.html
|
8946
8997
|
# @return [String]
|
8947
8998
|
#
|
8948
8999
|
# @!attribute [rw] ip_address
|
@@ -10636,6 +10687,12 @@ module Aws::SSM
|
|
10636
10687
|
#
|
10637
10688
|
# @!attribute [rw] instance_id
|
10638
10689
|
# (Optional) Lists commands issued against this instance ID.
|
10690
|
+
#
|
10691
|
+
# <note markdown="1"> You can't specify an instance ID in the same command that you
|
10692
|
+
# specify `Status` = `Pending`. This is because the command has not
|
10693
|
+
# reached the instance yet.
|
10694
|
+
#
|
10695
|
+
# </note>
|
10639
10696
|
# @return [String]
|
10640
10697
|
#
|
10641
10698
|
# @!attribute [rw] max_results
|
@@ -15458,13 +15515,19 @@ module Aws::SSM
|
|
15458
15515
|
# }
|
15459
15516
|
#
|
15460
15517
|
# @!attribute [rw] instance_ids
|
15461
|
-
# The
|
15462
|
-
#
|
15463
|
-
#
|
15464
|
-
#
|
15465
|
-
#
|
15466
|
-
#
|
15467
|
-
#
|
15518
|
+
# The IDs of the instances where the command should run. Specifying
|
15519
|
+
# instance IDs is most useful when you are targeting a limited number
|
15520
|
+
# of instances, though you can specify up to 50 IDs.
|
15521
|
+
#
|
15522
|
+
# To target a larger number of instances, or if you prefer not to list
|
15523
|
+
# individual instance IDs, we recommend using the `Targets` option
|
15524
|
+
# instead. Using `Targets`, which accepts tag key-value pairs to
|
15525
|
+
# identify the instances to send commands to, you can a send command
|
15526
|
+
# to tens, hundreds, or thousands of instances at once.
|
15527
|
+
#
|
15528
|
+
# For more information about how to use targets, see [Using targets
|
15529
|
+
# and rate controls to send commands to a fleet][1] in the *AWS
|
15530
|
+
# Systems Manager User Guide*.
|
15468
15531
|
#
|
15469
15532
|
#
|
15470
15533
|
#
|
@@ -15472,11 +15535,18 @@ module Aws::SSM
|
|
15472
15535
|
# @return [Array<String>]
|
15473
15536
|
#
|
15474
15537
|
# @!attribute [rw] targets
|
15475
|
-
#
|
15476
|
-
#
|
15477
|
-
#
|
15478
|
-
#
|
15479
|
-
#
|
15538
|
+
# An array of search criteria that targets instances using a
|
15539
|
+
# `Key,Value` combination that you specify. Specifying targets is most
|
15540
|
+
# useful when you want to send a command to a large number of
|
15541
|
+
# instances at once. Using `Targets`, which accepts tag key-value
|
15542
|
+
# pairs to identify instances, you can send a command to tens,
|
15543
|
+
# hundreds, or thousands of instances at once.
|
15544
|
+
#
|
15545
|
+
# To send a command to a smaller number of instances, you can use the
|
15546
|
+
# `InstanceIds` option instead.
|
15547
|
+
#
|
15548
|
+
# For more information about how to use targets, see [Sending commands
|
15549
|
+
# to a fleet][1] in the *AWS Systems Manager User Guide*.
|
15480
15550
|
#
|
15481
15551
|
#
|
15482
15552
|
#
|
@@ -16413,13 +16483,16 @@ module Aws::SSM
|
|
16413
16483
|
#
|
16414
16484
|
# * `Key=tag-key,Values=my-tag-key-1,my-tag-key-2 `
|
16415
16485
|
#
|
16416
|
-
# *
|
16486
|
+
# * **Run Command and Maintenance window targets only**\:
|
16417
16487
|
# `Key=resource-groups:Name,Values=resource-group-name `
|
16418
16488
|
#
|
16419
|
-
# *
|
16489
|
+
# * **Maintenance window targets only**\:
|
16420
16490
|
# `Key=resource-groups:ResourceTypeFilters,Values=resource-type-1,resource-type-2
|
16421
16491
|
# `
|
16422
16492
|
#
|
16493
|
+
# * **Automation targets only**\:
|
16494
|
+
# `Key=ResourceGroup;Values=resource-group-name `
|
16495
|
+
#
|
16423
16496
|
# For example:
|
16424
16497
|
#
|
16425
16498
|
# * `Key=InstanceIds,Values=i-02573cafcfEXAMPLE,i-0471e04240EXAMPLE,i-07782c72faEXAMPLE`
|
@@ -16428,28 +16501,32 @@ module Aws::SSM
|
|
16428
16501
|
#
|
16429
16502
|
# * `Key=tag-key,Values=Name,Instance-Type,CostCenter`
|
16430
16503
|
#
|
16431
|
-
# *
|
16504
|
+
# * **Run Command and Maintenance window targets only**\:
|
16432
16505
|
# `Key=resource-groups:Name,Values=ProductionResourceGroup`
|
16433
16506
|
#
|
16434
16507
|
# This example demonstrates how to target all resources in the
|
16435
16508
|
# resource group **ProductionResourceGroup** in your maintenance
|
16436
16509
|
# window.
|
16437
16510
|
#
|
16438
|
-
# *
|
16511
|
+
# * **Maintenance window targets only**\:
|
16439
16512
|
# `Key=resource-groups:ResourceTypeFilters,Values=AWS::EC2::INSTANCE,AWS::EC2::VPC
|
16440
16513
|
# `
|
16441
16514
|
#
|
16442
16515
|
# This example demonstrates how to target only EC2 instances and VPCs
|
16443
16516
|
# in your maintenance window.
|
16444
16517
|
#
|
16445
|
-
# *
|
16518
|
+
# * **Automation targets only**\:
|
16519
|
+
# `Key=ResourceGroup,Values=MyResourceGroup`
|
16520
|
+
#
|
16521
|
+
# * **State Manager association targets only**\:
|
16522
|
+
# `Key=InstanceIds,Values=* `
|
16446
16523
|
#
|
16447
16524
|
# This example demonstrates how to target all managed instances in the
|
16448
16525
|
# AWS Region where the association was created.
|
16449
16526
|
#
|
16450
|
-
# For information about how to send commands that target instances
|
16451
|
-
# `Key,Value` parameters, see [Targeting multiple instances][1] in
|
16452
|
-
# *AWS Systems Manager User Guide*.
|
16527
|
+
# For more information about how to send commands that target instances
|
16528
|
+
# using `Key,Value` parameters, see [Targeting multiple instances][1] in
|
16529
|
+
# the *AWS Systems Manager User Guide*.
|
16453
16530
|
#
|
16454
16531
|
#
|
16455
16532
|
#
|
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.85.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|