aws-sdk-appintegrationsservice 1.15.0 → 1.16.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ccff4f33534dea2f6fe8b4e452a3168c949fd93801d1c41f710e1ec1bd00b8e6
4
- data.tar.gz: 8661b418ea12297498500edb0b408d503c350c54f1e2d7e384468a996f6aed7e
3
+ metadata.gz: bc64daf93a16595267d6cfce9d8310bc15cccc1fb466f39bdd8b1897a4279d30
4
+ data.tar.gz: c85e37884292e31235b7f163febf1e4e928f316d7d8659615bf1f21c6c9a7c3f
5
5
  SHA512:
6
- metadata.gz: 64d598cac2ed60ff37cdbe1c63c191bd2672c814aafe6ede9e0df8697856669fe10ddc24b28ebf8a3b0a0ad94ae97533f54f1a21abeb5c1ee50db011a1daca42
7
- data.tar.gz: ba0e1851e8eed740a6444017f0115b7dcf9e7c4e81de5a7eeb86043cb126d82e8beedd880b36cd61f4b5fcc4cab2e20864bd5b71b53cb7694f0a34a8bc9fc137
6
+ metadata.gz: dceab6d4d853d0bc1f5b4822b021986b0df779f4e7e3a6bcd6eba1136decc2348e2dd8a958e17a57f6693344811d08b12e2eec9836d57fde782cd27ef1169abf
7
+ data.tar.gz: 908bab048bce23439f258a71fca2db442da039d5f21b23e7c01ea2e4f653d3eb1a09f9edec3217991934c4fb4ce6d87bab7cf2cca5f93398e958d86a055622ee
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.16.0 (2023-03-13)
5
+ ------------------
6
+
7
+ * Feature - Adds FileConfiguration to Amazon AppIntegrations CreateDataIntegration supporting scheduled downloading of third party files into Amazon Connect from sources such as Microsoft SharePoint.
8
+
4
9
  1.15.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.15.0
1
+ 1.16.0
@@ -382,26 +382,40 @@ module Aws::AppIntegrationsService
382
382
  # @option params [String] :description
383
383
  # A description of the DataIntegration.
384
384
  #
385
- # @option params [String] :kms_key
385
+ # @option params [required, String] :kms_key
386
386
  # The KMS key for the DataIntegration.
387
387
  #
388
- # @option params [String] :source_uri
388
+ # @option params [required, String] :source_uri
389
389
  # The URI of the data source.
390
390
  #
391
- # @option params [Types::ScheduleConfiguration] :schedule_config
391
+ # @option params [required, Types::ScheduleConfiguration] :schedule_config
392
392
  # The name of the data and how often it should be pulled from the
393
393
  # source.
394
394
  #
395
395
  # @option params [Hash<String,String>] :tags
396
- # One or more tags.
396
+ # The tags used to organize, track, or control access for this resource.
397
+ # For example, \\\{ "tags": \\\{"key1":"value1",
398
+ # "key2":"value2"\\} \\}.
397
399
  #
398
400
  # @option params [String] :client_token
399
401
  # A unique, case-sensitive identifier that you provide to ensure the
400
- # idempotency of the request.
402
+ # idempotency of the request. If not provided, the Amazon Web Services
403
+ # SDK populates this field. For more information about idempotency, see
404
+ # [Making retries safe with idempotent APIs][1].
401
405
  #
402
406
  # **A suitable default value is auto-generated.** You should normally
403
407
  # not need to pass this option.**
404
408
  #
409
+ #
410
+ #
411
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
412
+ #
413
+ # @option params [Types::FileConfiguration] :file_configuration
414
+ # The configuration for what files should be pulled from the source.
415
+ #
416
+ # @option params [Hash<String,Hash>] :object_configuration
417
+ # The configuration for what data should be pulled from the source.
418
+ #
405
419
  # @return [Types::CreateDataIntegrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
406
420
  #
407
421
  # * {Types::CreateDataIntegrationResponse#arn #arn} => String
@@ -413,23 +427,36 @@ module Aws::AppIntegrationsService
413
427
  # * {Types::CreateDataIntegrationResponse#schedule_configuration #schedule_configuration} => Types::ScheduleConfiguration
414
428
  # * {Types::CreateDataIntegrationResponse#tags #tags} => Hash&lt;String,String&gt;
