aws-sdk-ssm 1.0.0.rc12 → 1.0.0.rc13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ssm.rb +1 -1
- data/lib/aws-sdk-ssm/client.rb +60 -5
- data/lib/aws-sdk-ssm/client_api.rb +22 -0
- data/lib/aws-sdk-ssm/types.rb +39 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 576ae0e734c5053587b0cbf55379f4fdf4f16eda
|
4
|
+
data.tar.gz: 4f03710221a7870fa540dc72f511e13524c24fd6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30c6b3af5eb46f6fa235abb7031b415f75710cd249b35d76bdc2c334477b4d8ac71f8f0ad821aec56a7b03132bb329054184f4180fa62bf16d751febf2c1b6cc
|
7
|
+
data.tar.gz: 077c38ddbe11c40ded0a7c53968735d2ee220b0ca8f707f15464699189f1ec50017e2222eab3a2fd6a1d940088d19d25978226416ffeb9d71e50eae420880c39
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -907,7 +907,8 @@ module Aws::SSM
|
|
907
907
|
req.send_request(options)
|
908
908
|
end
|
909
909
|
|
910
|
-
# Delete a list of parameters.
|
910
|
+
# Delete a list of parameters. This API is used to delete parameters by
|
911
|
+
# using the Amazon EC2 console.
|
911
912
|
#
|
912
913
|
# @option params [required, Array<String>] :names
|
913
914
|
# The names of the parameters to delete.
|
@@ -1281,7 +1282,7 @@ module Aws::SSM
|
|
1281
1282
|
# resp.automation_execution_metadata_list[0].automation_execution_id #=> String
|
1282
1283
|
# resp.automation_execution_metadata_list[0].document_name #=> String
|
1283
1284
|
# resp.automation_execution_metadata_list[0].document_version #=> String
|
1284
|
-
# resp.automation_execution_metadata_list[0].automation_execution_status #=> String, one of "Pending", "InProgress", "Success", "TimedOut", "Cancelled", "Failed"
|
1285
|
+
# resp.automation_execution_metadata_list[0].automation_execution_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelled", "Failed"
|
1285
1286
|
# resp.automation_execution_metadata_list[0].execution_start_time #=> Time
|
1286
1287
|
# resp.automation_execution_metadata_list[0].execution_end_time #=> Time
|
1287
1288
|
# resp.automation_execution_metadata_list[0].executed_by #=> String
|
@@ -2247,6 +2248,15 @@ module Aws::SSM
|
|
2247
2248
|
|
2248
2249
|
# Get information about a parameter.
|
2249
2250
|
#
|
2251
|
+
# Request results are returned on a best-effort basis. If you specify
|
2252
|
+
# `MaxResults` in the request, the response includes information up to
|
2253
|
+
# the limit specified. The number of items returned, however, can be
|
2254
|
+
# between zero and the value of `MaxResults`. If the service reaches an
|
2255
|
+
# internal limit while processing the results, it stops the operation
|
2256
|
+
# and returns the matching values up to that point and a `NextToken`.
|
2257
|
+
# You can specify the `NextToken` in a subsequent call to get the next
|
2258
|
+
# set of results.
|
2259
|
+
#
|
2250
2260
|
# @option params [Array<Types::ParametersFilter>] :filters
|
2251
2261
|
# One or more filters. Use a filter to return a more specific list of
|
2252
2262
|
# results.
|
@@ -2477,13 +2487,13 @@ module Aws::SSM
|
|
2477
2487
|
# resp.automation_execution.document_version #=> String
|
2478
2488
|
# resp.automation_execution.execution_start_time #=> Time
|
2479
2489
|
# resp.automation_execution.execution_end_time #=> Time
|
2480
|
-
# resp.automation_execution.automation_execution_status #=> String, one of "Pending", "InProgress", "Success", "TimedOut", "Cancelled", "Failed"
|
2490
|
+
# resp.automation_execution.automation_execution_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelled", "Failed"
|
2481
2491
|
# resp.automation_execution.step_executions #=> Array
|
2482
2492
|
# resp.automation_execution.step_executions[0].step_name #=> String
|
2483
2493
|
# resp.automation_execution.step_executions[0].action #=> String
|
2484
2494
|
# resp.automation_execution.step_executions[0].execution_start_time #=> Time
|
2485
2495
|
# resp.automation_execution.step_executions[0].execution_end_time #=> Time
|
2486
|
-
# resp.automation_execution.step_executions[0].step_status #=> String, one of "Pending", "InProgress", "Success", "TimedOut", "Cancelled", "Failed"
|
2496
|
+
# resp.automation_execution.step_executions[0].step_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelled", "Failed"
|
2487
2497
|
# resp.automation_execution.step_executions[0].response_code #=> String
|
2488
2498
|
# resp.automation_execution.step_executions[0].inputs #=> Hash
|
2489
2499
|
# resp.automation_execution.step_executions[0].inputs["String"] #=> String
|
@@ -3083,6 +3093,15 @@ module Aws::SSM
|
|
3083
3093
|
# Retrieve parameters in a specific hierarchy. For more information, see
|
3084
3094
|
# [Working with Systems Manager Parameters][1].
|
3085
3095
|
#
|
3096
|
+
# Request results are returned on a best-effort basis. If you specify
|
3097
|
+
# `MaxResults` in the request, the response includes information up to
|
3098
|
+
# the limit specified. The number of items returned, however, can be
|
3099
|
+
# between zero and the value of `MaxResults`. If the service reaches an
|
3100
|
+
# internal limit while processing the results, it stops the operation
|
3101
|
+
# and returns the matching values up to that point and a `NextToken`.
|
3102
|
+
# You can specify the `NextToken` in a subsequent call to get the next
|
3103
|
+
# set of results.
|
3104
|
+
#
|
3086
3105
|
#
|
3087
3106
|
#
|
3088
3107
|
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-working.html
|
@@ -4123,6 +4142,42 @@ module Aws::SSM
|
|
4123
4142
|
req.send_request(options)
|
4124
4143
|
end
|
4125
4144
|
|
4145
|
+
# Sends a signal to an Automation execution to change the current
|
4146
|
+
# behavior or status of the execution.
|
4147
|
+
#
|
4148
|
+
# @option params [required, String] :automation_execution_id
|
4149
|
+
# The unique identifier for an existing Automation execution that you
|
4150
|
+
# want to send the signal to.
|
4151
|
+
#
|
4152
|
+
# @option params [required, String] :signal_type
|
4153
|
+
# The type of signal. Valid signal types include the following: Approve
|
4154
|
+
# and Reject
|
4155
|
+
#
|
4156
|
+
# @option params [Hash<String,Array>] :payload
|
4157
|
+
# The data sent with the signal. The data schema depends on the type of
|
4158
|
+
# signal used in the request.
|
4159
|
+
#
|
4160
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4161
|
+
#
|
4162
|
+
# @example Request syntax with placeholder values
|
4163
|
+
#
|
4164
|
+
# resp = client.send_automation_signal({
|
4165
|
+
# automation_execution_id: "AutomationExecutionId", # required
|
4166
|
+
# signal_type: "Approve", # required, accepts Approve, Reject
|
4167
|
+
# payload: {
|
4168
|
+
# "AutomationParameterKey" => ["AutomationParameterValue"],
|
4169
|
+
# },
|
4170
|
+
# })
|
4171
|
+
#
|
4172
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendAutomationSignal AWS API Documentation
|
4173
|
+
#
|
4174
|
+
# @overload send_automation_signal(params = {})
|
4175
|
+
# @param [Hash] params ({})
|
4176
|
+
def send_automation_signal(params = {}, options = {})
|
4177
|
+
req = build_request(:send_automation_signal, params)
|
4178
|
+
req.send_request(options)
|
4179
|
+
end
|
4180
|
+
|
4126
4181
|
# Executes commands on one or more managed instances.
|
4127
4182
|
#
|
4128
4183
|
# @option params [Array<String>] :instance_ids
|
@@ -4828,7 +4883,7 @@ module Aws::SSM
|
|
4828
4883
|
params: params,
|
4829
4884
|
config: config)
|
4830
4885
|
context[:gem_name] = 'aws-sdk-ssm'
|
4831
|
-
context[:gem_version] = '1.0.0.
|
4886
|
+
context[:gem_version] = '1.0.0.rc13'
|
4832
4887
|
Seahorse::Client::Request.new(handlers, context)
|
4833
4888
|
end
|
4834
4889
|
|
@@ -307,6 +307,7 @@ module Aws::SSM
|
|
307
307
|
InvalidActivationId = Shapes::StructureShape.new(name: 'InvalidActivationId')
|
308
308
|
InvalidAllowedPatternException = Shapes::StructureShape.new(name: 'InvalidAllowedPatternException')
|
309
309
|
InvalidAutomationExecutionParametersException = Shapes::StructureShape.new(name: 'InvalidAutomationExecutionParametersException')
|
310
|
+
InvalidAutomationSignalException = Shapes::StructureShape.new(name: 'InvalidAutomationSignalException')
|
310
311
|
InvalidCommandId = Shapes::StructureShape.new(name: 'InvalidCommandId')
|
311
312
|
InvalidDocument = Shapes::StructureShape.new(name: 'InvalidDocument')
|
312
313
|
InvalidDocumentContent = Shapes::StructureShape.new(name: 'InvalidDocumentContent')
|
@@ -579,9 +580,12 @@ module Aws::SSM
|
|
579
580
|
S3OutputUrl = Shapes::StructureShape.new(name: 'S3OutputUrl')
|
580
581
|
S3Region = Shapes::StringShape.new(name: 'S3Region')
|
581
582
|
ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
|
583
|
+
SendAutomationSignalRequest = Shapes::StructureShape.new(name: 'SendAutomationSignalRequest')
|
584
|
+
SendAutomationSignalResult = Shapes::StructureShape.new(name: 'SendAutomationSignalResult')
|
582
585
|
SendCommandRequest = Shapes::StructureShape.new(name: 'SendCommandRequest')
|
583
586
|
SendCommandResult = Shapes::StructureShape.new(name: 'SendCommandResult')
|
584
587
|
ServiceRole = Shapes::StringShape.new(name: 'ServiceRole')
|
588
|
+
SignalType = Shapes::StringShape.new(name: 'SignalType')
|
585
589
|
SnapshotDownloadUrl = Shapes::StringShape.new(name: 'SnapshotDownloadUrl')
|
586
590
|
SnapshotId = Shapes::StringShape.new(name: 'SnapshotId')
|
587
591
|
StandardErrorContent = Shapes::StringShape.new(name: 'StandardErrorContent')
|
@@ -2019,6 +2023,13 @@ module Aws::SSM
|
|
2019
2023
|
S3OutputUrl.add_member(:output_url, Shapes::ShapeRef.new(shape: Url, location_name: "OutputUrl"))
|
2020
2024
|
S3OutputUrl.struct_class = Types::S3OutputUrl
|
2021
2025
|
|
2026
|
+
SendAutomationSignalRequest.add_member(:automation_execution_id, Shapes::ShapeRef.new(shape: AutomationExecutionId, required: true, location_name: "AutomationExecutionId"))
|
2027
|
+
SendAutomationSignalRequest.add_member(:signal_type, Shapes::ShapeRef.new(shape: SignalType, required: true, location_name: "SignalType"))
|
2028
|
+
SendAutomationSignalRequest.add_member(:payload, Shapes::ShapeRef.new(shape: AutomationParameterMap, location_name: "Payload"))
|
2029
|
+
SendAutomationSignalRequest.struct_class = Types::SendAutomationSignalRequest
|
2030
|
+
|
2031
|
+
SendAutomationSignalResult.struct_class = Types::SendAutomationSignalResult
|
2032
|
+
|
2022
2033
|
SendCommandRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdList, location_name: "InstanceIds"))
|
2023
2034
|
SendCommandRequest.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, location_name: "Targets"))
|
2024
2035
|
SendCommandRequest.add_member(:document_name, Shapes::ShapeRef.new(shape: DocumentARN, required: true, location_name: "DocumentName"))
|
@@ -3093,6 +3104,17 @@ module Aws::SSM
|
|
3093
3104
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
3094
3105
|
end)
|
3095
3106
|
|
3107
|
+
api.add_operation(:send_automation_signal, Seahorse::Model::Operation.new.tap do |o|
|
3108
|
+
o.name = "SendAutomationSignal"
|
3109
|
+
o.http_method = "POST"
|
3110
|
+
o.http_request_uri = "/"
|
3111
|
+
o.input = Shapes::ShapeRef.new(shape: SendAutomationSignalRequest)
|
3112
|
+
o.output = Shapes::ShapeRef.new(shape: SendAutomationSignalResult)
|
3113
|
+
o.errors << Shapes::ShapeRef.new(shape: AutomationExecutionNotFoundException)
|
3114
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAutomationSignalException)
|
3115
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
3116
|
+
end)
|
3117
|
+
|
3096
3118
|
api.add_operation(:send_command, Seahorse::Model::Operation.new.tap do |o|
|
3097
3119
|
o.name = "SendCommand"
|
3098
3120
|
o.http_method = "POST"
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -7290,6 +7290,45 @@ module Aws::SSM
|
|
7290
7290
|
include Aws::Structure
|
7291
7291
|
end
|
7292
7292
|
|
7293
|
+
# @note When making an API call, you may pass SendAutomationSignalRequest
|
7294
|
+
# data as a hash:
|
7295
|
+
#
|
7296
|
+
# {
|
7297
|
+
# automation_execution_id: "AutomationExecutionId", # required
|
7298
|
+
# signal_type: "Approve", # required, accepts Approve, Reject
|
7299
|
+
# payload: {
|
7300
|
+
# "AutomationParameterKey" => ["AutomationParameterValue"],
|
7301
|
+
# },
|
7302
|
+
# }
|
7303
|
+
#
|
7304
|
+
# @!attribute [rw] automation_execution_id
|
7305
|
+
# The unique identifier for an existing Automation execution that you
|
7306
|
+
# want to send the signal to.
|
7307
|
+
# @return [String]
|
7308
|
+
#
|
7309
|
+
# @!attribute [rw] signal_type
|
7310
|
+
# The type of signal. Valid signal types include the following:
|
7311
|
+
# Approve and Reject
|
7312
|
+
# @return [String]
|
7313
|
+
#
|
7314
|
+
# @!attribute [rw] payload
|
7315
|
+
# The data sent with the signal. The data schema depends on the type
|
7316
|
+
# of signal used in the request.
|
7317
|
+
# @return [Hash<String,Array<String>>]
|
7318
|
+
#
|
7319
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendAutomationSignalRequest AWS API Documentation
|
7320
|
+
#
|
7321
|
+
class SendAutomationSignalRequest < Struct.new(
|
7322
|
+
:automation_execution_id,
|
7323
|
+
:signal_type,
|
7324
|
+
:payload)
|
7325
|
+
include Aws::Structure
|
7326
|
+
end
|
7327
|
+
|
7328
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendAutomationSignalResult AWS API Documentation
|
7329
|
+
#
|
7330
|
+
class SendAutomationSignalResult < Aws::EmptyStructure; end
|
7331
|
+
|
7293
7332
|
# @note When making an API call, you may pass SendCommandRequest
|
7294
7333
|
# data as a hash:
|
7295
7334
|
#
|
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.0.0.
|
4
|
+
version: 1.0.0.rc13
|
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: 2017-07-
|
11
|
+
date: 2017-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.0.0.
|
19
|
+
version: 3.0.0.rc19
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.0.0.
|
26
|
+
version: 3.0.0.rc19
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: aws-sigv4
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|