aws-sdk-appintegrationsservice 1.21.0 → 1.23.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 211584a8b06ff967f144b863a93da00bdff29ee985e2a98e23d8bbc2e1c91108
4
- data.tar.gz: 4c28adf11b9ad0dd9f9269715469e650d7bcc71e6d001f9a7ddcfee2b1e88a94
3
+ metadata.gz: 9f75e7552274075aa70745cddb6f5f97c8eab8503f307e9be6bceca73e24a5c1
4
+ data.tar.gz: eb43ed0340458e9e9880fa6d96399ae6841e5b614e778f484ae9da0308dee1fa
5
5
  SHA512:
6
- metadata.gz: 926a6b666f0d58d8720349e97c9d9ec1b00b2c6fbfa491bf98770c42bd85c5e2db53ec2054d12ed9af2ec43bb905f7b5ca156d6950846c3a862b23fc5586fab8
7
- data.tar.gz: 0d55beb2966ef16f99d58d131198dd8a2700a1b2619ba8074e3c8a5f05a02e2f57a29d298da32a4e5e3ba02487797be72c85c921db9f3cf3dab14c9618f81c0c
6
+ metadata.gz: d84177a56a536d853dca578e8f546e3c9b754a03c5f66c33ecfbb73d1952d34a287f1c6e355d80a953b46d59d5488d09df71a526230152f18842b6f3babc7dba
7
+ data.tar.gz: 4522a814bb4cfd04e8f502032ba89e339b2e30bf1061f4a2d7e55f128a21418b1911af7ac2ac43269227ad383ac999fd04906dfa678bbfea4202e992e007369b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.23.0 (2023-09-26)
5
+ ------------------
6
+
7
+ * Feature - The Amazon AppIntegrations service adds a set of APIs (in preview) to manage third party applications to be used in Amazon Connect agent workspace.
8
+
9
+ 1.22.0 (2023-09-19)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.21.0 (2023-07-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.21.0
1
+ 1.23.0
@@ -388,6 +388,118 @@ module Aws::AppIntegrationsService
388
388
 
389
389
  # @!group API Operations
390
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
+
391
503
  # Creates and persists a DataIntegration resource.
392
504
  #
393
505
  # <note markdown="1"> You cannot create a DataIntegration association for a DataIntegration
@@ -639,6 +751,85 @@ module Aws::AppIntegrationsService
639
751
  req.send_request(options)
640
752
  end
641
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&lt;Types::Subscription&gt;
770
+ # * {Types::GetApplicationResponse#publications #publications} => Array&lt;Types::Publication&gt;
771
+ # * {Types::GetApplicationResponse#created_time #created_time} => Time
772
+ # * {Types::GetApplicationResponse#last_modified_time #last_modified_time} => Time
773
+ # * {Types::GetApplicationResponse#tags #tags} => Hash&lt;String,String&gt;
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
+
642
833
  # Returns information about the DataIntegration.
643
834
  #
644
835
  # <note markdown="1"> You cannot create a DataIntegration association for a DataIntegration
@@ -745,6 +936,74 @@ module Aws::AppIntegrationsService
745
936
  req.send_request(options)
746
937
  end
747
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&lt;Types::ApplicationSummary&gt;
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
+
748
1007
  # Returns a paginated list of DataIntegration associations in the
749
1008
  # account.
750
1009
  #
@@ -775,6 +1034,8 @@ module Aws::AppIntegrationsService
775
1034
  # * {Types::ListDataIntegrationAssociationsResponse#data_integration_associations #data_integration_associations} => Array&lt;Types::DataIntegrationAssociationSummary&gt;
776
1035
  # * {Types::ListDataIntegrationAssociationsResponse#next_token #next_token} => String
777
1036
  #
1037
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1038
+ #
778
1039
  # @example Request syntax with placeholder values
779
1040
  #
780
1041
  # resp = client.list_data_integration_associations({
@@ -826,6 +1087,8 @@ module Aws::AppIntegrationsService
826
1087
  # * {Types::ListDataIntegrationsResponse#data_integrations #data_integrations} => Array&lt;Types::DataIntegrationSummary&gt;
827
1088
  # * {Types::ListDataIntegrationsResponse#next_token #next_token} => String
828
1089
  #
1090
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1091
+ #
829
1092
  # @example Request syntax with placeholder values
830
1093
  #
831
1094
  # resp = client.list_data_integrations({
@@ -869,6 +1132,8 @@ module Aws::AppIntegrationsService
869
1132
  # * {Types::ListEventIntegrationAssociationsResponse#event_integration_associations #event_integration_associations} => Array&lt;Types::EventIntegrationAssociation&gt;
870
1133
  # * {Types::ListEventIntegrationAssociationsResponse#next_token #next_token} => String
871
1134
  #
1135
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1136
+ #
872
1137
  # @example Request syntax with placeholder values
873
1138
  #
874
1139
  # resp = client.list_event_integration_associations({
@@ -913,6 +1178,8 @@ module Aws::AppIntegrationsService
913
1178
  # * {Types::ListEventIntegrationsResponse#event_integrations #event_integrations} => Array&lt;Types::EventIntegration&gt;
914
1179
  # * {Types::ListEventIntegrationsResponse#next_token #next_token} => String
915
1180
  #
1181
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1182
+ #
916
1183
  # @example Request syntax with placeholder values
917
1184
  #
918
1185
  # resp = client.list_event_integrations({
@@ -1026,6 +1293,80 @@ module Aws::AppIntegrationsService
1026
1293
  req.send_request(options)
1027
1294
  end
1028
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
+
1029
1370
  # Updates the description of a DataIntegration.
1030
1371
  #
1031
1372
  # <note markdown="1"> You cannot create a DataIntegration association for a DataIntegration
@@ -1073,7 +1414,7 @@ module Aws::AppIntegrationsService
1073
1414
  # The name of the event integration.
1074
1415
  #
1075
1416
  # @option params [String] :description
1076
- # The description of the event inegration.
1417
+ # The description of the event integration.
1077
1418
  #
1078
1419
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1079
1420
  #
@@ -1106,7 +1447,7 @@ module Aws::AppIntegrationsService
1106
1447
  params: params,
1107
1448
  config: config)
1108
1449
  context[:gem_name] = 'aws-sdk-appintegrationsservice'
1109
- context[:gem_version] = '1.21.0'
1450
+ context[:gem_version] = '1.23.0'
1110
1451
  Seahorse::Client::Request.new(handlers, context)
1111
1452
  end
1112
1453
 
@@ -14,9 +14,19 @@ module Aws::AppIntegrationsService
14
14
  include Seahorse::Model
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ ApplicationApprovedOrigins = Shapes::ListShape.new(name: 'ApplicationApprovedOrigins')
18
+ ApplicationName = Shapes::StringShape.new(name: 'ApplicationName')
19
+ ApplicationNamespace = Shapes::StringShape.new(name: 'ApplicationNamespace')
20
+ ApplicationSourceConfig = Shapes::StructureShape.new(name: 'ApplicationSourceConfig')
21
+ ApplicationSummary = Shapes::StructureShape.new(name: 'ApplicationSummary')
22
+ ApplicationTrustedSource = Shapes::StringShape.new(name: 'ApplicationTrustedSource')
23
+ ApplicationsList = Shapes::ListShape.new(name: 'ApplicationsList')
17
24
  Arn = Shapes::StringShape.new(name: 'Arn')
25
+ ArnOrUUID = Shapes::StringShape.new(name: 'ArnOrUUID')
18
26
  ClientAssociationMetadata = Shapes::MapShape.new(name: 'ClientAssociationMetadata')
19
27
  ClientId = Shapes::StringShape.new(name: 'ClientId')
28
+ CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest')
29
+ CreateApplicationResponse = Shapes::StructureShape.new(name: 'CreateApplicationResponse')
20
30
  CreateDataIntegrationRequest = Shapes::StructureShape.new(name: 'CreateDataIntegrationRequest')
21
31
  CreateDataIntegrationResponse = Shapes::StructureShape.new(name: 'CreateDataIntegrationResponse')
22
32
  CreateEventIntegrationRequest = Shapes::StructureShape.new(name: 'CreateEventIntegrationRequest')
@@ -33,16 +43,21 @@ module Aws::AppIntegrationsService
33
43
  DuplicateResourceException = Shapes::StructureShape.new(name: 'DuplicateResourceException')
34
44
  EventBridgeBus = Shapes::StringShape.new(name: 'EventBridgeBus')
35
45
  EventBridgeRuleName = Shapes::StringShape.new(name: 'EventBridgeRuleName')
46
+ EventDefinitionSchema = Shapes::StringShape.new(name: 'EventDefinitionSchema')
36
47
  EventFilter = Shapes::StructureShape.new(name: 'EventFilter')
37
48
  EventIntegration = Shapes::StructureShape.new(name: 'EventIntegration')
38
49
  EventIntegrationAssociation = Shapes::StructureShape.new(name: 'EventIntegrationAssociation')
39
50
  EventIntegrationAssociationsList = Shapes::ListShape.new(name: 'EventIntegrationAssociationsList')
40
51
  EventIntegrationsList = Shapes::ListShape.new(name: 'EventIntegrationsList')
52
+ EventName = Shapes::StringShape.new(name: 'EventName')
53
+ ExternalUrlConfig = Shapes::StructureShape.new(name: 'ExternalUrlConfig')
41
54
  Fields = Shapes::StringShape.new(name: 'Fields')
42
55
  FieldsList = Shapes::ListShape.new(name: 'FieldsList')
43
56
  FieldsMap = Shapes::MapShape.new(name: 'FieldsMap')
44
57
  FileConfiguration = Shapes::StructureShape.new(name: 'FileConfiguration')
45
58
  FolderList = Shapes::ListShape.new(name: 'FolderList')
59
+ GetApplicationRequest = Shapes::StructureShape.new(name: 'GetApplicationRequest')
60
+ GetApplicationResponse = Shapes::StructureShape.new(name: 'GetApplicationResponse')
46
61
  GetDataIntegrationRequest = Shapes::StructureShape.new(name: 'GetDataIntegrationRequest')
47
62
  GetDataIntegrationResponse = Shapes::StructureShape.new(name: 'GetDataIntegrationResponse')
48
63
  GetEventIntegrationRequest = Shapes::StructureShape.new(name: 'GetEventIntegrationRequest')
@@ -51,6 +66,8 @@ module Aws::AppIntegrationsService
51
66
  Identifier = Shapes::StringShape.new(name: 'Identifier')
52
67
  InternalServiceError = Shapes::StructureShape.new(name: 'InternalServiceError')
53
68
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
69
+ ListApplicationsRequest = Shapes::StructureShape.new(name: 'ListApplicationsRequest')
70
+ ListApplicationsResponse = Shapes::StructureShape.new(name: 'ListApplicationsResponse')
54
71
  ListDataIntegrationAssociationsRequest = Shapes::StructureShape.new(name: 'ListDataIntegrationAssociationsRequest')
55
72
  ListDataIntegrationAssociationsResponse = Shapes::StructureShape.new(name: 'ListDataIntegrationAssociationsResponse')
56
73
  ListDataIntegrationsRequest = Shapes::StructureShape.new(name: 'ListDataIntegrationsRequest')
@@ -69,11 +86,15 @@ module Aws::AppIntegrationsService
69
86
  NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
70
87
  Object = Shapes::StringShape.new(name: 'Object')
71
88
  ObjectConfiguration = Shapes::MapShape.new(name: 'ObjectConfiguration')
89
+ Publication = Shapes::StructureShape.new(name: 'Publication')
90
+ PublicationList = Shapes::ListShape.new(name: 'PublicationList')
72
91
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
73
92
  ResourceQuotaExceededException = Shapes::StructureShape.new(name: 'ResourceQuotaExceededException')
74
93
  ScheduleConfiguration = Shapes::StructureShape.new(name: 'ScheduleConfiguration')
75
94
  Source = Shapes::StringShape.new(name: 'Source')
76
95
  SourceURI = Shapes::StringShape.new(name: 'SourceURI')
96
+ Subscription = Shapes::StructureShape.new(name: 'Subscription')
97
+ SubscriptionList = Shapes::ListShape.new(name: 'SubscriptionList')
77
98
  TagKey = Shapes::StringShape.new(name: 'TagKey')
78
99
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
79
100
  TagMap = Shapes::MapShape.new(name: 'TagMap')
@@ -81,9 +102,13 @@ module Aws::AppIntegrationsService
81
102
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
82
103
  TagValue = Shapes::StringShape.new(name: 'TagValue')
83
104
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
105
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
106
+ URL = Shapes::StringShape.new(name: 'URL')
84
107
  UUID = Shapes::StringShape.new(name: 'UUID')
85
108
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
86
109
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
110
+ UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
111
+ UpdateApplicationResponse = Shapes::StructureShape.new(name: 'UpdateApplicationResponse')
87
112
  UpdateDataIntegrationRequest = Shapes::StructureShape.new(name: 'UpdateDataIntegrationRequest')
88
113
  UpdateDataIntegrationResponse = Shapes::StructureShape.new(name: 'UpdateDataIntegrationResponse')
89
114
  UpdateEventIntegrationRequest = Shapes::StructureShape.new(name: 'UpdateEventIntegrationRequest')
@@ -92,9 +117,38 @@ module Aws::AppIntegrationsService
92
117
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
93
118
  AccessDeniedException.struct_class = Types::AccessDeniedException
94
119
 
120
+ ApplicationApprovedOrigins.member = Shapes::ShapeRef.new(shape: ApplicationTrustedSource)
121
+
122
+ ApplicationSourceConfig.add_member(:external_url_config, Shapes::ShapeRef.new(shape: ExternalUrlConfig, location_name: "ExternalUrlConfig"))
123
+ ApplicationSourceConfig.struct_class = Types::ApplicationSourceConfig
124
+
125
+ ApplicationSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
126
+ ApplicationSummary.add_member(:id, Shapes::ShapeRef.new(shape: UUID, location_name: "Id"))
127
+ ApplicationSummary.add_member(:name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "Name"))
128
+ ApplicationSummary.add_member(:namespace, Shapes::ShapeRef.new(shape: ApplicationNamespace, location_name: "Namespace"))
129
+ ApplicationSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTime"))
130
+ ApplicationSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
131
+ ApplicationSummary.struct_class = Types::ApplicationSummary
132
+
133
+ ApplicationsList.member = Shapes::ShapeRef.new(shape: ApplicationSummary)
134
+
95
135
  ClientAssociationMetadata.key = Shapes::ShapeRef.new(shape: NonBlankString)
96
136
  ClientAssociationMetadata.value = Shapes::ShapeRef.new(shape: NonBlankString)
97
137
 
138
+ CreateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "Name"))
139
+ CreateApplicationRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: ApplicationNamespace, required: true, location_name: "Namespace"))
140
+ CreateApplicationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
141
+ CreateApplicationRequest.add_member(:application_source_config, Shapes::ShapeRef.new(shape: ApplicationSourceConfig, required: true, location_name: "ApplicationSourceConfig"))
142
+ CreateApplicationRequest.add_member(:subscriptions, Shapes::ShapeRef.new(shape: SubscriptionList, location_name: "Subscriptions"))
143
+ CreateApplicationRequest.add_member(:publications, Shapes::ShapeRef.new(shape: PublicationList, location_name: "Publications"))
144
+ CreateApplicationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
145
+ CreateApplicationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
146
+ CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
147
+
148
+ CreateApplicationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
149
+ CreateApplicationResponse.add_member(:id, Shapes::ShapeRef.new(shape: UUID, location_name: "Id"))
150
+ CreateApplicationResponse.struct_class = Types::CreateApplicationResponse
151
+
98
152
  CreateDataIntegrationRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
99
153
  CreateDataIntegrationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
100
154
  CreateDataIntegrationRequest.add_member(:kms_key, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "KmsKey"))
@@ -180,6 +234,10 @@ module Aws::AppIntegrationsService
180
234
 
181
235
  EventIntegrationsList.member = Shapes::ShapeRef.new(shape: EventIntegration)
182
236
 
237
+ ExternalUrlConfig.add_member(:access_url, Shapes::ShapeRef.new(shape: URL, required: true, location_name: "AccessUrl"))
238
+ ExternalUrlConfig.add_member(:approved_origins, Shapes::ShapeRef.new(shape: ApplicationApprovedOrigins, location_name: "ApprovedOrigins"))
239
+ ExternalUrlConfig.struct_class = Types::ExternalUrlConfig
240
+
183
241
  FieldsList.member = Shapes::ShapeRef.new(shape: Fields)
184
242
 
185
243
  FieldsMap.key = Shapes::ShapeRef.new(shape: NonBlankString)
@@ -191,6 +249,22 @@ module Aws::AppIntegrationsService
191
249
 
192
250
  FolderList.member = Shapes::ShapeRef.new(shape: NonBlankLongString)
193
251
 
