aws-sdk-ssmsap 1.0.0
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 +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-ssmsap/client.rb +981 -0
- data/lib/aws-sdk-ssmsap/client_api.rb +557 -0
- data/lib/aws-sdk-ssmsap/customizations.rb +0 -0
- data/lib/aws-sdk-ssmsap/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-ssmsap/endpoint_provider.rb +110 -0
- data/lib/aws-sdk-ssmsap/endpoints.rb +239 -0
- data/lib/aws-sdk-ssmsap/errors.rb +102 -0
- data/lib/aws-sdk-ssmsap/plugins/endpoints.rb +100 -0
- data/lib/aws-sdk-ssmsap/resource.rb +26 -0
- data/lib/aws-sdk-ssmsap/types.rb +989 -0
- data/lib/aws-sdk-ssmsap.rb +57 -0
- metadata +94 -0
@@ -0,0 +1,989 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::SsmSap
|
11
|
+
module Types
|
12
|
+
|
13
|
+
# @!attribute [rw] id
|
14
|
+
# @return [String]
|
15
|
+
#
|
16
|
+
# @!attribute [rw] type
|
17
|
+
# @return [String]
|
18
|
+
#
|
19
|
+
# @!attribute [rw] arn
|
20
|
+
# @return [String]
|
21
|
+
#
|
22
|
+
# @!attribute [rw] app_registry_arn
|
23
|
+
# @return [String]
|
24
|
+
#
|
25
|
+
# @!attribute [rw] status
|
26
|
+
# @return [String]
|
27
|
+
#
|
28
|
+
# @!attribute [rw] components
|
29
|
+
# @return [Array<String>]
|
30
|
+
#
|
31
|
+
# @!attribute [rw] last_updated
|
32
|
+
# @return [Time]
|
33
|
+
#
|
34
|
+
# @!attribute [rw] status_message
|
35
|
+
# @return [String]
|
36
|
+
#
|
37
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/Application AWS API Documentation
|
38
|
+
#
|
39
|
+
class Application < Struct.new(
|
40
|
+
:id,
|
41
|
+
:type,
|
42
|
+
:arn,
|
43
|
+
:app_registry_arn,
|
44
|
+
:status,
|
45
|
+
:components,
|
46
|
+
:last_updated,
|
47
|
+
:status_message)
|
48
|
+
SENSITIVE = []
|
49
|
+
include Aws::Structure
|
50
|
+
end
|
51
|
+
|
52
|
+
# @note When making an API call, you may pass ApplicationCredential
|
53
|
+
# data as a hash:
|
54
|
+
#
|
55
|
+
# {
|
56
|
+
# database_name: "DatabaseName", # required
|
57
|
+
# credential_type: "ADMIN", # required, accepts ADMIN
|
58
|
+
# secret_id: "SecretId", # required
|
59
|
+
# }
|
60
|
+
#
|
61
|
+
# @!attribute [rw] database_name
|
62
|
+
# @return [String]
|
63
|
+
#
|
64
|
+
# @!attribute [rw] credential_type
|
65
|
+
# @return [String]
|
66
|
+
#
|
67
|
+
# @!attribute [rw] secret_id
|
68
|
+
# @return [String]
|
69
|
+
#
|
70
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/ApplicationCredential AWS API Documentation
|
71
|
+
#
|
72
|
+
class ApplicationCredential < Struct.new(
|
73
|
+
:database_name,
|
74
|
+
:credential_type,
|
75
|
+
:secret_id)
|
76
|
+
SENSITIVE = [:secret_id]
|
77
|
+
include Aws::Structure
|
78
|
+
end
|
79
|
+
|
80
|
+
# @!attribute [rw] id
|
81
|
+
# @return [String]
|
82
|
+
#
|
83
|
+
# @!attribute [rw] type
|
84
|
+
# @return [String]
|
85
|
+
#
|
86
|
+
# @!attribute [rw] arn
|
87
|
+
# @return [String]
|
88
|
+
#
|
89
|
+
# @!attribute [rw] tags
|
90
|
+
# @return [Hash<String,String>]
|
91
|
+
#
|
92
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/ApplicationSummary AWS API Documentation
|
93
|
+
#
|
94
|
+
class ApplicationSummary < Struct.new(
|
95
|
+
:id,
|
96
|
+
:type,
|
97
|
+
:arn,
|
98
|
+
:tags)
|
99
|
+
SENSITIVE = []
|
100
|
+
include Aws::Structure
|
101
|
+
end
|
102
|
+
|
103
|
+
# @!attribute [rw] component_id
|
104
|
+
# @return [String]
|
105
|
+
#
|
106
|
+
# @!attribute [rw] application_id
|
107
|
+
# @return [String]
|
108
|
+
#
|
109
|
+
# @!attribute [rw] component_type
|
110
|
+
# @return [String]
|
111
|
+
#
|
112
|
+
# @!attribute [rw] status
|
113
|
+
# @return [String]
|
114
|
+
#
|
115
|
+
# @!attribute [rw] databases
|
116
|
+
# @return [Array<String>]
|
117
|
+
#
|
118
|
+
# @!attribute [rw] hosts
|
119
|
+
# @return [Array<Types::Host>]
|
120
|
+
#
|
121
|
+
# @!attribute [rw] primary_host
|
122
|
+
# @return [String]
|
123
|
+
#
|
124
|
+
# @!attribute [rw] last_updated
|
125
|
+
# @return [Time]
|
126
|
+
#
|
127
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/Component AWS API Documentation
|
128
|
+
#
|
129
|
+
class Component < Struct.new(
|
130
|
+
:component_id,
|
131
|
+
:application_id,
|
132
|
+
:component_type,
|
133
|
+
:status,
|
134
|
+
:databases,
|
135
|
+
:hosts,
|
136
|
+
:primary_host,
|
137
|
+
:last_updated)
|
138
|
+
SENSITIVE = []
|
139
|
+
include Aws::Structure
|
140
|
+
end
|
141
|
+
|
142
|
+
# @!attribute [rw] application_id
|
143
|
+
# @return [String]
|
144
|
+
#
|
145
|
+
# @!attribute [rw] component_id
|
146
|
+
# @return [String]
|
147
|
+
#
|
148
|
+
# @!attribute [rw] component_type
|
149
|
+
# @return [String]
|
150
|
+
#
|
151
|
+
# @!attribute [rw] tags
|
152
|
+
# @return [Hash<String,String>]
|
153
|
+
#
|
154
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/ComponentSummary AWS API Documentation
|
155
|
+
#
|
156
|
+
class ComponentSummary < Struct.new(
|
157
|
+
:application_id,
|
158
|
+
:component_id,
|
159
|
+
:component_type,
|
160
|
+
:tags)
|
161
|
+
SENSITIVE = []
|
162
|
+
include Aws::Structure
|
163
|
+
end
|
164
|
+
|
165
|
+
# @!attribute [rw] message
|
166
|
+
# @return [String]
|
167
|
+
#
|
168
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/ConflictException AWS API Documentation
|
169
|
+
#
|
170
|
+
class ConflictException < Struct.new(
|
171
|
+
:message)
|
172
|
+
SENSITIVE = []
|
173
|
+
include Aws::Structure
|
174
|
+
end
|
175
|
+
|
176
|
+
# @!attribute [rw] application_id
|
177
|
+
# @return [String]
|
178
|
+
#
|
179
|
+
# @!attribute [rw] component_id
|
180
|
+
# @return [String]
|
181
|
+
#
|
182
|
+
# @!attribute [rw] credentials
|
183
|
+
# @return [Array<Types::ApplicationCredential>]
|
184
|
+
#
|
185
|
+
# @!attribute [rw] database_id
|
186
|
+
# @return [String]
|
187
|
+
#
|
188
|
+
# @!attribute [rw] database_name
|
189
|
+
# @return [String]
|
190
|
+
#
|
191
|
+
# @!attribute [rw] database_type
|
192
|
+
# @return [String]
|
193
|
+
#
|
194
|
+
# @!attribute [rw] arn
|
195
|
+
# @return [String]
|
196
|
+
#
|
197
|
+
# @!attribute [rw] status
|
198
|
+
# @return [String]
|
199
|
+
#
|
200
|
+
# @!attribute [rw] primary_host
|
201
|
+
# @return [String]
|
202
|
+
#
|
203
|
+
# @!attribute [rw] sql_port
|
204
|
+
# @return [Integer]
|
205
|
+
#
|
206
|
+
# @!attribute [rw] last_updated
|
207
|
+
# @return [Time]
|
208
|
+
#
|
209
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/Database AWS API Documentation
|
210
|
+
#
|
211
|
+
class Database < Struct.new(
|
212
|
+
:application_id,
|
213
|
+
:component_id,
|
214
|
+
:credentials,
|
215
|
+
:database_id,
|
216
|
+
:database_name,
|
217
|
+
:database_type,
|
218
|
+
:arn,
|
219
|
+
:status,
|
220
|
+
:primary_host,
|
221
|
+
:sql_port,
|
222
|
+
:last_updated)
|
223
|
+
SENSITIVE = []
|
224
|
+
include Aws::Structure
|
225
|
+
end
|
226
|
+
|
227
|
+
# @!attribute [rw] application_id
|
228
|
+
# @return [String]
|
229
|
+
#
|
230
|
+
# @!attribute [rw] component_id
|
231
|
+
# @return [String]
|
232
|
+
#
|
233
|
+
# @!attribute [rw] database_id
|
234
|
+
# @return [String]
|
235
|
+
#
|
236
|
+
# @!attribute [rw] database_type
|
237
|
+
# @return [String]
|
238
|
+
#
|
239
|
+
# @!attribute [rw] arn
|
240
|
+
# @return [String]
|
241
|
+
#
|
242
|
+
# @!attribute [rw] tags
|
243
|
+
# @return [Hash<String,String>]
|
244
|
+
#
|
245
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/DatabaseSummary AWS API Documentation
|
246
|
+
#
|
247
|
+
class DatabaseSummary < Struct.new(
|
248
|
+
:application_id,
|
249
|
+
:component_id,
|
250
|
+
:database_id,
|
251
|
+
:database_type,
|
252
|
+
:arn,
|
253
|
+
:tags)
|
254
|
+
SENSITIVE = []
|
255
|
+
include Aws::Structure
|
256
|
+
end
|
257
|
+
|
258
|
+
# @note When making an API call, you may pass DeleteResourcePermissionInput
|
259
|
+
# data as a hash:
|
260
|
+
#
|
261
|
+
# {
|
262
|
+
# action_type: "RESTORE", # accepts RESTORE
|
263
|
+
# source_resource_arn: "Arn",
|
264
|
+
# resource_arn: "Arn", # required
|
265
|
+
# }
|
266
|
+
#
|
267
|
+
# @!attribute [rw] action_type
|
268
|
+
# @return [String]
|
269
|
+
#
|
270
|
+
# @!attribute [rw] source_resource_arn
|
271
|
+
# @return [String]
|
272
|
+
#
|
273
|
+
# @!attribute [rw] resource_arn
|
274
|
+
# @return [String]
|
275
|
+
#
|
276
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/DeleteResourcePermissionInput AWS API Documentation
|
277
|
+
#
|
278
|
+
class DeleteResourcePermissionInput < Struct.new(
|
279
|
+
:action_type,
|
280
|
+
:source_resource_arn,
|
281
|
+
:resource_arn)
|
282
|
+
SENSITIVE = []
|
283
|
+
include Aws::Structure
|
284
|
+
end
|
285
|
+
|
286
|
+
# @!attribute [rw] policy
|
287
|
+
# @return [String]
|
288
|
+
#
|
289
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/DeleteResourcePermissionOutput AWS API Documentation
|
290
|
+
#
|
291
|
+
class DeleteResourcePermissionOutput < Struct.new(
|
292
|
+
:policy)
|
293
|
+
SENSITIVE = []
|
294
|
+
include Aws::Structure
|
295
|
+
end
|
296
|
+
|
297
|
+
# @note When making an API call, you may pass DeregisterApplicationInput
|
298
|
+
# data as a hash:
|
299
|
+
#
|
300
|
+
# {
|
301
|
+
# application_id: "ApplicationId", # required
|
302
|
+
# }
|
303
|
+
#
|
304
|
+
# @!attribute [rw] application_id
|
305
|
+
# @return [String]
|
306
|
+
#
|
307
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/DeregisterApplicationInput AWS API Documentation
|
308
|
+
#
|
309
|
+
class DeregisterApplicationInput < Struct.new(
|
310
|
+
:application_id)
|
311
|
+
SENSITIVE = []
|
312
|
+
include Aws::Structure
|
313
|
+
end
|
314
|
+
|
315
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/DeregisterApplicationOutput AWS API Documentation
|
316
|
+
#
|
317
|
+
class DeregisterApplicationOutput < Aws::EmptyStructure; end
|
318
|
+
|
319
|
+
# @note When making an API call, you may pass GetApplicationInput
|
320
|
+
# data as a hash:
|
321
|
+
#
|
322
|
+
# {
|
323
|
+
# application_id: "ApplicationId",
|
324
|
+
# application_arn: "SsmSapArn",
|
325
|
+
# }
|
326
|
+
#
|
327
|
+
# @!attribute [rw] application_id
|
328
|
+
# @return [String]
|
329
|
+
#
|
330
|
+
# @!attribute [rw] application_arn
|
331
|
+
# @return [String]
|
332
|
+
#
|
333
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/GetApplicationInput AWS API Documentation
|
334
|
+
#
|
335
|
+
class GetApplicationInput < Struct.new(
|
336
|
+
:application_id,
|
337
|
+
:application_arn)
|
338
|
+
SENSITIVE = []
|
339
|
+
include Aws::Structure
|
340
|
+
end
|
341
|
+
|
342
|
+
# @!attribute [rw] application
|
343
|
+
# @return [Types::Application]
|
344
|
+
#
|
345
|
+
# @!attribute [rw] tags
|
346
|
+
# @return [Hash<String,String>]
|
347
|
+
#
|
348
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/GetApplicationOutput AWS API Documentation
|
349
|
+
#
|
350
|
+
class GetApplicationOutput < Struct.new(
|
351
|
+
:application,
|
352
|
+
:tags)
|
353
|
+
SENSITIVE = []
|
354
|
+
include Aws::Structure
|
355
|
+
end
|
356
|
+
|
357
|
+
# @note When making an API call, you may pass GetComponentInput
|
358
|
+
# data as a hash:
|
359
|
+
#
|
360
|
+
# {
|
361
|
+
# application_id: "ApplicationId", # required
|
362
|
+
# component_id: "ComponentId", # required
|
363
|
+
# }
|
364
|
+
#
|
365
|
+
# @!attribute [rw] application_id
|
366
|
+
# @return [String]
|
367
|
+
#
|
368
|
+
# @!attribute [rw] component_id
|
369
|
+
# @return [String]
|
370
|
+
#
|
371
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/GetComponentInput AWS API Documentation
|
372
|
+
#
|
373
|
+
class GetComponentInput < Struct.new(
|
374
|
+
:application_id,
|
375
|
+
:component_id)
|
376
|
+
SENSITIVE = []
|
377
|
+
include Aws::Structure
|
378
|
+
end
|
379
|
+
|
380
|
+
# @!attribute [rw] component
|
381
|
+
# @return [Types::Component]
|
382
|
+
#
|
383
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/GetComponentOutput AWS API Documentation
|
384
|
+
#
|
385
|
+
class GetComponentOutput < Struct.new(
|
386
|
+
:component)
|
387
|
+
SENSITIVE = []
|
388
|
+
include Aws::Structure
|
389
|
+
end
|
390
|
+
|
391
|
+
# @note When making an API call, you may pass GetDatabaseInput
|
392
|
+
# data as a hash:
|
393
|
+
#
|
394
|
+
# {
|
395
|
+
# application_id: "ApplicationId",
|
396
|
+
# component_id: "ComponentId",
|
397
|
+
# database_id: "DatabaseId",
|
398
|
+
# database_arn: "SsmSapArn",
|
399
|
+
# }
|
400
|
+
#
|
401
|
+
# @!attribute [rw] application_id
|
402
|
+
# @return [String]
|
403
|
+
#
|
404
|
+
# @!attribute [rw] component_id
|
405
|
+
# @return [String]
|
406
|
+
#
|
407
|
+
# @!attribute [rw] database_id
|
408
|
+
# @return [String]
|
409
|
+
#
|
410
|
+
# @!attribute [rw] database_arn
|
411
|
+
# @return [String]
|
412
|
+
#
|
413
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/GetDatabaseInput AWS API Documentation
|
414
|
+
#
|
415
|
+
class GetDatabaseInput < Struct.new(
|
416
|
+
:application_id,
|
417
|
+
:component_id,
|
418
|
+
:database_id,
|
419
|
+
:database_arn)
|
420
|
+
SENSITIVE = []
|
421
|
+
include Aws::Structure
|
422
|
+
end
|
423
|
+
|
424
|
+
# @!attribute [rw] database
|
425
|
+
# @return [Types::Database]
|
426
|
+
#
|
427
|
+
# @!attribute [rw] tags
|
428
|
+
# @return [Hash<String,String>]
|
429
|
+
#
|
430
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/GetDatabaseOutput AWS API Documentation
|
431
|
+
#
|
432
|
+
class GetDatabaseOutput < Struct.new(
|
433
|
+
:database,
|
434
|
+
:tags)
|
435
|
+
SENSITIVE = []
|
436
|
+
include Aws::Structure
|
437
|
+
end
|
438
|
+
|
439
|
+
# @note When making an API call, you may pass GetOperationInput
|
440
|
+
# data as a hash:
|
441
|
+
#
|
442
|
+
# {
|
443
|
+
# operation_id: "OperationId", # required
|
444
|
+
# }
|
445
|
+
#
|
446
|
+
# @!attribute [rw] operation_id
|
447
|
+
# @return [String]
|
448
|
+
#
|
449
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/GetOperationInput AWS API Documentation
|
450
|
+
#
|
451
|
+
class GetOperationInput < Struct.new(
|
452
|
+
:operation_id)
|
453
|
+
SENSITIVE = []
|
454
|
+
include Aws::Structure
|
455
|
+
end
|
456
|
+
|
457
|
+
# @!attribute [rw] operation
|
458
|
+
# @return [Types::Operation]
|
459
|
+
#
|
460
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/GetOperationOutput AWS API Documentation
|
461
|
+
#
|
462
|
+
class GetOperationOutput < Struct.new(
|
463
|
+
:operation)
|
464
|
+
SENSITIVE = []
|
465
|
+
include Aws::Structure
|
466
|
+
end
|
467
|
+
|
468
|
+
# @note When making an API call, you may pass GetResourcePermissionInput
|
469
|
+
# data as a hash:
|
470
|
+
#
|
471
|
+
# {
|
472
|
+
# action_type: "RESTORE", # accepts RESTORE
|
473
|
+
# resource_arn: "Arn", # required
|
474
|
+
# }
|
475
|
+
#
|
476
|
+
# @!attribute [rw] action_type
|
477
|
+
# @return [String]
|
478
|
+
#
|
479
|
+
# @!attribute [rw] resource_arn
|
480
|
+
# @return [String]
|
481
|
+
#
|
482
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/GetResourcePermissionInput AWS API Documentation
|
483
|
+
#
|
484
|
+
class GetResourcePermissionInput < Struct.new(
|
485
|
+
:action_type,
|
486
|
+
:resource_arn)
|
487
|
+
SENSITIVE = []
|
488
|
+
include Aws::Structure
|
489
|
+
end
|
490
|
+
|
491
|
+
# @!attribute [rw] policy
|
492
|
+
# @return [String]
|
493
|
+
#
|
494
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/GetResourcePermissionOutput AWS API Documentation
|
495
|
+
#
|
496
|
+
class GetResourcePermissionOutput < Struct.new(
|
497
|
+
:policy)
|
498
|
+
SENSITIVE = []
|
499
|
+
include Aws::Structure
|
500
|
+
end
|
501
|
+
|
502
|
+
# @!attribute [rw] host_name
|
503
|
+
# @return [String]
|
504
|
+
#
|
505
|
+
# @!attribute [rw] host_role
|
506
|
+
# @return [String]
|
507
|
+
#
|
508
|
+
# @!attribute [rw] host_ip
|
509
|
+
# @return [String]
|
510
|
+
#
|
511
|
+
# @!attribute [rw] instance_id
|
512
|
+
# @return [String]
|
513
|
+
#
|
514
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/Host AWS API Documentation
|
515
|
+
#
|
516
|
+
class Host < Struct.new(
|
517
|
+
:host_name,
|
518
|
+
:host_role,
|
519
|
+
:host_ip,
|
520
|
+
:instance_id)
|
521
|
+
SENSITIVE = []
|
522
|
+
include Aws::Structure
|
523
|
+
end
|
524
|
+
|
525
|
+
# @!attribute [rw] message
|
526
|
+
# @return [String]
|
527
|
+
#
|
528
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/InternalServerException AWS API Documentation
|
529
|
+
#
|
530
|
+
class InternalServerException < Struct.new(
|
531
|
+
:message)
|
532
|
+
SENSITIVE = []
|
533
|
+
include Aws::Structure
|
534
|
+
end
|
535
|
+
|
536
|
+
# @note When making an API call, you may pass ListApplicationsInput
|
537
|
+
# data as a hash:
|
538
|
+
#
|
539
|
+
# {
|
540
|
+
# next_token: "NextToken",
|
541
|
+
# max_results: 1,
|
542
|
+
# }
|
543
|
+
#
|
544
|
+
# @!attribute [rw] next_token
|
545
|
+
# @return [String]
|
546
|
+
#
|
547
|
+
# @!attribute [rw] max_results
|
548
|
+
# @return [Integer]
|
549
|
+
#
|
550
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/ListApplicationsInput AWS API Documentation
|
551
|
+
#
|
552
|
+
class ListApplicationsInput < Struct.new(
|
553
|
+
:next_token,
|
554
|
+
:max_results)
|
555
|
+
SENSITIVE = []
|
556
|
+
include Aws::Structure
|
557
|
+
end
|
558
|
+
|
559
|
+
# @!attribute [rw] applications
|
560
|
+
# @return [Array<Types::ApplicationSummary>]
|
561
|
+
#
|
562
|
+
# @!attribute [rw] next_token
|
563
|
+
# @return [String]
|
564
|
+
#
|
565
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/ListApplicationsOutput AWS API Documentation
|
566
|
+
#
|
567
|
+
class ListApplicationsOutput < Struct.new(
|
568
|
+
:applications,
|
569
|
+
:next_token)
|
570
|
+
SENSITIVE = []
|
571
|
+
include Aws::Structure
|
572
|
+
end
|
573
|
+
|
574
|
+
# @note When making an API call, you may pass ListComponentsInput
|
575
|
+
# data as a hash:
|
576
|
+
#
|
577
|
+
# {
|
578
|
+
# application_id: "ApplicationId",
|
579
|
+
# next_token: "NextToken",
|
580
|
+
# max_results: 1,
|
581
|
+
# }
|
582
|
+
#
|
583
|
+
# @!attribute [rw] application_id
|
584
|
+
# @return [String]
|
585
|
+
#
|
586
|
+
# @!attribute [rw] next_token
|
587
|
+
# @return [String]
|
588
|
+
#
|
589
|
+
# @!attribute [rw] max_results
|
590
|
+
# @return [Integer]
|
591
|
+
#
|
592
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/ListComponentsInput AWS API Documentation
|
593
|
+
#
|
594
|
+
class ListComponentsInput < Struct.new(
|
595
|
+
:application_id,
|
596
|
+
:next_token,
|
597
|
+
:max_results)
|
598
|
+
SENSITIVE = []
|
599
|
+
include Aws::Structure
|
600
|
+
end
|
601
|
+
|
602
|
+
# @!attribute [rw] components
|
603
|
+
# @return [Array<Types::ComponentSummary>]
|
604
|
+
#
|
605
|
+
# @!attribute [rw] next_token
|
606
|
+
# @return [String]
|
607
|
+
#
|
608
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/ListComponentsOutput AWS API Documentation
|
609
|
+
#
|
610
|
+
class ListComponentsOutput < Struct.new(
|
611
|
+
:components,
|
612
|
+
:next_token)
|
613
|
+
SENSITIVE = []
|
614
|
+
include Aws::Structure
|
615
|
+
end
|
616
|
+
|
617
|
+
# @note When making an API call, you may pass ListDatabasesInput
|
618
|
+
# data as a hash:
|
619
|
+
#
|
620
|
+
# {
|
621
|
+
# application_id: "ApplicationId",
|
622
|
+
# component_id: "ComponentId",
|
623
|
+
# next_token: "NextToken",
|
624
|
+
# max_results: 1,
|
625
|
+
# }
|
626
|
+
#
|
627
|
+
# @!attribute [rw] application_id
|
628
|
+
# @return [String]
|
629
|
+
#
|
630
|
+
# @!attribute [rw] component_id
|
631
|
+
# @return [String]
|
632
|
+
#
|
633
|
+
# @!attribute [rw] next_token
|
634
|
+
# @return [String]
|
635
|
+
#
|
636
|
+
# @!attribute [rw] max_results
|
637
|
+
# @return [Integer]
|
638
|
+
#
|
639
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/ListDatabasesInput AWS API Documentation
|
640
|
+
#
|
641
|
+
class ListDatabasesInput < Struct.new(
|
642
|
+
:application_id,
|
643
|
+
:component_id,
|
644
|
+
:next_token,
|
645
|
+
:max_results)
|
646
|
+
SENSITIVE = []
|
647
|
+
include Aws::Structure
|
648
|
+
end
|
649
|
+
|
650
|
+
# @!attribute [rw] databases
|
651
|
+
# @return [Array<Types::DatabaseSummary>]
|
652
|
+
#
|
653
|
+
# @!attribute [rw] next_token
|
654
|
+
# @return [String]
|
655
|
+
#
|
656
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/ListDatabasesOutput AWS API Documentation
|
657
|
+
#
|
658
|
+
class ListDatabasesOutput < Struct.new(
|
659
|
+
:databases,
|
660
|
+
:next_token)
|
661
|
+
SENSITIVE = []
|
662
|
+
include Aws::Structure
|
663
|
+
end
|
664
|
+
|
665
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
666
|
+
# data as a hash:
|
667
|
+
#
|
668
|
+
# {
|
669
|
+
# resource_arn: "SsmSapArn", # required
|
670
|
+
# }
|
671
|
+
#
|
672
|
+
# @!attribute [rw] resource_arn
|
673
|
+
# @return [String]
|
674
|
+
#
|
675
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/ListTagsForResourceRequest AWS API Documentation
|
676
|
+
#
|
677
|
+
class ListTagsForResourceRequest < Struct.new(
|
678
|
+
:resource_arn)
|
679
|
+
SENSITIVE = []
|
680
|
+
include Aws::Structure
|
681
|
+
end
|
682
|
+
|
683
|
+
# @!attribute [rw] tags
|
684
|
+
# @return [Hash<String,String>]
|
685
|
+
#
|
686
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/ListTagsForResourceResponse AWS API Documentation
|
687
|
+
#
|
688
|
+
class ListTagsForResourceResponse < Struct.new(
|
689
|
+
:tags)
|
690
|
+
SENSITIVE = []
|
691
|
+
include Aws::Structure
|
692
|
+
end
|
693
|
+
|
694
|
+
# @!attribute [rw] id
|
695
|
+
# @return [String]
|
696
|
+
#
|
697
|
+
# @!attribute [rw] type
|
698
|
+
# @return [String]
|
699
|
+
#
|
700
|
+
# @!attribute [rw] status
|
701
|
+
# @return [String]
|
702
|
+
#
|
703
|
+
# @!attribute [rw] status_message
|
704
|
+
# @return [String]
|
705
|
+
#
|
706
|
+
# @!attribute [rw] properties
|
707
|
+
# @return [Hash<String,String>]
|
708
|
+
#
|
709
|
+
# @!attribute [rw] resource_type
|
710
|
+
# @return [String]
|
711
|
+
#
|
712
|
+
# @!attribute [rw] resource_id
|
713
|
+
# @return [String]
|
714
|
+
#
|
715
|
+
# @!attribute [rw] resource_arn
|
716
|
+
# @return [String]
|
717
|
+
#
|
718
|
+
# @!attribute [rw] start_time
|
719
|
+
# @return [Time]
|
720
|
+
#
|
721
|
+
# @!attribute [rw] end_time
|
722
|
+
# @return [Time]
|
723
|
+
#
|
724
|
+
# @!attribute [rw] last_updated_time
|
725
|
+
# @return [Time]
|
726
|
+
#
|
727
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/Operation AWS API Documentation
|
728
|
+
#
|
729
|
+
class Operation < Struct.new(
|
730
|
+
:id,
|
731
|
+
:type,
|
732
|
+
:status,
|
733
|
+
:status_message,
|
734
|
+
:properties,
|
735
|
+
:resource_type,
|
736
|
+
:resource_id,
|
737
|
+
:resource_arn,
|
738
|
+
:start_time,
|
739
|
+
:end_time,
|
740
|
+
:last_updated_time)
|
741
|
+
SENSITIVE = []
|
742
|
+
include Aws::Structure
|
743
|
+
end
|
744
|
+
|
745
|
+
# @note When making an API call, you may pass PutResourcePermissionInput
|
746
|
+
# data as a hash:
|
747
|
+
#
|
748
|
+
# {
|
749
|
+
# action_type: "RESTORE", # required, accepts RESTORE
|
750
|
+
# source_resource_arn: "Arn", # required
|
751
|
+
# resource_arn: "Arn", # required
|
752
|
+
# }
|
753
|
+
#
|
754
|
+
# @!attribute [rw] action_type
|
755
|
+
# @return [String]
|
756
|
+
#
|
757
|
+
# @!attribute [rw] source_resource_arn
|
758
|
+
# @return [String]
|
759
|
+
#
|
760
|
+
# @!attribute [rw] resource_arn
|
761
|
+
# @return [String]
|
762
|
+
#
|
763
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/PutResourcePermissionInput AWS API Documentation
|
764
|
+
#
|
765
|
+
class PutResourcePermissionInput < Struct.new(
|
766
|
+
:action_type,
|
767
|
+
:source_resource_arn,
|
768
|
+
:resource_arn)
|
769
|
+
SENSITIVE = []
|
770
|
+
include Aws::Structure
|
771
|
+
end
|
772
|
+
|
773
|
+
# @!attribute [rw] policy
|
774
|
+
# @return [String]
|
775
|
+
#
|
776
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/PutResourcePermissionOutput AWS API Documentation
|
777
|
+
#
|
778
|
+
class PutResourcePermissionOutput < Struct.new(
|
779
|
+
:policy)
|
780
|
+
SENSITIVE = []
|
781
|
+
include Aws::Structure
|
782
|
+
end
|
783
|
+
|
784
|
+
# @note When making an API call, you may pass RegisterApplicationInput
|
785
|
+
# data as a hash:
|
786
|
+
#
|
787
|
+
# {
|
788
|
+
# application_id: "ApplicationId", # required
|
789
|
+
# application_type: "HANA", # required, accepts HANA
|
790
|
+
# instances: ["InstanceId"], # required
|
791
|
+
# sap_instance_number: "SAPInstanceNumber",
|
792
|
+
# sid: "SID",
|
793
|
+
# tags: {
|
794
|
+
# "TagKey" => "TagValue",
|
795
|
+
# },
|
796
|
+
# credentials: [ # required
|
797
|
+
# {
|
798
|
+
# database_name: "DatabaseName", # required
|
799
|
+
# credential_type: "ADMIN", # required, accepts ADMIN
|
800
|
+
# secret_id: "SecretId", # required
|
801
|
+
# },
|
802
|
+
# ],
|
803
|
+
# }
|
804
|
+
#
|
805
|
+
# @!attribute [rw] application_id
|
806
|
+
# @return [String]
|
807
|
+
#
|
808
|
+
# @!attribute [rw] application_type
|
809
|
+
# @return [String]
|
810
|
+
#
|
811
|
+
# @!attribute [rw] instances
|
812
|
+
# @return [Array<String>]
|
813
|
+
#
|
814
|
+
# @!attribute [rw] sap_instance_number
|
815
|
+
# @return [String]
|
816
|
+
#
|
817
|
+
# @!attribute [rw] sid
|
818
|
+
# @return [String]
|
819
|
+
#
|
820
|
+
# @!attribute [rw] tags
|
821
|
+
# @return [Hash<String,String>]
|
822
|
+
#
|
823
|
+
# @!attribute [rw] credentials
|
824
|
+
# @return [Array<Types::ApplicationCredential>]
|
825
|
+
#
|
826
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/RegisterApplicationInput AWS API Documentation
|
827
|
+
#
|
828
|
+
class RegisterApplicationInput < Struct.new(
|
829
|
+
:application_id,
|
830
|
+
:application_type,
|
831
|
+
:instances,
|
832
|
+
:sap_instance_number,
|
833
|
+
:sid,
|
834
|
+
:tags,
|
835
|
+
:credentials)
|
836
|
+
SENSITIVE = []
|
837
|
+
include Aws::Structure
|
838
|
+
end
|
839
|
+
|
840
|
+
# @!attribute [rw] application
|
841
|
+
# @return [Types::Application]
|
842
|
+
#
|
843
|
+
# @!attribute [rw] operation_id
|
844
|
+
# @return [String]
|
845
|
+
#
|
846
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/RegisterApplicationOutput AWS API Documentation
|
847
|
+
#
|
848
|
+
class RegisterApplicationOutput < Struct.new(
|
849
|
+
:application,
|
850
|
+
:operation_id)
|
851
|
+
SENSITIVE = []
|
852
|
+
include Aws::Structure
|
853
|
+
end
|
854
|
+
|
855
|
+
# @!attribute [rw] message
|
856
|
+
# @return [String]
|
857
|
+
#
|
858
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/ResourceNotFoundException AWS API Documentation
|
859
|
+
#
|
860
|
+
class ResourceNotFoundException < Struct.new(
|
861
|
+
:message)
|
862
|
+
SENSITIVE = []
|
863
|
+
include Aws::Structure
|
864
|
+
end
|
865
|
+
|
866
|
+
# @note When making an API call, you may pass TagResourceRequest
|
867
|
+
# data as a hash:
|
868
|
+
#
|
869
|
+
# {
|
870
|
+
# resource_arn: "SsmSapArn", # required
|
871
|
+
# tags: { # required
|
872
|
+
# "TagKey" => "TagValue",
|
873
|
+
# },
|
874
|
+
# }
|
875
|
+
#
|
876
|
+
# @!attribute [rw] resource_arn
|
877
|
+
# @return [String]
|
878
|
+
#
|
879
|
+
# @!attribute [rw] tags
|
880
|
+
# @return [Hash<String,String>]
|
881
|
+
#
|
882
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/TagResourceRequest AWS API Documentation
|
883
|
+
#
|
884
|
+
class TagResourceRequest < Struct.new(
|
885
|
+
:resource_arn,
|
886
|
+
:tags)
|
887
|
+
SENSITIVE = []
|
888
|
+
include Aws::Structure
|
889
|
+
end
|
890
|
+
|
891
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/TagResourceResponse AWS API Documentation
|
892
|
+
#
|
893
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
894
|
+
|
895
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
896
|
+
# data as a hash:
|
897
|
+
#
|
898
|
+
# {
|
899
|
+
# resource_arn: "SsmSapArn", # required
|
900
|
+
# tag_keys: ["TagKey"], # required
|
901
|
+
# }
|
902
|
+
#
|
903
|
+
# @!attribute [rw] resource_arn
|
904
|
+
# @return [String]
|
905
|
+
#
|
906
|
+
# @!attribute [rw] tag_keys
|
907
|
+
# @return [Array<String>]
|
908
|
+
#
|
909
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/UntagResourceRequest AWS API Documentation
|
910
|
+
#
|
911
|
+
class UntagResourceRequest < Struct.new(
|
912
|
+
:resource_arn,
|
913
|
+
:tag_keys)
|
914
|
+
SENSITIVE = []
|
915
|
+
include Aws::Structure
|
916
|
+
end
|
917
|
+
|
918
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/UntagResourceResponse AWS API Documentation
|
919
|
+
#
|
920
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
921
|
+
|
922
|
+
# @note When making an API call, you may pass UpdateApplicationSettingsInput
|
923
|
+
# data as a hash:
|
924
|
+
#
|
925
|
+
# {
|
926
|
+
# application_id: "ApplicationId", # required
|
927
|
+
# credentials_to_add_or_update: [
|
928
|
+
# {
|
929
|
+
# database_name: "DatabaseName", # required
|
930
|
+
# credential_type: "ADMIN", # required, accepts ADMIN
|
931
|
+
# secret_id: "SecretId", # required
|
932
|
+
# },
|
933
|
+
# ],
|
934
|
+
# credentials_to_remove: [
|
935
|
+
# {
|
936
|
+
# database_name: "DatabaseName", # required
|
937
|
+
# credential_type: "ADMIN", # required, accepts ADMIN
|
938
|
+
# secret_id: "SecretId", # required
|
939
|
+
# },
|
940
|
+
# ],
|
941
|
+
# }
|
942
|
+
#
|
943
|
+
# @!attribute [rw] application_id
|
944
|
+
# @return [String]
|
945
|
+
#
|
946
|
+
# @!attribute [rw] credentials_to_add_or_update
|
947
|
+
# @return [Array<Types::ApplicationCredential>]
|
948
|
+
#
|
949
|
+
# @!attribute [rw] credentials_to_remove
|
950
|
+
# @return [Array<Types::ApplicationCredential>]
|
951
|
+
#
|
952
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/UpdateApplicationSettingsInput AWS API Documentation
|
953
|
+
#
|
954
|
+
class UpdateApplicationSettingsInput < Struct.new(
|
955
|
+
:application_id,
|
956
|
+
:credentials_to_add_or_update,
|
957
|
+
:credentials_to_remove)
|
958
|
+
SENSITIVE = []
|
959
|
+
include Aws::Structure
|
960
|
+
end
|
961
|
+
|
962
|
+
# @!attribute [rw] message
|
963
|
+
# @return [String]
|
964
|
+
#
|
965
|
+
# @!attribute [rw] operation_ids
|
966
|
+
# @return [Array<String>]
|
967
|
+
#
|
968
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/UpdateApplicationSettingsOutput AWS API Documentation
|
969
|
+
#
|
970
|
+
class UpdateApplicationSettingsOutput < Struct.new(
|
971
|
+
:message,
|
972
|
+
:operation_ids)
|
973
|
+
SENSITIVE = []
|
974
|
+
include Aws::Structure
|
975
|
+
end
|
976
|
+
|
977
|
+
# @!attribute [rw] message
|
978
|
+
# @return [String]
|
979
|
+
#
|
980
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssmsap-2018-05-10/ValidationException AWS API Documentation
|
981
|
+
#
|
982
|
+
class ValidationException < Struct.new(
|
983
|
+
:message)
|
984
|
+
SENSITIVE = []
|
985
|
+
include Aws::Structure
|
986
|
+
end
|
987
|
+
|
988
|
+
end
|
989
|
+
end
|