aws-sdk-appintegrationsservice 1.10.0 → 1.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +77 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appintegrationsservice/client.rb +463 -15
- data/lib/aws-sdk-appintegrationsservice/client_api.rb +221 -7
- data/lib/aws-sdk-appintegrationsservice/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-appintegrationsservice/endpoint_provider.rb +54 -0
- data/lib/aws-sdk-appintegrationsservice/endpoints.rb +282 -0
- data/lib/aws-sdk-appintegrationsservice/plugins/endpoints.rb +106 -0
- data/lib/aws-sdk-appintegrationsservice/types.rb +436 -163
- data/lib/aws-sdk-appintegrationsservice.rb +6 -2
- metadata +8 -4
@@ -27,7 +27,11 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
-
require 'aws-sdk-core/plugins/
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
|
+
require 'aws-sdk-core/plugins/request_compression.rb'
|
32
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
33
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
34
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
31
35
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
36
|
|
33
37
|
Aws::Plugins::GlobalConfiguration.add_identifier(:appintegrationsservice)
|
@@ -73,8 +77,13 @@ module Aws::AppIntegrationsService
|
|
73
77
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
78
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
79
|
add_plugin(Aws::Plugins::HttpChecksum)
|
76
|
-
add_plugin(Aws::Plugins::
|
80
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
81
|
+
add_plugin(Aws::Plugins::RequestCompression)
|
82
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
83
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
84
|
+
add_plugin(Aws::Plugins::Sign)
|
77
85
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
86
|
+
add_plugin(Aws::AppIntegrationsService::Plugins::Endpoints)
|
78
87
|
|
79
88
|
# @overload initialize(options)
|
80
89
|
# @param [Hash] options
|
@@ -175,10 +184,18 @@ module Aws::AppIntegrationsService
|
|
175
184
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
176
185
|
# a clock skew correction and retry requests with skewed client clocks.
|
177
186
|
#
|
187
|
+
# @option options [String] :defaults_mode ("legacy")
|
188
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
189
|
+
# accepted modes and the configuration defaults that are included.
|
190
|
+
#
|
178
191
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
179
192
|
# Set to true to disable SDK automatically adding host prefix
|
180
193
|
# to default service endpoint when available.
|
181
194
|
#
|
195
|
+
# @option options [Boolean] :disable_request_compression (false)
|
196
|
+
# When set to 'true' the request body will not be compressed
|
197
|
+
# for supported operations.
|
198
|
+
#
|
182
199
|
# @option options [String] :endpoint
|
183
200
|
# The client endpoint is normally constructed from the `:region`
|
184
201
|
# option. You should only configure an `:endpoint` when connecting
|
@@ -199,6 +216,10 @@ module Aws::AppIntegrationsService
|
|
199
216
|
# @option options [Boolean] :endpoint_discovery (false)
|
200
217
|
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
201
218
|
#
|
219
|
+
# @option options [Boolean] :ignore_configured_endpoint_urls
|
220
|
+
# Setting to true disables use of endpoint URLs provided via environment
|
221
|
+
# variables and the shared configuration file.
|
222
|
+
#
|
202
223
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
203
224
|
# The log formatter.
|
204
225
|
#
|
@@ -219,6 +240,11 @@ module Aws::AppIntegrationsService
|
|
219
240
|
# Used when loading credentials from the shared credentials file
|
220
241
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
221
242
|
#
|
243
|
+
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
244
|
+
# The minimum size in bytes that triggers compression for request
|
245
|
+
# bodies. The value must be non-negative integer value between 0
|
246
|
+
# and 10485780 bytes inclusive.
|
247
|
+
#
|
222
248
|
# @option options [Proc] :retry_backoff
|
223
249
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
224
250
|
# This option is only used in the `legacy` retry mode.
|
@@ -264,6 +290,11 @@ module Aws::AppIntegrationsService
|
|
264
290
|
# in the future.
|
265
291
|
#
|
266
292
|
#
|
293
|
+
# @option options [String] :sdk_ua_app_id
|
294
|
+
# A unique and opaque application ID that is appended to the
|
295
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
296
|
+
# maximum length of 50.
|
297
|
+
#
|
267
298
|
# @option options [String] :secret_access_key
|
268
299
|
#
|
269
300
|
# @option options [String] :session_token
|
@@ -277,6 +308,19 @@ module Aws::AppIntegrationsService
|
|
277
308
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
278
309
|
# requests are made, and retries are disabled.
|
279
310
|
#
|
311
|
+
# @option options [Aws::TokenProvider] :token_provider
|
312
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
313
|
+
# following classes:
|
314
|
+
#
|
315
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
316
|
+
# tokens.
|
317
|
+
#
|
318
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
319
|
+
# access token generated from `aws login`.
|
320
|
+
#
|
321
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
322
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
323
|
+
#
|
280
324
|
# @option options [Boolean] :use_dualstack_endpoint
|
281
325
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
282
326
|
# will be used if available.
|
@@ -290,6 +334,9 @@ module Aws::AppIntegrationsService
|
|
290
334
|
# When `true`, request parameters are validated before
|
291
335
|
# sending the request.
|
292
336
|
#
|
337
|
+
# @option options [Aws::AppIntegrationsService::EndpointProvider] :endpoint_provider
|
338
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::AppIntegrationsService::EndpointParameters`
|
339
|
+
#
|
293
340
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
294
341
|
# requests through. Formatted like 'http://proxy.com:123'.
|
295
342
|
#
|
@@ -297,7 +344,7 @@ module Aws::AppIntegrationsService
|
|
297
344
|
# seconds to wait when opening a HTTP session before raising a
|
298
345
|
# `Timeout::Error`.
|
299
346
|
#
|
300
|
-
# @option options [
|
347
|
+
# @option options [Float] :http_read_timeout (60) The default
|
301
348
|
# number of seconds to wait for response data. This value can
|
302
349
|
# safely be set per-request on the session.
|
303
350
|
#
|
@@ -313,6 +360,9 @@ module Aws::AppIntegrationsService
|
|
313
360
|
# disables this behaviour. This value can safely be set per
|
314
361
|
# request on the session.
|
315
362
|
#
|
363
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
364
|
+
# in seconds.
|
365
|
+
#
|
316
366
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
317
367
|
# HTTP debug output will be sent to the `:logger`.
|
318
368
|
#
|
@@ -338,6 +388,118 @@ module Aws::AppIntegrationsService
|
|
338
388
|
|
339
389
|
# @!group API Operations
|
340
390
|
|
391
|
+
# This API is in preview release and subject to change.
|
392
|
+
#
|
393
|
+
# Creates and persists an Application resource.
|
394
|
+
#
|
395
|
+
# @option params [required, String] :name
|
396
|
+
# The name of the application.
|
397
|
+
#
|
398
|
+
# @option params [required, String] :namespace
|
399
|
+
# The namespace of the application.
|
400
|
+
#
|
401
|
+
# @option params [String] :description
|
402
|
+
# The description of the application.
|
403
|
+
#
|
404
|
+
# @option params [required, Types::ApplicationSourceConfig] :application_source_config
|
405
|
+
# The configuration for where the application should be loaded from.
|
406
|
+
#
|
407
|
+
# @option params [Array<Types::Subscription>] :subscriptions
|
408
|
+
# The events that the application subscribes.
|
409
|
+
#
|
410
|
+
# @option params [Array<Types::Publication>] :publications
|
411
|
+
# The events that the application publishes.
|
412
|
+
#
|
413
|
+
# @option params [String] :client_token
|
414
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
415
|
+
# idempotency of the request. If not provided, the Amazon Web Services
|
416
|
+
# SDK populates this field. For more information about idempotency, see
|
417
|
+
# [Making retries safe with idempotent APIs][1].
|
418
|
+
#
|
419
|
+
# **A suitable default value is auto-generated.** You should normally
|
420
|
+
# not need to pass this option.**
|
421
|
+
#
|
422
|
+
#
|
423
|
+
#
|
424
|
+
# [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
|
425
|
+
#
|
426
|
+
# @option params [Hash<String,String>] :tags
|
427
|
+
# The tags used to organize, track, or control access for this resource.
|
428
|
+
# For example, \\\{ "tags": \\\{"key1":"value1",
|
429
|
+
# "key2":"value2"\\} \\}.
|
430
|
+
#
|
431
|
+
# @return [Types::CreateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
432
|
+
#
|
433
|
+
# * {Types::CreateApplicationResponse#arn #arn} => String
|
434
|
+
# * {Types::CreateApplicationResponse#id #id} => String
|
435
|
+
#
|
436
|
+
#
|
437
|
+
# @example Example: To create an application
|
438
|
+
#
|
439
|
+
# # The following creates an application named My Application with access url https://example.com.
|
440
|
+
#
|
441
|
+
# resp = client.create_application({
|
442
|
+
# application_source_config: {
|
443
|
+
# external_url_config: {
|
444
|
+
# access_url: "https://example.com",
|
445
|
+
# },
|
446
|
+
# },
|
447
|
+
# description: "My first application.",
|
448
|
+
# name: "My Application",
|
449
|
+
# namespace: "myapplication",
|
450
|
+
# })
|
451
|
+
#
|
452
|
+
# resp.to_h outputs the following:
|
453
|
+
# {
|
454
|
+
# arn: "arn:aws:app-integrations:us-west-2:0123456789012:application/98542c53-e8ac-4570-9c85-c6552c8d9c5e",
|
455
|
+
# id: "98542c53-e8ac-4570-9c85-c6552c8d9c5e",
|
456
|
+
# }
|
457
|
+
#
|
458
|
+
# @example Request syntax with placeholder values
|
459
|
+
#
|
460
|
+
# resp = client.create_application({
|
461
|
+
# name: "ApplicationName", # required
|
462
|
+
# namespace: "ApplicationNamespace", # required
|
463
|
+
# description: "Description",
|
464
|
+
# application_source_config: { # required
|
465
|
+
# external_url_config: {
|
466
|
+
# access_url: "URL", # required
|
467
|
+
# approved_origins: ["ApplicationTrustedSource"],
|
468
|
+
# },
|
469
|
+
# },
|
470
|
+
# subscriptions: [
|
471
|
+
# {
|
472
|
+
# event: "EventName", # required
|
473
|
+
# description: "Description",
|
474
|
+
# },
|
475
|
+
# ],
|
476
|
+
# publications: [
|
477
|
+
# {
|
478
|
+
# event: "EventName", # required
|
479
|
+
# schema: "EventDefinitionSchema", # required
|
480
|
+
# description: "Description",
|
481
|
+
# },
|
482
|
+
# ],
|
483
|
+
# client_token: "IdempotencyToken",
|
484
|
+
# tags: {
|
485
|
+
# "TagKey" => "TagValue",
|
486
|
+
# },
|
487
|
+
# })
|
488
|
+
#
|
489
|
+
# @example Response structure
|
490
|
+
#
|
491
|
+
# resp.arn #=> String
|
492
|
+
# resp.id #=> String
|
493
|
+
#
|
494
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/CreateApplication AWS API Documentation
|
495
|
+
#
|
496
|
+
# @overload create_application(params = {})
|
497
|
+
# @param [Hash] params ({})
|
498
|
+
def create_application(params = {}, options = {})
|
499
|
+
req = build_request(:create_application, params)
|
500
|
+
req.send_request(options)
|
501
|
+
end
|
502
|
+
|
341
503
|
# Creates and persists a DataIntegration resource.
|
342
504
|
#
|
343
505
|
# <note markdown="1"> You cannot create a DataIntegration association for a DataIntegration
|
@@ -352,10 +514,10 @@ module Aws::AppIntegrationsService
|
|
352
514
|
# @option params [String] :description
|
353
515
|
# A description of the DataIntegration.
|
354
516
|
#
|
355
|
-
# @option params [String] :kms_key
|
517
|
+
# @option params [required, String] :kms_key
|
356
518
|
# The KMS key for the DataIntegration.
|
357
519
|
#
|
358
|
-
# @option params [String] :source_uri
|
520
|
+
# @option params [required, String] :source_uri
|
359
521
|
# The URI of the data source.
|
360
522
|
#
|
361
523
|
# @option params [Types::ScheduleConfiguration] :schedule_config
|
@@ -363,15 +525,29 @@ module Aws::AppIntegrationsService
|
|
363
525
|
# source.
|
364
526
|
#
|
365
527
|
# @option params [Hash<String,String>] :tags
|
366
|
-
#
|
528
|
+
# The tags used to organize, track, or control access for this resource.
|
529
|
+
# For example, \\\{ "tags": \\\{"key1":"value1",
|
530
|
+
# "key2":"value2"\\} \\}.
|
367
531
|
#
|
368
532
|
# @option params [String] :client_token
|
369
533
|
# A unique, case-sensitive identifier that you provide to ensure the
|
370
|
-
# idempotency of the request.
|
534
|
+
# idempotency of the request. If not provided, the Amazon Web Services
|
535
|
+
# SDK populates this field. For more information about idempotency, see
|
536
|
+
# [Making retries safe with idempotent APIs][1].
|
371
537
|
#
|
372
538
|
# **A suitable default value is auto-generated.** You should normally
|
373
539
|
# not need to pass this option.**
|
374
540
|
#
|
541
|
+
#
|
542
|
+
#
|
543
|
+
# [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
|
544
|
+
#
|
545
|
+
# @option params [Types::FileConfiguration] :file_configuration
|
546
|
+
# The configuration for what files should be pulled from the source.
|
547
|
+
#
|
548
|
+
# @option params [Hash<String,Hash>] :object_configuration
|
549
|
+
# The configuration for what data should be pulled from the source.
|
550
|
+
#
|
375
551
|
# @return [Types::CreateDataIntegrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
376
552
|
#
|
377
553
|
# * {Types::CreateDataIntegrationResponse#arn #arn} => String
|
@@ -383,23 +559,36 @@ module Aws::AppIntegrationsService
|
|
383
559
|
# * {Types::CreateDataIntegrationResponse#schedule_configuration #schedule_configuration} => Types::ScheduleConfiguration
|
384
560
|
# * {Types::CreateDataIntegrationResponse#tags #tags} => Hash<String,String>
|
385
561
|
# * {Types::CreateDataIntegrationResponse#client_token #client_token} => String
|
562
|
+
# * {Types::CreateDataIntegrationResponse#file_configuration #file_configuration} => Types::FileConfiguration
|
563
|
+
# * {Types::CreateDataIntegrationResponse#object_configuration #object_configuration} => Hash<String,Hash<String,Array<String>>>
|
386
564
|
#
|
387
565
|
# @example Request syntax with placeholder values
|
388
566
|
#
|
389
567
|
# resp = client.create_data_integration({
|
390
568
|
# name: "Name", # required
|
391
569
|
# description: "Description",
|
392
|
-
# kms_key: "NonBlankString",
|
393
|
-
# source_uri: "
|
570
|
+
# kms_key: "NonBlankString", # required
|
571
|
+
# source_uri: "SourceURI", # required
|
394
572
|
# schedule_config: {
|
395
573
|
# first_execution_from: "NonBlankString",
|
396
574
|
# object: "Object",
|
397
|
-
# schedule_expression: "
|
575
|
+
# schedule_expression: "NonBlankString", # required
|
398
576
|
# },
|
399
577
|
# tags: {
|
400
578
|
# "TagKey" => "TagValue",
|
401
579
|
# },
|
402
580
|
# client_token: "IdempotencyToken",
|
581
|
+
# file_configuration: {
|
582
|
+
# folders: ["NonBlankLongString"], # required
|
583
|
+
# filters: {
|
584
|
+
# "NonBlankString" => ["Fields"],
|
585
|
+
# },
|
586
|
+
# },
|
587
|
+
# object_configuration: {
|
588
|
+
# "NonBlankString" => {
|
589
|
+
# "NonBlankString" => ["Fields"],
|
590
|
+
# },
|
591
|
+
# },
|
403
592
|
# })
|
404
593
|
#
|
405
594
|
# @example Response structure
|
@@ -416,6 +605,15 @@ module Aws::AppIntegrationsService
|
|
416
605
|
# resp.tags #=> Hash
|
417
606
|
# resp.tags["TagKey"] #=> String
|
418
607
|
# resp.client_token #=> String
|
608
|
+
# resp.file_configuration.folders #=> Array
|
609
|
+
# resp.file_configuration.folders[0] #=> String
|
610
|
+
# resp.file_configuration.filters #=> Hash
|
611
|
+
# resp.file_configuration.filters["NonBlankString"] #=> Array
|
612
|
+
# resp.file_configuration.filters["NonBlankString"][0] #=> String
|
613
|
+
# resp.object_configuration #=> Hash
|
614
|
+
# resp.object_configuration["NonBlankString"] #=> Hash
|
615
|
+
# resp.object_configuration["NonBlankString"]["NonBlankString"] #=> Array
|
616
|
+
# resp.object_configuration["NonBlankString"]["NonBlankString"][0] #=> String
|
419
617
|
#
|
420
618
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/CreateDataIntegration AWS API Documentation
|
421
619
|
#
|
@@ -446,13 +644,21 @@ module Aws::AppIntegrationsService
|
|
446
644
|
#
|
447
645
|
# @option params [String] :client_token
|
448
646
|
# A unique, case-sensitive identifier that you provide to ensure the
|
449
|
-
# idempotency of the request.
|
647
|
+
# idempotency of the request. If not provided, the Amazon Web Services
|
648
|
+
# SDK populates this field. For more information about idempotency, see
|
649
|
+
# [Making retries safe with idempotent APIs][1].
|
450
650
|
#
|
451
651
|
# **A suitable default value is auto-generated.** You should normally
|
452
652
|
# not need to pass this option.**
|
453
653
|
#
|
654
|
+
#
|
655
|
+
#
|
656
|
+
# [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
|
657
|
+
#
|
454
658
|
# @option params [Hash<String,String>] :tags
|
455
|
-
#
|
659
|
+
# The tags used to organize, track, or control access for this resource.
|
660
|
+
# For example, \\\{ "tags": \\\{"key1":"value1",
|
661
|
+
# "key2":"value2"\\} \\}.
|
456
662
|
#
|
457
663
|
# @return [Types::CreateEventIntegrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
458
664
|
#
|
@@ -545,6 +751,85 @@ module Aws::AppIntegrationsService
|
|
545
751
|
req.send_request(options)
|
546
752
|
end
|
547
753
|
|
754
|
+
# This API is in preview release and subject to change.
|
755
|
+
#
|
756
|
+
# Get an Application resource.
|
757
|
+
#
|
758
|
+
# @option params [required, String] :arn
|
759
|
+
# The Amazon Resource Name (ARN) of the Application.
|
760
|
+
#
|
761
|
+
# @return [Types::GetApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
762
|
+
#
|
763
|
+
# * {Types::GetApplicationResponse#arn #arn} => String
|
764
|
+
# * {Types::GetApplicationResponse#id #id} => String
|
765
|
+
# * {Types::GetApplicationResponse#name #name} => String
|
766
|
+
# * {Types::GetApplicationResponse#namespace #namespace} => String
|
767
|
+
# * {Types::GetApplicationResponse#description #description} => String
|
768
|
+
# * {Types::GetApplicationResponse#application_source_config #application_source_config} => Types::ApplicationSourceConfig
|
769
|
+
# * {Types::GetApplicationResponse#subscriptions #subscriptions} => Array<Types::Subscription>
|
770
|
+
# * {Types::GetApplicationResponse#publications #publications} => Array<Types::Publication>
|
771
|
+
# * {Types::GetApplicationResponse#created_time #created_time} => Time
|
772
|
+
# * {Types::GetApplicationResponse#last_modified_time #last_modified_time} => Time
|
773
|
+
# * {Types::GetApplicationResponse#tags #tags} => Hash<String,String>
|
774
|
+
#
|
775
|
+
#
|
776
|
+
# @example Example: To get an application
|
777
|
+
#
|
778
|
+
# # The following retrives an application.
|
779
|
+
#
|
780
|
+
# resp = client.get_application({
|
781
|
+
# arn: "arn:aws:app-integrations:us-west-2:0123456789012:application/98542c53-e8ac-4570-9c85-c6552c8d9c5e",
|
782
|
+
# })
|
783
|
+
#
|
784
|
+
# resp.to_h outputs the following:
|
785
|
+
# {
|
786
|
+
# application_source_config: {
|
787
|
+
# external_url_config: {
|
788
|
+
# access_url: "https://example.com",
|
789
|
+
# },
|
790
|
+
# },
|
791
|
+
# description: "My first application.",
|
792
|
+
# name: "My Application",
|
793
|
+
# namespace: "myapplication",
|
794
|
+
# }
|
795
|
+
#
|
796
|
+
# @example Request syntax with placeholder values
|
797
|
+
#
|
798
|
+
# resp = client.get_application({
|
799
|
+
# arn: "ArnOrUUID", # required
|
800
|
+
# })
|
801
|
+
#
|
802
|
+
# @example Response structure
|
803
|
+
#
|
804
|
+
# resp.arn #=> String
|
805
|
+
# resp.id #=> String
|
806
|
+
# resp.name #=> String
|
807
|
+
# resp.namespace #=> String
|
808
|
+
# resp.description #=> String
|
809
|
+
# resp.application_source_config.external_url_config.access_url #=> String
|
810
|
+
# resp.application_source_config.external_url_config.approved_origins #=> Array
|
811
|
+
# resp.application_source_config.external_url_config.approved_origins[0] #=> String
|
812
|
+
# resp.subscriptions #=> Array
|
813
|
+
# resp.subscriptions[0].event #=> String
|
814
|
+
# resp.subscriptions[0].description #=> String
|
815
|
+
# resp.publications #=> Array
|
816
|
+
# resp.publications[0].event #=> String
|
817
|
+
# resp.publications[0].schema #=> String
|
818
|
+
# resp.publications[0].description #=> String
|
819
|
+
# resp.created_time #=> Time
|
820
|
+
# resp.last_modified_time #=> Time
|
821
|
+
# resp.tags #=> Hash
|
822
|
+
# resp.tags["TagKey"] #=> String
|
823
|
+
#
|
824
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/GetApplication AWS API Documentation
|
825
|
+
#
|
826
|
+
# @overload get_application(params = {})
|
827
|
+
# @param [Hash] params ({})
|
828
|
+
def get_application(params = {}, options = {})
|
829
|
+
req = build_request(:get_application, params)
|
830
|
+
req.send_request(options)
|
831
|
+
end
|
832
|
+
|
548
833
|
# Returns information about the DataIntegration.
|
549
834
|
#
|
550
835
|
# <note markdown="1"> You cannot create a DataIntegration association for a DataIntegration
|
@@ -571,6 +856,8 @@ module Aws::AppIntegrationsService
|
|
571
856
|
# * {Types::GetDataIntegrationResponse#source_uri #source_uri} => String
|
572
857
|
# * {Types::GetDataIntegrationResponse#schedule_configuration #schedule_configuration} => Types::ScheduleConfiguration
|
573
858
|
# * {Types::GetDataIntegrationResponse#tags #tags} => Hash<String,String>
|
859
|
+
# * {Types::GetDataIntegrationResponse#file_configuration #file_configuration} => Types::FileConfiguration
|
860
|
+
# * {Types::GetDataIntegrationResponse#object_configuration #object_configuration} => Hash<String,Hash<String,Array<String>>>
|
574
861
|
#
|
575
862
|
# @example Request syntax with placeholder values
|
576
863
|
#
|
@@ -591,6 +878,15 @@ module Aws::AppIntegrationsService
|
|
591
878
|
# resp.schedule_configuration.schedule_expression #=> String
|
592
879
|
# resp.tags #=> Hash
|
593
880
|
# resp.tags["TagKey"] #=> String
|
881
|
+
# resp.file_configuration.folders #=> Array
|
882
|
+
# resp.file_configuration.folders[0] #=> String
|
883
|
+
# resp.file_configuration.filters #=> Hash
|
884
|
+
# resp.file_configuration.filters["NonBlankString"] #=> Array
|
885
|
+
# resp.file_configuration.filters["NonBlankString"][0] #=> String
|
886
|
+
# resp.object_configuration #=> Hash
|
887
|
+
# resp.object_configuration["NonBlankString"] #=> Hash
|
888
|
+
# resp.object_configuration["NonBlankString"]["NonBlankString"] #=> Array
|
889
|
+
# resp.object_configuration["NonBlankString"]["NonBlankString"][0] #=> String
|
594
890
|
#
|
595
891
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/GetDataIntegration AWS API Documentation
|
596
892
|
#
|
@@ -640,6 +936,74 @@ module Aws::AppIntegrationsService
|
|
640
936
|
req.send_request(options)
|
641
937
|
end
|
642
938
|
|
939
|
+
# This API is in preview release and subject to change.
|
940
|
+
#
|
941
|
+
# Lists applications in the account.
|
942
|
+
#
|
943
|
+
# @option params [String] :next_token
|
944
|
+
# The token for the next set of results. Use the value returned in the
|
945
|
+
# previous response in the next request to retrieve the next set of
|
946
|
+
# results.
|
947
|
+
#
|
948
|
+
# @option params [Integer] :max_results
|
949
|
+
# The maximum number of results to return per page.
|
950
|
+
#
|
951
|
+
# @return [Types::ListApplicationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
952
|
+
#
|
953
|
+
# * {Types::ListApplicationsResponse#applications #applications} => Array<Types::ApplicationSummary>
|
954
|
+
# * {Types::ListApplicationsResponse#next_token #next_token} => String
|
955
|
+
#
|
956
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
957
|
+
#
|
958
|
+
#
|
959
|
+
# @example Example: To list applications in the account
|
960
|
+
#
|
961
|
+
# # The following lists application summary in the account.
|
962
|
+
#
|
963
|
+
# resp = client.list_applications({
|
964
|
+
# max_results: 1,
|
965
|
+
# })
|
966
|
+
#
|
967
|
+
# resp.to_h outputs the following:
|
968
|
+
# {
|
969
|
+
# applications: [
|
970
|
+
# {
|
971
|
+
# arn: "arn:aws:app-integrations:us-west-2:0123456789012:application/98542c53-e8ac-4570-9c85-c6552c8d9c5e",
|
972
|
+
# id: "98542c53-e8ac-4570-9c85-c6552c8d9c5e",
|
973
|
+
# name: "My Application",
|
974
|
+
# namespace: "myapplication",
|
975
|
+
# },
|
976
|
+
# ],
|
977
|
+
# next_token: "abc",
|
978
|
+
# }
|
979
|
+
#
|
980
|
+
# @example Request syntax with placeholder values
|
981
|
+
#
|
982
|
+
# resp = client.list_applications({
|
983
|
+
# next_token: "NextToken",
|
984
|
+
# max_results: 1,
|
985
|
+
# })
|
986
|
+
#
|
987
|
+
# @example Response structure
|
988
|
+
#
|
989
|
+
# resp.applications #=> Array
|
990
|
+
# resp.applications[0].arn #=> String
|
991
|
+
# resp.applications[0].id #=> String
|
992
|
+
# resp.applications[0].name #=> String
|
993
|
+
# resp.applications[0].namespace #=> String
|
994
|
+
# resp.applications[0].created_time #=> Time
|
995
|
+
# resp.applications[0].last_modified_time #=> Time
|
996
|
+
# resp.next_token #=> String
|
997
|
+
#
|
998
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ListApplications AWS API Documentation
|
999
|
+
#
|
1000
|
+
# @overload list_applications(params = {})
|
1001
|
+
# @param [Hash] params ({})
|
1002
|
+
def list_applications(params = {}, options = {})
|
1003
|
+
req = build_request(:list_applications, params)
|
1004
|
+
req.send_request(options)
|
1005
|
+
end
|
1006
|
+
|
643
1007
|
# Returns a paginated list of DataIntegration associations in the
|
644
1008
|
# account.
|
645
1009
|
#
|
@@ -670,6 +1034,8 @@ module Aws::AppIntegrationsService
|
|
670
1034
|
# * {Types::ListDataIntegrationAssociationsResponse#data_integration_associations #data_integration_associations} => Array<Types::DataIntegrationAssociationSummary>
|
671
1035
|
# * {Types::ListDataIntegrationAssociationsResponse#next_token #next_token} => String
|
672
1036
|
#
|
1037
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1038
|
+
#
|
673
1039
|
# @example Request syntax with placeholder values
|
674
1040
|
#
|
675
1041
|
# resp = client.list_data_integration_associations({
|
@@ -721,6 +1087,8 @@ module Aws::AppIntegrationsService
|
|
721
1087
|
# * {Types::ListDataIntegrationsResponse#data_integrations #data_integrations} => Array<Types::DataIntegrationSummary>
|
722
1088
|
# * {Types::ListDataIntegrationsResponse#next_token #next_token} => String
|
723
1089
|
#
|
1090
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1091
|
+
#
|
724
1092
|
# @example Request syntax with placeholder values
|
725
1093
|
#
|
726
1094
|
# resp = client.list_data_integrations({
|
@@ -764,6 +1132,8 @@ module Aws::AppIntegrationsService
|
|
764
1132
|
# * {Types::ListEventIntegrationAssociationsResponse#event_integration_associations #event_integration_associations} => Array<Types::EventIntegrationAssociation>
|
765
1133
|
# * {Types::ListEventIntegrationAssociationsResponse#next_token #next_token} => String
|
766
1134
|
#
|
1135
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1136
|
+
#
|
767
1137
|
# @example Request syntax with placeholder values
|
768
1138
|
#
|
769
1139
|
# resp = client.list_event_integration_associations({
|
@@ -808,6 +1178,8 @@ module Aws::AppIntegrationsService
|
|
808
1178
|
# * {Types::ListEventIntegrationsResponse#event_integrations #event_integrations} => Array<Types::EventIntegration>
|
809
1179
|
# * {Types::ListEventIntegrationsResponse#next_token #next_token} => String
|
810
1180
|
#
|
1181
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1182
|
+
#
|
811
1183
|
# @example Request syntax with placeholder values
|
812
1184
|
#
|
813
1185
|
# resp = client.list_event_integrations({
|
@@ -871,7 +1243,9 @@ module Aws::AppIntegrationsService
|
|
871
1243
|
# The Amazon Resource Name (ARN) of the resource.
|
872
1244
|
#
|
873
1245
|
# @option params [required, Hash<String,String>] :tags
|
874
|
-
#
|
1246
|
+
# The tags used to organize, track, or control access for this resource.
|
1247
|
+
# For example, \\\{ "tags": \\\{"key1":"value1",
|
1248
|
+
# "key2":"value2"\\} \\}.
|
875
1249
|
#
|
876
1250
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
877
1251
|
#
|
@@ -919,6 +1293,80 @@ module Aws::AppIntegrationsService
|
|
919
1293
|
req.send_request(options)
|
920
1294
|
end
|
921
1295
|
|
1296
|
+
# This API is in preview release and subject to change.
|
1297
|
+
#
|
1298
|
+
# Updates and persists an Application resource.
|
1299
|
+
#
|
1300
|
+
# @option params [required, String] :arn
|
1301
|
+
# The Amazon Resource Name (ARN) of the Application.
|
1302
|
+
#
|
1303
|
+
# @option params [String] :name
|
1304
|
+
# The name of the application.
|
1305
|
+
#
|
1306
|
+
# @option params [String] :description
|
1307
|
+
# The description of the application.
|
1308
|
+
#
|
1309
|
+
# @option params [Types::ApplicationSourceConfig] :application_source_config
|
1310
|
+
# The configuration for where the application should be loaded from.
|
1311
|
+
#
|
1312
|
+
# @option params [Array<Types::Subscription>] :subscriptions
|
1313
|
+
# The events that the application subscribes.
|
1314
|
+
#
|
1315
|
+
# @option params [Array<Types::Publication>] :publications
|
1316
|
+
# The events that the application publishes.
|
1317
|
+
#
|
1318
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1319
|
+
#
|
1320
|
+
#
|
1321
|
+
# @example Example: To update an application
|
1322
|
+
#
|
1323
|
+
# # The following updates an existing application named with a new name.
|
1324
|
+
#
|
1325
|
+
# resp = client.update_application({
|
1326
|
+
# arn: "arn:aws:app-integrations:us-west-2:0123456789012:application/98542c53-e8ac-4570-9c85-c6552c8d9c5e",
|
1327
|
+
# name: "My New Application Name",
|
1328
|
+
# })
|
1329
|
+
#
|
1330
|
+
# resp.to_h outputs the following:
|
1331
|
+
# {
|
1332
|
+
# }
|
1333
|
+
#
|
1334
|
+
# @example Request syntax with placeholder values
|
1335
|
+
#
|
1336
|
+
# resp = client.update_application({
|
1337
|
+
# arn: "ArnOrUUID", # required
|
1338
|
+
# name: "ApplicationName",
|
1339
|
+
# description: "Description",
|
1340
|
+
# application_source_config: {
|
1341
|
+
# external_url_config: {
|
1342
|
+
# access_url: "URL", # required
|
1343
|
+
# approved_origins: ["ApplicationTrustedSource"],
|
1344
|
+
# },
|
1345
|
+
# },
|
1346
|
+
# subscriptions: [
|
1347
|
+
# {
|
1348
|
+
# event: "EventName", # required
|
1349
|
+
# description: "Description",
|
1350
|
+
# },
|
1351
|
+
# ],
|
1352
|
+
# publications: [
|
1353
|
+
# {
|
1354
|
+
# event: "EventName", # required
|
1355
|
+
# schema: "EventDefinitionSchema", # required
|
1356
|
+
# description: "Description",
|
1357
|
+
# },
|
1358
|
+
# ],
|
1359
|
+
# })
|
1360
|
+
#
|
1361
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/UpdateApplication AWS API Documentation
|
1362
|
+
#
|
1363
|
+
# @overload update_application(params = {})
|
1364
|
+
# @param [Hash] params ({})
|
1365
|
+
def update_application(params = {}, options = {})
|
1366
|
+
req = build_request(:update_application, params)
|
1367
|
+
req.send_request(options)
|
1368
|
+
end
|
1369
|
+
|
922
1370
|
# Updates the description of a DataIntegration.
|
923
1371
|
#
|
924
1372
|
# <note markdown="1"> You cannot create a DataIntegration association for a DataIntegration
|
@@ -966,7 +1414,7 @@ module Aws::AppIntegrationsService
|
|
966
1414
|
# The name of the event integration.
|
967
1415
|
#
|
968
1416
|
# @option params [String] :description
|
969
|
-
# The description of the event
|
1417
|
+
# The description of the event integration.
|
970
1418
|
#
|
971
1419
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
972
1420
|
#
|
@@ -999,7 +1447,7 @@ module Aws::AppIntegrationsService
|
|
999
1447
|
params: params,
|
1000
1448
|
config: config)
|
1001
1449
|
context[:gem_name] = 'aws-sdk-appintegrationsservice'
|
1002
|
-
context[:gem_version] = '1.
|
1450
|
+
context[:gem_version] = '1.25.0'
|
1003
1451
|
Seahorse::Client::Request.new(handlers, context)
|
1004
1452
|
end
|
1005
1453
|
|