415
429
  # * {Types::CreateDataIntegrationResponse#client_token #client_token} => String
430
+ # * {Types::CreateDataIntegrationResponse#file_configuration #file_configuration} => Types::FileConfiguration
431
+ # * {Types::CreateDataIntegrationResponse#object_configuration #object_configuration} => Hash&lt;String,Hash&lt;String,Array&lt;String&gt;&gt;&gt;
416
432
  #
417
433
  # @example Request syntax with placeholder values
418
434
  #
419
435
  # resp = client.create_data_integration({
420
436
  # name: "Name", # required
421
437
  # description: "Description",
422
- # kms_key: "NonBlankString",
423
- # source_uri: "NonBlankString",
424
- # schedule_config: {
438
+ # kms_key: "NonBlankString", # required
439
+ # source_uri: "SourceURI", # required
440
+ # schedule_config: { # required
425
441
  # first_execution_from: "NonBlankString",
426
442
  # object: "Object",
427
- # schedule_expression: "Schedule",
443
+ # schedule_expression: "NonBlankString", # required
428
444
  # },
429
445
  # tags: {
430
446
  # "TagKey" => "TagValue",
431
447
  # },
432
448
  # client_token: "IdempotencyToken",
449
+ # file_configuration: {
450
+ # folders: ["NonBlankLongString"], # required
451
+ # filters: {
452
+ # "NonBlankString" => ["Fields"],
453
+ # },
454
+ # },
455
+ # object_configuration: {
456
+ # "NonBlankString" => {
457
+ # "NonBlankString" => ["Fields"],
458
+ # },
459
+ # },
433
460
  # })
434
461
  #
435
462
  # @example Response structure
@@ -446,6 +473,15 @@ module Aws::AppIntegrationsService
446
473
  # resp.tags #=> Hash
447
474
  # resp.tags["TagKey"] #=> String
448
475
  # resp.client_token #=> String
476
+ # resp.file_configuration.folders #=> Array
477
+ # resp.file_configuration.folders[0] #=> String
478
+ # resp.file_configuration.filters #=> Hash
479
+ # resp.file_configuration.filters["NonBlankString"] #=> Array
480
+ # resp.file_configuration.filters["NonBlankString"][0] #=> String
481
+ # resp.object_configuration #=> Hash
482
+ # resp.object_configuration["NonBlankString"] #=> Hash
483
+ # resp.object_configuration["NonBlankString"]["NonBlankString"] #=> Array
484
+ # resp.object_configuration["NonBlankString"]["NonBlankString"][0] #=> String
449
485
  #
450
486
  # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/CreateDataIntegration AWS API Documentation
451
487
  #
@@ -476,13 +512,21 @@ module Aws::AppIntegrationsService
476
512
  #
477
513
  # @option params [String] :client_token
478
514
  # A unique, case-sensitive identifier that you provide to ensure the
479
- # idempotency of the request.
515
+ # idempotency of the request. If not provided, the Amazon Web Services
516
+ # SDK populates this field. For more information about idempotency, see
517
+ # [Making retries safe with idempotent APIs][1].
480
518
  #
481
519
  # **A suitable default value is auto-generated.** You should normally
482
520
  # not need to pass this option.**
483
521
  #
522
+ #
523
+ #
524
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
525
+ #
484
526
  # @option params [Hash<String,String>] :tags
485
- # One or more tags.
527
+ # The tags used to organize, track, or control access for this resource.
528
+ # For example, \\\{ "tags": \\\{"key1":"value1",
529
+ # "key2":"value2"\\} \\}.
486
530
  #
487
531
  # @return [Types::CreateEventIntegrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
488
532
  #
@@ -601,6 +645,8 @@ module Aws::AppIntegrationsService
601
645
  # * {Types::GetDataIntegrationResponse#source_uri #source_uri} => String
602
646
  # * {Types::GetDataIntegrationResponse#schedule_configuration #schedule_configuration} => Types::ScheduleConfiguration
603
647
  # * {Types::GetDataIntegrationResponse#tags #tags} => Hash&lt;String,String&gt;
648
+ # * {Types::GetDataIntegrationResponse#file_configuration #file_configuration} => Types::FileConfiguration
649
+ # * {Types::GetDataIntegrationResponse#object_configuration #object_configuration} => Hash&lt;String,Hash&lt;String,Array&lt;String&gt;&gt;&gt;
604
650
  #
