aws-sdk-appintegrationsservice 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,26 @@
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/master/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::AppIntegrationsService
11
+
12
+ class Resource
13
+
14
+ # @param options ({})
15
+ # @option options [Client] :client
16
+ def initialize(options = {})
17
+ @client = options[:client] || Client.new(options)
18
+ end
19
+
20
+ # @return [Client]
21
+ def client
22
+ @client
23
+ end
24
+
25
+ end
26
+ end
@@ -0,0 +1,579 @@
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/master/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::AppIntegrationsService
11
+ module Types
12
+
13
+ # You do not have sufficient access to perform this action.
14
+ #
15
+ # @!attribute [rw] message
16
+ # @return [String]
17
+ #
18
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/AccessDeniedException AWS API Documentation
19
+ #
20
+ class AccessDeniedException < Struct.new(
21
+ :message)
22
+ SENSITIVE = []
23
+ include Aws::Structure
24
+ end
25
+
26
+ # @note When making an API call, you may pass CreateEventIntegrationRequest
27
+ # data as a hash:
28
+ #
29
+ # {
30
+ # name: "Name", # required
31
+ # description: "Description",
32
+ # event_filter: { # required
33
+ # source: "Source", # required
34
+ # },
35
+ # event_bridge_bus: "EventBridgeBus", # required
36
+ # client_token: "IdempotencyToken",
37
+ # tags: {
38
+ # "TagKey" => "TagValue",
39
+ # },
40
+ # }
41
+ #
42
+ # @!attribute [rw] name
43
+ # The name of the event integration.
44
+ # @return [String]
45
+ #
46
+ # @!attribute [rw] description
47
+ # The description of the event integration.
48
+ # @return [String]
49
+ #
50
+ # @!attribute [rw] event_filter
51
+ # The event filter.
52
+ # @return [Types::EventFilter]
53
+ #
54
+ # @!attribute [rw] event_bridge_bus
55
+ # The Eventbridge bus.
56
+ # @return [String]
57
+ #
58
+ # @!attribute [rw] client_token
59
+ # A unique, case-sensitive identifier that you provide to ensure the
60
+ # idempotency of the request.
61
+ #
62
+ # **A suitable default value is auto-generated.** You should normally
63
+ # not need to pass this option.
64
+ # @return [String]
65
+ #
66
+ # @!attribute [rw] tags
67
+ # One or more tags.
68
+ # @return [Hash<String,String>]
69
+ #
70
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/CreateEventIntegrationRequest AWS API Documentation
71
+ #
72
+ class CreateEventIntegrationRequest < Struct.new(
73
+ :name,
74
+ :description,
75
+ :event_filter,
76
+ :event_bridge_bus,
77
+ :client_token,
78
+ :tags)
79
+ SENSITIVE = []
80
+ include Aws::Structure
81
+ end
82
+
83
+ # @!attribute [rw] event_integration_arn
84
+ # The Amazon Resource Name (ARN) of the event integration.
85
+ # @return [String]
86
+ #
87
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/CreateEventIntegrationResponse AWS API Documentation
88
+ #
89
+ class CreateEventIntegrationResponse < Struct.new(
90
+ :event_integration_arn)
91
+ SENSITIVE = []
92
+ include Aws::Structure
93
+ end
94
+
95
+ # @note When making an API call, you may pass DeleteEventIntegrationRequest
96
+ # data as a hash:
97
+ #
98
+ # {
99
+ # name: "Name", # required
100
+ # }
101
+ #
102
+ # @!attribute [rw] name
103
+ # The name of the event integration.
104
+ # @return [String]
105
+ #
106
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/DeleteEventIntegrationRequest AWS API Documentation
107
+ #
108
+ class DeleteEventIntegrationRequest < Struct.new(
109
+ :name)
110
+ SENSITIVE = []
111
+ include Aws::Structure
112
+ end
113
+
114
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/DeleteEventIntegrationResponse AWS API Documentation
115
+ #
116
+ class DeleteEventIntegrationResponse < Aws::EmptyStructure; end
117
+
118
+ # A resource with the specified name already exists.
119
+ #
120
+ # @!attribute [rw] message
121
+ # @return [String]
122
+ #
123
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/DuplicateResourceException AWS API Documentation
124
+ #
125
+ class DuplicateResourceException < Struct.new(
126
+ :message)
127
+ SENSITIVE = []
128
+ include Aws::Structure
129
+ end
130
+
131
+ # The Amazon AppIntegrations APIs are in preview release and are subject
132
+ # to change.
133
+ #
134
+ # The event filter.
135
+ #
136
+ # @note When making an API call, you may pass EventFilter
137
+ # data as a hash:
138
+ #
139
+ # {
140
+ # source: "Source", # required
141
+ # }
142
+ #
143
+ # @!attribute [rw] source
144
+ # The source of the events.
145
+ # @return [String]
146
+ #
147
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/EventFilter AWS API Documentation
148
+ #
149
+ class EventFilter < Struct.new(
150
+ :source)
151
+ SENSITIVE = []
152
+ include Aws::Structure
153
+ end
154
+
155
+ # The Amazon AppIntegrations APIs are in preview release and are subject
156
+ # to change.
157
+ #
158
+ # The event integration.
159
+ #
160
+ # @!attribute [rw] event_integration_arn
161
+ # The Amazon Resource Name (ARN) of the event integration.
162
+ # @return [String]
163
+ #
164
+ # @!attribute [rw] name
165
+ # The name of the event integration.
166
+ # @return [String]
167
+ #
168
+ # @!attribute [rw] description
169
+ # The event integration description.
170
+ # @return [String]
171
+ #
172
+ # @!attribute [rw] event_filter
173
+ # The event integration filter.
174
+ # @return [Types::EventFilter]
175
+ #
176
+ # @!attribute [rw] event_bridge_bus
177
+ # The Amazon Eventbridge bus for the event integration.
178
+ # @return [String]
179
+ #
180
+ # @!attribute [rw] tags
181
+ # The tags.
182
+ # @return [Hash<String,String>]
183
+ #
184
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/EventIntegration AWS API Documentation
185
+ #
186
+ class EventIntegration < Struct.new(
187
+ :event_integration_arn,
188
+ :name,
189
+ :description,
190
+ :event_filter,
191
+ :event_bridge_bus,
192
+ :tags)
193
+ SENSITIVE = []
194
+ include Aws::Structure
195
+ end
196
+
197
+ # The Amazon AppIntegrations APIs are in preview release and are subject
198
+ # to change.
199
+ #
200
+ # The event integration association.
201
+ #
202
+ # @!attribute [rw] event_integration_association_arn
203
+ # The Amazon Resource Name (ARN) for the event integration
204
+ # association.
205
+ # @return [String]
206
+ #
207
+ # @!attribute [rw] event_integration_association_id
208
+ # The identifier for the event integration association.
209
+ # @return [String]
210
+ #
211
+ # @!attribute [rw] event_integration_name
212
+ # The name of the event integration.
213
+ # @return [String]
214
+ #
215
+ # @!attribute [rw] client_id
216
+ # The identifier for the client that is associated with the event
217
+ # integration.
218
+ # @return [String]
219
+ #
220
+ # @!attribute [rw] event_bridge_rule_name
221
+ # The name of the Eventbridge rule.
222
+ # @return [String]
223
+ #
224
+ # @!attribute [rw] client_association_metadata
225
+ # The metadata associated with the client.
226
+ # @return [Hash<String,String>]
227
+ #
228
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/EventIntegrationAssociation AWS API Documentation
229
+ #
230
+ class EventIntegrationAssociation < Struct.new(
231
+ :event_integration_association_arn,
232
+ :event_integration_association_id,
233
+ :event_integration_name,
234
+ :client_id,
235
+ :event_bridge_rule_name,
236
+ :client_association_metadata)
237
+ SENSITIVE = []
238
+ include Aws::Structure
239
+ end
240
+
241
+ # @note When making an API call, you may pass GetEventIntegrationRequest
242
+ # data as a hash:
243
+ #
244
+ # {
245
+ # name: "Name", # required
246
+ # }
247
+ #
248
+ # @!attribute [rw] name
249
+ # The name of the event integration.
250
+ # @return [String]
251
+ #
252
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/GetEventIntegrationRequest AWS API Documentation
253
+ #
254
+ class GetEventIntegrationRequest < Struct.new(
255
+ :name)
256
+ SENSITIVE = []
257
+ include Aws::Structure
258
+ end
259
+
260
+ # @!attribute [rw] name
261
+ # The name of the event integration.
262
+ # @return [String]
263
+ #
264
+ # @!attribute [rw] description
265
+ # The description of the event integration.
266
+ # @return [String]
267
+ #
268
+ # @!attribute [rw] event_integration_arn
269
+ # The Amazon Resource Name (ARN) for the event integration.
270
+ # @return [String]
271
+ #
272
+ # @!attribute [rw] event_bridge_bus
273
+ # The Eventbridge bus.
274
+ # @return [String]
275
+ #
276
+ # @!attribute [rw] event_filter
277
+ # The event filter.
278
+ # @return [Types::EventFilter]
279
+ #
280
+ # @!attribute [rw] tags
281
+ # One or more tags.
282
+ # @return [Hash<String,String>]
283
+ #
284
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/GetEventIntegrationResponse AWS API Documentation
285
+ #
286
+ class GetEventIntegrationResponse < Struct.new(
287
+ :name,
288
+ :description,
289
+ :event_integration_arn,
290
+ :event_bridge_bus,
291
+ :event_filter,
292
+ :tags)
293
+ SENSITIVE = []
294
+ include Aws::Structure
295
+ end
296
+
297
+ # Request processing failed due to an error or failure with the service.
298
+ #
299
+ # @!attribute [rw] message
300
+ # @return [String]
301
+ #
302
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/InternalServiceError AWS API Documentation
303
+ #
304
+ class InternalServiceError < Struct.new(
305
+ :message)
306
+ SENSITIVE = []
307
+ include Aws::Structure
308
+ end
309
+
310
+ # The request is not valid.
311
+ #
312
+ # @!attribute [rw] message
313
+ # @return [String]
314
+ #
315
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/InvalidRequestException AWS API Documentation
316
+ #
317
+ class InvalidRequestException < Struct.new(
318
+ :message)
319
+ SENSITIVE = []
320
+ include Aws::Structure
321
+ end
322
+
323
+ # @note When making an API call, you may pass ListEventIntegrationAssociationsRequest
324
+ # data as a hash:
325
+ #
326
+ # {
327
+ # event_integration_name: "Name", # required
328
+ # next_token: "NextToken",
329
+ # max_results: 1,
330
+ # }
331
+ #
332
+ # @!attribute [rw] event_integration_name
333
+ # The name of the event integration.
334
+ # @return [String]
335
+ #
336
+ # @!attribute [rw] next_token
337
+ # The token for the next set of results. Use the value returned in the
338
+ # previous response in the next request to retrieve the next set of
339
+ # results.
340
+ # @return [String]
341
+ #
342
+ # @!attribute [rw] max_results
343
+ # The maximum number of results to return per page.
344
+ # @return [Integer]
345
+ #
346
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ListEventIntegrationAssociationsRequest AWS API Documentation
347
+ #
348
+ class ListEventIntegrationAssociationsRequest < Struct.new(
349
+ :event_integration_name,
350
+ :next_token,
351
+ :max_results)
352
+ SENSITIVE = []
353
+ include Aws::Structure
354
+ end
355
+
356
+ # @!attribute [rw] event_integration_associations
357
+ # The event integration associations.
358
+ # @return [Array<Types::EventIntegrationAssociation>]
359
+ #
360
+ # @!attribute [rw] next_token
361
+ # If there are additional results, this is the token for the next set
362
+ # of results.
363
+ # @return [String]
364
+ #
365
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ListEventIntegrationAssociationsResponse AWS API Documentation
366
+ #
367
+ class ListEventIntegrationAssociationsResponse < Struct.new(
368
+ :event_integration_associations,
369
+ :next_token)
370
+ SENSITIVE = []
371
+ include Aws::Structure
372
+ end
373
+
374
+ # @note When making an API call, you may pass ListEventIntegrationsRequest
375
+ # data as a hash:
376
+ #
377
+ # {
378
+ # next_token: "NextToken",
379
+ # max_results: 1,
380
+ # }
381
+ #
382
+ # @!attribute [rw] next_token
383
+ # The token for the next set of results. Use the value returned in the
384
+ # previous response in the next request to retrieve the next set of
385
+ # results.
386
+ # @return [String]
387
+ #
388
+ # @!attribute [rw] max_results
389
+ # The maximum number of results to return per page.
390
+ # @return [Integer]
391
+ #
392
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ListEventIntegrationsRequest AWS API Documentation
393
+ #
394
+ class ListEventIntegrationsRequest < Struct.new(
395
+ :next_token,
396
+ :max_results)
397
+ SENSITIVE = []
398
+ include Aws::Structure
399
+ end
400
+
401
+ # @!attribute [rw] event_integrations
402
+ # The event integrations.
403
+ # @return [Array<Types::EventIntegration>]
404
+ #
405
+ # @!attribute [rw] next_token
406
+ # If there are additional results, this is the token for the next set
407
+ # of results.
408
+ # @return [String]
409
+ #
410
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ListEventIntegrationsResponse AWS API Documentation
411
+ #
412
+ class ListEventIntegrationsResponse < Struct.new(
413
+ :event_integrations,
414
+ :next_token)
415
+ SENSITIVE = []
416
+ include Aws::Structure
417
+ end
418
+
419
+ # @note When making an API call, you may pass ListTagsForResourceRequest
420
+ # data as a hash:
421
+ #
422
+ # {
423
+ # resource_arn: "Arn", # required
424
+ # }
425
+ #
426
+ # @!attribute [rw] resource_arn
427
+ # The Amazon Resource Name (ARN) of the resource.
428
+ # @return [String]
429
+ #
430
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ListTagsForResourceRequest AWS API Documentation
431
+ #
432
+ class ListTagsForResourceRequest < Struct.new(
433
+ :resource_arn)
434
+ SENSITIVE = []
435
+ include Aws::Structure
436
+ end
437
+
438
+ # @!attribute [rw] tags
439
+ # Information about the tags.
440
+ # @return [Hash<String,String>]
441
+ #
442
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ListTagsForResourceResponse AWS API Documentation
443
+ #
444
+ class ListTagsForResourceResponse < Struct.new(
445
+ :tags)
446
+ SENSITIVE = []
447
+ include Aws::Structure
448
+ end
449
+
450
+ # The specified resource was not found.
451
+ #
452
+ # @!attribute [rw] message
453
+ # @return [String]
454
+ #
455
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ResourceNotFoundException AWS API Documentation
456
+ #
457
+ class ResourceNotFoundException < Struct.new(
458
+ :message)
459
+ SENSITIVE = []
460
+ include Aws::Structure
461
+ end
462
+
463
+ # The allowed quota for the resource has been exceeded.
464
+ #
465
+ # @!attribute [rw] message
466
+ # @return [String]
467
+ #
468
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ResourceQuotaExceededException AWS API Documentation
469
+ #
470
+ class ResourceQuotaExceededException < Struct.new(
471
+ :message)
472
+ SENSITIVE = []
473
+ include Aws::Structure
474
+ end
475
+
476
+ # @note When making an API call, you may pass TagResourceRequest
477
+ # data as a hash:
478
+ #
479
+ # {
480
+ # resource_arn: "Arn", # required
481
+ # tags: { # required
482
+ # "TagKey" => "TagValue",
483
+ # },
484
+ # }
485
+ #
486
+ # @!attribute [rw] resource_arn
487
+ # The Amazon Resource Name (ARN) of the resource.
488
+ # @return [String]
489
+ #
490
+ # @!attribute [rw] tags
491
+ # One or more tags.
492
+ # @return [Hash<String,String>]
493
+ #
494
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/TagResourceRequest AWS API Documentation
495
+ #
496
+ class TagResourceRequest < Struct.new(
497
+ :resource_arn,
498
+ :tags)
499
+ SENSITIVE = []
500
+ include Aws::Structure
501
+ end
502
+
503
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/TagResourceResponse AWS API Documentation
504
+ #
505
+ class TagResourceResponse < Aws::EmptyStructure; end
506
+
507
+ # The throttling limit has been exceeded.
508
+ #
509
+ # @!attribute [rw] message
510
+ # @return [String]
511
+ #
512
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ThrottlingException AWS API Documentation
513
+ #
514
+ class ThrottlingException < Struct.new(
515
+ :message)
516
+ SENSITIVE = []
517
+ include Aws::Structure
518
+ end
519
+
520
+ # @note When making an API call, you may pass UntagResourceRequest
521
+ # data as a hash:
522
+ #
523
+ # {
524
+ # resource_arn: "Arn", # required
525
+ # tag_keys: ["TagKey"], # required
526
+ # }
527
+ #
528
+ # @!attribute [rw] resource_arn
529
+ # The Amazon Resource Name (ARN) of the resource.
530
+ # @return [String]
531
+ #
532
+ # @!attribute [rw] tag_keys
533
+ # The tag keys.
534
+ # @return [Array<String>]
535
+ #
536
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/UntagResourceRequest AWS API Documentation
537
+ #
538
+ class UntagResourceRequest < Struct.new(
539
+ :resource_arn,
540
+ :tag_keys)
541
+ SENSITIVE = []
542
+ include Aws::Structure
543
+ end
544
+
545
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/UntagResourceResponse AWS API Documentation
546
+ #
547
+ class UntagResourceResponse < Aws::EmptyStructure; end
548
+
549
+ # @note When making an API call, you may pass UpdateEventIntegrationRequest
550
+ # data as a hash:
551
+ #
552
+ # {
553
+ # name: "Name", # required
554
+ # description: "Description",
555
+ # }
556
+ #
557
+ # @!attribute [rw] name
558
+ # The name of the event integration.
559
+ # @return [String]
560
+ #
561
+ # @!attribute [rw] description
562
+ # The description of the event inegration.
563
+ # @return [String]
564
+ #
565
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/UpdateEventIntegrationRequest AWS API Documentation
566
+ #
567
+ class UpdateEventIntegrationRequest < Struct.new(
568
+ :name,
569
+ :description)
570
+ SENSITIVE = []
571
+ include Aws::Structure
572
+ end
573
+
574
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/UpdateEventIntegrationResponse AWS API Documentation
575
+ #
576
+ class UpdateEventIntegrationResponse < Aws::EmptyStructure; end
577
+
578
+ end
579
+ end