aws-sdk-ssm 1.77.0 → 1.82.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 +3 -1
- data/lib/aws-sdk-ssm/client.rb +98 -26
- data/lib/aws-sdk-ssm/client_api.rb +14 -0
- data/lib/aws-sdk-ssm/customizations.rb +1 -0
- data/lib/aws-sdk-ssm/errors.rb +2 -0
- data/lib/aws-sdk-ssm/resource.rb +2 -0
- data/lib/aws-sdk-ssm/types.rb +125 -18
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89b2780e964aac2f35594fa42eb0d85067d33aa4a6657a09971bc86354742967
|
4
|
+
data.tar.gz: 5092209c6f492e36e4a38b368ed7c5a0ff1ab81a93af8b5b1cd8d037dab947f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7ca28f04dd0818bf47537d947019bed780e3eeb96a795cc1296108e82f356479710d9e6570662e731e13a3f308d5dc54cf9f4640460b6179e0b58808cced98c
|
7
|
+
data.tar.gz: a4a5a8b221a34265a4d89b16ba0454905fac8b449531ca6650e5ca97a835232213d400e1c84b63cb81a089d6dcae7641eac9171f9e8b5caaaa9d0918601b1996
|
data/lib/aws-sdk-ssm.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-ssm/customizations'
|
|
45
47
|
# @service
|
46
48
|
module Aws::SSM
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.82.0'
|
49
51
|
|
50
52
|
end
|
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
32
|
|
@@ -69,6 +72,7 @@ module Aws::SSM
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
74
78
|
|
@@ -161,7 +165,7 @@ module Aws::SSM
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +180,7 @@ module Aws::SSM
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
181
|
#
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
184
|
#
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
186
|
# The log formatter.
|
@@ -577,16 +581,19 @@ module Aws::SSM
|
|
577
581
|
req.send_request(options)
|
578
582
|
end
|
579
583
|
|
580
|
-
#
|
581
|
-
# instances
|
582
|
-
#
|
583
|
-
#
|
584
|
-
#
|
585
|
-
#
|
586
|
-
#
|
587
|
-
#
|
588
|
-
#
|
589
|
-
#
|
584
|
+
# A State Manager association defines the state that you want to
|
585
|
+
# maintain on your instances. For example, an association can specify
|
586
|
+
# that anti-virus software must be installed and running on your
|
587
|
+
# instances, or that certain ports must be closed. For static targets,
|
588
|
+
# the association specifies a schedule for when the configuration is
|
589
|
+
# reapplied. For dynamic targets, such as an AWS Resource Group or an
|
590
|
+
# AWS Autoscaling Group, State Manager applies the configuration when
|
591
|
+
# new instances are added to the group. The association also specifies
|
592
|
+
# actions to take when applying the configuration. For example, an
|
593
|
+
# association for anti-virus software might run once a day. If the
|
594
|
+
# software is not installed, then State Manager installs it. If the
|
595
|
+
# software is installed, but the service is not running, then the
|
596
|
+
# association might instruct State Manager to start the service.
|
590
597
|
#
|
591
598
|
# @option params [required, String] :name
|
592
599
|
# The name of the SSM document that contains the configuration
|
@@ -705,6 +712,12 @@ module Aws::SSM
|
|
705
712
|
#
|
706
713
|
# By default, all associations use `AUTO` mode.
|
707
714
|
#
|
715
|
+
# @option params [Boolean] :apply_only_at_cron_interval
|
716
|
+
# By default, when you create a new associations, the system runs it
|
717
|
+
# immediately after it is created and then according to the schedule you
|
718
|
+
# specified. Specify this option if you don't want an association to
|
719
|
+
# run immediately after you create it.
|
720
|
+
#
|
708
721
|
# @return [Types::CreateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
709
722
|
#
|
710
723
|
# * {Types::CreateAssociationResult#association_description #association_description} => Types::AssociationDescription
|
@@ -738,6 +751,7 @@ module Aws::SSM
|
|
738
751
|
# max_concurrency: "MaxConcurrency",
|
739
752
|
# compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
|
740
753
|
# sync_compliance: "AUTO", # accepts AUTO, MANUAL
|
754
|
+
# apply_only_at_cron_interval: false,
|
741
755
|
# })
|
742
756
|
#
|
743
757
|
# @example Response structure
|
@@ -776,6 +790,7 @@ module Aws::SSM
|
|
776
790
|
# resp.association_description.max_concurrency #=> String
|
777
791
|
# resp.association_description.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
|
778
792
|
# resp.association_description.sync_compliance #=> String, one of "AUTO", "MANUAL"
|
793
|
+
# resp.association_description.apply_only_at_cron_interval #=> Boolean
|
779
794
|
#
|
780
795
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociation AWS API Documentation
|
781
796
|
#
|
@@ -836,6 +851,7 @@ module Aws::SSM
|
|
836
851
|
# max_concurrency: "MaxConcurrency",
|
837
852
|
# compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
|
838
853
|
# sync_compliance: "AUTO", # accepts AUTO, MANUAL
|
854
|
+
# apply_only_at_cron_interval: false,
|
839
855
|
# },
|
840
856
|
# ],
|
841
857
|
# })
|
@@ -877,6 +893,7 @@ module Aws::SSM
|
|
877
893
|
# resp.successful[0].max_concurrency #=> String
|
878
894
|
# resp.successful[0].compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
|
879
895
|
# resp.successful[0].sync_compliance #=> String, one of "AUTO", "MANUAL"
|
896
|
+
# resp.successful[0].apply_only_at_cron_interval #=> Boolean
|
880
897
|
# resp.failed #=> Array
|
881
898
|
# resp.failed[0].entry.name #=> String
|
882
899
|
# resp.failed[0].entry.instance_id #=> String
|
@@ -898,6 +915,7 @@ module Aws::SSM
|
|
898
915
|
# resp.failed[0].entry.max_concurrency #=> String
|
899
916
|
# resp.failed[0].entry.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
|
900
917
|
# resp.failed[0].entry.sync_compliance #=> String, one of "AUTO", "MANUAL"
|
918
|
+
# resp.failed[0].entry.apply_only_at_cron_interval #=> Boolean
|
901
919
|
# resp.failed[0].message #=> String
|
902
920
|
# resp.failed[0].fault #=> String, one of "Client", "Server", "Unknown"
|
903
921
|
#
|
@@ -963,7 +981,7 @@ module Aws::SSM
|
|
963
981
|
# You can't use the following strings as document name prefixes. These
|
964
982
|
# are reserved by AWS for use as document name prefixes:
|
965
983
|
#
|
966
|
-
# * `aws
|
984
|
+
# * `aws-`
|
967
985
|
#
|
968
986
|
# * `amazon`
|
969
987
|
#
|
@@ -1134,6 +1152,18 @@ module Aws::SSM
|
|
1134
1152
|
#
|
1135
1153
|
# [1]: https://www.iana.org/time-zones
|
1136
1154
|
#
|
1155
|
+
# @option params [Integer] :schedule_offset
|
1156
|
+
# The number of days to wait after the date and time specified by a CRON
|
1157
|
+
# expression before running the maintenance window.
|
1158
|
+
#
|
1159
|
+
# For example, the following cron expression schedules a maintenance
|
1160
|
+
# window to run on the third Tuesday of every month at 11:30 PM.
|
1161
|
+
#
|
1162
|
+
# `cron(0 30 23 ? * TUE#3 *)`
|
1163
|
+
#
|
1164
|
+
# If the schedule offset is `2`, the maintenance window won't run until
|
1165
|
+
# two days later.
|
1166
|
+
#
|
1137
1167
|
# @option params [required, Integer] :duration
|
1138
1168
|
# The duration of the maintenance window in hours.
|
1139
1169
|
#
|
@@ -1189,6 +1219,7 @@ module Aws::SSM
|
|
1189
1219
|
# end_date: "MaintenanceWindowStringDateTime",
|
1190
1220
|
# schedule: "MaintenanceWindowSchedule", # required
|
1191
1221
|
# schedule_timezone: "MaintenanceWindowTimezone",
|
1222
|
+
# schedule_offset: 1,
|
1192
1223
|
# duration: 1, # required
|
1193
1224
|
# cutoff: 1, # required
|
1194
1225
|
# allow_unassociated_targets: false, # required
|
@@ -2219,6 +2250,7 @@ module Aws::SSM
|
|
2219
2250
|
# resp.association_description.max_concurrency #=> String
|
2220
2251
|
# resp.association_description.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
|
2221
2252
|
# resp.association_description.sync_compliance #=> String, one of "AUTO", "MANUAL"
|
2253
|
+
# resp.association_description.apply_only_at_cron_interval #=> Boolean
|
2222
2254
|
#
|
2223
2255
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociation AWS API Documentation
|
2224
2256
|
#
|
@@ -3668,6 +3700,7 @@ module Aws::SSM
|
|
3668
3700
|
# resp.window_identities[0].cutoff #=> Integer
|
3669
3701
|
# resp.window_identities[0].schedule #=> String
|
3670
3702
|
# resp.window_identities[0].schedule_timezone #=> String
|
3703
|
+
# resp.window_identities[0].schedule_offset #=> Integer
|
3671
3704
|
# resp.window_identities[0].end_date #=> String
|
3672
3705
|
# resp.window_identities[0].start_date #=> String
|
3673
3706
|
# resp.window_identities[0].next_execution_time #=> String
|
@@ -4842,6 +4875,7 @@ module Aws::SSM
|
|
4842
4875
|
# * {Types::GetMaintenanceWindowResult#end_date #end_date} => String
|
4843
4876
|
# * {Types::GetMaintenanceWindowResult#schedule #schedule} => String
|
4844
4877
|
# * {Types::GetMaintenanceWindowResult#schedule_timezone #schedule_timezone} => String
|
4878
|
+
# * {Types::GetMaintenanceWindowResult#schedule_offset #schedule_offset} => Integer
|
4845
4879
|
# * {Types::GetMaintenanceWindowResult#next_execution_time #next_execution_time} => String
|
4846
4880
|
# * {Types::GetMaintenanceWindowResult#duration #duration} => Integer
|
4847
4881
|
# * {Types::GetMaintenanceWindowResult#cutoff #cutoff} => Integer
|
@@ -4865,6 +4899,7 @@ module Aws::SSM
|
|
4865
4899
|
# resp.end_date #=> String
|
4866
4900
|
# resp.schedule #=> String
|
4867
4901
|
# resp.schedule_timezone #=> String
|
4902
|
+
# resp.schedule_offset #=> Integer
|
4868
4903
|
# resp.next_execution_time #=> String
|
4869
4904
|
# resp.duration #=> Integer
|
4870
4905
|
# resp.cutoff #=> Integer
|
@@ -5817,6 +5852,7 @@ module Aws::SSM
|
|
5817
5852
|
# resp.association_versions[0].max_concurrency #=> String
|
5818
5853
|
# resp.association_versions[0].compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
|
5819
5854
|
# resp.association_versions[0].sync_compliance #=> String, one of "AUTO", "MANUAL"
|
5855
|
+
# resp.association_versions[0].apply_only_at_cron_interval #=> Boolean
|
5820
5856
|
# resp.next_token #=> String
|
5821
5857
|
#
|
5822
5858
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersions AWS API Documentation
|
@@ -6886,15 +6922,18 @@ module Aws::SSM
|
|
6886
6922
|
# @option params [String] :type
|
6887
6923
|
# The type of parameter that you want to add to the system.
|
6888
6924
|
#
|
6925
|
+
# <note markdown="1"> `SecureString` is not currently supported for AWS CloudFormation
|
6926
|
+
# templates or in the China Regions.
|
6927
|
+
#
|
6928
|
+
# </note>
|
6929
|
+
#
|
6889
6930
|
# Items in a `StringList` must be separated by a comma (,). You can't
|
6890
6931
|
# use other punctuation or special character to escape items in the
|
6891
6932
|
# list. If you have a parameter value that requires a comma, then use
|
6892
6933
|
# the `String` data type.
|
6893
6934
|
#
|
6894
|
-
#
|
6895
|
-
#
|
6896
|
-
#
|
6897
|
-
# </note>
|
6935
|
+
# Specifying a parameter type is not required when updating a parameter.
|
6936
|
+
# You must specify a parameter type when creating a parameter.
|
6898
6937
|
#
|
6899
6938
|
# @option params [String] :key_id
|
6900
6939
|
# The KMS Key ID that you want to use to encrypt a parameter. Either the
|
@@ -7047,7 +7086,7 @@ module Aws::SSM
|
|
7047
7086
|
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-policies.html
|
7048
7087
|
#
|
7049
7088
|
# @option params [String] :data_type
|
7050
|
-
# The data type for a String parameter. Supported data types include
|
7089
|
+
# The data type for a `String` parameter. Supported data types include
|
7051
7090
|
# plain text and Amazon Machine Image IDs.
|
7052
7091
|
#
|
7053
7092
|
# **The following data type values are supported.**
|
@@ -7056,11 +7095,12 @@ module Aws::SSM
|
|
7056
7095
|
#
|
7057
7096
|
# * `aws:ec2:image`
|
7058
7097
|
#
|
7059
|
-
# When you create a String parameter and specify `aws:ec2:image`,
|
7060
|
-
# Systems Manager validates the parameter value
|
7061
|
-
#
|
7062
|
-
#
|
7063
|
-
# IDs][1] in the *AWS Systems
|
7098
|
+
# When you create a `String` parameter and specify `aws:ec2:image`,
|
7099
|
+
# Systems Manager validates the parameter value is in the required
|
7100
|
+
# format, such as `ami-12345abcdeEXAMPLE`, and that the specified AMI is
|
7101
|
+
# available in your AWS account. For more information, see [Native
|
7102
|
+
# parameter support for Amazon Machine Image IDs][1] in the *AWS Systems
|
7103
|
+
# Manager User Guide*.
|
7064
7104
|
#
|
7065
7105
|
#
|
7066
7106
|
#
|
@@ -8048,8 +8088,9 @@ module Aws::SSM
|
|
8048
8088
|
# @option params [String] :document_name
|
8049
8089
|
# The name of the SSM document to define the parameters and plugin
|
8050
8090
|
# settings for the session. For example, `SSM-SessionManagerRunShell`.
|
8051
|
-
#
|
8052
|
-
#
|
8091
|
+
# You can call the GetDocument API to verify the document exists before
|
8092
|
+
# attempting to start a session. If no document name is provided, a
|
8093
|
+
# shell to the instance is launched by default.
|
8053
8094
|
#
|
8054
8095
|
# @option params [Hash<String,Array>] :parameters
|
8055
8096
|
# Reserved for future use.
|
@@ -8261,6 +8302,19 @@ module Aws::SSM
|
|
8261
8302
|
#
|
8262
8303
|
# By default, all associations use `AUTO` mode.
|
8263
8304
|
#
|
8305
|
+
# @option params [Boolean] :apply_only_at_cron_interval
|
8306
|
+
# By default, when you update an association, the system runs it
|
8307
|
+
# immediately after it is updated and then according to the schedule you
|
8308
|
+
# specified. Specify this option if you don't want an association to
|
8309
|
+
# run immediately after you update it.
|
8310
|
+
#
|
8311
|
+
# Also, if you specified this option when you created the association,
|
8312
|
+
# you can reset it. To do so, specify the
|
8313
|
+
# `no-apply-only-at-cron-interval` parameter when you update the
|
8314
|
+
# association from the command line. This parameter forces the
|
8315
|
+
# association to run immediately after updating it and according to the
|
8316
|
+
# interval specified.
|
8317
|
+
#
|
8264
8318
|
# @return [Types::UpdateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8265
8319
|
#
|
8266
8320
|
# * {Types::UpdateAssociationResult#association_description #association_description} => Types::AssociationDescription
|
@@ -8295,6 +8349,7 @@ module Aws::SSM
|
|
8295
8349
|
# max_concurrency: "MaxConcurrency",
|
8296
8350
|
# compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
|
8297
8351
|
# sync_compliance: "AUTO", # accepts AUTO, MANUAL
|
8352
|
+
# apply_only_at_cron_interval: false,
|
8298
8353
|
# })
|
8299
8354
|
#
|
8300
8355
|
# @example Response structure
|
@@ -8333,6 +8388,7 @@ module Aws::SSM
|
|
8333
8388
|
# resp.association_description.max_concurrency #=> String
|
8334
8389
|
# resp.association_description.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
|
8335
8390
|
# resp.association_description.sync_compliance #=> String, one of "AUTO", "MANUAL"
|
8391
|
+
# resp.association_description.apply_only_at_cron_interval #=> Boolean
|
8336
8392
|
#
|
8337
8393
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociation AWS API Documentation
|
8338
8394
|
#
|
@@ -8408,6 +8464,7 @@ module Aws::SSM
|
|
8408
8464
|
# resp.association_description.max_concurrency #=> String
|
8409
8465
|
# resp.association_description.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
|
8410
8466
|
# resp.association_description.sync_compliance #=> String, one of "AUTO", "MANUAL"
|
8467
|
+
# resp.association_description.apply_only_at_cron_interval #=> Boolean
|
8411
8468
|
#
|
8412
8469
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatus AWS API Documentation
|
8413
8470
|
#
|
@@ -8603,6 +8660,18 @@ module Aws::SSM
|
|
8603
8660
|
#
|
8604
8661
|
# [1]: https://www.iana.org/time-zones
|
8605
8662
|
#
|
8663
|
+
# @option params [Integer] :schedule_offset
|
8664
|
+
# The number of days to wait after the date and time specified by a CRON
|
8665
|
+
# expression before running the maintenance window.
|
8666
|
+
#
|
8667
|
+
# For example, the following cron expression schedules a maintenance
|
8668
|
+
# window to run the third Tuesday of every month at 11:30 PM.
|
8669
|
+
#
|
8670
|
+
# `cron(0 30 23 ? * TUE#3 *)`
|
8671
|
+
#
|
8672
|
+
# If the schedule offset is `2`, the maintenance window won't run until
|
8673
|
+
# two days later.
|
8674
|
+
#
|
8606
8675
|
# @option params [Integer] :duration
|
8607
8676
|
# The duration of the maintenance window in hours.
|
8608
8677
|
#
|
@@ -8631,6 +8700,7 @@ module Aws::SSM
|
|
8631
8700
|
# * {Types::UpdateMaintenanceWindowResult#end_date #end_date} => String
|
8632
8701
|
# * {Types::UpdateMaintenanceWindowResult#schedule #schedule} => String
|
8633
8702
|
# * {Types::UpdateMaintenanceWindowResult#schedule_timezone #schedule_timezone} => String
|
8703
|
+
# * {Types::UpdateMaintenanceWindowResult#schedule_offset #schedule_offset} => Integer
|
8634
8704
|
# * {Types::UpdateMaintenanceWindowResult#duration #duration} => Integer
|
8635
8705
|
# * {Types::UpdateMaintenanceWindowResult#cutoff #cutoff} => Integer
|
8636
8706
|
# * {Types::UpdateMaintenanceWindowResult#allow_unassociated_targets #allow_unassociated_targets} => Boolean
|
@@ -8646,6 +8716,7 @@ module Aws::SSM
|
|
8646
8716
|
# end_date: "MaintenanceWindowStringDateTime",
|
8647
8717
|
# schedule: "MaintenanceWindowSchedule",
|
8648
8718
|
# schedule_timezone: "MaintenanceWindowTimezone",
|
8719
|
+
# schedule_offset: 1,
|
8649
8720
|
# duration: 1,
|
8650
8721
|
# cutoff: 1,
|
8651
8722
|
# allow_unassociated_targets: false,
|
@@ -8662,6 +8733,7 @@ module Aws::SSM
|
|
8662
8733
|
# resp.end_date #=> String
|
8663
8734
|
# resp.schedule #=> String
|
8664
8735
|
# resp.schedule_timezone #=> String
|
8736
|
+
# resp.schedule_offset #=> Integer
|
8665
8737
|
# resp.duration #=> Integer
|
8666
8738
|
# resp.cutoff #=> Integer
|
8667
8739
|
# resp.allow_unassociated_targets #=> Boolean
|
@@ -9507,7 +9579,7 @@ module Aws::SSM
|
|
9507
9579
|
params: params,
|
9508
9580
|
config: config)
|
9509
9581
|
context[:gem_name] = 'aws-sdk-ssm'
|
9510
|
-
context[:gem_version] = '1.
|
9582
|
+
context[:gem_version] = '1.82.0'
|
9511
9583
|
Seahorse::Client::Request.new(handlers, context)
|
9512
9584
|
end
|
9513
9585
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -28,6 +30,7 @@ module Aws::SSM
|
|
28
30
|
AggregatorSchemaOnly = Shapes::BooleanShape.new(name: 'AggregatorSchemaOnly')
|
29
31
|
AllowedPattern = Shapes::StringShape.new(name: 'AllowedPattern')
|
30
32
|
AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException')
|
33
|
+
ApplyOnlyAtCronInterval = Shapes::BooleanShape.new(name: 'ApplyOnlyAtCronInterval')
|
31
34
|
ApproveAfterDays = Shapes::IntegerShape.new(name: 'ApproveAfterDays')
|
32
35
|
AssociatedInstances = Shapes::StructureShape.new(name: 'AssociatedInstances')
|
33
36
|
Association = Shapes::StructureShape.new(name: 'Association')
|
@@ -613,6 +616,7 @@ module Aws::SSM
|
|
613
616
|
MaintenanceWindowLambdaQualifier = Shapes::StringShape.new(name: 'MaintenanceWindowLambdaQualifier')
|
614
617
|
MaintenanceWindowMaxResults = Shapes::IntegerShape.new(name: 'MaintenanceWindowMaxResults')
|
615
618
|
MaintenanceWindowName = Shapes::StringShape.new(name: 'MaintenanceWindowName')
|
619
|
+
MaintenanceWindowOffset = Shapes::IntegerShape.new(name: 'MaintenanceWindowOffset')
|
616
620
|
MaintenanceWindowResourceType = Shapes::StringShape.new(name: 'MaintenanceWindowResourceType')
|
617
621
|
MaintenanceWindowRunCommandParameters = Shapes::StructureShape.new(name: 'MaintenanceWindowRunCommandParameters')
|
618
622
|
MaintenanceWindowSchedule = Shapes::StringShape.new(name: 'MaintenanceWindowSchedule')
|
@@ -1110,6 +1114,7 @@ module Aws::SSM
|
|
1110
1114
|
AssociationDescription.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "MaxConcurrency"))
|
1111
1115
|
AssociationDescription.add_member(:compliance_severity, Shapes::ShapeRef.new(shape: AssociationComplianceSeverity, location_name: "ComplianceSeverity"))
|
1112
1116
|
AssociationDescription.add_member(:sync_compliance, Shapes::ShapeRef.new(shape: AssociationSyncCompliance, location_name: "SyncCompliance"))
|
1117
|
+
AssociationDescription.add_member(:apply_only_at_cron_interval, Shapes::ShapeRef.new(shape: ApplyOnlyAtCronInterval, location_name: "ApplyOnlyAtCronInterval"))
|
1113
1118
|
AssociationDescription.struct_class = Types::AssociationDescription
|
1114
1119
|
|
1115
1120
|
AssociationDescriptionList.member = Shapes::ShapeRef.new(shape: AssociationDescription)
|
@@ -1198,6 +1203,7 @@ module Aws::SSM
|
|
1198
1203
|
AssociationVersionInfo.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "MaxConcurrency"))
|
1199
1204
|
AssociationVersionInfo.add_member(:compliance_severity, Shapes::ShapeRef.new(shape: AssociationComplianceSeverity, location_name: "ComplianceSeverity"))
|
1200
1205
|
AssociationVersionInfo.add_member(:sync_compliance, Shapes::ShapeRef.new(shape: AssociationSyncCompliance, location_name: "SyncCompliance"))
|
1206
|
+
AssociationVersionInfo.add_member(:apply_only_at_cron_interval, Shapes::ShapeRef.new(shape: ApplyOnlyAtCronInterval, location_name: "ApplyOnlyAtCronInterval"))
|
1201
1207
|
AssociationVersionInfo.struct_class = Types::AssociationVersionInfo
|
1202
1208
|
|
1203
1209
|
AssociationVersionLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
@@ -1484,6 +1490,7 @@ module Aws::SSM
|
|
1484
1490
|
CreateAssociationBatchRequestEntry.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "MaxConcurrency"))
|
1485
1491
|
CreateAssociationBatchRequestEntry.add_member(:compliance_severity, Shapes::ShapeRef.new(shape: AssociationComplianceSeverity, location_name: "ComplianceSeverity"))
|
1486
1492
|
CreateAssociationBatchRequestEntry.add_member(:sync_compliance, Shapes::ShapeRef.new(shape: AssociationSyncCompliance, location_name: "SyncCompliance"))
|
1493
|
+
CreateAssociationBatchRequestEntry.add_member(:apply_only_at_cron_interval, Shapes::ShapeRef.new(shape: ApplyOnlyAtCronInterval, location_name: "ApplyOnlyAtCronInterval"))
|
1487
1494
|
CreateAssociationBatchRequestEntry.struct_class = Types::CreateAssociationBatchRequestEntry
|
1488
1495
|
|
1489
1496
|
CreateAssociationBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: AssociationDescriptionList, location_name: "Successful"))
|
@@ -1503,6 +1510,7 @@ module Aws::SSM
|
|
1503
1510
|
CreateAssociationRequest.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "MaxConcurrency"))
|
1504
1511
|
CreateAssociationRequest.add_member(:compliance_severity, Shapes::ShapeRef.new(shape: AssociationComplianceSeverity, location_name: "ComplianceSeverity"))
|
1505
1512
|
CreateAssociationRequest.add_member(:sync_compliance, Shapes::ShapeRef.new(shape: AssociationSyncCompliance, location_name: "SyncCompliance"))
|
1513
|
+
CreateAssociationRequest.add_member(:apply_only_at_cron_interval, Shapes::ShapeRef.new(shape: ApplyOnlyAtCronInterval, location_name: "ApplyOnlyAtCronInterval"))
|
1506
1514
|
CreateAssociationRequest.struct_class = Types::CreateAssociationRequest
|
1507
1515
|
|
1508
1516
|
CreateAssociationResult.add_member(:association_description, Shapes::ShapeRef.new(shape: AssociationDescription, location_name: "AssociationDescription"))
|
@@ -1528,6 +1536,7 @@ module Aws::SSM
|
|
1528
1536
|
CreateMaintenanceWindowRequest.add_member(:end_date, Shapes::ShapeRef.new(shape: MaintenanceWindowStringDateTime, location_name: "EndDate"))
|
1529
1537
|
CreateMaintenanceWindowRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: MaintenanceWindowSchedule, required: true, location_name: "Schedule"))
|
1530
1538
|
CreateMaintenanceWindowRequest.add_member(:schedule_timezone, Shapes::ShapeRef.new(shape: MaintenanceWindowTimezone, location_name: "ScheduleTimezone"))
|
1539
|
+
CreateMaintenanceWindowRequest.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: MaintenanceWindowOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
1531
1540
|
CreateMaintenanceWindowRequest.add_member(:duration, Shapes::ShapeRef.new(shape: MaintenanceWindowDurationHours, required: true, location_name: "Duration"))
|
1532
1541
|
CreateMaintenanceWindowRequest.add_member(:cutoff, Shapes::ShapeRef.new(shape: MaintenanceWindowCutoff, required: true, location_name: "Cutoff"))
|
1533
1542
|
CreateMaintenanceWindowRequest.add_member(:allow_unassociated_targets, Shapes::ShapeRef.new(shape: MaintenanceWindowAllowUnassociatedTargets, required: true, location_name: "AllowUnassociatedTargets"))
|
@@ -2282,6 +2291,7 @@ module Aws::SSM
|
|
2282
2291
|
GetMaintenanceWindowResult.add_member(:end_date, Shapes::ShapeRef.new(shape: MaintenanceWindowStringDateTime, location_name: "EndDate"))
|
2283
2292
|
GetMaintenanceWindowResult.add_member(:schedule, Shapes::ShapeRef.new(shape: MaintenanceWindowSchedule, location_name: "Schedule"))
|
2284
2293
|
GetMaintenanceWindowResult.add_member(:schedule_timezone, Shapes::ShapeRef.new(shape: MaintenanceWindowTimezone, location_name: "ScheduleTimezone"))
|
2294
|
+
GetMaintenanceWindowResult.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: MaintenanceWindowOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
2285
2295
|
GetMaintenanceWindowResult.add_member(:next_execution_time, Shapes::ShapeRef.new(shape: MaintenanceWindowStringDateTime, location_name: "NextExecutionTime"))
|
2286
2296
|
GetMaintenanceWindowResult.add_member(:duration, Shapes::ShapeRef.new(shape: MaintenanceWindowDurationHours, location_name: "Duration"))
|
2287
2297
|
GetMaintenanceWindowResult.add_member(:cutoff, Shapes::ShapeRef.new(shape: MaintenanceWindowCutoff, location_name: "Cutoff"))
|
@@ -2960,6 +2970,7 @@ module Aws::SSM
|
|
2960
2970
|
MaintenanceWindowIdentity.add_member(:cutoff, Shapes::ShapeRef.new(shape: MaintenanceWindowCutoff, location_name: "Cutoff"))
|
2961
2971
|
MaintenanceWindowIdentity.add_member(:schedule, Shapes::ShapeRef.new(shape: MaintenanceWindowSchedule, location_name: "Schedule"))
|
2962
2972
|
MaintenanceWindowIdentity.add_member(:schedule_timezone, Shapes::ShapeRef.new(shape: MaintenanceWindowTimezone, location_name: "ScheduleTimezone"))
|
2973
|
+
MaintenanceWindowIdentity.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: MaintenanceWindowOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
2963
2974
|
MaintenanceWindowIdentity.add_member(:end_date, Shapes::ShapeRef.new(shape: MaintenanceWindowStringDateTime, location_name: "EndDate"))
|
2964
2975
|
MaintenanceWindowIdentity.add_member(:start_date, Shapes::ShapeRef.new(shape: MaintenanceWindowStringDateTime, location_name: "StartDate"))
|
2965
2976
|
MaintenanceWindowIdentity.add_member(:next_execution_time, Shapes::ShapeRef.new(shape: MaintenanceWindowStringDateTime, location_name: "NextExecutionTime"))
|
@@ -3856,6 +3867,7 @@ module Aws::SSM
|
|
3856
3867
|
UpdateAssociationRequest.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "MaxConcurrency"))
|
3857
3868
|
UpdateAssociationRequest.add_member(:compliance_severity, Shapes::ShapeRef.new(shape: AssociationComplianceSeverity, location_name: "ComplianceSeverity"))
|
3858
3869
|
UpdateAssociationRequest.add_member(:sync_compliance, Shapes::ShapeRef.new(shape: AssociationSyncCompliance, location_name: "SyncCompliance"))
|
3870
|
+
UpdateAssociationRequest.add_member(:apply_only_at_cron_interval, Shapes::ShapeRef.new(shape: ApplyOnlyAtCronInterval, location_name: "ApplyOnlyAtCronInterval"))
|
3859
3871
|
UpdateAssociationRequest.struct_class = Types::UpdateAssociationRequest
|
3860
3872
|
|
3861
3873
|
UpdateAssociationResult.add_member(:association_description, Shapes::ShapeRef.new(shape: AssociationDescription, location_name: "AssociationDescription"))
|
@@ -3895,6 +3907,7 @@ module Aws::SSM
|
|
3895
3907
|
UpdateMaintenanceWindowRequest.add_member(:end_date, Shapes::ShapeRef.new(shape: MaintenanceWindowStringDateTime, location_name: "EndDate"))
|
3896
3908
|
UpdateMaintenanceWindowRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: MaintenanceWindowSchedule, location_name: "Schedule"))
|
3897
3909
|
UpdateMaintenanceWindowRequest.add_member(:schedule_timezone, Shapes::ShapeRef.new(shape: MaintenanceWindowTimezone, location_name: "ScheduleTimezone"))
|
3910
|
+
UpdateMaintenanceWindowRequest.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: MaintenanceWindowOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
3898
3911
|
UpdateMaintenanceWindowRequest.add_member(:duration, Shapes::ShapeRef.new(shape: MaintenanceWindowDurationHours, location_name: "Duration", metadata: {"box"=>true}))
|
3899
3912
|
UpdateMaintenanceWindowRequest.add_member(:cutoff, Shapes::ShapeRef.new(shape: MaintenanceWindowCutoff, location_name: "Cutoff", metadata: {"box"=>true}))
|
3900
3913
|
UpdateMaintenanceWindowRequest.add_member(:allow_unassociated_targets, Shapes::ShapeRef.new(shape: MaintenanceWindowAllowUnassociatedTargets, location_name: "AllowUnassociatedTargets", metadata: {"box"=>true}))
|
@@ -3909,6 +3922,7 @@ module Aws::SSM
|
|
3909
3922
|
UpdateMaintenanceWindowResult.add_member(:end_date, Shapes::ShapeRef.new(shape: MaintenanceWindowStringDateTime, location_name: "EndDate"))
|
3910
3923
|
UpdateMaintenanceWindowResult.add_member(:schedule, Shapes::ShapeRef.new(shape: MaintenanceWindowSchedule, location_name: "Schedule"))
|
3911
3924
|
UpdateMaintenanceWindowResult.add_member(:schedule_timezone, Shapes::ShapeRef.new(shape: MaintenanceWindowTimezone, location_name: "ScheduleTimezone"))
|
3925
|
+
UpdateMaintenanceWindowResult.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: MaintenanceWindowOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
3912
3926
|
UpdateMaintenanceWindowResult.add_member(:duration, Shapes::ShapeRef.new(shape: MaintenanceWindowDurationHours, location_name: "Duration"))
|
3913
3927
|
UpdateMaintenanceWindowResult.add_member(:cutoff, Shapes::ShapeRef.new(shape: MaintenanceWindowCutoff, location_name: "Cutoff"))
|
3914
3928
|
UpdateMaintenanceWindowResult.add_member(:allow_unassociated_targets, Shapes::ShapeRef.new(shape: MaintenanceWindowAllowUnassociatedTargets, location_name: "AllowUnassociatedTargets"))
|
data/lib/aws-sdk-ssm/errors.rb
CHANGED
data/lib/aws-sdk-ssm/resource.rb
CHANGED
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -373,6 +375,13 @@ module Aws::SSM
|
|
373
375
|
# By default, all associations use `AUTO` mode.
|
374
376
|
# @return [String]
|
375
377
|
#
|
378
|
+
# @!attribute [rw] apply_only_at_cron_interval
|
379
|
+
# By default, when you create a new associations, the system runs it
|
380
|
+
# immediately after it is created and then according to the schedule
|
381
|
+
# you specified. Specify this option if you don't want an association
|
382
|
+
# to run immediately after you create it.
|
383
|
+
# @return [Boolean]
|
384
|
+
#
|
376
385
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationDescription AWS API Documentation
|
377
386
|
#
|
378
387
|
class AssociationDescription < Struct.new(
|
@@ -396,7 +405,8 @@ module Aws::SSM
|
|
396
405
|
:max_errors,
|
397
406
|
:max_concurrency,
|
398
407
|
:compliance_severity,
|
399
|
-
:sync_compliance
|
408
|
+
:sync_compliance,
|
409
|
+
:apply_only_at_cron_interval)
|
400
410
|
include Aws::Structure
|
401
411
|
end
|
402
412
|
|
@@ -781,6 +791,13 @@ module Aws::SSM
|
|
781
791
|
# By default, all associations use `AUTO` mode.
|
782
792
|
# @return [String]
|
783
793
|
#
|
794
|
+
# @!attribute [rw] apply_only_at_cron_interval
|
795
|
+
# By default, when you create a new associations, the system runs it
|
796
|
+
# immediately after it is created and then according to the schedule
|
797
|
+
# you specified. Specify this option if you don't want an association
|
798
|
+
# to run immediately after you create it.
|
799
|
+
# @return [Boolean]
|
800
|
+
#
|
784
801
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationVersionInfo AWS API Documentation
|
785
802
|
#
|
786
803
|
class AssociationVersionInfo < Struct.new(
|
@@ -797,7 +814,8 @@ module Aws::SSM
|
|
797
814
|
:max_errors,
|
798
815
|
:max_concurrency,
|
799
816
|
:compliance_severity,
|
800
|
-
:sync_compliance
|
817
|
+
:sync_compliance,
|
818
|
+
:apply_only_at_cron_interval)
|
801
819
|
include Aws::Structure
|
802
820
|
end
|
803
821
|
|
@@ -2357,6 +2375,7 @@ module Aws::SSM
|
|
2357
2375
|
# max_concurrency: "MaxConcurrency",
|
2358
2376
|
# compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
|
2359
2377
|
# sync_compliance: "AUTO", # accepts AUTO, MANUAL
|
2378
|
+
# apply_only_at_cron_interval: false,
|
2360
2379
|
# },
|
2361
2380
|
# ],
|
2362
2381
|
# }
|
@@ -2405,6 +2424,7 @@ module Aws::SSM
|
|
2405
2424
|
# max_concurrency: "MaxConcurrency",
|
2406
2425
|
# compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
|
2407
2426
|
# sync_compliance: "AUTO", # accepts AUTO, MANUAL
|
2427
|
+
# apply_only_at_cron_interval: false,
|
2408
2428
|
# }
|
2409
2429
|
#
|
2410
2430
|
# @!attribute [rw] name
|
@@ -2516,6 +2536,13 @@ module Aws::SSM
|
|
2516
2536
|
# By default, all associations use `AUTO` mode.
|
2517
2537
|
# @return [String]
|
2518
2538
|
#
|
2539
|
+
# @!attribute [rw] apply_only_at_cron_interval
|
2540
|
+
# By default, when you create a new associations, the system runs it
|
2541
|
+
# immediately after it is created and then according to the schedule
|
2542
|
+
# you specified. Specify this option if you don't want an association
|
2543
|
+
# to run immediately after you create it.
|
2544
|
+
# @return [Boolean]
|
2545
|
+
#
|
2519
2546
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatchRequestEntry AWS API Documentation
|
2520
2547
|
#
|
2521
2548
|
class CreateAssociationBatchRequestEntry < Struct.new(
|
@@ -2531,7 +2558,8 @@ module Aws::SSM
|
|
2531
2558
|
:max_errors,
|
2532
2559
|
:max_concurrency,
|
2533
2560
|
:compliance_severity,
|
2534
|
-
:sync_compliance
|
2561
|
+
:sync_compliance,
|
2562
|
+
:apply_only_at_cron_interval)
|
2535
2563
|
include Aws::Structure
|
2536
2564
|
end
|
2537
2565
|
|
@@ -2581,6 +2609,7 @@ module Aws::SSM
|
|
2581
2609
|
# max_concurrency: "MaxConcurrency",
|
2582
2610
|
# compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
|
2583
2611
|
# sync_compliance: "AUTO", # accepts AUTO, MANUAL
|
2612
|
+
# apply_only_at_cron_interval: false,
|
2584
2613
|
# }
|
2585
2614
|
#
|
2586
2615
|
# @!attribute [rw] name
|
@@ -2713,6 +2742,13 @@ module Aws::SSM
|
|
2713
2742
|
# By default, all associations use `AUTO` mode.
|
2714
2743
|
# @return [String]
|
2715
2744
|
#
|
2745
|
+
# @!attribute [rw] apply_only_at_cron_interval
|
2746
|
+
# By default, when you create a new associations, the system runs it
|
2747
|
+
# immediately after it is created and then according to the schedule
|
2748
|
+
# you specified. Specify this option if you don't want an association
|
2749
|
+
# to run immediately after you create it.
|
2750
|
+
# @return [Boolean]
|
2751
|
+
#
|
2716
2752
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationRequest AWS API Documentation
|
2717
2753
|
#
|
2718
2754
|
class CreateAssociationRequest < Struct.new(
|
@@ -2728,7 +2764,8 @@ module Aws::SSM
|
|
2728
2764
|
:max_errors,
|
2729
2765
|
:max_concurrency,
|
2730
2766
|
:compliance_severity,
|
2731
|
-
:sync_compliance
|
2767
|
+
:sync_compliance,
|
2768
|
+
:apply_only_at_cron_interval)
|
2732
2769
|
include Aws::Structure
|
2733
2770
|
end
|
2734
2771
|
|
@@ -2820,7 +2857,7 @@ module Aws::SSM
|
|
2820
2857
|
# You can't use the following strings as document name prefixes.
|
2821
2858
|
# These are reserved by AWS for use as document name prefixes:
|
2822
2859
|
#
|
2823
|
-
# * `aws
|
2860
|
+
# * `aws-`
|
2824
2861
|
#
|
2825
2862
|
# * `amazon`
|
2826
2863
|
#
|
@@ -2911,6 +2948,7 @@ module Aws::SSM
|
|
2911
2948
|
# end_date: "MaintenanceWindowStringDateTime",
|
2912
2949
|
# schedule: "MaintenanceWindowSchedule", # required
|
2913
2950
|
# schedule_timezone: "MaintenanceWindowTimezone",
|
2951
|
+
# schedule_offset: 1,
|
2914
2952
|
# duration: 1, # required
|
2915
2953
|
# cutoff: 1, # required
|
2916
2954
|
# allow_unassociated_targets: false, # required
|
@@ -2964,6 +3002,19 @@ module Aws::SSM
|
|
2964
3002
|
# [1]: https://www.iana.org/time-zones
|
2965
3003
|
# @return [String]
|
2966
3004
|
#
|
3005
|
+
# @!attribute [rw] schedule_offset
|
3006
|
+
# The number of days to wait after the date and time specified by a
|
3007
|
+
# CRON expression before running the maintenance window.
|
3008
|
+
#
|
3009
|
+
# For example, the following cron expression schedules a maintenance
|
3010
|
+
# window to run on the third Tuesday of every month at 11:30 PM.
|
3011
|
+
#
|
3012
|
+
# `cron(0 30 23 ? * TUE#3 *)`
|
3013
|
+
#
|
3014
|
+
# If the schedule offset is `2`, the maintenance window won't run
|
3015
|
+
# until two days later.
|
3016
|
+
# @return [Integer]
|
3017
|
+
#
|
2967
3018
|
# @!attribute [rw] duration
|
2968
3019
|
# The duration of the maintenance window in hours.
|
2969
3020
|
# @return [Integer]
|
@@ -3020,6 +3071,7 @@ module Aws::SSM
|
|
3020
3071
|
:end_date,
|
3021
3072
|
:schedule,
|
3022
3073
|
:schedule_timezone,
|
3074
|
+
:schedule_offset,
|
3023
3075
|
:duration,
|
3024
3076
|
:cutoff,
|
3025
3077
|
:allow_unassociated_targets,
|
@@ -7662,6 +7714,11 @@ module Aws::SSM
|
|
7662
7714
|
# [1]: https://www.iana.org/time-zones
|
7663
7715
|
# @return [String]
|
7664
7716
|
#
|
7717
|
+
# @!attribute [rw] schedule_offset
|
7718
|
+
# The number of days to wait to run a maintenance window after the
|
7719
|
+
# scheduled CRON expression date and time.
|
7720
|
+
# @return [Integer]
|
7721
|
+
#
|
7665
7722
|
# @!attribute [rw] next_execution_time
|
7666
7723
|
# The next time the maintenance window will actually run, taking into
|
7667
7724
|
# account any specified times for the maintenance window to become
|
@@ -7704,6 +7761,7 @@ module Aws::SSM
|
|
7704
7761
|
:end_date,
|
7705
7762
|
:schedule,
|
7706
7763
|
:schedule_timezone,
|
7764
|
+
:schedule_offset,
|
7707
7765
|
:next_execution_time,
|
7708
7766
|
:duration,
|
7709
7767
|
:cutoff,
|
@@ -11155,6 +11213,11 @@ module Aws::SSM
|
|
11155
11213
|
# based on, in Internet Assigned Numbers Authority (IANA) format.
|
11156
11214
|
# @return [String]
|
11157
11215
|
#
|
11216
|
+
# @!attribute [rw] schedule_offset
|
11217
|
+
# The number of days to wait to run a maintenance window after the
|
11218
|
+
# scheduled CRON expression date and time.
|
11219
|
+
# @return [Integer]
|
11220
|
+
#
|
11158
11221
|
# @!attribute [rw] end_date
|
11159
11222
|
# The date and time, in ISO-8601 Extended format, for when the
|
11160
11223
|
# maintenance window is scheduled to become inactive.
|
@@ -11182,6 +11245,7 @@ module Aws::SSM
|
|
11182
11245
|
:cutoff,
|
11183
11246
|
:schedule,
|
11184
11247
|
:schedule_timezone,
|
11248
|
+
:schedule_offset,
|
11185
11249
|
:end_date,
|
11186
11250
|
:start_date,
|
11187
11251
|
:next_execution_time)
|
@@ -13516,15 +13580,19 @@ module Aws::SSM
|
|
13516
13580
|
# @!attribute [rw] type
|
13517
13581
|
# The type of parameter that you want to add to the system.
|
13518
13582
|
#
|
13583
|
+
# <note markdown="1"> `SecureString` is not currently supported for AWS CloudFormation
|
13584
|
+
# templates or in the China Regions.
|
13585
|
+
#
|
13586
|
+
# </note>
|
13587
|
+
#
|
13519
13588
|
# Items in a `StringList` must be separated by a comma (,). You can't
|
13520
13589
|
# use other punctuation or special character to escape items in the
|
13521
13590
|
# list. If you have a parameter value that requires a comma, then use
|
13522
13591
|
# the `String` data type.
|
13523
13592
|
#
|
13524
|
-
#
|
13525
|
-
#
|
13526
|
-
#
|
13527
|
-
# </note>
|
13593
|
+
# Specifying a parameter type is not required when updating a
|
13594
|
+
# parameter. You must specify a parameter type when creating a
|
13595
|
+
# parameter.
|
13528
13596
|
# @return [String]
|
13529
13597
|
#
|
13530
13598
|
# @!attribute [rw] key_id
|
@@ -13685,7 +13753,7 @@ module Aws::SSM
|
|
13685
13753
|
# @return [String]
|
13686
13754
|
#
|
13687
13755
|
# @!attribute [rw] data_type
|
13688
|
-
# The data type for a String parameter. Supported data types include
|
13756
|
+
# The data type for a `String` parameter. Supported data types include
|
13689
13757
|
# plain text and Amazon Machine Image IDs.
|
13690
13758
|
#
|
13691
13759
|
# **The following data type values are supported.**
|
@@ -13694,11 +13762,12 @@ module Aws::SSM
|
|
13694
13762
|
#
|
13695
13763
|
# * `aws:ec2:image`
|
13696
13764
|
#
|
13697
|
-
# When you create a String parameter and specify `aws:ec2:image`,
|
13698
|
-
# Systems Manager validates the parameter value
|
13699
|
-
#
|
13700
|
-
# more information, see [Native
|
13701
|
-
# Image IDs][1] in the *AWS
|
13765
|
+
# When you create a `String` parameter and specify `aws:ec2:image`,
|
13766
|
+
# Systems Manager validates the parameter value is in the required
|
13767
|
+
# format, such as `ami-12345abcdeEXAMPLE`, and that the specified AMI
|
13768
|
+
# is available in your AWS account. For more information, see [Native
|
13769
|
+
# parameter support for Amazon Machine Image IDs][1] in the *AWS
|
13770
|
+
# Systems Manager User Guide*.
|
13702
13771
|
#
|
13703
13772
|
#
|
13704
13773
|
#
|
@@ -15617,8 +15686,9 @@ module Aws::SSM
|
|
15617
15686
|
# @!attribute [rw] document_name
|
15618
15687
|
# The name of the SSM document to define the parameters and plugin
|
15619
15688
|
# settings for the session. For example, `SSM-SessionManagerRunShell`.
|
15620
|
-
#
|
15621
|
-
#
|
15689
|
+
# You can call the GetDocument API to verify the document exists
|
15690
|
+
# before attempting to start a session. If no document name is
|
15691
|
+
# provided, a shell to the instance is launched by default.
|
15622
15692
|
# @return [String]
|
15623
15693
|
#
|
15624
15694
|
# @!attribute [rw] parameters
|
@@ -16271,6 +16341,7 @@ module Aws::SSM
|
|
16271
16341
|
# max_concurrency: "MaxConcurrency",
|
16272
16342
|
# compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
|
16273
16343
|
# sync_compliance: "AUTO", # accepts AUTO, MANUAL
|
16344
|
+
# apply_only_at_cron_interval: false,
|
16274
16345
|
# }
|
16275
16346
|
#
|
16276
16347
|
# @!attribute [rw] association_id
|
@@ -16391,6 +16462,20 @@ module Aws::SSM
|
|
16391
16462
|
# By default, all associations use `AUTO` mode.
|
16392
16463
|
# @return [String]
|
16393
16464
|
#
|
16465
|
+
# @!attribute [rw] apply_only_at_cron_interval
|
16466
|
+
# By default, when you update an association, the system runs it
|
16467
|
+
# immediately after it is updated and then according to the schedule
|
16468
|
+
# you specified. Specify this option if you don't want an association
|
16469
|
+
# to run immediately after you update it.
|
16470
|
+
#
|
16471
|
+
# Also, if you specified this option when you created the association,
|
16472
|
+
# you can reset it. To do so, specify the
|
16473
|
+
# `no-apply-only-at-cron-interval` parameter when you update the
|
16474
|
+
# association from the command line. This parameter forces the
|
16475
|
+
# association to run immediately after updating it and according to
|
16476
|
+
# the interval specified.
|
16477
|
+
# @return [Boolean]
|
16478
|
+
#
|
16394
16479
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationRequest AWS API Documentation
|
16395
16480
|
#
|
16396
16481
|
class UpdateAssociationRequest < Struct.new(
|
@@ -16407,7 +16492,8 @@ module Aws::SSM
|
|
16407
16492
|
:max_errors,
|
16408
16493
|
:max_concurrency,
|
16409
16494
|
:compliance_severity,
|
16410
|
-
:sync_compliance
|
16495
|
+
:sync_compliance,
|
16496
|
+
:apply_only_at_cron_interval)
|
16411
16497
|
include Aws::Structure
|
16412
16498
|
end
|
16413
16499
|
|
@@ -16597,6 +16683,7 @@ module Aws::SSM
|
|
16597
16683
|
# end_date: "MaintenanceWindowStringDateTime",
|
16598
16684
|
# schedule: "MaintenanceWindowSchedule",
|
16599
16685
|
# schedule_timezone: "MaintenanceWindowTimezone",
|
16686
|
+
# schedule_offset: 1,
|
16600
16687
|
# duration: 1,
|
16601
16688
|
# cutoff: 1,
|
16602
16689
|
# allow_unassociated_targets: false,
|
@@ -16652,6 +16739,19 @@ module Aws::SSM
|
|
16652
16739
|
# [1]: https://www.iana.org/time-zones
|
16653
16740
|
# @return [String]
|
16654
16741
|
#
|
16742
|
+
# @!attribute [rw] schedule_offset
|
16743
|
+
# The number of days to wait after the date and time specified by a
|
16744
|
+
# CRON expression before running the maintenance window.
|
16745
|
+
#
|
16746
|
+
# For example, the following cron expression schedules a maintenance
|
16747
|
+
# window to run the third Tuesday of every month at 11:30 PM.
|
16748
|
+
#
|
16749
|
+
# `cron(0 30 23 ? * TUE#3 *)`
|
16750
|
+
#
|
16751
|
+
# If the schedule offset is `2`, the maintenance window won't run
|
16752
|
+
# until two days later.
|
16753
|
+
# @return [Integer]
|
16754
|
+
#
|
16655
16755
|
# @!attribute [rw] duration
|
16656
16756
|
# The duration of the maintenance window in hours.
|
16657
16757
|
# @return [Integer]
|
@@ -16686,6 +16786,7 @@ module Aws::SSM
|
|
16686
16786
|
:end_date,
|
16687
16787
|
:schedule,
|
16688
16788
|
:schedule_timezone,
|
16789
|
+
:schedule_offset,
|
16689
16790
|
:duration,
|
16690
16791
|
:cutoff,
|
16691
16792
|
:allow_unassociated_targets,
|
@@ -16735,6 +16836,11 @@ module Aws::SSM
|
|
16735
16836
|
# [1]: https://www.iana.org/time-zones
|
16736
16837
|
# @return [String]
|
16737
16838
|
#
|
16839
|
+
# @!attribute [rw] schedule_offset
|
16840
|
+
# The number of days to wait to run a maintenance window after the
|
16841
|
+
# scheduled CRON expression date and time.
|
16842
|
+
# @return [Integer]
|
16843
|
+
#
|
16738
16844
|
# @!attribute [rw] duration
|
16739
16845
|
# The duration of the maintenance window in hours.
|
16740
16846
|
# @return [Integer]
|
@@ -16763,6 +16869,7 @@ module Aws::SSM
|
|
16763
16869
|
:end_date,
|
16764
16870
|
:schedule,
|
16765
16871
|
:schedule_timezone,
|
16872
|
+
:schedule_offset,
|
16766
16873
|
:duration,
|
16767
16874
|
:cutoff,
|
16768
16875
|
:allow_unassociated_targets,
|
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.82.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-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.99.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|