605
651
  # @example Request syntax with placeholder values
606
652
  #
@@ -621,6 +667,15 @@ module Aws::AppIntegrationsService
621
667
  # resp.schedule_configuration.schedule_expression #=> String
622
668
  # resp.tags #=> Hash
623
669
  # resp.tags["TagKey"] #=> String
670
+ # resp.file_configuration.folders #=> Array
671
+ # resp.file_configuration.folders[0] #=> String
672
+ # resp.file_configuration.filters #=> Hash
673
+ # resp.file_configuration.filters["NonBlankString"] #=> Array
674
+ # resp.file_configuration.filters["NonBlankString"][0] #=> String
675
+ # resp.object_configuration #=> Hash
676
+ # resp.object_configuration["NonBlankString"] #=> Hash
677
+ # resp.object_configuration["NonBlankString"]["NonBlankString"] #=> Array
678
+ # resp.object_configuration["NonBlankString"]["NonBlankString"][0] #=> String
624
679
  #
625
680
  # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/GetDataIntegration AWS API Documentation
626
681
  #
@@ -901,7 +956,9 @@ module Aws::AppIntegrationsService
901
956
  # The Amazon Resource Name (ARN) of the resource.
902
957
  #
903
958
  # @option params [required, Hash<String,String>] :tags
904
- # One or more tags.
959
+ # The tags used to organize, track, or control access for this resource.
960
+ # For example, \\\{ "tags": \\\{"key1":"value1",
961
+ # "key2":"value2"\\} \\}.
905
962
  #
906
963
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
907
964
  #
@@ -1029,7 +1086,7 @@ module Aws::AppIntegrationsService
1029
1086
  params: params,
1030
1087
  config: config)
1031
1088
  context[:gem_name] = 'aws-sdk-appintegrationsservice'
1032
- context[:gem_version] = '1.15.0'
1089
+ context[:gem_version] = '1.16.0'
1033
1090
  Seahorse::Client::Request.new(handlers, context)
1034
1091
  end
1035
1092
 
@@ -38,6 +38,11 @@ module Aws::AppIntegrationsService
38
38
  EventIntegrationAssociation = Shapes::StructureShape.new(name: 'EventIntegrationAssociation')
39
39
  EventIntegrationAssociationsList = Shapes::ListShape.new(name: 'EventIntegrationAssociationsList')
40
40
  EventIntegrationsList = Shapes::ListShape.new(name: 'EventIntegrationsList')
41
+ Fields = Shapes::StringShape.new(name: 'Fields')
42
+ FieldsList = Shapes::ListShape.new(name: 'FieldsList')
43
+ FieldsMap = Shapes::MapShape.new(name: 'FieldsMap')
44
+ FileConfiguration = Shapes::StructureShape.new(name: 'FileConfiguration')
45
+ FolderList = Shapes::ListShape.new(name: 'FolderList')
41
46
  GetDataIntegrationRequest = Shapes::StructureShape.new(name: 'GetDataIntegrationRequest')
42
47
  GetDataIntegrationResponse = Shapes::StructureShape.new(name: 'GetDataIntegrationResponse')
43
48
  GetEventIntegrationRequest = Shapes::StructureShape.new(name: 'GetEventIntegrationRequest')
@@ -60,13 +65,15 @@ module Aws::AppIntegrationsService
60
65
  Message = Shapes::StringShape.new(name: 'Message')
61
66
  Name = Shapes::StringShape.new(name: 'Name')
62
67
  NextToken = Shapes::StringShape.new(name: 'NextToken')
68
+ NonBlankLongString = Shapes::StringShape.new(name: 'NonBlankLongString')
63
69
  NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
64
70
  Object = Shapes::StringShape.new(name: 'Object')
71
+ ObjectConfiguration = Shapes::MapShape.new(name: 'ObjectConfiguration')
65
72
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
66
73
  ResourceQuotaExceededException = Shapes::StructureShape.new(name: 'ResourceQuotaExceededException')
67
- Schedule = Shapes::StringShape.new(name: 'Schedule')
68
74
  ScheduleConfiguration = Shapes::StructureShape.new(name: 'ScheduleConfiguration')
69
75
  Source = Shapes::StringShape.new(name: 'Source')
76
+ SourceURI = Shapes::StringShape.new(name: 'SourceURI')
70
77
  TagKey = Shapes::StringShape.new(name: 'TagKey')
