|
155 | 155 | {
|
156 | 156 | "shape": "AccessDeniedException",
|
157 | 157 | "documentation": "<p>403 response</p>"
|
| 158 | + }, |
| 159 | + { |
| 160 | + "shape": "ConflictException", |
| 161 | + "documentation": "<p>409 response</p>" |
158 | 162 | }
|
159 | 163 | ],
|
160 | 164 | "documentation": "<p>This operation creates a job.</p>"
|
|
698 | 702 | "errors": [],
|
699 | 703 | "documentation": "<p>This operation lists the tags on the resource.</p>"
|
700 | 704 | },
|
| 705 | + "RevokeRevision": { |
| 706 | + "name": "RevokeRevision", |
| 707 | + "http": { |
| 708 | + "method": "POST", |
| 709 | + "requestUri": "/v1/data-sets/{DataSetId}/revisions/{RevisionId}/revoke", |
| 710 | + "responseCode": 200 |
| 711 | + }, |
| 712 | + "input": { |
| 713 | + "shape": "RevokeRevisionRequest" |
| 714 | + }, |
| 715 | + "output": { |
| 716 | + "shape": "RevokeRevisionResponse", |
| 717 | + "documentation": "<p>200 response</p>" |
| 718 | + }, |
| 719 | + "errors": [ |
| 720 | + { |
| 721 | + "shape": "ValidationException", |
| 722 | + "documentation": "<p>400 response</p>" |
| 723 | + }, |
| 724 | + { |
| 725 | + "shape": "InternalServerException", |
| 726 | + "documentation": "<p>500 response</p>" |
| 727 | + }, |
| 728 | + { |
| 729 | + "shape": "AccessDeniedException", |
| 730 | + "documentation": "<p>403 response</p>" |
| 731 | + }, |
| 732 | + { |
| 733 | + "shape": "ResourceNotFoundException", |
| 734 | + "documentation": "<p>404 response</p>" |
| 735 | + }, |
| 736 | + { |
| 737 | + "shape": "ThrottlingException", |
| 738 | + "documentation": "<p>429 response</p>" |
| 739 | + }, |
| 740 | + { |
| 741 | + "shape": "ConflictException", |
| 742 | + "documentation": "<p>409 response</p>" |
| 743 | + } |
| 744 | + ], |
| 745 | + "documentation": "<p>This operation revokes subscribers' access to a revision.</p>" |
| 746 | + }, |
701 | 747 | "SendApiAsset": {
|
702 | 748 | "name": "SendApiAsset",
|
703 | 749 | "http": {
|
|
1130 | 1176 | "documentation": "<p>The date and time that the asset was last updated, in ISO 8601 format.</p>"
|
1131 | 1177 | }
|
1132 | 1178 | },
|
1133 |
| - "documentation": "<p>An asset in AWS Data Exchange is a piece of data (S3 object) or a means of fulfilling data (Amazon Redshift datashare or Amazon API Gateway API). The asset can be a structured data file, an image file, or some other data file that can be stored as an S3 object, an Amazon API Gateway API, or an Amazon Redshift datashare (Preview). When you create an import job for your files, API Gateway APIs, or Amazon Redshift datashares, you create an asset in AWS Data Exchange.</p>", |
| 1179 | + "documentation": "<p>An asset in AWS Data Exchange is a piece of data (S3 object) or a means of fulfilling data (Amazon Redshift datashare or Amazon API Gateway API). The asset can be a structured data file, an image file, or some other data file that can be stored as an S3 object, an Amazon API Gateway API, or an Amazon Redshift datashare. When you create an import job for your files, API Gateway APIs, or Amazon Redshift datashares, you create an asset in AWS Data Exchange.</p>", |
1134 | 1180 | "required": [
|
1135 | 1181 | "AssetType",
|
1136 | 1182 | "CreatedAt",
|
|
1498 | 1544 | "UpdatedAt": {
|
1499 | 1545 | "shape": "Timestamp",
|
1500 | 1546 | "documentation": "<p>The date and time that the revision was last updated, in ISO 8601 format.</p>"
|
| 1547 | + }, |
| 1548 | + "RevocationComment": { |
| 1549 | + "shape": "__stringMin10Max512", |
| 1550 | + "documentation": "<p>A required comment to inform subscribers of the reason their access to the revision was revoked.</p>" |
| 1551 | + }, |
| 1552 | + "Revoked": { |
| 1553 | + "shape": "__boolean", |
| 1554 | + "documentation": "<p>A status indicating that subscribers' access to the revision was revoked.</p>" |
| 1555 | + }, |
| 1556 | + "RevokedAt": { |
| 1557 | + "shape": "Timestamp", |
| 1558 | + "documentation": "<p>The date and time that the revision was revoked, in ISO 8601 format.</p>" |
1501 | 1559 | }
|
1502 | 1560 | }
|
1503 | 1561 | },
|
|
2169 | 2227 | "UpdatedAt": {
|
2170 | 2228 | "shape": "Timestamp",
|
2171 | 2229 | "documentation": "<p>The date and time that the revision was last updated, in ISO 8601 format.</p>"
|
| 2230 | + }, |
| 2231 | + "RevocationComment": { |
| 2232 | + "shape": "__stringMin10Max512", |
| 2233 | + "documentation": "<p>A required comment to inform subscribers of the reason their access to the revision was revoked.</p>" |
| 2234 | + }, |
| 2235 | + "Revoked": { |
| 2236 | + "shape": "__boolean", |
| 2237 | + "documentation": "<p>A status indicating that subscribers' access to the revision was revoked.</p>" |
| 2238 | + }, |
| 2239 | + "RevokedAt": { |
| 2240 | + "shape": "Timestamp", |
| 2241 | + "documentation": "<p>The date and time that the revision was revoked, in ISO 8601 format.</p>" |
2172 | 2242 | }
|
2173 | 2243 | }
|
2174 | 2244 | },
|
|
3079 | 3149 | "UpdatedAt": {
|
3080 | 3150 | "shape": "Timestamp",
|
3081 | 3151 | "documentation": "<p>The date and time that the revision was last updated, in ISO 8601 format.</p>"
|
| 3152 | + }, |
| 3153 | + "RevocationComment": { |
| 3154 | + "shape": "__stringMin10Max512", |
| 3155 | + "documentation": "<p>A required comment to inform subscribers of the reason their access to the revision was revoked.</p>" |
| 3156 | + }, |
| 3157 | + "Revoked": { |
| 3158 | + "shape": "__boolean", |
| 3159 | + "documentation": "<p>A status indicating that subscribers' access to the revision was revoked.</p>" |
| 3160 | + }, |
| 3161 | + "RevokedAt": { |
| 3162 | + "shape": "Timestamp", |
| 3163 | + "documentation": "<p>The date and time that the revision was revoked, in ISO 8601 format.</p>" |
3082 | 3164 | }
|
3083 | 3165 | },
|
3084 | 3166 | "documentation": "<p>A revision is a container for one or more assets.</p>",
|
|
3103 | 3185 | "DataSetId"
|
3104 | 3186 | ]
|
3105 | 3187 | },
|
| 3188 | + "RevokeRevisionRequest": { |
| 3189 | + "type": "structure", |
| 3190 | + "members": { |
| 3191 | + "DataSetId": { |
| 3192 | + "shape": "__string", |
| 3193 | + "location": "uri", |
| 3194 | + "locationName": "DataSetId", |
| 3195 | + "documentation": "<p>The unique identifier for a data set.</p>" |
| 3196 | + }, |
| 3197 | + "RevisionId": { |
| 3198 | + "shape": "__string", |
| 3199 | + "location": "uri", |
| 3200 | + "locationName": "RevisionId", |
| 3201 | + "documentation": "<p>The unique identifier for a revision.</p>" |
| 3202 | + }, |
| 3203 | + "RevocationComment": { |
| 3204 | + "shape": "__stringMin10Max512", |
| 3205 | + "documentation": "<p>A required comment to inform subscribers of the reason their access to the revision was revoked.</p>" |
| 3206 | + } |
| 3207 | + }, |
| 3208 | + "documentation": "<p>The request body for RevokeRevision.</p>", |
| 3209 | + "required": [ |
| 3210 | + "RevisionId", |
| 3211 | + "DataSetId", |
| 3212 | + "RevocationComment" |
| 3213 | + ] |
| 3214 | + }, |
| 3215 | + "RevokeRevisionResponse": { |
| 3216 | + "type": "structure", |
| 3217 | + "members": { |
| 3218 | + "Arn": { |
| 3219 | + "shape": "Arn", |
| 3220 | + "documentation": "<p>The ARN for the revision.</p>" |
| 3221 | + }, |
| 3222 | + "Comment": { |
| 3223 | + "shape": "__stringMin0Max16384", |
| 3224 | + "documentation": "<p>An optional comment about the revision.</p>" |
| 3225 | + }, |
| 3226 | + "CreatedAt": { |
| 3227 | + "shape": "Timestamp", |
| 3228 | + "documentation": "<p>The date and time that the revision was created, in ISO 8601 format.</p>" |
| 3229 | + }, |
| 3230 | + "DataSetId": { |
| 3231 | + "shape": "Id", |
| 3232 | + "documentation": "<p>The unique identifier for the data set associated with this revision.</p>" |
| 3233 | + }, |
| 3234 | + "Finalized": { |
| 3235 | + "shape": "__boolean", |
| 3236 | + "documentation": "<p>To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products.</p> <p>Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.</p>" |
| 3237 | + }, |
| 3238 | + "Id": { |
| 3239 | + "shape": "Id", |
| 3240 | + "documentation": "<p>The unique identifier for the revision.</p>" |
| 3241 | + }, |
| 3242 | + "SourceId": { |
| 3243 | + "shape": "Id", |
| 3244 | + "documentation": "<p>The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter is returned when a revision owner is viewing the entitled copy of its owned revision.</p>" |
| 3245 | + }, |
| 3246 | + "UpdatedAt": { |
| 3247 | + "shape": "Timestamp", |
| 3248 | + "documentation": "<p>The date and time that the revision was last updated, in ISO 8601 format.</p>" |
| 3249 | + }, |
| 3250 | + "RevocationComment": { |
| 3251 | + "shape": "__stringMin10Max512", |
| 3252 | + "documentation": "<p>A required comment to inform subscribers of the reason their access to the revision was revoked.</p>" |
| 3253 | + }, |
| 3254 | + "Revoked": { |
| 3255 | + "shape": "__boolean", |
| 3256 | + "documentation": "<p>A status indicating that subscribers' access to the revision was revoked.</p>" |
| 3257 | + }, |
| 3258 | + "RevokedAt": { |
| 3259 | + "shape": "Timestamp", |
| 3260 | + "documentation": "<p>The date and time that the revision was revoked, in ISO 8601 format.</p>" |
| 3261 | + } |
| 3262 | + } |
| 3263 | + }, |
3106 | 3264 | "S3SnapshotAsset": {
|
3107 | 3265 | "type": "structure",
|
3108 | 3266 | "members": {
|
|
3586 | 3744 | "UpdatedAt": {
|
3587 | 3745 | "shape": "Timestamp",
|
3588 | 3746 | "documentation": "<p>The date and time that the revision was last updated, in ISO 8601 format.</p>"
|
| 3747 | + }, |
| 3748 | + "RevocationComment": { |
| 3749 | + "shape": "__stringMin10Max512", |
| 3750 | + "documentation": "<p>A required comment to inform subscribers of the reason their access to the revision was revoked.</p>" |
| 3751 | + }, |
| 3752 | + "Revoked": { |
| 3753 | + "shape": "__boolean", |
| 3754 | + "documentation": "<p>A status indicating that subscribers' access to the revision was revoked.</p>" |
| 3755 | + }, |
| 3756 | + "RevokedAt": { |
| 3757 | + "shape": "Timestamp", |
| 3758 | + "documentation": "<p>The date and time that the revision was revoked, in ISO 8601 format.</p>" |
3589 | 3759 | }
|
3590 | 3760 | }
|
3591 | 3761 | },
|
|
3683 | 3853 | "min": 24,
|
3684 | 3854 | "max": 24,
|
3685 | 3855 | "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"
|
| 3856 | + }, |
| 3857 | + "__stringMin10Max512": { |
| 3858 | + "type": "string", |
| 3859 | + "min": 10, |
| 3860 | + "max": 512 |
3686 | 3861 | }
|
3687 | 3862 | },
|
3688 | 3863 | "documentation": "<p>AWS Data Exchange is a service that makes it easy for AWS customers to exchange data in the cloud. You can use the AWS Data Exchange APIs to create, update, manage, and access file-based data set in the AWS Cloud.</p><p>As a subscriber, you can view and access the data sets that you have an entitlement to through a subscription. You can use the APIS to download or copy your entitled data sets to Amazon S3 for use across a variety of AWS analytics and machine learning services.</p><p>As a provider, you can create and manage your data sets that you would like to publish to a product. Being able to package and provide your data sets into products requires a few steps to determine eligibility. For more information, visit the AWS Data Exchange User Guide.</p><p>A data set is a collection of data that can be changed or updated over time. Data sets can be updated using revisions, which represent a new version or incremental change to a data set. A revision contains one or more assets. An asset in AWS Data Exchange is a piece of data that can be stored as an Amazon S3 object. The asset can be a structured data file, an image file, or some other data file. Jobs are asynchronous import or export operations used to create or copy assets.</p>"
|
|
0 commit comments