aws-sdk-sms 1.12.0 → 1.13.0
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-sms.rb +1 -1
- data/lib/aws-sdk-sms/client.rb +1 -1
- data/lib/aws-sdk-sms/client_api.rb +30 -0
- data/lib/aws-sdk-sms/errors.rb +160 -0
- data/lib/aws-sdk-sms/types.rb +122 -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: 1b2978f609171d6ba2eef1742bb1b6c00ef9d1a5
|
4
|
+
data.tar.gz: d999bafd96d84e40f28606a507813d8a7a6111b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 992846fbc269769435dc5a0127f36e1ebe5027161cf4ef0b05a0248fc6ead4adfc3d878693e9dc889ff2b78e3e2c0169de75336d75a1f15b9167fba72c0c934a
|
7
|
+
data.tar.gz: 9b82548c55449720e4e6c75eaa0718c5eda5a11527ceea0d4035924b19d7368219648b4718ba93d0fff7aac0405250cbb9ca8a17b2170247c75cfe35b15f9f7d
|
data/lib/aws-sdk-sms.rb
CHANGED
data/lib/aws-sdk-sms/client.rb
CHANGED
@@ -355,6 +355,12 @@ module Aws::SMS
|
|
355
355
|
|
356
356
|
ImportServerCatalogResponse.struct_class = Types::ImportServerCatalogResponse
|
357
357
|
|
358
|
+
InternalError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
359
|
+
InternalError.struct_class = Types::InternalError
|
360
|
+
|
361
|
+
InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
362
|
+
InvalidParameterException.struct_class = Types::InvalidParameterException
|
363
|
+
|
358
364
|
LaunchAppRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, location_name: "appId"))
|
359
365
|
LaunchAppRequest.struct_class = Types::LaunchAppRequest
|
360
366
|
|
@@ -374,6 +380,15 @@ module Aws::SMS
|
|
374
380
|
ListAppsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
375
381
|
ListAppsResponse.struct_class = Types::ListAppsResponse
|
376
382
|
|
383
|
+
MissingRequiredParameterException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
384
|
+
MissingRequiredParameterException.struct_class = Types::MissingRequiredParameterException
|
385
|
+
|
386
|
+
NoConnectorsAvailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
387
|
+
NoConnectorsAvailableException.struct_class = Types::NoConnectorsAvailableException
|
388
|
+
|
389
|
+
OperationNotPermittedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
390
|
+
OperationNotPermittedException.struct_class = Types::OperationNotPermittedException
|
391
|
+
|
377
392
|
PutAppLaunchConfigurationRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, location_name: "appId"))
|
378
393
|
PutAppLaunchConfigurationRequest.add_member(:role_name, Shapes::ShapeRef.new(shape: RoleName, location_name: "roleName"))
|
379
394
|
PutAppLaunchConfigurationRequest.add_member(:server_group_launch_configurations, Shapes::ShapeRef.new(shape: ServerGroupLaunchConfigurations, location_name: "serverGroupLaunchConfigurations"))
|
@@ -407,8 +422,14 @@ module Aws::SMS
|
|
407
422
|
ReplicationJob.add_member(:replication_run_list, Shapes::ShapeRef.new(shape: ReplicationRunList, location_name: "replicationRunList"))
|
408
423
|
ReplicationJob.struct_class = Types::ReplicationJob
|
409
424
|
|
425
|
+
ReplicationJobAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
426
|
+
ReplicationJobAlreadyExistsException.struct_class = Types::ReplicationJobAlreadyExistsException
|
427
|
+
|
410
428
|
ReplicationJobList.member = Shapes::ShapeRef.new(shape: ReplicationJob)
|
411
429
|
|
430
|
+
ReplicationJobNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
431
|
+
ReplicationJobNotFoundException.struct_class = Types::ReplicationJobNotFoundException
|
432
|
+
|
412
433
|
ReplicationRun.add_member(:replication_run_id, Shapes::ShapeRef.new(shape: ReplicationRunId, location_name: "replicationRunId"))
|
413
434
|
ReplicationRun.add_member(:state, Shapes::ShapeRef.new(shape: ReplicationRunState, location_name: "state"))
|
414
435
|
ReplicationRun.add_member(:type, Shapes::ShapeRef.new(shape: ReplicationRunType, location_name: "type"))
|
@@ -422,6 +443,9 @@ module Aws::SMS
|
|
422
443
|
ReplicationRun.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
|
423
444
|
ReplicationRun.struct_class = Types::ReplicationRun
|
424
445
|
|
446
|
+
ReplicationRunLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
447
|
+
ReplicationRunLimitExceededException.struct_class = Types::ReplicationRunLimitExceededException
|
448
|
+
|
425
449
|
ReplicationRunList.member = Shapes::ShapeRef.new(shape: ReplicationRun)
|
426
450
|
|
427
451
|
ReplicationRunStageDetails.add_member(:stage, Shapes::ShapeRef.new(shape: ReplicationRunStage, location_name: "stage"))
|
@@ -439,6 +463,9 @@ module Aws::SMS
|
|
439
463
|
Server.add_member(:replication_job_terminated, Shapes::ShapeRef.new(shape: ReplicationJobTerminated, location_name: "replicationJobTerminated"))
|
440
464
|
Server.struct_class = Types::Server
|
441
465
|
|
466
|
+
ServerCannotBeReplicatedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
467
|
+
ServerCannotBeReplicatedException.struct_class = Types::ServerCannotBeReplicatedException
|
468
|
+
|
442
469
|
ServerGroup.add_member(:server_group_id, Shapes::ShapeRef.new(shape: ServerGroupId, location_name: "serverGroupId"))
|
443
470
|
ServerGroup.add_member(:name, Shapes::ShapeRef.new(shape: ServerGroupName, location_name: "name"))
|
444
471
|
ServerGroup.add_member(:server_list, Shapes::ShapeRef.new(shape: ServerList, location_name: "serverList"))
|
@@ -517,6 +544,9 @@ module Aws::SMS
|
|
517
544
|
|
518
545
|
TerminateAppResponse.struct_class = Types::TerminateAppResponse
|
519
546
|
|
547
|
+
UnauthorizedOperationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
548
|
+
UnauthorizedOperationException.struct_class = Types::UnauthorizedOperationException
|
549
|
+
|
520
550
|
UpdateAppRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, location_name: "appId"))
|
521
551
|
UpdateAppRequest.add_member(:name, Shapes::ShapeRef.new(shape: AppName, location_name: "name"))
|
522
552
|
UpdateAppRequest.add_member(:description, Shapes::ShapeRef.new(shape: AppDescription, location_name: "description"))
|
data/lib/aws-sdk-sms/errors.rb
CHANGED
@@ -10,5 +10,165 @@ module Aws::SMS
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class InternalError < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::SMS::Types::InternalError] data
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
+
super(context, message, data)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def message
|
24
|
+
@message || @data[:message]
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
class InvalidParameterException < ServiceError
|
30
|
+
|
31
|
+
# @param [Seahorse::Client::RequestContext] context
|
32
|
+
# @param [String] message
|
33
|
+
# @param [Aws::SMS::Types::InvalidParameterException] data
|
34
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
35
|
+
super(context, message, data)
|
36
|
+
end
|
37
|
+
|
38
|
+
# @return [String]
|
39
|
+
def message
|
40
|
+
@message || @data[:message]
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
44
|
+
|
45
|
+
class MissingRequiredParameterException < ServiceError
|
46
|
+
|
47
|
+
# @param [Seahorse::Client::RequestContext] context
|
48
|
+
# @param [String] message
|
49
|
+
# @param [Aws::SMS::Types::MissingRequiredParameterException] data
|
50
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
51
|
+
super(context, message, data)
|
52
|
+
end
|
53
|
+
|
54
|
+
# @return [String]
|
55
|
+
def message
|
56
|
+
@message || @data[:message]
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
|
61
|
+
class NoConnectorsAvailableException < ServiceError
|
62
|
+
|
63
|
+
# @param [Seahorse::Client::RequestContext] context
|
64
|
+
# @param [String] message
|
65
|
+
# @param [Aws::SMS::Types::NoConnectorsAvailableException] data
|
66
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
67
|
+
super(context, message, data)
|
68
|
+
end
|
69
|
+
|
70
|
+
# @return [String]
|
71
|
+
def message
|
72
|
+
@message || @data[:message]
|
73
|
+
end
|
74
|
+
|
75
|
+
end
|
76
|
+
|
77
|
+
class OperationNotPermittedException < ServiceError
|
78
|
+
|
79
|
+
# @param [Seahorse::Client::RequestContext] context
|
80
|
+
# @param [String] message
|
81
|
+
# @param [Aws::SMS::Types::OperationNotPermittedException] data
|
82
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
83
|
+
super(context, message, data)
|
84
|
+
end
|
85
|
+
|
86
|
+
# @return [String]
|
87
|
+
def message
|
88
|
+
@message || @data[:message]
|
89
|
+
end
|
90
|
+
|
91
|
+
end
|
92
|
+
|
93
|
+
class ReplicationJobAlreadyExistsException < ServiceError
|
94
|
+
|
95
|
+
# @param [Seahorse::Client::RequestContext] context
|
96
|
+
# @param [String] message
|
97
|
+
# @param [Aws::SMS::Types::ReplicationJobAlreadyExistsException] data
|
98
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
99
|
+
super(context, message, data)
|
100
|
+
end
|
101
|
+
|
102
|
+
# @return [String]
|
103
|
+
def message
|
104
|
+
@message || @data[:message]
|
105
|
+
end
|
106
|
+
|
107
|
+
end
|
108
|
+
|
109
|
+
class ReplicationJobNotFoundException < ServiceError
|
110
|
+
|
111
|
+
# @param [Seahorse::Client::RequestContext] context
|
112
|
+
# @param [String] message
|
113
|
+
# @param [Aws::SMS::Types::ReplicationJobNotFoundException] data
|
114
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
115
|
+
super(context, message, data)
|
116
|
+
end
|
117
|
+
|
118
|
+
# @return [String]
|
119
|
+
def message
|
120
|
+
@message || @data[:message]
|
121
|
+
end
|
122
|
+
|
123
|
+
end
|
124
|
+
|
125
|
+
class ReplicationRunLimitExceededException < ServiceError
|
126
|
+
|
127
|
+
# @param [Seahorse::Client::RequestContext] context
|
128
|
+
# @param [String] message
|
129
|
+
# @param [Aws::SMS::Types::ReplicationRunLimitExceededException] data
|
130
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
131
|
+
super(context, message, data)
|
132
|
+
end
|
133
|
+
|
134
|
+
# @return [String]
|
135
|
+
def message
|
136
|
+
@message || @data[:message]
|
137
|
+
end
|
138
|
+
|
139
|
+
end
|
140
|
+
|
141
|
+
class ServerCannotBeReplicatedException < ServiceError
|
142
|
+
|
143
|
+
# @param [Seahorse::Client::RequestContext] context
|
144
|
+
# @param [String] message
|
145
|
+
# @param [Aws::SMS::Types::ServerCannotBeReplicatedException] data
|
146
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
147
|
+
super(context, message, data)
|
148
|
+
end
|
149
|
+
|
150
|
+
# @return [String]
|
151
|
+
def message
|
152
|
+
@message || @data[:message]
|
153
|
+
end
|
154
|
+
|
155
|
+
end
|
156
|
+
|
157
|
+
class UnauthorizedOperationException < ServiceError
|
158
|
+
|
159
|
+
# @param [Seahorse::Client::RequestContext] context
|
160
|
+
# @param [String] message
|
161
|
+
# @param [Aws::SMS::Types::UnauthorizedOperationException] data
|
162
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
163
|
+
super(context, message, data)
|
164
|
+
end
|
165
|
+
|
166
|
+
# @return [String]
|
167
|
+
def message
|
168
|
+
@message || @data[:message]
|
169
|
+
end
|
170
|
+
|
171
|
+
end
|
172
|
+
|
13
173
|
end
|
14
174
|
end
|
data/lib/aws-sdk-sms/types.rb
CHANGED
@@ -883,6 +883,30 @@ module Aws::SMS
|
|
883
883
|
#
|
884
884
|
class ImportServerCatalogResponse < Aws::EmptyStructure; end
|
885
885
|
|
886
|
+
# An internal error occurred.
|
887
|
+
#
|
888
|
+
# @!attribute [rw] message
|
889
|
+
# @return [String]
|
890
|
+
#
|
891
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/InternalError AWS API Documentation
|
892
|
+
#
|
893
|
+
class InternalError < Struct.new(
|
894
|
+
:message)
|
895
|
+
include Aws::Structure
|
896
|
+
end
|
897
|
+
|
898
|
+
# A specified parameter is not valid.
|
899
|
+
#
|
900
|
+
# @!attribute [rw] message
|
901
|
+
# @return [String]
|
902
|
+
#
|
903
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/InvalidParameterException AWS API Documentation
|
904
|
+
#
|
905
|
+
class InvalidParameterException < Struct.new(
|
906
|
+
:message)
|
907
|
+
include Aws::Structure
|
908
|
+
end
|
909
|
+
|
886
910
|
# @note When making an API call, you may pass LaunchAppRequest
|
887
911
|
# data as a hash:
|
888
912
|
#
|
@@ -976,6 +1000,42 @@ module Aws::SMS
|
|
976
1000
|
include Aws::Structure
|
977
1001
|
end
|
978
1002
|
|
1003
|
+
# A required parameter is missing.
|
1004
|
+
#
|
1005
|
+
# @!attribute [rw] message
|
1006
|
+
# @return [String]
|
1007
|
+
#
|
1008
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/MissingRequiredParameterException AWS API Documentation
|
1009
|
+
#
|
1010
|
+
class MissingRequiredParameterException < Struct.new(
|
1011
|
+
:message)
|
1012
|
+
include Aws::Structure
|
1013
|
+
end
|
1014
|
+
|
1015
|
+
# There are no connectors available.
|
1016
|
+
#
|
1017
|
+
# @!attribute [rw] message
|
1018
|
+
# @return [String]
|
1019
|
+
#
|
1020
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/NoConnectorsAvailableException AWS API Documentation
|
1021
|
+
#
|
1022
|
+
class NoConnectorsAvailableException < Struct.new(
|
1023
|
+
:message)
|
1024
|
+
include Aws::Structure
|
1025
|
+
end
|
1026
|
+
|
1027
|
+
# This operation is not allowed.
|
1028
|
+
#
|
1029
|
+
# @!attribute [rw] message
|
1030
|
+
# @return [String]
|
1031
|
+
#
|
1032
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/OperationNotPermittedException AWS API Documentation
|
1033
|
+
#
|
1034
|
+
class OperationNotPermittedException < Struct.new(
|
1035
|
+
:message)
|
1036
|
+
include Aws::Structure
|
1037
|
+
end
|
1038
|
+
|
979
1039
|
# @note When making an API call, you may pass PutAppLaunchConfigurationRequest
|
980
1040
|
# data as a hash:
|
981
1041
|
#
|
@@ -1224,6 +1284,30 @@ module Aws::SMS
|
|
1224
1284
|
include Aws::Structure
|
1225
1285
|
end
|
1226
1286
|
|
1287
|
+
# The specified replication job already exists.
|
1288
|
+
#
|
1289
|
+
# @!attribute [rw] message
|
1290
|
+
# @return [String]
|
1291
|
+
#
|
1292
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ReplicationJobAlreadyExistsException AWS API Documentation
|
1293
|
+
#
|
1294
|
+
class ReplicationJobAlreadyExistsException < Struct.new(
|
1295
|
+
:message)
|
1296
|
+
include Aws::Structure
|
1297
|
+
end
|
1298
|
+
|
1299
|
+
# The specified replication job does not exist.
|
1300
|
+
#
|
1301
|
+
# @!attribute [rw] message
|
1302
|
+
# @return [String]
|
1303
|
+
#
|
1304
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ReplicationJobNotFoundException AWS API Documentation
|
1305
|
+
#
|
1306
|
+
class ReplicationJobNotFoundException < Struct.new(
|
1307
|
+
:message)
|
1308
|
+
include Aws::Structure
|
1309
|
+
end
|
1310
|
+
|
1227
1311
|
# Represents a replication run.
|
1228
1312
|
#
|
1229
1313
|
# @!attribute [rw] replication_run_id
|
@@ -1301,6 +1385,19 @@ module Aws::SMS
|
|
1301
1385
|
include Aws::Structure
|
1302
1386
|
end
|
1303
1387
|
|
1388
|
+
# You have exceeded the number of on-demand replication runs you can
|
1389
|
+
# request in a 24-hour period.
|
1390
|
+
#
|
1391
|
+
# @!attribute [rw] message
|
1392
|
+
# @return [String]
|
1393
|
+
#
|
1394
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ReplicationRunLimitExceededException AWS API Documentation
|
1395
|
+
#
|
1396
|
+
class ReplicationRunLimitExceededException < Struct.new(
|
1397
|
+
:message)
|
1398
|
+
include Aws::Structure
|
1399
|
+
end
|
1400
|
+
|
1304
1401
|
# Details of the current stage of a replication run.
|
1305
1402
|
#
|
1306
1403
|
# @!attribute [rw] stage
|
@@ -1399,6 +1496,18 @@ module Aws::SMS
|
|
1399
1496
|
include Aws::Structure
|
1400
1497
|
end
|
1401
1498
|
|
1499
|
+
# The specified server cannot be replicated.
|
1500
|
+
#
|
1501
|
+
# @!attribute [rw] message
|
1502
|
+
# @return [String]
|
1503
|
+
#
|
1504
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ServerCannotBeReplicatedException AWS API Documentation
|
1505
|
+
#
|
1506
|
+
class ServerCannotBeReplicatedException < Struct.new(
|
1507
|
+
:message)
|
1508
|
+
include Aws::Structure
|
1509
|
+
end
|
1510
|
+
|
1402
1511
|
# A logical grouping of servers.
|
1403
1512
|
#
|
1404
1513
|
# @note When making an API call, you may pass ServerGroup
|
@@ -1907,6 +2016,19 @@ module Aws::SMS
|
|
1907
2016
|
#
|
1908
2017
|
class TerminateAppResponse < Aws::EmptyStructure; end
|
1909
2018
|
|
2019
|
+
# You lack permissions needed to perform this operation. Check your IAM
|
2020
|
+
# policies, and ensure that you are using the correct access keys.
|
2021
|
+
#
|
2022
|
+
# @!attribute [rw] message
|
2023
|
+
# @return [String]
|
2024
|
+
#
|
2025
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/UnauthorizedOperationException AWS API Documentation
|
2026
|
+
#
|
2027
|
+
class UnauthorizedOperationException < Struct.new(
|
2028
|
+
:message)
|
2029
|
+
include Aws::Structure
|
2030
|
+
end
|
2031
|
+
|
1910
2032
|
# @note When making an API call, you may pass UpdateAppRequest
|
1911
2033
|
# data as a hash:
|
1912
2034
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-sms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.13.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: 2019-05-
|
11
|
+
date: 2019-05-21 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.53.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.53.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|