71
78
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
72
79
  TagMap = Shapes::MapShape.new(name: 'TagMap')
@@ -90,11 +97,13 @@ module Aws::AppIntegrationsService
90
97
 
91
98
  CreateDataIntegrationRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
92
99
  CreateDataIntegrationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
93
- CreateDataIntegrationRequest.add_member(:kms_key, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "KmsKey"))
94
- CreateDataIntegrationRequest.add_member(:source_uri, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "SourceURI"))
95
- CreateDataIntegrationRequest.add_member(:schedule_config, Shapes::ShapeRef.new(shape: ScheduleConfiguration, location_name: "ScheduleConfig"))
100
+ CreateDataIntegrationRequest.add_member(:kms_key, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "KmsKey"))
101
+ CreateDataIntegrationRequest.add_member(:source_uri, Shapes::ShapeRef.new(shape: SourceURI, required: true, location_name: "SourceURI"))
102
+ CreateDataIntegrationRequest.add_member(:schedule_config, Shapes::ShapeRef.new(shape: ScheduleConfiguration, required: true, location_name: "ScheduleConfig"))
96
103
  CreateDataIntegrationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
97
104
  CreateDataIntegrationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
105
+ CreateDataIntegrationRequest.add_member(:file_configuration, Shapes::ShapeRef.new(shape: FileConfiguration, location_name: "FileConfiguration"))
106
+ CreateDataIntegrationRequest.add_member(:object_configuration, Shapes::ShapeRef.new(shape: ObjectConfiguration, location_name: "ObjectConfiguration"))
98
107
  CreateDataIntegrationRequest.struct_class = Types::CreateDataIntegrationRequest
99
108
 
100
109
  CreateDataIntegrationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
@@ -102,10 +111,12 @@ module Aws::AppIntegrationsService
102
111
  CreateDataIntegrationResponse.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
103
112
  CreateDataIntegrationResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
104
113
  CreateDataIntegrationResponse.add_member(:kms_key, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "KmsKey"))
105
- CreateDataIntegrationResponse.add_member(:source_uri, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "SourceURI"))
114
+ CreateDataIntegrationResponse.add_member(:source_uri, Shapes::ShapeRef.new(shape: SourceURI, location_name: "SourceURI"))
106
115
  CreateDataIntegrationResponse.add_member(:schedule_configuration, Shapes::ShapeRef.new(shape: ScheduleConfiguration, location_name: "ScheduleConfiguration"))
107
116
  CreateDataIntegrationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
108
117
  CreateDataIntegrationResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "ClientToken"))
118
+ CreateDataIntegrationResponse.add_member(:file_configuration, Shapes::ShapeRef.new(shape: FileConfiguration, location_name: "FileConfiguration"))
119
+ CreateDataIntegrationResponse.add_member(:object_configuration, Shapes::ShapeRef.new(shape: ObjectConfiguration, location_name: "ObjectConfiguration"))
109
120
  CreateDataIntegrationResponse.struct_class = Types::CreateDataIntegrationResponse
110
121
 
111
122
  CreateEventIntegrationRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
@@ -128,7 +139,7 @@ module Aws::AppIntegrationsService
128
139
 
129
140
  DataIntegrationSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
130
141
  DataIntegrationSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
131
- DataIntegrationSummary.add_member(:source_uri, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "SourceURI"))
142
+ DataIntegrationSummary.add_member(:source_uri, Shapes::ShapeRef.new(shape: SourceURI, location_name: "SourceURI"))
132
143
  DataIntegrationSummary.struct_class = Types::DataIntegrationSummary
133
144
 
134
145
  DataIntegrationsList.member = Shapes::ShapeRef.new(shape: DataIntegrationSummary)
@@ -169,6 +180,17 @@ module Aws::AppIntegrationsService
169
180
 
170
181
  EventIntegrationsList.member = Shapes::ShapeRef.new(shape: EventIntegration)
171
182
 
