aws-sdk-sms 1.0.0.rc1 → 1.0.0.rc2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-sms.rb +2 -2
- data/lib/aws-sdk-sms/client.rb +603 -509
- data/lib/aws-sdk-sms/client_api.rb +404 -406
- data/lib/aws-sdk-sms/errors.rb +4 -13
- data/lib/aws-sdk-sms/resource.rb +12 -14
- data/lib/aws-sdk-sms/types.rb +653 -561
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1953d7288152f21d5131e8736e325491ec25ba7f
|
4
|
+
data.tar.gz: e94edfb891a76fc660643445b5b6944ba010196a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3f38e809387e5849e3f0cdd1c43745695eac81d800ae58e22c78a3ee96e1b99ca669dbb0e33feda00379ab86e35a7c0716f39f154857c2ad6f65fd1c565e95b
|
7
|
+
data.tar.gz: 65bb5e38eea0550903d8a4efca52d5cc582392bc795b1d1cdb98e77947273025c2c1a282438daa5c5d69fb1662967ba44659978b63b8c23ac9361229ddd55149
|
data/lib/aws-sdk-sms.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
4
|
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
5
|
#
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-sms/customizations'
|
|
42
42
|
# @service
|
43
43
|
module Aws::SMS
|
44
44
|
|
45
|
-
GEM_VERSION = '1.0.0.
|
45
|
+
GEM_VERSION = '1.0.0.rc2'
|
46
46
|
|
47
47
|
end
|
data/lib/aws-sdk-sms/client.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
4
|
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
5
|
#
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
@@ -18,543 +18,637 @@ require 'aws-sdk-core/plugins/regional_endpoint.rb'
|
|
18
18
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
19
19
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
20
20
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
21
|
+
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
21
22
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
22
23
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
23
24
|
|
24
25
|
Aws::Plugins::GlobalConfiguration.add_identifier(:sms)
|
25
26
|
|
26
|
-
module Aws
|
27
|
-
|
28
|
-
class Client < Seahorse::Client::Base
|
27
|
+
module Aws::SMS
|
28
|
+
class Client < Seahorse::Client::Base
|
29
29
|
|
30
|
-
|
30
|
+
include Aws::ClientStubs
|
31
31
|
|
32
|
-
|
32
|
+
@identifier = :sms
|
33
33
|
|
34
|
-
|
34
|
+
set_api(ClientApi::API)
|
35
35
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
36
|
+
add_plugin(Seahorse::Client::Plugins::ContentLength)
|
37
|
+
add_plugin(Aws::Plugins::CredentialsConfiguration)
|
38
|
+
add_plugin(Aws::Plugins::Logging)
|
39
|
+
add_plugin(Aws::Plugins::ParamConverter)
|
40
|
+
add_plugin(Aws::Plugins::ParamValidator)
|
41
|
+
add_plugin(Aws::Plugins::UserAgent)
|
42
|
+
add_plugin(Aws::Plugins::HelpfulSocketErrors)
|
43
|
+
add_plugin(Aws::Plugins::RetryErrors)
|
44
|
+
add_plugin(Aws::Plugins::GlobalConfiguration)
|
45
|
+
add_plugin(Aws::Plugins::RegionalEndpoint)
|
46
|
+
add_plugin(Aws::Plugins::ResponsePaging)
|
47
|
+
add_plugin(Aws::Plugins::StubResponses)
|
48
|
+
add_plugin(Aws::Plugins::IdempotencyToken)
|
49
|
+
add_plugin(Aws::Plugins::JsonvalueConverter)
|
50
|
+
add_plugin(Aws::Plugins::SignatureV4)
|
51
|
+
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
51
52
|
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
53
|
+
# @option options [required, Aws::CredentialProvider] :credentials
|
54
|
+
# Your AWS credentials. This can be an instance of any one of the
|
55
|
+
# following classes:
|
56
|
+
#
|
57
|
+
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
58
|
+
# credentials.
|
59
|
+
#
|
60
|
+
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
61
|
+
# from an EC2 IMDS on an EC2 instance.
|
62
|
+
#
|
63
|
+
# * `Aws::SharedCredentials` - Used for loading credentials from a
|
64
|
+
# shared file, such as `~/.aws/config`.
|
65
|
+
#
|
66
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
67
|
+
#
|
68
|
+
# When `:credentials` are not configured directly, the following
|
69
|
+
# locations will be searched for credentials:
|
70
|
+
#
|
71
|
+
# * `Aws.config[:credentials]`
|
72
|
+
# * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
|
73
|
+
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
74
|
+
# * `~/.aws/credentials`
|
75
|
+
# * `~/.aws/config`
|
76
|
+
# * EC2 IMDS instance profile - When used by default, the timeouts are
|
77
|
+
# very aggressive. Construct and pass an instance of
|
78
|
+
# `Aws::InstanceProfileCredentails` to enable retries and extended
|
79
|
+
# timeouts.
|
80
|
+
#
|
81
|
+
# @option options [required, String] :region
|
82
|
+
# The AWS region to connect to. The configured `:region` is
|
83
|
+
# used to determine the service `:endpoint`. When not passed,
|
84
|
+
# a default `:region` is search for in the following locations:
|
85
|
+
#
|
86
|
+
# * `Aws.config[:region]`
|
87
|
+
# * `ENV['AWS_REGION']`
|
88
|
+
# * `ENV['AMAZON_REGION']`
|
89
|
+
# * `ENV['AWS_DEFAULT_REGION']`
|
90
|
+
# * `~/.aws/credentials`
|
91
|
+
# * `~/.aws/config`
|
92
|
+
#
|
93
|
+
# @option options [String] :access_key_id
|
94
|
+
#
|
95
|
+
# @option options [Boolean] :convert_params (true)
|
96
|
+
# When `true`, an attempt is made to coerce request parameters into
|
97
|
+
# the required types.
|
98
|
+
#
|
99
|
+
# @option options [String] :endpoint
|
100
|
+
# The client endpoint is normally constructed from the `:region`
|
101
|
+
# option. You should only configure an `:endpoint` when connecting
|
102
|
+
# to test endpoints. This should be avalid HTTP(S) URI.
|
103
|
+
#
|
104
|
+
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
105
|
+
# The log formatter.
|
106
|
+
#
|
107
|
+
# @option options [Symbol] :log_level (:info)
|
108
|
+
# The log level to send messages to the `:logger` at.
|
109
|
+
#
|
110
|
+
# @option options [Logger] :logger
|
111
|
+
# The Logger instance to send log messages to. If this option
|
112
|
+
# is not set, logging will be disabled.
|
113
|
+
#
|
114
|
+
# @option options [String] :profile ("default")
|
115
|
+
# Used when loading credentials from the shared credentials file
|
116
|
+
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
117
|
+
#
|
118
|
+
# @option options [Integer] :retry_limit (3)
|
119
|
+
# The maximum number of times to retry failed requests. Only
|
120
|
+
# ~ 500 level server errors and certain ~ 400 level client errors
|
121
|
+
# are retried. Generally, these are throttling errors, data
|
122
|
+
# checksum errors, networking errors, timeout errors and auth
|
123
|
+
# errors from expired credentials.
|
124
|
+
#
|
125
|
+
# @option options [String] :secret_access_key
|
126
|
+
#
|
127
|
+
# @option options [String] :session_token
|
128
|
+
#
|
129
|
+
# @option options [Boolean] :simple_json (false)
|
130
|
+
# Disables request parameter conversion, validation, and formatting.
|
131
|
+
# Also disable response data type conversions. This option is useful
|
132
|
+
# when you want to ensure the highest level of performance by
|
133
|
+
# avoiding overhead of walking request parameters and response data
|
134
|
+
# structures.
|
135
|
+
#
|
136
|
+
# When `:simple_json` is enabled, the request parameters hash must
|
137
|
+
# be formatted exactly as the DynamoDB API expects.
|
138
|
+
#
|
139
|
+
# @option options [Boolean] :stub_responses (false)
|
140
|
+
# Causes the client to return stubbed responses. By default
|
141
|
+
# fake responses are generated and returned. You can specify
|
142
|
+
# the response data to return or errors to raise by calling
|
143
|
+
# {ClientStubs#stub_responses}. See {ClientStubs} for more information.
|
144
|
+
#
|
145
|
+
# ** Please note ** When response stubbing is enabled, no HTTP
|
146
|
+
# requests are made, and retries are disabled.
|
147
|
+
#
|
148
|
+
# @option options [Boolean] :validate_params (true)
|
149
|
+
# When `true`, request parameters are validated before
|
150
|
+
# sending the request.
|
151
|
+
#
|
152
|
+
def initialize(*args)
|
153
|
+
super
|
154
|
+
end
|
139
155
|
|
140
|
-
|
156
|
+
# @!group API Operations
|
141
157
|
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
# })
|
196
|
-
# @overload delete_replication_job(params = {})
|
197
|
-
# @param [Hash] params ({})
|
198
|
-
def delete_replication_job(params = {}, options = {})
|
199
|
-
req = build_request(:delete_replication_job, params)
|
200
|
-
req.send_request(options)
|
201
|
-
end
|
158
|
+
# The CreateReplicationJob API is used to create a ReplicationJob to
|
159
|
+
# replicate a server on AWS. Call this API to first create a
|
160
|
+
# ReplicationJob, which will then schedule periodic ReplicationRuns to
|
161
|
+
# replicate your server to AWS. Each ReplicationRun will result in the
|
162
|
+
# creation of an AWS AMI.
|
163
|
+
#
|
164
|
+
# @option params [required, String] :server_id
|
165
|
+
# Unique Identifier for a server
|
166
|
+
#
|
167
|
+
# @option params [required, Time,DateTime,Date,Integer,String] :seed_replication_time
|
168
|
+
# Timestamp of an operation
|
169
|
+
#
|
170
|
+
# @option params [required, Integer] :frequency
|
171
|
+
# Interval between Replication Runs. This value is specified in hours,
|
172
|
+
# and represents the time between consecutive Replication Runs.
|
173
|
+
#
|
174
|
+
# @option params [String] :license_type
|
175
|
+
# The license type to be used for the Amazon Machine Image (AMI) created
|
176
|
+
# after a successful ReplicationRun.
|
177
|
+
#
|
178
|
+
# @option params [String] :role_name
|
179
|
+
# Name of service role in customer's account to be used by SMS service.
|
180
|
+
#
|
181
|
+
# @option params [String] :description
|
182
|
+
# The description for a Replication Job/Run.
|
183
|
+
#
|
184
|
+
# @return [Types::CreateReplicationJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
185
|
+
#
|
186
|
+
# * {Types::CreateReplicationJobResponse#replication_job_id #replication_job_id} => String
|
187
|
+
#
|
188
|
+
# @example Request syntax with placeholder values
|
189
|
+
#
|
190
|
+
# resp = client.create_replication_job({
|
191
|
+
# server_id: "ServerId", # required
|
192
|
+
# seed_replication_time: Time.now, # required
|
193
|
+
# frequency: 1, # required
|
194
|
+
# license_type: "AWS", # accepts AWS, BYOL
|
195
|
+
# role_name: "RoleName",
|
196
|
+
# description: "Description",
|
197
|
+
# })
|
198
|
+
#
|
199
|
+
# @example Response structure
|
200
|
+
#
|
201
|
+
# resp.replication_job_id #=> String
|
202
|
+
#
|
203
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/CreateReplicationJob AWS API Documentation
|
204
|
+
#
|
205
|
+
# @overload create_replication_job(params = {})
|
206
|
+
# @param [Hash] params ({})
|
207
|
+
def create_replication_job(params = {}, options = {})
|
208
|
+
req = build_request(:create_replication_job, params)
|
209
|
+
req.send_request(options)
|
210
|
+
end
|
202
211
|
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
212
|
+
# The DeleteReplicationJob API is used to delete a ReplicationJob,
|
213
|
+
# resulting in no further ReplicationRuns. This will delete the contents
|
214
|
+
# of the S3 bucket used to store SMS artifacts, but will not delete any
|
215
|
+
# AMIs created by the SMS service.
|
216
|
+
#
|
217
|
+
# @option params [required, String] :replication_job_id
|
218
|
+
# The unique identifier for a Replication Job.
|
219
|
+
#
|
220
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
221
|
+
#
|
222
|
+
# @example Request syntax with placeholder values
|
223
|
+
#
|
224
|
+
# resp = client.delete_replication_job({
|
225
|
+
# replication_job_id: "ReplicationJobId", # required
|
226
|
+
# })
|
227
|
+
#
|
228
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteReplicationJob AWS API Documentation
|
229
|
+
#
|
230
|
+
# @overload delete_replication_job(params = {})
|
231
|
+
# @param [Hash] params ({})
|
232
|
+
def delete_replication_job(params = {}, options = {})
|
233
|
+
req = build_request(:delete_replication_job, params)
|
234
|
+
req.send_request(options)
|
235
|
+
end
|
216
236
|
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
req = build_request(:disassociate_connector, params)
|
232
|
-
req.send_request(options)
|
233
|
-
end
|
237
|
+
# The DeleteServerCatalog API clears all servers from your server
|
238
|
+
# catalog. This means that these servers will no longer be accessible to
|
239
|
+
# the Server Migration Service.
|
240
|
+
#
|
241
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
242
|
+
#
|
243
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteServerCatalog AWS API Documentation
|
244
|
+
#
|
245
|
+
# @overload delete_server_catalog(params = {})
|
246
|
+
# @param [Hash] params ({})
|
247
|
+
def delete_server_catalog(params = {}, options = {})
|
248
|
+
req = build_request(:delete_server_catalog, params)
|
249
|
+
req.send_request(options)
|
250
|
+
end
|
234
251
|
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
# resp.connector_list[0].capability_list #=> Array
|
259
|
-
# resp.connector_list[0].capability_list[0] #=> String, one of "VSPHERE"
|
260
|
-
# resp.connector_list[0].vm_manager_name #=> String
|
261
|
-
# resp.connector_list[0].vm_manager_type #=> String, one of "VSPHERE"
|
262
|
-
# resp.connector_list[0].vm_manager_id #=> String
|
263
|
-
# resp.connector_list[0].ip_address #=> String
|
264
|
-
# resp.connector_list[0].mac_address #=> String
|
265
|
-
# resp.connector_list[0].associated_on #=> Time
|
266
|
-
# resp.next_token #=> String
|
267
|
-
# @overload get_connectors(params = {})
|
268
|
-
# @param [Hash] params ({})
|
269
|
-
def get_connectors(params = {}, options = {})
|
270
|
-
req = build_request(:get_connectors, params)
|
271
|
-
req.send_request(options)
|
272
|
-
end
|
252
|
+
# The DisassociateConnector API will disassociate a connector from the
|
253
|
+
# Server Migration Service, rendering it unavailable to support
|
254
|
+
# replication jobs.
|
255
|
+
#
|
256
|
+
# @option params [required, String] :connector_id
|
257
|
+
# Unique Identifier for Connector
|
258
|
+
#
|
259
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
260
|
+
#
|
261
|
+
# @example Request syntax with placeholder values
|
262
|
+
#
|
263
|
+
# resp = client.disassociate_connector({
|
264
|
+
# connector_id: "ConnectorId", # required
|
265
|
+
# })
|
266
|
+
#
|
267
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DisassociateConnector AWS API Documentation
|
268
|
+
#
|
269
|
+
# @overload disassociate_connector(params = {})
|
270
|
+
# @param [Hash] params ({})
|
271
|
+
def disassociate_connector(params = {}, options = {})
|
272
|
+
req = build_request(:disassociate_connector, params)
|
273
|
+
req.send_request(options)
|
274
|
+
end
|
273
275
|
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
# resp.replication_job_list[0].replication_run_list[0].status_message #=> String
|
321
|
-
# resp.replication_job_list[0].replication_run_list[0].ami_id #=> String
|
322
|
-
# resp.replication_job_list[0].replication_run_list[0].scheduled_start_time #=> Time
|
323
|
-
# resp.replication_job_list[0].replication_run_list[0].completed_time #=> Time
|
324
|
-
# resp.replication_job_list[0].replication_run_list[0].description #=> String
|
325
|
-
# resp.next_token #=> String
|
326
|
-
# @overload get_replication_jobs(params = {})
|
327
|
-
# @param [Hash] params ({})
|
328
|
-
def get_replication_jobs(params = {}, options = {})
|
329
|
-
req = build_request(:get_replication_jobs, params)
|
330
|
-
req.send_request(options)
|
331
|
-
end
|
276
|
+
# The GetConnectors API returns a list of connectors that are registered
|
277
|
+
# with the Server Migration Service.
|
278
|
+
#
|
279
|
+
# @option params [String] :next_token
|
280
|
+
# Pagination token to pass as input to API call
|
281
|
+
#
|
282
|
+
# @option params [Integer] :max_results
|
283
|
+
# The maximum number of results to return in one API call. If left
|
284
|
+
# empty, this will default to 50.
|
285
|
+
#
|
286
|
+
# @return [Types::GetConnectorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
287
|
+
#
|
288
|
+
# * {Types::GetConnectorsResponse#connector_list #connector_list} => Array<Types::Connector>
|
289
|
+
# * {Types::GetConnectorsResponse#next_token #next_token} => String
|
290
|
+
#
|
291
|
+
# @example Request syntax with placeholder values
|
292
|
+
#
|
293
|
+
# resp = client.get_connectors({
|
294
|
+
# next_token: "NextToken",
|
295
|
+
# max_results: 1,
|
296
|
+
# })
|
297
|
+
#
|
298
|
+
# @example Response structure
|
299
|
+
#
|
300
|
+
# resp.connector_list #=> Array
|
301
|
+
# resp.connector_list[0].connector_id #=> String
|
302
|
+
# resp.connector_list[0].version #=> String
|
303
|
+
# resp.connector_list[0].status #=> String, one of "HEALTHY", "UNHEALTHY"
|
304
|
+
# resp.connector_list[0].capability_list #=> Array
|
305
|
+
# resp.connector_list[0].capability_list[0] #=> String, one of "VSPHERE"
|
306
|
+
# resp.connector_list[0].vm_manager_name #=> String
|
307
|
+
# resp.connector_list[0].vm_manager_type #=> String, one of "VSPHERE"
|
308
|
+
# resp.connector_list[0].vm_manager_id #=> String
|
309
|
+
# resp.connector_list[0].ip_address #=> String
|
310
|
+
# resp.connector_list[0].mac_address #=> String
|
311
|
+
# resp.connector_list[0].associated_on #=> Time
|
312
|
+
# resp.next_token #=> String
|
313
|
+
#
|
314
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetConnectors AWS API Documentation
|
315
|
+
#
|
316
|
+
# @overload get_connectors(params = {})
|
317
|
+
# @param [Hash] params ({})
|
318
|
+
def get_connectors(params = {}, options = {})
|
319
|
+
req = build_request(:get_connectors, params)
|
320
|
+
req.send_request(options)
|
321
|
+
end
|
332
322
|
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
end
|
323
|
+
# The GetReplicationJobs API will return all of your ReplicationJobs and
|
324
|
+
# their details. This API returns a paginated list, that may be
|
325
|
+
# consecutively called with nextToken to retrieve all ReplicationJobs.
|
326
|
+
#
|
327
|
+
# @option params [String] :replication_job_id
|
328
|
+
# The unique identifier for a Replication Job.
|
329
|
+
#
|
330
|
+
# @option params [String] :next_token
|
331
|
+
# Pagination token to pass as input to API call
|
332
|
+
#
|
333
|
+
# @option params [Integer] :max_results
|
334
|
+
# The maximum number of results to return in one API call. If left
|
335
|
+
# empty, this will default to 50.
|
336
|
+
#
|
337
|
+
# @return [Types::GetReplicationJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
338
|
+
#
|
339
|
+
# * {Types::GetReplicationJobsResponse#replication_job_list #replication_job_list} => Array<Types::ReplicationJob>
|
340
|
+
# * {Types::GetReplicationJobsResponse#next_token #next_token} => String
|
341
|
+
#
|
342
|
+
# @example Request syntax with placeholder values
|
343
|
+
#
|
344
|
+
# resp = client.get_replication_jobs({
|
345
|
+
# replication_job_id: "ReplicationJobId",
|
346
|
+
# next_token: "NextToken",
|
347
|
+
# max_results: 1,
|
348
|
+
# })
|
349
|
+
#
|
350
|
+
# @example Response structure
|
351
|
+
#
|
352
|
+
# resp.replication_job_list #=> Array
|
353
|
+
# resp.replication_job_list[0].replication_job_id #=> String
|
354
|
+
# resp.replication_job_list[0].server_id #=> String
|
355
|
+
# resp.replication_job_list[0].server_type #=> String, one of "VIRTUAL_MACHINE"
|
356
|
+
# resp.replication_job_list[0].vm_server.vm_server_address.vm_manager_id #=> String
|
357
|
+
# resp.replication_job_list[0].vm_server.vm_server_address.vm_id #=> String
|
358
|
+
# resp.replication_job_list[0].vm_server.vm_name #=> String
|
359
|
+
# resp.replication_job_list[0].vm_server.vm_manager_name #=> String
|
360
|
+
# resp.replication_job_list[0].vm_server.vm_manager_type #=> String, one of "VSPHERE"
|
361
|
+
# resp.replication_job_list[0].vm_server.vm_path #=> String
|
362
|
+
# resp.replication_job_list[0].seed_replication_time #=> Time
|
363
|
+
# resp.replication_job_list[0].frequency #=> Integer
|
364
|
+
# resp.replication_job_list[0].next_replication_run_start_time #=> Time
|
365
|
+
# resp.replication_job_list[0].license_type #=> String, one of "AWS", "BYOL"
|
366
|
+
# resp.replication_job_list[0].role_name #=> String
|
367
|
+
# resp.replication_job_list[0].latest_ami_id #=> String
|
368
|
+
# resp.replication_job_list[0].state #=> String, one of "PENDING", "ACTIVE", "FAILED", "DELETING", "DELETED"
|
369
|
+
# resp.replication_job_list[0].status_message #=> String
|
370
|
+
# resp.replication_job_list[0].description #=> String
|
371
|
+
# resp.replication_job_list[0].replication_run_list #=> Array
|
372
|
+
# resp.replication_job_list[0].replication_run_list[0].replication_run_id #=> String
|
373
|
+
# resp.replication_job_list[0].replication_run_list[0].state #=> String, one of "PENDING", "MISSED", "ACTIVE", "FAILED", "COMPLETED", "DELETING", "DELETED"
|
374
|
+
# resp.replication_job_list[0].replication_run_list[0].type #=> String, one of "ON_DEMAND", "AUTOMATIC"
|
375
|
+
# resp.replication_job_list[0].replication_run_list[0].status_message #=> String
|
376
|
+
# resp.replication_job_list[0].replication_run_list[0].ami_id #=> String
|
377
|
+
# resp.replication_job_list[0].replication_run_list[0].scheduled_start_time #=> Time
|
378
|
+
# resp.replication_job_list[0].replication_run_list[0].completed_time #=> Time
|
379
|
+
# resp.replication_job_list[0].replication_run_list[0].description #=> String
|
380
|
+
# resp.next_token #=> String
|
381
|
+
#
|
382
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetReplicationJobs AWS API Documentation
|
383
|
+
#
|
384
|
+
# @overload get_replication_jobs(params = {})
|
385
|
+
# @param [Hash] params ({})
|
386
|
+
def get_replication_jobs(params = {}, options = {})
|
387
|
+
req = build_request(:get_replication_jobs, params)
|
388
|
+
req.send_request(options)
|
389
|
+
end
|
401
390
|
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
391
|
+
# The GetReplicationRuns API will return all ReplicationRuns for a given
|
392
|
+
# ReplicationJob. This API returns a paginated list, that may be
|
393
|
+
# consecutively called with nextToken to retrieve all ReplicationRuns
|
394
|
+
# for a ReplicationJob.
|
395
|
+
#
|
396
|
+
# @option params [required, String] :replication_job_id
|
397
|
+
# The unique identifier for a Replication Job.
|
398
|
+
#
|
399
|
+
# @option params [String] :next_token
|
400
|
+
# Pagination token to pass as input to API call
|
401
|
+
#
|
402
|
+
# @option params [Integer] :max_results
|
403
|
+
# The maximum number of results to return in one API call. If left
|
404
|
+
# empty, this will default to 50.
|
405
|
+
#
|
406
|
+
# @return [Types::GetReplicationRunsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
407
|
+
#
|
408
|
+
# * {Types::GetReplicationRunsResponse#replication_job #replication_job} => Types::ReplicationJob
|
409
|
+
# * {Types::GetReplicationRunsResponse#replication_run_list #replication_run_list} => Array<Types::ReplicationRun>
|
410
|
+
# * {Types::GetReplicationRunsResponse#next_token #next_token} => String
|
411
|
+
#
|
412
|
+
# @example Request syntax with placeholder values
|
413
|
+
#
|
414
|
+
# resp = client.get_replication_runs({
|
415
|
+
# replication_job_id: "ReplicationJobId", # required
|
416
|
+
# next_token: "NextToken",
|
417
|
+
# max_results: 1,
|
418
|
+
# })
|
419
|
+
#
|
420
|
+
# @example Response structure
|
421
|
+
#
|
422
|
+
# resp.replication_job.replication_job_id #=> String
|
423
|
+
# resp.replication_job.server_id #=> String
|
424
|
+
# resp.replication_job.server_type #=> String, one of "VIRTUAL_MACHINE"
|
425
|
+
# resp.replication_job.vm_server.vm_server_address.vm_manager_id #=> String
|
426
|
+
# resp.replication_job.vm_server.vm_server_address.vm_id #=> String
|
427
|
+
# resp.replication_job.vm_server.vm_name #=> String
|
428
|
+
# resp.replication_job.vm_server.vm_manager_name #=> String
|
429
|
+
# resp.replication_job.vm_server.vm_manager_type #=> String, one of "VSPHERE"
|
430
|
+
# resp.replication_job.vm_server.vm_path #=> String
|
431
|
+
# resp.replication_job.seed_replication_time #=> Time
|
432
|
+
# resp.replication_job.frequency #=> Integer
|
433
|
+
# resp.replication_job.next_replication_run_start_time #=> Time
|
434
|
+
# resp.replication_job.license_type #=> String, one of "AWS", "BYOL"
|
435
|
+
# resp.replication_job.role_name #=> String
|
436
|
+
# resp.replication_job.latest_ami_id #=> String
|
437
|
+
# resp.replication_job.state #=> String, one of "PENDING", "ACTIVE", "FAILED", "DELETING", "DELETED"
|
438
|
+
# resp.replication_job.status_message #=> String
|
439
|
+
# resp.replication_job.description #=> String
|
440
|
+
# resp.replication_job.replication_run_list #=> Array
|
441
|
+
# resp.replication_job.replication_run_list[0].replication_run_id #=> String
|
442
|
+
# resp.replication_job.replication_run_list[0].state #=> String, one of "PENDING", "MISSED", "ACTIVE", "FAILED", "COMPLETED", "DELETING", "DELETED"
|
443
|
+
# resp.replication_job.replication_run_list[0].type #=> String, one of "ON_DEMAND", "AUTOMATIC"
|
444
|
+
# resp.replication_job.replication_run_list[0].status_message #=> String
|
445
|
+
# resp.replication_job.replication_run_list[0].ami_id #=> String
|
446
|
+
# resp.replication_job.replication_run_list[0].scheduled_start_time #=> Time
|
447
|
+
# resp.replication_job.replication_run_list[0].completed_time #=> Time
|
448
|
+
# resp.replication_job.replication_run_list[0].description #=> String
|
449
|
+
# resp.replication_run_list #=> Array
|
450
|
+
# resp.replication_run_list[0].replication_run_id #=> String
|
451
|
+
# resp.replication_run_list[0].state #=> String, one of "PENDING", "MISSED", "ACTIVE", "FAILED", "COMPLETED", "DELETING", "DELETED"
|
452
|
+
# resp.replication_run_list[0].type #=> String, one of "ON_DEMAND", "AUTOMATIC"
|
453
|
+
# resp.replication_run_list[0].status_message #=> String
|
454
|
+
# resp.replication_run_list[0].ami_id #=> String
|
455
|
+
# resp.replication_run_list[0].scheduled_start_time #=> Time
|
456
|
+
# resp.replication_run_list[0].completed_time #=> Time
|
457
|
+
# resp.replication_run_list[0].description #=> String
|
458
|
+
# resp.next_token #=> String
|
459
|
+
#
|
460
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetReplicationRuns AWS API Documentation
|
461
|
+
#
|
462
|
+
# @overload get_replication_runs(params = {})
|
463
|
+
# @param [Hash] params ({})
|
464
|
+
def get_replication_runs(params = {}, options = {})
|
465
|
+
req = build_request(:get_replication_runs, params)
|
466
|
+
req.send_request(options)
|
467
|
+
end
|
444
468
|
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
469
|
+
# The GetServers API returns a list of all servers in your server
|
470
|
+
# catalog. For this call to succeed, you must previously have called
|
471
|
+
# ImportServerCatalog.
|
472
|
+
#
|
473
|
+
# @option params [String] :next_token
|
474
|
+
# Pagination token to pass as input to API call
|
475
|
+
#
|
476
|
+
# @option params [Integer] :max_results
|
477
|
+
# The maximum number of results to return in one API call. If left
|
478
|
+
# empty, this will default to 50.
|
479
|
+
#
|
480
|
+
# @return [Types::GetServersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
481
|
+
#
|
482
|
+
# * {Types::GetServersResponse#last_modified_on #last_modified_on} => Time
|
483
|
+
# * {Types::GetServersResponse#server_catalog_status #server_catalog_status} => String
|
484
|
+
# * {Types::GetServersResponse#server_list #server_list} => Array<Types::Server>
|
485
|
+
# * {Types::GetServersResponse#next_token #next_token} => String
|
486
|
+
#
|
487
|
+
# @example Request syntax with placeholder values
|
488
|
+
#
|
489
|
+
# resp = client.get_servers({
|
490
|
+
# next_token: "NextToken",
|
491
|
+
# max_results: 1,
|
492
|
+
# })
|
493
|
+
#
|
494
|
+
# @example Response structure
|
495
|
+
#
|
496
|
+
# resp.last_modified_on #=> Time
|
497
|
+
# resp.server_catalog_status #=> String, one of "NOT_IMPORTED", "IMPORTING", "AVAILABLE", "DELETED", "EXPIRED"
|
498
|
+
# resp.server_list #=> Array
|
499
|
+
# resp.server_list[0].server_id #=> String
|
500
|
+
# resp.server_list[0].server_type #=> String, one of "VIRTUAL_MACHINE"
|
501
|
+
# resp.server_list[0].vm_server.vm_server_address.vm_manager_id #=> String
|
502
|
+
# resp.server_list[0].vm_server.vm_server_address.vm_id #=> String
|
503
|
+
# resp.server_list[0].vm_server.vm_name #=> String
|
504
|
+
# resp.server_list[0].vm_server.vm_manager_name #=> String
|
505
|
+
# resp.server_list[0].vm_server.vm_manager_type #=> String, one of "VSPHERE"
|
506
|
+
# resp.server_list[0].vm_server.vm_path #=> String
|
507
|
+
# resp.server_list[0].replication_job_id #=> String
|
508
|
+
# resp.server_list[0].replication_job_terminated #=> Boolean
|
509
|
+
# resp.next_token #=> String
|
510
|
+
#
|
511
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetServers AWS API Documentation
|
512
|
+
#
|
513
|
+
# @overload get_servers(params = {})
|
514
|
+
# @param [Hash] params ({})
|
515
|
+
def get_servers(params = {}, options = {})
|
516
|
+
req = build_request(:get_servers, params)
|
517
|
+
req.send_request(options)
|
518
|
+
end
|
460
519
|
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
# description: "Description",
|
478
|
-
# })
|
479
|
-
#
|
480
|
-
# @example Response structure
|
481
|
-
# resp.replication_run_id #=> String
|
482
|
-
# @overload start_on_demand_replication_run(params = {})
|
483
|
-
# @param [Hash] params ({})
|
484
|
-
def start_on_demand_replication_run(params = {}, options = {})
|
485
|
-
req = build_request(:start_on_demand_replication_run, params)
|
486
|
-
req.send_request(options)
|
487
|
-
end
|
520
|
+
# The ImportServerCatalog API is used to gather the complete list of
|
521
|
+
# on-premises servers on your premises. This API call requires
|
522
|
+
# connectors to be installed and monitoring all servers you would like
|
523
|
+
# imported. This API call returns immediately, but may take some time to
|
524
|
+
# retrieve all of the servers.
|
525
|
+
#
|
526
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
527
|
+
#
|
528
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ImportServerCatalog AWS API Documentation
|
529
|
+
#
|
530
|
+
# @overload import_server_catalog(params = {})
|
531
|
+
# @param [Hash] params ({})
|
532
|
+
def import_server_catalog(params = {}, options = {})
|
533
|
+
req = build_request(:import_server_catalog, params)
|
534
|
+
req.send_request(options)
|
535
|
+
end
|
488
536
|
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
537
|
+
# The StartOnDemandReplicationRun API is used to start a ReplicationRun
|
538
|
+
# on demand (in addition to those that are scheduled based on your
|
539
|
+
# frequency). This ReplicationRun will start immediately.
|
540
|
+
# StartOnDemandReplicationRun is subject to limits on how many on demand
|
541
|
+
# ReplicationRuns you may call per 24-hour period.
|
542
|
+
#
|
543
|
+
# @option params [required, String] :replication_job_id
|
544
|
+
# The unique identifier for a Replication Job.
|
545
|
+
#
|
546
|
+
# @option params [String] :description
|
547
|
+
# The description for a Replication Job/Run.
|
548
|
+
#
|
549
|
+
# @return [Types::StartOnDemandReplicationRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
550
|
+
#
|
551
|
+
# * {Types::StartOnDemandReplicationRunResponse#replication_run_id #replication_run_id} => String
|
552
|
+
#
|
553
|
+
# @example Request syntax with placeholder values
|
554
|
+
#
|
555
|
+
# resp = client.start_on_demand_replication_run({
|
556
|
+
# replication_job_id: "ReplicationJobId", # required
|
557
|
+
# description: "Description",
|
558
|
+
# })
|
559
|
+
#
|
560
|
+
# @example Response structure
|
561
|
+
#
|
562
|
+
# resp.replication_run_id #=> String
|
563
|
+
#
|
564
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StartOnDemandReplicationRun AWS API Documentation
|
565
|
+
#
|
566
|
+
# @overload start_on_demand_replication_run(params = {})
|
567
|
+
# @param [Hash] params ({})
|
568
|
+
def start_on_demand_replication_run(params = {}, options = {})
|
569
|
+
req = build_request(:start_on_demand_replication_run, params)
|
570
|
+
req.send_request(options)
|
571
|
+
end
|
523
572
|
|
524
|
-
|
573
|
+
# The UpdateReplicationJob API is used to change the settings of your
|
574
|
+
# existing ReplicationJob created using CreateReplicationJob. Calling
|
575
|
+
# this API will affect the next scheduled ReplicationRun.
|
576
|
+
#
|
577
|
+
# @option params [required, String] :replication_job_id
|
578
|
+
# The unique identifier for a Replication Job.
|
579
|
+
#
|
580
|
+
# @option params [Integer] :frequency
|
581
|
+
# Interval between Replication Runs. This value is specified in hours,
|
582
|
+
# and represents the time between consecutive Replication Runs.
|
583
|
+
#
|
584
|
+
# @option params [Time,DateTime,Date,Integer,String] :next_replication_run_start_time
|
585
|
+
# Timestamp of an operation
|
586
|
+
#
|
587
|
+
# @option params [String] :license_type
|
588
|
+
# The license type to be used for the Amazon Machine Image (AMI) created
|
589
|
+
# after a successful ReplicationRun.
|
590
|
+
#
|
591
|
+
# @option params [String] :role_name
|
592
|
+
# Name of service role in customer's account to be used by SMS service.
|
593
|
+
#
|
594
|
+
# @option params [String] :description
|
595
|
+
# The description for a Replication Job/Run.
|
596
|
+
#
|
597
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
598
|
+
#
|
599
|
+
# @example Request syntax with placeholder values
|
600
|
+
#
|
601
|
+
# resp = client.update_replication_job({
|
602
|
+
# replication_job_id: "ReplicationJobId", # required
|
603
|
+
# frequency: 1,
|
604
|
+
# next_replication_run_start_time: Time.now,
|
605
|
+
# license_type: "AWS", # accepts AWS, BYOL
|
606
|
+
# role_name: "RoleName",
|
607
|
+
# description: "Description",
|
608
|
+
# })
|
609
|
+
#
|
610
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/UpdateReplicationJob AWS API Documentation
|
611
|
+
#
|
612
|
+
# @overload update_replication_job(params = {})
|
613
|
+
# @param [Hash] params ({})
|
614
|
+
def update_replication_job(params = {}, options = {})
|
615
|
+
req = build_request(:update_replication_job, params)
|
616
|
+
req.send_request(options)
|
617
|
+
end
|
525
618
|
|
526
|
-
|
527
|
-
# @api private
|
528
|
-
def build_request(operation_name, params = {})
|
529
|
-
handlers = @handlers.for(operation_name)
|
530
|
-
context = Seahorse::Client::RequestContext.new(
|
531
|
-
operation_name: operation_name,
|
532
|
-
operation: config.api.operation(operation_name),
|
533
|
-
client: self,
|
534
|
-
params: params,
|
535
|
-
config: config)
|
536
|
-
context[:gem_name] = 'aws-sdk-sms'
|
537
|
-
context[:gem_version] = '1.0.0.rc1'
|
538
|
-
Seahorse::Client::Request.new(handlers, context)
|
539
|
-
end
|
619
|
+
# @!endgroup
|
540
620
|
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
621
|
+
# @param params ({})
|
622
|
+
# @api private
|
623
|
+
def build_request(operation_name, params = {})
|
624
|
+
handlers = @handlers.for(operation_name)
|
625
|
+
context = Seahorse::Client::RequestContext.new(
|
626
|
+
operation_name: operation_name,
|
627
|
+
operation: config.api.operation(operation_name),
|
628
|
+
client: self,
|
629
|
+
params: params,
|
630
|
+
config: config)
|
631
|
+
context[:gem_name] = 'aws-sdk-sms'
|
632
|
+
context[:gem_version] = '1.0.0.rc2'
|
633
|
+
Seahorse::Client::Request.new(handlers, context)
|
634
|
+
end
|
546
635
|
|
547
|
-
|
636
|
+
# @api private
|
637
|
+
# @deprecated
|
638
|
+
def waiter_names
|
639
|
+
[]
|
640
|
+
end
|
548
641
|
|
549
|
-
|
550
|
-
attr_reader :identifier
|
642
|
+
class << self
|
551
643
|
|
552
|
-
|
553
|
-
|
554
|
-
Errors
|
555
|
-
end
|
644
|
+
# @api private
|
645
|
+
attr_reader :identifier
|
556
646
|
|
647
|
+
# @api private
|
648
|
+
def errors_module
|
649
|
+
Errors
|
557
650
|
end
|
651
|
+
|
558
652
|
end
|
559
653
|
end
|
560
654
|
end
|