python-botocore/botocore/data/marketplace-catalog/2018-09-17/service-2.json
2019-11-18 17:46:14 +09:00

769 lines
27 KiB
JSON

{
"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":"<p>Used to cancel an open change request. Must be sent before the status of the request changes to <code>APPLYING</code>, the final stage of completing your change request. You can describe a change during the 60-day request history retention period for API calls.</p>"
},
"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":"<p>Provides information about a given change set.</p>"
},
"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":"<p>Returns the metadata and content of the entity.</p>"
},
"ListChangeSets":{
"name":"ListChangeSets",
"http":{
"method":"POST",
"requestUri":"/ListChangeSets"
},
"input":{"shape":"ListChangeSetsRequest"},
"output":{"shape":"ListChangeSetsResponse"},
"errors":[
{"shape":"InternalServiceException"},
{"shape":"AccessDeniedException"},
{"shape":"ValidationException"},
{"shape":"ThrottlingException"}
],
"documentation":"<p>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 <code>entityId</code>, <code>ChangeSetName</code>, and status. If you provide more than one filter, the API operation applies a logical AND between the filters.</p> <p>You can describe a change during the 60-day request history retention period for API calls.</p>"
},
"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":"<p>Provides the list of entities of a given type.</p>"
},
"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":"<p>This operation allows you to request changes in your entities.</p>"
}
},
"shapes":{
"ARN":{
"type":"string",
"max":2048,
"min":1,
"pattern":"^[a-zA-Z0-9:*/-]+$"
},
"AccessDeniedException":{
"type":"structure",
"members":{
"Message":{"shape":"StringValue"}
},
"documentation":"<p>Access is denied.</p>",
"error":{"httpStatusCode":403},
"exception":true,
"synthetic":true
},
"CancelChangeSetRequest":{
"type":"structure",
"required":[
"Catalog",
"ChangeSetId"
],
"members":{
"Catalog":{
"shape":"Catalog",
"documentation":"<p>Required. The catalog related to the request. Fixed value: <code>AWSMarketplace</code>.</p>",
"location":"querystring",
"locationName":"catalog"
},
"ChangeSetId":{
"shape":"ResourceId",
"documentation":"<p>Required. The unique identifier of the <code>StartChangeSet</code> request that you want to cancel.</p>",
"location":"querystring",
"locationName":"changeSetId"
}
}
},
"CancelChangeSetResponse":{
"type":"structure",
"members":{
"ChangeSetId":{
"shape":"ResourceId",
"documentation":"<p>The unique identifier for the change set referenced in this request.</p>"
},
"ChangeSetArn":{
"shape":"ARN",
"documentation":"<p>The ARN associated with the change set referenced in this request.</p>"
}
}
},
"Catalog":{
"type":"string",
"max":64,
"min":1,
"pattern":"^[a-zA-Z]+$"
},
"Change":{
"type":"structure",
"required":[
"ChangeType",
"Entity",
"Details"
],
"members":{
"ChangeType":{
"shape":"ChangeType",
"documentation":"<p>Change types are single string values that describe your intention for the change. Each change type is unique for each <code>EntityType</code> provided in the change's scope.</p>"
},
"Entity":{
"shape":"Entity",
"documentation":"<p>The entity to be changed.</p>"
},
"Details":{
"shape":"Json",
"documentation":"<p>This object contains details specific to the change type of the requested change.</p>"
}
},
"documentation":"<p>An object that contains the <code>ChangeType</code>, <code>Details</code>, and <code>Entity</code>.</p>"
},
"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":"<p>The unique identifier for a change set.</p>"
},
"ChangeSetArn":{
"shape":"ARN",
"documentation":"<p>The ARN associated with the unique identifier for the change set referenced in this request.</p>"
},
"ChangeSetName":{
"shape":"ChangeSetName",
"documentation":"<p>The non-unique name for the change set.</p>"
},
"StartTime":{
"shape":"DateTimeISO8601",
"documentation":"<p>The time, in ISO 8601 format (2018-02-27T13:45:22Z), when the change set was started.</p>"
},
"EndTime":{
"shape":"DateTimeISO8601",
"documentation":"<p>The time, in ISO 8601 format (2018-02-27T13:45:22Z), when the change set was finished.</p>"
},
"Status":{
"shape":"ChangeStatus",
"documentation":"<p>The current status of the change set.</p>"
},
"EntityIdList":{
"shape":"ResourceIdList",
"documentation":"<p>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.</p>"
}
},
"documentation":"<p>A summary of a change set returned in a list of change sets when the <code>ListChangeSets</code> action is called.</p>"
},
"ChangeStatus":{
"type":"string",
"enum":[
"PREPARING",
"APPLYING",
"SUCCEEDED",
"CANCELLED",
"FAILED"
]
},
"ChangeSummary":{
"type":"structure",
"members":{
"ChangeType":{
"shape":"ChangeType",
"documentation":"<p>The type of the change.</p>"
},
"Entity":{
"shape":"Entity",
"documentation":"<p>The entity to be changed.</p>"
},
"ErrorDetailList":{
"shape":"ErrorDetailList",
"documentation":"<p>An array of <code>ErrorDetail</code> objects associated with the change.</p>"
}
},
"documentation":"<p>This object is a container for common summary information about the change. The summary doesn't contain the whole change structure.</p>"
},
"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":"<p>Required. The catalog related to the request. Fixed value: <code>AWSMarketplace</code> </p>",
"location":"querystring",
"locationName":"catalog"
},
"ChangeSetId":{
"shape":"ResourceId",
"documentation":"<p>Required. The unique identifier for the <code>StartChangeSet</code> request that you want to describe the details for.</p>",
"location":"querystring",
"locationName":"changeSetId"
}
}
},
"DescribeChangeSetResponse":{
"type":"structure",
"members":{
"ChangeSetId":{
"shape":"ResourceId",
"documentation":"<p>Required. The unique identifier for the change set referenced in this request.</p>"
},
"ChangeSetArn":{
"shape":"ARN",
"documentation":"<p>The ARN associated with the unique identifier for the change set referenced in this request.</p>"
},
"ChangeSetName":{
"shape":"ChangeSetName",
"documentation":"<p>The optional name provided in the <code>StartChangeSet</code> request. If you do not provide a name, one is set by default.</p>"
},
"StartTime":{
"shape":"DateTimeISO8601",
"documentation":"<p>The date and time, in ISO 8601 format (2018-02-27T13:45:22Z), the request started. </p>"
},
"EndTime":{
"shape":"DateTimeISO8601",
"documentation":"<p>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. </p>"
},
"Status":{
"shape":"ChangeStatus",
"documentation":"<p>The status of the change request.</p>"
},
"FailureDescription":{
"shape":"StringValue",
"documentation":"<p>Returned if there is a failure on the change set, but that failure is not related to any of the changes in the request.</p>"
},
"ChangeSet":{
"shape":"ChangeSetDescription",
"documentation":"<p>An array of <code>ChangeSummary</code> objects.</p>"
}
}
},
"DescribeEntityRequest":{
"type":"structure",
"required":[
"Catalog",
"EntityId"
],
"members":{
"Catalog":{
"shape":"Catalog",
"documentation":"<p>Required. The catalog related to the request. Fixed value: <code>AWSMarketplace</code> </p>",
"location":"querystring",
"locationName":"catalog"
},
"EntityId":{
"shape":"ResourceId",
"documentation":"<p>Required. The unique ID of the entity to describe.</p>",
"location":"querystring",
"locationName":"entityId"
}
}
},
"DescribeEntityResponse":{
"type":"structure",
"members":{
"EntityType":{
"shape":"EntityType",
"documentation":"<p>The named type of the entity, in the format of <code>EntityType@Version</code>.</p>"
},
"EntityIdentifier":{
"shape":"Identifier",
"documentation":"<p>The identifier of the entity, in the format of <code>EntityId@RevisionId</code>.</p>"
},
"EntityArn":{
"shape":"ARN",
"documentation":"<p>The ARN associated to the unique identifier for the change set referenced in this request.</p>"
},
"LastModifiedDate":{
"shape":"StringValue",
"documentation":"<p>The last modified date of the entity, in ISO 8601 format (2018-02-27T13:45:22Z).</p>"
},
"Details":{
"shape":"Json",
"documentation":"<p>This stringified JSON object includes the details of the entity.</p>"
}
}
},
"Entity":{
"type":"structure",
"required":["Type"],
"members":{
"Type":{
"shape":"EntityType",
"documentation":"<p>The type of entity.</p>"
},
"Identifier":{
"shape":"Identifier",
"documentation":"<p>The identifier for the entity.</p>"
}
},
"documentation":"<p>A product entity contains data that describes your product, its supported features, and how it can be used or launched by your customer. </p>"
},
"EntitySummary":{
"type":"structure",
"members":{
"Name":{
"shape":"StringValue",
"documentation":"<p>The name for the entity. This value is not unique. It is defined by the provider.</p>"
},
"EntityType":{
"shape":"EntityType",
"documentation":"<p>The type of the entity.</p>"
},
"EntityId":{
"shape":"ResourceId",
"documentation":"<p>The unique identifier for the entity.</p>"
},
"EntityArn":{
"shape":"ARN",
"documentation":"<p>The ARN associated with the unique identifier for the entity.</p>"
},
"LastModifiedDate":{
"shape":"StringValue",
"documentation":"<p>The last time the entity was published, using ISO 8601 format (2018-02-27T13:45:22Z).</p>"
},
"Visibility":{
"shape":"StringValue",
"documentation":"<p>The visibility status of the entity to subscribers. This value can be <code>Public</code> (everyone can view the entity), <code>Limited</code> (the entity is visible to limited accounts only), or <code>Restricted</code> (the entity was published and then unpublished and only existing subscribers can view it). </p>"
}
},
"documentation":"<p>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.</p>"
},
"EntitySummaryList":{
"type":"list",
"member":{"shape":"EntitySummary"}
},
"EntityType":{
"type":"string",
"max":255,
"min":1,
"pattern":"^[a-zA-Z]+$"
},
"ErrorDetail":{
"type":"structure",
"members":{
"ErrorCode":{
"shape":"StringValue",
"documentation":"<p>The error code that identifies the type of error.</p>"
},
"ErrorMessage":{
"shape":"StringValue",
"documentation":"<p>The message for the error.</p>"
}
},
"documentation":"<p>Details about the error.</p>"
},
"ErrorDetailList":{
"type":"list",
"member":{"shape":"ErrorDetail"}
},
"Filter":{
"type":"structure",
"members":{
"Name":{
"shape":"FilterName",
"documentation":"<p>For <code>ListEntities</code>, the supported value for this is an <code>EntityId</code>.</p> <p>For <code>ListChangeSets</code>, the supported values are as follows:</p>"
},
"ValueList":{
"shape":"ValueList",
"documentation":"<p> <code>ListEntities</code> - This is a list of unique <code>EntityId</code>s.</p> <p> <code>ListChangeSets</code> - The supported filter names and associated <code>ValueList</code>s is as follows:</p> <ul> <li> <p> <code>ChangeSetName</code> - The supported <code>ValueList</code> is a list of non-unique <code>ChangeSetName</code>s. These are defined when you call the <code>StartChangeSet</code> action.</p> </li> <li> <p> <code>Status</code> - The supported <code>ValueList</code> is a list of statuses for all change set requests.</p> </li> <li> <p> <code>EntityId</code> - The supported <code>ValueList</code> is a list of unique <code>EntityId</code>s.</p> </li> <li> <p> <code>BeforeStartTime</code> - The supported <code>ValueList</code> is a list of all change sets that started before the filter value.</p> </li> <li> <p> <code>AfterStartTime</code> - The supported <code>ValueList</code> is a list of all change sets that started after the filter value.</p> </li> <li> <p> <code>BeforeEndTime</code> - The supported <code>ValueList</code> is a list of all change sets that ended before the filter value.</p> </li> <li> <p> <code>AfterEndTime</code> - The supported <code>ValueList</code> is a list of all change sets that ended after the filter value.</p> </li> </ul>"
}
},
"documentation":"<p>A filter object, used to optionally filter results from calls to the <code>ListEntities</code> and <code>ListChangeSets</code> actions.</p>"
},
"FilterList":{
"type":"list",
"member":{"shape":"Filter"},
"max":8,
"min":1
},
"FilterName":{
"type":"string",
"max":255,
"min":1,
"pattern":"^[a-zA-Z]+$"
},
"Identifier":{
"type":"string",
"max":255,
"min":1,
"pattern":"^[\\w\\-@]+$"
},
"InternalServiceException":{
"type":"structure",
"members":{
"Message":{"shape":"StringValue"}
},
"documentation":"<p>There was an internal service exception.</p>",
"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":"<p>The catalog related to the request. Fixed value: <code>AWSMarketplace</code> </p>"
},
"FilterList":{
"shape":"FilterList",
"documentation":"<p>An array of filter objects.</p>"
},
"Sort":{
"shape":"Sort",
"documentation":"<p>An object that contains two attributes, <code>sortBy</code> and <code>sortOrder</code>.</p>"
},
"MaxResults":{
"shape":"MaxResultInteger",
"documentation":"<p>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.</p>"
},
"NextToken":{
"shape":"NextToken",
"documentation":"<p>The token value retrieved from a previous call to access the next page of results.</p>"
}
}
},
"ListChangeSetsResponse":{
"type":"structure",
"members":{
"ChangeSetSummaryList":{
"shape":"ChangeSetSummaryList",
"documentation":"<p> Array of <code>ChangeSetSummaryListItem</code> objects.</p>"
},
"NextToken":{
"shape":"NextToken",
"documentation":"<p>The value of the next token, if it exists. Null if there are no more results.</p>"
}
}
},
"ListEntitiesRequest":{
"type":"structure",
"required":[
"Catalog",
"EntityType"
],
"members":{
"Catalog":{
"shape":"Catalog",
"documentation":"<p>The catalog related to the request. Fixed value: <code>AWSMarketplace</code> </p>"
},
"EntityType":{
"shape":"EntityType",
"documentation":"<p>The type of entities to retrieve.</p>"
},
"FilterList":{
"shape":"FilterList",
"documentation":"<p>An array of filter objects. Each filter object contains two attributes, <code>filterName</code> and <code>filterValues</code>.</p>"
},
"Sort":{
"shape":"Sort",
"documentation":"<p>An object that contains two attributes, <code>sortBy</code> and <code>sortOrder</code>.</p>"
},
"NextToken":{
"shape":"NextToken",
"documentation":"<p>The value of the next token, if it exists. Null if there are no more results.</p>"
},
"MaxResults":{
"shape":"MaxResultInteger",
"documentation":"<p>Specifies the upper limit of the elements on a single page. If a value isn't provided, the default value is 20.</p>"
}
}
},
"ListEntitiesResponse":{
"type":"structure",
"members":{
"EntitySummaryList":{
"shape":"EntitySummaryList",
"documentation":"<p> Array of <code>EntitySummary</code> object.</p>"
},
"NextToken":{
"shape":"NextToken",
"documentation":"<p>The value of the next token if it exists. Null if there is no more result.</p>"
}
}
},
"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":"StringValue"}
},
"documentation":"<p>The resource is currently in use.</p>",
"error":{"httpStatusCode":423},
"exception":true,
"synthetic":true
},
"ResourceNotFoundException":{
"type":"structure",
"members":{
"Message":{"shape":"StringValue"}
},
"documentation":"<p>The specified resource wasn't found.</p>",
"error":{"httpStatusCode":404},
"exception":true,
"synthetic":true
},
"ResourceNotSupportedException":{
"type":"structure",
"members":{
"Message":{"shape":"StringValue"}
},
"documentation":"<p>Currently, the specified resource is not supported.</p>",
"error":{"httpStatusCode":415},
"exception":true,
"synthetic":true
},
"ServiceQuotaExceededException":{
"type":"structure",
"members":{
"Message":{"shape":"StringValue"}
},
"documentation":"<p>The maximum number of open requests per account has been exceeded.</p>",
"error":{"httpStatusCode":402},
"exception":true,
"synthetic":true
},
"Sort":{
"type":"structure",
"members":{
"SortBy":{
"shape":"SortBy",
"documentation":"<p>For <code>ListEntities</code>, supported attributes include <code>LastModifiedDate</code> (default), <code>Visibility</code>, <code>EntityId</code>, and <code>Name</code>.</p> <p>For <code>ListChangeSets</code>, supported attributes include <code>StartTime</code> and <code>EndTime</code>.</p>"
},
"SortOrder":{
"shape":"SortOrder",
"documentation":"<p>The sorting order. Can be <code>ASCENDING</code> or <code>DESCENDING</code>. The default value is <code>DESCENDING</code>.</p>"
}
},
"documentation":"<p>An object that contains two attributes, <code>sortBy</code> and <code>sortOrder</code>.</p>"
},
"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":"<p>The catalog related to the request. Fixed value: <code>AWSMarketplace</code> </p>"
},
"ChangeSet":{
"shape":"RequestedChangeList",
"documentation":"<p>Array of <code>change</code> object.</p>"
},
"ChangeSetName":{
"shape":"ChangeSetName",
"documentation":"<p>Optional case sensitive string of up to 100 ASCII characters. The change set name can be used to filter the list of change sets. </p>"
},
"ClientRequestToken":{
"shape":"ClientRequestToken",
"documentation":"<p>A unique token to identify the request to ensure idempotency.</p>"
}
}
},
"StartChangeSetResponse":{
"type":"structure",
"members":{
"ChangeSetId":{
"shape":"ResourceId",
"documentation":"<p>Unique identifier generated for the request.</p>"
},
"ChangeSetArn":{
"shape":"ARN",
"documentation":"<p>The ARN associated to the unique identifier generated for the request.</p>"
}
}
},
"StringValue":{"type":"string"},
"ThrottlingException":{
"type":"structure",
"members":{
"Message":{"shape":"StringValue"}
},
"documentation":"<p>Too many requests.</p>",
"error":{"httpStatusCode":429},
"exception":true,
"synthetic":true
},
"ValidationException":{
"type":"structure",
"members":{
"Message":{"shape":"StringValue"}
},
"documentation":"<p>An error occurred during validation.</p>",
"error":{"httpStatusCode":422},
"exception":true,
"synthetic":true
},
"ValueList":{
"type":"list",
"member":{"shape":"StringValue"},
"max":10,
"min":1
}
},
"documentation":"<p>Catalog API actions allow you to create, describe, list, and delete changes to your published entities. An entity is a product or an offer on AWS Marketplace.</p> <p>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.</p>"
}