Skip to content

Commit 88af04b

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 76908f2 commit 88af04b

File tree

8 files changed

+1372
-1180
lines changed

8 files changed

+1372
-1180
lines changed

codegen/sdk-codegen/aws-models/cognito-identity-provider.json

Lines changed: 83 additions & 71 deletions
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/dataexchange.json

Lines changed: 227 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@
262262
}
263263
},
264264
"traits": {
265-
"smithy.api#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>"
265+
"smithy.api#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>"
266266
}
267267
},
268268
"com.amazonaws.dataexchange#AssetName": {
@@ -712,6 +712,9 @@
712712
{
713713
"target": "com.amazonaws.dataexchange#AccessDeniedException"
714714
},
715+
{
716+
"target": "com.amazonaws.dataexchange#ConflictException"
717+
},
715718
{
716719
"target": "com.amazonaws.dataexchange#InternalServerException"
717720
},
@@ -927,6 +930,24 @@
927930
"traits": {
928931
"smithy.api#documentation": "<p>The date and time that the revision was last updated, in ISO 8601 format.</p>"
929932
}
933+
},
934+
"RevocationComment": {
935+
"target": "com.amazonaws.dataexchange#__stringMin10Max512",
936+
"traits": {
937+
"smithy.api#documentation": "<p>A required comment to inform subscribers of the reason their access to the revision was revoked.</p>"
938+
}
939+
},
940+
"Revoked": {
941+
"target": "com.amazonaws.dataexchange#__boolean",
942+
"traits": {
943+
"smithy.api#documentation": "<p>A status indicating that subscribers' access to the revision was revoked.</p>"
944+
}
945+
},
946+
"RevokedAt": {
947+
"target": "com.amazonaws.dataexchange#Timestamp",
948+
"traits": {
949+
"smithy.api#documentation": "<p>The date and time that the revision was revoked, in ISO 8601 format.</p>"
950+
}
930951
}
931952
}
932953
},
@@ -1009,6 +1030,9 @@
10091030
{
10101031
"target": "com.amazonaws.dataexchange#ListTagsForResource"
10111032
},
1033+
{
1034+
"target": "com.amazonaws.dataexchange#RevokeRevision"
1035+
},
10121036
{
10131037
"target": "com.amazonaws.dataexchange#SendApiAsset"
10141038
},
@@ -2175,6 +2199,24 @@
21752199
"traits": {
21762200
"smithy.api#documentation": "<p>The date and time that the revision was last updated, in ISO 8601 format.</p>"
21772201
}
2202+
},
2203+
"RevocationComment": {
2204+
"target": "com.amazonaws.dataexchange#__stringMin10Max512",
2205+
"traits": {
2206+
"smithy.api#documentation": "<p>A required comment to inform subscribers of the reason their access to the revision was revoked.</p>"
2207+
}
2208+
},
2209+
"Revoked": {
2210+
"target": "com.amazonaws.dataexchange#__boolean",
2211+
"traits": {
2212+
"smithy.api#documentation": "<p>A status indicating that subscribers' access to the revision was revoked.</p>"
2213+
}
2214+
},
2215+
"RevokedAt": {
2216+
"target": "com.amazonaws.dataexchange#Timestamp",
2217+
"traits": {
2218+
"smithy.api#documentation": "<p>The date and time that the revision was revoked, in ISO 8601 format.</p>"
2219+
}
21782220
}
21792221
}
21802222
},
@@ -3695,6 +3737,24 @@
36953737
"smithy.api#documentation": "<p>The date and time that the revision was last updated, in ISO 8601 format.</p>",
36963738
"smithy.api#required": {}
36973739
}
3740+
},
3741+
"RevocationComment": {
3742+
"target": "com.amazonaws.dataexchange#__stringMin10Max512",
3743+
"traits": {
3744+
"smithy.api#documentation": "<p>A required comment to inform subscribers of the reason their access to the revision was revoked.</p>"
3745+
}
3746+
},
3747+
"Revoked": {
3748+
"target": "com.amazonaws.dataexchange#__boolean",
3749+
"traits": {
3750+
"smithy.api#documentation": "<p>A status indicating that subscribers' access to the revision was revoked.</p>"
3751+
}
3752+
},
3753+
"RevokedAt": {
3754+
"target": "com.amazonaws.dataexchange#Timestamp",
3755+
"traits": {
3756+
"smithy.api#documentation": "<p>The date and time that the revision was revoked, in ISO 8601 format.</p>"
3757+
}
36983758
}
36993759
},
37003760
"traits": {
@@ -3716,6 +3776,145 @@
37163776
"smithy.api#documentation": "<p>Information about the published revision.</p>"
37173777
}
37183778
},
3779+
"com.amazonaws.dataexchange#RevokeRevision": {
3780+
"type": "operation",
3781+
"input": {
3782+
"target": "com.amazonaws.dataexchange#RevokeRevisionRequest"
3783+
},
3784+
"output": {
3785+
"target": "com.amazonaws.dataexchange#RevokeRevisionResponse"
3786+
},
3787+
"errors": [
3788+
{
3789+
"target": "com.amazonaws.dataexchange#AccessDeniedException"
3790+
},
3791+
{
3792+
"target": "com.amazonaws.dataexchange#ConflictException"
3793+
},
3794+
{
3795+
"target": "com.amazonaws.dataexchange#InternalServerException"
3796+
},
3797+
{
3798+
"target": "com.amazonaws.dataexchange#ResourceNotFoundException"
3799+
},
3800+
{
3801+
"target": "com.amazonaws.dataexchange#ThrottlingException"
3802+
},
3803+
{
3804+
"target": "com.amazonaws.dataexchange#ValidationException"
3805+
}
3806+
],
3807+
"traits": {
3808+
"smithy.api#documentation": "<p>This operation revokes subscribers' access to a revision.</p>",
3809+
"smithy.api#http": {
3810+
"method": "POST",
3811+
"uri": "/v1/data-sets/{DataSetId}/revisions/{RevisionId}/revoke",
3812+
"code": 200
3813+
}
3814+
}
3815+
},
3816+
"com.amazonaws.dataexchange#RevokeRevisionRequest": {
3817+
"type": "structure",
3818+
"members": {
3819+
"DataSetId": {
3820+
"target": "com.amazonaws.dataexchange#__string",
3821+
"traits": {
3822+
"smithy.api#documentation": "<p>The unique identifier for a data set.</p>",
3823+
"smithy.api#httpLabel": {},
3824+
"smithy.api#required": {}
3825+
}
3826+
},
3827+
"RevisionId": {
3828+
"target": "com.amazonaws.dataexchange#__string",
3829+
"traits": {
3830+
"smithy.api#documentation": "<p>The unique identifier for a revision.</p>",
3831+
"smithy.api#httpLabel": {},
3832+
"smithy.api#required": {}
3833+
}
3834+
},
3835+
"RevocationComment": {
3836+
"target": "com.amazonaws.dataexchange#__stringMin10Max512",
3837+
"traits": {
3838+
"smithy.api#documentation": "<p>A required comment to inform subscribers of the reason their access to the revision was revoked.</p>",
3839+
"smithy.api#required": {}
3840+
}
3841+
}
3842+
},
3843+
"traits": {
3844+
"smithy.api#documentation": "<p>The request body for RevokeRevision.</p>"
3845+
}
3846+
},
3847+
"com.amazonaws.dataexchange#RevokeRevisionResponse": {
3848+
"type": "structure",
3849+
"members": {
3850+
"Arn": {
3851+
"target": "com.amazonaws.dataexchange#Arn",
3852+
"traits": {
3853+
"smithy.api#documentation": "<p>The ARN for the revision.</p>"
3854+
}
3855+
},
3856+
"Comment": {
3857+
"target": "com.amazonaws.dataexchange#__stringMin0Max16384",
3858+
"traits": {
3859+
"smithy.api#documentation": "<p>An optional comment about the revision.</p>"
3860+
}
3861+
},
3862+
"CreatedAt": {
3863+
"target": "com.amazonaws.dataexchange#Timestamp",
3864+
"traits": {
3865+
"smithy.api#documentation": "<p>The date and time that the revision was created, in ISO 8601 format.</p>"
3866+
}
3867+
},
3868+
"DataSetId": {
3869+
"target": "com.amazonaws.dataexchange#Id",
3870+
"traits": {
3871+
"smithy.api#documentation": "<p>The unique identifier for the data set associated with this revision.</p>"
3872+
}
3873+
},
3874+
"Finalized": {
3875+
"target": "com.amazonaws.dataexchange#__boolean",
3876+
"traits": {
3877+
"smithy.api#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>"
3878+
}
3879+
},
3880+
"Id": {
3881+
"target": "com.amazonaws.dataexchange#Id",
3882+
"traits": {
3883+
"smithy.api#documentation": "<p>The unique identifier for the revision.</p>"
3884+
}
3885+
},
3886+
"SourceId": {
3887+
"target": "com.amazonaws.dataexchange#Id",
3888+
"traits": {
3889+
"smithy.api#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>"
3890+
}
3891+
},
3892+
"UpdatedAt": {
3893+
"target": "com.amazonaws.dataexchange#Timestamp",
3894+
"traits": {
3895+
"smithy.api#documentation": "<p>The date and time that the revision was last updated, in ISO 8601 format.</p>"
3896+
}
3897+
},
3898+
"RevocationComment": {
3899+
"target": "com.amazonaws.dataexchange#__stringMin10Max512",
3900+
"traits": {
3901+
"smithy.api#documentation": "<p>A required comment to inform subscribers of the reason their access to the revision was revoked.</p>"
3902+
}
3903+
},
3904+
"Revoked": {
3905+
"target": "com.amazonaws.dataexchange#__boolean",
3906+
"traits": {
3907+
"smithy.api#documentation": "<p>A status indicating that subscribers' access to the revision was revoked.</p>"
3908+
}
3909+
},
3910+
"RevokedAt": {
3911+
"target": "com.amazonaws.dataexchange#Timestamp",
3912+
"traits": {
3913+
"smithy.api#documentation": "<p>The date and time that the revision was revoked, in ISO 8601 format.</p>"
3914+
}
3915+
}
3916+
}
3917+
},
37193918
"com.amazonaws.dataexchange#S3SnapshotAsset": {
37203919
"type": "structure",
37213920
"members": {
@@ -4604,6 +4803,24 @@
46044803
"traits": {
46054804
"smithy.api#documentation": "<p>The date and time that the revision was last updated, in ISO 8601 format.</p>"
46064805
}
4806+
},
4807+
"RevocationComment": {
4808+
"target": "com.amazonaws.dataexchange#__stringMin10Max512",
4809+
"traits": {
4810+
"smithy.api#documentation": "<p>A required comment to inform subscribers of the reason their access to the revision was revoked.</p>"
4811+
}
4812+
},
4813+
"Revoked": {
4814+
"target": "com.amazonaws.dataexchange#__boolean",
4815+
"traits": {
4816+
"smithy.api#documentation": "<p>A status indicating that subscribers' access to the revision was revoked.</p>"
4817+
}
4818+
},
4819+
"RevokedAt": {
4820+
"target": "com.amazonaws.dataexchange#Timestamp",
4821+
"traits": {
4822+
"smithy.api#documentation": "<p>The date and time that the revision was revoked, in ISO 8601 format.</p>"
4823+
}
46074824
}
46084825
}
46094826
},
@@ -4651,6 +4868,15 @@
46514868
}
46524869
}
46534870
},
4871+
"com.amazonaws.dataexchange#__stringMin10Max512": {
4872+
"type": "string",
4873+
"traits": {
4874+
"smithy.api#length": {
4875+
"min": 10,
4876+
"max": 512
4877+
}
4878+
}
4879+
},
46544880
"com.amazonaws.dataexchange#__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093": {
46554881
"type": "string",
46564882
"traits": {

0 commit comments

Comments
 (0)