aws-sdk-ssmsap 1.16.0 → 1.18.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-ssmsap/client.rb +213 -46
- data/lib/aws-sdk-ssmsap/client_api.rb +89 -0
- data/lib/aws-sdk-ssmsap/endpoints.rb +42 -0
- data/lib/aws-sdk-ssmsap/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-ssmsap/types.rb +198 -0
- data/lib/aws-sdk-ssmsap.rb +1 -1
- data/sig/client.rbs +42 -0
- data/sig/types.rbs +51 -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: a06e413d88f355f1070df7eb09723b9b88d868611c18d4e2cbfce2b1de3591e6
|
4
|
+
data.tar.gz: 3b60efeebbd77516c9e1fdffa7f69d1d72648a877729c4e4667afbe4bc96f85c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c38bc0647150350e5c84ab92fbd20dbf9802104b48d5921372fb12a59157f7c9034ed2d0146ed8e36829bb8acace075adc8122fd778b86a17c58062e40e78ec6
|
7
|
+
data.tar.gz: 1d657873418f5998dc25d111f4d4f9423332e21f31e151e3031fa92fb9a6385d66d940a8b6601b942de1484573d65bc69ce661017a0271cc532c885d4ab02979
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.18.0 (2024-05-09)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added support for application-aware start/stop of SAP applications running on EC2 instances, with SSM for SAP
|
8
|
+
|
9
|
+
1.17.0 (2024-04-25)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.16.0 (2024-01-26)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.18.0
|
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -72,6 +73,7 @@ module Aws::SsmSap
|
|
72
73
|
add_plugin(Aws::Plugins::ResponsePaging)
|
73
74
|
add_plugin(Aws::Plugins::StubResponses)
|
74
75
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
76
|
+
add_plugin(Aws::Plugins::InvocationId)
|
75
77
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
76
78
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -196,10 +198,17 @@ module Aws::SsmSap
|
|
196
198
|
# When set to 'true' the request body will not be compressed
|
197
199
|
# for supported operations.
|
198
200
|
#
|
199
|
-
# @option options [String] :endpoint
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
201
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
202
|
+
# Normally you should not configure the `:endpoint` option
|
203
|
+
# directly. This is normally constructed from the `:region`
|
204
|
+
# option. Configuring `:endpoint` is normally reserved for
|
205
|
+
# connecting to test or custom endpoints. The endpoint should
|
206
|
+
# be a URI formatted like:
|
207
|
+
#
|
208
|
+
# 'http://example.com'
|
209
|
+
# 'https://example.com'
|
210
|
+
# 'http://example.com:123'
|
211
|
+
#
|
203
212
|
#
|
204
213
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
205
214
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -337,50 +346,65 @@ module Aws::SsmSap
|
|
337
346
|
# @option options [Aws::SsmSap::EndpointProvider] :endpoint_provider
|
338
347
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::SsmSap::EndpointParameters`
|
339
348
|
#
|
340
|
-
# @option options [
|
341
|
-
#
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
346
|
-
#
|
347
|
-
#
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
351
|
-
# @option options [Float] :
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
349
|
+
# @option options [Float] :http_continue_timeout (1)
|
350
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
351
|
+
# request body. This option has no effect unless the request has "Expect"
|
352
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
353
|
+
# behaviour. This value can safely be set per request on the session.
|
354
|
+
#
|
355
|
+
# @option options [Float] :http_idle_timeout (5)
|
356
|
+
# The number of seconds a connection is allowed to sit idle before it
|
357
|
+
# is considered stale. Stale connections are closed and removed from the
|
358
|
+
# pool before making a request.
|
359
|
+
#
|
360
|
+
# @option options [Float] :http_open_timeout (15)
|
361
|
+
# The default number of seconds to wait for response data.
|
362
|
+
# This value can safely be set per-request on the session.
|
363
|
+
#
|
364
|
+
# @option options [URI::HTTP,String] :http_proxy
|
365
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
366
|
+
#
|
367
|
+
# @option options [Float] :http_read_timeout (60)
|
368
|
+
# The default number of seconds to wait for response data.
|
369
|
+
# This value can safely be set per-request on the session.
|
370
|
+
#
|
371
|
+
# @option options [Boolean] :http_wire_trace (false)
|
372
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
373
|
+
#
|
374
|
+
# @option options [Proc] :on_chunk_received
|
375
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
376
|
+
# of the response body is received. It provides three arguments: the chunk,
|
377
|
+
# the number of bytes received, and the total number of
|
378
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
379
|
+
#
|
380
|
+
# @option options [Proc] :on_chunk_sent
|
381
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
382
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
383
|
+
# the number of bytes read from the body, and the total number of
|
384
|
+
# bytes in the body.
|
385
|
+
#
|
386
|
+
# @option options [Boolean] :raise_response_errors (true)
|
387
|
+
# When `true`, response errors are raised.
|
388
|
+
#
|
389
|
+
# @option options [String] :ssl_ca_bundle
|
390
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
391
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
392
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
393
|
+
#
|
394
|
+
# @option options [String] :ssl_ca_directory
|
395
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
396
|
+
# authority files for verifying peer certificates. If you do
|
397
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
398
|
+
# default will be used if available.
|
368
399
|
#
|
369
|
-
# @option options [
|
370
|
-
#
|
371
|
-
# connection.
|
400
|
+
# @option options [String] :ssl_ca_store
|
401
|
+
# Sets the X509::Store to verify peer certificate.
|
372
402
|
#
|
373
|
-
# @option options [
|
374
|
-
#
|
375
|
-
# verifying peer certificates. If you do not pass
|
376
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
377
|
-
# will be used if available.
|
403
|
+
# @option options [Float] :ssl_timeout
|
404
|
+
# Sets the SSL timeout in seconds
|
378
405
|
#
|
379
|
-
# @option options [
|
380
|
-
#
|
381
|
-
# authority files for verifying peer certificates. If you do
|
382
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
383
|
-
# system default will be used if available.
|
406
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
407
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
384
408
|
#
|
385
409
|
def initialize(*args)
|
386
410
|
super
|
@@ -860,6 +884,75 @@ module Aws::SsmSap
|
|
860
884
|
req.send_request(options)
|
861
885
|
end
|
862
886
|
|
887
|
+
# Returns a list of operations events.
|
888
|
+
#
|
889
|
+
# Available parameters include `OperationID`, as well as optional
|
890
|
+
# parameters `MaxResults`, `NextToken`, and `Filters`.
|
891
|
+
#
|
892
|
+
# @option params [required, String] :operation_id
|
893
|
+
# The ID of the operation.
|
894
|
+
#
|
895
|
+
# @option params [Integer] :max_results
|
896
|
+
# The maximum number of results to return with a single call. To
|
897
|
+
# retrieve the remaining results, make another call with the returned
|
898
|
+
# nextToken value.
|
899
|
+
#
|
900
|
+
# If you do not specify a value for `MaxResults`, the request returns 50
|
901
|
+
# items per page by default.
|
902
|
+
#
|
903
|
+
# @option params [String] :next_token
|
904
|
+
# The token to use to retrieve the next page of results. This value is
|
905
|
+
# null when there are no more results to return.
|
906
|
+
#
|
907
|
+
# @option params [Array<Types::Filter>] :filters
|
908
|
+
# Optionally specify filters to narrow the returned operation event
|
909
|
+
# items.
|
910
|
+
#
|
911
|
+
# Valid filter names include `status`, `resourceID`, and `resourceType`.
|
912
|
+
# The valid operator for all three filters is `Equals`.
|
913
|
+
#
|
914
|
+
# @return [Types::ListOperationEventsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
915
|
+
#
|
916
|
+
# * {Types::ListOperationEventsOutput#operation_events #operation_events} => Array<Types::OperationEvent>
|
917
|
+
# * {Types::ListOperationEventsOutput#next_token #next_token} => String
|
918
|
+
#
|
919
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
920
|
+
#
|
921
|
+
# @example Request syntax with placeholder values
|
922
|
+
#
|
923
|
+
# resp = client.list_operation_events({
|
924
|
+
# operation_id: "OperationId", # required
|
925
|
+
# max_results: 1,
|
926
|
+
# next_token: "NextToken",
|
927
|
+
# filters: [
|
928
|
+
# {
|
929
|
+
# name: "FilterName", # required
|
930
|
+
# value: "FilterValue", # required
|
931
|
+
# operator: "Equals", # required, accepts Equals, GreaterThanOrEquals, LessThanOrEquals
|
932
|
+
# },
|
933
|
+
# ],
|
934
|
+
# })
|
935
|
+
#
|
936
|
+
# @example Response structure
|
937
|
+
#
|
938
|
+
# resp.operation_events #=> Array
|
939
|
+
# resp.operation_events[0].description #=> String
|
940
|
+
# resp.operation_events[0].resource.resource_arn #=> String
|
941
|
+
# resp.operation_events[0].resource.resource_type #=> String
|
942
|
+
# resp.operation_events[0].status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
|
943
|
+
# resp.operation_events[0].status_message #=> String
|
944
|
+
# resp.operation_events[0].timestamp #=> Time
|
945
|
+
# resp.next_token #=> String
|
946
|
+
#
|
947
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/ListOperationEvents AWS API Documentation
|
948
|
+
#
|
949
|
+
# @overload list_operation_events(params = {})
|
950
|
+
# @param [Hash] params ({})
|
951
|
+
def list_operation_events(params = {}, options = {})
|
952
|
+
req = build_request(:list_operation_events, params)
|
953
|
+
req.send_request(options)
|
954
|
+
end
|
955
|
+
|
863
956
|
# Lists the operations performed by AWS Systems Manager for SAP.
|
864
957
|
#
|
865
958
|
# @option params [required, String] :application_id
|
@@ -1073,6 +1166,36 @@ module Aws::SsmSap
|
|
1073
1166
|
req.send_request(options)
|
1074
1167
|
end
|
1075
1168
|
|
1169
|
+
# Request is an operation which starts an application.
|
1170
|
+
#
|
1171
|
+
# Parameter `ApplicationId` is required.
|
1172
|
+
#
|
1173
|
+
# @option params [required, String] :application_id
|
1174
|
+
# The ID of the application.
|
1175
|
+
#
|
1176
|
+
# @return [Types::StartApplicationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1177
|
+
#
|
1178
|
+
# * {Types::StartApplicationOutput#operation_id #operation_id} => String
|
1179
|
+
#
|
1180
|
+
# @example Request syntax with placeholder values
|
1181
|
+
#
|
1182
|
+
# resp = client.start_application({
|
1183
|
+
# application_id: "ApplicationId", # required
|
1184
|
+
# })
|
1185
|
+
#
|
1186
|
+
# @example Response structure
|
1187
|
+
#
|
1188
|
+
# resp.operation_id #=> String
|
1189
|
+
#
|
1190
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/StartApplication AWS API Documentation
|
1191
|
+
#
|
1192
|
+
# @overload start_application(params = {})
|
1193
|
+
# @param [Hash] params ({})
|
1194
|
+
def start_application(params = {}, options = {})
|
1195
|
+
req = build_request(:start_application, params)
|
1196
|
+
req.send_request(options)
|
1197
|
+
end
|
1198
|
+
|
1076
1199
|
# Refreshes a registered application.
|
1077
1200
|
#
|
1078
1201
|
# @option params [required, String] :application_id
|
@@ -1101,6 +1224,50 @@ module Aws::SsmSap
|
|
1101
1224
|
req.send_request(options)
|
1102
1225
|
end
|
1103
1226
|
|
1227
|
+
# Request is an operation to stop an application.
|
1228
|
+
#
|
1229
|
+
# Parameter `ApplicationId` is required. Parameters
|
1230
|
+
# `StopConnectedEntity` and `IncludeEc2InstanceShutdown` are optional.
|
1231
|
+
#
|
1232
|
+
# @option params [required, String] :application_id
|
1233
|
+
# The ID of the application.
|
1234
|
+
#
|
1235
|
+
# @option params [String] :stop_connected_entity
|
1236
|
+
# Specify the `ConnectedEntityType`. Accepted type is `DBMS`.
|
1237
|
+
#
|
1238
|
+
# If this parameter is included, the connected DBMS (Database Management
|
1239
|
+
# System) will be stopped.
|
1240
|
+
#
|
1241
|
+
# @option params [Boolean] :include_ec2_instance_shutdown
|
1242
|
+
# Boolean. If included and if set to `True`, the StopApplication
|
1243
|
+
# operation will shut down the associated Amazon EC2 instance in
|
1244
|
+
# addition to the application.
|
1245
|
+
#
|
1246
|
+
# @return [Types::StopApplicationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1247
|
+
#
|
1248
|
+
# * {Types::StopApplicationOutput#operation_id #operation_id} => String
|
1249
|
+
#
|
1250
|
+
# @example Request syntax with placeholder values
|
1251
|
+
#
|
1252
|
+
# resp = client.stop_application({
|
1253
|
+
# application_id: "ApplicationId", # required
|
1254
|
+
# stop_connected_entity: "DBMS", # accepts DBMS
|
1255
|
+
# include_ec2_instance_shutdown: false,
|
1256
|
+
# })
|
1257
|
+
#
|
1258
|
+
# @example Response structure
|
1259
|
+
#
|
1260
|
+
# resp.operation_id #=> String
|
1261
|
+
#
|
1262
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/StopApplication AWS API Documentation
|
1263
|
+
#
|
1264
|
+
# @overload stop_application(params = {})
|
1265
|
+
# @param [Hash] params ({})
|
1266
|
+
def stop_application(params = {}, options = {})
|
1267
|
+
req = build_request(:stop_application, params)
|
1268
|
+
req.send_request(options)
|
1269
|
+
end
|
1270
|
+
|
1104
1271
|
# Creates tag for a resource by specifying the ARN.
|
1105
1272
|
#
|
1106
1273
|
# @option params [required, String] :resource_arn
|
@@ -1233,7 +1400,7 @@ module Aws::SsmSap
|
|
1233
1400
|
params: params,
|
1234
1401
|
config: config)
|
1235
1402
|
context[:gem_name] = 'aws-sdk-ssmsap'
|
1236
|
-
context[:gem_version] = '1.
|
1403
|
+
context[:gem_version] = '1.18.0'
|
1237
1404
|
Seahorse::Client::Request.new(handlers, context)
|
1238
1405
|
end
|
1239
1406
|
|
@@ -38,6 +38,7 @@ module Aws::SsmSap
|
|
38
38
|
ComponentSummaryList = Shapes::ListShape.new(name: 'ComponentSummaryList')
|
39
39
|
ComponentType = Shapes::StringShape.new(name: 'ComponentType')
|
40
40
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
41
|
+
ConnectedEntityType = Shapes::StringShape.new(name: 'ConnectedEntityType')
|
41
42
|
CredentialType = Shapes::StringShape.new(name: 'CredentialType')
|
42
43
|
Database = Shapes::StructureShape.new(name: 'Database')
|
43
44
|
DatabaseConnection = Shapes::StructureShape.new(name: 'DatabaseConnection')
|
@@ -83,6 +84,8 @@ module Aws::SsmSap
|
|
83
84
|
ListComponentsOutput = Shapes::StructureShape.new(name: 'ListComponentsOutput')
|
84
85
|
ListDatabasesInput = Shapes::StructureShape.new(name: 'ListDatabasesInput')
|
85
86
|
ListDatabasesOutput = Shapes::StructureShape.new(name: 'ListDatabasesOutput')
|
87
|
+
ListOperationEventsInput = Shapes::StructureShape.new(name: 'ListOperationEventsInput')
|
88
|
+
ListOperationEventsOutput = Shapes::StructureShape.new(name: 'ListOperationEventsOutput')
|
86
89
|
ListOperationsInput = Shapes::StructureShape.new(name: 'ListOperationsInput')
|
87
90
|
ListOperationsOutput = Shapes::StructureShape.new(name: 'ListOperationsOutput')
|
88
91
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
@@ -90,6 +93,10 @@ module Aws::SsmSap
|
|
90
93
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
91
94
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
92
95
|
Operation = Shapes::StructureShape.new(name: 'Operation')
|
96
|
+
OperationEvent = Shapes::StructureShape.new(name: 'OperationEvent')
|
97
|
+
OperationEventList = Shapes::ListShape.new(name: 'OperationEventList')
|
98
|
+
OperationEventResourceType = Shapes::StringShape.new(name: 'OperationEventResourceType')
|
99
|
+
OperationEventStatus = Shapes::StringShape.new(name: 'OperationEventStatus')
|
93
100
|
OperationId = Shapes::StringShape.new(name: 'OperationId')
|
94
101
|
OperationIdList = Shapes::ListShape.new(name: 'OperationIdList')
|
95
102
|
OperationList = Shapes::ListShape.new(name: 'OperationList')
|
@@ -104,6 +111,7 @@ module Aws::SsmSap
|
|
104
111
|
RegisterApplicationOutput = Shapes::StructureShape.new(name: 'RegisterApplicationOutput')
|
105
112
|
ReplicationMode = Shapes::StringShape.new(name: 'ReplicationMode')
|
106
113
|
Resilience = Shapes::StructureShape.new(name: 'Resilience')
|
114
|
+
Resource = Shapes::StructureShape.new(name: 'Resource')
|
107
115
|
ResourceId = Shapes::StringShape.new(name: 'ResourceId')
|
108
116
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
109
117
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
@@ -111,8 +119,12 @@ module Aws::SsmSap
|
|
111
119
|
SID = Shapes::StringShape.new(name: 'SID')
|
112
120
|
SecretId = Shapes::StringShape.new(name: 'SecretId')
|
113
121
|
SsmSapArn = Shapes::StringShape.new(name: 'SsmSapArn')
|
122
|
+
StartApplicationInput = Shapes::StructureShape.new(name: 'StartApplicationInput')
|
123
|
+
StartApplicationOutput = Shapes::StructureShape.new(name: 'StartApplicationOutput')
|
114
124
|
StartApplicationRefreshInput = Shapes::StructureShape.new(name: 'StartApplicationRefreshInput')
|
115
125
|
StartApplicationRefreshOutput = Shapes::StructureShape.new(name: 'StartApplicationRefreshOutput')
|
126
|
+
StopApplicationInput = Shapes::StructureShape.new(name: 'StopApplicationInput')
|
127
|
+
StopApplicationOutput = Shapes::StructureShape.new(name: 'StopApplicationOutput')
|
116
128
|
String = Shapes::StringShape.new(name: 'String')
|
117
129
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
118
130
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
@@ -341,6 +353,16 @@ module Aws::SsmSap
|
|
341
353
|
ListDatabasesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
342
354
|
ListDatabasesOutput.struct_class = Types::ListDatabasesOutput
|
343
355
|
|
356
|
+
ListOperationEventsInput.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, required: true, location_name: "OperationId"))
|
357
|
+
ListOperationEventsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
358
|
+
ListOperationEventsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
359
|
+
ListOperationEventsInput.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
360
|
+
ListOperationEventsInput.struct_class = Types::ListOperationEventsInput
|
361
|
+
|
362
|
+
ListOperationEventsOutput.add_member(:operation_events, Shapes::ShapeRef.new(shape: OperationEventList, location_name: "OperationEvents"))
|
363
|
+
ListOperationEventsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
364
|
+
ListOperationEventsOutput.struct_class = Types::ListOperationEventsOutput
|
365
|
+
|
344
366
|
ListOperationsInput.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "ApplicationId"))
|
345
367
|
ListOperationsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
346
368
|
ListOperationsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
@@ -370,6 +392,15 @@ module Aws::SsmSap
|
|
370
392
|
Operation.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTime"))
|
371
393
|
Operation.struct_class = Types::Operation
|
372
394
|
|
395
|
+
OperationEvent.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
396
|
+
OperationEvent.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, location_name: "Resource"))
|
397
|
+
OperationEvent.add_member(:status, Shapes::ShapeRef.new(shape: OperationEventStatus, location_name: "Status"))
|
398
|
+
OperationEvent.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "StatusMessage"))
|
399
|
+
OperationEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
|
400
|
+
OperationEvent.struct_class = Types::OperationEvent
|
401
|
+
|
402
|
+
OperationEventList.member = Shapes::ShapeRef.new(shape: OperationEvent)
|
403
|
+
|
373
404
|
OperationIdList.member = Shapes::ShapeRef.new(shape: OperationId)
|
374
405
|
|
375
406
|
OperationList.member = Shapes::ShapeRef.new(shape: Operation)
|
@@ -406,15 +437,33 @@ module Aws::SsmSap
|
|
406
437
|
Resilience.add_member(:enqueue_replication, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnqueueReplication"))
|
407
438
|
Resilience.struct_class = Types::Resilience
|
408
439
|
|
440
|
+
Resource.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ResourceArn"))
|
441
|
+
Resource.add_member(:resource_type, Shapes::ShapeRef.new(shape: OperationEventResourceType, location_name: "ResourceType"))
|
442
|
+
Resource.struct_class = Types::Resource
|
443
|
+
|
409
444
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
410
445
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
411
446
|
|
447
|
+
StartApplicationInput.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "ApplicationId"))
|
448
|
+
StartApplicationInput.struct_class = Types::StartApplicationInput
|
449
|
+
|
450
|
+
StartApplicationOutput.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId"))
|
451
|
+
StartApplicationOutput.struct_class = Types::StartApplicationOutput
|
452
|
+
|
412
453
|
StartApplicationRefreshInput.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "ApplicationId"))
|
413
454
|
StartApplicationRefreshInput.struct_class = Types::StartApplicationRefreshInput
|
414
455
|
|
415
456
|
StartApplicationRefreshOutput.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId"))
|
416
457
|
StartApplicationRefreshOutput.struct_class = Types::StartApplicationRefreshOutput
|
417
458
|
|
459
|
+
StopApplicationInput.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "ApplicationId"))
|
460
|
+
StopApplicationInput.add_member(:stop_connected_entity, Shapes::ShapeRef.new(shape: ConnectedEntityType, location_name: "StopConnectedEntity"))
|
461
|
+
StopApplicationInput.add_member(:include_ec2_instance_shutdown, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludeEc2InstanceShutdown"))
|
462
|
+
StopApplicationInput.struct_class = Types::StopApplicationInput
|
463
|
+
|
464
|
+
StopApplicationOutput.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId"))
|
465
|
+
StopApplicationOutput.struct_class = Types::StopApplicationOutput
|
466
|
+
|
418
467
|
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
419
468
|
|
420
469
|
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
@@ -594,6 +643,22 @@ module Aws::SsmSap
|
|
594
643
|
)
|
595
644
|
end)
|
596
645
|
|
646
|
+
api.add_operation(:list_operation_events, Seahorse::Model::Operation.new.tap do |o|
|
647
|
+
o.name = "ListOperationEvents"
|
648
|
+
o.http_method = "POST"
|
649
|
+
o.http_request_uri = "/list-operation-events"
|
650
|
+
o.input = Shapes::ShapeRef.new(shape: ListOperationEventsInput)
|
651
|
+
o.output = Shapes::ShapeRef.new(shape: ListOperationEventsOutput)
|
652
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
653
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
654
|
+
o[:pager] = Aws::Pager.new(
|
655
|
+
limit_key: "max_results",
|
656
|
+
tokens: {
|
657
|
+
"next_token" => "next_token"
|
658
|
+
}
|
659
|
+
)
|
660
|
+
end)
|
661
|
+
|
597
662
|
api.add_operation(:list_operations, Seahorse::Model::Operation.new.tap do |o|
|
598
663
|
o.name = "ListOperations"
|
599
664
|
o.http_method = "POST"
|
@@ -644,6 +709,18 @@ module Aws::SsmSap
|
|
644
709
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
645
710
|
end)
|
646
711
|
|
712
|
+
api.add_operation(:start_application, Seahorse::Model::Operation.new.tap do |o|
|
713
|
+
o.name = "StartApplication"
|
714
|
+
o.http_method = "POST"
|
715
|
+
o.http_request_uri = "/start-application"
|
716
|
+
o.input = Shapes::ShapeRef.new(shape: StartApplicationInput)
|
717
|
+
o.output = Shapes::ShapeRef.new(shape: StartApplicationOutput)
|
718
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
719
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
720
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
721
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
722
|
+
end)
|
723
|
+
|
647
724
|
api.add_operation(:start_application_refresh, Seahorse::Model::Operation.new.tap do |o|
|
648
725
|
o.name = "StartApplicationRefresh"
|
649
726
|
o.http_method = "POST"
|
@@ -657,6 +734,18 @@ module Aws::SsmSap
|
|
657
734
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
658
735
|
end)
|
659
736
|
|
737
|
+
api.add_operation(:stop_application, Seahorse::Model::Operation.new.tap do |o|
|
738
|
+
o.name = "StopApplication"
|
739
|
+
o.http_method = "POST"
|
740
|
+
o.http_request_uri = "/stop-application"
|
741
|
+
o.input = Shapes::ShapeRef.new(shape: StopApplicationInput)
|
742
|
+
o.output = Shapes::ShapeRef.new(shape: StopApplicationOutput)
|
743
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
744
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
745
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
746
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
747
|
+
end)
|
748
|
+
|
660
749
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
661
750
|
o.name = "TagResource"
|
662
751
|
o.http_method = "POST"
|
@@ -152,6 +152,20 @@ module Aws::SsmSap
|
|
152
152
|
end
|
153
153
|
end
|
154
154
|
|
155
|
+
class ListOperationEvents
|
156
|
+
def self.build(context)
|
157
|
+
unless context.config.regional_endpoint
|
158
|
+
endpoint = context.config.endpoint.to_s
|
159
|
+
end
|
160
|
+
Aws::SsmSap::EndpointParameters.new(
|
161
|
+
region: context.config.region,
|
162
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
163
|
+
use_fips: context.config.use_fips_endpoint,
|
164
|
+
endpoint: endpoint,
|
165
|
+
)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
155
169
|
class ListOperations
|
156
170
|
def self.build(context)
|
157
171
|
unless context.config.regional_endpoint
|
@@ -208,6 +222,20 @@ module Aws::SsmSap
|
|
208
222
|
end
|
209
223
|
end
|
210
224
|
|
225
|
+
class StartApplication
|
226
|
+
def self.build(context)
|
227
|
+
unless context.config.regional_endpoint
|
228
|
+
endpoint = context.config.endpoint.to_s
|
229
|
+
end
|
230
|
+
Aws::SsmSap::EndpointParameters.new(
|
231
|
+
region: context.config.region,
|
232
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
233
|
+
use_fips: context.config.use_fips_endpoint,
|
234
|
+
endpoint: endpoint,
|
235
|
+
)
|
236
|
+
end
|
237
|
+
end
|
238
|
+
|
211
239
|
class StartApplicationRefresh
|
212
240
|
def self.build(context)
|
213
241
|
unless context.config.regional_endpoint
|
@@ -222,6 +250,20 @@ module Aws::SsmSap
|
|
222
250
|
end
|
223
251
|
end
|
224
252
|
|
253
|
+
class StopApplication
|
254
|
+
def self.build(context)
|
255
|
+
unless context.config.regional_endpoint
|
256
|
+
endpoint = context.config.endpoint.to_s
|
257
|
+
end
|
258
|
+
Aws::SsmSap::EndpointParameters.new(
|
259
|
+
region: context.config.region,
|
260
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
261
|
+
use_fips: context.config.use_fips_endpoint,
|
262
|
+
endpoint: endpoint,
|
263
|
+
)
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
225
267
|
class TagResource
|
226
268
|
def self.build(context)
|
227
269
|
unless context.config.regional_endpoint
|
@@ -78,6 +78,8 @@ module Aws::SsmSap
|
|
78
78
|
Aws::SsmSap::Endpoints::ListComponents.build(context)
|
79
79
|
when :list_databases
|
80
80
|
Aws::SsmSap::Endpoints::ListDatabases.build(context)
|
81
|
+
when :list_operation_events
|
82
|
+
Aws::SsmSap::Endpoints::ListOperationEvents.build(context)
|
81
83
|
when :list_operations
|
82
84
|
Aws::SsmSap::Endpoints::ListOperations.build(context)
|
83
85
|
when :list_tags_for_resource
|
@@ -86,8 +88,12 @@ module Aws::SsmSap
|
|
86
88
|
Aws::SsmSap::Endpoints::PutResourcePermission.build(context)
|
87
89
|
when :register_application
|
88
90
|
Aws::SsmSap::Endpoints::RegisterApplication.build(context)
|
91
|
+
when :start_application
|
92
|
+
Aws::SsmSap::Endpoints::StartApplication.build(context)
|
89
93
|
when :start_application_refresh
|
90
94
|
Aws::SsmSap::Endpoints::StartApplicationRefresh.build(context)
|
95
|
+
when :stop_application
|
96
|
+
Aws::SsmSap::Endpoints::StopApplication.build(context)
|
91
97
|
when :tag_resource
|
92
98
|
Aws::SsmSap::Endpoints::TagResource.build(context)
|
93
99
|
when :untag_resource
|
data/lib/aws-sdk-ssmsap/types.rb
CHANGED
@@ -942,6 +942,62 @@ module Aws::SsmSap
|
|
942
942
|
include Aws::Structure
|
943
943
|
end
|
944
944
|
|
945
|
+
# @!attribute [rw] operation_id
|
946
|
+
# The ID of the operation.
|
947
|
+
# @return [String]
|
948
|
+
#
|
949
|
+
# @!attribute [rw] max_results
|
950
|
+
# The maximum number of results to return with a single call. To
|
951
|
+
# retrieve the remaining results, make another call with the returned
|
952
|
+
# nextToken value.
|
953
|
+
#
|
954
|
+
# If you do not specify a value for `MaxResults`, the request returns
|
955
|
+
# 50 items per page by default.
|
956
|
+
# @return [Integer]
|
957
|
+
#
|
958
|
+
# @!attribute [rw] next_token
|
959
|
+
# The token to use to retrieve the next page of results. This value is
|
960
|
+
# null when there are no more results to return.
|
961
|
+
# @return [String]
|
962
|
+
#
|
963
|
+
# @!attribute [rw] filters
|
964
|
+
# Optionally specify filters to narrow the returned operation event
|
965
|
+
# items.
|
966
|
+
#
|
967
|
+
# Valid filter names include `status`, `resourceID`, and
|
968
|
+
# `resourceType`. The valid operator for all three filters is
|
969
|
+
# `Equals`.
|
970
|
+
# @return [Array<Types::Filter>]
|
971
|
+
#
|
972
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/ListOperationEventsInput AWS API Documentation
|
973
|
+
#
|
974
|
+
class ListOperationEventsInput < Struct.new(
|
975
|
+
:operation_id,
|
976
|
+
:max_results,
|
977
|
+
:next_token,
|
978
|
+
:filters)
|
979
|
+
SENSITIVE = []
|
980
|
+
include Aws::Structure
|
981
|
+
end
|
982
|
+
|
983
|
+
# @!attribute [rw] operation_events
|
984
|
+
# A returned list of operation events that meet the filter criteria.
|
985
|
+
# @return [Array<Types::OperationEvent>]
|
986
|
+
#
|
987
|
+
# @!attribute [rw] next_token
|
988
|
+
# The token to use to retrieve the next page of results. This value is
|
989
|
+
# null when there are no more results to return.
|
990
|
+
# @return [String]
|
991
|
+
#
|
992
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/ListOperationEventsOutput AWS API Documentation
|
993
|
+
#
|
994
|
+
class ListOperationEventsOutput < Struct.new(
|
995
|
+
:operation_events,
|
996
|
+
:next_token)
|
997
|
+
SENSITIVE = []
|
998
|
+
include Aws::Structure
|
999
|
+
end
|
1000
|
+
|
945
1001
|
# @!attribute [rw] application_id
|
946
1002
|
# The ID of the application.
|
947
1003
|
# @return [String]
|
@@ -1077,6 +1133,60 @@ module Aws::SsmSap
|
|
1077
1133
|
include Aws::Structure
|
1078
1134
|
end
|
1079
1135
|
|
1136
|
+
# An operation event returns details for an operation, including key
|
1137
|
+
# milestones which can be used to monitor and track operations in
|
1138
|
+
# progress.
|
1139
|
+
#
|
1140
|
+
# Operation events contain:
|
1141
|
+
#
|
1142
|
+
# * Description string
|
1143
|
+
#
|
1144
|
+
# * Resource, including its ARN and type
|
1145
|
+
#
|
1146
|
+
# * Status
|
1147
|
+
#
|
1148
|
+
# * StatusMessage string
|
1149
|
+
#
|
1150
|
+
# * TimeStamp
|
1151
|
+
#
|
1152
|
+
# Operation event examples include StartApplication or StopApplication.
|
1153
|
+
#
|
1154
|
+
# @!attribute [rw] description
|
1155
|
+
# A description of the operation event. For example, "Stop the EC2
|
1156
|
+
# instance i-abcdefgh987654321".
|
1157
|
+
# @return [String]
|
1158
|
+
#
|
1159
|
+
# @!attribute [rw] resource
|
1160
|
+
# The resource involved in the operations event.
|
1161
|
+
#
|
1162
|
+
# Contains `ResourceArn` ARN and `ResourceType`.
|
1163
|
+
# @return [Types::Resource]
|
1164
|
+
#
|
1165
|
+
# @!attribute [rw] status
|
1166
|
+
# The status of the operation event. The possible statuses are:
|
1167
|
+
# `IN_PROGRESS`, `COMPLETED`, and `FAILED`.
|
1168
|
+
# @return [String]
|
1169
|
+
#
|
1170
|
+
# @!attribute [rw] status_message
|
1171
|
+
# The status message relating to a specific operation event.
|
1172
|
+
# @return [String]
|
1173
|
+
#
|
1174
|
+
# @!attribute [rw] timestamp
|
1175
|
+
# The timestamp of the specified operation event.
|
1176
|
+
# @return [Time]
|
1177
|
+
#
|
1178
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/OperationEvent AWS API Documentation
|
1179
|
+
#
|
1180
|
+
class OperationEvent < Struct.new(
|
1181
|
+
:description,
|
1182
|
+
:resource,
|
1183
|
+
:status,
|
1184
|
+
:status_message,
|
1185
|
+
:timestamp)
|
1186
|
+
SENSITIVE = []
|
1187
|
+
include Aws::Structure
|
1188
|
+
end
|
1189
|
+
|
1080
1190
|
# @!attribute [rw] action_type
|
1081
1191
|
# @return [String]
|
1082
1192
|
#
|
@@ -1206,6 +1316,31 @@ module Aws::SsmSap
|
|
1206
1316
|
include Aws::Structure
|
1207
1317
|
end
|
1208
1318
|
|
1319
|
+
# The resource contains a `ResourceArn` and the `ResourceType`.
|
1320
|
+
#
|
1321
|
+
# @!attribute [rw] resource_arn
|
1322
|
+
# The Amazon Resource Name (ARN) of the source resource.
|
1323
|
+
#
|
1324
|
+
# Example of `ResourceArn`:
|
1325
|
+
# "`arn:aws:ec2:us-east-1:111111111111:instance/i-abcdefgh987654321`"
|
1326
|
+
# @return [String]
|
1327
|
+
#
|
1328
|
+
# @!attribute [rw] resource_type
|
1329
|
+
# The resource type.
|
1330
|
+
#
|
1331
|
+
# Example of `ResourceType`: "`AWS::SystemsManagerSAP::Component`"
|
1332
|
+
# or "`AWS::EC2::Instance`".
|
1333
|
+
# @return [String]
|
1334
|
+
#
|
1335
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/Resource AWS API Documentation
|
1336
|
+
#
|
1337
|
+
class Resource < Struct.new(
|
1338
|
+
:resource_arn,
|
1339
|
+
:resource_type)
|
1340
|
+
SENSITIVE = []
|
1341
|
+
include Aws::Structure
|
1342
|
+
end
|
1343
|
+
|
1209
1344
|
# The resource is not available.
|
1210
1345
|
#
|
1211
1346
|
# @!attribute [rw] message
|
@@ -1219,6 +1354,30 @@ module Aws::SsmSap
|
|
1219
1354
|
include Aws::Structure
|
1220
1355
|
end
|
1221
1356
|
|
1357
|
+
# @!attribute [rw] application_id
|
1358
|
+
# The ID of the application.
|
1359
|
+
# @return [String]
|
1360
|
+
#
|
1361
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/StartApplicationInput AWS API Documentation
|
1362
|
+
#
|
1363
|
+
class StartApplicationInput < Struct.new(
|
1364
|
+
:application_id)
|
1365
|
+
SENSITIVE = []
|
1366
|
+
include Aws::Structure
|
1367
|
+
end
|
1368
|
+
|
1369
|
+
# @!attribute [rw] operation_id
|
1370
|
+
# The ID of the operation.
|
1371
|
+
# @return [String]
|
1372
|
+
#
|
1373
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/StartApplicationOutput AWS API Documentation
|
1374
|
+
#
|
1375
|
+
class StartApplicationOutput < Struct.new(
|
1376
|
+
:operation_id)
|
1377
|
+
SENSITIVE = []
|
1378
|
+
include Aws::Structure
|
1379
|
+
end
|
1380
|
+
|
1222
1381
|
# @!attribute [rw] application_id
|
1223
1382
|
# The ID of the application.
|
1224
1383
|
# @return [String]
|
@@ -1243,6 +1402,45 @@ module Aws::SsmSap
|
|
1243
1402
|
include Aws::Structure
|
1244
1403
|
end
|
1245
1404
|
|
1405
|
+
# @!attribute [rw] application_id
|
1406
|
+
# The ID of the application.
|
1407
|
+
# @return [String]
|
1408
|
+
#
|
1409
|
+
# @!attribute [rw] stop_connected_entity
|
1410
|
+
# Specify the `ConnectedEntityType`. Accepted type is `DBMS`.
|
1411
|
+
#
|
1412
|
+
# If this parameter is included, the connected DBMS (Database
|
1413
|
+
# Management System) will be stopped.
|
1414
|
+
# @return [String]
|
1415
|
+
#
|
1416
|
+
# @!attribute [rw] include_ec2_instance_shutdown
|
1417
|
+
# Boolean. If included and if set to `True`, the StopApplication
|
1418
|
+
# operation will shut down the associated Amazon EC2 instance in
|
1419
|
+
# addition to the application.
|
1420
|
+
# @return [Boolean]
|
1421
|
+
#
|
1422
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/StopApplicationInput AWS API Documentation
|
1423
|
+
#
|
1424
|
+
class StopApplicationInput < Struct.new(
|
1425
|
+
:application_id,
|
1426
|
+
:stop_connected_entity,
|
1427
|
+
:include_ec2_instance_shutdown)
|
1428
|
+
SENSITIVE = []
|
1429
|
+
include Aws::Structure
|
1430
|
+
end
|
1431
|
+
|
1432
|
+
# @!attribute [rw] operation_id
|
1433
|
+
# The ID of the operation.
|
1434
|
+
# @return [String]
|
1435
|
+
#
|
1436
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/StopApplicationOutput AWS API Documentation
|
1437
|
+
#
|
1438
|
+
class StopApplicationOutput < Struct.new(
|
1439
|
+
:operation_id)
|
1440
|
+
SENSITIVE = []
|
1441
|
+
include Aws::Structure
|
1442
|
+
end
|
1443
|
+
|
1246
1444
|
# @!attribute [rw] resource_arn
|
1247
1445
|
# The Amazon Resource Name (ARN) of the resource.
|
1248
1446
|
# @return [String]
|
data/lib/aws-sdk-ssmsap.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -199,6 +199,26 @@ module Aws
|
|
199
199
|
) -> _ListDatabasesResponseSuccess
|
200
200
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDatabasesResponseSuccess
|
201
201
|
|
202
|
+
interface _ListOperationEventsResponseSuccess
|
203
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListOperationEventsOutput]
|
204
|
+
def operation_events: () -> ::Array[Types::OperationEvent]
|
205
|
+
def next_token: () -> ::String
|
206
|
+
end
|
207
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SsmSap/Client.html#list_operation_events-instance_method
|
208
|
+
def list_operation_events: (
|
209
|
+
operation_id: ::String,
|
210
|
+
?max_results: ::Integer,
|
211
|
+
?next_token: ::String,
|
212
|
+
?filters: Array[
|
213
|
+
{
|
214
|
+
name: ::String,
|
215
|
+
value: ::String,
|
216
|
+
operator: ("Equals" | "GreaterThanOrEquals" | "LessThanOrEquals")
|
217
|
+
},
|
218
|
+
]
|
219
|
+
) -> _ListOperationEventsResponseSuccess
|
220
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListOperationEventsResponseSuccess
|
221
|
+
|
202
222
|
interface _ListOperationsResponseSuccess
|
203
223
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListOperationsOutput]
|
204
224
|
def operations: () -> ::Array[Types::Operation]
|
@@ -265,6 +285,16 @@ module Aws
|
|
265
285
|
) -> _RegisterApplicationResponseSuccess
|
266
286
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterApplicationResponseSuccess
|
267
287
|
|
288
|
+
interface _StartApplicationResponseSuccess
|
289
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartApplicationOutput]
|
290
|
+
def operation_id: () -> ::String
|
291
|
+
end
|
292
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SsmSap/Client.html#start_application-instance_method
|
293
|
+
def start_application: (
|
294
|
+
application_id: ::String
|
295
|
+
) -> _StartApplicationResponseSuccess
|
296
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartApplicationResponseSuccess
|
297
|
+
|
268
298
|
interface _StartApplicationRefreshResponseSuccess
|
269
299
|
include ::Seahorse::Client::_ResponseSuccess[Types::StartApplicationRefreshOutput]
|
270
300
|
def operation_id: () -> ::String
|
@@ -275,6 +305,18 @@ module Aws
|
|
275
305
|
) -> _StartApplicationRefreshResponseSuccess
|
276
306
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartApplicationRefreshResponseSuccess
|
277
307
|
|
308
|
+
interface _StopApplicationResponseSuccess
|
309
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopApplicationOutput]
|
310
|
+
def operation_id: () -> ::String
|
311
|
+
end
|
312
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SsmSap/Client.html#stop_application-instance_method
|
313
|
+
def stop_application: (
|
314
|
+
application_id: ::String,
|
315
|
+
?stop_connected_entity: ("DBMS"),
|
316
|
+
?include_ec2_instance_shutdown: bool
|
317
|
+
) -> _StopApplicationResponseSuccess
|
318
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopApplicationResponseSuccess
|
319
|
+
|
278
320
|
interface _TagResourceResponseSuccess
|
279
321
|
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
280
322
|
end
|
data/sig/types.rbs
CHANGED
@@ -270,6 +270,20 @@ module Aws::SsmSap
|
|
270
270
|
SENSITIVE: []
|
271
271
|
end
|
272
272
|
|
273
|
+
class ListOperationEventsInput
|
274
|
+
attr_accessor operation_id: ::String
|
275
|
+
attr_accessor max_results: ::Integer
|
276
|
+
attr_accessor next_token: ::String
|
277
|
+
attr_accessor filters: ::Array[Types::Filter]
|
278
|
+
SENSITIVE: []
|
279
|
+
end
|
280
|
+
|
281
|
+
class ListOperationEventsOutput
|
282
|
+
attr_accessor operation_events: ::Array[Types::OperationEvent]
|
283
|
+
attr_accessor next_token: ::String
|
284
|
+
SENSITIVE: []
|
285
|
+
end
|
286
|
+
|
273
287
|
class ListOperationsInput
|
274
288
|
attr_accessor application_id: ::String
|
275
289
|
attr_accessor max_results: ::Integer
|
@@ -309,6 +323,15 @@ module Aws::SsmSap
|
|
309
323
|
SENSITIVE: []
|
310
324
|
end
|
311
325
|
|
326
|
+
class OperationEvent
|
327
|
+
attr_accessor description: ::String
|
328
|
+
attr_accessor resource: Types::Resource
|
329
|
+
attr_accessor status: ("IN_PROGRESS" | "COMPLETED" | "FAILED")
|
330
|
+
attr_accessor status_message: ::String
|
331
|
+
attr_accessor timestamp: ::Time
|
332
|
+
SENSITIVE: []
|
333
|
+
end
|
334
|
+
|
312
335
|
class PutResourcePermissionInput
|
313
336
|
attr_accessor action_type: ("RESTORE")
|
314
337
|
attr_accessor source_resource_arn: ::String
|
@@ -348,11 +371,27 @@ module Aws::SsmSap
|
|
348
371
|
SENSITIVE: []
|
349
372
|
end
|
350
373
|
|
374
|
+
class Resource
|
375
|
+
attr_accessor resource_arn: ::String
|
376
|
+
attr_accessor resource_type: ::String
|
377
|
+
SENSITIVE: []
|
378
|
+
end
|
379
|
+
|
351
380
|
class ResourceNotFoundException
|
352
381
|
attr_accessor message: ::String
|
353
382
|
SENSITIVE: []
|
354
383
|
end
|
355
384
|
|
385
|
+
class StartApplicationInput
|
386
|
+
attr_accessor application_id: ::String
|
387
|
+
SENSITIVE: []
|
388
|
+
end
|
389
|
+
|
390
|
+
class StartApplicationOutput
|
391
|
+
attr_accessor operation_id: ::String
|
392
|
+
SENSITIVE: []
|
393
|
+
end
|
394
|
+
|
356
395
|
class StartApplicationRefreshInput
|
357
396
|
attr_accessor application_id: ::String
|
358
397
|
SENSITIVE: []
|
@@ -363,6 +402,18 @@ module Aws::SsmSap
|
|
363
402
|
SENSITIVE: []
|
364
403
|
end
|
365
404
|
|
405
|
+
class StopApplicationInput
|
406
|
+
attr_accessor application_id: ::String
|
407
|
+
attr_accessor stop_connected_entity: ("DBMS")
|
408
|
+
attr_accessor include_ec2_instance_shutdown: bool
|
409
|
+
SENSITIVE: []
|
410
|
+
end
|
411
|
+
|
412
|
+
class StopApplicationOutput
|
413
|
+
attr_accessor operation_id: ::String
|
414
|
+
SENSITIVE: []
|
415
|
+
end
|
416
|
+
|
366
417
|
class TagResourceRequest
|
367
418
|
attr_accessor resource_arn: ::String
|
368
419
|
attr_accessor tags: ::Hash[::String, ::String]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ssmsap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.18.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
|
+
date: 2024-05-09 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.
|
22
|
+
version: 3.193.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.
|
32
|
+
version: 3.193.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|