{ "version":"2.0", "metadata":{ "apiVersion":"2018-09-17", "endpointPrefix":"catalog.marketplace", "jsonVersion":"1.1", "protocol":"rest-json", "serviceAbbreviation":"AWS Marketplace Catalog", "serviceFullName":"AWS Marketplace Catalog Service", "serviceId":"Marketplace Catalog", "signatureVersion":"v4", "signingName":"aws-marketplace", "uid":"marketplace-catalog-2018-09-17" }, "operations":{ "CancelChangeSet":{ "name":"CancelChangeSet", "http":{ "method":"PATCH", "requestUri":"/CancelChangeSet" }, "input":{"shape":"CancelChangeSetRequest"}, "output":{"shape":"CancelChangeSetResponse"}, "errors":[ {"shape":"InternalServiceException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ResourceInUseException"}, {"shape":"ThrottlingException"} ], "documentation":"

Used to cancel an open change request. Must be sent before the status of the request changes to APPLYING, the final stage of completing your change request. You can describe a change during the 60-day request history retention period for API calls.

" }, "DescribeChangeSet":{ "name":"DescribeChangeSet", "http":{ "method":"GET", "requestUri":"/DescribeChangeSet" }, "input":{"shape":"DescribeChangeSetRequest"}, "output":{"shape":"DescribeChangeSetResponse"}, "errors":[ {"shape":"InternalServiceException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"} ], "documentation":"

Provides information about a given change set.

" }, "DescribeEntity":{ "name":"DescribeEntity", "http":{ "method":"GET", "requestUri":"/DescribeEntity" }, "input":{"shape":"DescribeEntityRequest"}, "output":{"shape":"DescribeEntityResponse"}, "errors":[ {"shape":"InternalServiceException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"ResourceNotSupportedException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"} ], "documentation":"

Returns the metadata and content of the entity.

" }, "ListChangeSets":{ "name":"ListChangeSets", "http":{ "method":"POST", "requestUri":"/ListChangeSets" }, "input":{"shape":"ListChangeSetsRequest"}, "output":{"shape":"ListChangeSetsResponse"}, "errors":[ {"shape":"InternalServiceException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"} ], "documentation":"

Returns the list of change sets owned by the account being used to make the call. You can filter this list by providing any combination of entityId, ChangeSetName, and status. If you provide more than one filter, the API operation applies a logical AND between the filters.

You can describe a change during the 60-day request history retention period for API calls.

" }, "ListEntities":{ "name":"ListEntities", "http":{ "method":"POST", "requestUri":"/ListEntities" }, "input":{"shape":"ListEntitiesRequest"}, "output":{"shape":"ListEntitiesResponse"}, "errors":[ {"shape":"InternalServiceException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"} ], "documentation":"

Provides the list of entities of a given type.

" }, "StartChangeSet":{ "name":"StartChangeSet", "http":{ "method":"POST", "requestUri":"/StartChangeSet" }, "input":{"shape":"StartChangeSetRequest"}, "output":{"shape":"StartChangeSetResponse"}, "errors":[ {"shape":"InternalServiceException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ResourceInUseException"}, {"shape":"ThrottlingException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"

This operation allows you to request changes for your entities. Within a single ChangeSet, you cannot start the same change type against the same entity multiple times. Additionally, when a ChangeSet is running, all the entities targeted by the different changes are locked until the ChangeSet has completed (either succeeded, cancelled, or failed). If you try to start a ChangeSet containing a change against an entity that is already locked, you will receive a ResourceInUseException.

For example, you cannot start the ChangeSet described in the example later in this topic, because it contains two changes to execute the same change type (AddRevisions) against the same entity (entity-id@1).

For more information about working with change sets, see Working with change sets.

" } }, "shapes":{ "ARN":{ "type":"string", "max":2048, "min":1, "pattern":"^[a-zA-Z0-9:*/-]+$" }, "AccessDeniedException":{ "type":"structure", "members":{ "Message":{"shape":"ExceptionMessageContent"} }, "documentation":"

Access is denied.

", "error":{"httpStatusCode":403}, "exception":true, "synthetic":true }, "CancelChangeSetRequest":{ "type":"structure", "required":[ "Catalog", "ChangeSetId" ], "members":{ "Catalog":{ "shape":"Catalog", "documentation":"

Required. The catalog related to the request. Fixed value: AWSMarketplace.

", "location":"querystring", "locationName":"catalog" }, "ChangeSetId":{ "shape":"ResourceId", "documentation":"

Required. The unique identifier of the StartChangeSet request that you want to cancel.

", "location":"querystring", "locationName":"changeSetId" } } }, "CancelChangeSetResponse":{ "type":"structure", "members":{ "ChangeSetId":{ "shape":"ResourceId", "documentation":"

The unique identifier for the change set referenced in this request.

" }, "ChangeSetArn":{ "shape":"ARN", "documentation":"

The ARN associated with the change set referenced in this request.

" } } }, "Catalog":{ "type":"string", "max":64, "min":1, "pattern":"^[a-zA-Z]+$" }, "Change":{ "type":"structure", "required":[ "ChangeType", "Entity", "Details" ], "members":{ "ChangeType":{ "shape":"ChangeType", "documentation":"

Change types are single string values that describe your intention for the change. Each change type is unique for each EntityType provided in the change's scope.

" }, "Entity":{ "shape":"Entity", "documentation":"

The entity to be changed.

" }, "Details":{ "shape":"Json", "documentation":"

This object contains details specific to the change type of the requested change.

" }, "ChangeName":{ "shape":"ChangeName", "documentation":"

Optional name for the change.

" } }, "documentation":"

An object that contains the ChangeType, Details, and Entity.

" }, "ChangeName":{ "type":"string", "max":72, "min":1, "pattern":"^[a-zA-Z]$" }, "ChangeSetDescription":{ "type":"list", "member":{"shape":"ChangeSummary"} }, "ChangeSetName":{ "type":"string", "max":100, "min":1, "pattern":"^[\\w\\s+=.:@-]+$" }, "ChangeSetSummaryList":{ "type":"list", "member":{"shape":"ChangeSetSummaryListItem"} }, "ChangeSetSummaryListItem":{ "type":"structure", "members":{ "ChangeSetId":{ "shape":"ResourceId", "documentation":"

The unique identifier for a change set.

" }, "ChangeSetArn":{ "shape":"ARN", "documentation":"

The ARN associated with the unique identifier for the change set referenced in this request.

" }, "ChangeSetName":{ "shape":"ChangeSetName", "documentation":"

The non-unique name for the change set.

" }, "StartTime":{ "shape":"DateTimeISO8601", "documentation":"

The time, in ISO 8601 format (2018-02-27T13:45:22Z), when the change set was started.

" }, "EndTime":{ "shape":"DateTimeISO8601", "documentation":"

The time, in ISO 8601 format (2018-02-27T13:45:22Z), when the change set was finished.

" }, "Status":{ "shape":"ChangeStatus", "documentation":"

The current status of the change set.

" }, "EntityIdList":{ "shape":"ResourceIdList", "documentation":"

This object is a list of entity IDs (string) that are a part of a change set. The entity ID list is a maximum of 20 entities. It must contain at least one entity.

" }, "FailureCode":{ "shape":"FailureCode", "documentation":"

Returned if the change set is in FAILED status. Can be either CLIENT_ERROR, which means that there are issues with the request (see the ErrorDetailList of DescribeChangeSet), or SERVER_FAULT, which means that there is a problem in the system, and you should retry your request.

" } }, "documentation":"

A summary of a change set returned in a list of change sets when the ListChangeSets action is called.

" }, "ChangeStatus":{ "type":"string", "enum":[ "PREPARING", "APPLYING", "SUCCEEDED", "CANCELLED", "FAILED" ] }, "ChangeSummary":{ "type":"structure", "members":{ "ChangeType":{ "shape":"ChangeType", "documentation":"

The type of the change.

" }, "Entity":{ "shape":"Entity", "documentation":"

The entity to be changed.

" }, "Details":{ "shape":"Json", "documentation":"

This object contains details specific to the change type of the requested change.

" }, "ErrorDetailList":{ "shape":"ErrorDetailList", "documentation":"

An array of ErrorDetail objects associated with the change.

" }, "ChangeName":{ "shape":"ChangeName", "documentation":"

Optional name for the change.

" } }, "documentation":"

This object is a container for common summary information about the change. The summary doesn't contain the whole change structure.

" }, "ChangeType":{ "type":"string", "max":255, "min":1, "pattern":"^[A-Z][\\w]*$" }, "ClientRequestToken":{ "type":"string", "max":36, "min":1, "pattern":"^[\\w\\-]+$" }, "DateTimeISO8601":{ "type":"string", "max":20, "min":20, "pattern":"^([\\d]{4})\\-(1[0-2]|0[1-9])\\-(3[01]|0[1-9]|[12][\\d])T(2[0-3]|[01][\\d]):([0-5][\\d]):([0-5][\\d])Z$" }, "DescribeChangeSetRequest":{ "type":"structure", "required":[ "Catalog", "ChangeSetId" ], "members":{ "Catalog":{ "shape":"Catalog", "documentation":"

Required. The catalog related to the request. Fixed value: AWSMarketplace

", "location":"querystring", "locationName":"catalog" }, "ChangeSetId":{ "shape":"ResourceId", "documentation":"

Required. The unique identifier for the StartChangeSet request that you want to describe the details for.

", "location":"querystring", "locationName":"changeSetId" } } }, "DescribeChangeSetResponse":{ "type":"structure", "members":{ "ChangeSetId":{ "shape":"ResourceId", "documentation":"

Required. The unique identifier for the change set referenced in this request.

" }, "ChangeSetArn":{ "shape":"ARN", "documentation":"

The ARN associated with the unique identifier for the change set referenced in this request.

" }, "ChangeSetName":{ "shape":"ChangeSetName", "documentation":"

The optional name provided in the StartChangeSet request. If you do not provide a name, one is set by default.

" }, "StartTime":{ "shape":"DateTimeISO8601", "documentation":"

The date and time, in ISO 8601 format (2018-02-27T13:45:22Z), the request started.

" }, "EndTime":{ "shape":"DateTimeISO8601", "documentation":"

The date and time, in ISO 8601 format (2018-02-27T13:45:22Z), the request transitioned to a terminal state. The change cannot transition to a different state. Null if the request is not in a terminal state.

" }, "Status":{ "shape":"ChangeStatus", "documentation":"

The status of the change request.

" }, "FailureCode":{ "shape":"FailureCode", "documentation":"

Returned if the change set is in FAILED status. Can be either CLIENT_ERROR, which means that there are issues with the request (see the ErrorDetailList), or SERVER_FAULT, which means that there is a problem in the system, and you should retry your request.

" }, "FailureDescription":{ "shape":"ExceptionMessageContent", "documentation":"

Returned if there is a failure on the change set, but that failure is not related to any of the changes in the request.

" }, "ChangeSet":{ "shape":"ChangeSetDescription", "documentation":"

An array of ChangeSummary objects.

" } } }, "DescribeEntityRequest":{ "type":"structure", "required":[ "Catalog", "EntityId" ], "members":{ "Catalog":{ "shape":"Catalog", "documentation":"

Required. The catalog related to the request. Fixed value: AWSMarketplace

", "location":"querystring", "locationName":"catalog" }, "EntityId":{ "shape":"ResourceId", "documentation":"

Required. The unique ID of the entity to describe.

", "location":"querystring", "locationName":"entityId" } } }, "DescribeEntityResponse":{ "type":"structure", "members":{ "EntityType":{ "shape":"EntityType", "documentation":"

The named type of the entity, in the format of EntityType@Version.

" }, "EntityIdentifier":{ "shape":"Identifier", "documentation":"

The identifier of the entity, in the format of EntityId@RevisionId.

" }, "EntityArn":{ "shape":"ARN", "documentation":"

The ARN associated to the unique identifier for the change set referenced in this request.

" }, "LastModifiedDate":{ "shape":"DateTimeISO8601", "documentation":"

The last modified date of the entity, in ISO 8601 format (2018-02-27T13:45:22Z).

" }, "Details":{ "shape":"Json", "documentation":"

This stringified JSON object includes the details of the entity.

" } } }, "Entity":{ "type":"structure", "required":["Type"], "members":{ "Type":{ "shape":"EntityType", "documentation":"

The type of entity.

" }, "Identifier":{ "shape":"Identifier", "documentation":"

The identifier for the entity.

" } }, "documentation":"

An entity contains data that describes your product, its supported features, and how it can be used or launched by your customer.

" }, "EntityNameString":{ "type":"string", "max":255, "min":1, "pattern":"^\\\\S+[\\\\S\\\\s]*" }, "EntitySummary":{ "type":"structure", "members":{ "Name":{ "shape":"EntityNameString", "documentation":"

The name for the entity. This value is not unique. It is defined by the seller.

" }, "EntityType":{ "shape":"EntityType", "documentation":"

The type of the entity.

" }, "EntityId":{ "shape":"ResourceId", "documentation":"

The unique identifier for the entity.

" }, "EntityArn":{ "shape":"ARN", "documentation":"

The ARN associated with the unique identifier for the entity.

" }, "LastModifiedDate":{ "shape":"DateTimeISO8601", "documentation":"

The last time the entity was published, using ISO 8601 format (2018-02-27T13:45:22Z).

" }, "Visibility":{ "shape":"VisibilityValue", "documentation":"

The visibility status of the entity to buyers. This value can be Public (everyone can view the entity), Limited (the entity is visible to limited accounts only), or Restricted (the entity was published and then unpublished and only existing buyers can view it).

" } }, "documentation":"

This object is a container for common summary information about the entity. The summary doesn't contain the whole entity structure, but it does contain information common across all entities.

" }, "EntitySummaryList":{ "type":"list", "member":{"shape":"EntitySummary"} }, "EntityType":{ "type":"string", "max":255, "min":1, "pattern":"^[a-zA-Z]+$" }, "ErrorCodeString":{ "type":"string", "max":72, "min":1, "pattern":"^[a-zA-Z_]+$" }, "ErrorDetail":{ "type":"structure", "members":{ "ErrorCode":{ "shape":"ErrorCodeString", "documentation":"

The error code that identifies the type of error.

" }, "ErrorMessage":{ "shape":"ExceptionMessageContent", "documentation":"

The message for the error.

" } }, "documentation":"

Details about the error.

" }, "ErrorDetailList":{ "type":"list", "member":{"shape":"ErrorDetail"} }, "ExceptionMessageContent":{ "type":"string", "max":2048, "min":1, "pattern":"^(.)+$" }, "FailureCode":{ "type":"string", "enum":[ "CLIENT_ERROR", "SERVER_FAULT" ] }, "Filter":{ "type":"structure", "members":{ "Name":{ "shape":"FilterName", "documentation":"

For ListEntities, the supported value for this is an EntityId.

For ListChangeSets, the supported values are as follows:

" }, "ValueList":{ "shape":"ValueList", "documentation":"

ListEntities - This is a list of unique EntityIds.

ListChangeSets - The supported filter names and associated ValueLists is as follows:

" } }, "documentation":"

A filter object, used to optionally filter results from calls to the ListEntities and ListChangeSets actions.

" }, "FilterList":{ "type":"list", "member":{"shape":"Filter"}, "max":8, "min":1 }, "FilterName":{ "type":"string", "max":255, "min":1, "pattern":"^[a-zA-Z]+$" }, "FilterValueContent":{ "type":"string", "max":255, "min":1, "pattern":"^(.)+$" }, "Identifier":{ "type":"string", "max":255, "min":1, "pattern":"^[\\w\\-@]+$" }, "InternalServiceException":{ "type":"structure", "members":{ "Message":{"shape":"ExceptionMessageContent"} }, "documentation":"

There was an internal service exception.

", "error":{"httpStatusCode":500}, "exception":true, "synthetic":true }, "Json":{ "type":"string", "max":16384, "min":2, "pattern":"^[\\s]*\\{[\\s\\S]*\\}[\\s]*$" }, "ListChangeSetsRequest":{ "type":"structure", "required":["Catalog"], "members":{ "Catalog":{ "shape":"Catalog", "documentation":"

The catalog related to the request. Fixed value: AWSMarketplace

" }, "FilterList":{ "shape":"FilterList", "documentation":"

An array of filter objects.

" }, "Sort":{ "shape":"Sort", "documentation":"

An object that contains two attributes, SortBy and SortOrder.

" }, "MaxResults":{ "shape":"MaxResultInteger", "documentation":"

The maximum number of results returned by a single call. This value must be provided in the next call to retrieve the next set of results. By default, this value is 20.

" }, "NextToken":{ "shape":"NextToken", "documentation":"

The token value retrieved from a previous call to access the next page of results.

" } } }, "ListChangeSetsResponse":{ "type":"structure", "members":{ "ChangeSetSummaryList":{ "shape":"ChangeSetSummaryList", "documentation":"

Array of ChangeSetSummaryListItem objects.

" }, "NextToken":{ "shape":"NextToken", "documentation":"

The value of the next token, if it exists. Null if there are no more results.

" } } }, "ListEntitiesRequest":{ "type":"structure", "required":[ "Catalog", "EntityType" ], "members":{ "Catalog":{ "shape":"Catalog", "documentation":"

The catalog related to the request. Fixed value: AWSMarketplace

" }, "EntityType":{ "shape":"EntityType", "documentation":"

The type of entities to retrieve.

" }, "FilterList":{ "shape":"FilterList", "documentation":"

An array of filter objects. Each filter object contains two attributes, filterName and filterValues.

" }, "Sort":{ "shape":"Sort", "documentation":"

An object that contains two attributes, SortBy and SortOrder.

" }, "NextToken":{ "shape":"NextToken", "documentation":"

The value of the next token, if it exists. Null if there are no more results.

" }, "MaxResults":{ "shape":"MaxResultInteger", "documentation":"

Specifies the upper limit of the elements on a single page. If a value isn't provided, the default value is 20.

" } } }, "ListEntitiesResponse":{ "type":"structure", "members":{ "EntitySummaryList":{ "shape":"EntitySummaryList", "documentation":"

Array of EntitySummary object.

" }, "NextToken":{ "shape":"NextToken", "documentation":"

The value of the next token if it exists. Null if there is no more result.

" } } }, "MaxResultInteger":{ "type":"integer", "box":true, "max":20, "min":1 }, "NextToken":{ "type":"string", "max":2048, "min":1, "pattern":"^[\\w+=.:@\\-\\/]$" }, "RequestedChangeList":{ "type":"list", "member":{"shape":"Change"}, "max":20, "min":1 }, "ResourceId":{ "type":"string", "max":255, "min":1, "pattern":"^[\\w\\-]+$" }, "ResourceIdList":{ "type":"list", "member":{"shape":"ResourceId"} }, "ResourceInUseException":{ "type":"structure", "members":{ "Message":{"shape":"ExceptionMessageContent"} }, "documentation":"

The resource is currently in use.

", "error":{"httpStatusCode":423}, "exception":true, "synthetic":true }, "ResourceNotFoundException":{ "type":"structure", "members":{ "Message":{"shape":"ExceptionMessageContent"} }, "documentation":"

The specified resource wasn't found.

", "error":{"httpStatusCode":404}, "exception":true, "synthetic":true }, "ResourceNotSupportedException":{ "type":"structure", "members":{ "Message":{"shape":"ExceptionMessageContent"} }, "documentation":"

Currently, the specified resource is not supported.

", "error":{"httpStatusCode":415}, "exception":true, "synthetic":true }, "ServiceQuotaExceededException":{ "type":"structure", "members":{ "Message":{"shape":"ExceptionMessageContent"} }, "documentation":"

The maximum number of open requests per account has been exceeded.

", "error":{"httpStatusCode":402}, "exception":true, "synthetic":true }, "Sort":{ "type":"structure", "members":{ "SortBy":{ "shape":"SortBy", "documentation":"

For ListEntities, supported attributes include LastModifiedDate (default), Visibility, EntityId, and Name.

For ListChangeSets, supported attributes include StartTime and EndTime.

" }, "SortOrder":{ "shape":"SortOrder", "documentation":"

The sorting order. Can be ASCENDING or DESCENDING. The default value is DESCENDING.

" } }, "documentation":"

An object that contains two attributes, SortBy and SortOrder.

" }, "SortBy":{ "type":"string", "max":255, "min":1, "pattern":"^[a-zA-Z]+$" }, "SortOrder":{ "type":"string", "enum":[ "ASCENDING", "DESCENDING" ] }, "StartChangeSetRequest":{ "type":"structure", "required":[ "Catalog", "ChangeSet" ], "members":{ "Catalog":{ "shape":"Catalog", "documentation":"

The catalog related to the request. Fixed value: AWSMarketplace

" }, "ChangeSet":{ "shape":"RequestedChangeList", "documentation":"

Array of change object.

" }, "ChangeSetName":{ "shape":"ChangeSetName", "documentation":"

Optional case sensitive string of up to 100 ASCII characters. The change set name can be used to filter the list of change sets.

" }, "ClientRequestToken":{ "shape":"ClientRequestToken", "documentation":"

A unique token to identify the request to ensure idempotency.

" } } }, "StartChangeSetResponse":{ "type":"structure", "members":{ "ChangeSetId":{ "shape":"ResourceId", "documentation":"

Unique identifier generated for the request.

" }, "ChangeSetArn":{ "shape":"ARN", "documentation":"

The ARN associated to the unique identifier generated for the request.

" } } }, "ThrottlingException":{ "type":"structure", "members":{ "Message":{"shape":"ExceptionMessageContent"} }, "documentation":"

Too many requests.

", "error":{"httpStatusCode":429}, "exception":true, "synthetic":true }, "ValidationException":{ "type":"structure", "members":{ "Message":{"shape":"ExceptionMessageContent"} }, "documentation":"

An error occurred during validation.

", "error":{"httpStatusCode":422}, "exception":true, "synthetic":true }, "ValueList":{ "type":"list", "member":{"shape":"FilterValueContent"}, "max":10, "min":1 }, "VisibilityValue":{ "type":"string", "max":64, "min":1, "pattern":"^[a-zA-Z]+$" } }, "documentation":"

Catalog API actions allow you to manage your entities through list, describe, and update capabilities. An entity can be a product or an offer on AWS Marketplace.

You can automate your entity update process by integrating the AWS Marketplace Catalog API with your AWS Marketplace product build or deployment pipelines. You can also create your own applications on top of the Catalog API to manage your products on AWS Marketplace.

" }