aws-sdk-dataexchange 1.18.0 → 1.22.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dataexchange/client.rb +187 -23
- data/lib/aws-sdk-dataexchange/client_api.rb +108 -3
- data/lib/aws-sdk-dataexchange/types.rb +515 -47
- data/lib/aws-sdk-dataexchange.rb +1 -1
- metadata +4 -4
@@ -15,6 +15,8 @@ module Aws::DataExchange
|
|
15
15
|
|
16
16
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
17
|
Action = Shapes::StructureShape.new(name: 'Action')
|
18
|
+
ApiDescription = Shapes::StringShape.new(name: 'ApiDescription')
|
19
|
+
ApiGatewayApiAsset = Shapes::StructureShape.new(name: 'ApiGatewayApiAsset')
|
18
20
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
19
21
|
AssetDestinationEntry = Shapes::StructureShape.new(name: 'AssetDestinationEntry')
|
20
22
|
AssetDetails = Shapes::StructureShape.new(name: 'AssetDetails')
|
@@ -63,9 +65,13 @@ module Aws::DataExchange
|
|
63
65
|
GetRevisionRequest = Shapes::StructureShape.new(name: 'GetRevisionRequest')
|
64
66
|
GetRevisionResponse = Shapes::StructureShape.new(name: 'GetRevisionResponse')
|
65
67
|
Id = Shapes::StringShape.new(name: 'Id')
|
68
|
+
ImportAssetFromApiGatewayApiRequestDetails = Shapes::StructureShape.new(name: 'ImportAssetFromApiGatewayApiRequestDetails')
|
69
|
+
ImportAssetFromApiGatewayApiResponseDetails = Shapes::StructureShape.new(name: 'ImportAssetFromApiGatewayApiResponseDetails')
|
66
70
|
ImportAssetFromSignedUrlJobErrorDetails = Shapes::StructureShape.new(name: 'ImportAssetFromSignedUrlJobErrorDetails')
|
67
71
|
ImportAssetFromSignedUrlRequestDetails = Shapes::StructureShape.new(name: 'ImportAssetFromSignedUrlRequestDetails')
|
68
72
|
ImportAssetFromSignedUrlResponseDetails = Shapes::StructureShape.new(name: 'ImportAssetFromSignedUrlResponseDetails')
|
73
|
+
ImportAssetsFromRedshiftDataSharesRequestDetails = Shapes::StructureShape.new(name: 'ImportAssetsFromRedshiftDataSharesRequestDetails')
|
74
|
+
ImportAssetsFromRedshiftDataSharesResponseDetails = Shapes::StructureShape.new(name: 'ImportAssetsFromRedshiftDataSharesResponseDetails')
|
69
75
|
ImportAssetsFromS3RequestDetails = Shapes::StructureShape.new(name: 'ImportAssetsFromS3RequestDetails')
|
70
76
|
ImportAssetsFromS3ResponseDetails = Shapes::StructureShape.new(name: 'ImportAssetsFromS3ResponseDetails')
|
71
77
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
@@ -89,6 +95,7 @@ module Aws::DataExchange
|
|
89
95
|
ListOfEventActionEntry = Shapes::ListShape.new(name: 'ListOfEventActionEntry')
|
90
96
|
ListOfJobEntry = Shapes::ListShape.new(name: 'ListOfJobEntry')
|
91
97
|
ListOfJobError = Shapes::ListShape.new(name: 'ListOfJobError')
|
98
|
+
ListOfRedshiftDataShareAssetSourceEntry = Shapes::ListShape.new(name: 'ListOfRedshiftDataShareAssetSourceEntry')
|
92
99
|
ListOfRevisionDestinationEntry = Shapes::ListShape.new(name: 'ListOfRevisionDestinationEntry')
|
93
100
|
ListOfRevisionEntry = Shapes::ListShape.new(name: 'ListOfRevisionEntry')
|
94
101
|
ListOf__string = Shapes::ListShape.new(name: 'ListOf__string')
|
@@ -102,6 +109,9 @@ module Aws::DataExchange
|
|
102
109
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
103
110
|
Origin = Shapes::StringShape.new(name: 'Origin')
|
104
111
|
OriginDetails = Shapes::StructureShape.new(name: 'OriginDetails')
|
112
|
+
ProtocolType = Shapes::StringShape.new(name: 'ProtocolType')
|
113
|
+
RedshiftDataShareAsset = Shapes::StructureShape.new(name: 'RedshiftDataShareAsset')
|
114
|
+
RedshiftDataShareAssetSourceEntry = Shapes::StructureShape.new(name: 'RedshiftDataShareAssetSourceEntry')
|
105
115
|
RequestDetails = Shapes::StructureShape.new(name: 'RequestDetails')
|
106
116
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
107
117
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
@@ -110,6 +120,8 @@ module Aws::DataExchange
|
|
110
120
|
RevisionEntry = Shapes::StructureShape.new(name: 'RevisionEntry')
|
111
121
|
RevisionPublished = Shapes::StructureShape.new(name: 'RevisionPublished')
|
112
122
|
S3SnapshotAsset = Shapes::StructureShape.new(name: 'S3SnapshotAsset')
|
123
|
+
SendApiAssetRequest = Shapes::StructureShape.new(name: 'SendApiAssetRequest')
|
124
|
+
SendApiAssetResponse = Shapes::StructureShape.new(name: 'SendApiAssetResponse')
|
113
125
|
ServerSideEncryptionTypes = Shapes::StringShape.new(name: 'ServerSideEncryptionTypes')
|
114
126
|
ServiceLimitExceededException = Shapes::StructureShape.new(name: 'ServiceLimitExceededException')
|
115
127
|
StartJobRequest = Shapes::StructureShape.new(name: 'StartJobRequest')
|
@@ -142,12 +154,25 @@ module Aws::DataExchange
|
|
142
154
|
Action.add_member(:export_revision_to_s3, Shapes::ShapeRef.new(shape: AutoExportRevisionToS3RequestDetails, location_name: "ExportRevisionToS3"))
|
143
155
|
Action.struct_class = Types::Action
|
144
156
|
|
157
|
+
ApiGatewayApiAsset.add_member(:api_description, Shapes::ShapeRef.new(shape: ApiDescription, location_name: "ApiDescription"))
|
158
|
+
ApiGatewayApiAsset.add_member(:api_endpoint, Shapes::ShapeRef.new(shape: __string, location_name: "ApiEndpoint"))
|
159
|
+
ApiGatewayApiAsset.add_member(:api_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApiId"))
|
160
|
+
ApiGatewayApiAsset.add_member(:api_key, Shapes::ShapeRef.new(shape: __string, location_name: "ApiKey"))
|
161
|
+
ApiGatewayApiAsset.add_member(:api_name, Shapes::ShapeRef.new(shape: __string, location_name: "ApiName"))
|
162
|
+
ApiGatewayApiAsset.add_member(:api_specification_download_url, Shapes::ShapeRef.new(shape: __string, location_name: "ApiSpecificationDownloadUrl"))
|
163
|
+
ApiGatewayApiAsset.add_member(:api_specification_download_url_expires_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ApiSpecificationDownloadUrlExpiresAt"))
|
164
|
+
ApiGatewayApiAsset.add_member(:protocol_type, Shapes::ShapeRef.new(shape: ProtocolType, location_name: "ProtocolType"))
|
165
|
+
ApiGatewayApiAsset.add_member(:stage, Shapes::ShapeRef.new(shape: __string, location_name: "Stage"))
|
166
|
+
ApiGatewayApiAsset.struct_class = Types::ApiGatewayApiAsset
|
167
|
+
|
145
168
|
AssetDestinationEntry.add_member(:asset_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "AssetId"))
|
146
169
|
AssetDestinationEntry.add_member(:bucket, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Bucket"))
|
147
170
|
AssetDestinationEntry.add_member(:key, Shapes::ShapeRef.new(shape: __string, location_name: "Key"))
|
148
171
|
AssetDestinationEntry.struct_class = Types::AssetDestinationEntry
|
149
172
|
|
150
173
|
AssetDetails.add_member(:s3_snapshot_asset, Shapes::ShapeRef.new(shape: S3SnapshotAsset, location_name: "S3SnapshotAsset"))
|
174
|
+
AssetDetails.add_member(:redshift_data_share_asset, Shapes::ShapeRef.new(shape: RedshiftDataShareAsset, location_name: "RedshiftDataShareAsset"))
|
175
|
+
AssetDetails.add_member(:api_gateway_api_asset, Shapes::ShapeRef.new(shape: ApiGatewayApiAsset, location_name: "ApiGatewayApiAsset"))
|
151
176
|
AssetDetails.struct_class = Types::AssetDetails
|
152
177
|
|
153
178
|
AssetEntry.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
|
@@ -316,8 +341,8 @@ module Aws::DataExchange
|
|
316
341
|
|
317
342
|
ExportRevisionsToS3ResponseDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
|
318
343
|
ExportRevisionsToS3ResponseDetails.add_member(:encryption, Shapes::ShapeRef.new(shape: ExportServerSideEncryption, location_name: "Encryption"))
|
319
|
-
ExportRevisionsToS3ResponseDetails.add_member(:event_action_arn, Shapes::ShapeRef.new(shape: __string, location_name: "EventActionArn"))
|
320
344
|
ExportRevisionsToS3ResponseDetails.add_member(:revision_destinations, Shapes::ShapeRef.new(shape: ListOfRevisionDestinationEntry, required: true, location_name: "RevisionDestinations"))
|
345
|
+
ExportRevisionsToS3ResponseDetails.add_member(:event_action_arn, Shapes::ShapeRef.new(shape: __string, location_name: "EventActionArn"))
|
321
346
|
ExportRevisionsToS3ResponseDetails.struct_class = Types::ExportRevisionsToS3ResponseDetails
|
322
347
|
|
323
348
|
ExportServerSideEncryption.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: __string, location_name: "KmsKeyArn"))
|
@@ -396,6 +421,30 @@ module Aws::DataExchange
|
|
396
421
|
GetRevisionResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
397
422
|
GetRevisionResponse.struct_class = Types::GetRevisionResponse
|
398
423
|
|
424
|
+
ImportAssetFromApiGatewayApiRequestDetails.add_member(:api_description, Shapes::ShapeRef.new(shape: ApiDescription, location_name: "ApiDescription"))
|
425
|
+
ImportAssetFromApiGatewayApiRequestDetails.add_member(:api_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApiId"))
|
426
|
+
ImportAssetFromApiGatewayApiRequestDetails.add_member(:api_key, Shapes::ShapeRef.new(shape: __string, location_name: "ApiKey"))
|
427
|
+
ImportAssetFromApiGatewayApiRequestDetails.add_member(:api_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApiName"))
|
428
|
+
ImportAssetFromApiGatewayApiRequestDetails.add_member(:api_specification_md_5_hash, Shapes::ShapeRef.new(shape: __stringMin24Max24PatternAZaZ094AZaZ092AZaZ093, required: true, location_name: "ApiSpecificationMd5Hash"))
|
429
|
+
ImportAssetFromApiGatewayApiRequestDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
|
430
|
+
ImportAssetFromApiGatewayApiRequestDetails.add_member(:protocol_type, Shapes::ShapeRef.new(shape: ProtocolType, required: true, location_name: "ProtocolType"))
|
431
|
+
ImportAssetFromApiGatewayApiRequestDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
|
432
|
+
ImportAssetFromApiGatewayApiRequestDetails.add_member(:stage, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Stage"))
|
433
|
+
ImportAssetFromApiGatewayApiRequestDetails.struct_class = Types::ImportAssetFromApiGatewayApiRequestDetails
|
434
|
+
|
435
|
+
ImportAssetFromApiGatewayApiResponseDetails.add_member(:api_description, Shapes::ShapeRef.new(shape: ApiDescription, location_name: "ApiDescription"))
|
436
|
+
ImportAssetFromApiGatewayApiResponseDetails.add_member(:api_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApiId"))
|
437
|
+
ImportAssetFromApiGatewayApiResponseDetails.add_member(:api_key, Shapes::ShapeRef.new(shape: __string, location_name: "ApiKey"))
|
438
|
+
ImportAssetFromApiGatewayApiResponseDetails.add_member(:api_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApiName"))
|
439
|
+
ImportAssetFromApiGatewayApiResponseDetails.add_member(:api_specification_md_5_hash, Shapes::ShapeRef.new(shape: __stringMin24Max24PatternAZaZ094AZaZ092AZaZ093, required: true, location_name: "ApiSpecificationMd5Hash"))
|
440
|
+
ImportAssetFromApiGatewayApiResponseDetails.add_member(:api_specification_upload_url, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApiSpecificationUploadUrl"))
|
441
|
+
ImportAssetFromApiGatewayApiResponseDetails.add_member(:api_specification_upload_url_expires_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ApiSpecificationUploadUrlExpiresAt"))
|
442
|
+
ImportAssetFromApiGatewayApiResponseDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
|
443
|
+
ImportAssetFromApiGatewayApiResponseDetails.add_member(:protocol_type, Shapes::ShapeRef.new(shape: ProtocolType, required: true, location_name: "ProtocolType"))
|
444
|
+
ImportAssetFromApiGatewayApiResponseDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
|
445
|
+
ImportAssetFromApiGatewayApiResponseDetails.add_member(:stage, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Stage"))
|
446
|
+
ImportAssetFromApiGatewayApiResponseDetails.struct_class = Types::ImportAssetFromApiGatewayApiResponseDetails
|
447
|
+
|
399
448
|
ImportAssetFromSignedUrlJobErrorDetails.add_member(:asset_name, Shapes::ShapeRef.new(shape: AssetName, required: true, location_name: "AssetName"))
|
400
449
|
ImportAssetFromSignedUrlJobErrorDetails.struct_class = Types::ImportAssetFromSignedUrlJobErrorDetails
|
401
450
|
|
@@ -413,6 +462,16 @@ module Aws::DataExchange
|
|
413
462
|
ImportAssetFromSignedUrlResponseDetails.add_member(:signed_url_expires_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SignedUrlExpiresAt"))
|
414
463
|
ImportAssetFromSignedUrlResponseDetails.struct_class = Types::ImportAssetFromSignedUrlResponseDetails
|
415
464
|
|
465
|
+
ImportAssetsFromRedshiftDataSharesRequestDetails.add_member(:asset_sources, Shapes::ShapeRef.new(shape: ListOfRedshiftDataShareAssetSourceEntry, required: true, location_name: "AssetSources"))
|
466
|
+
ImportAssetsFromRedshiftDataSharesRequestDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
|
467
|
+
ImportAssetsFromRedshiftDataSharesRequestDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
|
468
|
+
ImportAssetsFromRedshiftDataSharesRequestDetails.struct_class = Types::ImportAssetsFromRedshiftDataSharesRequestDetails
|
469
|
+
|
470
|
+
ImportAssetsFromRedshiftDataSharesResponseDetails.add_member(:asset_sources, Shapes::ShapeRef.new(shape: ListOfRedshiftDataShareAssetSourceEntry, required: true, location_name: "AssetSources"))
|
471
|
+
ImportAssetsFromRedshiftDataSharesResponseDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
|
472
|
+
ImportAssetsFromRedshiftDataSharesResponseDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
|
473
|
+
ImportAssetsFromRedshiftDataSharesResponseDetails.struct_class = Types::ImportAssetsFromRedshiftDataSharesResponseDetails
|
474
|
+
|
416
475
|
ImportAssetsFromS3RequestDetails.add_member(:asset_sources, Shapes::ShapeRef.new(shape: ListOfAssetSourceEntry, required: true, location_name: "AssetSources"))
|
417
476
|
ImportAssetsFromS3RequestDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
|
418
477
|
ImportAssetsFromS3RequestDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
|
@@ -496,6 +555,8 @@ module Aws::DataExchange
|
|
496
555
|
|
497
556
|
ListOfJobError.member = Shapes::ShapeRef.new(shape: JobError)
|
498
557
|
|
558
|
+
ListOfRedshiftDataShareAssetSourceEntry.member = Shapes::ShapeRef.new(shape: RedshiftDataShareAssetSourceEntry)
|
559
|
+
|
499
560
|
ListOfRevisionDestinationEntry.member = Shapes::ShapeRef.new(shape: RevisionDestinationEntry)
|
500
561
|
|
501
562
|
ListOfRevisionEntry.member = Shapes::ShapeRef.new(shape: RevisionEntry)
|
@@ -524,11 +585,19 @@ module Aws::DataExchange
|
|
524
585
|
OriginDetails.add_member(:product_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ProductId"))
|
525
586
|
OriginDetails.struct_class = Types::OriginDetails
|
526
587
|
|
588
|
+
RedshiftDataShareAsset.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Arn"))
|
589
|
+
RedshiftDataShareAsset.struct_class = Types::RedshiftDataShareAsset
|
590
|
+
|
591
|
+
RedshiftDataShareAssetSourceEntry.add_member(:data_share_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "DataShareArn"))
|
592
|
+
RedshiftDataShareAssetSourceEntry.struct_class = Types::RedshiftDataShareAssetSourceEntry
|
593
|
+
|
527
594
|
RequestDetails.add_member(:export_asset_to_signed_url, Shapes::ShapeRef.new(shape: ExportAssetToSignedUrlRequestDetails, location_name: "ExportAssetToSignedUrl"))
|
528
595
|
RequestDetails.add_member(:export_assets_to_s3, Shapes::ShapeRef.new(shape: ExportAssetsToS3RequestDetails, location_name: "ExportAssetsToS3"))
|
529
596
|
RequestDetails.add_member(:export_revisions_to_s3, Shapes::ShapeRef.new(shape: ExportRevisionsToS3RequestDetails, location_name: "ExportRevisionsToS3"))
|
530
597
|
RequestDetails.add_member(:import_asset_from_signed_url, Shapes::ShapeRef.new(shape: ImportAssetFromSignedUrlRequestDetails, location_name: "ImportAssetFromSignedUrl"))
|
531
598
|
RequestDetails.add_member(:import_assets_from_s3, Shapes::ShapeRef.new(shape: ImportAssetsFromS3RequestDetails, location_name: "ImportAssetsFromS3"))
|
599
|
+
RequestDetails.add_member(:import_assets_from_redshift_data_shares, Shapes::ShapeRef.new(shape: ImportAssetsFromRedshiftDataSharesRequestDetails, location_name: "ImportAssetsFromRedshiftDataShares"))
|
600
|
+
RequestDetails.add_member(:import_asset_from_api_gateway_api, Shapes::ShapeRef.new(shape: ImportAssetFromApiGatewayApiRequestDetails, location_name: "ImportAssetFromApiGatewayApi"))
|
532
601
|
RequestDetails.struct_class = Types::RequestDetails
|
533
602
|
|
534
603
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Message"))
|
@@ -541,6 +610,8 @@ module Aws::DataExchange
|
|
541
610
|
ResponseDetails.add_member(:export_revisions_to_s3, Shapes::ShapeRef.new(shape: ExportRevisionsToS3ResponseDetails, location_name: "ExportRevisionsToS3"))
|
542
611
|
ResponseDetails.add_member(:import_asset_from_signed_url, Shapes::ShapeRef.new(shape: ImportAssetFromSignedUrlResponseDetails, location_name: "ImportAssetFromSignedUrl"))
|
543
612
|
ResponseDetails.add_member(:import_assets_from_s3, Shapes::ShapeRef.new(shape: ImportAssetsFromS3ResponseDetails, location_name: "ImportAssetsFromS3"))
|
613
|
+
ResponseDetails.add_member(:import_assets_from_redshift_data_shares, Shapes::ShapeRef.new(shape: ImportAssetsFromRedshiftDataSharesResponseDetails, location_name: "ImportAssetsFromRedshiftDataShares"))
|
614
|
+
ResponseDetails.add_member(:import_asset_from_api_gateway_api, Shapes::ShapeRef.new(shape: ImportAssetFromApiGatewayApiResponseDetails, location_name: "ImportAssetFromApiGatewayApi"))
|
544
615
|
ResponseDetails.struct_class = Types::ResponseDetails
|
545
616
|
|
546
617
|
RevisionDestinationEntry.add_member(:bucket, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Bucket"))
|
@@ -564,6 +635,24 @@ module Aws::DataExchange
|
|
564
635
|
S3SnapshotAsset.add_member(:size, Shapes::ShapeRef.new(shape: __doubleMin0, required: true, location_name: "Size"))
|
565
636
|
S3SnapshotAsset.struct_class = Types::S3SnapshotAsset
|
566
637
|
|
638
|
+
SendApiAssetRequest.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
639
|
+
SendApiAssetRequest.add_member(:query_string_parameters, Shapes::ShapeRef.new(shape: MapOf__string, location: "querystring", location_name: "QueryStringParameters"))
|
640
|
+
SendApiAssetRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "header", location_name: "x-amzn-dataexchange-asset-id"))
|
641
|
+
SendApiAssetRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "header", location_name: "x-amzn-dataexchange-data-set-id"))
|
642
|
+
SendApiAssetRequest.add_member(:request_headers, Shapes::ShapeRef.new(shape: MapOf__string, location: "headers", location_name: "x-amzn-dataexchange-header-"))
|
643
|
+
SendApiAssetRequest.add_member(:method, Shapes::ShapeRef.new(shape: __string, location: "header", location_name: "x-amzn-dataexchange-http-method"))
|
644
|
+
SendApiAssetRequest.add_member(:path, Shapes::ShapeRef.new(shape: __string, location: "header", location_name: "x-amzn-dataexchange-path"))
|
645
|
+
SendApiAssetRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "header", location_name: "x-amzn-dataexchange-revision-id"))
|
646
|
+
SendApiAssetRequest.struct_class = Types::SendApiAssetRequest
|
647
|
+
SendApiAssetRequest[:payload] = :body
|
648
|
+
SendApiAssetRequest[:payload_member] = SendApiAssetRequest.member(:body)
|
649
|
+
|
650
|
+
SendApiAssetResponse.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
651
|
+
SendApiAssetResponse.add_member(:response_headers, Shapes::ShapeRef.new(shape: MapOf__string, location: "headers", location_name: ""))
|
652
|
+
SendApiAssetResponse.struct_class = Types::SendApiAssetResponse
|
653
|
+
SendApiAssetResponse[:payload] = :body
|
654
|
+
SendApiAssetResponse[:payload_member] = SendApiAssetResponse.member(:body)
|
655
|
+
|
567
656
|
ServiceLimitExceededException.add_member(:limit_name, Shapes::ShapeRef.new(shape: LimitName, location_name: "LimitName"))
|
568
657
|
ServiceLimitExceededException.add_member(:limit_value, Shapes::ShapeRef.new(shape: __double, location_name: "LimitValue"))
|
569
658
|
ServiceLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Message"))
|
@@ -715,11 +804,11 @@ module Aws::DataExchange
|
|
715
804
|
o.http_request_uri = "/v1/jobs"
|
716
805
|
o.input = Shapes::ShapeRef.new(shape: CreateJobRequest)
|
717
806
|
o.output = Shapes::ShapeRef.new(shape: CreateJobResponse)
|
807
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
808
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
718
809
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
719
810
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
720
811
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
721
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
722
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
723
812
|
end)
|
724
813
|
|
725
814
|
api.add_operation(:create_revision, Seahorse::Model::Operation.new.tap do |o|
|
@@ -947,6 +1036,22 @@ module Aws::DataExchange
|
|
947
1036
|
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
948
1037
|
end)
|
949
1038
|
|
1039
|
+
api.add_operation(:send_api_asset, Seahorse::Model::Operation.new.tap do |o|
|
1040
|
+
o.name = "SendApiAsset"
|
1041
|
+
o.http_method = "POST"
|
1042
|
+
o.http_request_uri = "/v1"
|
1043
|
+
o.endpoint_pattern = {
|
1044
|
+
"hostPrefix" => "api-fulfill.",
|
1045
|
+
}
|
1046
|
+
o.input = Shapes::ShapeRef.new(shape: SendApiAssetRequest)
|
1047
|
+
o.output = Shapes::ShapeRef.new(shape: SendApiAssetResponse)
|
1048
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1049
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1050
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1051
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1052
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1053
|
+
end)
|
1054
|
+
|
950
1055
|
api.add_operation(:start_job, Seahorse::Model::Operation.new.tap do |o|
|
951
1056
|
o.name = "StartJob"
|
952
1057
|
o.http_method = "PATCH"
|