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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ssm/client.rb +465 -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 +118 -0
- data/sig/errors.rbs +7 -0
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +168 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e32a2838fd798236f4553029c8a07a17145d9110f154696127d678653aee493d
|
4
|
+
data.tar.gz: c71c9635c3123cc58448e54ae5d06a8d6afac593de99187038e64a9beac28fb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 676f0095768e317e748b2cdab1f54e094a5695f13f93df86b6d039ceb65f93c8d14e84d47214f5bf891b446ceb053c0a98ac679fc0db210bba42a1a463fca4d2
|
7
|
+
data.tar.gz: 49cad56e45ac85e8a66647120fd4d4cb11fc8ae1de944d1155aa05c0db8addf76d93e8b08a8feb72fe7bfe82e7b0e20f6b9a2e8763ecf4908d5f9bf57418e14b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.187.0 (2025-01-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.186.0 (2024-11-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added support for providing high-level overviews of managed nodes and previewing the potential impact of a runbook execution.
|
13
|
+
|
4
14
|
1.185.0 (2024-11-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.187.0
|
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -257,11 +257,34 @@ module Aws::SSM
|
|
257
257
|
# Used when loading credentials from the shared credentials file
|
258
258
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
259
259
|
#
|
260
|
+
# @option options [String] :request_checksum_calculation ("when_supported")
|
261
|
+
# Determines when a checksum will be calculated for request payloads. Values are:
|
262
|
+
#
|
263
|
+
# * `when_supported` - (default) When set, a checksum will be
|
264
|
+
# calculated for all request payloads of operations modeled with the
|
265
|
+
# `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
|
266
|
+
# `requestAlgorithmMember` is modeled.
|
267
|
+
# * `when_required` - When set, a checksum will only be calculated for
|
268
|
+
# request payloads of operations modeled with the `httpChecksum` trait where
|
269
|
+
# `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
|
270
|
+
# is modeled and supplied.
|
271
|
+
#
|
260
272
|
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
261
273
|
# The minimum size in bytes that triggers compression for request
|
262
274
|
# bodies. The value must be non-negative integer value between 0
|
263
275
|
# and 10485780 bytes inclusive.
|
264
276
|
#
|
277
|
+
# @option options [String] :response_checksum_validation ("when_supported")
|
278
|
+
# Determines when checksum validation will be performed on response payloads. Values are:
|
279
|
+
#
|
280
|
+
# * `when_supported` - (default) When set, checksum validation is performed on all
|
281
|
+
# response payloads of operations modeled with the `httpChecksum` trait where
|
282
|
+
# `responseAlgorithms` is modeled, except when no modeled checksum algorithms
|
283
|
+
# are supported.
|
284
|
+
# * `when_required` - When set, checksum validation is not performed on
|
285
|
+
# response payloads of operations unless the checksum algorithm is supported and
|
286
|
+
# the `requestValidationModeMember` member is set to `ENABLED`.
|
287
|
+
#
|
265
288
|
# @option options [Proc] :retry_backoff
|
266
289
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
267
290
|
# This option is only used in the `legacy` retry mode.
|
@@ -2066,6 +2089,10 @@ module Aws::SSM
|
|
2066
2089
|
# @option params [Types::PatchFilterGroup] :global_filters
|
2067
2090
|
# A set of global filters used to include patches in the baseline.
|
2068
2091
|
#
|
2092
|
+
# The `GlobalFilters` parameter can be configured only by using the CLI
|
2093
|
+
# or an Amazon Web Services SDK. It can't be configured from the Patch
|
2094
|
+
# Manager console, and its value isn't displayed in the console.
|
2095
|
+
#
|
2069
2096
|
# @option params [Types::PatchRuleGroup] :approval_rules
|
2070
2097
|
# A set of rules used to include patches in the baseline.
|
2071
2098
|
#
|
@@ -2238,7 +2265,7 @@ module Aws::SSM
|
|
2238
2265
|
# You can configure Systems Manager Inventory to use the
|
2239
2266
|
# `SyncToDestination` type to synchronize Inventory data from multiple
|
2240
2267
|
# Amazon Web Services Regions to a single Amazon Simple Storage Service
|
2241
|
-
# (Amazon S3) bucket. For more information, see [
|
2268
|
+
# (Amazon S3) bucket. For more information, see [Creating a resource
|
2242
2269
|
# data sync for Inventory][1] in the *Amazon Web Services Systems
|
2243
2270
|
# Manager User Guide*.
|
2244
2271
|
#
|
@@ -6277,6 +6304,78 @@ module Aws::SSM
|
|
6277
6304
|
req.send_request(options)
|
6278
6305
|
end
|
6279
6306
|
|
6307
|
+
# Initiates the process of retrieving an existing preview that shows the
|
6308
|
+
# effects that running a specified Automation runbook would have on the
|
6309
|
+
# targeted resources.
|
6310
|
+
#
|
6311
|
+
# @option params [required, String] :execution_preview_id
|
6312
|
+
# The ID of the existing execution preview.
|
6313
|
+
#
|
6314
|
+
# @return [Types::GetExecutionPreviewResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6315
|
+
#
|
6316
|
+
# * {Types::GetExecutionPreviewResponse#execution_preview_id #execution_preview_id} => String
|
6317
|
+
# * {Types::GetExecutionPreviewResponse#ended_at #ended_at} => Time
|
6318
|
+
# * {Types::GetExecutionPreviewResponse#status #status} => String
|
6319
|
+
# * {Types::GetExecutionPreviewResponse#status_message #status_message} => String
|
6320
|
+
# * {Types::GetExecutionPreviewResponse#execution_preview #execution_preview} => Types::ExecutionPreview
|
6321
|
+
#
|
6322
|
+
#
|
6323
|
+
# @example Example: GetExecutionPreview
|
6324
|
+
#
|
6325
|
+
# # This example illustrates one usage of GetExecutionPreview
|
6326
|
+
#
|
6327
|
+
# resp = client.get_execution_preview({
|
6328
|
+
# execution_preview_id: "2f27d6e5-9676-4708-b8bd-aef0ab47bb26",
|
6329
|
+
# })
|
6330
|
+
#
|
6331
|
+
# resp.to_h outputs the following:
|
6332
|
+
# {
|
6333
|
+
# ended_at: Time.parse("2024-11-13T01:50:39.424000+00:00"),
|
6334
|
+
# execution_preview: {
|
6335
|
+
# automation: {
|
6336
|
+
# regions: [
|
6337
|
+
# "us-east-2",
|
6338
|
+
# ],
|
6339
|
+
# step_previews: {
|
6340
|
+
# "Undetermined" => 1,
|
6341
|
+
# },
|
6342
|
+
# total_accounts: 1,
|
6343
|
+
# },
|
6344
|
+
# },
|
6345
|
+
# execution_preview_id: "2f27d6e5-9676-4708-b8bd-aef0ab47bb26",
|
6346
|
+
# status: "Success",
|
6347
|
+
# }
|
6348
|
+
#
|
6349
|
+
# @example Request syntax with placeholder values
|
6350
|
+
#
|
6351
|
+
# resp = client.get_execution_preview({
|
6352
|
+
# execution_preview_id: "ExecutionPreviewId", # required
|
6353
|
+
# })
|
6354
|
+
#
|
6355
|
+
# @example Response structure
|
6356
|
+
#
|
6357
|
+
# resp.execution_preview_id #=> String
|
6358
|
+
# resp.ended_at #=> Time
|
6359
|
+
# resp.status #=> String, one of "Pending", "InProgress", "Success", "Failed"
|
6360
|
+
# resp.status_message #=> String
|
6361
|
+
# resp.execution_preview.automation.step_previews #=> Hash
|
6362
|
+
# resp.execution_preview.automation.step_previews["ImpactType"] #=> Integer
|
6363
|
+
# resp.execution_preview.automation.regions #=> Array
|
6364
|
+
# resp.execution_preview.automation.regions[0] #=> String
|
6365
|
+
# resp.execution_preview.automation.target_previews #=> Array
|
6366
|
+
# resp.execution_preview.automation.target_previews[0].count #=> Integer
|
6367
|
+
# resp.execution_preview.automation.target_previews[0].target_type #=> String
|
6368
|
+
# resp.execution_preview.automation.total_accounts #=> Integer
|
6369
|
+
#
|
6370
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetExecutionPreview AWS API Documentation
|
6371
|
+
#
|
6372
|
+
# @overload get_execution_preview(params = {})
|
6373
|
+
# @param [Hash] params ({})
|
6374
|
+
def get_execution_preview(params = {}, options = {})
|
6375
|
+
req = build_request(:get_execution_preview, params)
|
6376
|
+
req.send_request(options)
|
6377
|
+
end
|
6378
|
+
|
6280
6379
|
# Query inventory information. This includes managed node status, such
|
6281
6380
|
# as `Stopped` or `Terminated`.
|
6282
6381
|
#
|
@@ -7473,16 +7572,20 @@ module Aws::SSM
|
|
7473
7572
|
# The ID of the service setting to get. The setting ID can be one of the
|
7474
7573
|
# following.
|
7475
7574
|
#
|
7476
|
-
# * `/ssm/
|
7575
|
+
# * `/ssm/appmanager/appmanager-enabled`
|
7477
7576
|
#
|
7478
7577
|
# * `/ssm/automation/customer-script-log-destination`
|
7479
7578
|
#
|
7480
7579
|
# * `/ssm/automation/customer-script-log-group-name`
|
7481
7580
|
#
|
7581
|
+
# * /ssm/automation/enable-adaptive-concurrency
|
7582
|
+
#
|
7482
7583
|
# * `/ssm/documents/console/public-sharing-permission`
|
7483
7584
|
#
|
7484
7585
|
# * `/ssm/managed-instance/activation-tier`
|
7485
7586
|
#
|
7587
|
+
# * `/ssm/managed-instance/default-ec2-instance-management-role`
|
7588
|
+
#
|
7486
7589
|
# * `/ssm/opsinsights/opscenter`
|
7487
7590
|
#
|
7488
7591
|
# * `/ssm/parameter-store/default-parameter-tier`
|
@@ -8393,6 +8496,246 @@ module Aws::SSM
|
|
8393
8496
|
req.send_request(options)
|
8394
8497
|
end
|
8395
8498
|
|
8499
|
+
# Takes in filters and returns a list of managed nodes matching the
|
8500
|
+
# filter criteria.
|
8501
|
+
#
|
8502
|
+
# @option params [String] :sync_name
|
8503
|
+
# The name of the resource data sync to retrieve information about.
|
8504
|
+
# Required for cross-account/cross-Region configurations. Optional for
|
8505
|
+
# single account/single-Region configurations.
|
8506
|
+
#
|
8507
|
+
# @option params [Array<Types::NodeFilter>] :filters
|
8508
|
+
# One or more filters. Use a filter to return a more specific list of
|
8509
|
+
# managed nodes.
|
8510
|
+
#
|
8511
|
+
# @option params [String] :next_token
|
8512
|
+
# The token for the next set of items to return. (You received this
|
8513
|
+
# token from a previous call.)
|
8514
|
+
#
|
8515
|
+
# @option params [Integer] :max_results
|
8516
|
+
# The maximum number of items to return for this call. The call also
|
8517
|
+
# returns a token that you can specify in a subsequent call to get the
|
8518
|
+
# next set of results.
|
8519
|
+
#
|
8520
|
+
# @return [Types::ListNodesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8521
|
+
#
|
8522
|
+
# * {Types::ListNodesResult#nodes #nodes} => Array<Types::Node>
|
8523
|
+
# * {Types::ListNodesResult#next_token #next_token} => String
|
8524
|
+
#
|
8525
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
8526
|
+
#
|
8527
|
+
#
|
8528
|
+
# @example Example: ListNodes
|
8529
|
+
#
|
8530
|
+
# # This example illustrates one usage of ListNodes
|
8531
|
+
#
|
8532
|
+
# resp = client.list_nodes({
|
8533
|
+
# filters: [
|
8534
|
+
# {
|
8535
|
+
# key: "Region",
|
8536
|
+
# type: "Equal",
|
8537
|
+
# values: [
|
8538
|
+
# "us-east-2",
|
8539
|
+
# ],
|
8540
|
+
# },
|
8541
|
+
# ],
|
8542
|
+
# max_results: 1,
|
8543
|
+
# sync_name: "AWS-QuickSetup-ManagedNode",
|
8544
|
+
# })
|
8545
|
+
#
|
8546
|
+
# resp.to_h outputs the following:
|
8547
|
+
# {
|
8548
|
+
# next_token: "A9lT8CAxj9aDFRi+MNAoFq08IEXAMPLE",
|
8549
|
+
# nodes: [
|
8550
|
+
# {
|
8551
|
+
# capture_time: Time.parse("2024-11-19T22:01:18"),
|
8552
|
+
# id: "i-02573cafcfEXAMPLE",
|
8553
|
+
# node_type: {
|
8554
|
+
# instance: {
|
8555
|
+
# agent_type: "amazon-ssm-agent",
|
8556
|
+
# agent_version: "3.3.859.0",
|
8557
|
+
# computer_name: "ip-192.0.2.0.ec2.internal",
|
8558
|
+
# instance_status: "Active",
|
8559
|
+
# ip_address: "192.0.2.0",
|
8560
|
+
# managed_status: "Managed",
|
8561
|
+
# platform_name: "Amazon Linux",
|
8562
|
+
# platform_type: "Linux",
|
8563
|
+
# platform_version: "2023",
|
8564
|
+
# resource_type: "EC2Instance",
|
8565
|
+
# },
|
8566
|
+
# },
|
8567
|
+
# owner: {
|
8568
|
+
# account_id: "111122223333",
|
8569
|
+
# organizational_unit_id: "ou-b8dn-sasv9tfp",
|
8570
|
+
# organizational_unit_path: "r-b8dn/ou-b8dn-sasv9tfp",
|
8571
|
+
# },
|
8572
|
+
# region: "us-east-2",
|
8573
|
+
# },
|
8574
|
+
# ],
|
8575
|
+
# }
|
8576
|
+
#
|
8577
|
+
# @example Request syntax with placeholder values
|
8578
|
+
#
|
8579
|
+
# resp = client.list_nodes({
|
8580
|
+
# sync_name: "ResourceDataSyncName",
|
8581
|
+
# filters: [
|
8582
|
+
# {
|
8583
|
+
# key: "AgentType", # required, accepts AgentType, AgentVersion, ComputerName, InstanceId, InstanceStatus, IpAddress, ManagedStatus, PlatformName, PlatformType, PlatformVersion, ResourceType, OrganizationalUnitId, OrganizationalUnitPath, Region, AccountId
|
8584
|
+
# values: ["NodeFilterValue"], # required
|
8585
|
+
# type: "Equal", # accepts Equal, NotEqual, BeginWith
|
8586
|
+
# },
|
8587
|
+
# ],
|
8588
|
+
# next_token: "NextToken",
|
8589
|
+
# max_results: 1,
|
8590
|
+
# })
|
8591
|
+
#
|
8592
|
+
# @example Response structure
|
8593
|
+
#
|
8594
|
+
# resp.nodes #=> Array
|
8595
|
+
# resp.nodes[0].capture_time #=> Time
|
8596
|
+
# resp.nodes[0].id #=> String
|
8597
|
+
# resp.nodes[0].owner.account_id #=> String
|
8598
|
+
# resp.nodes[0].owner.organizational_unit_id #=> String
|
8599
|
+
# resp.nodes[0].owner.organizational_unit_path #=> String
|
8600
|
+
# resp.nodes[0].region #=> String
|
8601
|
+
# resp.nodes[0].node_type.instance.agent_type #=> String
|
8602
|
+
# resp.nodes[0].node_type.instance.agent_version #=> String
|
8603
|
+
# resp.nodes[0].node_type.instance.computer_name #=> String
|
8604
|
+
# resp.nodes[0].node_type.instance.instance_status #=> String
|
8605
|
+
# resp.nodes[0].node_type.instance.ip_address #=> String
|
8606
|
+
# resp.nodes[0].node_type.instance.managed_status #=> String, one of "All", "Managed", "Unmanaged"
|
8607
|
+
# resp.nodes[0].node_type.instance.platform_type #=> String, one of "Windows", "Linux", "MacOS"
|
8608
|
+
# resp.nodes[0].node_type.instance.platform_name #=> String
|
8609
|
+
# resp.nodes[0].node_type.instance.platform_version #=> String
|
8610
|
+
# resp.nodes[0].node_type.instance.resource_type #=> String, one of "ManagedInstance", "EC2Instance"
|
8611
|
+
# resp.next_token #=> String
|
8612
|
+
#
|
8613
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListNodes AWS API Documentation
|
8614
|
+
#
|
8615
|
+
# @overload list_nodes(params = {})
|
8616
|
+
# @param [Hash] params ({})
|
8617
|
+
def list_nodes(params = {}, options = {})
|
8618
|
+
req = build_request(:list_nodes, params)
|
8619
|
+
req.send_request(options)
|
8620
|
+
end
|
8621
|
+
|
8622
|
+
# Generates a summary of managed instance/node metadata based on the
|
8623
|
+
# filters and aggregators you specify. Results are grouped by the input
|
8624
|
+
# aggregator you specify.
|
8625
|
+
#
|
8626
|
+
# @option params [String] :sync_name
|
8627
|
+
# The name of the resource data sync to retrieve information about.
|
8628
|
+
# Required for cross-account/cross-Region configuration. Optional for
|
8629
|
+
# single account/single-Region configurations.
|
8630
|
+
#
|
8631
|
+
# @option params [Array<Types::NodeFilter>] :filters
|
8632
|
+
# One or more filters. Use a filter to generate a summary that matches
|
8633
|
+
# your specified filter criteria.
|
8634
|
+
#
|
8635
|
+
# @option params [required, Array<Types::NodeAggregator>] :aggregators
|
8636
|
+
# Specify one or more aggregators to return a count of managed nodes
|
8637
|
+
# that match that expression. For example, a count of managed nodes by
|
8638
|
+
# operating system.
|
8639
|
+
#
|
8640
|
+
# @option params [String] :next_token
|
8641
|
+
# The token for the next set of items to return. (You received this
|
8642
|
+
# token from a previous call.) The call also returns a token that you
|
8643
|
+
# can specify in a subsequent call to get the next set of results.
|
8644
|
+
#
|
8645
|
+
# @option params [Integer] :max_results
|
8646
|
+
# The maximum number of items to return for this call. The call also
|
8647
|
+
# returns a token that you can specify in a subsequent call to get the
|
8648
|
+
# next set of results.
|
8649
|
+
#
|
8650
|
+
# @return [Types::ListNodesSummaryResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8651
|
+
#
|
8652
|
+
# * {Types::ListNodesSummaryResult#summary #summary} => Array<Hash<String,String>>
|
8653
|
+
# * {Types::ListNodesSummaryResult#next_token #next_token} => String
|
8654
|
+
#
|
8655
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
8656
|
+
#
|
8657
|
+
#
|
8658
|
+
# @example Example: ListNodesSummary
|
8659
|
+
#
|
8660
|
+
# # This example illustrates one usage of ListNodesSummary
|
8661
|
+
#
|
8662
|
+
# resp = client.list_nodes_summary({
|
8663
|
+
# aggregators: [
|
8664
|
+
# {
|
8665
|
+
# aggregator_type: "Count",
|
8666
|
+
# attribute_name: "Region",
|
8667
|
+
# type_name: "Instance",
|
8668
|
+
# },
|
8669
|
+
# ],
|
8670
|
+
# filters: [
|
8671
|
+
# {
|
8672
|
+
# key: "InstanceStatus",
|
8673
|
+
# type: "Equal",
|
8674
|
+
# values: [
|
8675
|
+
# "Active",
|
8676
|
+
# ],
|
8677
|
+
# },
|
8678
|
+
# ],
|
8679
|
+
# max_results: 2,
|
8680
|
+
# next_token: "A9lT8CAxj9aDFRi+MNAoFq08I---EXAMPLE",
|
8681
|
+
# sync_name: "AWS-QuickSetup-ManagedNode",
|
8682
|
+
# })
|
8683
|
+
#
|
8684
|
+
# resp.to_h outputs the following:
|
8685
|
+
# {
|
8686
|
+
# summary: [
|
8687
|
+
# {
|
8688
|
+
# "Count" => "26",
|
8689
|
+
# "Region" => "us-east-1",
|
8690
|
+
# },
|
8691
|
+
# {
|
8692
|
+
# "Count" => "7",
|
8693
|
+
# "Region" => "us-east-2",
|
8694
|
+
# },
|
8695
|
+
# ],
|
8696
|
+
# }
|
8697
|
+
#
|
8698
|
+
# @example Request syntax with placeholder values
|
8699
|
+
#
|
8700
|
+
# resp = client.list_nodes_summary({
|
8701
|
+
# sync_name: "ResourceDataSyncName",
|
8702
|
+
# filters: [
|
8703
|
+
# {
|
8704
|
+
# key: "AgentType", # required, accepts AgentType, AgentVersion, ComputerName, InstanceId, InstanceStatus, IpAddress, ManagedStatus, PlatformName, PlatformType, PlatformVersion, ResourceType, OrganizationalUnitId, OrganizationalUnitPath, Region, AccountId
|
8705
|
+
# values: ["NodeFilterValue"], # required
|
8706
|
+
# type: "Equal", # accepts Equal, NotEqual, BeginWith
|
8707
|
+
# },
|
8708
|
+
# ],
|
8709
|
+
# aggregators: [ # required
|
8710
|
+
# {
|
8711
|
+
# aggregator_type: "Count", # required, accepts Count
|
8712
|
+
# type_name: "Instance", # required, accepts Instance
|
8713
|
+
# attribute_name: "AgentVersion", # required, accepts AgentVersion, PlatformName, PlatformType, PlatformVersion, Region, ResourceType
|
8714
|
+
# aggregators: {
|
8715
|
+
# # recursive NodeAggregatorList
|
8716
|
+
# },
|
8717
|
+
# },
|
8718
|
+
# ],
|
8719
|
+
# next_token: "NextToken",
|
8720
|
+
# max_results: 1,
|
8721
|
+
# })
|
8722
|
+
#
|
8723
|
+
# @example Response structure
|
8724
|
+
#
|
8725
|
+
# resp.summary #=> Array
|
8726
|
+
# resp.summary[0] #=> Hash
|
8727
|
+
# resp.summary[0]["AttributeName"] #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
8728
|
+
# resp.next_token #=> String
|
8729
|
+
#
|
8730
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListNodesSummary AWS API Documentation
|
8731
|
+
#
|
8732
|
+
# @overload list_nodes_summary(params = {})
|
8733
|
+
# @param [Hash] params ({})
|
8734
|
+
def list_nodes_summary(params = {}, options = {})
|
8735
|
+
req = build_request(:list_nodes_summary, params)
|
8736
|
+
req.send_request(options)
|
8737
|
+
end
|
8738
|
+
|
8396
8739
|
# Returns a list of all OpsItem events in the current Amazon Web
|
8397
8740
|
# Services Region and Amazon Web Services account. You can limit the
|
8398
8741
|
# results to events associated with specific OpsItems by specifying a
|
@@ -9916,16 +10259,20 @@ module Aws::SSM
|
|
9916
10259
|
# The Amazon Resource Name (ARN) of the service setting to reset. The
|
9917
10260
|
# setting ID can be one of the following.
|
9918
10261
|
#
|
9919
|
-
# * `/ssm/
|
10262
|
+
# * `/ssm/appmanager/appmanager-enabled`
|
9920
10263
|
#
|
9921
10264
|
# * `/ssm/automation/customer-script-log-destination`
|
9922
10265
|
#
|
9923
10266
|
# * `/ssm/automation/customer-script-log-group-name`
|
9924
10267
|
#
|
10268
|
+
# * /ssm/automation/enable-adaptive-concurrency
|
10269
|
+
#
|
9925
10270
|
# * `/ssm/documents/console/public-sharing-permission`
|
9926
10271
|
#
|
9927
10272
|
# * `/ssm/managed-instance/activation-tier`
|
9928
10273
|
#
|
10274
|
+
# * `/ssm/managed-instance/default-ec2-instance-management-role`
|
10275
|
+
#
|
9929
10276
|
# * `/ssm/opsinsights/opscenter`
|
9930
10277
|
#
|
9931
10278
|
# * `/ssm/parameter-store/default-parameter-tier`
|
@@ -10699,6 +11046,107 @@ module Aws::SSM
|
|
10699
11046
|
req.send_request(options)
|
10700
11047
|
end
|
10701
11048
|
|
11049
|
+
# Initiates the process of creating a preview showing the effects that
|
11050
|
+
# running a specified Automation runbook would have on the targeted
|
11051
|
+
# resources.
|
11052
|
+
#
|
11053
|
+
# @option params [required, String] :document_name
|
11054
|
+
# The name of the Automation runbook to run. The result of the execution
|
11055
|
+
# preview indicates what the impact would be of running this runbook.
|
11056
|
+
#
|
11057
|
+
# @option params [String] :document_version
|
11058
|
+
# The version of the Automation runbook to run. The default value is
|
11059
|
+
# `$DEFAULT`.
|
11060
|
+
#
|
11061
|
+
# @option params [Types::ExecutionInputs] :execution_inputs
|
11062
|
+
# Information about the inputs that can be specified for the preview
|
11063
|
+
# operation.
|
11064
|
+
#
|
11065
|
+
# @return [Types::StartExecutionPreviewResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11066
|
+
#
|
11067
|
+
# * {Types::StartExecutionPreviewResponse#execution_preview_id #execution_preview_id} => String
|
11068
|
+
#
|
11069
|
+
#
|
11070
|
+
# @example Example: StartExecutionPreview
|
11071
|
+
#
|
11072
|
+
# # This example illustrates one usage of StartExecutionPreview
|
11073
|
+
#
|
11074
|
+
# resp = client.start_execution_preview({
|
11075
|
+
# document_name: "AWS-StartEC2Instance",
|
11076
|
+
# })
|
11077
|
+
#
|
11078
|
+
# resp.to_h outputs the following:
|
11079
|
+
# {
|
11080
|
+
# execution_preview_id: "2f27d6e5-9676-4708-b8bd-aef0ab47bb26",
|
11081
|
+
# }
|
11082
|
+
#
|
11083
|
+
# @example Request syntax with placeholder values
|
11084
|
+
#
|
11085
|
+
# resp = client.start_execution_preview({
|
11086
|
+
# document_name: "DocumentName", # required
|
11087
|
+
# document_version: "DocumentVersion",
|
11088
|
+
# execution_inputs: {
|
11089
|
+
# automation: {
|
11090
|
+
# parameters: {
|
11091
|
+
# "AutomationParameterKey" => ["AutomationParameterValue"],
|
11092
|
+
# },
|
11093
|
+
# target_parameter_name: "AutomationParameterKey",
|
11094
|
+
# targets: [
|
11095
|
+
# {
|
11096
|
+
# key: "TargetKey",
|
11097
|
+
# values: ["TargetValue"],
|
11098
|
+
# },
|
11099
|
+
# ],
|
11100
|
+
# target_maps: [
|
11101
|
+
# {
|
11102
|
+
# "TargetMapKey" => ["TargetMapValue"],
|
11103
|
+
# },
|
11104
|
+
# ],
|
11105
|
+
# target_locations: [
|
11106
|
+
# {
|
11107
|
+
# accounts: ["Account"],
|
11108
|
+
# regions: ["Region"],
|
11109
|
+
# target_location_max_concurrency: "MaxConcurrency",
|
11110
|
+
# target_location_max_errors: "MaxErrors",
|
11111
|
+
# execution_role_name: "ExecutionRoleName",
|
11112
|
+
# target_location_alarm_configuration: {
|
11113
|
+
# ignore_poll_alarm_failure: false,
|
11114
|
+
# alarms: [ # required
|
11115
|
+
# {
|
11116
|
+
# name: "AlarmName", # required
|
11117
|
+
# },
|
11118
|
+
# ],
|
11119
|
+
# },
|
11120
|
+
# include_child_organization_units: false,
|
11121
|
+
# exclude_accounts: ["ExcludeAccount"],
|
11122
|
+
# targets: [
|
11123
|
+
# {
|
11124
|
+
# key: "TargetKey",
|
11125
|
+
# values: ["TargetValue"],
|
11126
|
+
# },
|
11127
|
+
# ],
|
11128
|
+
# targets_max_concurrency: "MaxConcurrency",
|
11129
|
+
# targets_max_errors: "MaxErrors",
|
11130
|
+
# },
|
11131
|
+
# ],
|
11132
|
+
# target_locations_url: "TargetLocationsURL",
|
11133
|
+
# },
|
11134
|
+
# },
|
11135
|
+
# })
|
11136
|
+
#
|
11137
|
+
# @example Response structure
|
11138
|
+
#
|
11139
|
+
# resp.execution_preview_id #=> String
|
11140
|
+
#
|
11141
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartExecutionPreview AWS API Documentation
|
11142
|
+
#
|
11143
|
+
# @overload start_execution_preview(params = {})
|
11144
|
+
# @param [Hash] params ({})
|
11145
|
+
def start_execution_preview(params = {}, options = {})
|
11146
|
+
req = build_request(:start_execution_preview, params)
|
11147
|
+
req.send_request(options)
|
11148
|
+
end
|
11149
|
+
|
10702
11150
|
# Initiates a connection to a target (for example, a managed node) for a
|
10703
11151
|
# Session Manager session. Returns a URL and token that can be used to
|
10704
11152
|
# open a WebSocket connection for sending input and receiving outputs.
|
@@ -12454,6 +12902,10 @@ module Aws::SSM
|
|
12454
12902
|
# @option params [Types::PatchFilterGroup] :global_filters
|
12455
12903
|
# A set of global filters used to include patches in the baseline.
|
12456
12904
|
#
|
12905
|
+
# The `GlobalFilters` parameter can be configured only by using the CLI
|
12906
|
+
# or an Amazon Web Services SDK. It can't be configured from the Patch
|
12907
|
+
# Manager console, and its value isn't displayed in the console.
|
12908
|
+
#
|
12457
12909
|
# @option params [Types::PatchRuleGroup] :approval_rules
|
12458
12910
|
# A set of rules used to include patches in the baseline.
|
12459
12911
|
#
|
@@ -12716,16 +13168,20 @@ module Aws::SSM
|
|
12716
13168
|
# `arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled`.
|
12717
13169
|
# The setting ID can be one of the following.
|
12718
13170
|
#
|
12719
|
-
# * `/ssm/
|
13171
|
+
# * `/ssm/appmanager/appmanager-enabled`
|
12720
13172
|
#
|
12721
13173
|
# * `/ssm/automation/customer-script-log-destination`
|
12722
13174
|
#
|
12723
13175
|
# * `/ssm/automation/customer-script-log-group-name`
|
12724
13176
|
#
|
13177
|
+
# * /ssm/automation/enable-adaptive-concurrency
|
13178
|
+
#
|
12725
13179
|
# * `/ssm/documents/console/public-sharing-permission`
|
12726
13180
|
#
|
12727
13181
|
# * `/ssm/managed-instance/activation-tier`
|
12728
13182
|
#
|
13183
|
+
# * `/ssm/managed-instance/default-ec2-instance-management-role`
|
13184
|
+
#
|
12729
13185
|
# * `/ssm/opsinsights/opscenter`
|
12730
13186
|
#
|
12731
13187
|
# * `/ssm/parameter-store/default-parameter-tier`
|
@@ -12744,8 +13200,7 @@ module Aws::SSM
|
|
12744
13200
|
# The new value to specify for the service setting. The following list
|
12745
13201
|
# specifies the available values for each setting.
|
12746
13202
|
#
|
12747
|
-
# * For `/ssm/
|
12748
|
-
# enter the name of an IAM role.
|
13203
|
+
# * For `/ssm/appmanager/appmanager-enabled`, enter `True` or `False`.
|
12749
13204
|
#
|
12750
13205
|
# * For `/ssm/automation/customer-script-log-destination`, enter
|
12751
13206
|
# `CloudWatch`.
|
@@ -12759,6 +13214,9 @@ module Aws::SSM
|
|
12759
13214
|
# * For `/ssm/managed-instance/activation-tier`, enter `standard` or
|
12760
13215
|
# `advanced`.
|
12761
13216
|
#
|
13217
|
+
# * For `/ssm/managed-instance/default-ec2-instance-management-role`,
|
13218
|
+
# enter the name of an IAM role.
|
13219
|
+
#
|
12762
13220
|
# * For `/ssm/opsinsights/opscenter`, enter `Enabled` or `Disabled`.
|
12763
13221
|
#
|
12764
13222
|
# * For `/ssm/parameter-store/default-parameter-tier`, enter `Standard`,
|
@@ -12803,7 +13261,7 @@ module Aws::SSM
|
|
12803
13261
|
tracer: tracer
|
12804
13262
|
)
|
12805
13263
|
context[:gem_name] = 'aws-sdk-ssm'
|
12806
|
-
context[:gem_version] = '1.
|
13264
|
+
context[:gem_version] = '1.187.0'
|
12807
13265
|
Seahorse::Client::Request.new(handlers, context)
|
12808
13266
|
end
|
12809
13267
|
|