aws-sdk-ssm 1.85.0 → 1.91.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 +4 -2
- data/lib/aws-sdk-ssm/client.rb +277 -27
- data/lib/aws-sdk-ssm/client_api.rb +209 -5
- data/lib/aws-sdk-ssm/types.rb +129 -57
- data/lib/aws-sdk-ssm/waiters.rb +156 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8915c9c545e40aaef55d8944158dbe4a2cd3ee52a0e71fe2b9ab395f503c59d
|
4
|
+
data.tar.gz: 3bb39c6c9fdc4ddaf3a977e1f8b07481c024124fade915352152c55c184088ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb16ab74331c2b41898b5c57f7b0a5784c6ae62a6fb869b5c7b1a41f054f9e1ad30bb7bb94a17a808c26f626152d0b9e8afe174a0475eb20d5127f8166cfd6d5
|
7
|
+
data.tar.gz: 1232672560375d0b58b267b7b703cebd650d06092a02db72f887e2641d7321b57d8c809ed1e9973807bc060b217401a2fcbd9cf5ae178f5870bea48f119cab17
|
data/lib/aws-sdk-ssm.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -14,6 +15,7 @@ require_relative 'aws-sdk-ssm/types'
|
|
14
15
|
require_relative 'aws-sdk-ssm/client_api'
|
15
16
|
require_relative 'aws-sdk-ssm/client'
|
16
17
|
require_relative 'aws-sdk-ssm/errors'
|
18
|
+
require_relative 'aws-sdk-ssm/waiters'
|
17
19
|
require_relative 'aws-sdk-ssm/resource'
|
18
20
|
require_relative 'aws-sdk-ssm/customizations'
|
19
21
|
|
@@ -44,9 +46,9 @@ require_relative 'aws-sdk-ssm/customizations'
|
|
44
46
|
#
|
45
47
|
# See {Errors} for more information.
|
46
48
|
#
|
47
|
-
#
|
49
|
+
# @!group service
|
48
50
|
module Aws::SSM
|
49
51
|
|
50
|
-
GEM_VERSION = '1.
|
52
|
+
GEM_VERSION = '1.91.0'
|
51
53
|
|
52
54
|
end
|
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -85,13 +85,28 @@ module Aws::SSM
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::SSM
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -1771,13 +1786,13 @@ module Aws::SSM
|
|
1771
1786
|
req.send_request(options)
|
1772
1787
|
end
|
1773
1788
|
|
1774
|
-
# Delete a custom inventory type
|
1789
|
+
# Delete a custom inventory type or the data associated with a custom
|
1775
1790
|
# Inventory type. Deleting a custom inventory type is also referred to
|
1776
1791
|
# as deleting a custom inventory schema.
|
1777
1792
|
#
|
1778
1793
|
# @option params [required, String] :type_name
|
1779
1794
|
# The name of the custom inventory type for which you want to delete
|
1780
|
-
# either all previously collected data
|
1795
|
+
# either all previously collected data or the inventory type itself.
|
1781
1796
|
#
|
1782
1797
|
# @option params [String] :schema_delete_option
|
1783
1798
|
# Use the `SchemaDeleteOption` to delete a custom inventory type
|
@@ -1818,7 +1833,7 @@ module Aws::SSM
|
|
1818
1833
|
# type_name: "InventoryItemTypeName", # required
|
1819
1834
|
# schema_delete_option: "DisableSchema", # accepts DisableSchema, DeleteSchema
|
1820
1835
|
# dry_run: false,
|
1821
|
-
# client_token: "
|
1836
|
+
# client_token: "UUID",
|
1822
1837
|
# })
|
1823
1838
|
#
|
1824
1839
|
# @example Response structure
|
@@ -2295,6 +2310,8 @@ module Aws::SSM
|
|
2295
2310
|
# * {Types::DescribeAssociationExecutionTargetsResult#association_execution_targets #association_execution_targets} => Array<Types::AssociationExecutionTarget>
|
2296
2311
|
# * {Types::DescribeAssociationExecutionTargetsResult#next_token #next_token} => String
|
2297
2312
|
#
|
2313
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2314
|
+
#
|
2298
2315
|
# @example Request syntax with placeholder values
|
2299
2316
|
#
|
2300
2317
|
# resp = client.describe_association_execution_targets({
|
@@ -2365,6 +2382,8 @@ module Aws::SSM
|
|
2365
2382
|
# * {Types::DescribeAssociationExecutionsResult#association_executions #association_executions} => Array<Types::AssociationExecution>
|
2366
2383
|
# * {Types::DescribeAssociationExecutionsResult#next_token #next_token} => String
|
2367
2384
|
#
|
2385
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2386
|
+
#
|
2368
2387
|
# @example Request syntax with placeholder values
|
2369
2388
|
#
|
2370
2389
|
# resp = client.describe_association_executions({
|
@@ -2422,6 +2441,8 @@ module Aws::SSM
|
|
2422
2441
|
# * {Types::DescribeAutomationExecutionsResult#automation_execution_metadata_list #automation_execution_metadata_list} => Array<Types::AutomationExecutionMetadata>
|
2423
2442
|
# * {Types::DescribeAutomationExecutionsResult#next_token #next_token} => String
|
2424
2443
|
#
|
2444
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2445
|
+
#
|
2425
2446
|
# @example Request syntax with placeholder values
|
2426
2447
|
#
|
2427
2448
|
# resp = client.describe_automation_executions({
|
@@ -2510,6 +2531,8 @@ module Aws::SSM
|
|
2510
2531
|
# * {Types::DescribeAutomationStepExecutionsResult#step_executions #step_executions} => Array<Types::StepExecution>
|
2511
2532
|
# * {Types::DescribeAutomationStepExecutionsResult#next_token #next_token} => String
|
2512
2533
|
#
|
2534
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2535
|
+
#
|
2513
2536
|
# @example Request syntax with placeholder values
|
2514
2537
|
#
|
2515
2538
|
# resp = client.describe_automation_step_executions({
|
@@ -2597,6 +2620,8 @@ module Aws::SSM
|
|
2597
2620
|
# * {Types::DescribeAvailablePatchesResult#patches #patches} => Array<Types::Patch>
|
2598
2621
|
# * {Types::DescribeAvailablePatchesResult#next_token #next_token} => String
|
2599
2622
|
#
|
2623
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2624
|
+
#
|
2600
2625
|
# @example Request syntax with placeholder values
|
2601
2626
|
#
|
2602
2627
|
# resp = client.describe_available_patches({
|
@@ -2767,6 +2792,8 @@ module Aws::SSM
|
|
2767
2792
|
# * {Types::DescribeEffectiveInstanceAssociationsResult#associations #associations} => Array<Types::InstanceAssociation>
|
2768
2793
|
# * {Types::DescribeEffectiveInstanceAssociationsResult#next_token #next_token} => String
|
2769
2794
|
#
|
2795
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2796
|
+
#
|
2770
2797
|
# @example Request syntax with placeholder values
|
2771
2798
|
#
|
2772
2799
|
# resp = client.describe_effective_instance_associations({
|
@@ -2812,6 +2839,8 @@ module Aws::SSM
|
|
2812
2839
|
# * {Types::DescribeEffectivePatchesForPatchBaselineResult#effective_patches #effective_patches} => Array<Types::EffectivePatch>
|
2813
2840
|
# * {Types::DescribeEffectivePatchesForPatchBaselineResult#next_token #next_token} => String
|
2814
2841
|
#
|
2842
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2843
|
+
#
|
2815
2844
|
# @example Request syntax with placeholder values
|
2816
2845
|
#
|
2817
2846
|
# resp = client.describe_effective_patches_for_patch_baseline({
|
@@ -2869,6 +2898,8 @@ module Aws::SSM
|
|
2869
2898
|
# * {Types::DescribeInstanceAssociationsStatusResult#instance_association_status_infos #instance_association_status_infos} => Array<Types::InstanceAssociationStatusInfo>
|
2870
2899
|
# * {Types::DescribeInstanceAssociationsStatusResult#next_token #next_token} => String
|
2871
2900
|
#
|
2901
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2902
|
+
#
|
2872
2903
|
# @example Request syntax with placeholder values
|
2873
2904
|
#
|
2874
2905
|
# resp = client.describe_instance_associations_status({
|
@@ -3023,6 +3054,8 @@ module Aws::SSM
|
|
3023
3054
|
# * {Types::DescribeInstancePatchStatesResult#instance_patch_states #instance_patch_states} => Array<Types::InstancePatchState>
|
3024
3055
|
# * {Types::DescribeInstancePatchStatesResult#next_token #next_token} => String
|
3025
3056
|
#
|
3057
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3058
|
+
#
|
3026
3059
|
# @example Request syntax with placeholder values
|
3027
3060
|
#
|
3028
3061
|
# resp = client.describe_instance_patch_states({
|
@@ -3092,6 +3125,8 @@ module Aws::SSM
|
|
3092
3125
|
# * {Types::DescribeInstancePatchStatesForPatchGroupResult#instance_patch_states #instance_patch_states} => Array<Types::InstancePatchState>
|
3093
3126
|
# * {Types::DescribeInstancePatchStatesForPatchGroupResult#next_token #next_token} => String
|
3094
3127
|
#
|
3128
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3129
|
+
#
|
3095
3130
|
# @example Request syntax with placeholder values
|
3096
3131
|
#
|
3097
3132
|
# resp = client.describe_instance_patch_states_for_patch_group({
|
@@ -3165,6 +3200,8 @@ module Aws::SSM
|
|
3165
3200
|
# * {Types::DescribeInstancePatchesResult#patches #patches} => Array<Types::PatchComplianceData>
|
3166
3201
|
# * {Types::DescribeInstancePatchesResult#next_token #next_token} => String
|
3167
3202
|
#
|
3203
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3204
|
+
#
|
3168
3205
|
# @example Request syntax with placeholder values
|
3169
3206
|
#
|
3170
3207
|
# resp = client.describe_instance_patches({
|
@@ -3219,10 +3256,12 @@ module Aws::SSM
|
|
3219
3256
|
# * {Types::DescribeInventoryDeletionsResult#inventory_deletions #inventory_deletions} => Array<Types::InventoryDeletionStatusItem>
|
3220
3257
|
# * {Types::DescribeInventoryDeletionsResult#next_token #next_token} => String
|
3221
3258
|
#
|
3259
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3260
|
+
#
|
3222
3261
|
# @example Request syntax with placeholder values
|
3223
3262
|
#
|
3224
3263
|
# resp = client.describe_inventory_deletions({
|
3225
|
-
# deletion_id: "
|
3264
|
+
# deletion_id: "UUID",
|
3226
3265
|
# next_token: "NextToken",
|
3227
3266
|
# max_results: 1,
|
3228
3267
|
# })
|
@@ -3282,6 +3321,8 @@ module Aws::SSM
|
|
3282
3321
|
# * {Types::DescribeMaintenanceWindowExecutionTaskInvocationsResult#window_execution_task_invocation_identities #window_execution_task_invocation_identities} => Array<Types::MaintenanceWindowExecutionTaskInvocationIdentity>
|
3283
3322
|
# * {Types::DescribeMaintenanceWindowExecutionTaskInvocationsResult#next_token #next_token} => String
|
3284
3323
|
#
|
3324
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3325
|
+
#
|
3285
3326
|
# @example Request syntax with placeholder values
|
3286
3327
|
#
|
3287
3328
|
# resp = client.describe_maintenance_window_execution_task_invocations({
|
@@ -3349,6 +3390,8 @@ module Aws::SSM
|
|
3349
3390
|
# * {Types::DescribeMaintenanceWindowExecutionTasksResult#window_execution_task_identities #window_execution_task_identities} => Array<Types::MaintenanceWindowExecutionTaskIdentity>
|
3350
3391
|
# * {Types::DescribeMaintenanceWindowExecutionTasksResult#next_token #next_token} => String
|
3351
3392
|
#
|
3393
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3394
|
+
#
|
3352
3395
|
# @example Request syntax with placeholder values
|
3353
3396
|
#
|
3354
3397
|
# resp = client.describe_maintenance_window_execution_tasks({
|
@@ -3417,6 +3460,8 @@ module Aws::SSM
|
|
3417
3460
|
# * {Types::DescribeMaintenanceWindowExecutionsResult#window_executions #window_executions} => Array<Types::MaintenanceWindowExecution>
|
3418
3461
|
# * {Types::DescribeMaintenanceWindowExecutionsResult#next_token #next_token} => String
|
3419
3462
|
#
|
3463
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3464
|
+
#
|
3420
3465
|
# @example Request syntax with placeholder values
|
3421
3466
|
#
|
3422
3467
|
# resp = client.describe_maintenance_window_executions({
|
@@ -3483,6 +3528,8 @@ module Aws::SSM
|
|
3483
3528
|
# * {Types::DescribeMaintenanceWindowScheduleResult#scheduled_window_executions #scheduled_window_executions} => Array<Types::ScheduledWindowExecution>
|
3484
3529
|
# * {Types::DescribeMaintenanceWindowScheduleResult#next_token #next_token} => String
|
3485
3530
|
#
|
3531
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3532
|
+
#
|
3486
3533
|
# @example Request syntax with placeholder values
|
3487
3534
|
#
|
3488
3535
|
# resp = client.describe_maintenance_window_schedule({
|
@@ -3545,6 +3592,8 @@ module Aws::SSM
|
|
3545
3592
|
# * {Types::DescribeMaintenanceWindowTargetsResult#targets #targets} => Array<Types::MaintenanceWindowTarget>
|
3546
3593
|
# * {Types::DescribeMaintenanceWindowTargetsResult#next_token #next_token} => String
|
3547
3594
|
#
|
3595
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3596
|
+
#
|
3548
3597
|
# @example Request syntax with placeholder values
|
3549
3598
|
#
|
3550
3599
|
# resp = client.describe_maintenance_window_targets({
|
@@ -3607,6 +3656,8 @@ module Aws::SSM
|
|
3607
3656
|
# * {Types::DescribeMaintenanceWindowTasksResult#tasks #tasks} => Array<Types::MaintenanceWindowTask>
|
3608
3657
|
# * {Types::DescribeMaintenanceWindowTasksResult#next_token #next_token} => String
|
3609
3658
|
#
|
3659
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3660
|
+
#
|
3610
3661
|
# @example Request syntax with placeholder values
|
3611
3662
|
#
|
3612
3663
|
# resp = client.describe_maintenance_window_tasks({
|
@@ -3676,6 +3727,8 @@ module Aws::SSM
|
|
3676
3727
|
# * {Types::DescribeMaintenanceWindowsResult#window_identities #window_identities} => Array<Types::MaintenanceWindowIdentity>
|
3677
3728
|
# * {Types::DescribeMaintenanceWindowsResult#next_token #next_token} => String
|
3678
3729
|
#
|
3730
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3731
|
+
#
|
3679
3732
|
# @example Request syntax with placeholder values
|
3680
3733
|
#
|
3681
3734
|
# resp = client.describe_maintenance_windows({
|
@@ -3739,6 +3792,8 @@ module Aws::SSM
|
|
3739
3792
|
# * {Types::DescribeMaintenanceWindowsForTargetResult#window_identities #window_identities} => Array<Types::MaintenanceWindowIdentityForTarget>
|
3740
3793
|
# * {Types::DescribeMaintenanceWindowsForTargetResult#next_token #next_token} => String
|
3741
3794
|
#
|
3795
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3796
|
+
#
|
3742
3797
|
# @example Request syntax with placeholder values
|
3743
3798
|
#
|
3744
3799
|
# resp = client.describe_maintenance_windows_for_target({
|
@@ -3858,6 +3913,8 @@ module Aws::SSM
|
|
3858
3913
|
# * {Types::DescribeOpsItemsResponse#next_token #next_token} => String
|
3859
3914
|
# * {Types::DescribeOpsItemsResponse#ops_item_summaries #ops_item_summaries} => Array<Types::OpsItemSummary>
|
3860
3915
|
#
|
3916
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3917
|
+
#
|
3861
3918
|
# @example Request syntax with placeholder values
|
3862
3919
|
#
|
3863
3920
|
# resp = client.describe_ops_items({
|
@@ -4005,6 +4062,8 @@ module Aws::SSM
|
|
4005
4062
|
# * {Types::DescribePatchBaselinesResult#baseline_identities #baseline_identities} => Array<Types::PatchBaselineIdentity>
|
4006
4063
|
# * {Types::DescribePatchBaselinesResult#next_token #next_token} => String
|
4007
4064
|
#
|
4065
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4066
|
+
#
|
4008
4067
|
# @example Request syntax with placeholder values
|
4009
4068
|
#
|
4010
4069
|
# resp = client.describe_patch_baselines({
|
@@ -4116,6 +4175,8 @@ module Aws::SSM
|
|
4116
4175
|
# * {Types::DescribePatchGroupsResult#mappings #mappings} => Array<Types::PatchGroupPatchBaselineMapping>
|
4117
4176
|
# * {Types::DescribePatchGroupsResult#next_token #next_token} => String
|
4118
4177
|
#
|
4178
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4179
|
+
#
|
4119
4180
|
# @example Request syntax with placeholder values
|
4120
4181
|
#
|
4121
4182
|
# resp = client.describe_patch_groups({
|
@@ -4159,11 +4220,6 @@ module Aws::SSM
|
|
4159
4220
|
# The following section lists the properties that can be used in filters
|
4160
4221
|
# for each major operating system type:
|
4161
4222
|
#
|
4162
|
-
# WINDOWS
|
4163
|
-
#
|
4164
|
-
# : Valid properties: PRODUCT, PRODUCT\_FAMILY, CLASSIFICATION,
|
4165
|
-
# MSRC\_SEVERITY
|
4166
|
-
#
|
4167
4223
|
# AMAZON\_LINUX
|
4168
4224
|
#
|
4169
4225
|
# : Valid properties: PRODUCT, CLASSIFICATION, SEVERITY
|
@@ -4172,10 +4228,18 @@ module Aws::SSM
|
|
4172
4228
|
#
|
4173
4229
|
# : Valid properties: PRODUCT, CLASSIFICATION, SEVERITY
|
4174
4230
|
#
|
4175
|
-
#
|
4231
|
+
# CENTOS
|
4232
|
+
#
|
4233
|
+
# : Valid properties: PRODUCT, CLASSIFICATION, SEVERITY
|
4234
|
+
#
|
4235
|
+
# DEBIAN
|
4176
4236
|
#
|
4177
4237
|
# : Valid properties: PRODUCT, PRIORITY
|
4178
4238
|
#
|
4239
|
+
# ORACLE\_LINUX
|
4240
|
+
#
|
4241
|
+
# : Valid properties: PRODUCT, CLASSIFICATION, SEVERITY
|
4242
|
+
#
|
4179
4243
|
# REDHAT\_ENTERPRISE\_LINUX
|
4180
4244
|
#
|
4181
4245
|
# : Valid properties: PRODUCT, CLASSIFICATION, SEVERITY
|
@@ -4184,9 +4248,14 @@ module Aws::SSM
|
|
4184
4248
|
#
|
4185
4249
|
# : Valid properties: PRODUCT, CLASSIFICATION, SEVERITY
|
4186
4250
|
#
|
4187
|
-
#
|
4251
|
+
# UBUNTU
|
4188
4252
|
#
|
4189
|
-
# : Valid properties: PRODUCT,
|
4253
|
+
# : Valid properties: PRODUCT, PRIORITY
|
4254
|
+
#
|
4255
|
+
# WINDOWS
|
4256
|
+
#
|
4257
|
+
# : Valid properties: PRODUCT, PRODUCT\_FAMILY, CLASSIFICATION,
|
4258
|
+
# MSRC\_SEVERITY
|
4190
4259
|
#
|
4191
4260
|
# @option params [required, String] :operating_system
|
4192
4261
|
# The operating system type for which to list patches.
|
@@ -4213,6 +4282,8 @@ module Aws::SSM
|
|
4213
4282
|
# * {Types::DescribePatchPropertiesResult#properties #properties} => Array<Hash<String,String>>
|
4214
4283
|
# * {Types::DescribePatchPropertiesResult#next_token #next_token} => String
|
4215
4284
|
#
|
4285
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4286
|
+
#
|
4216
4287
|
# @example Request syntax with placeholder values
|
4217
4288
|
#
|
4218
4289
|
# resp = client.describe_patch_properties({
|
@@ -4264,6 +4335,8 @@ module Aws::SSM
|
|
4264
4335
|
# * {Types::DescribeSessionsResponse#sessions #sessions} => Array<Types::Session>
|
4265
4336
|
# * {Types::DescribeSessionsResponse#next_token #next_token} => String
|
4266
4337
|
#
|
4338
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4339
|
+
#
|
4267
4340
|
# @example Request syntax with placeholder values
|
4268
4341
|
#
|
4269
4342
|
# resp = client.describe_sessions({
|
@@ -4426,6 +4499,12 @@ module Aws::SSM
|
|
4426
4499
|
# next time that the Change Calendar state will transition. If you do
|
4427
4500
|
# not specify a time, `GetCalendarState` assumes the current time.
|
4428
4501
|
# Change Calendar entries have two possible states: `OPEN` or `CLOSED`.
|
4502
|
+
#
|
4503
|
+
# If you specify more than one calendar in a request, the command
|
4504
|
+
# returns the status of `OPEN` only if all calendars in the request are
|
4505
|
+
# open. If one or more calendars in the request are closed, the status
|
4506
|
+
# returned is `CLOSED`.
|
4507
|
+
#
|
4429
4508
|
# For more information about Systems Manager Change Calendar, see [AWS
|
4430
4509
|
# Systems Manager Change Calendar][1] in the *AWS Systems Manager User
|
4431
4510
|
# Guide*.
|
@@ -4544,6 +4623,11 @@ module Aws::SSM
|
|
4544
4623
|
# resp.cloud_watch_output_config.cloud_watch_log_group_name #=> String
|
4545
4624
|
# resp.cloud_watch_output_config.cloud_watch_output_enabled #=> Boolean
|
4546
4625
|
#
|
4626
|
+
#
|
4627
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
4628
|
+
#
|
4629
|
+
# * command_executed
|
4630
|
+
#
|
4547
4631
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCommandInvocation AWS API Documentation
|
4548
4632
|
#
|
4549
4633
|
# @overload get_command_invocation(params = {})
|
@@ -4758,6 +4842,8 @@ module Aws::SSM
|
|
4758
4842
|
# * {Types::GetInventoryResult#entities #entities} => Array<Types::InventoryResultEntity>
|
4759
4843
|
# * {Types::GetInventoryResult#next_token #next_token} => String
|
4760
4844
|
#
|
4845
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4846
|
+
#
|
4761
4847
|
# @example Request syntax with placeholder values
|
4762
4848
|
#
|
4763
4849
|
# resp = client.get_inventory({
|
@@ -4849,6 +4935,8 @@ module Aws::SSM
|
|
4849
4935
|
# * {Types::GetInventorySchemaResult#schemas #schemas} => Array<Types::InventoryItemSchema>
|
4850
4936
|
# * {Types::GetInventorySchemaResult#next_token #next_token} => String
|
4851
4937
|
#
|
4938
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4939
|
+
#
|
4852
4940
|
# @example Request syntax with placeholder values
|
4853
4941
|
#
|
4854
4942
|
# resp = client.get_inventory_schema({
|
@@ -5277,6 +5365,8 @@ module Aws::SSM
|
|
5277
5365
|
# * {Types::GetOpsSummaryResult#entities #entities} => Array<Types::OpsEntity>
|
5278
5366
|
# * {Types::GetOpsSummaryResult#next_token #next_token} => String
|
5279
5367
|
#
|
5368
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5369
|
+
#
|
5280
5370
|
# @example Request syntax with placeholder values
|
5281
5371
|
#
|
5282
5372
|
# resp = client.get_ops_summary({
|
@@ -5524,6 +5614,14 @@ module Aws::SSM
|
|
5524
5614
|
# @option params [Array<Types::ParameterStringFilter>] :parameter_filters
|
5525
5615
|
# Filters to limit the request results.
|
5526
5616
|
#
|
5617
|
+
# <note markdown="1"> For `GetParametersByPath`, the following filter `Key` names are
|
5618
|
+
# supported: `Type`, `KeyId`, `Label`, and `DataType`.
|
5619
|
+
#
|
5620
|
+
# The following `Key` values are not supported for
|
5621
|
+
# `GetParametersByPath`\: `tag`, `Name`, `Path`, and `Tier`.
|
5622
|
+
#
|
5623
|
+
# </note>
|
5624
|
+
#
|
5527
5625
|
# @option params [Boolean] :with_decryption
|
5528
5626
|
# Retrieve all parameters in a hierarchy with their value decrypted.
|
5529
5627
|
#
|
@@ -5839,6 +5937,8 @@ module Aws::SSM
|
|
5839
5937
|
# * {Types::ListAssociationVersionsResult#association_versions #association_versions} => Array<Types::AssociationVersionInfo>
|
5840
5938
|
# * {Types::ListAssociationVersionsResult#next_token #next_token} => String
|
5841
5939
|
#
|
5940
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5941
|
+
#
|
5842
5942
|
# @example Request syntax with placeholder values
|
5843
5943
|
#
|
5844
5944
|
# resp = client.list_association_versions({
|
@@ -6177,6 +6277,8 @@ module Aws::SSM
|
|
6177
6277
|
# * {Types::ListComplianceItemsResult#compliance_items #compliance_items} => Array<Types::ComplianceItem>
|
6178
6278
|
# * {Types::ListComplianceItemsResult#next_token #next_token} => String
|
6179
6279
|
#
|
6280
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6281
|
+
#
|
6180
6282
|
# @example Request syntax with placeholder values
|
6181
6283
|
#
|
6182
6284
|
# resp = client.list_compliance_items({
|
@@ -6242,6 +6344,8 @@ module Aws::SSM
|
|
6242
6344
|
# * {Types::ListComplianceSummariesResult#compliance_summary_items #compliance_summary_items} => Array<Types::ComplianceSummaryItem>
|
6243
6345
|
# * {Types::ListComplianceSummariesResult#next_token #next_token} => String
|
6244
6346
|
#
|
6347
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6348
|
+
#
|
6245
6349
|
# @example Request syntax with placeholder values
|
6246
6350
|
#
|
6247
6351
|
# resp = client.list_compliance_summaries({
|
@@ -6305,6 +6409,8 @@ module Aws::SSM
|
|
6305
6409
|
# * {Types::ListDocumentVersionsResult#document_versions #document_versions} => Array<Types::DocumentVersionInfo>
|
6306
6410
|
# * {Types::ListDocumentVersionsResult#next_token #next_token} => String
|
6307
6411
|
#
|
6412
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6413
|
+
#
|
6308
6414
|
# @example Request syntax with placeholder values
|
6309
6415
|
#
|
6310
6416
|
# resp = client.list_document_versions({
|
@@ -6505,6 +6611,8 @@ module Aws::SSM
|
|
6505
6611
|
# * {Types::ListResourceComplianceSummariesResult#resource_compliance_summary_items #resource_compliance_summary_items} => Array<Types::ResourceComplianceSummaryItem>
|
6506
6612
|
# * {Types::ListResourceComplianceSummariesResult#next_token #next_token} => String
|
6507
6613
|
#
|
6614
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6615
|
+
#
|
6508
6616
|
# @example Request syntax with placeholder values
|
6509
6617
|
#
|
6510
6618
|
# resp = client.list_resource_compliance_summaries({
|
@@ -6571,8 +6679,8 @@ module Aws::SSM
|
|
6571
6679
|
# @option params [String] :sync_type
|
6572
6680
|
# View a list of resource data syncs according to the sync type. Specify
|
6573
6681
|
# `SyncToDestination` to view resource data syncs that synchronize data
|
6574
|
-
# to an Amazon S3
|
6575
|
-
#
|
6682
|
+
# to an Amazon S3 bucket. Specify `SyncFromSource` to view resource data
|
6683
|
+
# syncs from AWS Organizations or from multiple AWS Regions.
|
6576
6684
|
#
|
6577
6685
|
# @option params [String] :next_token
|
6578
6686
|
# A token to start the list. Use this token to get the next set of
|
@@ -6588,6 +6696,8 @@ module Aws::SSM
|
|
6588
6696
|
# * {Types::ListResourceDataSyncResult#resource_data_sync_items #resource_data_sync_items} => Array<Types::ResourceDataSyncItem>
|
6589
6697
|
# * {Types::ListResourceDataSyncResult#next_token #next_token} => String
|
6590
6698
|
#
|
6699
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6700
|
+
#
|
6591
6701
|
# @example Request syntax with placeholder values
|
6592
6702
|
#
|
6593
6703
|
# resp = client.list_resource_data_sync({
|
@@ -6944,6 +7054,12 @@ module Aws::SSM
|
|
6944
7054
|
# parameters have a value limit of 4 KB. Advanced parameters have a
|
6945
7055
|
# value limit of 8 KB.
|
6946
7056
|
#
|
7057
|
+
# <note markdown="1"> Parameters can't be referenced or nested in the values of other
|
7058
|
+
# parameters. You can't include `\{\{\}\}` or
|
7059
|
+
# `\{\{ssm:parameter-name\}\}` in a parameter value.
|
7060
|
+
#
|
7061
|
+
# </note>
|
7062
|
+
#
|
6947
7063
|
# @option params [String] :type
|
6948
7064
|
# The type of parameter that you want to add to the system.
|
6949
7065
|
#
|
@@ -8896,11 +9012,22 @@ module Aws::SSM
|
|
8896
9012
|
#
|
8897
9013
|
# * MaxErrors
|
8898
9014
|
#
|
8899
|
-
# If
|
8900
|
-
#
|
9015
|
+
# If the value for a parameter in `UpdateMaintenanceWindowTask` is null,
|
9016
|
+
# then the corresponding field is not modified. If you set `Replace` to
|
9017
|
+
# true, then all fields required by the
|
8901
9018
|
# RegisterTaskWithMaintenanceWindow action are required for this
|
8902
9019
|
# request. Optional fields that aren't specified are set to null.
|
8903
9020
|
#
|
9021
|
+
# When you update a maintenance window task that has options specified
|
9022
|
+
# in `TaskInvocationParameters`, you must provide again all the
|
9023
|
+
# `TaskInvocationParameters` values that you want to retain. The values
|
9024
|
+
# you do not specify again are removed. For example, suppose that when
|
9025
|
+
# you registered a Run Command task, you specified
|
9026
|
+
# `TaskInvocationParameters` values for `Comment`, `NotificationConfig`,
|
9027
|
+
# and `OutputS3BucketName`. If you update the maintenance window task
|
9028
|
+
# and specify only a different `OutputS3BucketName` value, the values
|
9029
|
+
# for `Comment` and `NotificationConfig` are removed.
|
9030
|
+
#
|
8904
9031
|
# @option params [required, String] :window_id
|
8905
9032
|
# The maintenance window ID that contains the task to modify.
|
8906
9033
|
#
|
@@ -8958,6 +9085,16 @@ module Aws::SSM
|
|
8958
9085
|
# only the fields that match the task type. All other fields should be
|
8959
9086
|
# empty.
|
8960
9087
|
#
|
9088
|
+
# When you update a maintenance window task that has options specified
|
9089
|
+
# in `TaskInvocationParameters`, you must provide again all the
|
9090
|
+
# `TaskInvocationParameters` values that you want to retain. The values
|
9091
|
+
# you do not specify again are removed. For example, suppose that when
|
9092
|
+
# you registered a Run Command task, you specified
|
9093
|
+
# `TaskInvocationParameters` values for `Comment`, `NotificationConfig`,
|
9094
|
+
# and `OutputS3BucketName`. If you update the maintenance window task
|
9095
|
+
# and specify only a different `OutputS3BucketName` value, the values
|
9096
|
+
# for `Comment` and `NotificationConfig` are removed.
|
9097
|
+
#
|
8961
9098
|
# @option params [Integer] :priority
|
8962
9099
|
# The new task priority to specify. The lower the number, the higher the
|
8963
9100
|
# priority. Tasks that have the same priority are scheduled in parallel.
|
@@ -8992,8 +9129,8 @@ module Aws::SSM
|
|
8992
9129
|
#
|
8993
9130
|
# @option params [Boolean] :replace
|
8994
9131
|
# If True, then all fields that are required by the
|
8995
|
-
#
|
8996
|
-
# request. Optional fields that are not specified are set to null.
|
9132
|
+
# RegisterTaskWithMaintenanceWindow action are also required for this
|
9133
|
+
# API request. Optional fields that are not specified are set to null.
|
8997
9134
|
#
|
8998
9135
|
# @return [Types::UpdateMaintenanceWindowTaskResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8999
9136
|
#
|
@@ -9618,14 +9755,127 @@ module Aws::SSM
|
|
9618
9755
|
params: params,
|
9619
9756
|
config: config)
|
9620
9757
|
context[:gem_name] = 'aws-sdk-ssm'
|
9621
|
-
context[:gem_version] = '1.
|
9758
|
+
context[:gem_version] = '1.91.0'
|
9622
9759
|
Seahorse::Client::Request.new(handlers, context)
|
9623
9760
|
end
|
9624
9761
|
|
9762
|
+
# Polls an API operation until a resource enters a desired state.
|
9763
|
+
#
|
9764
|
+
# ## Basic Usage
|
9765
|
+
#
|
9766
|
+
# A waiter will call an API operation until:
|
9767
|
+
#
|
9768
|
+
# * It is successful
|
9769
|
+
# * It enters a terminal state
|
9770
|
+
# * It makes the maximum number of attempts
|
9771
|
+
#
|
9772
|
+
# In between attempts, the waiter will sleep.
|
9773
|
+
#
|
9774
|
+
# # polls in a loop, sleeping between attempts
|
9775
|
+
# client.wait_until(waiter_name, params)
|
9776
|
+
#
|
9777
|
+
# ## Configuration
|
9778
|
+
#
|
9779
|
+
# You can configure the maximum number of polling attempts, and the
|
9780
|
+
# delay (in seconds) between each polling attempt. You can pass
|
9781
|
+
# configuration as the final arguments hash.
|
9782
|
+
#
|
9783
|
+
# # poll for ~25 seconds
|
9784
|
+
# client.wait_until(waiter_name, params, {
|
9785
|
+
# max_attempts: 5,
|
9786
|
+
# delay: 5,
|
9787
|
+
# })
|
9788
|
+
#
|
9789
|
+
# ## Callbacks
|
9790
|
+
#
|
9791
|
+
# You can be notified before each polling attempt and before each
|
9792
|
+
# delay. If you throw `:success` or `:failure` from these callbacks,
|
9793
|
+
# it will terminate the waiter.
|
9794
|
+
#
|
9795
|
+
# started_at = Time.now
|
9796
|
+
# client.wait_until(waiter_name, params, {
|
9797
|
+
#
|
9798
|
+
# # disable max attempts
|
9799
|
+
# max_attempts: nil,
|
9800
|
+
#
|
9801
|
+
# # poll for 1 hour, instead of a number of attempts
|
9802
|
+
# before_wait: -> (attempts, response) do
|
9803
|
+
# throw :failure if Time.now - started_at > 3600
|
9804
|
+
# end
|
9805
|
+
# })
|
9806
|
+
#
|
9807
|
+
# ## Handling Errors
|
9808
|
+
#
|
9809
|
+
# When a waiter is unsuccessful, it will raise an error.
|
9810
|
+
# All of the failure errors extend from
|
9811
|
+
# {Aws::Waiters::Errors::WaiterFailed}.
|
9812
|
+
#
|
9813
|
+
# begin
|
9814
|
+
# client.wait_until(...)
|
9815
|
+
# rescue Aws::Waiters::Errors::WaiterFailed
|
9816
|
+
# # resource did not enter the desired state in time
|
9817
|
+
# end
|
9818
|
+
#
|
9819
|
+
# ## Valid Waiters
|
9820
|
+
#
|
9821
|
+
# The following table lists the valid waiter names, the operations they call,
|
9822
|
+
# and the default `:delay` and `:max_attempts` values.
|
9823
|
+
#
|
9824
|
+
# | waiter_name | params | :delay | :max_attempts |
|
9825
|
+
# | ---------------- | ------------------------------- | -------- | ------------- |
|
9826
|
+
# | command_executed | {Client#get_command_invocation} | 5 | 20 |
|
9827
|
+
#
|
9828
|
+
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
9829
|
+
# because the waiter has entered a state that it will not transition
|
9830
|
+
# out of, preventing success.
|
9831
|
+
#
|
9832
|
+
# @raise [Errors::TooManyAttemptsError] Raised when the configured
|
9833
|
+
# maximum number of attempts have been made, and the waiter is not
|
9834
|
+
# yet successful.
|
9835
|
+
#
|
9836
|
+
# @raise [Errors::UnexpectedError] Raised when an error is encounted
|
9837
|
+
# while polling for a resource that is not expected.
|
9838
|
+
#
|
9839
|
+
# @raise [Errors::NoSuchWaiterError] Raised when you request to wait
|
9840
|
+
# for an unknown state.
|
9841
|
+
#
|
9842
|
+
# @return [Boolean] Returns `true` if the waiter was successful.
|
9843
|
+
# @param [Symbol] waiter_name
|
9844
|
+
# @param [Hash] params ({})
|
9845
|
+
# @param [Hash] options ({})
|
9846
|
+
# @option options [Integer] :max_attempts
|
9847
|
+
# @option options [Integer] :delay
|
9848
|
+
# @option options [Proc] :before_attempt
|
9849
|
+
# @option options [Proc] :before_wait
|
9850
|
+
def wait_until(waiter_name, params = {}, options = {})
|
9851
|
+
w = waiter(waiter_name, options)
|
9852
|
+
yield(w.waiter) if block_given? # deprecated
|
9853
|
+
w.wait(params)
|
9854
|
+
end
|
9855
|
+
|
9625
9856
|
# @api private
|
9626
9857
|
# @deprecated
|
9627
9858
|
def waiter_names
|
9628
|
-
|
9859
|
+
waiters.keys
|
9860
|
+
end
|
9861
|
+
|
9862
|
+
private
|
9863
|
+
|
9864
|
+
# @param [Symbol] waiter_name
|
9865
|
+
# @param [Hash] options ({})
|
9866
|
+
def waiter(waiter_name, options = {})
|
9867
|
+
waiter_class = waiters[waiter_name]
|
9868
|
+
if waiter_class
|
9869
|
+
waiter_class.new(options.merge(client: self))
|
9870
|
+
else
|
9871
|
+
raise Aws::Waiters::Errors::NoSuchWaiterError.new(waiter_name, waiters.keys)
|
9872
|
+
end
|
9873
|
+
end
|
9874
|
+
|
9875
|
+
def waiters
|
9876
|
+
{
|
9877
|
+
command_executed: Waiters::CommandExecuted
|
9878
|
+
}
|
9629
9879
|
end
|
9630
9880
|
|
9631
9881
|
class << self
|