aws-sdk-ssm 1.74.0 → 1.79.0
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 +59 -34
- data/lib/aws-sdk-ssm/client_api.rb +7 -1
- data/lib/aws-sdk-ssm/types.rb +66 -21
- 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: 3aa8b40ea97ba3afb8db4e4fa7cf830aeb5b83ee5edaf9cf31fc2574185297e6
|
4
|
+
data.tar.gz: 738dbe0b77dc8d9139c29ffab96aa0dd5f374853ca39ee30c01ad719a394ec5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dfc20fb7ee0a0a1dda5cab40ea7a1323de7098a228c8051f25b95f342463a21fdfb91eed0dddd9aa1c91bd0610c1d10887ae6a2791bf1fb039edc738ec44f56
|
7
|
+
data.tar.gz: 5aca0887d154638a5566b68420a5ca5c88a6e23c1b06e243f3b54e26e4ee536c321bf5a7ff35a8822de9c954836049f6f27a828a6fcb2d745f7e049d79efebc3
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -105,7 +105,7 @@ module Aws::SSM
|
|
105
105
|
# @option options [required, String] :region
|
106
106
|
# The AWS region to connect to. The configured `:region` is
|
107
107
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
109
109
|
#
|
110
110
|
# * `Aws.config[:region]`
|
111
111
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +161,7 @@ module Aws::SSM
|
|
161
161
|
# @option options [String] :endpoint
|
162
162
|
# The client endpoint is normally constructed from the `:region`
|
163
163
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
165
165
|
#
|
166
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +176,7 @@ module Aws::SSM
|
|
176
176
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
177
|
#
|
178
178
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
179
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
180
|
#
|
181
181
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
182
|
# The log formatter.
|
@@ -580,13 +580,11 @@ module Aws::SSM
|
|
580
580
|
# Associates the specified Systems Manager document with the specified
|
581
581
|
# instances or targets.
|
582
582
|
#
|
583
|
-
# When you associate a document with one or more instances
|
584
|
-
#
|
585
|
-
#
|
586
|
-
#
|
587
|
-
#
|
588
|
-
# associated document, the system returns the AssociationAlreadyExists
|
589
|
-
# exception.
|
583
|
+
# When you associate a document with one or more instances, SSM Agent
|
584
|
+
# running on the instance processes the document and configures the
|
585
|
+
# instance as specified. If you associate a document with an instance
|
586
|
+
# that already has an associated document, the system returns the
|
587
|
+
# `AssociationAlreadyExists` exception.
|
590
588
|
#
|
591
589
|
# @option params [required, String] :name
|
592
590
|
# The name of the SSM document that contains the configuration
|
@@ -928,17 +926,16 @@ module Aws::SSM
|
|
928
926
|
# For examples, see the following topics in the *AWS Systems Manager
|
929
927
|
# User Guide*.
|
930
928
|
#
|
931
|
-
# * [Create an SSM document (
|
929
|
+
# * [Create an SSM document (AWS API)][1]
|
932
930
|
#
|
933
931
|
# * [Create an SSM document (AWS CLI)][2]
|
934
932
|
#
|
935
|
-
# * [Create an SSM document (API)][
|
933
|
+
# * [Create an SSM document (API)][1]
|
936
934
|
#
|
937
935
|
#
|
938
936
|
#
|
939
|
-
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/create-ssm-
|
937
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/create-ssm-document-api.html
|
940
938
|
# [2]: https://docs.aws.amazon.com/systems-manager/latest/userguide/create-ssm-document-cli.html
|
941
|
-
# [3]: https://docs.aws.amazon.com/systems-manager/latest/userguide/create-ssm-document-api.html
|
942
939
|
#
|
943
940
|
# @option params [Array<Types::DocumentRequires>] :requires
|
944
941
|
# A list of SSM documents required by a document. This parameter is used
|
@@ -964,7 +961,7 @@ module Aws::SSM
|
|
964
961
|
# You can't use the following strings as document name prefixes. These
|
965
962
|
# are reserved by AWS for use as document name prefixes:
|
966
963
|
#
|
967
|
-
# * `aws
|
964
|
+
# * `aws-`
|
968
965
|
#
|
969
966
|
# * `amazon`
|
970
967
|
#
|
@@ -1472,7 +1469,7 @@ module Aws::SSM
|
|
1472
1469
|
# @example Request syntax with placeholder values
|
1473
1470
|
#
|
1474
1471
|
# resp = client.create_patch_baseline({
|
1475
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS
|
1472
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN
|
1476
1473
|
# name: "BaselineName", # required
|
1477
1474
|
# global_filters: {
|
1478
1475
|
# patch_filters: [ # required
|
@@ -3939,6 +3936,7 @@ module Aws::SSM
|
|
3939
3936
|
# resp.parameters[0].policies[0].policy_text #=> String
|
3940
3937
|
# resp.parameters[0].policies[0].policy_type #=> String
|
3941
3938
|
# resp.parameters[0].policies[0].policy_status #=> String
|
3939
|
+
# resp.parameters[0].data_type #=> String
|
3942
3940
|
# resp.next_token #=> String
|
3943
3941
|
#
|
3944
3942
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeParameters AWS API Documentation
|
@@ -3990,7 +3988,7 @@ module Aws::SSM
|
|
3990
3988
|
# resp.baseline_identities #=> Array
|
3991
3989
|
# resp.baseline_identities[0].baseline_id #=> String
|
3992
3990
|
# resp.baseline_identities[0].baseline_name #=> String
|
3993
|
-
# resp.baseline_identities[0].operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS"
|
3991
|
+
# resp.baseline_identities[0].operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN"
|
3994
3992
|
# resp.baseline_identities[0].baseline_description #=> String
|
3995
3993
|
# resp.baseline_identities[0].default_baseline #=> Boolean
|
3996
3994
|
# resp.next_token #=> String
|
@@ -4086,7 +4084,7 @@ module Aws::SSM
|
|
4086
4084
|
# resp.mappings[0].patch_group #=> String
|
4087
4085
|
# resp.mappings[0].baseline_identity.baseline_id #=> String
|
4088
4086
|
# resp.mappings[0].baseline_identity.baseline_name #=> String
|
4089
|
-
# resp.mappings[0].baseline_identity.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS"
|
4087
|
+
# resp.mappings[0].baseline_identity.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN"
|
4090
4088
|
# resp.mappings[0].baseline_identity.baseline_description #=> String
|
4091
4089
|
# resp.mappings[0].baseline_identity.default_baseline #=> Boolean
|
4092
4090
|
# resp.next_token #=> String
|
@@ -4167,7 +4165,7 @@ module Aws::SSM
|
|
4167
4165
|
# @example Request syntax with placeholder values
|
4168
4166
|
#
|
4169
4167
|
# resp = client.describe_patch_properties({
|
4170
|
-
# operating_system: "WINDOWS", # required, accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS
|
4168
|
+
# operating_system: "WINDOWS", # required, accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN
|
4171
4169
|
# property: "PRODUCT", # required, accepts PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, MSRC_SEVERITY, PRIORITY, SEVERITY
|
4172
4170
|
# patch_set: "OS", # accepts OS, APPLICATION
|
4173
4171
|
# max_results: 1,
|
@@ -4551,13 +4549,13 @@ module Aws::SSM
|
|
4551
4549
|
# @example Request syntax with placeholder values
|
4552
4550
|
#
|
4553
4551
|
# resp = client.get_default_patch_baseline({
|
4554
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS
|
4552
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN
|
4555
4553
|
# })
|
4556
4554
|
#
|
4557
4555
|
# @example Response structure
|
4558
4556
|
#
|
4559
4557
|
# resp.baseline_id #=> String
|
4560
|
-
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS"
|
4558
|
+
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN"
|
4561
4559
|
#
|
4562
4560
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDefaultPatchBaseline AWS API Documentation
|
4563
4561
|
#
|
@@ -5314,6 +5312,7 @@ module Aws::SSM
|
|
5314
5312
|
# resp.parameter.source_result #=> String
|
5315
5313
|
# resp.parameter.last_modified_date #=> Time
|
5316
5314
|
# resp.parameter.arn #=> String
|
5315
|
+
# resp.parameter.data_type #=> String
|
5317
5316
|
#
|
5318
5317
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameter AWS API Documentation
|
5319
5318
|
#
|
@@ -5377,6 +5376,7 @@ module Aws::SSM
|
|
5377
5376
|
# resp.parameters[0].policies[0].policy_text #=> String
|
5378
5377
|
# resp.parameters[0].policies[0].policy_type #=> String
|
5379
5378
|
# resp.parameters[0].policies[0].policy_status #=> String
|
5379
|
+
# resp.parameters[0].data_type #=> String
|
5380
5380
|
# resp.next_token #=> String
|
5381
5381
|
#
|
5382
5382
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterHistory AWS API Documentation
|
@@ -5422,6 +5422,7 @@ module Aws::SSM
|
|
5422
5422
|
# resp.parameters[0].source_result #=> String
|
5423
5423
|
# resp.parameters[0].last_modified_date #=> Time
|
5424
5424
|
# resp.parameters[0].arn #=> String
|
5425
|
+
# resp.parameters[0].data_type #=> String
|
5425
5426
|
# resp.invalid_parameters #=> Array
|
5426
5427
|
# resp.invalid_parameters[0] #=> String
|
5427
5428
|
#
|
@@ -5514,6 +5515,7 @@ module Aws::SSM
|
|
5514
5515
|
# resp.parameters[0].source_result #=> String
|
5515
5516
|
# resp.parameters[0].last_modified_date #=> Time
|
5516
5517
|
# resp.parameters[0].arn #=> String
|
5518
|
+
# resp.parameters[0].data_type #=> String
|
5517
5519
|
# resp.next_token #=> String
|
5518
5520
|
#
|
5519
5521
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersByPath AWS API Documentation
|
@@ -5558,7 +5560,7 @@ module Aws::SSM
|
|
5558
5560
|
#
|
5559
5561
|
# resp.baseline_id #=> String
|
5560
5562
|
# resp.name #=> String
|
5561
|
-
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS"
|
5563
|
+
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN"
|
5562
5564
|
# resp.global_filters.patch_filters #=> Array
|
5563
5565
|
# resp.global_filters.patch_filters[0].key #=> String, one of "PATCH_SET", "PRODUCT", "PRODUCT_FAMILY", "CLASSIFICATION", "MSRC_SEVERITY", "PATCH_ID", "SECTION", "PRIORITY", "SEVERITY"
|
5564
5566
|
# resp.global_filters.patch_filters[0].values #=> Array
|
@@ -5619,14 +5621,14 @@ module Aws::SSM
|
|
5619
5621
|
#
|
5620
5622
|
# resp = client.get_patch_baseline_for_patch_group({
|
5621
5623
|
# patch_group: "PatchGroup", # required
|
5622
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS
|
5624
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN
|
5623
5625
|
# })
|
5624
5626
|
#
|
5625
5627
|
# @example Response structure
|
5626
5628
|
#
|
5627
5629
|
# resp.baseline_id #=> String
|
5628
5630
|
# resp.patch_group #=> String
|
5629
|
-
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS"
|
5631
|
+
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN"
|
5630
5632
|
#
|
5631
5633
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineForPatchGroup AWS API Documentation
|
5632
5634
|
#
|
@@ -5915,8 +5917,7 @@ module Aws::SSM
|
|
5915
5917
|
#
|
5916
5918
|
# @option params [Array<Types::CommandFilter>] :filters
|
5917
5919
|
# (Optional) One or more filters. Use a filter to return a more specific
|
5918
|
-
# list of results.
|
5919
|
-
# for ListCommandInvocations.
|
5920
|
+
# list of results.
|
5920
5921
|
#
|
5921
5922
|
# @option params [Boolean] :details
|
5922
5923
|
# (Optional) If set this returns the response of the command executions
|
@@ -6070,6 +6071,7 @@ module Aws::SSM
|
|
6070
6071
|
# resp.commands[0].notification_config.notification_type #=> String, one of "Command", "Invocation"
|
6071
6072
|
# resp.commands[0].cloud_watch_output_config.cloud_watch_log_group_name #=> String
|
6072
6073
|
# resp.commands[0].cloud_watch_output_config.cloud_watch_output_enabled #=> Boolean
|
6074
|
+
# resp.commands[0].timeout_seconds #=> Integer
|
6073
6075
|
# resp.next_token #=> String
|
6074
6076
|
#
|
6075
6077
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommands AWS API Documentation
|
@@ -6281,10 +6283,10 @@ module Aws::SSM
|
|
6281
6283
|
# One or more DocumentKeyValuesFilter objects. Use a filter to return a
|
6282
6284
|
# more specific list of results. For keys, you can specify one or more
|
6283
6285
|
# key-value pair tags that have been applied to a document. Other valid
|
6284
|
-
# keys include `Owner`, `Name`, `PlatformTypes`,
|
6285
|
-
# example, to return documents you own use
|
6286
|
-
# specify a custom key-value pair, use the
|
6287
|
-
# `Key=tag:tagName,Values=valueName`.
|
6286
|
+
# keys include `Owner`, `Name`, `PlatformTypes`, `DocumentType`, and
|
6287
|
+
# `TargetType`. For example, to return documents you own use
|
6288
|
+
# `Key=Owner,Values=Self`. To specify a custom key-value pair, use the
|
6289
|
+
# format `Key=tag:tagName,Values=valueName`.
|
6288
6290
|
#
|
6289
6291
|
# @option params [Integer] :max_results
|
6290
6292
|
# The maximum number of items to return for this call. The call also
|
@@ -6879,7 +6881,7 @@ module Aws::SSM
|
|
6879
6881
|
# parameters have a value limit of 4 KB. Advanced parameters have a
|
6880
6882
|
# value limit of 8 KB.
|
6881
6883
|
#
|
6882
|
-
# @option params [
|
6884
|
+
# @option params [String] :type
|
6883
6885
|
# The type of parameter that you want to add to the system.
|
6884
6886
|
#
|
6885
6887
|
# Items in a `StringList` must be separated by a comma (,). You can't
|
@@ -7042,6 +7044,27 @@ module Aws::SSM
|
|
7042
7044
|
#
|
7043
7045
|
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-policies.html
|
7044
7046
|
#
|
7047
|
+
# @option params [String] :data_type
|
7048
|
+
# The data type for a `String` parameter. Supported data types include
|
7049
|
+
# plain text and Amazon Machine Image IDs.
|
7050
|
+
#
|
7051
|
+
# **The following data type values are supported.**
|
7052
|
+
#
|
7053
|
+
# * `text`
|
7054
|
+
#
|
7055
|
+
# * `aws:ec2:image`
|
7056
|
+
#
|
7057
|
+
# When you create a `String` parameter and specify `aws:ec2:image`,
|
7058
|
+
# Systems Manager validates the parameter value is in the required
|
7059
|
+
# format, such as `ami-12345abcdeEXAMPLE`, and that the specified AMI is
|
7060
|
+
# available in your AWS account. For more information, see [Native
|
7061
|
+
# parameter support for Amazon Machine Image IDs][1] in the *AWS Systems
|
7062
|
+
# Manager User Guide*.
|
7063
|
+
#
|
7064
|
+
#
|
7065
|
+
#
|
7066
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-ec2-aliases.html
|
7067
|
+
#
|
7045
7068
|
# @return [Types::PutParameterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7046
7069
|
#
|
7047
7070
|
# * {Types::PutParameterResult#version #version} => Integer
|
@@ -7053,7 +7076,7 @@ module Aws::SSM
|
|
7053
7076
|
# name: "PSParameterName", # required
|
7054
7077
|
# description: "ParameterDescription",
|
7055
7078
|
# value: "PSParameterValue", # required
|
7056
|
-
# type: "String", #
|
7079
|
+
# type: "String", # accepts String, StringList, SecureString
|
7057
7080
|
# key_id: "ParameterKeyId",
|
7058
7081
|
# overwrite: false,
|
7059
7082
|
# allowed_pattern: "AllowedPattern",
|
@@ -7065,6 +7088,7 @@ module Aws::SSM
|
|
7065
7088
|
# ],
|
7066
7089
|
# tier: "Standard", # accepts Standard, Advanced, Intelligent-Tiering
|
7067
7090
|
# policies: "ParameterPolicies",
|
7091
|
+
# data_type: "ParameterDataType",
|
7068
7092
|
# })
|
7069
7093
|
#
|
7070
7094
|
# @example Response structure
|
@@ -7823,6 +7847,7 @@ module Aws::SSM
|
|
7823
7847
|
# resp.command.notification_config.notification_type #=> String, one of "Command", "Invocation"
|
7824
7848
|
# resp.command.cloud_watch_output_config.cloud_watch_log_group_name #=> String
|
7825
7849
|
# resp.command.cloud_watch_output_config.cloud_watch_output_enabled #=> Boolean
|
7850
|
+
# resp.command.timeout_seconds #=> Integer
|
7826
7851
|
#
|
7827
7852
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendCommand AWS API Documentation
|
7828
7853
|
#
|
@@ -9312,7 +9337,7 @@ module Aws::SSM
|
|
9312
9337
|
#
|
9313
9338
|
# resp.baseline_id #=> String
|
9314
9339
|
# resp.name #=> String
|
9315
|
-
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS"
|
9340
|
+
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN"
|
9316
9341
|
# resp.global_filters.patch_filters #=> Array
|
9317
9342
|
# resp.global_filters.patch_filters[0].key #=> String, one of "PATCH_SET", "PRODUCT", "PRODUCT_FAMILY", "CLASSIFICATION", "MSRC_SEVERITY", "PATCH_ID", "SECTION", "PRIORITY", "SEVERITY"
|
9318
9343
|
# resp.global_filters.patch_filters[0].values #=> Array
|
@@ -9481,7 +9506,7 @@ module Aws::SSM
|
|
9481
9506
|
params: params,
|
9482
9507
|
config: config)
|
9483
9508
|
context[:gem_name] = 'aws-sdk-ssm'
|
9484
|
-
context[:gem_version] = '1.
|
9509
|
+
context[:gem_version] = '1.79.0'
|
9485
9510
|
Seahorse::Client::Request.new(handlers, context)
|
9486
9511
|
end
|
9487
9512
|
|
@@ -723,6 +723,7 @@ module Aws::SSM
|
|
723
723
|
PSParameterVersion = Shapes::IntegerShape.new(name: 'PSParameterVersion')
|
724
724
|
Parameter = Shapes::StructureShape.new(name: 'Parameter')
|
725
725
|
ParameterAlreadyExists = Shapes::StructureShape.new(name: 'ParameterAlreadyExists')
|
726
|
+
ParameterDataType = Shapes::StringShape.new(name: 'ParameterDataType')
|
726
727
|
ParameterDescription = Shapes::StringShape.new(name: 'ParameterDescription')
|
727
728
|
ParameterHistory = Shapes::StructureShape.new(name: 'ParameterHistory')
|
728
729
|
ParameterHistoryList = Shapes::ListShape.new(name: 'ParameterHistoryList')
|
@@ -1349,6 +1350,7 @@ module Aws::SSM
|
|
1349
1350
|
Command.add_member(:service_role, Shapes::ShapeRef.new(shape: ServiceRole, location_name: "ServiceRole"))
|
1350
1351
|
Command.add_member(:notification_config, Shapes::ShapeRef.new(shape: NotificationConfig, location_name: "NotificationConfig"))
|
1351
1352
|
Command.add_member(:cloud_watch_output_config, Shapes::ShapeRef.new(shape: CloudWatchOutputConfig, location_name: "CloudWatchOutputConfig"))
|
1353
|
+
Command.add_member(:timeout_seconds, Shapes::ShapeRef.new(shape: TimeoutSeconds, location_name: "TimeoutSeconds"))
|
1352
1354
|
Command.struct_class = Types::Command
|
1353
1355
|
|
1354
1356
|
CommandFilter.add_member(:key, Shapes::ShapeRef.new(shape: CommandFilterKey, required: true, location_name: "key"))
|
@@ -3196,6 +3198,7 @@ module Aws::SSM
|
|
3196
3198
|
Parameter.add_member(:source_result, Shapes::ShapeRef.new(shape: String, location_name: "SourceResult"))
|
3197
3199
|
Parameter.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastModifiedDate"))
|
3198
3200
|
Parameter.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "ARN"))
|
3201
|
+
Parameter.add_member(:data_type, Shapes::ShapeRef.new(shape: ParameterDataType, location_name: "DataType"))
|
3199
3202
|
Parameter.struct_class = Types::Parameter
|
3200
3203
|
|
3201
3204
|
ParameterAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
@@ -3213,6 +3216,7 @@ module Aws::SSM
|
|
3213
3216
|
ParameterHistory.add_member(:labels, Shapes::ShapeRef.new(shape: ParameterLabelList, location_name: "Labels"))
|
3214
3217
|
ParameterHistory.add_member(:tier, Shapes::ShapeRef.new(shape: ParameterTier, location_name: "Tier"))
|
3215
3218
|
ParameterHistory.add_member(:policies, Shapes::ShapeRef.new(shape: ParameterPolicyList, location_name: "Policies"))
|
3219
|
+
ParameterHistory.add_member(:data_type, Shapes::ShapeRef.new(shape: ParameterDataType, location_name: "DataType"))
|
3216
3220
|
ParameterHistory.struct_class = Types::ParameterHistory
|
3217
3221
|
|
3218
3222
|
ParameterHistoryList.member = Shapes::ShapeRef.new(shape: ParameterHistory)
|
@@ -3242,6 +3246,7 @@ module Aws::SSM
|
|
3242
3246
|
ParameterMetadata.add_member(:version, Shapes::ShapeRef.new(shape: PSParameterVersion, location_name: "Version"))
|
3243
3247
|
ParameterMetadata.add_member(:tier, Shapes::ShapeRef.new(shape: ParameterTier, location_name: "Tier"))
|
3244
3248
|
ParameterMetadata.add_member(:policies, Shapes::ShapeRef.new(shape: ParameterPolicyList, location_name: "Policies"))
|
3249
|
+
ParameterMetadata.add_member(:data_type, Shapes::ShapeRef.new(shape: ParameterDataType, location_name: "DataType"))
|
3245
3250
|
ParameterMetadata.struct_class = Types::ParameterMetadata
|
3246
3251
|
|
3247
3252
|
ParameterMetadataList.member = Shapes::ShapeRef.new(shape: ParameterMetadata)
|
@@ -3413,13 +3418,14 @@ module Aws::SSM
|
|
3413
3418
|
PutParameterRequest.add_member(:name, Shapes::ShapeRef.new(shape: PSParameterName, required: true, location_name: "Name"))
|
3414
3419
|
PutParameterRequest.add_member(:description, Shapes::ShapeRef.new(shape: ParameterDescription, location_name: "Description"))
|
3415
3420
|
PutParameterRequest.add_member(:value, Shapes::ShapeRef.new(shape: PSParameterValue, required: true, location_name: "Value"))
|
3416
|
-
PutParameterRequest.add_member(:type, Shapes::ShapeRef.new(shape: ParameterType,
|
3421
|
+
PutParameterRequest.add_member(:type, Shapes::ShapeRef.new(shape: ParameterType, location_name: "Type"))
|
3417
3422
|
PutParameterRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: ParameterKeyId, location_name: "KeyId"))
|
3418
3423
|
PutParameterRequest.add_member(:overwrite, Shapes::ShapeRef.new(shape: Boolean, location_name: "Overwrite", metadata: {"box"=>true}))
|
3419
3424
|
PutParameterRequest.add_member(:allowed_pattern, Shapes::ShapeRef.new(shape: AllowedPattern, location_name: "AllowedPattern"))
|
3420
3425
|
PutParameterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
3421
3426
|
PutParameterRequest.add_member(:tier, Shapes::ShapeRef.new(shape: ParameterTier, location_name: "Tier"))
|
3422
3427
|
PutParameterRequest.add_member(:policies, Shapes::ShapeRef.new(shape: ParameterPolicies, location_name: "Policies"))
|
3428
|
+
PutParameterRequest.add_member(:data_type, Shapes::ShapeRef.new(shape: ParameterDataType, location_name: "DataType"))
|
3423
3429
|
PutParameterRequest.struct_class = Types::PutParameterRequest
|
3424
3430
|
|
3425
3431
|
PutParameterResult.add_member(:version, Shapes::ShapeRef.new(shape: PSParameterVersion, location_name: "Version"))
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -1556,6 +1556,10 @@ module Aws::SSM
|
|
1556
1556
|
# the command output.
|
1557
1557
|
# @return [Types::CloudWatchOutputConfig]
|
1558
1558
|
#
|
1559
|
+
# @!attribute [rw] timeout_seconds
|
1560
|
+
# The `TimeoutSeconds` value specified for a command.
|
1561
|
+
# @return [Integer]
|
1562
|
+
#
|
1559
1563
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Command AWS API Documentation
|
1560
1564
|
#
|
1561
1565
|
class Command < Struct.new(
|
@@ -1581,7 +1585,8 @@ module Aws::SSM
|
|
1581
1585
|
:delivery_timed_out_count,
|
1582
1586
|
:service_role,
|
1583
1587
|
:notification_config,
|
1584
|
-
:cloud_watch_output_config
|
1588
|
+
:cloud_watch_output_config,
|
1589
|
+
:timeout_seconds)
|
1585
1590
|
include Aws::Structure
|
1586
1591
|
end
|
1587
1592
|
|
@@ -2777,17 +2782,16 @@ module Aws::SSM
|
|
2777
2782
|
# For examples, see the following topics in the *AWS Systems Manager
|
2778
2783
|
# User Guide*.
|
2779
2784
|
#
|
2780
|
-
# * [Create an SSM document (
|
2785
|
+
# * [Create an SSM document (AWS API)][1]
|
2781
2786
|
#
|
2782
2787
|
# * [Create an SSM document (AWS CLI)][2]
|
2783
2788
|
#
|
2784
|
-
# * [Create an SSM document (API)][
|
2789
|
+
# * [Create an SSM document (API)][1]
|
2785
2790
|
#
|
2786
2791
|
#
|
2787
2792
|
#
|
2788
|
-
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/create-ssm-
|
2793
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/create-ssm-document-api.html
|
2789
2794
|
# [2]: https://docs.aws.amazon.com/systems-manager/latest/userguide/create-ssm-document-cli.html
|
2790
|
-
# [3]: https://docs.aws.amazon.com/systems-manager/latest/userguide/create-ssm-document-api.html
|
2791
2795
|
# @return [String]
|
2792
2796
|
#
|
2793
2797
|
# @!attribute [rw] requires
|
@@ -2816,7 +2820,7 @@ module Aws::SSM
|
|
2816
2820
|
# You can't use the following strings as document name prefixes.
|
2817
2821
|
# These are reserved by AWS for use as document name prefixes:
|
2818
2822
|
#
|
2819
|
-
# * `aws
|
2823
|
+
# * `aws-`
|
2820
2824
|
#
|
2821
2825
|
# * `amazon`
|
2822
2826
|
#
|
@@ -3193,7 +3197,7 @@ module Aws::SSM
|
|
3193
3197
|
# data as a hash:
|
3194
3198
|
#
|
3195
3199
|
# {
|
3196
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS
|
3200
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN
|
3197
3201
|
# name: "BaselineName", # required
|
3198
3202
|
# global_filters: {
|
3199
3203
|
# patch_filters: [ # required
|
@@ -5876,7 +5880,7 @@ module Aws::SSM
|
|
5876
5880
|
# data as a hash:
|
5877
5881
|
#
|
5878
5882
|
# {
|
5879
|
-
# operating_system: "WINDOWS", # required, accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS
|
5883
|
+
# operating_system: "WINDOWS", # required, accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN
|
5880
5884
|
# property: "PRODUCT", # required, accepts PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, MSRC_SEVERITY, PRIORITY, SEVERITY
|
5881
5885
|
# patch_set: "OS", # accepts OS, APPLICATION
|
5882
5886
|
# max_results: 1,
|
@@ -6283,8 +6287,8 @@ module Aws::SSM
|
|
6283
6287
|
# For keys, you can specify one or more tags that have been applied to a
|
6284
6288
|
# document.
|
6285
6289
|
#
|
6286
|
-
# Other valid values include Owner
|
6287
|
-
# DocumentType
|
6290
|
+
# Other valid values include `Owner`, `Name`, `PlatformTypes`,
|
6291
|
+
# `DocumentType`, and `TargetType`.
|
6288
6292
|
#
|
6289
6293
|
# Note that only one Owner can be specified in a request. For example:
|
6290
6294
|
# `Key=Owner,Values=Self`.
|
@@ -6976,7 +6980,7 @@ module Aws::SSM
|
|
6976
6980
|
# data as a hash:
|
6977
6981
|
#
|
6978
6982
|
# {
|
6979
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS
|
6983
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN
|
6980
6984
|
# }
|
6981
6985
|
#
|
6982
6986
|
# @!attribute [rw] operating_system
|
@@ -8188,7 +8192,7 @@ module Aws::SSM
|
|
8188
8192
|
#
|
8189
8193
|
# {
|
8190
8194
|
# patch_group: "PatchGroup", # required
|
8191
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS
|
8195
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN
|
8192
8196
|
# }
|
8193
8197
|
#
|
8194
8198
|
# @!attribute [rw] patch_group
|
@@ -10229,8 +10233,7 @@ module Aws::SSM
|
|
10229
10233
|
#
|
10230
10234
|
# @!attribute [rw] filters
|
10231
10235
|
# (Optional) One or more filters. Use a filter to return a more
|
10232
|
-
# specific list of results.
|
10233
|
-
# supported for ListCommandInvocations.
|
10236
|
+
# specific list of results.
|
10234
10237
|
# @return [Array<Types::CommandFilter>]
|
10235
10238
|
#
|
10236
10239
|
# @!attribute [rw] details
|
@@ -10545,8 +10548,8 @@ module Aws::SSM
|
|
10545
10548
|
# One or more DocumentKeyValuesFilter objects. Use a filter to return
|
10546
10549
|
# a more specific list of results. For keys, you can specify one or
|
10547
10550
|
# more key-value pair tags that have been applied to a document. Other
|
10548
|
-
# valid keys include `Owner`, `Name`, `PlatformTypes`,
|
10549
|
-
# `
|
10551
|
+
# valid keys include `Owner`, `Name`, `PlatformTypes`, `DocumentType`,
|
10552
|
+
# and `TargetType`. For example, to return documents you own use
|
10550
10553
|
# `Key=Owner,Values=Self`. To specify a custom key-value pair, use the
|
10551
10554
|
# format `Key=tag:tagName,Values=valueName`.
|
10552
10555
|
# @return [Array<Types::DocumentKeyValuesFilter>]
|
@@ -12413,6 +12416,11 @@ module Aws::SSM
|
|
12413
12416
|
# The Amazon Resource Name (ARN) of the parameter.
|
12414
12417
|
# @return [String]
|
12415
12418
|
#
|
12419
|
+
# @!attribute [rw] data_type
|
12420
|
+
# The data type of the parameter, such as `text` or `aws:ec2:image`.
|
12421
|
+
# The default is `text`.
|
12422
|
+
# @return [String]
|
12423
|
+
#
|
12416
12424
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Parameter AWS API Documentation
|
12417
12425
|
#
|
12418
12426
|
class Parameter < Struct.new(
|
@@ -12423,7 +12431,8 @@ module Aws::SSM
|
|
12423
12431
|
:selector,
|
12424
12432
|
:source_result,
|
12425
12433
|
:last_modified_date,
|
12426
|
-
:arn
|
12434
|
+
:arn,
|
12435
|
+
:data_type)
|
12427
12436
|
include Aws::Structure
|
12428
12437
|
end
|
12429
12438
|
|
@@ -12499,6 +12508,11 @@ module Aws::SSM
|
|
12499
12508
|
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-policies.html
|
12500
12509
|
# @return [Array<Types::ParameterInlinePolicy>]
|
12501
12510
|
#
|
12511
|
+
# @!attribute [rw] data_type
|
12512
|
+
# The data type of the parameter, such as `text` or `aws:ec2:image`.
|
12513
|
+
# The default is `text`.
|
12514
|
+
# @return [String]
|
12515
|
+
#
|
12502
12516
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ParameterHistory AWS API Documentation
|
12503
12517
|
#
|
12504
12518
|
class ParameterHistory < Struct.new(
|
@@ -12513,7 +12527,8 @@ module Aws::SSM
|
|
12513
12527
|
:version,
|
12514
12528
|
:labels,
|
12515
12529
|
:tier,
|
12516
|
-
:policies
|
12530
|
+
:policies,
|
12531
|
+
:data_type)
|
12517
12532
|
include Aws::Structure
|
12518
12533
|
end
|
12519
12534
|
|
@@ -12616,6 +12631,11 @@ module Aws::SSM
|
|
12616
12631
|
# A list of policies associated with a parameter.
|
12617
12632
|
# @return [Array<Types::ParameterInlinePolicy>]
|
12618
12633
|
#
|
12634
|
+
# @!attribute [rw] data_type
|
12635
|
+
# The data type of the parameter, such as `text` or `aws:ec2:image`.
|
12636
|
+
# The default is `text`.
|
12637
|
+
# @return [String]
|
12638
|
+
#
|
12619
12639
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ParameterMetadata AWS API Documentation
|
12620
12640
|
#
|
12621
12641
|
class ParameterMetadata < Struct.new(
|
@@ -12628,7 +12648,8 @@ module Aws::SSM
|
|
12628
12648
|
:allowed_pattern,
|
12629
12649
|
:version,
|
12630
12650
|
:tier,
|
12631
|
-
:policies
|
12651
|
+
:policies,
|
12652
|
+
:data_type)
|
12632
12653
|
include Aws::Structure
|
12633
12654
|
end
|
12634
12655
|
|
@@ -13420,7 +13441,7 @@ module Aws::SSM
|
|
13420
13441
|
# name: "PSParameterName", # required
|
13421
13442
|
# description: "ParameterDescription",
|
13422
13443
|
# value: "PSParameterValue", # required
|
13423
|
-
# type: "String", #
|
13444
|
+
# type: "String", # accepts String, StringList, SecureString
|
13424
13445
|
# key_id: "ParameterKeyId",
|
13425
13446
|
# overwrite: false,
|
13426
13447
|
# allowed_pattern: "AllowedPattern",
|
@@ -13432,6 +13453,7 @@ module Aws::SSM
|
|
13432
13453
|
# ],
|
13433
13454
|
# tier: "Standard", # accepts Standard, Advanced, Intelligent-Tiering
|
13434
13455
|
# policies: "ParameterPolicies",
|
13456
|
+
# data_type: "ParameterDataType",
|
13435
13457
|
# }
|
13436
13458
|
#
|
13437
13459
|
# @!attribute [rw] name
|
@@ -13662,6 +13684,28 @@ module Aws::SSM
|
|
13662
13684
|
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-policies.html
|
13663
13685
|
# @return [String]
|
13664
13686
|
#
|
13687
|
+
# @!attribute [rw] data_type
|
13688
|
+
# The data type for a `String` parameter. Supported data types include
|
13689
|
+
# plain text and Amazon Machine Image IDs.
|
13690
|
+
#
|
13691
|
+
# **The following data type values are supported.**
|
13692
|
+
#
|
13693
|
+
# * `text`
|
13694
|
+
#
|
13695
|
+
# * `aws:ec2:image`
|
13696
|
+
#
|
13697
|
+
# When you create a `String` parameter and specify `aws:ec2:image`,
|
13698
|
+
# Systems Manager validates the parameter value is in the required
|
13699
|
+
# format, such as `ami-12345abcdeEXAMPLE`, and that the specified AMI
|
13700
|
+
# is available in your AWS account. For more information, see [Native
|
13701
|
+
# parameter support for Amazon Machine Image IDs][1] in the *AWS
|
13702
|
+
# Systems Manager User Guide*.
|
13703
|
+
#
|
13704
|
+
#
|
13705
|
+
#
|
13706
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-ec2-aliases.html
|
13707
|
+
# @return [String]
|
13708
|
+
#
|
13665
13709
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutParameterRequest AWS API Documentation
|
13666
13710
|
#
|
13667
13711
|
class PutParameterRequest < Struct.new(
|
@@ -13674,7 +13718,8 @@ module Aws::SSM
|
|
13674
13718
|
:allowed_pattern,
|
13675
13719
|
:tags,
|
13676
13720
|
:tier,
|
13677
|
-
:policies
|
13721
|
+
:policies,
|
13722
|
+
:data_type)
|
13678
13723
|
include Aws::Structure
|
13679
13724
|
end
|
13680
13725
|
|
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.79.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-
|
11
|
+
date: 2020-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|