183
+ FieldsList.member = Shapes::ShapeRef.new(shape: Fields)
184
+
185
+ FieldsMap.key = Shapes::ShapeRef.new(shape: NonBlankString)
186
+ FieldsMap.value = Shapes::ShapeRef.new(shape: FieldsList)
187
+
188
+ FileConfiguration.add_member(:folders, Shapes::ShapeRef.new(shape: FolderList, required: true, location_name: "Folders"))
189
+ FileConfiguration.add_member(:filters, Shapes::ShapeRef.new(shape: FieldsMap, location_name: "Filters"))
190
+ FileConfiguration.struct_class = Types::FileConfiguration
191
+
192
+ FolderList.member = Shapes::ShapeRef.new(shape: NonBlankLongString)
193
+
172
194
  GetDataIntegrationRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "Identifier"))
173
195
  GetDataIntegrationRequest.struct_class = Types::GetDataIntegrationRequest
174
196
 
@@ -177,9 +199,11 @@ module Aws::AppIntegrationsService
177
199
  GetDataIntegrationResponse.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
178
200
  GetDataIntegrationResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
179
201
  GetDataIntegrationResponse.add_member(:kms_key, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "KmsKey"))
180
- GetDataIntegrationResponse.add_member(:source_uri, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "SourceURI"))
202
+ GetDataIntegrationResponse.add_member(:source_uri, Shapes::ShapeRef.new(shape: SourceURI, location_name: "SourceURI"))
181
203
  GetDataIntegrationResponse.add_member(:schedule_configuration, Shapes::ShapeRef.new(shape: ScheduleConfiguration, location_name: "ScheduleConfiguration"))
182
204
  GetDataIntegrationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
205
+ GetDataIntegrationResponse.add_member(:file_configuration, Shapes::ShapeRef.new(shape: FileConfiguration, location_name: "FileConfiguration"))
206
+ GetDataIntegrationResponse.add_member(:object_configuration, Shapes::ShapeRef.new(shape: ObjectConfiguration, location_name: "ObjectConfiguration"))
183
207
  GetDataIntegrationResponse.struct_class = Types::GetDataIntegrationResponse
184
208
 
185
209
  GetEventIntegrationRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location: "uri", location_name: "Name"))
@@ -239,6 +263,9 @@ module Aws::AppIntegrationsService
239
263
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
240
264
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
241
265
 
266
+ ObjectConfiguration.key = Shapes::ShapeRef.new(shape: NonBlankString)
267
+ ObjectConfiguration.value = Shapes::ShapeRef.new(shape: FieldsMap)
268
+
242
269
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
243
270
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
244
271
 
@@ -247,7 +274,7 @@ module Aws::AppIntegrationsService
247
274
 
248
275
  ScheduleConfiguration.add_member(:first_execution_from, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "FirstExecutionFrom"))
249
276
  ScheduleConfiguration.add_member(:object, Shapes::ShapeRef.new(shape: Object, location_name: "Object"))
250
- ScheduleConfiguration.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: Schedule, location_name: "ScheduleExpression"))
277
+ ScheduleConfiguration.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "ScheduleExpression"))
251
278
  ScheduleConfiguration.struct_class = Types::ScheduleConfiguration
252
279
 
253
280
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
@@ -14,36 +14,39 @@ module Aws::AppIntegrationsService
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://app-integrations-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://app-integrations-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://app-integrations.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://app-integrations-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://app-integrations-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://app-integrations.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://app-integrations.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://app-integrations.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -45,17 +45,33 @@ module Aws::AppIntegrationsService
45
45
  # @return [Types::ScheduleConfiguration]
46
46
  #
47
47
  # @!attribute [rw] tags
48
- # One or more tags.
48
+ # The tags used to organize, track, or control access for this
49
+ # resource. For example, \\\{ "tags": \\\{"key1":"value1",
50
+ # "key2":"value2"\\} \\}.
49
51
  # @return [Hash<String,String>]
50
52
  #
51
53
  # @!attribute [rw] client_token
52
54
  # A unique, case-sensitive identifier that you provide to ensure the
53
- # idempotency of the request.
55
+ # idempotency of the request. If not provided, the Amazon Web Services
56
+ # SDK populates this field. For more information about idempotency,
57
+ # see [Making retries safe with idempotent APIs][1].
54
58
  #
55
59
  # **A suitable default value is auto-generated.** You should normally
56
60
  # not need to pass this option.
61
+ #
62
+ #
63
+ #
64
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
57
65
  # @return [String]
58
66
  #
67
+ # @!attribute [rw] file_configuration
68
+ # The configuration for what files should be pulled from the source.
69
+ # @return [Types::FileConfiguration]
70
+ #
71
+ # @!attribute [rw] object_configuration
72
+ # The configuration for what data should be pulled from the source.
73
+ # @return [Hash<String,Hash<String,Array<String>>>]
74
+ #
59
75
  # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/CreateDataIntegrationRequest AWS API Documentation
