aws-sdk-dataexchange 1.81.0 → 1.82.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dataexchange/client.rb +27 -1
- data/lib/aws-sdk-dataexchange/client_api.rb +17 -0
- data/lib/aws-sdk-dataexchange/types.rb +63 -0
- data/lib/aws-sdk-dataexchange.rb +1 -1
- data/sig/client.rbs +11 -0
- data/sig/types.rbs +16 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: edf9c947b4a15eeb8f7abd4bf078dfabc0c7176609a093eae1532487c60c3c8c
|
|
4
|
+
data.tar.gz: d78d8e7b3a1f585838a0bd643781f41d69f913bf32e93e6995e296272c859eb6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b54ceebb59c3d26f8ba831758c4c66410dfa9ac906e724308f81acd4251afcfbb2b383c59008c982595d25561671f52420525a910863186007624335b65bada2
|
|
7
|
+
data.tar.gz: 405baa7322a383d085f65691020ca5f3eb9ec446595ecc61b65f03af51ca4ce84db53530a49a2d7e5007610b03dc451f95b803d83536f3d1ac4bfeb7fc72406d
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.82.0
|
|
@@ -774,6 +774,10 @@ module Aws::DataExchange
|
|
|
774
774
|
|
|
775
775
|
# This operation creates a job.
|
|
776
776
|
#
|
|
777
|
+
# @option params [Types::AssetConfiguration] :asset_configuration
|
|
778
|
+
# The configuration for the asset, including tags to be applied to
|
|
779
|
+
# assets created by the job.
|
|
780
|
+
#
|
|
777
781
|
# @option params [required, Types::RequestDetails] :details
|
|
778
782
|
# The details for the CreateJob request.
|
|
779
783
|
#
|
|
@@ -783,6 +787,7 @@ module Aws::DataExchange
|
|
|
783
787
|
# @return [Types::CreateJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
784
788
|
#
|
|
785
789
|
# * {Types::CreateJobResponse#arn #arn} => String
|
|
790
|
+
# * {Types::CreateJobResponse#asset_configuration #asset_configuration} => Types::AssetConfiguration
|
|
786
791
|
# * {Types::CreateJobResponse#created_at #created_at} => Time
|
|
787
792
|
# * {Types::CreateJobResponse#details #details} => Types::ResponseDetails
|
|
788
793
|
# * {Types::CreateJobResponse#errors #errors} => Array<Types::JobError>
|
|
@@ -794,6 +799,14 @@ module Aws::DataExchange
|
|
|
794
799
|
# @example Request syntax with placeholder values
|
|
795
800
|
#
|
|
796
801
|
# resp = client.create_job({
|
|
802
|
+
# asset_configuration: {
|
|
803
|
+
# tags: [
|
|
804
|
+
# {
|
|
805
|
+
# key: "__string", # required
|
|
806
|
+
# value: "__string", # required
|
|
807
|
+
# },
|
|
808
|
+
# ],
|
|
809
|
+
# },
|
|
797
810
|
# details: { # required
|
|
798
811
|
# export_asset_to_signed_url: {
|
|
799
812
|
# asset_id: "Id", # required
|
|
@@ -910,6 +923,9 @@ module Aws::DataExchange
|
|
|
910
923
|
# @example Response structure
|
|
911
924
|
#
|
|
912
925
|
# resp.arn #=> String
|
|
926
|
+
# resp.asset_configuration.tags #=> Array
|
|
927
|
+
# resp.asset_configuration.tags[0].key #=> String
|
|
928
|
+
# resp.asset_configuration.tags[0].value #=> String
|
|
913
929
|
# resp.created_at #=> Time
|
|
914
930
|
# resp.details.export_asset_to_signed_url.asset_id #=> String
|
|
915
931
|
# resp.details.export_asset_to_signed_url.data_set_id #=> String
|
|
@@ -1217,6 +1233,7 @@ module Aws::DataExchange
|
|
|
1217
1233
|
# * {Types::GetAssetResponse#name #name} => String
|
|
1218
1234
|
# * {Types::GetAssetResponse#revision_id #revision_id} => String
|
|
1219
1235
|
# * {Types::GetAssetResponse#source_id #source_id} => String
|
|
1236
|
+
# * {Types::GetAssetResponse#tags #tags} => Hash<String,String>
|
|
1220
1237
|
# * {Types::GetAssetResponse#updated_at #updated_at} => Time
|
|
1221
1238
|
#
|
|
1222
1239
|
# @example Request syntax with placeholder values
|
|
@@ -1271,6 +1288,8 @@ module Aws::DataExchange
|
|
|
1271
1288
|
# resp.name #=> String
|
|
1272
1289
|
# resp.revision_id #=> String
|
|
1273
1290
|
# resp.source_id #=> String
|
|
1291
|
+
# resp.tags #=> Hash
|
|
1292
|
+
# resp.tags["__string"] #=> String
|
|
1274
1293
|
# resp.updated_at #=> Time
|
|
1275
1294
|
#
|
|
1276
1295
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetAsset AWS API Documentation
|
|
@@ -1441,6 +1460,7 @@ module Aws::DataExchange
|
|
|
1441
1460
|
# @return [Types::GetJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1442
1461
|
#
|
|
1443
1462
|
# * {Types::GetJobResponse#arn #arn} => String
|
|
1463
|
+
# * {Types::GetJobResponse#asset_configuration #asset_configuration} => Types::AssetConfiguration
|
|
1444
1464
|
# * {Types::GetJobResponse#created_at #created_at} => Time
|
|
1445
1465
|
# * {Types::GetJobResponse#details #details} => Types::ResponseDetails
|
|
1446
1466
|
# * {Types::GetJobResponse#errors #errors} => Array<Types::JobError>
|
|
@@ -1458,6 +1478,9 @@ module Aws::DataExchange
|
|
|
1458
1478
|
# @example Response structure
|
|
1459
1479
|
#
|
|
1460
1480
|
# resp.arn #=> String
|
|
1481
|
+
# resp.asset_configuration.tags #=> Array
|
|
1482
|
+
# resp.asset_configuration.tags[0].key #=> String
|
|
1483
|
+
# resp.asset_configuration.tags[0].value #=> String
|
|
1461
1484
|
# resp.created_at #=> Time
|
|
1462
1485
|
# resp.details.export_asset_to_signed_url.asset_id #=> String
|
|
1463
1486
|
# resp.details.export_asset_to_signed_url.data_set_id #=> String
|
|
@@ -1906,6 +1929,9 @@ module Aws::DataExchange
|
|
|
1906
1929
|
#
|
|
1907
1930
|
# resp.jobs #=> Array
|
|
1908
1931
|
# resp.jobs[0].arn #=> String
|
|
1932
|
+
# resp.jobs[0].asset_configuration.tags #=> Array
|
|
1933
|
+
# resp.jobs[0].asset_configuration.tags[0].key #=> String
|
|
1934
|
+
# resp.jobs[0].asset_configuration.tags[0].value #=> String
|
|
1909
1935
|
# resp.jobs[0].created_at #=> Time
|
|
1910
1936
|
# resp.jobs[0].details.export_asset_to_signed_url.asset_id #=> String
|
|
1911
1937
|
# resp.jobs[0].details.export_asset_to_signed_url.data_set_id #=> String
|
|
@@ -2760,7 +2786,7 @@ module Aws::DataExchange
|
|
|
2760
2786
|
tracer: tracer
|
|
2761
2787
|
)
|
|
2762
2788
|
context[:gem_name] = 'aws-sdk-dataexchange'
|
|
2763
|
-
context[:gem_version] = '1.
|
|
2789
|
+
context[:gem_version] = '1.82.0'
|
|
2764
2790
|
Seahorse::Client::Request.new(handlers, context)
|
|
2765
2791
|
end
|
|
2766
2792
|
|
|
@@ -23,6 +23,7 @@ module Aws::DataExchange
|
|
|
23
23
|
ApiDescription = Shapes::StringShape.new(name: 'ApiDescription')
|
|
24
24
|
ApiGatewayApiAsset = Shapes::StructureShape.new(name: 'ApiGatewayApiAsset')
|
|
25
25
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
|
26
|
+
AssetConfiguration = Shapes::StructureShape.new(name: 'AssetConfiguration')
|
|
26
27
|
AssetDestinationEntry = Shapes::StructureShape.new(name: 'AssetDestinationEntry')
|
|
27
28
|
AssetDetails = Shapes::StructureShape.new(name: 'AssetDetails')
|
|
28
29
|
AssetEntry = Shapes::StructureShape.new(name: 'AssetEntry')
|
|
@@ -153,6 +154,7 @@ module Aws::DataExchange
|
|
|
153
154
|
ListOfS3DataAccesses = Shapes::ListShape.new(name: 'ListOfS3DataAccesses')
|
|
154
155
|
ListOfSchemaChangeDetails = Shapes::ListShape.new(name: 'ListOfSchemaChangeDetails')
|
|
155
156
|
ListOfTableTagPolicyLFPermissions = Shapes::ListShape.new(name: 'ListOfTableTagPolicyLFPermissions')
|
|
157
|
+
ListOfTag = Shapes::ListShape.new(name: 'ListOfTag')
|
|
156
158
|
ListOf__string = Shapes::ListShape.new(name: 'ListOf__string')
|
|
157
159
|
ListReceivedDataGrantsRequest = Shapes::StructureShape.new(name: 'ListReceivedDataGrantsRequest')
|
|
158
160
|
ListReceivedDataGrantsResponse = Shapes::StructureShape.new(name: 'ListReceivedDataGrantsResponse')
|
|
@@ -206,6 +208,7 @@ module Aws::DataExchange
|
|
|
206
208
|
TableLFTagPolicy = Shapes::StructureShape.new(name: 'TableLFTagPolicy')
|
|
207
209
|
TableLFTagPolicyAndPermissions = Shapes::StructureShape.new(name: 'TableLFTagPolicyAndPermissions')
|
|
208
210
|
TableTagPolicyLFPermission = Shapes::StringShape.new(name: 'TableTagPolicyLFPermission')
|
|
211
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
|
209
212
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
|
210
213
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
|
211
214
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
|
|
@@ -266,6 +269,9 @@ module Aws::DataExchange
|
|
|
266
269
|
ApiGatewayApiAsset.add_member(:stage, Shapes::ShapeRef.new(shape: __string, location_name: "Stage"))
|
|
267
270
|
ApiGatewayApiAsset.struct_class = Types::ApiGatewayApiAsset
|
|
268
271
|
|
|
272
|
+
AssetConfiguration.add_member(:tags, Shapes::ShapeRef.new(shape: ListOfTag, location_name: "Tags"))
|
|
273
|
+
AssetConfiguration.struct_class = Types::AssetConfiguration
|
|
274
|
+
|
|
269
275
|
AssetDestinationEntry.add_member(:asset_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "AssetId"))
|
|
270
276
|
AssetDestinationEntry.add_member(:bucket, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Bucket"))
|
|
271
277
|
AssetDestinationEntry.add_member(:key, Shapes::ShapeRef.new(shape: __string, location_name: "Key"))
|
|
@@ -369,11 +375,13 @@ module Aws::DataExchange
|
|
|
369
375
|
CreateEventActionResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
|
370
376
|
CreateEventActionResponse.struct_class = Types::CreateEventActionResponse
|
|
371
377
|
|
|
378
|
+
CreateJobRequest.add_member(:asset_configuration, Shapes::ShapeRef.new(shape: AssetConfiguration, location_name: "AssetConfiguration"))
|
|
372
379
|
CreateJobRequest.add_member(:details, Shapes::ShapeRef.new(shape: RequestDetails, required: true, location_name: "Details"))
|
|
373
380
|
CreateJobRequest.add_member(:type, Shapes::ShapeRef.new(shape: Type, required: true, location_name: "Type"))
|
|
374
381
|
CreateJobRequest.struct_class = Types::CreateJobRequest
|
|
375
382
|
|
|
376
383
|
CreateJobResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
|
|
384
|
+
CreateJobResponse.add_member(:asset_configuration, Shapes::ShapeRef.new(shape: AssetConfiguration, location_name: "AssetConfiguration"))
|
|
377
385
|
CreateJobResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
|
|
378
386
|
CreateJobResponse.add_member(:details, Shapes::ShapeRef.new(shape: ResponseDetails, location_name: "Details"))
|
|
379
387
|
CreateJobResponse.add_member(:errors, Shapes::ShapeRef.new(shape: ListOfJobError, location_name: "Errors"))
|
|
@@ -537,6 +545,7 @@ module Aws::DataExchange
|
|
|
537
545
|
GetAssetResponse.add_member(:name, Shapes::ShapeRef.new(shape: AssetName, location_name: "Name"))
|
|
538
546
|
GetAssetResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, location_name: "RevisionId"))
|
|
539
547
|
GetAssetResponse.add_member(:source_id, Shapes::ShapeRef.new(shape: Id, location_name: "SourceId"))
|
|
548
|
+
GetAssetResponse.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Tags"))
|
|
540
549
|
GetAssetResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
|
541
550
|
GetAssetResponse.struct_class = Types::GetAssetResponse
|
|
542
551
|
|
|
@@ -592,6 +601,7 @@ module Aws::DataExchange
|
|
|
592
601
|
GetJobRequest.struct_class = Types::GetJobRequest
|
|
593
602
|
|
|
594
603
|
GetJobResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
|
|
604
|
+
GetJobResponse.add_member(:asset_configuration, Shapes::ShapeRef.new(shape: AssetConfiguration, location_name: "AssetConfiguration"))
|
|
595
605
|
GetJobResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
|
|
596
606
|
GetJobResponse.add_member(:details, Shapes::ShapeRef.new(shape: ResponseDetails, location_name: "Details"))
|
|
597
607
|
GetJobResponse.add_member(:errors, Shapes::ShapeRef.new(shape: ListOfJobError, location_name: "Errors"))
|
|
@@ -718,6 +728,7 @@ module Aws::DataExchange
|
|
|
718
728
|
InternalServerException.struct_class = Types::InternalServerException
|
|
719
729
|
|
|
720
730
|
JobEntry.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
|
|
731
|
+
JobEntry.add_member(:asset_configuration, Shapes::ShapeRef.new(shape: AssetConfiguration, location_name: "AssetConfiguration"))
|
|
721
732
|
JobEntry.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedAt"))
|
|
722
733
|
JobEntry.add_member(:details, Shapes::ShapeRef.new(shape: ResponseDetails, required: true, location_name: "Details"))
|
|
723
734
|
JobEntry.add_member(:errors, Shapes::ShapeRef.new(shape: ListOfJobError, location_name: "Errors"))
|
|
@@ -854,6 +865,8 @@ module Aws::DataExchange
|
|
|
854
865
|
|
|
855
866
|
ListOfTableTagPolicyLFPermissions.member = Shapes::ShapeRef.new(shape: TableTagPolicyLFPermission)
|
|
856
867
|
|
|
868
|
+
ListOfTag.member = Shapes::ShapeRef.new(shape: Tag)
|
|
869
|
+
|
|
857
870
|
ListOf__string.member = Shapes::ShapeRef.new(shape: __string)
|
|
858
871
|
|
|
859
872
|
ListReceivedDataGrantsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults", metadata: {"box" => true}))
|
|
@@ -1066,6 +1079,10 @@ module Aws::DataExchange
|
|
|
1066
1079
|
TableLFTagPolicyAndPermissions.add_member(:permissions, Shapes::ShapeRef.new(shape: ListOfTableTagPolicyLFPermissions, required: true, location_name: "Permissions"))
|
|
1067
1080
|
TableLFTagPolicyAndPermissions.struct_class = Types::TableLFTagPolicyAndPermissions
|
|
1068
1081
|
|
|
1082
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Key"))
|
|
1083
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Value"))
|
|
1084
|
+
Tag.struct_class = Types::Tag
|
|
1085
|
+
|
|
1069
1086
|
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ResourceArn"))
|
|
1070
1087
|
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, required: true, location_name: "tags"))
|
|
1071
1088
|
TagResourceRequest.struct_class = Types::TagResourceRequest
|
|
@@ -176,6 +176,20 @@ module Aws::DataExchange
|
|
|
176
176
|
include Aws::Structure
|
|
177
177
|
end
|
|
178
178
|
|
|
179
|
+
# The configuration for the asset, which can include tags.
|
|
180
|
+
#
|
|
181
|
+
# @!attribute [rw] tags
|
|
182
|
+
# The tags to be applied to assets created by the job.
|
|
183
|
+
# @return [Array<Types::Tag>]
|
|
184
|
+
#
|
|
185
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/AssetConfiguration AWS API Documentation
|
|
186
|
+
#
|
|
187
|
+
class AssetConfiguration < Struct.new(
|
|
188
|
+
:tags)
|
|
189
|
+
SENSITIVE = []
|
|
190
|
+
include Aws::Structure
|
|
191
|
+
end
|
|
192
|
+
|
|
179
193
|
# The destination for the asset.
|
|
180
194
|
#
|
|
181
195
|
# @!attribute [rw] asset_id
|
|
@@ -704,6 +718,11 @@ module Aws::DataExchange
|
|
|
704
718
|
include Aws::Structure
|
|
705
719
|
end
|
|
706
720
|
|
|
721
|
+
# @!attribute [rw] asset_configuration
|
|
722
|
+
# The configuration for the asset, including tags to be applied to
|
|
723
|
+
# assets created by the job.
|
|
724
|
+
# @return [Types::AssetConfiguration]
|
|
725
|
+
#
|
|
707
726
|
# @!attribute [rw] details
|
|
708
727
|
# The details for the CreateJob request.
|
|
709
728
|
# @return [Types::RequestDetails]
|
|
@@ -715,6 +734,7 @@ module Aws::DataExchange
|
|
|
715
734
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateJobRequest AWS API Documentation
|
|
716
735
|
#
|
|
717
736
|
class CreateJobRequest < Struct.new(
|
|
737
|
+
:asset_configuration,
|
|
718
738
|
:details,
|
|
719
739
|
:type)
|
|
720
740
|
SENSITIVE = []
|
|
@@ -725,6 +745,11 @@ module Aws::DataExchange
|
|
|
725
745
|
# The ARN for the job.
|
|
726
746
|
# @return [String]
|
|
727
747
|
#
|
|
748
|
+
# @!attribute [rw] asset_configuration
|
|
749
|
+
# The configuration for the asset, including tags applied to assets
|
|
750
|
+
# created by the job.
|
|
751
|
+
# @return [Types::AssetConfiguration]
|
|
752
|
+
#
|
|
728
753
|
# @!attribute [rw] created_at
|
|
729
754
|
# The date and time that the job was created, in ISO 8601 format.
|
|
730
755
|
# @return [Time]
|
|
@@ -757,6 +782,7 @@ module Aws::DataExchange
|
|
|
757
782
|
#
|
|
758
783
|
class CreateJobResponse < Struct.new(
|
|
759
784
|
:arn,
|
|
785
|
+
:asset_configuration,
|
|
760
786
|
:created_at,
|
|
761
787
|
:details,
|
|
762
788
|
:errors,
|
|
@@ -1544,6 +1570,10 @@ module Aws::DataExchange
|
|
|
1544
1570
|
# viewing the entitled copy of its owned asset.
|
|
1545
1571
|
# @return [String]
|
|
1546
1572
|
#
|
|
1573
|
+
# @!attribute [rw] tags
|
|
1574
|
+
# The tags for the asset.
|
|
1575
|
+
# @return [Hash<String,String>]
|
|
1576
|
+
#
|
|
1547
1577
|
# @!attribute [rw] updated_at
|
|
1548
1578
|
# The date and time that the asset was last updated, in ISO 8601
|
|
1549
1579
|
# format.
|
|
@@ -1561,6 +1591,7 @@ module Aws::DataExchange
|
|
|
1561
1591
|
:name,
|
|
1562
1592
|
:revision_id,
|
|
1563
1593
|
:source_id,
|
|
1594
|
+
:tags,
|
|
1564
1595
|
:updated_at)
|
|
1565
1596
|
SENSITIVE = []
|
|
1566
1597
|
include Aws::Structure
|
|
@@ -1811,6 +1842,11 @@ module Aws::DataExchange
|
|
|
1811
1842
|
# The ARN for the job.
|
|
1812
1843
|
# @return [String]
|
|
1813
1844
|
#
|
|
1845
|
+
# @!attribute [rw] asset_configuration
|
|
1846
|
+
# The configuration for the asset, including tags applied to assets
|
|
1847
|
+
# created by the job.
|
|
1848
|
+
# @return [Types::AssetConfiguration]
|
|
1849
|
+
#
|
|
1814
1850
|
# @!attribute [rw] created_at
|
|
1815
1851
|
# The date and time that the job was created, in ISO 8601 format.
|
|
1816
1852
|
# @return [Time]
|
|
@@ -1843,6 +1879,7 @@ module Aws::DataExchange
|
|
|
1843
1879
|
#
|
|
1844
1880
|
class GetJobResponse < Struct.new(
|
|
1845
1881
|
:arn,
|
|
1882
|
+
:asset_configuration,
|
|
1846
1883
|
:created_at,
|
|
1847
1884
|
:details,
|
|
1848
1885
|
:errors,
|
|
@@ -2460,6 +2497,11 @@ module Aws::DataExchange
|
|
|
2460
2497
|
# The ARN for the job.
|
|
2461
2498
|
# @return [String]
|
|
2462
2499
|
#
|
|
2500
|
+
# @!attribute [rw] asset_configuration
|
|
2501
|
+
# The configuration for the asset, including tags applied to assets
|
|
2502
|
+
# created by the job.
|
|
2503
|
+
# @return [Types::AssetConfiguration]
|
|
2504
|
+
#
|
|
2463
2505
|
# @!attribute [rw] created_at
|
|
2464
2506
|
# The date and time that the job was created, in ISO 8601 format.
|
|
2465
2507
|
# @return [Time]
|
|
@@ -2493,6 +2535,7 @@ module Aws::DataExchange
|
|
|
2493
2535
|
#
|
|
2494
2536
|
class JobEntry < Struct.new(
|
|
2495
2537
|
:arn,
|
|
2538
|
+
:asset_configuration,
|
|
2496
2539
|
:created_at,
|
|
2497
2540
|
:details,
|
|
2498
2541
|
:errors,
|
|
@@ -3935,6 +3978,26 @@ module Aws::DataExchange
|
|
|
3935
3978
|
include Aws::Structure
|
|
3936
3979
|
end
|
|
3937
3980
|
|
|
3981
|
+
# A tag consisting of a key-value pair that can be applied to a
|
|
3982
|
+
# resource.
|
|
3983
|
+
#
|
|
3984
|
+
# @!attribute [rw] key
|
|
3985
|
+
# The key of the tag.
|
|
3986
|
+
# @return [String]
|
|
3987
|
+
#
|
|
3988
|
+
# @!attribute [rw] value
|
|
3989
|
+
# The value of the tag.
|
|
3990
|
+
# @return [String]
|
|
3991
|
+
#
|
|
3992
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/Tag AWS API Documentation
|
|
3993
|
+
#
|
|
3994
|
+
class Tag < Struct.new(
|
|
3995
|
+
:key,
|
|
3996
|
+
:value)
|
|
3997
|
+
SENSITIVE = []
|
|
3998
|
+
include Aws::Structure
|
|
3999
|
+
end
|
|
4000
|
+
|
|
3938
4001
|
# @!attribute [rw] resource_arn
|
|
3939
4002
|
# An Amazon Resource Name (ARN) that uniquely identifies an AWS
|
|
3940
4003
|
# resource.
|
data/lib/aws-sdk-dataexchange.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -195,6 +195,7 @@ module Aws
|
|
|
195
195
|
interface _CreateJobResponseSuccess
|
|
196
196
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateJobResponse]
|
|
197
197
|
def arn: () -> ::String
|
|
198
|
+
def asset_configuration: () -> Types::AssetConfiguration
|
|
198
199
|
def created_at: () -> ::Time
|
|
199
200
|
def details: () -> Types::ResponseDetails
|
|
200
201
|
def errors: () -> ::Array[Types::JobError]
|
|
@@ -205,6 +206,14 @@ module Aws
|
|
|
205
206
|
end
|
|
206
207
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#create_job-instance_method
|
|
207
208
|
def create_job: (
|
|
209
|
+
?asset_configuration: {
|
|
210
|
+
tags: Array[
|
|
211
|
+
{
|
|
212
|
+
key: ::String,
|
|
213
|
+
value: ::String
|
|
214
|
+
},
|
|
215
|
+
]?
|
|
216
|
+
},
|
|
208
217
|
details: {
|
|
209
218
|
export_asset_to_signed_url: {
|
|
210
219
|
asset_id: ::String,
|
|
@@ -386,6 +395,7 @@ module Aws
|
|
|
386
395
|
def name: () -> ::String
|
|
387
396
|
def revision_id: () -> ::String
|
|
388
397
|
def source_id: () -> ::String
|
|
398
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
389
399
|
def updated_at: () -> ::Time
|
|
390
400
|
end
|
|
391
401
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#get_asset-instance_method
|
|
@@ -459,6 +469,7 @@ module Aws
|
|
|
459
469
|
interface _GetJobResponseSuccess
|
|
460
470
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetJobResponse]
|
|
461
471
|
def arn: () -> ::String
|
|
472
|
+
def asset_configuration: () -> Types::AssetConfiguration
|
|
462
473
|
def created_at: () -> ::Time
|
|
463
474
|
def details: () -> Types::ResponseDetails
|
|
464
475
|
def errors: () -> ::Array[Types::JobError]
|
data/sig/types.rbs
CHANGED
|
@@ -53,6 +53,11 @@ module Aws::DataExchange
|
|
|
53
53
|
SENSITIVE: []
|
|
54
54
|
end
|
|
55
55
|
|
|
56
|
+
class AssetConfiguration
|
|
57
|
+
attr_accessor tags: ::Array[Types::Tag]
|
|
58
|
+
SENSITIVE: []
|
|
59
|
+
end
|
|
60
|
+
|
|
56
61
|
class AssetDestinationEntry
|
|
57
62
|
attr_accessor asset_id: ::String
|
|
58
63
|
attr_accessor bucket: ::String
|
|
@@ -185,6 +190,7 @@ module Aws::DataExchange
|
|
|
185
190
|
end
|
|
186
191
|
|
|
187
192
|
class CreateJobRequest
|
|
193
|
+
attr_accessor asset_configuration: Types::AssetConfiguration
|
|
188
194
|
attr_accessor details: Types::RequestDetails
|
|
189
195
|
attr_accessor type: ("IMPORT_ASSETS_FROM_S3" | "IMPORT_ASSET_FROM_SIGNED_URL" | "EXPORT_ASSETS_TO_S3" | "EXPORT_ASSET_TO_SIGNED_URL" | "EXPORT_REVISIONS_TO_S3" | "IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES" | "IMPORT_ASSET_FROM_API_GATEWAY_API" | "CREATE_S3_DATA_ACCESS_FROM_S3_BUCKET" | "IMPORT_ASSETS_FROM_LAKE_FORMATION_TAG_POLICY")
|
|
190
196
|
SENSITIVE: []
|
|
@@ -192,6 +198,7 @@ module Aws::DataExchange
|
|
|
192
198
|
|
|
193
199
|
class CreateJobResponse
|
|
194
200
|
attr_accessor arn: ::String
|
|
201
|
+
attr_accessor asset_configuration: Types::AssetConfiguration
|
|
195
202
|
attr_accessor created_at: ::Time
|
|
196
203
|
attr_accessor details: Types::ResponseDetails
|
|
197
204
|
attr_accessor errors: ::Array[Types::JobError]
|
|
@@ -409,6 +416,7 @@ module Aws::DataExchange
|
|
|
409
416
|
attr_accessor name: ::String
|
|
410
417
|
attr_accessor revision_id: ::String
|
|
411
418
|
attr_accessor source_id: ::String
|
|
419
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
412
420
|
attr_accessor updated_at: ::Time
|
|
413
421
|
SENSITIVE: []
|
|
414
422
|
end
|
|
@@ -480,6 +488,7 @@ module Aws::DataExchange
|
|
|
480
488
|
|
|
481
489
|
class GetJobResponse
|
|
482
490
|
attr_accessor arn: ::String
|
|
491
|
+
attr_accessor asset_configuration: Types::AssetConfiguration
|
|
483
492
|
attr_accessor created_at: ::Time
|
|
484
493
|
attr_accessor details: Types::ResponseDetails
|
|
485
494
|
attr_accessor errors: ::Array[Types::JobError]
|
|
@@ -640,6 +649,7 @@ module Aws::DataExchange
|
|
|
640
649
|
|
|
641
650
|
class JobEntry
|
|
642
651
|
attr_accessor arn: ::String
|
|
652
|
+
attr_accessor asset_configuration: Types::AssetConfiguration
|
|
643
653
|
attr_accessor created_at: ::Time
|
|
644
654
|
attr_accessor details: Types::ResponseDetails
|
|
645
655
|
attr_accessor errors: ::Array[Types::JobError]
|
|
@@ -1042,6 +1052,12 @@ module Aws::DataExchange
|
|
|
1042
1052
|
SENSITIVE: []
|
|
1043
1053
|
end
|
|
1044
1054
|
|
|
1055
|
+
class Tag
|
|
1056
|
+
attr_accessor key: ::String
|
|
1057
|
+
attr_accessor value: ::String
|
|
1058
|
+
SENSITIVE: []
|
|
1059
|
+
end
|
|
1060
|
+
|
|
1045
1061
|
class TagResourceRequest
|
|
1046
1062
|
attr_accessor resource_arn: ::String
|
|
1047
1063
|
attr_accessor tags: ::Hash[::String, ::String]
|