252
+ GetApplicationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ArnOrUUID, required: true, location: "uri", location_name: "Arn"))
253
+ GetApplicationRequest.struct_class = Types::GetApplicationRequest
254
+
255
+ GetApplicationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
256
+ GetApplicationResponse.add_member(:id, Shapes::ShapeRef.new(shape: UUID, location_name: "Id"))
257
+ GetApplicationResponse.add_member(:name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "Name"))
258
+ GetApplicationResponse.add_member(:namespace, Shapes::ShapeRef.new(shape: ApplicationNamespace, location_name: "Namespace"))
259
+ GetApplicationResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
260
+ GetApplicationResponse.add_member(:application_source_config, Shapes::ShapeRef.new(shape: ApplicationSourceConfig, location_name: "ApplicationSourceConfig"))
261
+ GetApplicationResponse.add_member(:subscriptions, Shapes::ShapeRef.new(shape: SubscriptionList, location_name: "Subscriptions"))
262
+ GetApplicationResponse.add_member(:publications, Shapes::ShapeRef.new(shape: PublicationList, location_name: "Publications"))
263
+ GetApplicationResponse.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTime"))
264
+ GetApplicationResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
265
+ GetApplicationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
266
+ GetApplicationResponse.struct_class = Types::GetApplicationResponse
267
+
194
268
  GetDataIntegrationRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "Identifier"))
195
269
  GetDataIntegrationRequest.struct_class = Types::GetDataIntegrationRequest
196
270
 
@@ -223,6 +297,14 @@ module Aws::AppIntegrationsService
223
297
  InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
224
298
  InvalidRequestException.struct_class = Types::InvalidRequestException
225
299
 
300
+ ListApplicationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
301
+ ListApplicationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
302
+ ListApplicationsRequest.struct_class = Types::ListApplicationsRequest
303
+
304
+ ListApplicationsResponse.add_member(:applications, Shapes::ShapeRef.new(shape: ApplicationsList, location_name: "Applications"))
305
+ ListApplicationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
306
+ ListApplicationsResponse.struct_class = Types::ListApplicationsResponse
307
+
226
308
  ListDataIntegrationAssociationsRequest.add_member(:data_integration_identifier, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "Identifier"))
227
309
  ListDataIntegrationAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
228
310
  ListDataIntegrationAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
@@ -266,6 +348,13 @@ module Aws::AppIntegrationsService
266
348
  ObjectConfiguration.key = Shapes::ShapeRef.new(shape: NonBlankString)
267
349
  ObjectConfiguration.value = Shapes::ShapeRef.new(shape: FieldsMap)
268
350
 
351
+ Publication.add_member(:event, Shapes::ShapeRef.new(shape: EventName, required: true, location_name: "Event"))
352
+ Publication.add_member(:schema, Shapes::ShapeRef.new(shape: EventDefinitionSchema, required: true, location_name: "Schema"))
353
+ Publication.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
354
+ Publication.struct_class = Types::Publication
355
+
356
+ PublicationList.member = Shapes::ShapeRef.new(shape: Publication)
357
+
269
358
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
270
359
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
271
360
 
@@ -277,6 +366,12 @@ module Aws::AppIntegrationsService
277
366
  ScheduleConfiguration.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "ScheduleExpression"))
278
367
  ScheduleConfiguration.struct_class = Types::ScheduleConfiguration
279
368
 
369
+ Subscription.add_member(:event, Shapes::ShapeRef.new(shape: EventName, required: true, location_name: "Event"))
370
+ Subscription.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
371
+ Subscription.struct_class = Types::Subscription
372
+
373
+ SubscriptionList.member = Shapes::ShapeRef.new(shape: Subscription)
374
+
280
375
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
281
376
 
282
377
  TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
@@ -297,6 +392,16 @@ module Aws::AppIntegrationsService
297
392
 
298
393
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
299
394
 
395
+ UpdateApplicationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ArnOrUUID, required: true, location: "uri", location_name: "Arn"))
396
+ UpdateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "Name"))
397
+ UpdateApplicationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
398
+ UpdateApplicationRequest.add_member(:application_source_config, Shapes::ShapeRef.new(shape: ApplicationSourceConfig, location_name: "ApplicationSourceConfig"))
399
+ UpdateApplicationRequest.add_member(:subscriptions, Shapes::ShapeRef.new(shape: SubscriptionList, location_name: "Subscriptions"))
400
+ UpdateApplicationRequest.add_member(:publications, Shapes::ShapeRef.new(shape: PublicationList, location_name: "Publications"))
401
+ UpdateApplicationRequest.struct_class = Types::UpdateApplicationRequest
402
+
403
+ UpdateApplicationResponse.struct_class = Types::UpdateApplicationResponse
404
+
300
405
  UpdateDataIntegrationRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "Identifier"))
301
406
  UpdateDataIntegrationRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
302
407
  UpdateDataIntegrationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
@@ -328,6 +433,20 @@ module Aws::AppIntegrationsService
328
433
  "uid" => "appintegrations-2020-07-29",
329
434
  }
330
435
 
436
+ api.add_operation(:create_application, Seahorse::Model::Operation.new.tap do |o|
437
+ o.name = "CreateApplication"
438
+ o.http_method = "POST"
439
+ o.http_request_uri = "/applications"
440
+ o.input = Shapes::ShapeRef.new(shape: CreateApplicationRequest)
441
+ o.output = Shapes::ShapeRef.new(shape: CreateApplicationResponse)
442
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
443
+ o.errors << Shapes::ShapeRef.new(shape: ResourceQuotaExceededException)
444
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
445
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
446
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
447
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
448
+ end)
449
+
331
450
  api.add_operation(:create_data_integration, Seahorse::Model::Operation.new.tap do |o|
332
451
  o.name = "CreateDataIntegration"
333
452
  o.http_method = "POST"
@@ -382,6 +501,19 @@ module Aws::AppIntegrationsService
382
501
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
383
502
  end)
384
503
 