60
76
  #
61
77
  class CreateDataIntegrationRequest < Struct.new(
@@ -65,7 +81,9 @@ module Aws::AppIntegrationsService
65
81
  :source_uri,
66
82
  :schedule_config,
67
83
  :tags,
68
- :client_token)
84
+ :client_token,
85
+ :file_configuration,
86
+ :object_configuration)
69
87
  SENSITIVE = []
70
88
  include Aws::Structure
71
89
  end
@@ -100,14 +118,30 @@ module Aws::AppIntegrationsService
100
118
  # @return [Types::ScheduleConfiguration]
101
119
  #
102
120
  # @!attribute [rw] tags
103
- # One or more tags.
121
+ # The tags used to organize, track, or control access for this
122
+ # resource. For example, \\\{ "tags": \\\{"key1":"value1",
123
+ # "key2":"value2"\\} \\}.
104
124
  # @return [Hash<String,String>]
105
125
  #
106
126
  # @!attribute [rw] client_token
107
127
  # A unique, case-sensitive identifier that you provide to ensure the
108
- # idempotency of the request.
128
+ # idempotency of the request. If not provided, the Amazon Web Services
129
+ # SDK populates this field. For more information about idempotency,
130
+ # see [Making retries safe with idempotent APIs][1].
131
+ #
132
+ #
133
+ #
134
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
109
135
  # @return [String]
110
136
  #
137
+ # @!attribute [rw] file_configuration
138
+ # The configuration for what files should be pulled from the source.
139
+ # @return [Types::FileConfiguration]
140
+ #
141
+ # @!attribute [rw] object_configuration
142
+ # The configuration for what data should be pulled from the source.
143
+ # @return [Hash<String,Hash<String,Array<String>>>]
144
+ #
111
145
  # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/CreateDataIntegrationResponse AWS API Documentation
112
146
  #
113
147
  class CreateDataIntegrationResponse < Struct.new(
@@ -119,7 +153,9 @@ module Aws::AppIntegrationsService
119
153
  :source_uri,
120
154
  :schedule_configuration,
121
155
  :tags,
122
- :client_token)
156
+ :client_token,
157
+ :file_configuration,
158
+ :object_configuration)
123
159
  SENSITIVE = []
124
160
  include Aws::Structure
125
161
  end
@@ -142,14 +178,22 @@ module Aws::AppIntegrationsService
142
178
  #
143
179
  # @!attribute [rw] client_token
144
180
  # A unique, case-sensitive identifier that you provide to ensure the
145
- # idempotency of the request.
181
+ # idempotency of the request. If not provided, the Amazon Web Services
182
+ # SDK populates this field. For more information about idempotency,
183
+ # see [Making retries safe with idempotent APIs][1].
146
184
  #
147
185
  # **A suitable default value is auto-generated.** You should normally
148
186
  # not need to pass this option.
187
+ #
188
+ #
189
+ #
190
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
149
191
  # @return [String]
150
192
  #
151
193
  # @!attribute [rw] tags
152
- # One or more tags.
194
+ # The tags used to organize, track, or control access for this
195
+ # resource. For example, \\\{ "tags": \\\{"key1":"value1",
196
+ # "key2":"value2"\\} \\}.
153
197
  # @return [Hash<String,String>]
154
198
  #
155
199
  # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/CreateEventIntegrationRequest AWS API Documentation
@@ -184,11 +228,11 @@ module Aws::AppIntegrationsService
184
228
  # @return [String]
185
229
  #
186
230
  # @!attribute [rw] data_integration_arn
187
- # The Amazon Resource Name (ARN)of the DataIntegration.
231
+ # The Amazon Resource Name (ARN) of the DataIntegration.
188
232
  # @return [String]
189
233
  #
190
234
  # @!attribute [rw] client_id
191
- # The identifier for teh client that is associated with the
235
+ # The identifier for the client that is associated with the
192
236
  # DataIntegration association.
193
237
  # @return [String]
194
238
  #
@@ -308,7 +352,9 @@ module Aws::AppIntegrationsService
308
352
  # @return [String]
309
353
  #
310
354
  # @!attribute [rw] tags
