aws-sdk-ssm 1.158.0 → 1.160.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 +91 -18
- data/lib/aws-sdk-ssm/client_api.rb +34 -0
- data/lib/aws-sdk-ssm/endpoint_provider.rb +2 -2
- data/lib/aws-sdk-ssm/endpoints.rb +14 -0
- data/lib/aws-sdk-ssm/errors.rb +16 -0
- data/lib/aws-sdk-ssm/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-ssm/types.rb +99 -17
- data/lib/aws-sdk-ssm.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 453aee6eecb9d878542af8adfdcc228999a2dbf421ebcebeaa395f11cadc88b3
|
4
|
+
data.tar.gz: 0eebb7f8dc07bf55e1bf517bbbd69d0d9d3cfc9a4df2251989a9e1259c78b457
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba681ac577a3fad74f208e5c35698e59a7763a5b2a338ab727cfb70239c467e9d6710d4b93eccd3380307582e6db24b338edda6ba3457be6af56df0268c412ee
|
7
|
+
data.tar.gz: 8adbf14ec6a2b21b6ed5626f426f0422c28ee4ff820c3c0e19ad9e2d6276f53e0b106b5fcc2ae78740852f1027633fb9c10a370b59a75d35c879871317067145
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.160.0 (2023-11-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release introduces the ability to filter automation execution steps which have parent steps. In addition, runbook variable information is returned by GetAutomationExecution and parent step information is returned by the DescribeAutomationStepExecutions API.
|
8
|
+
|
9
|
+
1.159.0 (2023-10-20)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release introduces a new API: DeleteOpsItem. This allows deletion of an OpsItem.
|
13
|
+
|
4
14
|
1.158.0 (2023-09-27)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.160.0
|
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -2401,6 +2401,55 @@ module Aws::SSM
|
|
2401
2401
|
req.send_request(options)
|
2402
2402
|
end
|
2403
2403
|
|
2404
|
+
# Delete an OpsItem. You must have permission in Identity and Access
|
2405
|
+
# Management (IAM) to delete an OpsItem.
|
2406
|
+
#
|
2407
|
+
# Note the following important information about this operation.
|
2408
|
+
#
|
2409
|
+
# * Deleting an OpsItem is irreversible. You can't restore a deleted
|
2410
|
+
# OpsItem.
|
2411
|
+
#
|
2412
|
+
# * This operation uses an *eventual consistency model*, which means the
|
2413
|
+
# system can take a few minutes to complete this operation. If you
|
2414
|
+
# delete an OpsItem and immediately call, for example, GetOpsItem, the
|
2415
|
+
# deleted OpsItem might still appear in the response.
|
2416
|
+
#
|
2417
|
+
# * This operation is idempotent. The system doesn't throw an exception
|
2418
|
+
# if you repeatedly call this operation for the same OpsItem. If the
|
2419
|
+
# first call is successful, all additional calls return the same
|
2420
|
+
# successful response as the first call.
|
2421
|
+
#
|
2422
|
+
# * This operation doesn't support cross-account calls. A delegated
|
2423
|
+
# administrator or management account can't delete OpsItems in other
|
2424
|
+
# accounts, even if OpsCenter has been set up for cross-account
|
2425
|
+
# administration. For more information about cross-account
|
2426
|
+
# administration, see [Setting up OpsCenter to centrally manage
|
2427
|
+
# OpsItems across accounts][1] in the *Systems Manager User Guide*.
|
2428
|
+
#
|
2429
|
+
#
|
2430
|
+
#
|
2431
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-setting-up-cross-account.html
|
2432
|
+
#
|
2433
|
+
# @option params [required, String] :ops_item_id
|
2434
|
+
# The ID of the OpsItem that you want to delete.
|
2435
|
+
#
|
2436
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2437
|
+
#
|
2438
|
+
# @example Request syntax with placeholder values
|
2439
|
+
#
|
2440
|
+
# resp = client.delete_ops_item({
|
2441
|
+
# ops_item_id: "OpsItemId", # required
|
2442
|
+
# })
|
2443
|
+
#
|
2444
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteOpsItem AWS API Documentation
|
2445
|
+
#
|
2446
|
+
# @overload delete_ops_item(params = {})
|
2447
|
+
# @param [Hash] params ({})
|
2448
|
+
def delete_ops_item(params = {}, options = {})
|
2449
|
+
req = build_request(:delete_ops_item, params)
|
2450
|
+
req.send_request(options)
|
2451
|
+
end
|
2452
|
+
|
2404
2453
|
# Delete OpsMetadata related to an application.
|
2405
2454
|
#
|
2406
2455
|
# @option params [required, String] :ops_metadata_arn
|
@@ -3067,7 +3116,7 @@ module Aws::SSM
|
|
3067
3116
|
# resp.automation_execution_metadata_list[0].automation_execution_id #=> String
|
3068
3117
|
# resp.automation_execution_metadata_list[0].document_name #=> String
|
3069
3118
|
# resp.automation_execution_metadata_list[0].document_version #=> String
|
3070
|
-
# resp.automation_execution_metadata_list[0].automation_execution_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelling", "Cancelled", "Failed", "PendingApproval", "Approved", "Rejected", "Scheduled", "RunbookInProgress", "PendingChangeCalendarOverride", "ChangeCalendarOverrideApproved", "ChangeCalendarOverrideRejected", "CompletedWithSuccess", "CompletedWithFailure"
|
3119
|
+
# resp.automation_execution_metadata_list[0].automation_execution_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelling", "Cancelled", "Failed", "PendingApproval", "Approved", "Rejected", "Scheduled", "RunbookInProgress", "PendingChangeCalendarOverride", "ChangeCalendarOverrideApproved", "ChangeCalendarOverrideRejected", "CompletedWithSuccess", "CompletedWithFailure", "Exited"
|
3071
3120
|
# resp.automation_execution_metadata_list[0].execution_start_time #=> Time
|
3072
3121
|
# resp.automation_execution_metadata_list[0].execution_end_time #=> Time
|
3073
3122
|
# resp.automation_execution_metadata_list[0].executed_by #=> String
|
@@ -3183,7 +3232,7 @@ module Aws::SSM
|
|
3183
3232
|
# automation_execution_id: "AutomationExecutionId", # required
|
3184
3233
|
# filters: [
|
3185
3234
|
# {
|
3186
|
-
# key: "StartTimeBefore", # required, accepts StartTimeBefore, StartTimeAfter, StepExecutionStatus, StepExecutionId, StepName, Action
|
3235
|
+
# key: "StartTimeBefore", # required, accepts StartTimeBefore, StartTimeAfter, StepExecutionStatus, StepExecutionId, StepName, Action, ParentStepExecutionId, ParentStepIteration, ParentStepIteratorValue
|
3187
3236
|
# values: ["StepExecutionFilterValue"], # required
|
3188
3237
|
# },
|
3189
3238
|
# ],
|
@@ -3202,7 +3251,7 @@ module Aws::SSM
|
|
3202
3251
|
# resp.step_executions[0].max_attempts #=> Integer
|
3203
3252
|
# resp.step_executions[0].execution_start_time #=> Time
|
3204
3253
|
# resp.step_executions[0].execution_end_time #=> Time
|
3205
|
-
# resp.step_executions[0].step_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelling", "Cancelled", "Failed", "PendingApproval", "Approved", "Rejected", "Scheduled", "RunbookInProgress", "PendingChangeCalendarOverride", "ChangeCalendarOverrideApproved", "ChangeCalendarOverrideRejected", "CompletedWithSuccess", "CompletedWithFailure"
|
3254
|
+
# resp.step_executions[0].step_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelling", "Cancelled", "Failed", "PendingApproval", "Approved", "Rejected", "Scheduled", "RunbookInProgress", "PendingChangeCalendarOverride", "ChangeCalendarOverrideApproved", "ChangeCalendarOverrideRejected", "CompletedWithSuccess", "CompletedWithFailure", "Exited"
|
3206
3255
|
# resp.step_executions[0].response_code #=> String
|
3207
3256
|
# resp.step_executions[0].inputs #=> Hash
|
3208
3257
|
# resp.step_executions[0].inputs["String"] #=> String
|
@@ -3242,6 +3291,11 @@ module Aws::SSM
|
|
3242
3291
|
# resp.step_executions[0].triggered_alarms #=> Array
|
3243
3292
|
# resp.step_executions[0].triggered_alarms[0].name #=> String
|
3244
3293
|
# resp.step_executions[0].triggered_alarms[0].state #=> String, one of "UNKNOWN", "ALARM"
|
3294
|
+
# resp.step_executions[0].parent_step_details.step_execution_id #=> String
|
3295
|
+
# resp.step_executions[0].parent_step_details.step_name #=> String
|
3296
|
+
# resp.step_executions[0].parent_step_details.action #=> String
|
3297
|
+
# resp.step_executions[0].parent_step_details.iteration #=> Integer
|
3298
|
+
# resp.step_executions[0].parent_step_details.iterator_value #=> String
|
3245
3299
|
# resp.next_token #=> String
|
3246
3300
|
#
|
3247
3301
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationStepExecutions AWS API Documentation
|
@@ -4012,6 +4066,14 @@ module Aws::SSM
|
|
4012
4066
|
# Sample values: `Installed` \| `InstalledOther` \|
|
4013
4067
|
# `InstalledPendingReboot`
|
4014
4068
|
#
|
4069
|
+
# For lists of all `State` values, see [Understanding patch compliance
|
4070
|
+
# state values][1] in the *Amazon Web Services Systems Manager User
|
4071
|
+
# Guide*.
|
4072
|
+
#
|
4073
|
+
#
|
4074
|
+
#
|
4075
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-compliance-states.html
|
4076
|
+
#
|
4015
4077
|
# @option params [String] :next_token
|
4016
4078
|
# The token for the next set of items to return. (You received this
|
4017
4079
|
# token from a previous call.)
|
@@ -5306,7 +5368,7 @@ module Aws::SSM
|
|
5306
5368
|
# resp.automation_execution.document_version #=> String
|
5307
5369
|
# resp.automation_execution.execution_start_time #=> Time
|
5308
5370
|
# resp.automation_execution.execution_end_time #=> Time
|
5309
|
-
# resp.automation_execution.automation_execution_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelling", "Cancelled", "Failed", "PendingApproval", "Approved", "Rejected", "Scheduled", "RunbookInProgress", "PendingChangeCalendarOverride", "ChangeCalendarOverrideApproved", "ChangeCalendarOverrideRejected", "CompletedWithSuccess", "CompletedWithFailure"
|
5371
|
+
# resp.automation_execution.automation_execution_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelling", "Cancelled", "Failed", "PendingApproval", "Approved", "Rejected", "Scheduled", "RunbookInProgress", "PendingChangeCalendarOverride", "ChangeCalendarOverrideApproved", "ChangeCalendarOverrideRejected", "CompletedWithSuccess", "CompletedWithFailure", "Exited"
|
5310
5372
|
# resp.automation_execution.step_executions #=> Array
|
5311
5373
|
# resp.automation_execution.step_executions[0].step_name #=> String
|
5312
5374
|
# resp.automation_execution.step_executions[0].action #=> String
|
@@ -5315,7 +5377,7 @@ module Aws::SSM
|
|
5315
5377
|
# resp.automation_execution.step_executions[0].max_attempts #=> Integer
|
5316
5378
|
# resp.automation_execution.step_executions[0].execution_start_time #=> Time
|
5317
5379
|
# resp.automation_execution.step_executions[0].execution_end_time #=> Time
|
5318
|
-
# resp.automation_execution.step_executions[0].step_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelling", "Cancelled", "Failed", "PendingApproval", "Approved", "Rejected", "Scheduled", "RunbookInProgress", "PendingChangeCalendarOverride", "ChangeCalendarOverrideApproved", "ChangeCalendarOverrideRejected", "CompletedWithSuccess", "CompletedWithFailure"
|
5380
|
+
# resp.automation_execution.step_executions[0].step_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelling", "Cancelled", "Failed", "PendingApproval", "Approved", "Rejected", "Scheduled", "RunbookInProgress", "PendingChangeCalendarOverride", "ChangeCalendarOverrideApproved", "ChangeCalendarOverrideRejected", "CompletedWithSuccess", "CompletedWithFailure", "Exited"
|
5319
5381
|
# resp.automation_execution.step_executions[0].response_code #=> String
|
5320
5382
|
# resp.automation_execution.step_executions[0].inputs #=> Hash
|
5321
5383
|
# resp.automation_execution.step_executions[0].inputs["String"] #=> String
|
@@ -5355,6 +5417,11 @@ module Aws::SSM
|
|
5355
5417
|
# resp.automation_execution.step_executions[0].triggered_alarms #=> Array
|
5356
5418
|
# resp.automation_execution.step_executions[0].triggered_alarms[0].name #=> String
|
5357
5419
|
# resp.automation_execution.step_executions[0].triggered_alarms[0].state #=> String, one of "UNKNOWN", "ALARM"
|
5420
|
+
# resp.automation_execution.step_executions[0].parent_step_details.step_execution_id #=> String
|
5421
|
+
# resp.automation_execution.step_executions[0].parent_step_details.step_name #=> String
|
5422
|
+
# resp.automation_execution.step_executions[0].parent_step_details.action #=> String
|
5423
|
+
# resp.automation_execution.step_executions[0].parent_step_details.iteration #=> Integer
|
5424
|
+
# resp.automation_execution.step_executions[0].parent_step_details.iterator_value #=> String
|
5358
5425
|
# resp.automation_execution.step_executions_truncated #=> Boolean
|
5359
5426
|
# resp.automation_execution.parameters #=> Hash
|
5360
5427
|
# resp.automation_execution.parameters["AutomationParameterKey"] #=> Array
|
@@ -5438,6 +5505,9 @@ module Aws::SSM
|
|
5438
5505
|
# resp.automation_execution.ops_item_id #=> String
|
5439
5506
|
# resp.automation_execution.association_id #=> String
|
5440
5507
|
# resp.automation_execution.change_request_name #=> String
|
5508
|
+
# resp.automation_execution.variables #=> Hash
|
5509
|
+
# resp.automation_execution.variables["AutomationParameterKey"] #=> Array
|
5510
|
+
# resp.automation_execution.variables["AutomationParameterKey"][0] #=> String
|
5441
5511
|
#
|
5442
5512
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetAutomationExecution AWS API Documentation
|
5443
5513
|
#
|
@@ -12133,25 +12203,28 @@ module Aws::SSM
|
|
12133
12203
|
# The new value to specify for the service setting. The following list
|
12134
12204
|
# specifies the available values for each setting.
|
12135
12205
|
#
|
12136
|
-
# * `/ssm/managed-instance/default-ec2-instance-management-role
|
12137
|
-
# name of an IAM role
|
12206
|
+
# * For `/ssm/managed-instance/default-ec2-instance-management-role`,
|
12207
|
+
# enter the name of an IAM role.
|
12138
12208
|
#
|
12139
|
-
# * `/ssm/automation/customer-script-log-destination
|
12209
|
+
# * For `/ssm/automation/customer-script-log-destination`, enter
|
12210
|
+
# `CloudWatch`.
|
12140
12211
|
#
|
12141
|
-
# * `/ssm/automation/customer-script-log-group-name
|
12142
|
-
# Amazon CloudWatch Logs log group
|
12212
|
+
# * For `/ssm/automation/customer-script-log-group-name`, enter the name
|
12213
|
+
# of an Amazon CloudWatch Logs log group.
|
12143
12214
|
#
|
12144
|
-
# * `/ssm/documents/console/public-sharing-permission
|
12145
|
-
# `Disable
|
12215
|
+
# * For `/ssm/documents/console/public-sharing-permission`, enter
|
12216
|
+
# `Enable` or `Disable`.
|
12146
12217
|
#
|
12147
|
-
# * `/ssm/managed-instance/activation-tier
|
12218
|
+
# * For `/ssm/managed-instance/activation-tier`, enter `standard` or
|
12219
|
+
# `advanced`.
|
12148
12220
|
#
|
12149
|
-
# * `/ssm/opsinsights/opscenter
|
12221
|
+
# * For `/ssm/opsinsights/opscenter`, enter `Enabled` or `Disabled`.
|
12150
12222
|
#
|
12151
|
-
# * `/ssm/parameter-store/default-parameter-tier
|
12152
|
-
# `Advanced`, `Intelligent-Tiering`
|
12223
|
+
# * For `/ssm/parameter-store/default-parameter-tier`, enter `Standard`,
|
12224
|
+
# `Advanced`, or `Intelligent-Tiering`
|
12153
12225
|
#
|
12154
|
-
# * `/ssm/parameter-store/high-throughput-enabled
|
12226
|
+
# * For `/ssm/parameter-store/high-throughput-enabled`, enter `true` or
|
12227
|
+
# `false`.
|
12155
12228
|
#
|
12156
12229
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
12157
12230
|
#
|
@@ -12184,7 +12257,7 @@ module Aws::SSM
|
|
12184
12257
|
params: params,
|
12185
12258
|
config: config)
|
12186
12259
|
context[:gem_name] = 'aws-sdk-ssm'
|
12187
|
-
context[:gem_version] = '1.
|
12260
|
+
context[:gem_version] = '1.160.0'
|
12188
12261
|
Seahorse::Client::Request.new(handlers, context)
|
12189
12262
|
end
|
12190
12263
|
|
@@ -231,6 +231,8 @@ module Aws::SSM
|
|
231
231
|
DeleteInventoryResult = Shapes::StructureShape.new(name: 'DeleteInventoryResult')
|
232
232
|
DeleteMaintenanceWindowRequest = Shapes::StructureShape.new(name: 'DeleteMaintenanceWindowRequest')
|
233
233
|
DeleteMaintenanceWindowResult = Shapes::StructureShape.new(name: 'DeleteMaintenanceWindowResult')
|
234
|
+
DeleteOpsItemRequest = Shapes::StructureShape.new(name: 'DeleteOpsItemRequest')
|
235
|
+
DeleteOpsItemResponse = Shapes::StructureShape.new(name: 'DeleteOpsItemResponse')
|
234
236
|
DeleteOpsMetadataRequest = Shapes::StructureShape.new(name: 'DeleteOpsMetadataRequest')
|
235
237
|
DeleteOpsMetadataResult = Shapes::StructureShape.new(name: 'DeleteOpsMetadataResult')
|
236
238
|
DeleteParameterRequest = Shapes::StructureShape.new(name: 'DeleteParameterRequest')
|
@@ -752,6 +754,7 @@ module Aws::SSM
|
|
752
754
|
OpsItemAlreadyExistsException = Shapes::StructureShape.new(name: 'OpsItemAlreadyExistsException')
|
753
755
|
OpsItemArn = Shapes::StringShape.new(name: 'OpsItemArn')
|
754
756
|
OpsItemCategory = Shapes::StringShape.new(name: 'OpsItemCategory')
|
757
|
+
OpsItemConflictException = Shapes::StructureShape.new(name: 'OpsItemConflictException')
|
755
758
|
OpsItemDataKey = Shapes::StringShape.new(name: 'OpsItemDataKey')
|
756
759
|
OpsItemDataType = Shapes::StringShape.new(name: 'OpsItemDataType')
|
757
760
|
OpsItemDataValue = Shapes::StructureShape.new(name: 'OpsItemDataValue')
|
@@ -870,6 +873,7 @@ module Aws::SSM
|
|
870
873
|
ParametersFilterList = Shapes::ListShape.new(name: 'ParametersFilterList')
|
871
874
|
ParametersFilterValue = Shapes::StringShape.new(name: 'ParametersFilterValue')
|
872
875
|
ParametersFilterValueList = Shapes::ListShape.new(name: 'ParametersFilterValueList')
|
876
|
+
ParentStepDetails = Shapes::StructureShape.new(name: 'ParentStepDetails')
|
873
877
|
Patch = Shapes::StructureShape.new(name: 'Patch')
|
874
878
|
PatchAction = Shapes::StringShape.new(name: 'PatchAction')
|
875
879
|
PatchAdvisoryId = Shapes::StringShape.new(name: 'PatchAdvisoryId')
|
@@ -1472,6 +1476,7 @@ module Aws::SSM
|
|
1472
1476
|
AutomationExecution.add_member(:ops_item_id, Shapes::ShapeRef.new(shape: String, location_name: "OpsItemId"))
|
1473
1477
|
AutomationExecution.add_member(:association_id, Shapes::ShapeRef.new(shape: String, location_name: "AssociationId"))
|
1474
1478
|
AutomationExecution.add_member(:change_request_name, Shapes::ShapeRef.new(shape: ChangeRequestName, location_name: "ChangeRequestName"))
|
1479
|
+
AutomationExecution.add_member(:variables, Shapes::ShapeRef.new(shape: AutomationParameterMap, location_name: "Variables"))
|
1475
1480
|
AutomationExecution.struct_class = Types::AutomationExecution
|
1476
1481
|
|
1477
1482
|
AutomationExecutionFilter.add_member(:key, Shapes::ShapeRef.new(shape: AutomationExecutionFilterKey, required: true, location_name: "Key"))
|
@@ -1888,6 +1893,11 @@ module Aws::SSM
|
|
1888
1893
|
DeleteMaintenanceWindowResult.add_member(:window_id, Shapes::ShapeRef.new(shape: MaintenanceWindowId, location_name: "WindowId"))
|
1889
1894
|
DeleteMaintenanceWindowResult.struct_class = Types::DeleteMaintenanceWindowResult
|
1890
1895
|
|
1896
|
+
DeleteOpsItemRequest.add_member(:ops_item_id, Shapes::ShapeRef.new(shape: OpsItemId, required: true, location_name: "OpsItemId"))
|
1897
|
+
DeleteOpsItemRequest.struct_class = Types::DeleteOpsItemRequest
|
1898
|
+
|
1899
|
+
DeleteOpsItemResponse.struct_class = Types::DeleteOpsItemResponse
|
1900
|
+
|
1891
1901
|
DeleteOpsMetadataRequest.add_member(:ops_metadata_arn, Shapes::ShapeRef.new(shape: OpsMetadataArn, required: true, location_name: "OpsMetadataArn"))
|
1892
1902
|
DeleteOpsMetadataRequest.struct_class = Types::DeleteOpsMetadataRequest
|
1893
1903
|
|
@@ -3569,6 +3579,9 @@ module Aws::SSM
|
|
3569
3579
|
OpsItemAlreadyExistsException.add_member(:ops_item_id, Shapes::ShapeRef.new(shape: String, location_name: "OpsItemId"))
|
3570
3580
|
OpsItemAlreadyExistsException.struct_class = Types::OpsItemAlreadyExistsException
|
3571
3581
|
|
3582
|
+
OpsItemConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
3583
|
+
OpsItemConflictException.struct_class = Types::OpsItemConflictException
|
3584
|
+
|
3572
3585
|
OpsItemDataValue.add_member(:value, Shapes::ShapeRef.new(shape: OpsItemDataValueString, location_name: "Value"))
|
3573
3586
|
OpsItemDataValue.add_member(:type, Shapes::ShapeRef.new(shape: OpsItemDataType, location_name: "Type"))
|
3574
3587
|
OpsItemDataValue.struct_class = Types::OpsItemDataValue
|
@@ -3824,6 +3837,13 @@ module Aws::SSM
|
|
3824
3837
|
|
3825
3838
|
ParametersFilterValueList.member = Shapes::ShapeRef.new(shape: ParametersFilterValue)
|
3826
3839
|
|
3840
|
+
ParentStepDetails.add_member(:step_execution_id, Shapes::ShapeRef.new(shape: String, location_name: "StepExecutionId"))
|
3841
|
+
ParentStepDetails.add_member(:step_name, Shapes::ShapeRef.new(shape: String, location_name: "StepName"))
|
3842
|
+
ParentStepDetails.add_member(:action, Shapes::ShapeRef.new(shape: AutomationActionName, location_name: "Action"))
|
3843
|
+
ParentStepDetails.add_member(:iteration, Shapes::ShapeRef.new(shape: Integer, location_name: "Iteration", metadata: {"box"=>true}))
|
3844
|
+
ParentStepDetails.add_member(:iterator_value, Shapes::ShapeRef.new(shape: String, location_name: "IteratorValue"))
|
3845
|
+
ParentStepDetails.struct_class = Types::ParentStepDetails
|
3846
|
+
|
3827
3847
|
Patch.add_member(:id, Shapes::ShapeRef.new(shape: PatchId, location_name: "Id"))
|
3828
3848
|
Patch.add_member(:release_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "ReleaseDate"))
|
3829
3849
|
Patch.add_member(:title, Shapes::ShapeRef.new(shape: PatchTitle, location_name: "Title"))
|
@@ -4373,6 +4393,7 @@ module Aws::SSM
|
|
4373
4393
|
StepExecution.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, location_name: "Targets", metadata: {"box"=>true}))
|
4374
4394
|
StepExecution.add_member(:target_location, Shapes::ShapeRef.new(shape: TargetLocation, location_name: "TargetLocation", metadata: {"box"=>true}))
|
4375
4395
|
StepExecution.add_member(:triggered_alarms, Shapes::ShapeRef.new(shape: AlarmStateInformationList, location_name: "TriggeredAlarms"))
|
4396
|
+
StepExecution.add_member(:parent_step_details, Shapes::ShapeRef.new(shape: ParentStepDetails, location_name: "ParentStepDetails"))
|
4376
4397
|
StepExecution.struct_class = Types::StepExecution
|
4377
4398
|
|
4378
4399
|
StepExecutionFilter.add_member(:key, Shapes::ShapeRef.new(shape: StepExecutionFilterKey, required: true, location_name: "Key"))
|
@@ -4743,6 +4764,7 @@ module Aws::SSM
|
|
4743
4764
|
o.errors << Shapes::ShapeRef.new(shape: OpsItemLimitExceededException)
|
4744
4765
|
o.errors << Shapes::ShapeRef.new(shape: OpsItemInvalidParameterException)
|
4745
4766
|
o.errors << Shapes::ShapeRef.new(shape: OpsItemRelatedItemAlreadyExistsException)
|
4767
|
+
o.errors << Shapes::ShapeRef.new(shape: OpsItemConflictException)
|
4746
4768
|
end)
|
4747
4769
|
|
4748
4770
|
api.add_operation(:cancel_command, Seahorse::Model::Operation.new.tap do |o|
|
@@ -4951,6 +4973,16 @@ module Aws::SSM
|
|
4951
4973
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
4952
4974
|
end)
|
4953
4975
|
|
4976
|
+
api.add_operation(:delete_ops_item, Seahorse::Model::Operation.new.tap do |o|
|
4977
|
+
o.name = "DeleteOpsItem"
|
4978
|
+
o.http_method = "POST"
|
4979
|
+
o.http_request_uri = "/"
|
4980
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteOpsItemRequest)
|
4981
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteOpsItemResponse)
|
4982
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
4983
|
+
o.errors << Shapes::ShapeRef.new(shape: OpsItemInvalidParameterException)
|
4984
|
+
end)
|
4985
|
+
|
4954
4986
|
api.add_operation(:delete_ops_metadata, Seahorse::Model::Operation.new.tap do |o|
|
4955
4987
|
o.name = "DeleteOpsMetadata"
|
4956
4988
|
o.http_method = "POST"
|
@@ -5575,6 +5607,7 @@ module Aws::SSM
|
|
5575
5607
|
o.errors << Shapes::ShapeRef.new(shape: OpsItemRelatedItemAssociationNotFoundException)
|
5576
5608
|
o.errors << Shapes::ShapeRef.new(shape: OpsItemNotFoundException)
|
5577
5609
|
o.errors << Shapes::ShapeRef.new(shape: OpsItemInvalidParameterException)
|
5610
|
+
o.errors << Shapes::ShapeRef.new(shape: OpsItemConflictException)
|
5578
5611
|
end)
|
5579
5612
|
|
5580
5613
|
api.add_operation(:get_automation_execution, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6570,6 +6603,7 @@ module Aws::SSM
|
|
6570
6603
|
o.errors << Shapes::ShapeRef.new(shape: OpsItemLimitExceededException)
|
6571
6604
|
o.errors << Shapes::ShapeRef.new(shape: OpsItemInvalidParameterException)
|
6572
6605
|
o.errors << Shapes::ShapeRef.new(shape: OpsItemAccessDeniedException)
|
6606
|
+
o.errors << Shapes::ShapeRef.new(shape: OpsItemConflictException)
|
6573
6607
|
end)
|
6574
6608
|
|
6575
6609
|
api.add_operation(:update_ops_metadata, Seahorse::Model::Operation.new.tap do |o|
|
@@ -32,8 +32,8 @@ module Aws::SSM
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
36
|
-
if Aws::Endpoints::Matchers.string_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
|
37
37
|
return Aws::Endpoints::Endpoint.new(url: "https://ssm.#{region}.amazonaws.com", headers: {}, properties: {})
|
38
38
|
end
|
39
39
|
return Aws::Endpoints::Endpoint.new(url: "https://ssm-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
@@ -264,6 +264,20 @@ module Aws::SSM
|
|
264
264
|
end
|
265
265
|
end
|
266
266
|
|
267
|
+
class DeleteOpsItem
|
268
|
+
def self.build(context)
|
269
|
+
unless context.config.regional_endpoint
|
270
|
+
endpoint = context.config.endpoint.to_s
|
271
|
+
end
|
272
|
+
Aws::SSM::EndpointParameters.new(
|
273
|
+
region: context.config.region,
|
274
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
275
|
+
use_fips: context.config.use_fips_endpoint,
|
276
|
+
endpoint: endpoint,
|
277
|
+
)
|
278
|
+
end
|
279
|
+
end
|
280
|
+
|
267
281
|
class DeleteOpsMetadata
|
268
282
|
def self.build(context)
|
269
283
|
unless context.config.regional_endpoint
|
data/lib/aws-sdk-ssm/errors.rb
CHANGED
@@ -111,6 +111,7 @@ module Aws::SSM
|
|
111
111
|
# * {MaxDocumentSizeExceeded}
|
112
112
|
# * {OpsItemAccessDeniedException}
|
113
113
|
# * {OpsItemAlreadyExistsException}
|
114
|
+
# * {OpsItemConflictException}
|
114
115
|
# * {OpsItemInvalidParameterException}
|
115
116
|
# * {OpsItemLimitExceededException}
|
116
117
|
# * {OpsItemNotFoundException}
|
@@ -1382,6 +1383,21 @@ module Aws::SSM
|
|
1382
1383
|
end
|
1383
1384
|
end
|
1384
1385
|
|
1386
|
+
class OpsItemConflictException < ServiceError
|
1387
|
+
|
1388
|
+
# @param [Seahorse::Client::RequestContext] context
|
1389
|
+
# @param [String] message
|
1390
|
+
# @param [Aws::SSM::Types::OpsItemConflictException] data
|
1391
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1392
|
+
super(context, message, data)
|
1393
|
+
end
|
1394
|
+
|
1395
|
+
# @return [String]
|
1396
|
+
def message
|
1397
|
+
@message || @data[:message]
|
1398
|
+
end
|
1399
|
+
end
|
1400
|
+
|
1385
1401
|
class OpsItemInvalidParameterException < ServiceError
|
1386
1402
|
|
1387
1403
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -92,6 +92,8 @@ module Aws::SSM
|
|
92
92
|
Aws::SSM::Endpoints::DeleteInventory.build(context)
|
93
93
|
when :delete_maintenance_window
|
94
94
|
Aws::SSM::Endpoints::DeleteMaintenanceWindow.build(context)
|
95
|
+
when :delete_ops_item
|
96
|
+
Aws::SSM::Endpoints::DeleteOpsItem.build(context)
|
95
97
|
when :delete_ops_metadata
|
96
98
|
Aws::SSM::Endpoints::DeleteOpsMetadata.build(context)
|
97
99
|
when :delete_parameter
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -1336,6 +1336,10 @@ module Aws::SSM
|
|
1336
1336
|
# The name of the Change Manager change request.
|
1337
1337
|
# @return [String]
|
1338
1338
|
#
|
1339
|
+
# @!attribute [rw] variables
|
1340
|
+
# Variables defined for the automation.
|
1341
|
+
# @return [Hash<String,Array<String>>]
|
1342
|
+
#
|
1339
1343
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AutomationExecution AWS API Documentation
|
1340
1344
|
#
|
1341
1345
|
class AutomationExecution < Struct.new(
|
@@ -1371,7 +1375,8 @@ module Aws::SSM
|
|
1371
1375
|
:runbooks,
|
1372
1376
|
:ops_item_id,
|
1373
1377
|
:association_id,
|
1374
|
-
:change_request_name
|
1378
|
+
:change_request_name,
|
1379
|
+
:variables)
|
1375
1380
|
SENSITIVE = []
|
1376
1381
|
include Aws::Structure
|
1377
1382
|
end
|
@@ -4128,6 +4133,22 @@ module Aws::SSM
|
|
4128
4133
|
include Aws::Structure
|
4129
4134
|
end
|
4130
4135
|
|
4136
|
+
# @!attribute [rw] ops_item_id
|
4137
|
+
# The ID of the OpsItem that you want to delete.
|
4138
|
+
# @return [String]
|
4139
|
+
#
|
4140
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteOpsItemRequest AWS API Documentation
|
4141
|
+
#
|
4142
|
+
class DeleteOpsItemRequest < Struct.new(
|
4143
|
+
:ops_item_id)
|
4144
|
+
SENSITIVE = []
|
4145
|
+
include Aws::Structure
|
4146
|
+
end
|
4147
|
+
|
4148
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteOpsItemResponse AWS API Documentation
|
4149
|
+
#
|
4150
|
+
class DeleteOpsItemResponse < Aws::EmptyStructure; end
|
4151
|
+
|
4131
4152
|
# @!attribute [rw] ops_metadata_arn
|
4132
4153
|
# The Amazon Resource Name (ARN) of an OpsMetadata Object to delete.
|
4133
4154
|
# @return [String]
|
@@ -5253,6 +5274,14 @@ module Aws::SSM
|
|
5253
5274
|
#
|
5254
5275
|
# Sample values: `Installed` \| `InstalledOther` \|
|
5255
5276
|
# `InstalledPendingReboot`
|
5277
|
+
#
|
5278
|
+
# For lists of all `State` values, see [Understanding patch
|
5279
|
+
# compliance state values][1] in the *Amazon Web Services Systems
|
5280
|
+
# Manager User Guide*.
|
5281
|
+
#
|
5282
|
+
#
|
5283
|
+
#
|
5284
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-compliance-states.html
|
5256
5285
|
# @return [Array<Types::PatchOrchestratorFilter>]
|
5257
5286
|
#
|
5258
5287
|
# @!attribute [rw] next_token
|
@@ -12906,6 +12935,19 @@ module Aws::SSM
|
|
12906
12935
|
include Aws::Structure
|
12907
12936
|
end
|
12908
12937
|
|
12938
|
+
# The specified OpsItem is in the process of being deleted.
|
12939
|
+
#
|
12940
|
+
# @!attribute [rw] message
|
12941
|
+
# @return [String]
|
12942
|
+
#
|
12943
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemConflictException AWS API Documentation
|
12944
|
+
#
|
12945
|
+
class OpsItemConflictException < Struct.new(
|
12946
|
+
:message)
|
12947
|
+
SENSITIVE = []
|
12948
|
+
include Aws::Structure
|
12949
|
+
end
|
12950
|
+
|
12909
12951
|
# An object that defines the value of the key and its type in the
|
12910
12952
|
# OperationalData map.
|
12911
12953
|
#
|
@@ -13970,6 +14012,40 @@ module Aws::SSM
|
|
13970
14012
|
include Aws::Structure
|
13971
14013
|
end
|
13972
14014
|
|
14015
|
+
# A detailed status of the parent step.
|
14016
|
+
#
|
14017
|
+
# @!attribute [rw] step_execution_id
|
14018
|
+
# The unique ID of a step execution.
|
14019
|
+
# @return [String]
|
14020
|
+
#
|
14021
|
+
# @!attribute [rw] step_name
|
14022
|
+
# The name of the step.
|
14023
|
+
# @return [String]
|
14024
|
+
#
|
14025
|
+
# @!attribute [rw] action
|
14026
|
+
# The name of the automation action.
|
14027
|
+
# @return [String]
|
14028
|
+
#
|
14029
|
+
# @!attribute [rw] iteration
|
14030
|
+
# The current repetition of the loop represented by an integer.
|
14031
|
+
# @return [Integer]
|
14032
|
+
#
|
14033
|
+
# @!attribute [rw] iterator_value
|
14034
|
+
# The current value of the specified iterator in the loop.
|
14035
|
+
# @return [String]
|
14036
|
+
#
|
14037
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ParentStepDetails AWS API Documentation
|
14038
|
+
#
|
14039
|
+
class ParentStepDetails < Struct.new(
|
14040
|
+
:step_execution_id,
|
14041
|
+
:step_name,
|
14042
|
+
:action,
|
14043
|
+
:iteration,
|
14044
|
+
:iterator_value)
|
14045
|
+
SENSITIVE = []
|
14046
|
+
include Aws::Structure
|
14047
|
+
end
|
14048
|
+
|
13973
14049
|
# Represents metadata about a patch.
|
13974
14050
|
#
|
13975
14051
|
# @!attribute [rw] id
|
@@ -17275,6 +17351,10 @@ module Aws::SSM
|
|
17275
17351
|
# The CloudWatch alarms that were invoked by the automation.
|
17276
17352
|
# @return [Array<Types::AlarmStateInformation>]
|
17277
17353
|
#
|
17354
|
+
# @!attribute [rw] parent_step_details
|
17355
|
+
# Information about the parent step.
|
17356
|
+
# @return [Types::ParentStepDetails]
|
17357
|
+
#
|
17278
17358
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StepExecution AWS API Documentation
|
17279
17359
|
#
|
17280
17360
|
class StepExecution < Struct.new(
|
@@ -17300,7 +17380,8 @@ module Aws::SSM
|
|
17300
17380
|
:valid_next_steps,
|
17301
17381
|
:targets,
|
17302
17382
|
:target_location,
|
17303
|
-
:triggered_alarms
|
17383
|
+
:triggered_alarms,
|
17384
|
+
:parent_step_details)
|
17304
17385
|
SENSITIVE = []
|
17305
17386
|
include Aws::Structure
|
17306
17387
|
end
|
@@ -17309,9 +17390,7 @@ module Aws::SSM
|
|
17309
17390
|
# the call.
|
17310
17391
|
#
|
17311
17392
|
# @!attribute [rw] key
|
17312
|
-
# One or more keys to limit the results.
|
17313
|
-
# following: StepName, Action, StepExecutionId, StepExecutionStatus,
|
17314
|
-
# StartTimeBefore, StartTimeAfter.
|
17393
|
+
# One or more keys to limit the results.
|
17315
17394
|
# @return [String]
|
17316
17395
|
#
|
17317
17396
|
# @!attribute [rw] values
|
@@ -19244,25 +19323,28 @@ module Aws::SSM
|
|
19244
19323
|
# The new value to specify for the service setting. The following list
|
19245
19324
|
# specifies the available values for each setting.
|
19246
19325
|
#
|
19247
|
-
# * `/ssm/managed-instance/default-ec2-instance-management-role
|
19248
|
-
# name of an IAM role
|
19326
|
+
# * For `/ssm/managed-instance/default-ec2-instance-management-role`,
|
19327
|
+
# enter the name of an IAM role.
|
19249
19328
|
#
|
19250
|
-
# * `/ssm/automation/customer-script-log-destination
|
19329
|
+
# * For `/ssm/automation/customer-script-log-destination`, enter
|
19330
|
+
# `CloudWatch`.
|
19251
19331
|
#
|
19252
|
-
# * `/ssm/automation/customer-script-log-group-name
|
19253
|
-
# Amazon CloudWatch Logs log group
|
19332
|
+
# * For `/ssm/automation/customer-script-log-group-name`, enter the
|
19333
|
+
# name of an Amazon CloudWatch Logs log group.
|
19254
19334
|
#
|
19255
|
-
# * `/ssm/documents/console/public-sharing-permission
|
19256
|
-
# `Disable
|
19335
|
+
# * For `/ssm/documents/console/public-sharing-permission`, enter
|
19336
|
+
# `Enable` or `Disable`.
|
19257
19337
|
#
|
19258
|
-
# * `/ssm/managed-instance/activation-tier
|
19338
|
+
# * For `/ssm/managed-instance/activation-tier`, enter `standard` or
|
19339
|
+
# `advanced`.
|
19259
19340
|
#
|
19260
|
-
# * `/ssm/opsinsights/opscenter
|
19341
|
+
# * For `/ssm/opsinsights/opscenter`, enter `Enabled` or `Disabled`.
|
19261
19342
|
#
|
19262
|
-
# * `/ssm/parameter-store/default-parameter-tier
|
19263
|
-
# `Advanced`, `Intelligent-Tiering`
|
19343
|
+
# * For `/ssm/parameter-store/default-parameter-tier`, enter
|
19344
|
+
# `Standard`, `Advanced`, or `Intelligent-Tiering`
|
19264
19345
|
#
|
19265
|
-
# * `/ssm/parameter-store/high-throughput-enabled
|
19346
|
+
# * For `/ssm/parameter-store/high-throughput-enabled`, enter `true`
|
19347
|
+
# or `false`.
|
19266
19348
|
# @return [String]
|
19267
19349
|
#
|
19268
19350
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateServiceSettingRequest AWS API Documentation
|
data/lib/aws-sdk-ssm.rb
CHANGED
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.160.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: 2023-
|
11
|
+
date: 2023-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|