504
+ api.add_operation(:get_application, Seahorse::Model::Operation.new.tap do |o|
505
+ o.name = "GetApplication"
506
+ o.http_method = "GET"
507
+ o.http_request_uri = "/applications/{Arn}"
508
+ o.input = Shapes::ShapeRef.new(shape: GetApplicationRequest)
509
+ o.output = Shapes::ShapeRef.new(shape: GetApplicationResponse)
510
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
511
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
512
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
513
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
514
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
515
+ end)
516
+
385
517
  api.add_operation(:get_data_integration, Seahorse::Model::Operation.new.tap do |o|
386
518
  o.name = "GetDataIntegration"
387
519
  o.http_method = "GET"
@@ -408,6 +540,24 @@ module Aws::AppIntegrationsService
408
540
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
409
541
  end)
410
542
 
543
+ api.add_operation(:list_applications, Seahorse::Model::Operation.new.tap do |o|
544
+ o.name = "ListApplications"
545
+ o.http_method = "GET"
546
+ o.http_request_uri = "/applications"
547
+ o.input = Shapes::ShapeRef.new(shape: ListApplicationsRequest)
548
+ o.output = Shapes::ShapeRef.new(shape: ListApplicationsResponse)
549
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
550
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
551
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
552
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
553
+ o[:pager] = Aws::Pager.new(
554
+ limit_key: "max_results",
555
+ tokens: {
556
+ "next_token" => "next_token"
557
+ }
558
+ )
559
+ end)
560
+
411
561
  api.add_operation(:list_data_integration_associations, Seahorse::Model::Operation.new.tap do |o|
412
562
  o.name = "ListDataIntegrationAssociations"
413
563
  o.http_method = "GET"
@@ -419,6 +569,12 @@ module Aws::AppIntegrationsService
419
569
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
420
570
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
421
571
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
572
+ o[:pager] = Aws::Pager.new(
573
+ limit_key: "max_results",
574
+ tokens: {
575
+ "next_token" => "next_token"
576
+ }
577
+ )
422
578
  end)
423
579
 
424
580
  api.add_operation(:list_data_integrations, Seahorse::Model::Operation.new.tap do |o|
@@ -431,6 +587,12 @@ module Aws::AppIntegrationsService
431
587
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
432
588
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
433
589
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
590
+ o[:pager] = Aws::Pager.new(
591
+ limit_key: "max_results",
592
+ tokens: {
593
+ "next_token" => "next_token"
594
+ }
595
+ )
434
596
  end)
435
597
 
436
598
  api.add_operation(:list_event_integration_associations, Seahorse::Model::Operation.new.tap do |o|
@@ -444,6 +606,12 @@ module Aws::AppIntegrationsService
444
606
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
445
607
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
446
608
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
609
+ o[:pager] = Aws::Pager.new(
610
+ limit_key: "max_results",
611
+ tokens: {
612
+ "next_token" => "next_token"
613
+ }
614
+ )
447
615
  end)
448
616
 
449
617
  api.add_operation(:list_event_integrations, Seahorse::Model::Operation.new.tap do |o|
@@ -456,6 +624,12 @@ module Aws::AppIntegrationsService
456
624
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
457
625
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
458
626
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
627
+ o[:pager] = Aws::Pager.new(
628
+ limit_key: "max_results",
629
+ tokens: {
630
+ "next_token" => "next_token"
631
+ }
632
+ )
459
633
  end)
460
634
 
461
635
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -494,6 +668,19 @@ module Aws::AppIntegrationsService
494
668
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
495
669
  end)
496
670
 
