aws-sdk-ssm 1.185.0 → 1.187.0

Sign up to get free protection for your applications and to get access to all the features.
data/lib/aws-sdk-ssm.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::SSM
55
55
  autoload :EndpointProvider, 'aws-sdk-ssm/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-ssm/endpoints'
57
57
 
58
- GEM_VERSION = '1.185.0'
58
+ GEM_VERSION = '1.187.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
@@ -1465,6 +1467,20 @@ module Aws
1465
1467
  ) -> _GetDocumentResponseSuccess
1466
1468
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDocumentResponseSuccess
1467
1469
 
1470
+ interface _GetExecutionPreviewResponseSuccess
1471
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetExecutionPreviewResponse]
1472
+ def execution_preview_id: () -> ::String
1473
+ def ended_at: () -> ::Time
1474
+ def status: () -> ("Pending" | "InProgress" | "Success" | "Failed")
1475
+ def status_message: () -> ::String
1476
+ def execution_preview: () -> Types::ExecutionPreview
1477
+ end
1478
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSM/Client.html#get_execution_preview-instance_method
1479
+ def get_execution_preview: (
1480
+ execution_preview_id: ::String
1481
+ ) -> _GetExecutionPreviewResponseSuccess
1482
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetExecutionPreviewResponseSuccess
1483
+
1468
1484
  interface _GetInventoryResponseSuccess
1469
1485
  include ::Seahorse::Client::_ResponseSuccess[Types::GetInventoryResult]
1470
1486
  def entities: () -> ::Array[Types::InventoryResultEntity]
@@ -2025,6 +2041,54 @@ module Aws
2025
2041
  ) -> _ListInventoryEntriesResponseSuccess
2026
2042
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInventoryEntriesResponseSuccess
2027
2043
 
2044
+ interface _ListNodesResponseSuccess
2045
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListNodesResult]
2046
+ def nodes: () -> ::Array[Types::Node]
2047
+ def next_token: () -> ::String
2048
+ end
2049
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSM/Client.html#list_nodes-instance_method
2050
+ def list_nodes: (
2051
+ ?sync_name: ::String,
2052
+ ?filters: Array[
2053
+ {
2054
+ key: ("AgentType" | "AgentVersion" | "ComputerName" | "InstanceId" | "InstanceStatus" | "IpAddress" | "ManagedStatus" | "PlatformName" | "PlatformType" | "PlatformVersion" | "ResourceType" | "OrganizationalUnitId" | "OrganizationalUnitPath" | "Region" | "AccountId"),
2055
+ values: Array[::String],
2056
+ type: ("Equal" | "NotEqual" | "BeginWith")?
2057
+ },
2058
+ ],
2059
+ ?next_token: ::String,
2060
+ ?max_results: ::Integer
2061
+ ) -> _ListNodesResponseSuccess
2062
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNodesResponseSuccess
2063
+
2064
+ interface _ListNodesSummaryResponseSuccess
2065
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListNodesSummaryResult]
2066
+ def summary: () -> ::Array[::Hash[::String, ::String]]
2067
+ def next_token: () -> ::String
2068
+ end
2069
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSM/Client.html#list_nodes_summary-instance_method
2070
+ def list_nodes_summary: (
2071
+ ?sync_name: ::String,
2072
+ ?filters: Array[
2073
+ {
2074
+ key: ("AgentType" | "AgentVersion" | "ComputerName" | "InstanceId" | "InstanceStatus" | "IpAddress" | "ManagedStatus" | "PlatformName" | "PlatformType" | "PlatformVersion" | "ResourceType" | "OrganizationalUnitId" | "OrganizationalUnitPath" | "Region" | "AccountId"),
2075
+ values: Array[::String],
2076
+ type: ("Equal" | "NotEqual" | "BeginWith")?
2077
+ },
2078
+ ],
2079
+ aggregators: Array[
2080
+ {
2081
+ aggregator_type: ("Count"),
2082
+ type_name: ("Instance"),
2083
+ attribute_name: ("AgentVersion" | "PlatformName" | "PlatformType" | "PlatformVersion" | "Region" | "ResourceType"),
2084
+ aggregators: untyped?
2085
+ },
2086
+ ],
2087
+ ?next_token: ::String,
2088
+ ?max_results: ::Integer
2089
+ ) -> _ListNodesSummaryResponseSuccess
2090
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNodesSummaryResponseSuccess
2091
+
2028
2092
  interface _ListOpsItemEventsResponseSuccess
2029
2093
  include ::Seahorse::Client::_ResponseSuccess[Types::ListOpsItemEventsResponse]
2030
2094
  def next_token: () -> ::String
@@ -2584,6 +2648,60 @@ module Aws
2584
2648
  ) -> _StartChangeRequestExecutionResponseSuccess
2585
2649
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartChangeRequestExecutionResponseSuccess
2586
2650
 
2651
+ interface _StartExecutionPreviewResponseSuccess
2652
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartExecutionPreviewResponse]
2653
+ def execution_preview_id: () -> ::String
2654
+ end
2655
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSM/Client.html#start_execution_preview-instance_method
2656
+ def start_execution_preview: (
2657
+ document_name: ::String,
2658
+ ?document_version: ::String,
2659
+ ?execution_inputs: {
2660
+ automation: {
2661
+ parameters: Hash[::String, Array[::String]]?,
2662
+ target_parameter_name: ::String?,
2663
+ targets: Array[
2664
+ {
2665
+ key: ::String?,
2666
+ values: Array[::String]?
2667
+ },
2668
+ ]?,
2669
+ target_maps: Array[
2670
+ Hash[::String, Array[::String]],
2671
+ ]?,
2672
+ target_locations: Array[
2673
+ {
2674
+ accounts: Array[::String]?,
2675
+ regions: Array[::String]?,
2676
+ target_location_max_concurrency: ::String?,
2677
+ target_location_max_errors: ::String?,
2678
+ execution_role_name: ::String?,
2679
+ target_location_alarm_configuration: {
2680
+ ignore_poll_alarm_failure: bool?,
2681
+ alarms: Array[
2682
+ {
2683
+ name: ::String
2684
+ },
2685
+ ]
2686
+ }?,
2687
+ include_child_organization_units: bool?,
2688
+ exclude_accounts: Array[::String]?,
2689
+ targets: Array[
2690
+ {
2691
+ key: ::String?,
2692
+ values: Array[::String]?
2693
+ },
2694
+ ]?,
2695
+ targets_max_concurrency: ::String?,
2696
+ targets_max_errors: ::String?
2697
+ },
2698
+ ]?,
2699
+ target_locations_url: ::String?
2700
+ }?
2701
+ }
2702
+ ) -> _StartExecutionPreviewResponseSuccess
2703
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartExecutionPreviewResponseSuccess
2704
+
2587
2705
  interface _StartSessionResponseSuccess
2588
2706
  include ::Seahorse::Client::_ResponseSuccess[Types::StartSessionResponse]
2589
2707
  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/resource.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
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.185.0
4
+ version: 1.187.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-18 00:00:00.000000000 Z
11
+ date: 2025-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.210.0
22
+ version: 3.216.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.210.0
32
+ version: 3.216.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement