aws-sdk-finspacedata 1.7.0 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-finspacedata/client.rb +123 -20
- data/lib/aws-sdk-finspacedata/client_api.rb +12 -3
- data/lib/aws-sdk-finspacedata/types.rb +173 -17
- data/lib/aws-sdk-finspacedata.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92916b39e6ab2ee47c894389969dba1dd6eabfbfbd3a83276ba67d7975f8538e
|
4
|
+
data.tar.gz: db96bf2aa8f5d347af901aed5f9d0c90af2c85ae97c72eb013678105c03b3362
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a57f7e3e021c8cd53498b0714579421b3641bc5af1fc0787c5ddf1124f10cfcbe62b57a1962f92fc0c97d043463a186af089d29735f05a1825a7e06b44fc16c
|
7
|
+
data.tar.gz: 3a2a9c20c150f07f5891d423c74e0bd5b5d09b27d0c086f6d1c37421661f7698e0e344955e70c081483eb31f94df389ccd987da9a3b6638dede215c608690767
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.11.0 (2022-01-11)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation updates for FinSpace.
|
8
|
+
|
9
|
+
1.10.0 (2021-12-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.9.0 (2021-12-20)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Make dataset description optional and allow s3 export for dataviews
|
18
|
+
|
19
|
+
1.8.0 (2021-11-30)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.7.0 (2021-11-23)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.11.0
|
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
30
31
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
32
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
33
|
require 'aws-sdk-finspacedata/plugins/content_type.rb'
|
@@ -74,6 +75,7 @@ module Aws::FinSpaceData
|
|
74
75
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
75
76
|
add_plugin(Aws::Plugins::TransferEncoding)
|
76
77
|
add_plugin(Aws::Plugins::HttpChecksum)
|
78
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
77
79
|
add_plugin(Aws::Plugins::SignatureV4)
|
78
80
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
79
81
|
add_plugin(Aws::FinSpaceData::Plugins::ContentType)
|
@@ -121,7 +123,9 @@ module Aws::FinSpaceData
|
|
121
123
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
122
124
|
# are very aggressive. Construct and pass an instance of
|
123
125
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
124
|
-
# enable retries and extended timeouts.
|
126
|
+
# enable retries and extended timeouts. Instance profile credential
|
127
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
128
|
+
# to true.
|
125
129
|
#
|
126
130
|
# @option options [required, String] :region
|
127
131
|
# The AWS region to connect to. The configured `:region` is
|
@@ -175,6 +179,10 @@ module Aws::FinSpaceData
|
|
175
179
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
176
180
|
# a clock skew correction and retry requests with skewed client clocks.
|
177
181
|
#
|
182
|
+
# @option options [String] :defaults_mode ("legacy")
|
183
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
184
|
+
# accepted modes and the configuration defaults that are included.
|
185
|
+
#
|
178
186
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
179
187
|
# Set to true to disable SDK automatically adding host prefix
|
180
188
|
# to default service endpoint when available.
|
@@ -297,7 +305,7 @@ module Aws::FinSpaceData
|
|
297
305
|
# seconds to wait when opening a HTTP session before raising a
|
298
306
|
# `Timeout::Error`.
|
299
307
|
#
|
300
|
-
# @option options [
|
308
|
+
# @option options [Float] :http_read_timeout (60) The default
|
301
309
|
# number of seconds to wait for response data. This value can
|
302
310
|
# safely be set per-request on the session.
|
303
311
|
#
|
@@ -313,6 +321,9 @@ module Aws::FinSpaceData
|
|
313
321
|
# disables this behaviour. This value can safely be set per
|
314
322
|
# request on the session.
|
315
323
|
#
|
324
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
325
|
+
# in seconds.
|
326
|
+
#
|
316
327
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
317
328
|
# HTTP debug output will be sent to the `:logger`.
|
318
329
|
#
|
@@ -341,7 +352,7 @@ module Aws::FinSpaceData
|
|
341
352
|
# Creates a new Changeset in a FinSpace Dataset.
|
342
353
|
#
|
343
354
|
# @option params [String] :client_token
|
344
|
-
# A token
|
355
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
345
356
|
#
|
346
357
|
# **A suitable default value is auto-generated.** You should normally
|
347
358
|
# not need to pass this option.**
|
@@ -363,7 +374,25 @@ module Aws::FinSpaceData
|
|
363
374
|
# prior ingested Changeset.
|
364
375
|
#
|
365
376
|
# @option params [required, Hash<String,String>] :source_params
|
366
|
-
# Options that define the location of the data being ingested
|
377
|
+
# Options that define the location of the data being ingested
|
378
|
+
# (`s3SourcePath`) and the source of the changeset (`sourceType`).
|
379
|
+
#
|
380
|
+
# Both `s3SourcePath` and `sourceType` are required attributes.
|
381
|
+
#
|
382
|
+
# Here is an example of how you could specify the `sourceParams`\:
|
383
|
+
#
|
384
|
+
# ` "sourceParams": \{ "s3SourcePath":
|
385
|
+
# "s3://finspace-landing-us-east-2-bk7gcfvitndqa6ebnvys4d/scratch/wr5hh8pwkpqqkxa4sxrmcw/ingestion/equity.csv",
|
386
|
+
# "sourceType": "S3" \} `
|
387
|
+
#
|
388
|
+
# The S3 path that you specify must allow the FinSpace role access. To
|
389
|
+
# do that, you first need to configure the IAM policy on S3 bucket. For
|
390
|
+
# more information, see [Loading data from an Amazon S3 Bucket using the
|
391
|
+
# FinSpace API][1]section.
|
392
|
+
#
|
393
|
+
#
|
394
|
+
#
|
395
|
+
# [1]: https://docs.aws.amazon.com/finspace/latest/data-api/fs-using-the-finspace-api.html#access-s3-buckets
|
367
396
|
#
|
368
397
|
# @option params [required, Hash<String,String>] :format_params
|
369
398
|
# Options that define the structure of the source file(s) including the
|
@@ -381,10 +410,23 @@ module Aws::FinSpaceData
|
|
381
410
|
#
|
382
411
|
# * `XML` - XML source file format.
|
383
412
|
#
|
384
|
-
#
|
385
|
-
#
|
413
|
+
# Here is an example of how you could specify the `formatParams`\:
|
414
|
+
#
|
415
|
+
# ` "formatParams": \{ "formatType": "CSV", "withHeader": "true",
|
386
416
|
# "separator": ",", "compression":"None" \} `
|
387
417
|
#
|
418
|
+
# Note that if you only provide `formatType` as `CSV`, the rest of the
|
419
|
+
# attributes will automatically default to CSV values as following:
|
420
|
+
#
|
421
|
+
# ` \{ "withHeader": "true", "separator": "," \} `
|
422
|
+
#
|
423
|
+
# For more information about supported file formats, see [Supported Data
|
424
|
+
# Types and File Formats][1] in the FinSpace User Guide.
|
425
|
+
#
|
426
|
+
#
|
427
|
+
#
|
428
|
+
# [1]: https://docs.aws.amazon.com/finspace/latest/userguide/supported-data-types.html
|
429
|
+
#
|
388
430
|
# @return [Types::CreateChangesetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
389
431
|
#
|
390
432
|
# * {Types::CreateChangesetResponse#dataset_id #dataset_id} => String
|
@@ -421,7 +463,7 @@ module Aws::FinSpaceData
|
|
421
463
|
# Creates a Dataview for a Dataset.
|
422
464
|
#
|
423
465
|
# @option params [String] :client_token
|
424
|
-
# A token
|
466
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
425
467
|
#
|
426
468
|
# **A suitable default value is auto-generated.** You should normally
|
427
469
|
# not need to pass this option.**
|
@@ -462,6 +504,10 @@ module Aws::FinSpaceData
|
|
462
504
|
# as_of_timestamp: 1,
|
463
505
|
# destination_type_params: { # required
|
464
506
|
# destination_type: "DataViewDestinationType", # required
|
507
|
+
# s3_destination_export_file_format: "PARQUET", # accepts PARQUET, DELIMITED_TEXT
|
508
|
+
# s3_destination_export_file_format_options: {
|
509
|
+
# "StringMapKey" => "StringMapValue",
|
510
|
+
# },
|
465
511
|
# },
|
466
512
|
# })
|
467
513
|
#
|
@@ -482,7 +528,7 @@ module Aws::FinSpaceData
|
|
482
528
|
# Creates a new FinSpace Dataset.
|
483
529
|
#
|
484
530
|
# @option params [String] :client_token
|
485
|
-
# A token
|
531
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
486
532
|
#
|
487
533
|
# **A suitable default value is auto-generated.** You should normally
|
488
534
|
# not need to pass this option.**
|
@@ -497,7 +543,7 @@ module Aws::FinSpaceData
|
|
497
543
|
#
|
498
544
|
# * `NON_TABULAR` - Data is structured in a non-tabular format.
|
499
545
|
#
|
500
|
-
# @option params [
|
546
|
+
# @option params [String] :dataset_description
|
501
547
|
# Description of a Dataset.
|
502
548
|
#
|
503
549
|
# @option params [Types::DatasetOwnerInfo] :owner_info
|
@@ -506,7 +552,7 @@ module Aws::FinSpaceData
|
|
506
552
|
# @option params [required, Types::PermissionGroupParams] :permission_group_params
|
507
553
|
# Permission group parameters for Dataset permissions.
|
508
554
|
#
|
509
|
-
# @option params [
|
555
|
+
# @option params [String] :alias
|
510
556
|
# The unique resource identifier for a Dataset.
|
511
557
|
#
|
512
558
|
# @option params [Types::SchemaUnion] :schema_definition
|
@@ -522,7 +568,7 @@ module Aws::FinSpaceData
|
|
522
568
|
# client_token: "ClientToken",
|
523
569
|
# dataset_title: "DatasetTitle", # required
|
524
570
|
# kind: "TABULAR", # required, accepts TABULAR, NON_TABULAR
|
525
|
-
# dataset_description: "DatasetDescription",
|
571
|
+
# dataset_description: "DatasetDescription",
|
526
572
|
# owner_info: {
|
527
573
|
# name: "OwnerName",
|
528
574
|
# phone_number: "PhoneNumber",
|
@@ -536,7 +582,7 @@ module Aws::FinSpaceData
|
|
536
582
|
# },
|
537
583
|
# ],
|
538
584
|
# },
|
539
|
-
# alias: "AliasString",
|
585
|
+
# alias: "AliasString",
|
540
586
|
# schema_definition: {
|
541
587
|
# tabular_schema_config: {
|
542
588
|
# columns: [
|
@@ -567,7 +613,7 @@ module Aws::FinSpaceData
|
|
567
613
|
# Deletes a FinSpace Dataset.
|
568
614
|
#
|
569
615
|
# @option params [String] :client_token
|
570
|
-
# A token
|
616
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
571
617
|
#
|
572
618
|
# **A suitable default value is auto-generated.** You should normally
|
573
619
|
# not need to pass this option.**
|
@@ -620,6 +666,7 @@ module Aws::FinSpaceData
|
|
620
666
|
# * {Types::GetChangesetResponse#status #status} => String
|
621
667
|
# * {Types::GetChangesetResponse#error_info #error_info} => Types::ChangesetErrorInfo
|
622
668
|
# * {Types::GetChangesetResponse#active_until_timestamp #active_until_timestamp} => Integer
|
669
|
+
# * {Types::GetChangesetResponse#active_from_timestamp #active_from_timestamp} => Integer
|
623
670
|
# * {Types::GetChangesetResponse#updates_changeset_id #updates_changeset_id} => String
|
624
671
|
# * {Types::GetChangesetResponse#updated_by_changeset_id #updated_by_changeset_id} => String
|
625
672
|
#
|
@@ -645,6 +692,7 @@ module Aws::FinSpaceData
|
|
645
692
|
# resp.error_info.error_message #=> String
|
646
693
|
# resp.error_info.error_category #=> String, one of "VALIDATION", "SERVICE_QUOTA_EXCEEDED", "ACCESS_DENIED", "RESOURCE_NOT_FOUND", "THROTTLING", "INTERNAL_SERVICE_EXCEPTION", "CANCELLED", "USER_RECOVERABLE"
|
647
694
|
# resp.active_until_timestamp #=> Integer
|
695
|
+
# resp.active_from_timestamp #=> Integer
|
648
696
|
# resp.updates_changeset_id #=> String
|
649
697
|
# resp.updated_by_changeset_id #=> String
|
650
698
|
#
|
@@ -703,6 +751,9 @@ module Aws::FinSpaceData
|
|
703
751
|
# resp.data_view_id #=> String
|
704
752
|
# resp.data_view_arn #=> String
|
705
753
|
# resp.destination_type_params.destination_type #=> String
|
754
|
+
# resp.destination_type_params.s3_destination_export_file_format #=> String, one of "PARQUET", "DELIMITED_TEXT"
|
755
|
+
# resp.destination_type_params.s3_destination_export_file_format_options #=> Hash
|
756
|
+
# resp.destination_type_params.s3_destination_export_file_format_options["StringMapKey"] #=> String
|
706
757
|
# resp.status #=> String, one of "RUNNING", "STARTING", "FAILED", "CANCELLED", "TIMEOUT", "SUCCESS", "PENDING", "FAILED_CLEANUP_FAILED"
|
707
758
|
#
|
708
759
|
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetDataView AWS API Documentation
|
@@ -886,6 +937,7 @@ module Aws::FinSpaceData
|
|
886
937
|
# resp.changesets[0].error_info.error_message #=> String
|
887
938
|
# resp.changesets[0].error_info.error_category #=> String, one of "VALIDATION", "SERVICE_QUOTA_EXCEEDED", "ACCESS_DENIED", "RESOURCE_NOT_FOUND", "THROTTLING", "INTERNAL_SERVICE_EXCEPTION", "CANCELLED", "USER_RECOVERABLE"
|
888
939
|
# resp.changesets[0].active_until_timestamp #=> Integer
|
940
|
+
# resp.changesets[0].active_from_timestamp #=> Integer
|
889
941
|
# resp.changesets[0].updates_changeset_id #=> String
|
890
942
|
# resp.changesets[0].updated_by_changeset_id #=> String
|
891
943
|
# resp.next_token #=> String
|
@@ -941,6 +993,9 @@ module Aws::FinSpaceData
|
|
941
993
|
# resp.data_views[0].error_info.error_message #=> String
|
942
994
|
# resp.data_views[0].error_info.error_category #=> String, one of "VALIDATION", "SERVICE_QUOTA_EXCEEDED", "ACCESS_DENIED", "RESOURCE_NOT_FOUND", "THROTTLING", "INTERNAL_SERVICE_EXCEPTION", "CANCELLED", "USER_RECOVERABLE"
|
943
995
|
# resp.data_views[0].destination_type_properties.destination_type #=> String
|
996
|
+
# resp.data_views[0].destination_type_properties.s3_destination_export_file_format #=> String, one of "PARQUET", "DELIMITED_TEXT"
|
997
|
+
# resp.data_views[0].destination_type_properties.s3_destination_export_file_format_options #=> Hash
|
998
|
+
# resp.data_views[0].destination_type_properties.s3_destination_export_file_format_options["StringMapKey"] #=> String
|
944
999
|
# resp.data_views[0].auto_update #=> Boolean
|
945
1000
|
# resp.data_views[0].create_time #=> Integer
|
946
1001
|
# resp.data_views[0].last_modified_time #=> Integer
|
@@ -1010,7 +1065,7 @@ module Aws::FinSpaceData
|
|
1010
1065
|
# Updates a FinSpace Changeset.
|
1011
1066
|
#
|
1012
1067
|
# @option params [String] :client_token
|
1013
|
-
# A token
|
1068
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
1014
1069
|
#
|
1015
1070
|
# **A suitable default value is auto-generated.** You should normally
|
1016
1071
|
# not need to pass this option.**
|
@@ -1023,10 +1078,58 @@ module Aws::FinSpaceData
|
|
1023
1078
|
# The unique identifier for the Changeset to update.
|
1024
1079
|
#
|
1025
1080
|
# @option params [required, Hash<String,String>] :source_params
|
1026
|
-
# Options that define the location of the data being ingested
|
1081
|
+
# Options that define the location of the data being ingested
|
1082
|
+
# (`s3SourcePath`) and the source of the changeset (`sourceType`).
|
1083
|
+
#
|
1084
|
+
# Both `s3SourcePath` and `sourceType` are required attributes.
|
1085
|
+
#
|
1086
|
+
# Here is an example of how you could specify the `sourceParams`\:
|
1087
|
+
#
|
1088
|
+
# ` "sourceParams": \{ "s3SourcePath":
|
1089
|
+
# "s3://finspace-landing-us-east-2-bk7gcfvitndqa6ebnvys4d/scratch/wr5hh8pwkpqqkxa4sxrmcw/ingestion/equity.csv",
|
1090
|
+
# "sourceType": "S3" \} `
|
1091
|
+
#
|
1092
|
+
# The S3 path that you specify must allow the FinSpace role access. To
|
1093
|
+
# do that, you first need to configure the IAM policy on S3 bucket. For
|
1094
|
+
# more information, see [Loading data from an Amazon S3 Bucket using the
|
1095
|
+
# FinSpace API][1]section.
|
1096
|
+
#
|
1097
|
+
#
|
1098
|
+
#
|
1099
|
+
# [1]: https://docs.aws.amazon.com/finspace/latest/data-api/fs-using-the-finspace-api.html#access-s3-buckets
|
1027
1100
|
#
|
1028
1101
|
# @option params [required, Hash<String,String>] :format_params
|
1029
|
-
# Options that define the structure of the source file(s)
|
1102
|
+
# Options that define the structure of the source file(s) including the
|
1103
|
+
# format type (`formatType`), header row (`withHeader`), data separation
|
1104
|
+
# character (`separator`) and the type of compression (`compression`).
|
1105
|
+
#
|
1106
|
+
# `formatType` is a required attribute and can have the following
|
1107
|
+
# values:
|
1108
|
+
#
|
1109
|
+
# * `PARQUET` - Parquet source file format.
|
1110
|
+
#
|
1111
|
+
# * `CSV` - CSV source file format.
|
1112
|
+
#
|
1113
|
+
# * `JSON` - JSON source file format.
|
1114
|
+
#
|
1115
|
+
# * `XML` - XML source file format.
|
1116
|
+
#
|
1117
|
+
# Here is an example of how you could specify the `formatParams`\:
|
1118
|
+
#
|
1119
|
+
# ` "formatParams": \{ "formatType": "CSV", "withHeader": "true",
|
1120
|
+
# "separator": ",", "compression":"None" \} `
|
1121
|
+
#
|
1122
|
+
# Note that if you only provide `formatType` as `CSV`, the rest of the
|
1123
|
+
# attributes will automatically default to CSV values as following:
|
1124
|
+
#
|
1125
|
+
# ` \{ "withHeader": "true", "separator": "," \} `
|
1126
|
+
#
|
1127
|
+
# For more information about supported file formats, see [Supported Data
|
1128
|
+
# Types and File Formats][1] in the FinSpace User Guide.
|
1129
|
+
#
|
1130
|
+
#
|
1131
|
+
#
|
1132
|
+
# [1]: https://docs.aws.amazon.com/finspace/latest/userguide/supported-data-types.html
|
1030
1133
|
#
|
1031
1134
|
# @return [Types::UpdateChangesetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1032
1135
|
#
|
@@ -1064,7 +1167,7 @@ module Aws::FinSpaceData
|
|
1064
1167
|
# Updates a FinSpace Dataset.
|
1065
1168
|
#
|
1066
1169
|
# @option params [String] :client_token
|
1067
|
-
# A token
|
1170
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
1068
1171
|
#
|
1069
1172
|
# **A suitable default value is auto-generated.** You should normally
|
1070
1173
|
# not need to pass this option.**
|
@@ -1085,7 +1188,7 @@ module Aws::FinSpaceData
|
|
1085
1188
|
# @option params [String] :dataset_description
|
1086
1189
|
# A description for the Dataset.
|
1087
1190
|
#
|
1088
|
-
# @option params [
|
1191
|
+
# @option params [String] :alias
|
1089
1192
|
# The unique resource identifier for a Dataset.
|
1090
1193
|
#
|
1091
1194
|
# @option params [Types::SchemaUnion] :schema_definition
|
@@ -1103,7 +1206,7 @@ module Aws::FinSpaceData
|
|
1103
1206
|
# dataset_title: "DatasetTitle", # required
|
1104
1207
|
# kind: "TABULAR", # required, accepts TABULAR, NON_TABULAR
|
1105
1208
|
# dataset_description: "DatasetDescription",
|
1106
|
-
# alias: "AliasString",
|
1209
|
+
# alias: "AliasString",
|
1107
1210
|
# schema_definition: {
|
1108
1211
|
# tabular_schema_config: {
|
1109
1212
|
# columns: [
|
@@ -1144,7 +1247,7 @@ module Aws::FinSpaceData
|
|
1144
1247
|
params: params,
|
1145
1248
|
config: config)
|
1146
1249
|
context[:gem_name] = 'aws-sdk-finspacedata'
|
1147
|
-
context[:gem_version] = '1.
|
1250
|
+
context[:gem_version] = '1.11.0'
|
1148
1251
|
Seahorse::Client::Request.new(handlers, context)
|
1149
1252
|
end
|
1150
1253
|
|
@@ -59,6 +59,7 @@ module Aws::FinSpaceData
|
|
59
59
|
Email = Shapes::StringShape.new(name: 'Email')
|
60
60
|
ErrorCategory = Shapes::StringShape.new(name: 'ErrorCategory')
|
61
61
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
62
|
+
ExportFileFormat = Shapes::StringShape.new(name: 'ExportFileFormat')
|
62
63
|
FormatParams = Shapes::MapShape.new(name: 'FormatParams')
|
63
64
|
GetChangesetRequest = Shapes::StructureShape.new(name: 'GetChangesetRequest')
|
64
65
|
GetChangesetResponse = Shapes::StructureShape.new(name: 'GetChangesetResponse')
|
@@ -90,6 +91,7 @@ module Aws::FinSpaceData
|
|
90
91
|
ResourcePermission = Shapes::StructureShape.new(name: 'ResourcePermission')
|
91
92
|
ResourcePermissionsList = Shapes::ListShape.new(name: 'ResourcePermissionsList')
|
92
93
|
ResultLimit = Shapes::IntegerShape.new(name: 'ResultLimit')
|
94
|
+
S3DestinationFormatOptions = Shapes::MapShape.new(name: 'S3DestinationFormatOptions')
|
93
95
|
SchemaDefinition = Shapes::StructureShape.new(name: 'SchemaDefinition')
|
94
96
|
SchemaUnion = Shapes::StructureShape.new(name: 'SchemaUnion')
|
95
97
|
SessionDuration = Shapes::IntegerShape.new(name: 'SessionDuration')
|
@@ -132,6 +134,7 @@ module Aws::FinSpaceData
|
|
132
134
|
ChangesetSummary.add_member(:status, Shapes::ShapeRef.new(shape: IngestionStatus, location_name: "status"))
|
133
135
|
ChangesetSummary.add_member(:error_info, Shapes::ShapeRef.new(shape: ChangesetErrorInfo, location_name: "errorInfo"))
|
134
136
|
ChangesetSummary.add_member(:active_until_timestamp, Shapes::ShapeRef.new(shape: TimestampEpoch, location_name: "activeUntilTimestamp", metadata: {"box"=>true}))
|
137
|
+
ChangesetSummary.add_member(:active_from_timestamp, Shapes::ShapeRef.new(shape: TimestampEpoch, location_name: "activeFromTimestamp", metadata: {"box"=>true}))
|
135
138
|
ChangesetSummary.add_member(:updates_changeset_id, Shapes::ShapeRef.new(shape: ChangesetId, location_name: "updatesChangesetId"))
|
136
139
|
ChangesetSummary.add_member(:updated_by_changeset_id, Shapes::ShapeRef.new(shape: ChangesetId, location_name: "updatedByChangesetId"))
|
137
140
|
ChangesetSummary.struct_class = Types::ChangesetSummary
|
@@ -175,10 +178,10 @@ module Aws::FinSpaceData
|
|
175
178
|
CreateDatasetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
176
179
|
CreateDatasetRequest.add_member(:dataset_title, Shapes::ShapeRef.new(shape: DatasetTitle, required: true, location_name: "datasetTitle"))
|
177
180
|
CreateDatasetRequest.add_member(:kind, Shapes::ShapeRef.new(shape: DatasetKind, required: true, location_name: "kind"))
|
178
|
-
CreateDatasetRequest.add_member(:dataset_description, Shapes::ShapeRef.new(shape: DatasetDescription,
|
181
|
+
CreateDatasetRequest.add_member(:dataset_description, Shapes::ShapeRef.new(shape: DatasetDescription, location_name: "datasetDescription"))
|
179
182
|
CreateDatasetRequest.add_member(:owner_info, Shapes::ShapeRef.new(shape: DatasetOwnerInfo, location_name: "ownerInfo"))
|
180
183
|
CreateDatasetRequest.add_member(:permission_group_params, Shapes::ShapeRef.new(shape: PermissionGroupParams, required: true, location_name: "permissionGroupParams"))
|
181
|
-
CreateDatasetRequest.add_member(:alias, Shapes::ShapeRef.new(shape: AliasString,
|
184
|
+
CreateDatasetRequest.add_member(:alias, Shapes::ShapeRef.new(shape: AliasString, location_name: "alias"))
|
182
185
|
CreateDatasetRequest.add_member(:schema_definition, Shapes::ShapeRef.new(shape: SchemaUnion, location_name: "schemaDefinition"))
|
183
186
|
CreateDatasetRequest.struct_class = Types::CreateDatasetRequest
|
184
187
|
|
@@ -191,6 +194,8 @@ module Aws::FinSpaceData
|
|
191
194
|
Credentials.struct_class = Types::Credentials
|
192
195
|
|
193
196
|
DataViewDestinationTypeParams.add_member(:destination_type, Shapes::ShapeRef.new(shape: DataViewDestinationType, required: true, location_name: "destinationType"))
|
197
|
+
DataViewDestinationTypeParams.add_member(:s3_destination_export_file_format, Shapes::ShapeRef.new(shape: ExportFileFormat, location_name: "s3DestinationExportFileFormat"))
|
198
|
+
DataViewDestinationTypeParams.add_member(:s3_destination_export_file_format_options, Shapes::ShapeRef.new(shape: S3DestinationFormatOptions, location_name: "s3DestinationExportFileFormatOptions"))
|
194
199
|
DataViewDestinationTypeParams.struct_class = Types::DataViewDestinationTypeParams
|
195
200
|
|
196
201
|
DataViewErrorInfo.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "errorMessage"))
|
@@ -256,6 +261,7 @@ module Aws::FinSpaceData
|
|
256
261
|
GetChangesetResponse.add_member(:status, Shapes::ShapeRef.new(shape: IngestionStatus, location_name: "status"))
|
257
262
|
GetChangesetResponse.add_member(:error_info, Shapes::ShapeRef.new(shape: ChangesetErrorInfo, location_name: "errorInfo"))
|
258
263
|
GetChangesetResponse.add_member(:active_until_timestamp, Shapes::ShapeRef.new(shape: TimestampEpoch, location_name: "activeUntilTimestamp", metadata: {"box"=>true}))
|
264
|
+
GetChangesetResponse.add_member(:active_from_timestamp, Shapes::ShapeRef.new(shape: TimestampEpoch, location_name: "activeFromTimestamp", metadata: {"box"=>true}))
|
259
265
|
GetChangesetResponse.add_member(:updates_changeset_id, Shapes::ShapeRef.new(shape: ChangesetId, location_name: "updatesChangesetId"))
|
260
266
|
GetChangesetResponse.add_member(:updated_by_changeset_id, Shapes::ShapeRef.new(shape: ChangesetId, location_name: "updatedByChangesetId"))
|
261
267
|
GetChangesetResponse.struct_class = Types::GetChangesetResponse
|
@@ -355,6 +361,9 @@ module Aws::FinSpaceData
|
|
355
361
|
|
356
362
|
ResourcePermissionsList.member = Shapes::ShapeRef.new(shape: ResourcePermission)
|
357
363
|
|
364
|
+
S3DestinationFormatOptions.key = Shapes::ShapeRef.new(shape: StringMapKey)
|
365
|
+
S3DestinationFormatOptions.value = Shapes::ShapeRef.new(shape: StringMapValue)
|
366
|
+
|
358
367
|
SchemaDefinition.add_member(:columns, Shapes::ShapeRef.new(shape: ColumnList, location_name: "columns"))
|
359
368
|
SchemaDefinition.add_member(:primary_key_columns, Shapes::ShapeRef.new(shape: ColumnNameList, location_name: "primaryKeyColumns"))
|
360
369
|
SchemaDefinition.struct_class = Types::SchemaDefinition
|
@@ -385,7 +394,7 @@ module Aws::FinSpaceData
|
|
385
394
|
UpdateDatasetRequest.add_member(:dataset_title, Shapes::ShapeRef.new(shape: DatasetTitle, required: true, location_name: "datasetTitle"))
|
386
395
|
UpdateDatasetRequest.add_member(:kind, Shapes::ShapeRef.new(shape: DatasetKind, required: true, location_name: "kind"))
|
387
396
|
UpdateDatasetRequest.add_member(:dataset_description, Shapes::ShapeRef.new(shape: DatasetDescription, location_name: "datasetDescription"))
|
388
|
-
UpdateDatasetRequest.add_member(:alias, Shapes::ShapeRef.new(shape: AliasString,
|
397
|
+
UpdateDatasetRequest.add_member(:alias, Shapes::ShapeRef.new(shape: AliasString, location_name: "alias"))
|
389
398
|
UpdateDatasetRequest.add_member(:schema_definition, Shapes::ShapeRef.new(shape: SchemaUnion, location_name: "schemaDefinition"))
|
390
399
|
UpdateDatasetRequest.struct_class = Types::UpdateDatasetRequest
|
391
400
|
|
@@ -130,6 +130,13 @@ module Aws::FinSpaceData
|
|
130
130
|
# November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
|
131
131
|
# @return [Integer]
|
132
132
|
#
|
133
|
+
# @!attribute [rw] active_from_timestamp
|
134
|
+
# Beginning time from which the Changeset is active. The value is
|
135
|
+
# determined as Epoch time in milliseconds. For example, the value for
|
136
|
+
# Monday, November 1, 2021 12:00:00 PM UTC is specified as
|
137
|
+
# 1635768000000.
|
138
|
+
# @return [Integer]
|
139
|
+
#
|
133
140
|
# @!attribute [rw] updates_changeset_id
|
134
141
|
# The unique identifier of the Changeset that is updated.
|
135
142
|
# @return [String]
|
@@ -151,6 +158,7 @@ module Aws::FinSpaceData
|
|
151
158
|
:status,
|
152
159
|
:error_info,
|
153
160
|
:active_until_timestamp,
|
161
|
+
:active_from_timestamp,
|
154
162
|
:updates_changeset_id,
|
155
163
|
:updated_by_changeset_id)
|
156
164
|
SENSITIVE = []
|
@@ -245,7 +253,7 @@ module Aws::FinSpaceData
|
|
245
253
|
# }
|
246
254
|
#
|
247
255
|
# @!attribute [rw] client_token
|
248
|
-
# A token
|
256
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
249
257
|
#
|
250
258
|
# **A suitable default value is auto-generated.** You should normally
|
251
259
|
# not need to pass this option.
|
@@ -270,7 +278,25 @@ module Aws::FinSpaceData
|
|
270
278
|
# @return [String]
|
271
279
|
#
|
272
280
|
# @!attribute [rw] source_params
|
273
|
-
# Options that define the location of the data being ingested
|
281
|
+
# Options that define the location of the data being ingested
|
282
|
+
# (`s3SourcePath`) and the source of the changeset (`sourceType`).
|
283
|
+
#
|
284
|
+
# Both `s3SourcePath` and `sourceType` are required attributes.
|
285
|
+
#
|
286
|
+
# Here is an example of how you could specify the `sourceParams`\:
|
287
|
+
#
|
288
|
+
# ` "sourceParams": \{ "s3SourcePath":
|
289
|
+
# "s3://finspace-landing-us-east-2-bk7gcfvitndqa6ebnvys4d/scratch/wr5hh8pwkpqqkxa4sxrmcw/ingestion/equity.csv",
|
290
|
+
# "sourceType": "S3" \} `
|
291
|
+
#
|
292
|
+
# The S3 path that you specify must allow the FinSpace role access. To
|
293
|
+
# do that, you first need to configure the IAM policy on S3 bucket.
|
294
|
+
# For more information, see [Loading data from an Amazon S3 Bucket
|
295
|
+
# using the FinSpace API][1]section.
|
296
|
+
#
|
297
|
+
#
|
298
|
+
#
|
299
|
+
# [1]: https://docs.aws.amazon.com/finspace/latest/data-api/fs-using-the-finspace-api.html#access-s3-buckets
|
274
300
|
# @return [Hash<String,String>]
|
275
301
|
#
|
276
302
|
# @!attribute [rw] format_params
|
@@ -290,9 +316,22 @@ module Aws::FinSpaceData
|
|
290
316
|
#
|
291
317
|
# * `XML` - XML source file format.
|
292
318
|
#
|
293
|
-
#
|
294
|
-
#
|
319
|
+
# Here is an example of how you could specify the `formatParams`\:
|
320
|
+
#
|
321
|
+
# ` "formatParams": \{ "formatType": "CSV", "withHeader": "true",
|
295
322
|
# "separator": ",", "compression":"None" \} `
|
323
|
+
#
|
324
|
+
# Note that if you only provide `formatType` as `CSV`, the rest of the
|
325
|
+
# attributes will automatically default to CSV values as following:
|
326
|
+
#
|
327
|
+
# ` \{ "withHeader": "true", "separator": "," \} `
|
328
|
+
#
|
329
|
+
# For more information about supported file formats, see [Supported
|
330
|
+
# Data Types and File Formats][1] in the FinSpace User Guide.
|
331
|
+
#
|
332
|
+
#
|
333
|
+
#
|
334
|
+
# [1]: https://docs.aws.amazon.com/finspace/latest/userguide/supported-data-types.html
|
296
335
|
# @return [Hash<String,String>]
|
297
336
|
#
|
298
337
|
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/CreateChangesetRequest AWS API Documentation
|
@@ -341,11 +380,15 @@ module Aws::FinSpaceData
|
|
341
380
|
# as_of_timestamp: 1,
|
342
381
|
# destination_type_params: { # required
|
343
382
|
# destination_type: "DataViewDestinationType", # required
|
383
|
+
# s3_destination_export_file_format: "PARQUET", # accepts PARQUET, DELIMITED_TEXT
|
384
|
+
# s3_destination_export_file_format_options: {
|
385
|
+
# "StringMapKey" => "StringMapValue",
|
386
|
+
# },
|
344
387
|
# },
|
345
388
|
# }
|
346
389
|
#
|
347
390
|
# @!attribute [rw] client_token
|
348
|
-
# A token
|
391
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
349
392
|
#
|
350
393
|
# **A suitable default value is auto-generated.** You should normally
|
351
394
|
# not need to pass this option.
|
@@ -419,7 +462,7 @@ module Aws::FinSpaceData
|
|
419
462
|
# client_token: "ClientToken",
|
420
463
|
# dataset_title: "DatasetTitle", # required
|
421
464
|
# kind: "TABULAR", # required, accepts TABULAR, NON_TABULAR
|
422
|
-
# dataset_description: "DatasetDescription",
|
465
|
+
# dataset_description: "DatasetDescription",
|
423
466
|
# owner_info: {
|
424
467
|
# name: "OwnerName",
|
425
468
|
# phone_number: "PhoneNumber",
|
@@ -433,7 +476,7 @@ module Aws::FinSpaceData
|
|
433
476
|
# },
|
434
477
|
# ],
|
435
478
|
# },
|
436
|
-
# alias: "AliasString",
|
479
|
+
# alias: "AliasString",
|
437
480
|
# schema_definition: {
|
438
481
|
# tabular_schema_config: {
|
439
482
|
# columns: [
|
@@ -449,7 +492,7 @@ module Aws::FinSpaceData
|
|
449
492
|
# }
|
450
493
|
#
|
451
494
|
# @!attribute [rw] client_token
|
452
|
-
# A token
|
495
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
453
496
|
#
|
454
497
|
# **A suitable default value is auto-generated.** You should normally
|
455
498
|
# not need to pass this option.
|
@@ -547,6 +590,10 @@ module Aws::FinSpaceData
|
|
547
590
|
#
|
548
591
|
# {
|
549
592
|
# destination_type: "DataViewDestinationType", # required
|
593
|
+
# s3_destination_export_file_format: "PARQUET", # accepts PARQUET, DELIMITED_TEXT
|
594
|
+
# s3_destination_export_file_format_options: {
|
595
|
+
# "StringMapKey" => "StringMapValue",
|
596
|
+
# },
|
550
597
|
# }
|
551
598
|
#
|
552
599
|
# @!attribute [rw] destination_type
|
@@ -554,13 +601,32 @@ module Aws::FinSpaceData
|
|
554
601
|
#
|
555
602
|
# * `GLUE_TABLE` - Glue table destination type.
|
556
603
|
#
|
557
|
-
#
|
604
|
+
# * `S3` - S3 destination type.
|
605
|
+
# @return [String]
|
606
|
+
#
|
607
|
+
# @!attribute [rw] s3_destination_export_file_format
|
608
|
+
# Data view export file format.
|
609
|
+
#
|
610
|
+
# * `PARQUET` - Parquet export file format.
|
611
|
+
#
|
612
|
+
# * `DELIMITED_TEXT` - Delimited text export file format.
|
558
613
|
# @return [String]
|
559
614
|
#
|
615
|
+
# @!attribute [rw] s3_destination_export_file_format_options
|
616
|
+
# Format Options for S3 Destination type.
|
617
|
+
#
|
618
|
+
# Here is an example of how you could specify the
|
619
|
+
# `s3DestinationExportFileFormatOptions`
|
620
|
+
#
|
621
|
+
# ` \{ "header": "true", "delimiter": ",", "compression": "gzip" \}`
|
622
|
+
# @return [Hash<String,String>]
|
623
|
+
#
|
560
624
|
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/DataViewDestinationTypeParams AWS API Documentation
|
561
625
|
#
|
562
626
|
class DataViewDestinationTypeParams < Struct.new(
|
563
|
-
:destination_type
|
627
|
+
:destination_type,
|
628
|
+
:s3_destination_export_file_format,
|
629
|
+
:s3_destination_export_file_format_options)
|
564
630
|
SENSITIVE = []
|
565
631
|
include Aws::Structure
|
566
632
|
end
|
@@ -810,7 +876,7 @@ module Aws::FinSpaceData
|
|
810
876
|
# }
|
811
877
|
#
|
812
878
|
# @!attribute [rw] client_token
|
813
|
-
# A token
|
879
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
814
880
|
#
|
815
881
|
# **A suitable default value is auto-generated.** You should normally
|
816
882
|
# not need to pass this option.
|
@@ -928,6 +994,13 @@ module Aws::FinSpaceData
|
|
928
994
|
# November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
|
929
995
|
# @return [Integer]
|
930
996
|
#
|
997
|
+
# @!attribute [rw] active_from_timestamp
|
998
|
+
# Beginning time from which the Changeset is active. The value is
|
999
|
+
# determined as Epoch time in milliseconds. For example, the value for
|
1000
|
+
# Monday, November 1, 2021 12:00:00 PM UTC is specified as
|
1001
|
+
# 1635768000000.
|
1002
|
+
# @return [Integer]
|
1003
|
+
#
|
931
1004
|
# @!attribute [rw] updates_changeset_id
|
932
1005
|
# The unique identifier of the Changeset that is being updated.
|
933
1006
|
# @return [String]
|
@@ -949,6 +1022,7 @@ module Aws::FinSpaceData
|
|
949
1022
|
:status,
|
950
1023
|
:error_info,
|
951
1024
|
:active_until_timestamp,
|
1025
|
+
:active_from_timestamp,
|
952
1026
|
:updates_changeset_id,
|
953
1027
|
:updated_by_changeset_id)
|
954
1028
|
SENSITIVE = []
|
@@ -1449,6 +1523,14 @@ module Aws::FinSpaceData
|
|
1449
1523
|
|
1450
1524
|
# Permission group parameters for Dataset permissions.
|
1451
1525
|
#
|
1526
|
+
# Here is an example of how you could specify the
|
1527
|
+
# `PermissionGroupParams`\:
|
1528
|
+
#
|
1529
|
+
# ` \{ "permissionGroupId": "0r6fCRtSTUk4XPfXQe3M0g",
|
1530
|
+
# "datasetPermissions": [ \{"permission": "ViewDatasetDetails"\},
|
1531
|
+
# \{"permission": "AddDatasetData"\}, \{"permission":
|
1532
|
+
# "EditDatasetMetadata"\}, \{"permission": "DeleteDataset"\} ] \} `
|
1533
|
+
#
|
1452
1534
|
# @note When making an API call, you may pass PermissionGroupParams
|
1453
1535
|
# data as a hash:
|
1454
1536
|
#
|
@@ -1491,7 +1573,32 @@ module Aws::FinSpaceData
|
|
1491
1573
|
include Aws::Structure
|
1492
1574
|
end
|
1493
1575
|
|
1494
|
-
# Resource permission for a
|
1576
|
+
# Resource permission for a dataset. When you create a dataset, all the
|
1577
|
+
# other members of the same user group inherit access to the dataset.
|
1578
|
+
# You can only create a dataset if your user group has application
|
1579
|
+
# permission for Create Datasets.
|
1580
|
+
#
|
1581
|
+
# The following is a list of valid dataset permissions that you can
|
1582
|
+
# apply:
|
1583
|
+
#
|
1584
|
+
# * `ViewDatasetDetails`
|
1585
|
+
#
|
1586
|
+
# * `ReadDatasetDetails`
|
1587
|
+
#
|
1588
|
+
# * `AddDatasetData`
|
1589
|
+
#
|
1590
|
+
# * `CreateSnapshot`
|
1591
|
+
#
|
1592
|
+
# * `EditDatasetMetadata`
|
1593
|
+
#
|
1594
|
+
# * `DeleteDataset`
|
1595
|
+
#
|
1596
|
+
# For more information on the ataset permissions, see [Supported Dataset
|
1597
|
+
# Permissions][1] in the FinSpace User Guide.
|
1598
|
+
#
|
1599
|
+
#
|
1600
|
+
#
|
1601
|
+
# [1]: https://docs.aws.amazon.com/finspace/latest/userguide/managing-user-permissions.html#supported-dataset-permissions
|
1495
1602
|
#
|
1496
1603
|
# @note When making an API call, you may pass ResourcePermission
|
1497
1604
|
# data as a hash:
|
@@ -1599,7 +1706,7 @@ module Aws::FinSpaceData
|
|
1599
1706
|
# }
|
1600
1707
|
#
|
1601
1708
|
# @!attribute [rw] client_token
|
1602
|
-
# A token
|
1709
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
1603
1710
|
#
|
1604
1711
|
# **A suitable default value is auto-generated.** You should normally
|
1605
1712
|
# not need to pass this option.
|
@@ -1615,11 +1722,60 @@ module Aws::FinSpaceData
|
|
1615
1722
|
# @return [String]
|
1616
1723
|
#
|
1617
1724
|
# @!attribute [rw] source_params
|
1618
|
-
# Options that define the location of the data being ingested
|
1725
|
+
# Options that define the location of the data being ingested
|
1726
|
+
# (`s3SourcePath`) and the source of the changeset (`sourceType`).
|
1727
|
+
#
|
1728
|
+
# Both `s3SourcePath` and `sourceType` are required attributes.
|
1729
|
+
#
|
1730
|
+
# Here is an example of how you could specify the `sourceParams`\:
|
1731
|
+
#
|
1732
|
+
# ` "sourceParams": \{ "s3SourcePath":
|
1733
|
+
# "s3://finspace-landing-us-east-2-bk7gcfvitndqa6ebnvys4d/scratch/wr5hh8pwkpqqkxa4sxrmcw/ingestion/equity.csv",
|
1734
|
+
# "sourceType": "S3" \} `
|
1735
|
+
#
|
1736
|
+
# The S3 path that you specify must allow the FinSpace role access. To
|
1737
|
+
# do that, you first need to configure the IAM policy on S3 bucket.
|
1738
|
+
# For more information, see [Loading data from an Amazon S3 Bucket
|
1739
|
+
# using the FinSpace API][1]section.
|
1740
|
+
#
|
1741
|
+
#
|
1742
|
+
#
|
1743
|
+
# [1]: https://docs.aws.amazon.com/finspace/latest/data-api/fs-using-the-finspace-api.html#access-s3-buckets
|
1619
1744
|
# @return [Hash<String,String>]
|
1620
1745
|
#
|
1621
1746
|
# @!attribute [rw] format_params
|
1622
|
-
# Options that define the structure of the source file(s)
|
1747
|
+
# Options that define the structure of the source file(s) including
|
1748
|
+
# the format type (`formatType`), header row (`withHeader`), data
|
1749
|
+
# separation character (`separator`) and the type of compression
|
1750
|
+
# (`compression`).
|
1751
|
+
#
|
1752
|
+
# `formatType` is a required attribute and can have the following
|
1753
|
+
# values:
|
1754
|
+
#
|
1755
|
+
# * `PARQUET` - Parquet source file format.
|
1756
|
+
#
|
1757
|
+
# * `CSV` - CSV source file format.
|
1758
|
+
#
|
1759
|
+
# * `JSON` - JSON source file format.
|
1760
|
+
#
|
1761
|
+
# * `XML` - XML source file format.
|
1762
|
+
#
|
1763
|
+
# Here is an example of how you could specify the `formatParams`\:
|
1764
|
+
#
|
1765
|
+
# ` "formatParams": \{ "formatType": "CSV", "withHeader": "true",
|
1766
|
+
# "separator": ",", "compression":"None" \} `
|
1767
|
+
#
|
1768
|
+
# Note that if you only provide `formatType` as `CSV`, the rest of the
|
1769
|
+
# attributes will automatically default to CSV values as following:
|
1770
|
+
#
|
1771
|
+
# ` \{ "withHeader": "true", "separator": "," \} `
|
1772
|
+
#
|
1773
|
+
# For more information about supported file formats, see [Supported
|
1774
|
+
# Data Types and File Formats][1] in the FinSpace User Guide.
|
1775
|
+
#
|
1776
|
+
#
|
1777
|
+
#
|
1778
|
+
# [1]: https://docs.aws.amazon.com/finspace/latest/userguide/supported-data-types.html
|
1623
1779
|
# @return [Hash<String,String>]
|
1624
1780
|
#
|
1625
1781
|
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/UpdateChangesetRequest AWS API Documentation
|
@@ -1665,7 +1821,7 @@ module Aws::FinSpaceData
|
|
1665
1821
|
# dataset_title: "DatasetTitle", # required
|
1666
1822
|
# kind: "TABULAR", # required, accepts TABULAR, NON_TABULAR
|
1667
1823
|
# dataset_description: "DatasetDescription",
|
1668
|
-
# alias: "AliasString",
|
1824
|
+
# alias: "AliasString",
|
1669
1825
|
# schema_definition: {
|
1670
1826
|
# tabular_schema_config: {
|
1671
1827
|
# columns: [
|
@@ -1681,7 +1837,7 @@ module Aws::FinSpaceData
|
|
1681
1837
|
# }
|
1682
1838
|
#
|
1683
1839
|
# @!attribute [rw] client_token
|
1684
|
-
# A token
|
1840
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
1685
1841
|
#
|
1686
1842
|
# **A suitable default value is auto-generated.** You should normally
|
1687
1843
|
# not need to pass this option.
|
data/lib/aws-sdk-finspacedata.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-finspacedata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.11.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:
|
11
|
+
date: 2022-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.125.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.125.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|