671
+ api.add_operation(:update_application, Seahorse::Model::Operation.new.tap do |o|
672
+ o.name = "UpdateApplication"
673
+ o.http_method = "PATCH"
674
+ o.http_request_uri = "/applications/{Arn}"
675
+ o.input = Shapes::ShapeRef.new(shape: UpdateApplicationRequest)
676
+ o.output = Shapes::ShapeRef.new(shape: UpdateApplicationResponse)
677
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
678
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
679
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
680
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
681
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
682
+ end)
683
+
497
684
  api.add_operation(:update_data_integration, Seahorse::Model::Operation.new.tap do |o|
498
685
  o.name = "UpdateDataIntegration"
499
686
  o.http_method = "PATCH"
@@ -12,6 +12,20 @@ module Aws::AppIntegrationsService
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
+ class CreateApplication
16
+ def self.build(context)
17
+ unless context.config.regional_endpoint
18
+ endpoint = context.config.endpoint.to_s
19
+ end
20
+ Aws::AppIntegrationsService::EndpointParameters.new(
21
+ region: context.config.region,
22
+ use_dual_stack: context.config.use_dualstack_endpoint,
23
+ use_fips: context.config.use_fips_endpoint,
24
+ endpoint: endpoint,
25
+ )
26
+ end
27
+ end
28
+
15
29
  class CreateDataIntegration
16
30
  def self.build(context)
17
31
  unless context.config.regional_endpoint
@@ -68,6 +82,20 @@ module Aws::AppIntegrationsService
68
82
  end
69
83
  end
70
84
 
85
+ class GetApplication
86
+ def self.build(context)
87
+ unless context.config.regional_endpoint
88
+ endpoint = context.config.endpoint.to_s
89
+ end
90
+ Aws::AppIntegrationsService::EndpointParameters.new(
91
+ region: context.config.region,
92
+ use_dual_stack: context.config.use_dualstack_endpoint,
93
+ use_fips: context.config.use_fips_endpoint,
94
+ endpoint: endpoint,
95
+ )
96
+ end
97
+ end
98
+
71
99
  class GetDataIntegration
72
100
  def self.build(context)
73
101
  unless context.config.regional_endpoint
@@ -96,6 +124,20 @@ module Aws::AppIntegrationsService
96
124
  end
97
125
  end
98
126
 
127
+ class ListApplications
128
+ def self.build(context)
129
+ unless context.config.regional_endpoint
130
+ endpoint = context.config.endpoint.to_s
131
+ end
132
+ Aws::AppIntegrationsService::EndpointParameters.new(
133
+ region: context.config.region,
134
+ use_dual_stack: context.config.use_dualstack_endpoint,
135
+ use_fips: context.config.use_fips_endpoint,
136
+ endpoint: endpoint,
137
+ )
138
+ end
139
+ end
140
+
99
141
  class ListDataIntegrationAssociations
100
142
  def self.build(context)
101
143
  unless context.config.regional_endpoint
@@ -194,6 +236,20 @@ module Aws::AppIntegrationsService
194
236
  end
195
237
  end
196
238
 
239
+ class UpdateApplication
240
+ def self.build(context)
241
+ unless context.config.regional_endpoint
242
+ endpoint = context.config.endpoint.to_s
243
+ end
244
+ Aws::AppIntegrationsService::EndpointParameters.new(
245
+ region: context.config.region,
246
+ use_dual_stack: context.config.use_dualstack_endpoint,
247
+ use_fips: context.config.use_fips_endpoint,
248
+ endpoint: endpoint,
249
+ )
250
+ end
251
+ end
252
+
197
253
  class UpdateDataIntegration
198
254
  def self.build(context)
199
255
  unless context.config.regional_endpoint
@@ -56,6 +56,8 @@ module Aws::AppIntegrationsService
56
56
 
57
57
  def parameters_for_operation(context)
58
58
  case context.operation_name
59
+ when :create_application
60
+ Aws::AppIntegrationsService::Endpoints::CreateApplication.build(context)
59
61
  when :create_data_integration
60
62
  Aws::AppIntegrationsService::Endpoints::CreateDataIntegration.build(context)
61
63
  when :create_event_integration
@@ -64,10 +66,14 @@ module Aws::AppIntegrationsService
64
66
  Aws::AppIntegrationsService::Endpoints::DeleteDataIntegration.build(context)
65
67
  when :delete_event_integration
66
68
  Aws::AppIntegrationsService::Endpoints::DeleteEventIntegration.build(context)
69
+ when :get_application
70
+ Aws::AppIntegrationsService::Endpoints::GetApplication.build(context)
67
71
  when :get_data_integration
68
72
  Aws::AppIntegrationsService::Endpoints::GetDataIntegration.build(context)
69
73
  when :get_event_integration
70
74
  Aws::AppIntegrationsService::Endpoints::GetEventIntegration.build(context)
75
+ when :list_applications
76
+ Aws::AppIntegrationsService::Endpoints::ListApplications.build(context)
71
77
  when :list_data_integration_associations
72
78
  Aws::AppIntegrationsService::Endpoints::ListDataIntegrationAssociations.build(context)
73
79
  when :list_data_integrations
@@ -82,6 +88,8 @@ module Aws::AppIntegrationsService
82
88
  Aws::AppIntegrationsService::Endpoints::TagResource.build(context)
83
89
  when :untag_resource
84
90
  Aws::AppIntegrationsService::Endpoints::UntagResource.build(context)
91
+ when :update_application
92
+ Aws::AppIntegrationsService::Endpoints::UpdateApplication.build(context)
85
93
  when :update_data_integration
86
94
  Aws::AppIntegrationsService::Endpoints::UpdateDataIntegration.build(context)
87
95
  when :update_event_integration
@@ -23,6 +23,135 @@ module Aws::AppIntegrationsService
23
23
  include Aws::Structure
24
24
  end
25
25
 
26
+ # The configuration for where the application should be loaded from.
27
+ #
28
+ # @!attribute [rw] external_url_config
29
+ # The external URL source for the application.
30
+ # @return [Types::ExternalUrlConfig]
31
+ #
32
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ApplicationSourceConfig AWS API Documentation
33
+ #
34
+ class ApplicationSourceConfig < Struct.new(
35
+ :external_url_config)
36
+ SENSITIVE = []
37
+ include Aws::Structure
38
+ end
39
+
40
+ # Summary information about the Application.
41
+ #
42
+ # @!attribute [rw] arn
43
+ # The Amazon Resource Name (ARN) of the Application.
44
+ # @return [String]
45
+ #
46
+ # @!attribute [rw] id
47
+ # A unique identifier for the Application.
48
+ # @return [String]
49
+ #
50
+ # @!attribute [rw] name
51
+ # The name of the application.
52
+ # @return [String]
53
+ #
54
+ # @!attribute [rw] namespace
55
+ # The namespace of the application.
56
+ # @return [String]
57
+ #
58
+ # @!attribute [rw] created_time
59
+ # The time when the application was created.
60
+ # @return [Time]
61
+ #
62
+ # @!attribute [rw] last_modified_time
63
+ # The time when the application was last modified.
64
+ # @return [Time]
65
+ #
66
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ApplicationSummary AWS API Documentation
67
+ #
68
+ class ApplicationSummary < Struct.new(
69
+ :arn,
70
+ :id,
71
+ :name,
72
+ :namespace,
73
+ :created_time,
74
+ :last_modified_time)
75
+ SENSITIVE = []
76
+ include Aws::Structure
77
+ end
78
+
79
+ # @!attribute [rw] name
80
+ # The name of the application.
81
+ # @return [String]
82
+ #
83
+ # @!attribute [rw] namespace
84
+ # The namespace of the application.
85
+ # @return [String]
86
+ #
87
+ # @!attribute [rw] description
88
+ # The description of the application.
89
+ # @return [String]
90
+ #
91
+ # @!attribute [rw] application_source_config
92
+ # The configuration for where the application should be loaded from.
93
+ # @return [Types::ApplicationSourceConfig]
94
+ #
95
+ # @!attribute [rw] subscriptions
96
+ # The events that the application subscribes.
97
+ # @return [Array<Types::Subscription>]
98
+ #
99
+ # @!attribute [rw] publications
100
+ # The events that the application publishes.
101
+ # @return [Array<Types::Publication>]
102
+ #
103
+ # @!attribute [rw] client_token
104
+ # A unique, case-sensitive identifier that you provide to ensure the
105
+ # idempotency of the request. If not provided, the Amazon Web Services
106
+ # SDK populates this field. For more information about idempotency,
107
+ # see [Making retries safe with idempotent APIs][1].
108
+ #
109
+ # **A suitable default value is auto-generated.** You should normally
110
+ # not need to pass this option.
111
+ #
112
+ #
113
+ #
114
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
115
+ # @return [String]
116
+ #
117
+ # @!attribute [rw] tags
118
+ # The tags used to organize, track, or control access for this
119
+ # resource. For example, \\\{ "tags": \\\{"key1":"value1",
120
+ # "key2":"value2"\\} \\}.
121
+ # @return [Hash<String,String>]
122
+ #
123
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/CreateApplicationRequest AWS API Documentation
124
+ #
125
+ class CreateApplicationRequest < Struct.new(
126
+ :name,
127
+ :namespace,
128
+ :description,
129
+ :application_source_config,
130
+ :subscriptions,
131
+ :publications,
132
+ :client_token,
133
+ :tags)
134
+ SENSITIVE = []
135
+ include Aws::Structure
136
+ end
137
+
138
+ # @!attribute [rw] arn
139
+ # The Amazon Resource Name (ARN) of the Application.
140
+ # @return [String]
141
+ #
142
+ # @!attribute [rw] id
143
+ # A unique identifier for the Application.
144
+ # @return [String]
145
+ #
146
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/CreateApplicationResponse AWS API Documentation
147
+ #
148
+ class CreateApplicationResponse < Struct.new(
149
+ :arn,
150
+ :id)
151
+ SENSITIVE = []
152
+ include Aws::Structure
153
+ end
154
+
26
155
  # @!attribute [rw] name
27
156
  # The name of the DataIntegration.
28
157
  # @return [String]
@@ -411,6 +540,25 @@ module Aws::AppIntegrationsService
411
540
  include Aws::Structure
412
541
  end
413
542
 
543
+ # The external URL source for the application.
544
+ #
545
+ # @!attribute [rw] access_url
546
+ # The URL to access the application.
547
+ # @return [String]
548
+ #
549
+ # @!attribute [rw] approved_origins
550
+ # Additional URLs to allow list if different than the access URL.
551
+ # @return [Array<String>]
552
+ #
553
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ExternalUrlConfig AWS API Documentation
554
+ #
555
+ class ExternalUrlConfig < Struct.new(
556
+ :access_url,
557
+ :approved_origins)
558
+ SENSITIVE = []
559
+ include Aws::Structure
560
+ end
561
+
414
562
  # The configuration for what files should be pulled from the source.
415
563
  #
416
564
  # @!attribute [rw] folders
@@ -431,6 +579,82 @@ module Aws::AppIntegrationsService
431
579
  include Aws::Structure
432
580
  end
433
581
 
582
+ # @!attribute [rw] arn
583
+ # The Amazon Resource Name (ARN) of the Application.
584
+ # @return [String]
585
+ #
586
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/GetApplicationRequest AWS API Documentation
587
+ #
588
+ class GetApplicationRequest < Struct.new(
589
+ :arn)
590
+ SENSITIVE = []
591
+ include Aws::Structure
592
+ end
593
+
594
+ # @!attribute [rw] arn
595
+ # The Amazon Resource Name (ARN) of the Application.
596
+ # @return [String]
597
+ #
598
+ # @!attribute [rw] id
599
+ # A unique identifier for the Application.
600
+ # @return [String]
601
+ #
602
+ # @!attribute [rw] name
603
+ # The name of the application.
604
+ # @return [String]
605
+ #
606
+ # @!attribute [rw] namespace
607
+ # The namespace of the application.
608
+ # @return [String]
609
+ #
610
+ # @!attribute [rw] description
611
+ # The description of the application.
612
+ # @return [String]
613
+ #
614
+ # @!attribute [rw] application_source_config
615
+ # The configuration for where the application should be loaded from.
616
+ # @return [Types::ApplicationSourceConfig]
617
+ #
618
+ # @!attribute [rw] subscriptions
619
+ # The events that the application subscribes.
620
+ # @return [Array<Types::Subscription>]
621
+ #
622
+ # @!attribute [rw] publications
623
+ # The events that the application publishes.
624
+ # @return [Array<Types::Publication>]
625
+ #
626
+ # @!attribute [rw] created_time
627
+ # The created time of the Application.
628
+ # @return [Time]
629
+ #
630
+ # @!attribute [rw] last_modified_time
631
+ # The last modified time of the Application.
632
+ # @return [Time]
633
+ #
634
+ # @!attribute [rw] tags
635
+ # The tags used to organize, track, or control access for this
636
+ # resource. For example, \\\{ "tags": \\\{"key1":"value1",
637
+ # "key2":"value2"\\} \\}.
638
+ # @return [Hash<String,String>]
639
+ #
640
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/GetApplicationResponse AWS API Documentation
641
+ #
642
+ class GetApplicationResponse < Struct.new(
643
+ :arn,
644
+ :id,
645
+ :name,
646
+ :namespace,
647
+ :description,
648
+ :application_source_config,
649
+ :subscriptions,
650
+ :publications,
651
+ :created_time,
652
+ :last_modified_time,
653
+ :tags)
654
+ SENSITIVE = []
655
+ include Aws::Structure
656
+ end
657
+
434
658
  # @!attribute [rw] identifier
435
659
  # A unique identifier.
436
660
  # @return [String]
@@ -580,6 +804,43 @@ module Aws::AppIntegrationsService
580
804
  include Aws::Structure
581
805
  end
582
806
 
807
+ # @!attribute [rw] next_token
808
+ # The token for the next set of results. Use the value returned in the
809
+ # previous response in the next request to retrieve the next set of
810
+ # results.
811
+ # @return [String]
812
+ #
813
+ # @!attribute [rw] max_results
814
+ # The maximum number of results to return per page.
815
+ # @return [Integer]
816
+ #
817
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ListApplicationsRequest AWS API Documentation
818
+ #
819
+ class ListApplicationsRequest < Struct.new(
820
+ :next_token,
821
+ :max_results)
822
+ SENSITIVE = []
823
+ include Aws::Structure
824
+ end
825
+
826
+ # @!attribute [rw] applications
827
+ # The Applications associated with this account.
828
+ # @return [Array<Types::ApplicationSummary>]
829
+ #
830
+ # @!attribute [rw] next_token
831
+ # If there are additional results, this is the token for the next set
832
+ # of results.
833
+ # @return [String]
834
+ #
835
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ListApplicationsResponse AWS API Documentation
836
+ #
837
+ class ListApplicationsResponse < Struct.new(
838
+ :applications,
839
+ :next_token)
840
+ SENSITIVE = []
841
+ include Aws::Structure
842
+ end
843
+
583
844
  # @!attribute [rw] data_integration_identifier
584
845
  # A unique identifier for the DataIntegration.
585
846
  # @return [String]
@@ -763,6 +1024,30 @@ module Aws::AppIntegrationsService
763
1024
  include Aws::Structure
764
1025
  end
765
1026
 
1027
+ # The configuration of an event that the application publishes.
1028
+ #
1029
+ # @!attribute [rw] event
1030
+ # The name of the publication.
1031
+ # @return [String]
1032
+ #
1033
+ # @!attribute [rw] schema
1034
+ # The JSON schema of the publication event.
1035
+ # @return [String]
1036
+ #
1037
+ # @!attribute [rw] description
1038
+ # The description of the publication.
1039
+ # @return [String]
1040
+ #
1041
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/Publication AWS API Documentation
1042
+ #
1043
+ class Publication < Struct.new(
1044
+ :event,
1045
+ :schema,
1046
+ :description)
1047
+ SENSITIVE = []
1048
+ include Aws::Structure
1049
+ end
1050
+
766
1051
  # The specified resource was not found.
767
1052
  #
768
1053
  # @!attribute [rw] message
@@ -815,6 +1100,25 @@ module Aws::AppIntegrationsService
815
1100
  include Aws::Structure
816
1101
  end
817
1102
 
1103
+ # The configuration of an event that the application subscribes.
1104
+ #
1105
+ # @!attribute [rw] event
1106
+ # The name of the subscription.
1107
+ # @return [String]
1108
+ #
1109
+ # @!attribute [rw] description
1110
+ # The description of the subscription.
1111
+ # @return [String]
1112
+ #
1113
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/Subscription AWS API Documentation
1114
+ #
1115
+ class Subscription < Struct.new(
1116
+ :event,
1117
+ :description)
1118
+ SENSITIVE = []
1119
+ include Aws::Structure
1120
+ end
1121
+
818
1122
  # @!attribute [rw] resource_arn
819
1123
  # The Amazon Resource Name (ARN) of the resource.
820
1124
  # @return [String]
@@ -872,6 +1176,47 @@ module Aws::AppIntegrationsService
872
1176
  #
873
1177
  class UntagResourceResponse < Aws::EmptyStructure; end
874
1178
 
1179
+ # @!attribute [rw] arn
1180
+ # The Amazon Resource Name (ARN) of the Application.
1181
+ # @return [String]
1182
+ #
1183
+ # @!attribute [rw] name
1184
+ # The name of the application.
1185
+ # @return [String]
1186
+ #
1187
+ # @!attribute [rw] description
1188
+ # The description of the application.
1189
+ # @return [String]
1190
+ #
1191
+ # @!attribute [rw] application_source_config
1192
+ # The configuration for where the application should be loaded from.
1193
+ # @return [Types::ApplicationSourceConfig]
1194
+ #
1195
+ # @!attribute [rw] subscriptions
1196
+ # The events that the application subscribes.
1197
+ # @return [Array<Types::Subscription>]
1198
+ #
1199
+ # @!attribute [rw] publications
1200
+ # The events that the application publishes.
1201
+ # @return [Array<Types::Publication>]
1202
+ #
1203
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/UpdateApplicationRequest AWS API Documentation
1204
+ #
1205
+ class UpdateApplicationRequest < Struct.new(
1206
+ :arn,
1207
+ :name,
1208
+ :description,
1209
+ :application_source_config,
1210
+ :subscriptions,
1211
+ :publications)
1212
+ SENSITIVE = []
1213
+ include Aws::Structure
1214
+ end
1215
+
1216
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/UpdateApplicationResponse AWS API Documentation
1217
+ #
1218
+ class UpdateApplicationResponse < Aws::EmptyStructure; end
1219
+
875
1220
  # @!attribute [rw] identifier
876
1221
  # A unique identifier for the DataIntegration.
877
1222
  # @return [String]
@@ -903,7 +1248,7 @@ module Aws::AppIntegrationsService
903
1248
  # @return [String]
904
1249
  #
905
1250
  # @!attribute [rw] description
906
- # The description of the event inegration.
1251
+ # The description of the event integration.
907
1252
  # @return [String]
908
1253
  #
909
1254
  # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/UpdateEventIntegrationRequest AWS API Documentation
@@ -32,7 +32,7 @@ require_relative 'aws-sdk-appintegrationsservice/customizations'
32
32
  # structure.
33
33
  #
34
34
  # app_integrations_service = Aws::AppIntegrationsService::Client.new
35
- # resp = app_integrations_service.create_data_integration(params)
35
+ # resp = app_integrations_service.create_application(params)
36
36
  #
37
37
  # See {Client} for more information.
38
38
  #
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-appintegrationsservice/customizations'
52
52
  # @!group service
53
53
  module Aws::AppIntegrationsService
54
54
 
55
- GEM_VERSION = '1.21.0'
55
+ GEM_VERSION = '1.23.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-appintegrationsservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.21.0
4
+ version: 1.23.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: 2023-07-11 00:00:00.000000000 Z
11
+ date: 2023-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core