aws-sdk-finspacedata 1.10.0 → 1.13.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-finspacedata/client.rb +95 -12
- data/lib/aws-sdk-finspacedata/types.rb +145 -16
- 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: aa2585f70ca4ce13fd85293bde99a547e614472d53854beec1eb54a016c775dc
|
4
|
+
data.tar.gz: 46144f58da602c0771140bdfff5372622c0d7e3c37b6c922cbd5a0628b2d22a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7de91bff8c1d02125b6219a2c484ecc3cfb96fd725c47a1494047afdfdf10660411a3eb2f9abf9a9e4c352bf18a474b0bd9704abaa898cb404dfa2dabff0a7b1
|
7
|
+
data.tar.gz: d93fce21660082a0be38f2d480d772ec6381d3cd9f48c36bf287b08ac703589d3d333c4554a937f8f4a325d82acacfe4c811cf7781028fd685495ccf5fd5127a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.13.0 (2022-02-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.12.0 (2022-02-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.11.0 (2022-01-11)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Documentation updates for FinSpace.
|
18
|
+
|
4
19
|
1.10.0 (2021-12-21)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.13.0
|
@@ -27,7 +27,9 @@ 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/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
33
35
|
require 'aws-sdk-finspacedata/plugins/content_type.rb'
|
@@ -75,7 +77,9 @@ module Aws::FinSpaceData
|
|
75
77
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
76
78
|
add_plugin(Aws::Plugins::TransferEncoding)
|
77
79
|
add_plugin(Aws::Plugins::HttpChecksum)
|
80
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
78
81
|
add_plugin(Aws::Plugins::DefaultsMode)
|
82
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
79
83
|
add_plugin(Aws::Plugins::SignatureV4)
|
80
84
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
81
85
|
add_plugin(Aws::FinSpaceData::Plugins::ContentType)
|
@@ -352,7 +356,7 @@ module Aws::FinSpaceData
|
|
352
356
|
# Creates a new Changeset in a FinSpace Dataset.
|
353
357
|
#
|
354
358
|
# @option params [String] :client_token
|
355
|
-
# A token
|
359
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
356
360
|
#
|
357
361
|
# **A suitable default value is auto-generated.** You should normally
|
358
362
|
# not need to pass this option.**
|
@@ -374,7 +378,25 @@ module Aws::FinSpaceData
|
|
374
378
|
# prior ingested Changeset.
|
375
379
|
#
|
376
380
|
# @option params [required, Hash<String,String>] :source_params
|
377
|
-
# Options that define the location of the data being ingested
|
381
|
+
# Options that define the location of the data being ingested
|
382
|
+
# (`s3SourcePath`) and the source of the changeset (`sourceType`).
|
383
|
+
#
|
384
|
+
# Both `s3SourcePath` and `sourceType` are required attributes.
|
385
|
+
#
|
386
|
+
# Here is an example of how you could specify the `sourceParams`\:
|
387
|
+
#
|
388
|
+
# ` "sourceParams": \{ "s3SourcePath":
|
389
|
+
# "s3://finspace-landing-us-east-2-bk7gcfvitndqa6ebnvys4d/scratch/wr5hh8pwkpqqkxa4sxrmcw/ingestion/equity.csv",
|
390
|
+
# "sourceType": "S3" \} `
|
391
|
+
#
|
392
|
+
# The S3 path that you specify must allow the FinSpace role access. To
|
393
|
+
# do that, you first need to configure the IAM policy on S3 bucket. For
|
394
|
+
# more information, see [Loading data from an Amazon S3 Bucket using the
|
395
|
+
# FinSpace API][1]section.
|
396
|
+
#
|
397
|
+
#
|
398
|
+
#
|
399
|
+
# [1]: https://docs.aws.amazon.com/finspace/latest/data-api/fs-using-the-finspace-api.html#access-s3-buckets
|
378
400
|
#
|
379
401
|
# @option params [required, Hash<String,String>] :format_params
|
380
402
|
# Options that define the structure of the source file(s) including the
|
@@ -392,10 +414,23 @@ module Aws::FinSpaceData
|
|
392
414
|
#
|
393
415
|
# * `XML` - XML source file format.
|
394
416
|
#
|
395
|
-
#
|
396
|
-
#
|
417
|
+
# Here is an example of how you could specify the `formatParams`\:
|
418
|
+
#
|
419
|
+
# ` "formatParams": \{ "formatType": "CSV", "withHeader": "true",
|
397
420
|
# "separator": ",", "compression":"None" \} `
|
398
421
|
#
|
422
|
+
# Note that if you only provide `formatType` as `CSV`, the rest of the
|
423
|
+
# attributes will automatically default to CSV values as following:
|
424
|
+
#
|
425
|
+
# ` \{ "withHeader": "true", "separator": "," \} `
|
426
|
+
#
|
427
|
+
# For more information about supported file formats, see [Supported Data
|
428
|
+
# Types and File Formats][1] in the FinSpace User Guide.
|
429
|
+
#
|
430
|
+
#
|
431
|
+
#
|
432
|
+
# [1]: https://docs.aws.amazon.com/finspace/latest/userguide/supported-data-types.html
|
433
|
+
#
|
399
434
|
# @return [Types::CreateChangesetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
400
435
|
#
|
401
436
|
# * {Types::CreateChangesetResponse#dataset_id #dataset_id} => String
|
@@ -432,7 +467,7 @@ module Aws::FinSpaceData
|
|
432
467
|
# Creates a Dataview for a Dataset.
|
433
468
|
#
|
434
469
|
# @option params [String] :client_token
|
435
|
-
# A token
|
470
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
436
471
|
#
|
437
472
|
# **A suitable default value is auto-generated.** You should normally
|
438
473
|
# not need to pass this option.**
|
@@ -497,7 +532,7 @@ module Aws::FinSpaceData
|
|
497
532
|
# Creates a new FinSpace Dataset.
|
498
533
|
#
|
499
534
|
# @option params [String] :client_token
|
500
|
-
# A token
|
535
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
501
536
|
#
|
502
537
|
# **A suitable default value is auto-generated.** You should normally
|
503
538
|
# not need to pass this option.**
|
@@ -582,7 +617,7 @@ module Aws::FinSpaceData
|
|
582
617
|
# Deletes a FinSpace Dataset.
|
583
618
|
#
|
584
619
|
# @option params [String] :client_token
|
585
|
-
# A token
|
620
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
586
621
|
#
|
587
622
|
# **A suitable default value is auto-generated.** You should normally
|
588
623
|
# not need to pass this option.**
|
@@ -1034,7 +1069,7 @@ module Aws::FinSpaceData
|
|
1034
1069
|
# Updates a FinSpace Changeset.
|
1035
1070
|
#
|
1036
1071
|
# @option params [String] :client_token
|
1037
|
-
# A token
|
1072
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
1038
1073
|
#
|
1039
1074
|
# **A suitable default value is auto-generated.** You should normally
|
1040
1075
|
# not need to pass this option.**
|
@@ -1047,10 +1082,58 @@ module Aws::FinSpaceData
|
|
1047
1082
|
# The unique identifier for the Changeset to update.
|
1048
1083
|
#
|
1049
1084
|
# @option params [required, Hash<String,String>] :source_params
|
1050
|
-
# Options that define the location of the data being ingested
|
1085
|
+
# Options that define the location of the data being ingested
|
1086
|
+
# (`s3SourcePath`) and the source of the changeset (`sourceType`).
|
1087
|
+
#
|
1088
|
+
# Both `s3SourcePath` and `sourceType` are required attributes.
|
1089
|
+
#
|
1090
|
+
# Here is an example of how you could specify the `sourceParams`\:
|
1091
|
+
#
|
1092
|
+
# ` "sourceParams": \{ "s3SourcePath":
|
1093
|
+
# "s3://finspace-landing-us-east-2-bk7gcfvitndqa6ebnvys4d/scratch/wr5hh8pwkpqqkxa4sxrmcw/ingestion/equity.csv",
|
1094
|
+
# "sourceType": "S3" \} `
|
1095
|
+
#
|
1096
|
+
# The S3 path that you specify must allow the FinSpace role access. To
|
1097
|
+
# do that, you first need to configure the IAM policy on S3 bucket. For
|
1098
|
+
# more information, see [Loading data from an Amazon S3 Bucket using the
|
1099
|
+
# FinSpace API][1]section.
|
1100
|
+
#
|
1101
|
+
#
|
1102
|
+
#
|
1103
|
+
# [1]: https://docs.aws.amazon.com/finspace/latest/data-api/fs-using-the-finspace-api.html#access-s3-buckets
|
1051
1104
|
#
|
1052
1105
|
# @option params [required, Hash<String,String>] :format_params
|
1053
|
-
# Options that define the structure of the source file(s)
|
1106
|
+
# Options that define the structure of the source file(s) including the
|
1107
|
+
# format type (`formatType`), header row (`withHeader`), data separation
|
1108
|
+
# character (`separator`) and the type of compression (`compression`).
|
1109
|
+
#
|
1110
|
+
# `formatType` is a required attribute and can have the following
|
1111
|
+
# values:
|
1112
|
+
#
|
1113
|
+
# * `PARQUET` - Parquet source file format.
|
1114
|
+
#
|
1115
|
+
# * `CSV` - CSV source file format.
|
1116
|
+
#
|
1117
|
+
# * `JSON` - JSON source file format.
|
1118
|
+
#
|
1119
|
+
# * `XML` - XML source file format.
|
1120
|
+
#
|
1121
|
+
# Here is an example of how you could specify the `formatParams`\:
|
1122
|
+
#
|
1123
|
+
# ` "formatParams": \{ "formatType": "CSV", "withHeader": "true",
|
1124
|
+
# "separator": ",", "compression":"None" \} `
|
1125
|
+
#
|
1126
|
+
# Note that if you only provide `formatType` as `CSV`, the rest of the
|
1127
|
+
# attributes will automatically default to CSV values as following:
|
1128
|
+
#
|
1129
|
+
# ` \{ "withHeader": "true", "separator": "," \} `
|
1130
|
+
#
|
1131
|
+
# For more information about supported file formats, see [Supported Data
|
1132
|
+
# Types and File Formats][1] in the FinSpace User Guide.
|
1133
|
+
#
|
1134
|
+
#
|
1135
|
+
#
|
1136
|
+
# [1]: https://docs.aws.amazon.com/finspace/latest/userguide/supported-data-types.html
|
1054
1137
|
#
|
1055
1138
|
# @return [Types::UpdateChangesetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1056
1139
|
#
|
@@ -1088,7 +1171,7 @@ module Aws::FinSpaceData
|
|
1088
1171
|
# Updates a FinSpace Dataset.
|
1089
1172
|
#
|
1090
1173
|
# @option params [String] :client_token
|
1091
|
-
# A token
|
1174
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
1092
1175
|
#
|
1093
1176
|
# **A suitable default value is auto-generated.** You should normally
|
1094
1177
|
# not need to pass this option.**
|
@@ -1168,7 +1251,7 @@ module Aws::FinSpaceData
|
|
1168
1251
|
params: params,
|
1169
1252
|
config: config)
|
1170
1253
|
context[:gem_name] = 'aws-sdk-finspacedata'
|
1171
|
-
context[:gem_version] = '1.
|
1254
|
+
context[:gem_version] = '1.13.0'
|
1172
1255
|
Seahorse::Client::Request.new(handlers, context)
|
1173
1256
|
end
|
1174
1257
|
|
@@ -131,7 +131,10 @@ module Aws::FinSpaceData
|
|
131
131
|
# @return [Integer]
|
132
132
|
#
|
133
133
|
# @!attribute [rw] active_from_timestamp
|
134
|
-
#
|
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.
|
135
138
|
# @return [Integer]
|
136
139
|
#
|
137
140
|
# @!attribute [rw] updates_changeset_id
|
@@ -250,7 +253,7 @@ module Aws::FinSpaceData
|
|
250
253
|
# }
|
251
254
|
#
|
252
255
|
# @!attribute [rw] client_token
|
253
|
-
# A token
|
256
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
254
257
|
#
|
255
258
|
# **A suitable default value is auto-generated.** You should normally
|
256
259
|
# not need to pass this option.
|
@@ -275,7 +278,25 @@ module Aws::FinSpaceData
|
|
275
278
|
# @return [String]
|
276
279
|
#
|
277
280
|
# @!attribute [rw] source_params
|
278
|
-
# 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
|
279
300
|
# @return [Hash<String,String>]
|
280
301
|
#
|
281
302
|
# @!attribute [rw] format_params
|
@@ -295,9 +316,22 @@ module Aws::FinSpaceData
|
|
295
316
|
#
|
296
317
|
# * `XML` - XML source file format.
|
297
318
|
#
|
298
|
-
#
|
299
|
-
#
|
319
|
+
# Here is an example of how you could specify the `formatParams`\:
|
320
|
+
#
|
321
|
+
# ` "formatParams": \{ "formatType": "CSV", "withHeader": "true",
|
300
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
|
301
335
|
# @return [Hash<String,String>]
|
302
336
|
#
|
303
337
|
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/CreateChangesetRequest AWS API Documentation
|
@@ -354,7 +388,7 @@ module Aws::FinSpaceData
|
|
354
388
|
# }
|
355
389
|
#
|
356
390
|
# @!attribute [rw] client_token
|
357
|
-
# A token
|
391
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
358
392
|
#
|
359
393
|
# **A suitable default value is auto-generated.** You should normally
|
360
394
|
# not need to pass this option.
|
@@ -458,7 +492,7 @@ module Aws::FinSpaceData
|
|
458
492
|
# }
|
459
493
|
#
|
460
494
|
# @!attribute [rw] client_token
|
461
|
-
# A token
|
495
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
462
496
|
#
|
463
497
|
# **A suitable default value is auto-generated.** You should normally
|
464
498
|
# not need to pass this option.
|
@@ -567,14 +601,24 @@ module Aws::FinSpaceData
|
|
567
601
|
#
|
568
602
|
# * `GLUE_TABLE` - Glue table destination type.
|
569
603
|
#
|
570
|
-
#
|
604
|
+
# * `S3` - S3 destination type.
|
571
605
|
# @return [String]
|
572
606
|
#
|
573
607
|
# @!attribute [rw] s3_destination_export_file_format
|
574
|
-
# Data
|
608
|
+
# Data view export file format.
|
609
|
+
#
|
610
|
+
# * `PARQUET` - Parquet export file format.
|
611
|
+
#
|
612
|
+
# * `DELIMITED_TEXT` - Delimited text export file format.
|
575
613
|
# @return [String]
|
576
614
|
#
|
577
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" \}`
|
578
622
|
# @return [Hash<String,String>]
|
579
623
|
#
|
580
624
|
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/DataViewDestinationTypeParams AWS API Documentation
|
@@ -832,7 +876,7 @@ module Aws::FinSpaceData
|
|
832
876
|
# }
|
833
877
|
#
|
834
878
|
# @!attribute [rw] client_token
|
835
|
-
# A token
|
879
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
836
880
|
#
|
837
881
|
# **A suitable default value is auto-generated.** You should normally
|
838
882
|
# not need to pass this option.
|
@@ -951,7 +995,10 @@ module Aws::FinSpaceData
|
|
951
995
|
# @return [Integer]
|
952
996
|
#
|
953
997
|
# @!attribute [rw] active_from_timestamp
|
954
|
-
#
|
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.
|
955
1002
|
# @return [Integer]
|
956
1003
|
#
|
957
1004
|
# @!attribute [rw] updates_changeset_id
|
@@ -1476,6 +1523,14 @@ module Aws::FinSpaceData
|
|
1476
1523
|
|
1477
1524
|
# Permission group parameters for Dataset permissions.
|
1478
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
|
+
#
|
1479
1534
|
# @note When making an API call, you may pass PermissionGroupParams
|
1480
1535
|
# data as a hash:
|
1481
1536
|
#
|
@@ -1518,7 +1573,32 @@ module Aws::FinSpaceData
|
|
1518
1573
|
include Aws::Structure
|
1519
1574
|
end
|
1520
1575
|
|
1521
|
-
# 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
|
1522
1602
|
#
|
1523
1603
|
# @note When making an API call, you may pass ResourcePermission
|
1524
1604
|
# data as a hash:
|
@@ -1626,7 +1706,7 @@ module Aws::FinSpaceData
|
|
1626
1706
|
# }
|
1627
1707
|
#
|
1628
1708
|
# @!attribute [rw] client_token
|
1629
|
-
# A token
|
1709
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
1630
1710
|
#
|
1631
1711
|
# **A suitable default value is auto-generated.** You should normally
|
1632
1712
|
# not need to pass this option.
|
@@ -1642,11 +1722,60 @@ module Aws::FinSpaceData
|
|
1642
1722
|
# @return [String]
|
1643
1723
|
#
|
1644
1724
|
# @!attribute [rw] source_params
|
1645
|
-
# 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
|
1646
1744
|
# @return [Hash<String,String>]
|
1647
1745
|
#
|
1648
1746
|
# @!attribute [rw] format_params
|
1649
|
-
# 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
|
1650
1779
|
# @return [Hash<String,String>]
|
1651
1780
|
#
|
1652
1781
|
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/UpdateChangesetRequest AWS API Documentation
|
@@ -1708,7 +1837,7 @@ module Aws::FinSpaceData
|
|
1708
1837
|
# }
|
1709
1838
|
#
|
1710
1839
|
# @!attribute [rw] client_token
|
1711
|
-
# A token
|
1840
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
1712
1841
|
#
|
1713
1842
|
# **A suitable default value is auto-generated.** You should normally
|
1714
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.13.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-02-24 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.127.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.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|