aws-sdk-ssm 1.27.0 → 1.28.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 +230 -4
- data/lib/aws-sdk-ssm/client_api.rb +101 -0
- data/lib/aws-sdk-ssm/types.rb +383 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e0ff04f372d19dc5202897d493ea0e402fcb97c
|
4
|
+
data.tar.gz: 856a9c75df265f1b72db0fb90a2b3a9d3271fa5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6cf4db178ab089111316db80589c3335bfe3022ecf6f6867e7574b40e03f65be06a638195d1592193877a5f073c6009e5e1c517b8bba0f2a0a4d30a234637ec
|
7
|
+
data.tar.gz: 41335655e24681c6c946e06c5758a8f139df1210de21e51dfeef7275293564300c82c1314c7ff581ac2df406ba4c71e81339faef3ad1b3e7a417291e4455f6c9
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -304,6 +304,36 @@ module Aws::SSM
|
|
304
304
|
req.send_request(options)
|
305
305
|
end
|
306
306
|
|
307
|
+
# Stops a Maintenance Window execution that is already in progress and
|
308
|
+
# cancels any tasks in the window that have not already starting
|
309
|
+
# running. (Tasks already in progress will continue to completion.)
|
310
|
+
#
|
311
|
+
# @option params [required, String] :window_execution_id
|
312
|
+
# The ID of the Maintenance Window execution to stop.
|
313
|
+
#
|
314
|
+
# @return [Types::CancelMaintenanceWindowExecutionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
315
|
+
#
|
316
|
+
# * {Types::CancelMaintenanceWindowExecutionResult#window_execution_id #window_execution_id} => String
|
317
|
+
#
|
318
|
+
# @example Request syntax with placeholder values
|
319
|
+
#
|
320
|
+
# resp = client.cancel_maintenance_window_execution({
|
321
|
+
# window_execution_id: "MaintenanceWindowExecutionId", # required
|
322
|
+
# })
|
323
|
+
#
|
324
|
+
# @example Response structure
|
325
|
+
#
|
326
|
+
# resp.window_execution_id #=> String
|
327
|
+
#
|
328
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CancelMaintenanceWindowExecution AWS API Documentation
|
329
|
+
#
|
330
|
+
# @overload cancel_maintenance_window_execution(params = {})
|
331
|
+
# @param [Hash] params ({})
|
332
|
+
def cancel_maintenance_window_execution(params = {}, options = {})
|
333
|
+
req = build_request(:cancel_maintenance_window_execution, params)
|
334
|
+
req.send_request(options)
|
335
|
+
end
|
336
|
+
|
307
337
|
# Registers your on-premises server or virtual machine with Amazon EC2
|
308
338
|
# so that you can manage these resources using Run Command. An
|
309
339
|
# on-premises server or virtual machine that has been registered with
|
@@ -689,10 +719,31 @@ module Aws::SSM
|
|
689
719
|
# specifying a description to help you organize your Maintenance
|
690
720
|
# Windows.
|
691
721
|
#
|
722
|
+
# @option params [String] :start_date
|
723
|
+
# The date and time, in ISO-8601 Extended format, for when you want the
|
724
|
+
# Maintenance Window to become active. StartDate allows you to delay
|
725
|
+
# activation of the Maintenance Window until the specified future date.
|
726
|
+
#
|
727
|
+
# @option params [String] :end_date
|
728
|
+
# The date and time, in ISO-8601 Extended format, for when you want the
|
729
|
+
# Maintenance Window to become inactive. EndDate allows you to set a
|
730
|
+
# date and time in the future when the Maintenance Window will no longer
|
731
|
+
# run.
|
732
|
+
#
|
692
733
|
# @option params [required, String] :schedule
|
693
734
|
# The schedule of the Maintenance Window in the form of a cron or rate
|
694
735
|
# expression.
|
695
736
|
#
|
737
|
+
# @option params [String] :schedule_timezone
|
738
|
+
# The time zone that the scheduled Maintenance Window executions are
|
739
|
+
# based on, in Internet Assigned Numbers Authority (IANA) format. For
|
740
|
+
# example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul". For
|
741
|
+
# more information, see the [Time Zone Database][1] on the IANA website.
|
742
|
+
#
|
743
|
+
#
|
744
|
+
#
|
745
|
+
# [1]: https://www.iana.org/time-zones
|
746
|
+
#
|
696
747
|
# @option params [required, Integer] :duration
|
697
748
|
# The duration of the Maintenance Window in hours.
|
698
749
|
#
|
@@ -725,7 +776,10 @@ module Aws::SSM
|
|
725
776
|
# resp = client.create_maintenance_window({
|
726
777
|
# name: "MaintenanceWindowName", # required
|
727
778
|
# description: "MaintenanceWindowDescription",
|
779
|
+
# start_date: "MaintenanceWindowStringDateTime",
|
780
|
+
# end_date: "MaintenanceWindowStringDateTime",
|
728
781
|
# schedule: "MaintenanceWindowSchedule", # required
|
782
|
+
# schedule_timezone: "MaintenanceWindowTimezone",
|
729
783
|
# duration: 1, # required
|
730
784
|
# cutoff: 1, # required
|
731
785
|
# allow_unassociated_targets: false, # required
|
@@ -2657,6 +2711,76 @@ module Aws::SSM
|
|
2657
2711
|
req.send_request(options)
|
2658
2712
|
end
|
2659
2713
|
|
2714
|
+
# Retrieves information about upcoming executions of a Maintenance
|
2715
|
+
# Window.
|
2716
|
+
#
|
2717
|
+
# @option params [String] :window_id
|
2718
|
+
# The ID of the Maintenance Window to retrieve information about.
|
2719
|
+
#
|
2720
|
+
# @option params [Array<Types::Target>] :targets
|
2721
|
+
# The instance ID or key/value pair to retrieve information about.
|
2722
|
+
#
|
2723
|
+
# @option params [String] :resource_type
|
2724
|
+
# The type of resource you want to retrieve information about. For
|
2725
|
+
# example, "INSTANCE".
|
2726
|
+
#
|
2727
|
+
# @option params [Array<Types::PatchOrchestratorFilter>] :filters
|
2728
|
+
# Filters used to limit the range of results. For example, you can limit
|
2729
|
+
# Maintenance Window executions to only those scheduled before or after
|
2730
|
+
# a certain date and time.
|
2731
|
+
#
|
2732
|
+
# @option params [Integer] :max_results
|
2733
|
+
# The maximum number of items to return for this call. The call also
|
2734
|
+
# returns a token that you can specify in a subsequent call to get the
|
2735
|
+
# next set of results.
|
2736
|
+
#
|
2737
|
+
# @option params [String] :next_token
|
2738
|
+
# The token for the next set of items to return. (You received this
|
2739
|
+
# token from a previous call.)
|
2740
|
+
#
|
2741
|
+
# @return [Types::DescribeMaintenanceWindowScheduleResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2742
|
+
#
|
2743
|
+
# * {Types::DescribeMaintenanceWindowScheduleResult#scheduled_window_executions #scheduled_window_executions} => Array<Types::ScheduledWindowExecution>
|
2744
|
+
# * {Types::DescribeMaintenanceWindowScheduleResult#next_token #next_token} => String
|
2745
|
+
#
|
2746
|
+
# @example Request syntax with placeholder values
|
2747
|
+
#
|
2748
|
+
# resp = client.describe_maintenance_window_schedule({
|
2749
|
+
# window_id: "MaintenanceWindowId",
|
2750
|
+
# targets: [
|
2751
|
+
# {
|
2752
|
+
# key: "TargetKey",
|
2753
|
+
# values: ["TargetValue"],
|
2754
|
+
# },
|
2755
|
+
# ],
|
2756
|
+
# resource_type: "INSTANCE", # accepts INSTANCE
|
2757
|
+
# filters: [
|
2758
|
+
# {
|
2759
|
+
# key: "PatchOrchestratorFilterKey",
|
2760
|
+
# values: ["PatchOrchestratorFilterValue"],
|
2761
|
+
# },
|
2762
|
+
# ],
|
2763
|
+
# max_results: 1,
|
2764
|
+
# next_token: "NextToken",
|
2765
|
+
# })
|
2766
|
+
#
|
2767
|
+
# @example Response structure
|
2768
|
+
#
|
2769
|
+
# resp.scheduled_window_executions #=> Array
|
2770
|
+
# resp.scheduled_window_executions[0].window_id #=> String
|
2771
|
+
# resp.scheduled_window_executions[0].name #=> String
|
2772
|
+
# resp.scheduled_window_executions[0].execution_time #=> String
|
2773
|
+
# resp.next_token #=> String
|
2774
|
+
#
|
2775
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowSchedule AWS API Documentation
|
2776
|
+
#
|
2777
|
+
# @overload describe_maintenance_window_schedule(params = {})
|
2778
|
+
# @param [Hash] params ({})
|
2779
|
+
def describe_maintenance_window_schedule(params = {}, options = {})
|
2780
|
+
req = build_request(:describe_maintenance_window_schedule, params)
|
2781
|
+
req.send_request(options)
|
2782
|
+
end
|
2783
|
+
|
2660
2784
|
# Lists the targets registered with the Maintenance Window.
|
2661
2785
|
#
|
2662
2786
|
# @option params [required, String] :window_id
|
@@ -2833,6 +2957,11 @@ module Aws::SSM
|
|
2833
2957
|
# resp.window_identities[0].enabled #=> Boolean
|
2834
2958
|
# resp.window_identities[0].duration #=> Integer
|
2835
2959
|
# resp.window_identities[0].cutoff #=> Integer
|
2960
|
+
# resp.window_identities[0].schedule #=> String
|
2961
|
+
# resp.window_identities[0].schedule_timezone #=> String
|
2962
|
+
# resp.window_identities[0].end_date #=> String
|
2963
|
+
# resp.window_identities[0].start_date #=> String
|
2964
|
+
# resp.window_identities[0].next_execution_time #=> String
|
2836
2965
|
# resp.next_token #=> String
|
2837
2966
|
#
|
2838
2967
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindows AWS API Documentation
|
@@ -2844,6 +2973,60 @@ module Aws::SSM
|
|
2844
2973
|
req.send_request(options)
|
2845
2974
|
end
|
2846
2975
|
|
2976
|
+
# Retrieves information about the Maintenance Windows targets or tasks
|
2977
|
+
# that an instance is associated with.
|
2978
|
+
#
|
2979
|
+
# @option params [required, Array<Types::Target>] :targets
|
2980
|
+
# The instance ID or key/value pair to retrieve information about.
|
2981
|
+
#
|
2982
|
+
# @option params [required, String] :resource_type
|
2983
|
+
# The type of resource you want to retrieve information about. For
|
2984
|
+
# example, "INSTANCE".
|
2985
|
+
#
|
2986
|
+
# @option params [Integer] :max_results
|
2987
|
+
# The maximum number of items to return for this call. The call also
|
2988
|
+
# returns a token that you can specify in a subsequent call to get the
|
2989
|
+
# next set of results.
|
2990
|
+
#
|
2991
|
+
# @option params [String] :next_token
|
2992
|
+
# The token for the next set of items to return. (You received this
|
2993
|
+
# token from a previous call.)
|
2994
|
+
#
|
2995
|
+
# @return [Types::DescribeMaintenanceWindowsForTargetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2996
|
+
#
|
2997
|
+
# * {Types::DescribeMaintenanceWindowsForTargetResult#window_identities #window_identities} => Array<Types::MaintenanceWindowIdentityForTarget>
|
2998
|
+
# * {Types::DescribeMaintenanceWindowsForTargetResult#next_token #next_token} => String
|
2999
|
+
#
|
3000
|
+
# @example Request syntax with placeholder values
|
3001
|
+
#
|
3002
|
+
# resp = client.describe_maintenance_windows_for_target({
|
3003
|
+
# targets: [ # required
|
3004
|
+
# {
|
3005
|
+
# key: "TargetKey",
|
3006
|
+
# values: ["TargetValue"],
|
3007
|
+
# },
|
3008
|
+
# ],
|
3009
|
+
# resource_type: "INSTANCE", # required, accepts INSTANCE
|
3010
|
+
# max_results: 1,
|
3011
|
+
# next_token: "NextToken",
|
3012
|
+
# })
|
3013
|
+
#
|
3014
|
+
# @example Response structure
|
3015
|
+
#
|
3016
|
+
# resp.window_identities #=> Array
|
3017
|
+
# resp.window_identities[0].window_id #=> String
|
3018
|
+
# resp.window_identities[0].name #=> String
|
3019
|
+
# resp.next_token #=> String
|
3020
|
+
#
|
3021
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowsForTarget AWS API Documentation
|
3022
|
+
#
|
3023
|
+
# @overload describe_maintenance_windows_for_target(params = {})
|
3024
|
+
# @param [Hash] params ({})
|
3025
|
+
def describe_maintenance_windows_for_target(params = {}, options = {})
|
3026
|
+
req = build_request(:describe_maintenance_windows_for_target, params)
|
3027
|
+
req.send_request(options)
|
3028
|
+
end
|
3029
|
+
|
2847
3030
|
# Get information about a parameter.
|
2848
3031
|
#
|
2849
3032
|
# Request results are returned on a best-effort basis. If you specify
|
@@ -3608,7 +3791,11 @@ module Aws::SSM
|
|
3608
3791
|
# * {Types::GetMaintenanceWindowResult#window_id #window_id} => String
|
3609
3792
|
# * {Types::GetMaintenanceWindowResult#name #name} => String
|
3610
3793
|
# * {Types::GetMaintenanceWindowResult#description #description} => String
|
3794
|
+
# * {Types::GetMaintenanceWindowResult#start_date #start_date} => String
|
3795
|
+
# * {Types::GetMaintenanceWindowResult#end_date #end_date} => String
|
3611
3796
|
# * {Types::GetMaintenanceWindowResult#schedule #schedule} => String
|
3797
|
+
# * {Types::GetMaintenanceWindowResult#schedule_timezone #schedule_timezone} => String
|
3798
|
+
# * {Types::GetMaintenanceWindowResult#next_execution_time #next_execution_time} => String
|
3612
3799
|
# * {Types::GetMaintenanceWindowResult#duration #duration} => Integer
|
3613
3800
|
# * {Types::GetMaintenanceWindowResult#cutoff #cutoff} => Integer
|
3614
3801
|
# * {Types::GetMaintenanceWindowResult#allow_unassociated_targets #allow_unassociated_targets} => Boolean
|
@@ -3627,7 +3814,11 @@ module Aws::SSM
|
|
3627
3814
|
# resp.window_id #=> String
|
3628
3815
|
# resp.name #=> String
|
3629
3816
|
# resp.description #=> String
|
3817
|
+
# resp.start_date #=> String
|
3818
|
+
# resp.end_date #=> String
|
3630
3819
|
# resp.schedule #=> String
|
3820
|
+
# resp.schedule_timezone #=> String
|
3821
|
+
# resp.next_execution_time #=> String
|
3631
3822
|
# resp.duration #=> Integer
|
3632
3823
|
# resp.cutoff #=> Integer
|
3633
3824
|
# resp.allow_unassociated_targets #=> Boolean
|
@@ -5881,7 +6072,7 @@ module Aws::SSM
|
|
5881
6072
|
# maximum of 50 IDs. If you prefer not to list individual instance IDs,
|
5882
6073
|
# you can instead send commands to a fleet of instances using the
|
5883
6074
|
# Targets parameter, which accepts EC2 tags. For more information about
|
5884
|
-
# how to use
|
6075
|
+
# how to use targets, see [Sending Commands to a Fleet][1] in the *AWS
|
5885
6076
|
# Systems Manager User Guide*.
|
5886
6077
|
#
|
5887
6078
|
#
|
@@ -5892,7 +6083,7 @@ module Aws::SSM
|
|
5892
6083
|
# (Optional) An array of search criteria that targets instances using a
|
5893
6084
|
# Key,Value combination that you specify. Targets is required if you
|
5894
6085
|
# don't provide one or more instance IDs in the call. For more
|
5895
|
-
# information about how to use
|
6086
|
+
# information about how to use targets, see [Sending Commands to a
|
5896
6087
|
# Fleet][1] in the *AWS Systems Manager User Guide*.
|
5897
6088
|
#
|
5898
6089
|
#
|
@@ -6120,7 +6311,7 @@ module Aws::SSM
|
|
6120
6311
|
#
|
6121
6312
|
# @option params [String] :target_parameter_name
|
6122
6313
|
# The name of the parameter used as the target resource for the
|
6123
|
-
# rate-controlled execution. Required if you specify
|
6314
|
+
# rate-controlled execution. Required if you specify targets.
|
6124
6315
|
#
|
6125
6316
|
# @option params [Array<Types::Target>] :targets
|
6126
6317
|
# A key-value mapping to target resources. Required if you specify
|
@@ -6607,10 +6798,36 @@ module Aws::SSM
|
|
6607
6798
|
# @option params [String] :description
|
6608
6799
|
# An optional description for the update request.
|
6609
6800
|
#
|
6801
|
+
# @option params [String] :start_date
|
6802
|
+
# The time zone that the scheduled Maintenance Window executions are
|
6803
|
+
# based on, in Internet Assigned Numbers Authority (IANA) format. For
|
6804
|
+
# example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul". For
|
6805
|
+
# more information, see the [Time Zone Database][1] on the IANA website.
|
6806
|
+
#
|
6807
|
+
#
|
6808
|
+
#
|
6809
|
+
# [1]: https://www.iana.org/time-zones
|
6810
|
+
#
|
6811
|
+
# @option params [String] :end_date
|
6812
|
+
# The date and time, in ISO-8601 Extended format, for when you want the
|
6813
|
+
# Maintenance Window to become inactive. EndDate allows you to set a
|
6814
|
+
# date and time in the future when the Maintenance Window will no longer
|
6815
|
+
# run.
|
6816
|
+
#
|
6610
6817
|
# @option params [String] :schedule
|
6611
6818
|
# The schedule of the Maintenance Window in the form of a cron or rate
|
6612
6819
|
# expression.
|
6613
6820
|
#
|
6821
|
+
# @option params [String] :schedule_timezone
|
6822
|
+
# The time zone that the scheduled Maintenance Window executions are
|
6823
|
+
# based on, in Internet Assigned Numbers Authority (IANA) format. For
|
6824
|
+
# example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul". For
|
6825
|
+
# more information, see the [Time Zone Database][1] on the IANA website.
|
6826
|
+
#
|
6827
|
+
#
|
6828
|
+
#
|
6829
|
+
# [1]: https://www.iana.org/time-zones
|
6830
|
+
#
|
6614
6831
|
# @option params [Integer] :duration
|
6615
6832
|
# The duration of the Maintenance Window in hours.
|
6616
6833
|
#
|
@@ -6635,7 +6852,10 @@ module Aws::SSM
|
|
6635
6852
|
# * {Types::UpdateMaintenanceWindowResult#window_id #window_id} => String
|
6636
6853
|
# * {Types::UpdateMaintenanceWindowResult#name #name} => String
|
6637
6854
|
# * {Types::UpdateMaintenanceWindowResult#description #description} => String
|
6855
|
+
# * {Types::UpdateMaintenanceWindowResult#start_date #start_date} => String
|
6856
|
+
# * {Types::UpdateMaintenanceWindowResult#end_date #end_date} => String
|
6638
6857
|
# * {Types::UpdateMaintenanceWindowResult#schedule #schedule} => String
|
6858
|
+
# * {Types::UpdateMaintenanceWindowResult#schedule_timezone #schedule_timezone} => String
|
6639
6859
|
# * {Types::UpdateMaintenanceWindowResult#duration #duration} => Integer
|
6640
6860
|
# * {Types::UpdateMaintenanceWindowResult#cutoff #cutoff} => Integer
|
6641
6861
|
# * {Types::UpdateMaintenanceWindowResult#allow_unassociated_targets #allow_unassociated_targets} => Boolean
|
@@ -6647,7 +6867,10 @@ module Aws::SSM
|
|
6647
6867
|
# window_id: "MaintenanceWindowId", # required
|
6648
6868
|
# name: "MaintenanceWindowName",
|
6649
6869
|
# description: "MaintenanceWindowDescription",
|
6870
|
+
# start_date: "MaintenanceWindowStringDateTime",
|
6871
|
+
# end_date: "MaintenanceWindowStringDateTime",
|
6650
6872
|
# schedule: "MaintenanceWindowSchedule",
|
6873
|
+
# schedule_timezone: "MaintenanceWindowTimezone",
|
6651
6874
|
# duration: 1,
|
6652
6875
|
# cutoff: 1,
|
6653
6876
|
# allow_unassociated_targets: false,
|
@@ -6660,7 +6883,10 @@ module Aws::SSM
|
|
6660
6883
|
# resp.window_id #=> String
|
6661
6884
|
# resp.name #=> String
|
6662
6885
|
# resp.description #=> String
|
6886
|
+
# resp.start_date #=> String
|
6887
|
+
# resp.end_date #=> String
|
6663
6888
|
# resp.schedule #=> String
|
6889
|
+
# resp.schedule_timezone #=> String
|
6664
6890
|
# resp.duration #=> Integer
|
6665
6891
|
# resp.cutoff #=> Integer
|
6666
6892
|
# resp.allow_unassociated_targets #=> Boolean
|
@@ -7243,7 +7469,7 @@ module Aws::SSM
|
|
7243
7469
|
params: params,
|
7244
7470
|
config: config)
|
7245
7471
|
context[:gem_name] = 'aws-sdk-ssm'
|
7246
|
-
context[:gem_version] = '1.
|
7472
|
+
context[:gem_version] = '1.28.0'
|
7247
7473
|
Seahorse::Client::Request.new(handlers, context)
|
7248
7474
|
end
|
7249
7475
|
|
@@ -94,6 +94,8 @@ module Aws::SSM
|
|
94
94
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
95
95
|
CancelCommandRequest = Shapes::StructureShape.new(name: 'CancelCommandRequest')
|
96
96
|
CancelCommandResult = Shapes::StructureShape.new(name: 'CancelCommandResult')
|
97
|
+
CancelMaintenanceWindowExecutionRequest = Shapes::StructureShape.new(name: 'CancelMaintenanceWindowExecutionRequest')
|
98
|
+
CancelMaintenanceWindowExecutionResult = Shapes::StructureShape.new(name: 'CancelMaintenanceWindowExecutionResult')
|
97
99
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
98
100
|
CloudWatchLogGroupName = Shapes::StringShape.new(name: 'CloudWatchLogGroupName')
|
99
101
|
CloudWatchOutputConfig = Shapes::StructureShape.new(name: 'CloudWatchOutputConfig')
|
@@ -239,10 +241,14 @@ module Aws::SSM
|
|
239
241
|
DescribeMaintenanceWindowExecutionTasksResult = Shapes::StructureShape.new(name: 'DescribeMaintenanceWindowExecutionTasksResult')
|
240
242
|
DescribeMaintenanceWindowExecutionsRequest = Shapes::StructureShape.new(name: 'DescribeMaintenanceWindowExecutionsRequest')
|
241
243
|
DescribeMaintenanceWindowExecutionsResult = Shapes::StructureShape.new(name: 'DescribeMaintenanceWindowExecutionsResult')
|
244
|
+
DescribeMaintenanceWindowScheduleRequest = Shapes::StructureShape.new(name: 'DescribeMaintenanceWindowScheduleRequest')
|
245
|
+
DescribeMaintenanceWindowScheduleResult = Shapes::StructureShape.new(name: 'DescribeMaintenanceWindowScheduleResult')
|
242
246
|
DescribeMaintenanceWindowTargetsRequest = Shapes::StructureShape.new(name: 'DescribeMaintenanceWindowTargetsRequest')
|
243
247
|
DescribeMaintenanceWindowTargetsResult = Shapes::StructureShape.new(name: 'DescribeMaintenanceWindowTargetsResult')
|
244
248
|
DescribeMaintenanceWindowTasksRequest = Shapes::StructureShape.new(name: 'DescribeMaintenanceWindowTasksRequest')
|
245
249
|
DescribeMaintenanceWindowTasksResult = Shapes::StructureShape.new(name: 'DescribeMaintenanceWindowTasksResult')
|
250
|
+
DescribeMaintenanceWindowsForTargetRequest = Shapes::StructureShape.new(name: 'DescribeMaintenanceWindowsForTargetRequest')
|
251
|
+
DescribeMaintenanceWindowsForTargetResult = Shapes::StructureShape.new(name: 'DescribeMaintenanceWindowsForTargetResult')
|
246
252
|
DescribeMaintenanceWindowsRequest = Shapes::StructureShape.new(name: 'DescribeMaintenanceWindowsRequest')
|
247
253
|
DescribeMaintenanceWindowsResult = Shapes::StructureShape.new(name: 'DescribeMaintenanceWindowsResult')
|
248
254
|
DescribeParametersRequest = Shapes::StructureShape.new(name: 'DescribeParametersRequest')
|
@@ -547,6 +553,7 @@ module Aws::SSM
|
|
547
553
|
MaintenanceWindowFilterValues = Shapes::ListShape.new(name: 'MaintenanceWindowFilterValues')
|
548
554
|
MaintenanceWindowId = Shapes::StringShape.new(name: 'MaintenanceWindowId')
|
549
555
|
MaintenanceWindowIdentity = Shapes::StructureShape.new(name: 'MaintenanceWindowIdentity')
|
556
|
+
MaintenanceWindowIdentityForTarget = Shapes::StructureShape.new(name: 'MaintenanceWindowIdentityForTarget')
|
550
557
|
MaintenanceWindowIdentityList = Shapes::ListShape.new(name: 'MaintenanceWindowIdentityList')
|
551
558
|
MaintenanceWindowLambdaClientContext = Shapes::StringShape.new(name: 'MaintenanceWindowLambdaClientContext')
|
552
559
|
MaintenanceWindowLambdaParameters = Shapes::StructureShape.new(name: 'MaintenanceWindowLambdaParameters')
|
@@ -557,9 +564,11 @@ module Aws::SSM
|
|
557
564
|
MaintenanceWindowResourceType = Shapes::StringShape.new(name: 'MaintenanceWindowResourceType')
|
558
565
|
MaintenanceWindowRunCommandParameters = Shapes::StructureShape.new(name: 'MaintenanceWindowRunCommandParameters')
|
559
566
|
MaintenanceWindowSchedule = Shapes::StringShape.new(name: 'MaintenanceWindowSchedule')
|
567
|
+
MaintenanceWindowSearchMaxResults = Shapes::IntegerShape.new(name: 'MaintenanceWindowSearchMaxResults')
|
560
568
|
MaintenanceWindowStepFunctionsInput = Shapes::StringShape.new(name: 'MaintenanceWindowStepFunctionsInput')
|
561
569
|
MaintenanceWindowStepFunctionsName = Shapes::StringShape.new(name: 'MaintenanceWindowStepFunctionsName')
|
562
570
|
MaintenanceWindowStepFunctionsParameters = Shapes::StructureShape.new(name: 'MaintenanceWindowStepFunctionsParameters')
|
571
|
+
MaintenanceWindowStringDateTime = Shapes::StringShape.new(name: 'MaintenanceWindowStringDateTime')
|
563
572
|
MaintenanceWindowTarget = Shapes::StructureShape.new(name: 'MaintenanceWindowTarget')
|
564
573
|
MaintenanceWindowTargetId = Shapes::StringShape.new(name: 'MaintenanceWindowTargetId')
|
565
574
|
MaintenanceWindowTargetList = Shapes::ListShape.new(name: 'MaintenanceWindowTargetList')
|
@@ -577,6 +586,8 @@ module Aws::SSM
|
|
577
586
|
MaintenanceWindowTaskPriority = Shapes::IntegerShape.new(name: 'MaintenanceWindowTaskPriority')
|
578
587
|
MaintenanceWindowTaskTargetId = Shapes::StringShape.new(name: 'MaintenanceWindowTaskTargetId')
|
579
588
|
MaintenanceWindowTaskType = Shapes::StringShape.new(name: 'MaintenanceWindowTaskType')
|
589
|
+
MaintenanceWindowTimezone = Shapes::StringShape.new(name: 'MaintenanceWindowTimezone')
|
590
|
+
MaintenanceWindowsForTargetList = Shapes::ListShape.new(name: 'MaintenanceWindowsForTargetList')
|
580
591
|
ManagedInstanceId = Shapes::StringShape.new(name: 'ManagedInstanceId')
|
581
592
|
MaxConcurrency = Shapes::StringShape.new(name: 'MaxConcurrency')
|
582
593
|
MaxDocumentSizeExceeded = Shapes::StructureShape.new(name: 'MaxDocumentSizeExceeded')
|
@@ -753,6 +764,8 @@ module Aws::SSM
|
|
753
764
|
S3OutputUrl = Shapes::StructureShape.new(name: 'S3OutputUrl')
|
754
765
|
S3Region = Shapes::StringShape.new(name: 'S3Region')
|
755
766
|
ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
|
767
|
+
ScheduledWindowExecution = Shapes::StructureShape.new(name: 'ScheduledWindowExecution')
|
768
|
+
ScheduledWindowExecutionList = Shapes::ListShape.new(name: 'ScheduledWindowExecutionList')
|
756
769
|
SendAutomationSignalRequest = Shapes::StructureShape.new(name: 'SendAutomationSignalRequest')
|
757
770
|
SendAutomationSignalResult = Shapes::StructureShape.new(name: 'SendAutomationSignalResult')
|
758
771
|
SendCommandRequest = Shapes::StructureShape.new(name: 'SendCommandRequest')
|
@@ -1064,6 +1077,12 @@ module Aws::SSM
|
|
1064
1077
|
|
1065
1078
|
CancelCommandResult.struct_class = Types::CancelCommandResult
|
1066
1079
|
|
1080
|
+
CancelMaintenanceWindowExecutionRequest.add_member(:window_execution_id, Shapes::ShapeRef.new(shape: MaintenanceWindowExecutionId, required: true, location_name: "WindowExecutionId"))
|
1081
|
+
CancelMaintenanceWindowExecutionRequest.struct_class = Types::CancelMaintenanceWindowExecutionRequest
|
1082
|
+
|
1083
|
+
CancelMaintenanceWindowExecutionResult.add_member(:window_execution_id, Shapes::ShapeRef.new(shape: MaintenanceWindowExecutionId, location_name: "WindowExecutionId"))
|
1084
|
+
CancelMaintenanceWindowExecutionResult.struct_class = Types::CancelMaintenanceWindowExecutionResult
|
1085
|
+
|
1067
1086
|
CloudWatchOutputConfig.add_member(:cloud_watch_log_group_name, Shapes::ShapeRef.new(shape: CloudWatchLogGroupName, location_name: "CloudWatchLogGroupName"))
|
1068
1087
|
CloudWatchOutputConfig.add_member(:cloud_watch_output_enabled, Shapes::ShapeRef.new(shape: CloudWatchOutputEnabled, location_name: "CloudWatchOutputEnabled"))
|
1069
1088
|
CloudWatchOutputConfig.struct_class = Types::CloudWatchOutputConfig
|
@@ -1246,7 +1265,10 @@ module Aws::SSM
|
|
1246
1265
|
|
1247
1266
|
CreateMaintenanceWindowRequest.add_member(:name, Shapes::ShapeRef.new(shape: MaintenanceWindowName, required: true, location_name: "Name"))
|
1248
1267
|
CreateMaintenanceWindowRequest.add_member(:description, Shapes::ShapeRef.new(shape: MaintenanceWindowDescription, location_name: "Description"))
|
1268
|
+
CreateMaintenanceWindowRequest.add_member(:start_date, Shapes::ShapeRef.new(shape: MaintenanceWindowStringDateTime, location_name: "StartDate"))
|
1269
|
+
CreateMaintenanceWindowRequest.add_member(:end_date, Shapes::ShapeRef.new(shape: MaintenanceWindowStringDateTime, location_name: "EndDate"))
|
1249
1270
|
CreateMaintenanceWindowRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: MaintenanceWindowSchedule, required: true, location_name: "Schedule"))
|
1271
|
+
CreateMaintenanceWindowRequest.add_member(:schedule_timezone, Shapes::ShapeRef.new(shape: MaintenanceWindowTimezone, location_name: "ScheduleTimezone"))
|
1250
1272
|
CreateMaintenanceWindowRequest.add_member(:duration, Shapes::ShapeRef.new(shape: MaintenanceWindowDurationHours, required: true, location_name: "Duration"))
|
1251
1273
|
CreateMaintenanceWindowRequest.add_member(:cutoff, Shapes::ShapeRef.new(shape: MaintenanceWindowCutoff, required: true, location_name: "Cutoff"))
|
1252
1274
|
CreateMaintenanceWindowRequest.add_member(:allow_unassociated_targets, Shapes::ShapeRef.new(shape: MaintenanceWindowAllowUnassociatedTargets, required: true, location_name: "AllowUnassociatedTargets"))
|
@@ -1560,6 +1582,18 @@ module Aws::SSM
|
|
1560
1582
|
DescribeMaintenanceWindowExecutionsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1561
1583
|
DescribeMaintenanceWindowExecutionsResult.struct_class = Types::DescribeMaintenanceWindowExecutionsResult
|
1562
1584
|
|
1585
|
+
DescribeMaintenanceWindowScheduleRequest.add_member(:window_id, Shapes::ShapeRef.new(shape: MaintenanceWindowId, location_name: "WindowId"))
|
1586
|
+
DescribeMaintenanceWindowScheduleRequest.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, location_name: "Targets"))
|
1587
|
+
DescribeMaintenanceWindowScheduleRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: MaintenanceWindowResourceType, location_name: "ResourceType"))
|
1588
|
+
DescribeMaintenanceWindowScheduleRequest.add_member(:filters, Shapes::ShapeRef.new(shape: PatchOrchestratorFilterList, location_name: "Filters"))
|
1589
|
+
DescribeMaintenanceWindowScheduleRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaintenanceWindowSearchMaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
1590
|
+
DescribeMaintenanceWindowScheduleRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1591
|
+
DescribeMaintenanceWindowScheduleRequest.struct_class = Types::DescribeMaintenanceWindowScheduleRequest
|
1592
|
+
|
1593
|
+
DescribeMaintenanceWindowScheduleResult.add_member(:scheduled_window_executions, Shapes::ShapeRef.new(shape: ScheduledWindowExecutionList, location_name: "ScheduledWindowExecutions"))
|
1594
|
+
DescribeMaintenanceWindowScheduleResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1595
|
+
DescribeMaintenanceWindowScheduleResult.struct_class = Types::DescribeMaintenanceWindowScheduleResult
|
1596
|
+
|
1563
1597
|
DescribeMaintenanceWindowTargetsRequest.add_member(:window_id, Shapes::ShapeRef.new(shape: MaintenanceWindowId, required: true, location_name: "WindowId"))
|
1564
1598
|
DescribeMaintenanceWindowTargetsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: MaintenanceWindowFilterList, location_name: "Filters"))
|
1565
1599
|
DescribeMaintenanceWindowTargetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaintenanceWindowMaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
@@ -1580,6 +1614,16 @@ module Aws::SSM
|
|
1580
1614
|
DescribeMaintenanceWindowTasksResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1581
1615
|
DescribeMaintenanceWindowTasksResult.struct_class = Types::DescribeMaintenanceWindowTasksResult
|
1582
1616
|
|
1617
|
+
DescribeMaintenanceWindowsForTargetRequest.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, required: true, location_name: "Targets"))
|
1618
|
+
DescribeMaintenanceWindowsForTargetRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: MaintenanceWindowResourceType, required: true, location_name: "ResourceType"))
|
1619
|
+
DescribeMaintenanceWindowsForTargetRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaintenanceWindowSearchMaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
1620
|
+
DescribeMaintenanceWindowsForTargetRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1621
|
+
DescribeMaintenanceWindowsForTargetRequest.struct_class = Types::DescribeMaintenanceWindowsForTargetRequest
|
1622
|
+
|
1623
|
+
DescribeMaintenanceWindowsForTargetResult.add_member(:window_identities, Shapes::ShapeRef.new(shape: MaintenanceWindowsForTargetList, location_name: "WindowIdentities"))
|
1624
|
+
DescribeMaintenanceWindowsForTargetResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1625
|
+
DescribeMaintenanceWindowsForTargetResult.struct_class = Types::DescribeMaintenanceWindowsForTargetResult
|
1626
|
+
|
1583
1627
|
DescribeMaintenanceWindowsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: MaintenanceWindowFilterList, location_name: "Filters"))
|
1584
1628
|
DescribeMaintenanceWindowsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaintenanceWindowMaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
1585
1629
|
DescribeMaintenanceWindowsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
@@ -1868,7 +1912,11 @@ module Aws::SSM
|
|
1868
1912
|
GetMaintenanceWindowResult.add_member(:window_id, Shapes::ShapeRef.new(shape: MaintenanceWindowId, location_name: "WindowId"))
|
1869
1913
|
GetMaintenanceWindowResult.add_member(:name, Shapes::ShapeRef.new(shape: MaintenanceWindowName, location_name: "Name"))
|
1870
1914
|
GetMaintenanceWindowResult.add_member(:description, Shapes::ShapeRef.new(shape: MaintenanceWindowDescription, location_name: "Description"))
|
1915
|
+
GetMaintenanceWindowResult.add_member(:start_date, Shapes::ShapeRef.new(shape: MaintenanceWindowStringDateTime, location_name: "StartDate"))
|
1916
|
+
GetMaintenanceWindowResult.add_member(:end_date, Shapes::ShapeRef.new(shape: MaintenanceWindowStringDateTime, location_name: "EndDate"))
|
1871
1917
|
GetMaintenanceWindowResult.add_member(:schedule, Shapes::ShapeRef.new(shape: MaintenanceWindowSchedule, location_name: "Schedule"))
|
1918
|
+
GetMaintenanceWindowResult.add_member(:schedule_timezone, Shapes::ShapeRef.new(shape: MaintenanceWindowTimezone, location_name: "ScheduleTimezone"))
|
1919
|
+
GetMaintenanceWindowResult.add_member(:next_execution_time, Shapes::ShapeRef.new(shape: MaintenanceWindowStringDateTime, location_name: "NextExecutionTime"))
|
1872
1920
|
GetMaintenanceWindowResult.add_member(:duration, Shapes::ShapeRef.new(shape: MaintenanceWindowDurationHours, location_name: "Duration"))
|
1873
1921
|
GetMaintenanceWindowResult.add_member(:cutoff, Shapes::ShapeRef.new(shape: MaintenanceWindowCutoff, location_name: "Cutoff"))
|
1874
1922
|
GetMaintenanceWindowResult.add_member(:allow_unassociated_targets, Shapes::ShapeRef.new(shape: MaintenanceWindowAllowUnassociatedTargets, location_name: "AllowUnassociatedTargets"))
|
@@ -2354,8 +2402,17 @@ module Aws::SSM
|
|
2354
2402
|
MaintenanceWindowIdentity.add_member(:enabled, Shapes::ShapeRef.new(shape: MaintenanceWindowEnabled, location_name: "Enabled"))
|
2355
2403
|
MaintenanceWindowIdentity.add_member(:duration, Shapes::ShapeRef.new(shape: MaintenanceWindowDurationHours, location_name: "Duration"))
|
2356
2404
|
MaintenanceWindowIdentity.add_member(:cutoff, Shapes::ShapeRef.new(shape: MaintenanceWindowCutoff, location_name: "Cutoff"))
|
2405
|
+
MaintenanceWindowIdentity.add_member(:schedule, Shapes::ShapeRef.new(shape: MaintenanceWindowSchedule, location_name: "Schedule"))
|
2406
|
+
MaintenanceWindowIdentity.add_member(:schedule_timezone, Shapes::ShapeRef.new(shape: MaintenanceWindowTimezone, location_name: "ScheduleTimezone"))
|
2407
|
+
MaintenanceWindowIdentity.add_member(:end_date, Shapes::ShapeRef.new(shape: MaintenanceWindowStringDateTime, location_name: "EndDate"))
|
2408
|
+
MaintenanceWindowIdentity.add_member(:start_date, Shapes::ShapeRef.new(shape: MaintenanceWindowStringDateTime, location_name: "StartDate"))
|
2409
|
+
MaintenanceWindowIdentity.add_member(:next_execution_time, Shapes::ShapeRef.new(shape: MaintenanceWindowStringDateTime, location_name: "NextExecutionTime"))
|
2357
2410
|
MaintenanceWindowIdentity.struct_class = Types::MaintenanceWindowIdentity
|
2358
2411
|
|
2412
|
+
MaintenanceWindowIdentityForTarget.add_member(:window_id, Shapes::ShapeRef.new(shape: MaintenanceWindowId, location_name: "WindowId"))
|
2413
|
+
MaintenanceWindowIdentityForTarget.add_member(:name, Shapes::ShapeRef.new(shape: MaintenanceWindowName, location_name: "Name"))
|
2414
|
+
MaintenanceWindowIdentityForTarget.struct_class = Types::MaintenanceWindowIdentityForTarget
|
2415
|
+
|
2359
2416
|
MaintenanceWindowIdentityList.member = Shapes::ShapeRef.new(shape: MaintenanceWindowIdentity)
|
2360
2417
|
|
2361
2418
|
MaintenanceWindowLambdaParameters.add_member(:client_context, Shapes::ShapeRef.new(shape: MaintenanceWindowLambdaClientContext, location_name: "ClientContext"))
|
@@ -2422,6 +2479,8 @@ module Aws::SSM
|
|
2422
2479
|
|
2423
2480
|
MaintenanceWindowTaskParametersList.member = Shapes::ShapeRef.new(shape: MaintenanceWindowTaskParameters)
|
2424
2481
|
|
2482
|
+
MaintenanceWindowsForTargetList.member = Shapes::ShapeRef.new(shape: MaintenanceWindowIdentityForTarget)
|
2483
|
+
|
2425
2484
|
ModifyDocumentPermissionRequest.add_member(:name, Shapes::ShapeRef.new(shape: DocumentName, required: true, location_name: "Name"))
|
2426
2485
|
ModifyDocumentPermissionRequest.add_member(:permission_type, Shapes::ShapeRef.new(shape: DocumentPermissionType, required: true, location_name: "PermissionType"))
|
2427
2486
|
ModifyDocumentPermissionRequest.add_member(:account_ids_to_add, Shapes::ShapeRef.new(shape: AccountIdList, location_name: "AccountIdsToAdd"))
|
@@ -2740,6 +2799,13 @@ module Aws::SSM
|
|
2740
2799
|
S3OutputUrl.add_member(:output_url, Shapes::ShapeRef.new(shape: Url, location_name: "OutputUrl"))
|
2741
2800
|
S3OutputUrl.struct_class = Types::S3OutputUrl
|
2742
2801
|
|
2802
|
+
ScheduledWindowExecution.add_member(:window_id, Shapes::ShapeRef.new(shape: MaintenanceWindowId, location_name: "WindowId"))
|
2803
|
+
ScheduledWindowExecution.add_member(:name, Shapes::ShapeRef.new(shape: MaintenanceWindowName, location_name: "Name"))
|
2804
|
+
ScheduledWindowExecution.add_member(:execution_time, Shapes::ShapeRef.new(shape: MaintenanceWindowStringDateTime, location_name: "ExecutionTime"))
|
2805
|
+
ScheduledWindowExecution.struct_class = Types::ScheduledWindowExecution
|
2806
|
+
|
2807
|
+
ScheduledWindowExecutionList.member = Shapes::ShapeRef.new(shape: ScheduledWindowExecution)
|
2808
|
+
|
2743
2809
|
SendAutomationSignalRequest.add_member(:automation_execution_id, Shapes::ShapeRef.new(shape: AutomationExecutionId, required: true, location_name: "AutomationExecutionId"))
|
2744
2810
|
SendAutomationSignalRequest.add_member(:signal_type, Shapes::ShapeRef.new(shape: SignalType, required: true, location_name: "SignalType"))
|
2745
2811
|
SendAutomationSignalRequest.add_member(:payload, Shapes::ShapeRef.new(shape: AutomationParameterMap, location_name: "Payload"))
|
@@ -2946,7 +3012,10 @@ module Aws::SSM
|
|
2946
3012
|
UpdateMaintenanceWindowRequest.add_member(:window_id, Shapes::ShapeRef.new(shape: MaintenanceWindowId, required: true, location_name: "WindowId"))
|
2947
3013
|
UpdateMaintenanceWindowRequest.add_member(:name, Shapes::ShapeRef.new(shape: MaintenanceWindowName, location_name: "Name"))
|
2948
3014
|
UpdateMaintenanceWindowRequest.add_member(:description, Shapes::ShapeRef.new(shape: MaintenanceWindowDescription, location_name: "Description"))
|
3015
|
+
UpdateMaintenanceWindowRequest.add_member(:start_date, Shapes::ShapeRef.new(shape: MaintenanceWindowStringDateTime, location_name: "StartDate"))
|
3016
|
+
UpdateMaintenanceWindowRequest.add_member(:end_date, Shapes::ShapeRef.new(shape: MaintenanceWindowStringDateTime, location_name: "EndDate"))
|
2949
3017
|
UpdateMaintenanceWindowRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: MaintenanceWindowSchedule, location_name: "Schedule"))
|
3018
|
+
UpdateMaintenanceWindowRequest.add_member(:schedule_timezone, Shapes::ShapeRef.new(shape: MaintenanceWindowTimezone, location_name: "ScheduleTimezone"))
|
2950
3019
|
UpdateMaintenanceWindowRequest.add_member(:duration, Shapes::ShapeRef.new(shape: MaintenanceWindowDurationHours, location_name: "Duration", metadata: {"box"=>true}))
|
2951
3020
|
UpdateMaintenanceWindowRequest.add_member(:cutoff, Shapes::ShapeRef.new(shape: MaintenanceWindowCutoff, location_name: "Cutoff", metadata: {"box"=>true}))
|
2952
3021
|
UpdateMaintenanceWindowRequest.add_member(:allow_unassociated_targets, Shapes::ShapeRef.new(shape: MaintenanceWindowAllowUnassociatedTargets, location_name: "AllowUnassociatedTargets", metadata: {"box"=>true}))
|
@@ -2957,7 +3026,10 @@ module Aws::SSM
|
|
2957
3026
|
UpdateMaintenanceWindowResult.add_member(:window_id, Shapes::ShapeRef.new(shape: MaintenanceWindowId, location_name: "WindowId"))
|
2958
3027
|
UpdateMaintenanceWindowResult.add_member(:name, Shapes::ShapeRef.new(shape: MaintenanceWindowName, location_name: "Name"))
|
2959
3028
|
UpdateMaintenanceWindowResult.add_member(:description, Shapes::ShapeRef.new(shape: MaintenanceWindowDescription, location_name: "Description"))
|
3029
|
+
UpdateMaintenanceWindowResult.add_member(:start_date, Shapes::ShapeRef.new(shape: MaintenanceWindowStringDateTime, location_name: "StartDate"))
|
3030
|
+
UpdateMaintenanceWindowResult.add_member(:end_date, Shapes::ShapeRef.new(shape: MaintenanceWindowStringDateTime, location_name: "EndDate"))
|
2960
3031
|
UpdateMaintenanceWindowResult.add_member(:schedule, Shapes::ShapeRef.new(shape: MaintenanceWindowSchedule, location_name: "Schedule"))
|
3032
|
+
UpdateMaintenanceWindowResult.add_member(:schedule_timezone, Shapes::ShapeRef.new(shape: MaintenanceWindowTimezone, location_name: "ScheduleTimezone"))
|
2961
3033
|
UpdateMaintenanceWindowResult.add_member(:duration, Shapes::ShapeRef.new(shape: MaintenanceWindowDurationHours, location_name: "Duration"))
|
2962
3034
|
UpdateMaintenanceWindowResult.add_member(:cutoff, Shapes::ShapeRef.new(shape: MaintenanceWindowCutoff, location_name: "Cutoff"))
|
2963
3035
|
UpdateMaintenanceWindowResult.add_member(:allow_unassociated_targets, Shapes::ShapeRef.new(shape: MaintenanceWindowAllowUnassociatedTargets, location_name: "AllowUnassociatedTargets"))
|
@@ -3094,6 +3166,16 @@ module Aws::SSM
|
|
3094
3166
|
o.errors << Shapes::ShapeRef.new(shape: DuplicateInstanceId)
|
3095
3167
|
end)
|
3096
3168
|
|
3169
|
+
api.add_operation(:cancel_maintenance_window_execution, Seahorse::Model::Operation.new.tap do |o|
|
3170
|
+
o.name = "CancelMaintenanceWindowExecution"
|
3171
|
+
o.http_method = "POST"
|
3172
|
+
o.http_request_uri = "/"
|
3173
|
+
o.input = Shapes::ShapeRef.new(shape: CancelMaintenanceWindowExecutionRequest)
|
3174
|
+
o.output = Shapes::ShapeRef.new(shape: CancelMaintenanceWindowExecutionResult)
|
3175
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
3176
|
+
o.errors << Shapes::ShapeRef.new(shape: DoesNotExistException)
|
3177
|
+
end)
|
3178
|
+
|
3097
3179
|
api.add_operation(:create_activation, Seahorse::Model::Operation.new.tap do |o|
|
3098
3180
|
o.name = "CreateActivation"
|
3099
3181
|
o.http_method = "POST"
|
@@ -3563,6 +3645,16 @@ module Aws::SSM
|
|
3563
3645
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
3564
3646
|
end)
|
3565
3647
|
|
3648
|
+
api.add_operation(:describe_maintenance_window_schedule, Seahorse::Model::Operation.new.tap do |o|
|
3649
|
+
o.name = "DescribeMaintenanceWindowSchedule"
|
3650
|
+
o.http_method = "POST"
|
3651
|
+
o.http_request_uri = "/"
|
3652
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeMaintenanceWindowScheduleRequest)
|
3653
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeMaintenanceWindowScheduleResult)
|
3654
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
3655
|
+
o.errors << Shapes::ShapeRef.new(shape: DoesNotExistException)
|
3656
|
+
end)
|
3657
|
+
|
3566
3658
|
api.add_operation(:describe_maintenance_window_targets, Seahorse::Model::Operation.new.tap do |o|
|
3567
3659
|
o.name = "DescribeMaintenanceWindowTargets"
|
3568
3660
|
o.http_method = "POST"
|
@@ -3592,6 +3684,15 @@ module Aws::SSM
|
|
3592
3684
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
3593
3685
|
end)
|
3594
3686
|
|
3687
|
+
api.add_operation(:describe_maintenance_windows_for_target, Seahorse::Model::Operation.new.tap do |o|
|
3688
|
+
o.name = "DescribeMaintenanceWindowsForTarget"
|
3689
|
+
o.http_method = "POST"
|
3690
|
+
o.http_request_uri = "/"
|
3691
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeMaintenanceWindowsForTargetRequest)
|
3692
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeMaintenanceWindowsForTargetResult)
|
3693
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
3694
|
+
end)
|
3695
|
+
|
3595
3696
|
api.add_operation(:describe_parameters, Seahorse::Model::Operation.new.tap do |o|
|
3596
3697
|
o.name = "DescribeParameters"
|
3597
3698
|
o.http_method = "POST"
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -922,6 +922,35 @@ module Aws::SSM
|
|
922
922
|
#
|
923
923
|
class CancelCommandResult < Aws::EmptyStructure; end
|
924
924
|
|
925
|
+
# @note When making an API call, you may pass CancelMaintenanceWindowExecutionRequest
|
926
|
+
# data as a hash:
|
927
|
+
#
|
928
|
+
# {
|
929
|
+
# window_execution_id: "MaintenanceWindowExecutionId", # required
|
930
|
+
# }
|
931
|
+
#
|
932
|
+
# @!attribute [rw] window_execution_id
|
933
|
+
# The ID of the Maintenance Window execution to stop.
|
934
|
+
# @return [String]
|
935
|
+
#
|
936
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CancelMaintenanceWindowExecutionRequest AWS API Documentation
|
937
|
+
#
|
938
|
+
class CancelMaintenanceWindowExecutionRequest < Struct.new(
|
939
|
+
:window_execution_id)
|
940
|
+
include Aws::Structure
|
941
|
+
end
|
942
|
+
|
943
|
+
# @!attribute [rw] window_execution_id
|
944
|
+
# The ID of the Maintenance Window execution that has been stopped.
|
945
|
+
# @return [String]
|
946
|
+
#
|
947
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CancelMaintenanceWindowExecutionResult AWS API Documentation
|
948
|
+
#
|
949
|
+
class CancelMaintenanceWindowExecutionResult < Struct.new(
|
950
|
+
:window_execution_id)
|
951
|
+
include Aws::Structure
|
952
|
+
end
|
953
|
+
|
925
954
|
# Configuration options for sending command output to CloudWatch Logs.
|
926
955
|
#
|
927
956
|
# @note When making an API call, you may pass CloudWatchOutputConfig
|
@@ -2139,7 +2168,10 @@ module Aws::SSM
|
|
2139
2168
|
# {
|
2140
2169
|
# name: "MaintenanceWindowName", # required
|
2141
2170
|
# description: "MaintenanceWindowDescription",
|
2171
|
+
# start_date: "MaintenanceWindowStringDateTime",
|
2172
|
+
# end_date: "MaintenanceWindowStringDateTime",
|
2142
2173
|
# schedule: "MaintenanceWindowSchedule", # required
|
2174
|
+
# schedule_timezone: "MaintenanceWindowTimezone",
|
2143
2175
|
# duration: 1, # required
|
2144
2176
|
# cutoff: 1, # required
|
2145
2177
|
# allow_unassociated_targets: false, # required
|
@@ -2156,11 +2188,37 @@ module Aws::SSM
|
|
2156
2188
|
# Windows.
|
2157
2189
|
# @return [String]
|
2158
2190
|
#
|
2191
|
+
# @!attribute [rw] start_date
|
2192
|
+
# The date and time, in ISO-8601 Extended format, for when you want
|
2193
|
+
# the Maintenance Window to become active. StartDate allows you to
|
2194
|
+
# delay activation of the Maintenance Window until the specified
|
2195
|
+
# future date.
|
2196
|
+
# @return [String]
|
2197
|
+
#
|
2198
|
+
# @!attribute [rw] end_date
|
2199
|
+
# The date and time, in ISO-8601 Extended format, for when you want
|
2200
|
+
# the Maintenance Window to become inactive. EndDate allows you to set
|
2201
|
+
# a date and time in the future when the Maintenance Window will no
|
2202
|
+
# longer run.
|
2203
|
+
# @return [String]
|
2204
|
+
#
|
2159
2205
|
# @!attribute [rw] schedule
|
2160
2206
|
# The schedule of the Maintenance Window in the form of a cron or rate
|
2161
2207
|
# expression.
|
2162
2208
|
# @return [String]
|
2163
2209
|
#
|
2210
|
+
# @!attribute [rw] schedule_timezone
|
2211
|
+
# The time zone that the scheduled Maintenance Window executions are
|
2212
|
+
# based on, in Internet Assigned Numbers Authority (IANA) format. For
|
2213
|
+
# example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul".
|
2214
|
+
# For more information, see the [Time Zone Database][1] on the IANA
|
2215
|
+
# website.
|
2216
|
+
#
|
2217
|
+
#
|
2218
|
+
#
|
2219
|
+
# [1]: https://www.iana.org/time-zones
|
2220
|
+
# @return [String]
|
2221
|
+
#
|
2164
2222
|
# @!attribute [rw] duration
|
2165
2223
|
# The duration of the Maintenance Window in hours.
|
2166
2224
|
# @return [Integer]
|
@@ -2193,7 +2251,10 @@ module Aws::SSM
|
|
2193
2251
|
class CreateMaintenanceWindowRequest < Struct.new(
|
2194
2252
|
:name,
|
2195
2253
|
:description,
|
2254
|
+
:start_date,
|
2255
|
+
:end_date,
|
2196
2256
|
:schedule,
|
2257
|
+
:schedule_timezone,
|
2197
2258
|
:duration,
|
2198
2259
|
:cutoff,
|
2199
2260
|
:allow_unassociated_targets,
|
@@ -4065,6 +4126,88 @@ module Aws::SSM
|
|
4065
4126
|
include Aws::Structure
|
4066
4127
|
end
|
4067
4128
|
|
4129
|
+
# @note When making an API call, you may pass DescribeMaintenanceWindowScheduleRequest
|
4130
|
+
# data as a hash:
|
4131
|
+
#
|
4132
|
+
# {
|
4133
|
+
# window_id: "MaintenanceWindowId",
|
4134
|
+
# targets: [
|
4135
|
+
# {
|
4136
|
+
# key: "TargetKey",
|
4137
|
+
# values: ["TargetValue"],
|
4138
|
+
# },
|
4139
|
+
# ],
|
4140
|
+
# resource_type: "INSTANCE", # accepts INSTANCE
|
4141
|
+
# filters: [
|
4142
|
+
# {
|
4143
|
+
# key: "PatchOrchestratorFilterKey",
|
4144
|
+
# values: ["PatchOrchestratorFilterValue"],
|
4145
|
+
# },
|
4146
|
+
# ],
|
4147
|
+
# max_results: 1,
|
4148
|
+
# next_token: "NextToken",
|
4149
|
+
# }
|
4150
|
+
#
|
4151
|
+
# @!attribute [rw] window_id
|
4152
|
+
# The ID of the Maintenance Window to retrieve information about.
|
4153
|
+
# @return [String]
|
4154
|
+
#
|
4155
|
+
# @!attribute [rw] targets
|
4156
|
+
# The instance ID or key/value pair to retrieve information about.
|
4157
|
+
# @return [Array<Types::Target>]
|
4158
|
+
#
|
4159
|
+
# @!attribute [rw] resource_type
|
4160
|
+
# The type of resource you want to retrieve information about. For
|
4161
|
+
# example, "INSTANCE".
|
4162
|
+
# @return [String]
|
4163
|
+
#
|
4164
|
+
# @!attribute [rw] filters
|
4165
|
+
# Filters used to limit the range of results. For example, you can
|
4166
|
+
# limit Maintenance Window executions to only those scheduled before
|
4167
|
+
# or after a certain date and time.
|
4168
|
+
# @return [Array<Types::PatchOrchestratorFilter>]
|
4169
|
+
#
|
4170
|
+
# @!attribute [rw] max_results
|
4171
|
+
# The maximum number of items to return for this call. The call also
|
4172
|
+
# returns a token that you can specify in a subsequent call to get the
|
4173
|
+
# next set of results.
|
4174
|
+
# @return [Integer]
|
4175
|
+
#
|
4176
|
+
# @!attribute [rw] next_token
|
4177
|
+
# The token for the next set of items to return. (You received this
|
4178
|
+
# token from a previous call.)
|
4179
|
+
# @return [String]
|
4180
|
+
#
|
4181
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowScheduleRequest AWS API Documentation
|
4182
|
+
#
|
4183
|
+
class DescribeMaintenanceWindowScheduleRequest < Struct.new(
|
4184
|
+
:window_id,
|
4185
|
+
:targets,
|
4186
|
+
:resource_type,
|
4187
|
+
:filters,
|
4188
|
+
:max_results,
|
4189
|
+
:next_token)
|
4190
|
+
include Aws::Structure
|
4191
|
+
end
|
4192
|
+
|
4193
|
+
# @!attribute [rw] scheduled_window_executions
|
4194
|
+
# Information about Maintenance Window executions scheduled for the
|
4195
|
+
# specified time range.
|
4196
|
+
# @return [Array<Types::ScheduledWindowExecution>]
|
4197
|
+
#
|
4198
|
+
# @!attribute [rw] next_token
|
4199
|
+
# The token for the next set of items to return. (You use this token
|
4200
|
+
# in the next call.)
|
4201
|
+
# @return [String]
|
4202
|
+
#
|
4203
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowScheduleResult AWS API Documentation
|
4204
|
+
#
|
4205
|
+
class DescribeMaintenanceWindowScheduleResult < Struct.new(
|
4206
|
+
:scheduled_window_executions,
|
4207
|
+
:next_token)
|
4208
|
+
include Aws::Structure
|
4209
|
+
end
|
4210
|
+
|
4068
4211
|
# @note When making an API call, you may pass DescribeMaintenanceWindowTargetsRequest
|
4069
4212
|
# data as a hash:
|
4070
4213
|
#
|
@@ -4191,6 +4334,69 @@ module Aws::SSM
|
|
4191
4334
|
include Aws::Structure
|
4192
4335
|
end
|
4193
4336
|
|
4337
|
+
# @note When making an API call, you may pass DescribeMaintenanceWindowsForTargetRequest
|
4338
|
+
# data as a hash:
|
4339
|
+
#
|
4340
|
+
# {
|
4341
|
+
# targets: [ # required
|
4342
|
+
# {
|
4343
|
+
# key: "TargetKey",
|
4344
|
+
# values: ["TargetValue"],
|
4345
|
+
# },
|
4346
|
+
# ],
|
4347
|
+
# resource_type: "INSTANCE", # required, accepts INSTANCE
|
4348
|
+
# max_results: 1,
|
4349
|
+
# next_token: "NextToken",
|
4350
|
+
# }
|
4351
|
+
#
|
4352
|
+
# @!attribute [rw] targets
|
4353
|
+
# The instance ID or key/value pair to retrieve information about.
|
4354
|
+
# @return [Array<Types::Target>]
|
4355
|
+
#
|
4356
|
+
# @!attribute [rw] resource_type
|
4357
|
+
# The type of resource you want to retrieve information about. For
|
4358
|
+
# example, "INSTANCE".
|
4359
|
+
# @return [String]
|
4360
|
+
#
|
4361
|
+
# @!attribute [rw] max_results
|
4362
|
+
# The maximum number of items to return for this call. The call also
|
4363
|
+
# returns a token that you can specify in a subsequent call to get the
|
4364
|
+
# next set of results.
|
4365
|
+
# @return [Integer]
|
4366
|
+
#
|
4367
|
+
# @!attribute [rw] next_token
|
4368
|
+
# The token for the next set of items to return. (You received this
|
4369
|
+
# token from a previous call.)
|
4370
|
+
# @return [String]
|
4371
|
+
#
|
4372
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowsForTargetRequest AWS API Documentation
|
4373
|
+
#
|
4374
|
+
class DescribeMaintenanceWindowsForTargetRequest < Struct.new(
|
4375
|
+
:targets,
|
4376
|
+
:resource_type,
|
4377
|
+
:max_results,
|
4378
|
+
:next_token)
|
4379
|
+
include Aws::Structure
|
4380
|
+
end
|
4381
|
+
|
4382
|
+
# @!attribute [rw] window_identities
|
4383
|
+
# Information about the Maintenance Window targets and tasks an
|
4384
|
+
# instance is associated with.
|
4385
|
+
# @return [Array<Types::MaintenanceWindowIdentityForTarget>]
|
4386
|
+
#
|
4387
|
+
# @!attribute [rw] next_token
|
4388
|
+
# The token for the next set of items to return. (You use this token
|
4389
|
+
# in the next call.)
|
4390
|
+
# @return [String]
|
4391
|
+
#
|
4392
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowsForTargetResult AWS API Documentation
|
4393
|
+
#
|
4394
|
+
class DescribeMaintenanceWindowsForTargetResult < Struct.new(
|
4395
|
+
:window_identities,
|
4396
|
+
:next_token)
|
4397
|
+
include Aws::Structure
|
4398
|
+
end
|
4399
|
+
|
4194
4400
|
# @note When making an API call, you may pass DescribeMaintenanceWindowsRequest
|
4195
4401
|
# data as a hash:
|
4196
4402
|
#
|
@@ -5874,11 +6080,41 @@ module Aws::SSM
|
|
5874
6080
|
# The description of the Maintenance Window.
|
5875
6081
|
# @return [String]
|
5876
6082
|
#
|
6083
|
+
# @!attribute [rw] start_date
|
6084
|
+
# The date and time, in ISO-8601 Extended format, for when the
|
6085
|
+
# Maintenance Window is scheduled to become active. The Maintenance
|
6086
|
+
# Window will not run before this specified time.
|
6087
|
+
# @return [String]
|
6088
|
+
#
|
6089
|
+
# @!attribute [rw] end_date
|
6090
|
+
# The date and time, in ISO-8601 Extended format, for when the
|
6091
|
+
# Maintenance Window is scheduled to become inactive. The Maintenance
|
6092
|
+
# Window will not run after this specified time.
|
6093
|
+
# @return [String]
|
6094
|
+
#
|
5877
6095
|
# @!attribute [rw] schedule
|
5878
6096
|
# The schedule of the Maintenance Window in the form of a cron or rate
|
5879
6097
|
# expression.
|
5880
6098
|
# @return [String]
|
5881
6099
|
#
|
6100
|
+
# @!attribute [rw] schedule_timezone
|
6101
|
+
# The time zone that the scheduled Maintenance Window executions are
|
6102
|
+
# based on, in Internet Assigned Numbers Authority (IANA) format. For
|
6103
|
+
# example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul".
|
6104
|
+
# For more information, see the [Time Zone Database][1] on the IANA
|
6105
|
+
# website.
|
6106
|
+
#
|
6107
|
+
#
|
6108
|
+
#
|
6109
|
+
# [1]: https://www.iana.org/time-zones
|
6110
|
+
# @return [String]
|
6111
|
+
#
|
6112
|
+
# @!attribute [rw] next_execution_time
|
6113
|
+
# The next time the Maintenance Window will actually run, taking into
|
6114
|
+
# account any specified times for the Maintenance Window to become
|
6115
|
+
# active or inactive.
|
6116
|
+
# @return [String]
|
6117
|
+
#
|
5882
6118
|
# @!attribute [rw] duration
|
5883
6119
|
# The duration of the Maintenance Window in hours.
|
5884
6120
|
# @return [Integer]
|
@@ -5911,7 +6147,11 @@ module Aws::SSM
|
|
5911
6147
|
:window_id,
|
5912
6148
|
:name,
|
5913
6149
|
:description,
|
6150
|
+
:start_date,
|
6151
|
+
:end_date,
|
5914
6152
|
:schedule,
|
6153
|
+
:schedule_timezone,
|
6154
|
+
:next_execution_time,
|
5915
6155
|
:duration,
|
5916
6156
|
:cutoff,
|
5917
6157
|
:allow_unassociated_targets,
|
@@ -8366,7 +8606,8 @@ module Aws::SSM
|
|
8366
8606
|
include Aws::Structure
|
8367
8607
|
end
|
8368
8608
|
|
8369
|
-
# Filter used in the request.
|
8609
|
+
# Filter used in the request. Supported filter keys are Name and
|
8610
|
+
# Enabled.
|
8370
8611
|
#
|
8371
8612
|
# @note When making an API call, you may pass MaintenanceWindowFilter
|
8372
8613
|
# data as a hash:
|
@@ -8419,6 +8660,32 @@ module Aws::SSM
|
|
8419
8660
|
# Systems Manager stops scheduling new tasks for execution.
|
8420
8661
|
# @return [Integer]
|
8421
8662
|
#
|
8663
|
+
# @!attribute [rw] schedule
|
8664
|
+
# The schedule of the Maintenance Window in the form of a cron or rate
|
8665
|
+
# expression.
|
8666
|
+
# @return [String]
|
8667
|
+
#
|
8668
|
+
# @!attribute [rw] schedule_timezone
|
8669
|
+
# The time zone that the scheduled Maintenance Window executions are
|
8670
|
+
# based on, in Internet Assigned Numbers Authority (IANA) format.
|
8671
|
+
# @return [String]
|
8672
|
+
#
|
8673
|
+
# @!attribute [rw] end_date
|
8674
|
+
# The date and time, in ISO-8601 Extended format, for when the
|
8675
|
+
# Maintenance Window is scheduled to become inactive.
|
8676
|
+
# @return [String]
|
8677
|
+
#
|
8678
|
+
# @!attribute [rw] start_date
|
8679
|
+
# The date and time, in ISO-8601 Extended format, for when the
|
8680
|
+
# Maintenance Window is scheduled to become active.
|
8681
|
+
# @return [String]
|
8682
|
+
#
|
8683
|
+
# @!attribute [rw] next_execution_time
|
8684
|
+
# The next time the Maintenance Window will actually run, taking into
|
8685
|
+
# account any specified times for the Maintenance Window to become
|
8686
|
+
# active or inactive.
|
8687
|
+
# @return [String]
|
8688
|
+
#
|
8422
8689
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowIdentity AWS API Documentation
|
8423
8690
|
#
|
8424
8691
|
class MaintenanceWindowIdentity < Struct.new(
|
@@ -8427,7 +8694,30 @@ module Aws::SSM
|
|
8427
8694
|
:description,
|
8428
8695
|
:enabled,
|
8429
8696
|
:duration,
|
8430
|
-
:cutoff
|
8697
|
+
:cutoff,
|
8698
|
+
:schedule,
|
8699
|
+
:schedule_timezone,
|
8700
|
+
:end_date,
|
8701
|
+
:start_date,
|
8702
|
+
:next_execution_time)
|
8703
|
+
include Aws::Structure
|
8704
|
+
end
|
8705
|
+
|
8706
|
+
# The Maintenance Window to which the specified target belongs.
|
8707
|
+
#
|
8708
|
+
# @!attribute [rw] window_id
|
8709
|
+
# The ID of the Maintenance Window.
|
8710
|
+
# @return [String]
|
8711
|
+
#
|
8712
|
+
# @!attribute [rw] name
|
8713
|
+
# The name of the Maintenance Window.
|
8714
|
+
# @return [String]
|
8715
|
+
#
|
8716
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowIdentityForTarget AWS API Documentation
|
8717
|
+
#
|
8718
|
+
class MaintenanceWindowIdentityForTarget < Struct.new(
|
8719
|
+
:window_id,
|
8720
|
+
:name)
|
8431
8721
|
include Aws::Structure
|
8432
8722
|
end
|
8433
8723
|
|
@@ -11049,6 +11339,30 @@ module Aws::SSM
|
|
11049
11339
|
include Aws::Structure
|
11050
11340
|
end
|
11051
11341
|
|
11342
|
+
# Information about a scheduled execution for a Maintenance Window.
|
11343
|
+
#
|
11344
|
+
# @!attribute [rw] window_id
|
11345
|
+
# The ID of the Maintenance Window to be run.
|
11346
|
+
# @return [String]
|
11347
|
+
#
|
11348
|
+
# @!attribute [rw] name
|
11349
|
+
# The name of the Maintenance Window to be run.
|
11350
|
+
# @return [String]
|
11351
|
+
#
|
11352
|
+
# @!attribute [rw] execution_time
|
11353
|
+
# The time, in ISO-8601 Extended format, that the Maintenance Window
|
11354
|
+
# is scheduled to be run.
|
11355
|
+
# @return [String]
|
11356
|
+
#
|
11357
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ScheduledWindowExecution AWS API Documentation
|
11358
|
+
#
|
11359
|
+
class ScheduledWindowExecution < Struct.new(
|
11360
|
+
:window_id,
|
11361
|
+
:name,
|
11362
|
+
:execution_time)
|
11363
|
+
include Aws::Structure
|
11364
|
+
end
|
11365
|
+
|
11052
11366
|
# @note When making an API call, you may pass SendAutomationSignalRequest
|
11053
11367
|
# data as a hash:
|
11054
11368
|
#
|
@@ -11130,7 +11444,7 @@ module Aws::SSM
|
|
11130
11444
|
# maximum of 50 IDs. If you prefer not to list individual instance
|
11131
11445
|
# IDs, you can instead send commands to a fleet of instances using the
|
11132
11446
|
# Targets parameter, which accepts EC2 tags. For more information
|
11133
|
-
# about how to use
|
11447
|
+
# about how to use targets, see [Sending Commands to a Fleet][1] in
|
11134
11448
|
# the *AWS Systems Manager User Guide*.
|
11135
11449
|
#
|
11136
11450
|
#
|
@@ -11142,7 +11456,7 @@ module Aws::SSM
|
|
11142
11456
|
# (Optional) An array of search criteria that targets instances using
|
11143
11457
|
# a Key,Value combination that you specify. Targets is required if you
|
11144
11458
|
# don't provide one or more instance IDs in the call. For more
|
11145
|
-
# information about how to use
|
11459
|
+
# information about how to use targets, see [Sending Commands to a
|
11146
11460
|
# Fleet][1] in the *AWS Systems Manager User Guide*.
|
11147
11461
|
#
|
11148
11462
|
#
|
@@ -11547,7 +11861,7 @@ module Aws::SSM
|
|
11547
11861
|
#
|
11548
11862
|
# @!attribute [rw] target_parameter_name
|
11549
11863
|
# The name of the parameter used as the target resource for the
|
11550
|
-
# rate-controlled execution. Required if you specify
|
11864
|
+
# rate-controlled execution. Required if you specify targets.
|
11551
11865
|
# @return [String]
|
11552
11866
|
#
|
11553
11867
|
# @!attribute [rw] targets
|
@@ -12214,7 +12528,10 @@ module Aws::SSM
|
|
12214
12528
|
# window_id: "MaintenanceWindowId", # required
|
12215
12529
|
# name: "MaintenanceWindowName",
|
12216
12530
|
# description: "MaintenanceWindowDescription",
|
12531
|
+
# start_date: "MaintenanceWindowStringDateTime",
|
12532
|
+
# end_date: "MaintenanceWindowStringDateTime",
|
12217
12533
|
# schedule: "MaintenanceWindowSchedule",
|
12534
|
+
# schedule_timezone: "MaintenanceWindowTimezone",
|
12218
12535
|
# duration: 1,
|
12219
12536
|
# cutoff: 1,
|
12220
12537
|
# allow_unassociated_targets: false,
|
@@ -12234,11 +12551,42 @@ module Aws::SSM
|
|
12234
12551
|
# An optional description for the update request.
|
12235
12552
|
# @return [String]
|
12236
12553
|
#
|
12554
|
+
# @!attribute [rw] start_date
|
12555
|
+
# The time zone that the scheduled Maintenance Window executions are
|
12556
|
+
# based on, in Internet Assigned Numbers Authority (IANA) format. For
|
12557
|
+
# example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul".
|
12558
|
+
# For more information, see the [Time Zone Database][1] on the IANA
|
12559
|
+
# website.
|
12560
|
+
#
|
12561
|
+
#
|
12562
|
+
#
|
12563
|
+
# [1]: https://www.iana.org/time-zones
|
12564
|
+
# @return [String]
|
12565
|
+
#
|
12566
|
+
# @!attribute [rw] end_date
|
12567
|
+
# The date and time, in ISO-8601 Extended format, for when you want
|
12568
|
+
# the Maintenance Window to become inactive. EndDate allows you to set
|
12569
|
+
# a date and time in the future when the Maintenance Window will no
|
12570
|
+
# longer run.
|
12571
|
+
# @return [String]
|
12572
|
+
#
|
12237
12573
|
# @!attribute [rw] schedule
|
12238
12574
|
# The schedule of the Maintenance Window in the form of a cron or rate
|
12239
12575
|
# expression.
|
12240
12576
|
# @return [String]
|
12241
12577
|
#
|
12578
|
+
# @!attribute [rw] schedule_timezone
|
12579
|
+
# The time zone that the scheduled Maintenance Window executions are
|
12580
|
+
# based on, in Internet Assigned Numbers Authority (IANA) format. For
|
12581
|
+
# example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul".
|
12582
|
+
# For more information, see the [Time Zone Database][1] on the IANA
|
12583
|
+
# website.
|
12584
|
+
#
|
12585
|
+
#
|
12586
|
+
#
|
12587
|
+
# [1]: https://www.iana.org/time-zones
|
12588
|
+
# @return [String]
|
12589
|
+
#
|
12242
12590
|
# @!attribute [rw] duration
|
12243
12591
|
# The duration of the Maintenance Window in hours.
|
12244
12592
|
# @return [Integer]
|
@@ -12269,7 +12617,10 @@ module Aws::SSM
|
|
12269
12617
|
:window_id,
|
12270
12618
|
:name,
|
12271
12619
|
:description,
|
12620
|
+
:start_date,
|
12621
|
+
:end_date,
|
12272
12622
|
:schedule,
|
12623
|
+
:schedule_timezone,
|
12273
12624
|
:duration,
|
12274
12625
|
:cutoff,
|
12275
12626
|
:allow_unassociated_targets,
|
@@ -12290,11 +12641,35 @@ module Aws::SSM
|
|
12290
12641
|
# An optional description of the update.
|
12291
12642
|
# @return [String]
|
12292
12643
|
#
|
12644
|
+
# @!attribute [rw] start_date
|
12645
|
+
# The date and time, in ISO-8601 Extended format, for when the
|
12646
|
+
# Maintenance Window is scheduled to become active. The Maintenance
|
12647
|
+
# Window will not run before this specified time.
|
12648
|
+
# @return [String]
|
12649
|
+
#
|
12650
|
+
# @!attribute [rw] end_date
|
12651
|
+
# The date and time, in ISO-8601 Extended format, for when the
|
12652
|
+
# Maintenance Window is scheduled to become inactive. The Maintenance
|
12653
|
+
# Window will not run after this specified time.
|
12654
|
+
# @return [String]
|
12655
|
+
#
|
12293
12656
|
# @!attribute [rw] schedule
|
12294
12657
|
# The schedule of the Maintenance Window in the form of a cron or rate
|
12295
12658
|
# expression.
|
12296
12659
|
# @return [String]
|
12297
12660
|
#
|
12661
|
+
# @!attribute [rw] schedule_timezone
|
12662
|
+
# The time zone that the scheduled Maintenance Window executions are
|
12663
|
+
# based on, in Internet Assigned Numbers Authority (IANA) format. For
|
12664
|
+
# example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul".
|
12665
|
+
# For more information, see the [Time Zone Database][1] on the IANA
|
12666
|
+
# website.
|
12667
|
+
#
|
12668
|
+
#
|
12669
|
+
#
|
12670
|
+
# [1]: https://www.iana.org/time-zones
|
12671
|
+
# @return [String]
|
12672
|
+
#
|
12298
12673
|
# @!attribute [rw] duration
|
12299
12674
|
# The duration of the Maintenance Window in hours.
|
12300
12675
|
# @return [Integer]
|
@@ -12319,7 +12694,10 @@ module Aws::SSM
|
|
12319
12694
|
:window_id,
|
12320
12695
|
:name,
|
12321
12696
|
:description,
|
12697
|
+
:start_date,
|
12698
|
+
:end_date,
|
12322
12699
|
:schedule,
|
12700
|
+
:schedule_timezone,
|
12323
12701
|
:duration,
|
12324
12702
|
:cutoff,
|
12325
12703
|
: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.28.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: 2018-10-
|
11
|
+
date: 2018-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|