311
- # The tags.
355
+ # The tags used to organize, track, or control access for this
356
+ # resource. For example, \\\{ "tags": \\\{"key1":"value1",
357
+ # "key2":"value2"\\} \\}.
312
358
  # @return [Hash<String,String>]
313
359
  #
314
360
  # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/EventIntegration AWS API Documentation
@@ -365,6 +411,26 @@ module Aws::AppIntegrationsService
365
411
  include Aws::Structure
366
412
  end
367
413
 
414
+ # The configuration for what files should be pulled from the source.
415
+ #
416
+ # @!attribute [rw] folders
417
+ # Identifiers for the source folders to pull all files from
418
+ # recursively.
419
+ # @return [Array<String>]
420
+ #
421
+ # @!attribute [rw] filters
422
+ # Restrictions for what files should be pulled from the source.
423
+ # @return [Hash<String,Array<String>>]
424
+ #
425
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/FileConfiguration AWS API Documentation
426
+ #
427
+ class FileConfiguration < Struct.new(
428
+ :folders,
429
+ :filters)
430
+ SENSITIVE = []
431
+ include Aws::Structure
432
+ end
433
+
368
434
  # @!attribute [rw] identifier
369
435
  # A unique identifier.
370
436
  # @return [String]
@@ -407,9 +473,19 @@ module Aws::AppIntegrationsService
407
473
  # @return [Types::ScheduleConfiguration]
408
474
  #
409
475
  # @!attribute [rw] tags
410
- # One or more tags.
476
+ # The tags used to organize, track, or control access for this
477
+ # resource. For example, \\\{ "tags": \\\{"key1":"value1",
478
+ # "key2":"value2"\\} \\}.
411
479
  # @return [Hash<String,String>]
412
480
  #
481
+ # @!attribute [rw] file_configuration
482
+ # The configuration for what files should be pulled from the source.
483
+ # @return [Types::FileConfiguration]
484
+ #
485
+ # @!attribute [rw] object_configuration
486
+ # The configuration for what data should be pulled from the source.
487
+ # @return [Hash<String,Hash<String,Array<String>>>]
488
+ #
413
489
  # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/GetDataIntegrationResponse AWS API Documentation
414
490
  #
415
491
  class GetDataIntegrationResponse < Struct.new(
@@ -420,7 +496,9 @@ module Aws::AppIntegrationsService
420
496
  :kms_key,
421
497
  :source_uri,
422
498
  :schedule_configuration,
423
- :tags)
499
+ :tags,
500
+ :file_configuration,
501
+ :object_configuration)
424
502
  SENSITIVE = []
425
503
  include Aws::Structure
426
504
  end
@@ -458,7 +536,9 @@ module Aws::AppIntegrationsService
458
536
  # @return [Types::EventFilter]
459
537
  #
460
538
  # @!attribute [rw] tags
461
- # One or more tags.
539
+ # The tags used to organize, track, or control access for this
540
+ # resource. For example, \\\{ "tags": \\\{"key1":"value1",
541
+ # "key2":"value2"\\} \\}.
462
542
  # @return [Hash<String,String>]
463
543
  #
464
544
  # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/GetEventIntegrationResponse AWS API Documentation
@@ -713,7 +793,8 @@ module Aws::AppIntegrationsService
713
793
  # source.
714
794
  #
715
795
  # @!attribute [rw] first_execution_from
716
- # The start date for objects to import in the first flow run.
796
+ # The start date for objects to import in the first flow run as an
797
+ # Unix/epoch timestamp in milliseconds or in ISO-8601 format.
717
798
  # @return [String]
718
799
  #
719
800
  # @!attribute [rw] object
@@ -739,7 +820,9 @@ module Aws::AppIntegrationsService
739
820
  # @return [String]
740
821
  #
741
822
  # @!attribute [rw] tags
742
- # One or more tags.
823
+ # The tags used to organize, track, or control access for this
824
+ # resource. For example, \\\{ "tags": \\\{"key1":"value1",
825
+ # "key2":"value2"\\} \\}.
743
826
  # @return [Hash<String,String>]
744
827
  #
745
828
  # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/TagResourceRequest AWS API Documentation
@@ -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.15.0'
55
+ GEM_VERSION = '1.16.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.15.0
4
+ version: 1.16.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-01-18 00:00:00.000000000 Z
11
+ date: 2023-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core