aws-sdk-ssm 1.185.0 → 1.186.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ssm/client.rb +442 -7
- data/lib/aws-sdk-ssm/client_api.rb +246 -0
- data/lib/aws-sdk-ssm/errors.rb +37 -0
- data/lib/aws-sdk-ssm/types.rb +633 -12
- data/lib/aws-sdk-ssm.rb +1 -1
- data/sig/client.rbs +116 -0
- data/sig/errors.rbs +7 -0
- data/sig/types.rbs +168 -0
- metadata +2 -2
data/lib/aws-sdk-ssm.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -1465,6 +1465,20 @@ module Aws
|
|
1465
1465
|
) -> _GetDocumentResponseSuccess
|
1466
1466
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDocumentResponseSuccess
|
1467
1467
|
|
1468
|
+
interface _GetExecutionPreviewResponseSuccess
|
1469
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetExecutionPreviewResponse]
|
1470
|
+
def execution_preview_id: () -> ::String
|
1471
|
+
def ended_at: () -> ::Time
|
1472
|
+
def status: () -> ("Pending" | "InProgress" | "Success" | "Failed")
|
1473
|
+
def status_message: () -> ::String
|
1474
|
+
def execution_preview: () -> Types::ExecutionPreview
|
1475
|
+
end
|
1476
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSM/Client.html#get_execution_preview-instance_method
|
1477
|
+
def get_execution_preview: (
|
1478
|
+
execution_preview_id: ::String
|
1479
|
+
) -> _GetExecutionPreviewResponseSuccess
|
1480
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetExecutionPreviewResponseSuccess
|
1481
|
+
|
1468
1482
|
interface _GetInventoryResponseSuccess
|
1469
1483
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetInventoryResult]
|
1470
1484
|
def entities: () -> ::Array[Types::InventoryResultEntity]
|
@@ -2025,6 +2039,54 @@ module Aws
|
|
2025
2039
|
) -> _ListInventoryEntriesResponseSuccess
|
2026
2040
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInventoryEntriesResponseSuccess
|
2027
2041
|
|
2042
|
+
interface _ListNodesResponseSuccess
|
2043
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListNodesResult]
|
2044
|
+
def nodes: () -> ::Array[Types::Node]
|
2045
|
+
def next_token: () -> ::String
|
2046
|
+
end
|
2047
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSM/Client.html#list_nodes-instance_method
|
2048
|
+
def list_nodes: (
|
2049
|
+
?sync_name: ::String,
|
2050
|
+
?filters: Array[
|
2051
|
+
{
|
2052
|
+
key: ("AgentType" | "AgentVersion" | "ComputerName" | "InstanceId" | "InstanceStatus" | "IpAddress" | "ManagedStatus" | "PlatformName" | "PlatformType" | "PlatformVersion" | "ResourceType" | "OrganizationalUnitId" | "OrganizationalUnitPath" | "Region" | "AccountId"),
|
2053
|
+
values: Array[::String],
|
2054
|
+
type: ("Equal" | "NotEqual" | "BeginWith")?
|
2055
|
+
},
|
2056
|
+
],
|
2057
|
+
?next_token: ::String,
|
2058
|
+
?max_results: ::Integer
|
2059
|
+
) -> _ListNodesResponseSuccess
|
2060
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNodesResponseSuccess
|
2061
|
+
|
2062
|
+
interface _ListNodesSummaryResponseSuccess
|
2063
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListNodesSummaryResult]
|
2064
|
+
def summary: () -> ::Array[::Hash[::String, ::String]]
|
2065
|
+
def next_token: () -> ::String
|
2066
|
+
end
|
2067
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSM/Client.html#list_nodes_summary-instance_method
|
2068
|
+
def list_nodes_summary: (
|
2069
|
+
?sync_name: ::String,
|
2070
|
+
?filters: Array[
|
2071
|
+
{
|
2072
|
+
key: ("AgentType" | "AgentVersion" | "ComputerName" | "InstanceId" | "InstanceStatus" | "IpAddress" | "ManagedStatus" | "PlatformName" | "PlatformType" | "PlatformVersion" | "ResourceType" | "OrganizationalUnitId" | "OrganizationalUnitPath" | "Region" | "AccountId"),
|
2073
|
+
values: Array[::String],
|
2074
|
+
type: ("Equal" | "NotEqual" | "BeginWith")?
|
2075
|
+
},
|
2076
|
+
],
|
2077
|
+
aggregators: Array[
|
2078
|
+
{
|
2079
|
+
aggregator_type: ("Count"),
|
2080
|
+
type_name: ("Instance"),
|
2081
|
+
attribute_name: ("AgentVersion" | "PlatformName" | "PlatformType" | "PlatformVersion" | "Region" | "ResourceType"),
|
2082
|
+
aggregators: untyped?
|
2083
|
+
},
|
2084
|
+
],
|
2085
|
+
?next_token: ::String,
|
2086
|
+
?max_results: ::Integer
|
2087
|
+
) -> _ListNodesSummaryResponseSuccess
|
2088
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNodesSummaryResponseSuccess
|
2089
|
+
|
2028
2090
|
interface _ListOpsItemEventsResponseSuccess
|
2029
2091
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListOpsItemEventsResponse]
|
2030
2092
|
def next_token: () -> ::String
|
@@ -2584,6 +2646,60 @@ module Aws
|
|
2584
2646
|
) -> _StartChangeRequestExecutionResponseSuccess
|
2585
2647
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartChangeRequestExecutionResponseSuccess
|
2586
2648
|
|
2649
|
+
interface _StartExecutionPreviewResponseSuccess
|
2650
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartExecutionPreviewResponse]
|
2651
|
+
def execution_preview_id: () -> ::String
|
2652
|
+
end
|
2653
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSM/Client.html#start_execution_preview-instance_method
|
2654
|
+
def start_execution_preview: (
|
2655
|
+
document_name: ::String,
|
2656
|
+
?document_version: ::String,
|
2657
|
+
?execution_inputs: {
|
2658
|
+
automation: {
|
2659
|
+
parameters: Hash[::String, Array[::String]]?,
|
2660
|
+
target_parameter_name: ::String?,
|
2661
|
+
targets: Array[
|
2662
|
+
{
|
2663
|
+
key: ::String?,
|
2664
|
+
values: Array[::String]?
|
2665
|
+
},
|
2666
|
+
]?,
|
2667
|
+
target_maps: Array[
|
2668
|
+
Hash[::String, Array[::String]],
|
2669
|
+
]?,
|
2670
|
+
target_locations: Array[
|
2671
|
+
{
|
2672
|
+
accounts: Array[::String]?,
|
2673
|
+
regions: Array[::String]?,
|
2674
|
+
target_location_max_concurrency: ::String?,
|
2675
|
+
target_location_max_errors: ::String?,
|
2676
|
+
execution_role_name: ::String?,
|
2677
|
+
target_location_alarm_configuration: {
|
2678
|
+
ignore_poll_alarm_failure: bool?,
|
2679
|
+
alarms: Array[
|
2680
|
+
{
|
2681
|
+
name: ::String
|
2682
|
+
},
|
2683
|
+
]
|
2684
|
+
}?,
|
2685
|
+
include_child_organization_units: bool?,
|
2686
|
+
exclude_accounts: Array[::String]?,
|
2687
|
+
targets: Array[
|
2688
|
+
{
|
2689
|
+
key: ::String?,
|
2690
|
+
values: Array[::String]?
|
2691
|
+
},
|
2692
|
+
]?,
|
2693
|
+
targets_max_concurrency: ::String?,
|
2694
|
+
targets_max_errors: ::String?
|
2695
|
+
},
|
2696
|
+
]?,
|
2697
|
+
target_locations_url: ::String?
|
2698
|
+
}?
|
2699
|
+
}
|
2700
|
+
) -> _StartExecutionPreviewResponseSuccess
|
2701
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartExecutionPreviewResponseSuccess
|
2702
|
+
|
2587
2703
|
interface _StartSessionResponseSuccess
|
2588
2704
|
include ::Seahorse::Client::_ResponseSuccess[Types::StartSessionResponse]
|
2589
2705
|
def session_id: () -> ::String
|
data/sig/errors.rbs
CHANGED
@@ -406,12 +406,19 @@ module Aws
|
|
406
406
|
class UnsupportedOperatingSystem < ::Aws::Errors::ServiceError
|
407
407
|
def message: () -> ::String
|
408
408
|
end
|
409
|
+
class UnsupportedOperationException < ::Aws::Errors::ServiceError
|
410
|
+
def message: () -> ::String
|
411
|
+
end
|
409
412
|
class UnsupportedParameterType < ::Aws::Errors::ServiceError
|
410
413
|
def message: () -> ::String
|
411
414
|
end
|
412
415
|
class UnsupportedPlatformType < ::Aws::Errors::ServiceError
|
413
416
|
def message: () -> ::String
|
414
417
|
end
|
418
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
419
|
+
def message: () -> ::String
|
420
|
+
def reason_code: () -> ::String
|
421
|
+
end
|
415
422
|
end
|
416
423
|
end
|
417
424
|
end
|
data/sig/types.rbs
CHANGED
@@ -313,6 +313,16 @@ module Aws::SSM
|
|
313
313
|
SENSITIVE: []
|
314
314
|
end
|
315
315
|
|
316
|
+
class AutomationExecutionInputs
|
317
|
+
attr_accessor parameters: ::Hash[::String, ::Array[::String]]
|
318
|
+
attr_accessor target_parameter_name: ::String
|
319
|
+
attr_accessor targets: ::Array[Types::Target]
|
320
|
+
attr_accessor target_maps: ::Array[::Hash[::String, ::Array[::String]]]
|
321
|
+
attr_accessor target_locations: ::Array[Types::TargetLocation]
|
322
|
+
attr_accessor target_locations_url: ::String
|
323
|
+
SENSITIVE: []
|
324
|
+
end
|
325
|
+
|
316
326
|
class AutomationExecutionLimitExceededException
|
317
327
|
attr_accessor message: ::String
|
318
328
|
SENSITIVE: []
|
@@ -358,6 +368,14 @@ module Aws::SSM
|
|
358
368
|
SENSITIVE: []
|
359
369
|
end
|
360
370
|
|
371
|
+
class AutomationExecutionPreview
|
372
|
+
attr_accessor step_previews: ::Hash[("Mutating" | "NonMutating" | "Undetermined"), ::Integer]
|
373
|
+
attr_accessor regions: ::Array[::String]
|
374
|
+
attr_accessor target_previews: ::Array[Types::TargetPreview]
|
375
|
+
attr_accessor total_accounts: ::Integer
|
376
|
+
SENSITIVE: []
|
377
|
+
end
|
378
|
+
|
361
379
|
class AutomationStepNotFoundException
|
362
380
|
attr_accessor message: ::String
|
363
381
|
SENSITIVE: []
|
@@ -1537,6 +1555,28 @@ module Aws::SSM
|
|
1537
1555
|
SENSITIVE: []
|
1538
1556
|
end
|
1539
1557
|
|
1558
|
+
class ExecutionInputs
|
1559
|
+
attr_accessor automation: Types::AutomationExecutionInputs
|
1560
|
+
attr_accessor unknown: untyped
|
1561
|
+
SENSITIVE: []
|
1562
|
+
|
1563
|
+
class Automation < ExecutionInputs
|
1564
|
+
end
|
1565
|
+
class Unknown < ExecutionInputs
|
1566
|
+
end
|
1567
|
+
end
|
1568
|
+
|
1569
|
+
class ExecutionPreview
|
1570
|
+
attr_accessor automation: Types::AutomationExecutionPreview
|
1571
|
+
attr_accessor unknown: untyped
|
1572
|
+
SENSITIVE: []
|
1573
|
+
|
1574
|
+
class Automation < ExecutionPreview
|
1575
|
+
end
|
1576
|
+
class Unknown < ExecutionPreview
|
1577
|
+
end
|
1578
|
+
end
|
1579
|
+
|
1540
1580
|
class FailedCreateAssociation
|
1541
1581
|
attr_accessor entry: Types::CreateAssociationBatchRequestEntry
|
1542
1582
|
attr_accessor message: ::String
|
@@ -1669,6 +1709,20 @@ module Aws::SSM
|
|
1669
1709
|
SENSITIVE: []
|
1670
1710
|
end
|
1671
1711
|
|
1712
|
+
class GetExecutionPreviewRequest
|
1713
|
+
attr_accessor execution_preview_id: ::String
|
1714
|
+
SENSITIVE: []
|
1715
|
+
end
|
1716
|
+
|
1717
|
+
class GetExecutionPreviewResponse
|
1718
|
+
attr_accessor execution_preview_id: ::String
|
1719
|
+
attr_accessor ended_at: ::Time
|
1720
|
+
attr_accessor status: ("Pending" | "InProgress" | "Success" | "Failed")
|
1721
|
+
attr_accessor status_message: ::String
|
1722
|
+
attr_accessor execution_preview: Types::ExecutionPreview
|
1723
|
+
SENSITIVE: []
|
1724
|
+
end
|
1725
|
+
|
1672
1726
|
class GetInventoryRequest
|
1673
1727
|
attr_accessor filters: ::Array[Types::InventoryFilter]
|
1674
1728
|
attr_accessor aggregators: ::Array[Types::InventoryAggregator]
|
@@ -2033,6 +2087,20 @@ module Aws::SSM
|
|
2033
2087
|
SENSITIVE: []
|
2034
2088
|
end
|
2035
2089
|
|
2090
|
+
class InstanceInfo
|
2091
|
+
attr_accessor agent_type: ::String
|
2092
|
+
attr_accessor agent_version: ::String
|
2093
|
+
attr_accessor computer_name: ::String
|
2094
|
+
attr_accessor instance_status: ::String
|
2095
|
+
attr_accessor ip_address: ::String
|
2096
|
+
attr_accessor managed_status: ("All" | "Managed" | "Unmanaged")
|
2097
|
+
attr_accessor platform_type: ("Windows" | "Linux" | "MacOS")
|
2098
|
+
attr_accessor platform_name: ::String
|
2099
|
+
attr_accessor platform_version: ::String
|
2100
|
+
attr_accessor resource_type: ("ManagedInstance" | "EC2Instance")
|
2101
|
+
SENSITIVE: [:ip_address]
|
2102
|
+
end
|
2103
|
+
|
2036
2104
|
class InstanceInformation
|
2037
2105
|
attr_accessor instance_id: ::String
|
2038
2106
|
attr_accessor ping_status: ("Online" | "ConnectionLost" | "Inactive")
|
@@ -2649,6 +2717,35 @@ module Aws::SSM
|
|
2649
2717
|
SENSITIVE: []
|
2650
2718
|
end
|
2651
2719
|
|
2720
|
+
class ListNodesRequest
|
2721
|
+
attr_accessor sync_name: ::String
|
2722
|
+
attr_accessor filters: ::Array[Types::NodeFilter]
|
2723
|
+
attr_accessor next_token: ::String
|
2724
|
+
attr_accessor max_results: ::Integer
|
2725
|
+
SENSITIVE: []
|
2726
|
+
end
|
2727
|
+
|
2728
|
+
class ListNodesResult
|
2729
|
+
attr_accessor nodes: ::Array[Types::Node]
|
2730
|
+
attr_accessor next_token: ::String
|
2731
|
+
SENSITIVE: []
|
2732
|
+
end
|
2733
|
+
|
2734
|
+
class ListNodesSummaryRequest
|
2735
|
+
attr_accessor sync_name: ::String
|
2736
|
+
attr_accessor filters: ::Array[Types::NodeFilter]
|
2737
|
+
attr_accessor aggregators: ::Array[Types::NodeAggregator]
|
2738
|
+
attr_accessor next_token: ::String
|
2739
|
+
attr_accessor max_results: ::Integer
|
2740
|
+
SENSITIVE: []
|
2741
|
+
end
|
2742
|
+
|
2743
|
+
class ListNodesSummaryResult
|
2744
|
+
attr_accessor summary: ::Array[::Hash[::String, ::String]]
|
2745
|
+
attr_accessor next_token: ::String
|
2746
|
+
SENSITIVE: []
|
2747
|
+
end
|
2748
|
+
|
2652
2749
|
class ListOpsItemEventsRequest
|
2653
2750
|
attr_accessor filters: ::Array[Types::OpsItemEventFilter]
|
2654
2751
|
attr_accessor max_results: ::Integer
|
@@ -2905,6 +3002,48 @@ module Aws::SSM
|
|
2905
3002
|
class ModifyDocumentPermissionResponse < Aws::EmptyStructure
|
2906
3003
|
end
|
2907
3004
|
|
3005
|
+
class Node
|
3006
|
+
attr_accessor capture_time: ::Time
|
3007
|
+
attr_accessor id: ::String
|
3008
|
+
attr_accessor owner: Types::NodeOwnerInfo
|
3009
|
+
attr_accessor region: ::String
|
3010
|
+
attr_accessor node_type: Types::NodeType
|
3011
|
+
SENSITIVE: []
|
3012
|
+
end
|
3013
|
+
|
3014
|
+
class NodeAggregator
|
3015
|
+
attr_accessor aggregator_type: ("Count")
|
3016
|
+
attr_accessor type_name: ("Instance")
|
3017
|
+
attr_accessor attribute_name: ("AgentVersion" | "PlatformName" | "PlatformType" | "PlatformVersion" | "Region" | "ResourceType")
|
3018
|
+
attr_accessor aggregators: ::Array[Types::NodeAggregator]
|
3019
|
+
SENSITIVE: []
|
3020
|
+
end
|
3021
|
+
|
3022
|
+
class NodeFilter
|
3023
|
+
attr_accessor key: ("AgentType" | "AgentVersion" | "ComputerName" | "InstanceId" | "InstanceStatus" | "IpAddress" | "ManagedStatus" | "PlatformName" | "PlatformType" | "PlatformVersion" | "ResourceType" | "OrganizationalUnitId" | "OrganizationalUnitPath" | "Region" | "AccountId")
|
3024
|
+
attr_accessor values: ::Array[::String]
|
3025
|
+
attr_accessor type: ("Equal" | "NotEqual" | "BeginWith")
|
3026
|
+
SENSITIVE: []
|
3027
|
+
end
|
3028
|
+
|
3029
|
+
class NodeOwnerInfo
|
3030
|
+
attr_accessor account_id: ::String
|
3031
|
+
attr_accessor organizational_unit_id: ::String
|
3032
|
+
attr_accessor organizational_unit_path: ::String
|
3033
|
+
SENSITIVE: []
|
3034
|
+
end
|
3035
|
+
|
3036
|
+
class NodeType
|
3037
|
+
attr_accessor instance: Types::InstanceInfo
|
3038
|
+
attr_accessor unknown: untyped
|
3039
|
+
SENSITIVE: []
|
3040
|
+
|
3041
|
+
class Instance < NodeType
|
3042
|
+
end
|
3043
|
+
class Unknown < NodeType
|
3044
|
+
end
|
3045
|
+
end
|
3046
|
+
|
2908
3047
|
class NonCompliantSummary
|
2909
3048
|
attr_accessor non_compliant_count: ::Integer
|
2910
3049
|
attr_accessor severity_summary: Types::SeveritySummary
|
@@ -3872,6 +4011,18 @@ module Aws::SSM
|
|
3872
4011
|
SENSITIVE: []
|
3873
4012
|
end
|
3874
4013
|
|
4014
|
+
class StartExecutionPreviewRequest
|
4015
|
+
attr_accessor document_name: ::String
|
4016
|
+
attr_accessor document_version: ::String
|
4017
|
+
attr_accessor execution_inputs: Types::ExecutionInputs
|
4018
|
+
SENSITIVE: []
|
4019
|
+
end
|
4020
|
+
|
4021
|
+
class StartExecutionPreviewResponse
|
4022
|
+
attr_accessor execution_preview_id: ::String
|
4023
|
+
SENSITIVE: []
|
4024
|
+
end
|
4025
|
+
|
3875
4026
|
class StartSessionRequest
|
3876
4027
|
attr_accessor target: ::String
|
3877
4028
|
attr_accessor document_name: ::String
|
@@ -3975,6 +4126,12 @@ module Aws::SSM
|
|
3975
4126
|
SENSITIVE: []
|
3976
4127
|
end
|
3977
4128
|
|
4129
|
+
class TargetPreview
|
4130
|
+
attr_accessor count: ::Integer
|
4131
|
+
attr_accessor target_type: ::String
|
4132
|
+
SENSITIVE: []
|
4133
|
+
end
|
4134
|
+
|
3978
4135
|
class TerminateSessionRequest
|
3979
4136
|
attr_accessor session_id: ::String
|
3980
4137
|
SENSITIVE: []
|
@@ -4037,6 +4194,11 @@ module Aws::SSM
|
|
4037
4194
|
SENSITIVE: []
|
4038
4195
|
end
|
4039
4196
|
|
4197
|
+
class UnsupportedOperationException
|
4198
|
+
attr_accessor message: ::String
|
4199
|
+
SENSITIVE: []
|
4200
|
+
end
|
4201
|
+
|
4040
4202
|
class UnsupportedParameterType
|
4041
4203
|
attr_accessor message: ::String
|
4042
4204
|
SENSITIVE: []
|
@@ -4316,5 +4478,11 @@ module Aws::SSM
|
|
4316
4478
|
|
4317
4479
|
class UpdateServiceSettingResult < Aws::EmptyStructure
|
4318
4480
|
end
|
4481
|
+
|
4482
|
+
class ValidationException
|
4483
|
+
attr_accessor message: ::String
|
4484
|
+
attr_accessor reason_code: ::String
|
4485
|
+
SENSITIVE: []
|
4486
|
+
end
|
4319
4487
|
end
|
4320
4488
|
end
|
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.186.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: 2024-11-
|
11
|
+
date: 2024-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|