diff --git a/PKG-INFO b/PKG-INFO index ca8a9bf4..94256cb6 100644 --- a/PKG-INFO +++ b/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: botocore -Version: 1.5.80 +Version: 1.5.84 Summary: Low-level, data-driven core of boto 3. Home-page: https://github.com/boto/botocore Author: Amazon Web Services diff --git a/botocore.egg-info/PKG-INFO b/botocore.egg-info/PKG-INFO index ca8a9bf4..94256cb6 100644 --- a/botocore.egg-info/PKG-INFO +++ b/botocore.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: botocore -Version: 1.5.80 +Version: 1.5.84 Summary: Low-level, data-driven core of boto 3. Home-page: https://github.com/boto/botocore Author: Amazon Web Services diff --git a/botocore.egg-info/requires.txt b/botocore.egg-info/requires.txt index 20cc9ba4..51ae220e 100644 --- a/botocore.egg-info/requires.txt +++ b/botocore.egg-info/requires.txt @@ -1,5 +1,5 @@ -jmespath>=0.7.1,<1.0.0 -python-dateutil>=2.1,<3.0.0 +jmespath<1.0.0,>=0.7.1 +python-dateutil<3.0.0,>=2.1 docutils>=0.10 [:python_version=="2.6"] diff --git a/botocore/__init__.py b/botocore/__init__.py index d07d01c9..29db9911 100644 --- a/botocore/__init__.py +++ b/botocore/__init__.py @@ -16,7 +16,7 @@ import os import re import logging -__version__ = '1.5.80' +__version__ = '1.5.84' class NullHandler(logging.Handler): diff --git a/botocore/data/apigateway/2015-07-09/service-2.json b/botocore/data/apigateway/2015-07-09/service-2.json index 7f87fcef..682169fc 100644 --- a/botocore/data/apigateway/2015-07-09/service-2.json +++ b/botocore/data/apigateway/2015-07-09/service-2.json @@ -392,6 +392,23 @@ ], "documentation":"

Deletes the DomainName resource.

" }, + "DeleteGatewayResponse":{ + "name":"DeleteGatewayResponse", + "http":{ + "method":"DELETE", + "requestUri":"/restapis/{restapi_id}/gatewayresponses/{response_type}", + "responseCode":202 + }, + "input":{"shape":"DeleteGatewayResponseRequest"}, + "errors":[ + {"shape":"UnauthorizedException"}, + {"shape":"NotFoundException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"BadRequestException"}, + {"shape":"ConflictException"} + ], + "documentation":"

Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.

" + }, "DeleteIntegration":{ "name":"DeleteIntegration", "http":{ @@ -892,10 +909,42 @@ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"BadRequestException"}, + {"shape":"ConflictException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Exports a deployed version of a RestApi in a specified format.

" }, + "GetGatewayResponse":{ + "name":"GetGatewayResponse", + "http":{ + "method":"GET", + "requestUri":"/restapis/{restapi_id}/gatewayresponses/{response_type}" + }, + "input":{"shape":"GetGatewayResponseRequest"}, + "output":{"shape":"GatewayResponse"}, + "errors":[ + {"shape":"UnauthorizedException"}, + {"shape":"NotFoundException"}, + {"shape":"TooManyRequestsException"} + ], + "documentation":"

Gets a GatewayResponse of a specified response type on the given RestApi.

" + }, + "GetGatewayResponses":{ + "name":"GetGatewayResponses", + "http":{ + "method":"GET", + "requestUri":"/restapis/{restapi_id}/gatewayresponses" + }, + "input":{"shape":"GetGatewayResponsesRequest"}, + "output":{"shape":"GatewayResponses"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"UnauthorizedException"}, + {"shape":"NotFoundException"}, + {"shape":"TooManyRequestsException"} + ], + "documentation":"

Gets the GatewayResponses collection on the given RestApi. If an API developer has not added any definitions for gateway responses, the result will be the Amazon API Gateway-generated default GatewayResponses collection for the supported response types.

" + }, "GetIntegration":{ "name":"GetIntegration", "http":{ @@ -1108,6 +1157,7 @@ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"BadRequestException"}, + {"shape":"ConflictException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Generates a client SDK for a RestApi and Stage.

" @@ -1304,6 +1354,24 @@ ], "documentation":"

A feature of the Amazon API Gateway control service for creating a new API from an external API definition file.

" }, + "PutGatewayResponse":{ + "name":"PutGatewayResponse", + "http":{ + "method":"PUT", + "requestUri":"/restapis/{restapi_id}/gatewayresponses/{response_type}", + "responseCode":201 + }, + "input":{"shape":"PutGatewayResponseRequest"}, + "output":{"shape":"GatewayResponse"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"UnauthorizedException"}, + {"shape":"NotFoundException"}, + {"shape":"LimitExceededException"}, + {"shape":"TooManyRequestsException"} + ], + "documentation":"

Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.

" + }, "PutIntegration":{ "name":"PutIntegration", "http":{ @@ -1320,7 +1388,7 @@ {"shape":"NotFoundException"}, {"shape":"TooManyRequestsException"} ], - "documentation":"

Represents a put integration.

" + "documentation":"

Sets up a method's integration.

" }, "PutIntegrationResponse":{ "name":"PutIntegrationResponse", @@ -1578,6 +1646,22 @@ ], "documentation":"

Changes information about the DomainName resource.

" }, + "UpdateGatewayResponse":{ + "name":"UpdateGatewayResponse", + "http":{ + "method":"PATCH", + "requestUri":"/restapis/{restapi_id}/gatewayresponses/{response_type}" + }, + "input":{"shape":"UpdateGatewayResponseRequest"}, + "output":{"shape":"GatewayResponse"}, + "errors":[ + {"shape":"UnauthorizedException"}, + {"shape":"NotFoundException"}, + {"shape":"BadRequestException"}, + {"shape":"TooManyRequestsException"} + ], + "documentation":"

Updates a GatewayResponse of a specified response type on the given RestApi.

" + }, "UpdateIntegration":{ "name":"UpdateIntegration", "http":{ @@ -1746,7 +1830,7 @@ {"shape":"BadRequestException"}, {"shape":"NotFoundException"} ], - "documentation":"

Grants a temporary extension to the reamining quota of a usage plan associated with a specified API key.

" + "documentation":"

Grants a temporary extension to the remaining quota of a usage plan associated with a specified API key.

" }, "UpdateUsagePlan":{ "name":"UpdateUsagePlan", @@ -1855,7 +1939,7 @@ "position":{"shape":"String"}, "items":{ "shape":"ListOfApiKey", - "documentation":"

The current page of any ApiKey resources in the collection of ApiKey resources.

", + "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, @@ -1939,7 +2023,7 @@ "position":{"shape":"String"}, "items":{ "shape":"ListOfAuthorizer", - "documentation":"

Gets the current list of Authorizer resources in the collection.

", + "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, @@ -1962,11 +2046,11 @@ }, "restApiId":{ "shape":"String", - "documentation":"

The name of the API.

" + "documentation":"

The string identifier of the associated RestApi.

" }, "stage":{ "shape":"String", - "documentation":"

The name of the API's stage.

" + "documentation":"

The name of the associated stage.

" } }, "documentation":"

Represents the base path that callers of the API must provide as part of the URL after the domain name.

A custom domain name plus a BasePathMapping specification identifies a deployed RestApi in a given stage of the owner Account.
Use Custom Domain Names
" @@ -1977,7 +2061,7 @@ "position":{"shape":"String"}, "items":{ "shape":"ListOfBasePathMapping", - "documentation":"

The current page of any BasePathMapping resources in the collection of base path mapping resources.

", + "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, @@ -2042,7 +2126,7 @@ "position":{"shape":"String"}, "items":{ "shape":"ListOfClientCertificate", - "documentation":"

The current page of any ClientCertificate resources in the collection of ClientCertificate resources.

", + "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, @@ -2108,7 +2192,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The RestApi identifier under which the Authorizer will be created.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -2170,7 +2254,7 @@ }, "restApiId":{ "shape":"String", - "documentation":"

The name of the API that you want to apply this mapping to.

" + "documentation":"

The string identifier of the associated RestApi.

" }, "stage":{ "shape":"String", @@ -2185,7 +2269,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The RestApi resource identifier for the Deployment resource to create.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -2226,7 +2310,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

[Required] The identifier of an API of the to-be-created documentation part.

", + "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -2250,7 +2334,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

[Required] Specifies the API identifier of the to-be-created documentation version.

", + "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -2339,7 +2423,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

[Required] The identifier of the RestApi for which the RequestValidator is created.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -2368,7 +2452,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The identifier of the RestApi for the resource.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -2422,7 +2506,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The identifier of the RestApi resource for the Stage resource to create.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -2531,7 +2615,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The RestApi identifier for the Authorizer resource.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -2588,7 +2672,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The identifier of the RestApi resource for the Deployment resource to delete.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -2610,7 +2694,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

[Required] Specifies the identifier of an API of the to-be-deleted documentation part.

", + "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -2632,7 +2716,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

[Required] The identifier of an API of a to-be-deleted documentation snapshot.

", + "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -2658,6 +2742,28 @@ }, "documentation":"

A request to delete the DomainName resource.

" }, + "DeleteGatewayResponseRequest":{ + "type":"structure", + "required":[ + "restApiId", + "responseType" + ], + "members":{ + "restApiId":{ + "shape":"String", + "documentation":"

The string identifier of the associated RestApi.

", + "location":"uri", + "locationName":"restapi_id" + }, + "responseType":{ + "shape":"GatewayResponseType", + "documentation":"

The response type of the associated GatewayResponse. Valid values are

", + "location":"uri", + "locationName":"response_type" + } + }, + "documentation":"

Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.

" + }, "DeleteIntegrationRequest":{ "type":"structure", "required":[ @@ -2668,7 +2774,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

Specifies a delete integration request's API identifier.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -2698,7 +2804,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

Specifies a delete integration response request's API identifier.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -2733,7 +2839,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The RestApi identifier for the Method resource.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -2763,7 +2869,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The RestApi identifier for the MethodResponse resource.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -2797,7 +2903,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The RestApi under which the model will be deleted.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -2819,7 +2925,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

[Required] The identifier of the RestApi from which the given RequestValidator is deleted.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -2841,7 +2947,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The RestApi identifier for the Resource resource.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -2860,7 +2966,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The ID of the RestApi you want to delete.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" } @@ -2876,7 +2982,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The identifier of the RestApi resource for the Stage resource to delete.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -2922,7 +3028,7 @@ "locationName":"usageplanId" } }, - "documentation":"

The DELETE request to delete a uasge plan of a given plan Id.

" + "documentation":"

The DELETE request to delete a usage plan of a given plan Id.

" }, "Deployment":{ "type":"structure", @@ -2952,7 +3058,7 @@ "position":{"shape":"String"}, "items":{ "shape":"ListOfDeployment", - "documentation":"

The current page of any Deployment resources in the collection of deployment resources.

", + "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, @@ -3044,7 +3150,7 @@ "position":{"shape":"String"}, "items":{ "shape":"ListOfDocumentationPart", - "documentation":"

The current page of DocumentationPart resources in the DocumentationParts collection.

", + "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, @@ -3074,7 +3180,7 @@ "position":{"shape":"String"}, "items":{ "shape":"ListOfDocumentationVersion", - "documentation":"

The current page of DocumentationVersion items from the DocumentationVersions collection of an API.

", + "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, @@ -3112,7 +3218,7 @@ "position":{"shape":"String"}, "items":{ "shape":"ListOfDomainName", - "documentation":"

The current page of any DomainName resources in the collection of DomainName resources.

", + "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, @@ -3151,7 +3257,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The API identifier of the stage to flush.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -3173,7 +3279,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The API identifier of the stage to flush its cache.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -3186,6 +3292,69 @@ }, "documentation":"

Requests Amazon API Gateway to flush a stage's cache.

" }, + "GatewayResponse":{ + "type":"structure", + "members":{ + "responseType":{ + "shape":"GatewayResponseType", + "documentation":"

The response type of the associated GatewayResponse. Valid values are

" + }, + "statusCode":{ + "shape":"StatusCode", + "documentation":"

The HTTP status code for this GatewayResponse.

" + }, + "responseParameters":{ + "shape":"MapOfStringToString", + "documentation":"

Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.

" + }, + "responseTemplates":{ + "shape":"MapOfStringToString", + "documentation":"

Response templates of the GatewayResponse as a string-to-string map of key-value pairs.

" + }, + "defaultResponse":{ + "shape":"Boolean", + "documentation":"

A Boolean flag to indicate whether this GatewayResponse is the default gateway response (true) or not (false). A default gateway response is one generated by Amazon API Gateway without any customization by an API developer.

" + } + }, + "documentation":"

A gateway response of a given response type and status code, with optional response parameters and mapping templates.

For more information about valid gateway response types, see Gateway Response Types Supported by Amazon API Gateway

Example: Get a Gateway Response of a given response type

Request

This example shows how to get a gateway response of the MISSING_AUTHNETICATION_TOKEN type.

GET /restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN HTTP/1.1 Host: beta-apigateway.us-east-1.amazonaws.com Content-Type: application/json X-Amz-Date: 20170503T202516Z Authorization: AWS4-HMAC-SHA256 Credential={access-key-id}/20170503/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=1b52460e3159c1a26cff29093855d50ea141c1c5b937528fecaf60f51129697a Cache-Control: no-cache Postman-Token: 3b2a1ce9-c848-2e26-2e2f-9c2caefbed45 

The response type is specified as a URL path.

Response

The successful operation returns the 200 OK status code and a payload similar to the following:

{ \"_links\": { \"curies\": { \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-gatewayresponse-{rel}.html\", \"name\": \"gatewayresponse\", \"templated\": true }, \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\" }, \"gatewayresponse:delete\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\" } }, \"defaultResponse\": false, \"responseParameters\": { \"gatewayresponse.header.x-request-path\": \"method.request.path.petId\", \"gatewayresponse.header.Access-Control-Allow-Origin\": \"'a.b.c'\", \"gatewayresponse.header.x-request-query\": \"method.request.querystring.q\", \"gatewayresponse.header.x-request-header\": \"method.request.header.Accept\" }, \"responseTemplates\": { \"application/json\": \"{\\n \\\"message\\\": $context.error.messageString,\\n \\\"type\\\": \\\"$context.error.responseType\\\",\\n \\\"stage\\\": \\\"$context.stage\\\",\\n \\\"resourcePath\\\": \\\"$context.resourcePath\\\",\\n \\\"stageVariables.a\\\": \\\"$stageVariables.a\\\",\\n \\\"statusCode\\\": \\\"'404'\\\"\\n}\" }, \"responseType\": \"MISSING_AUTHENTICATION_TOKEN\", \"statusCode\": \"404\" }

Customize Gateway Responses
" + }, + "GatewayResponseType":{ + "type":"string", + "enum":[ + "DEFAULT_4XX", + "DEFAULT_5XX", + "RESOURCE_NOT_FOUND", + "UNAUTHORIZED", + "INVALID_API_KEY", + "ACCESS_DENIED", + "AUTHORIZER_FAILURE", + "AUTHORIZER_CONFIGURATION_ERROR", + "INVALID_SIGNATURE", + "EXPIRED_TOKEN", + "MISSING_AUTHENTICATION_TOKEN", + "INTEGRATION_FAILURE", + "INTEGRATION_TIMEOUT", + "API_CONFIGURATION_ERROR", + "UNSUPPORTED_MEDIA_TYPE", + "BAD_REQUEST_PARAMETERS", + "BAD_REQUEST_BODY", + "REQUEST_TOO_LARGE", + "THROTTLED", + "QUOTA_EXCEEDED" + ] + }, + "GatewayResponses":{ + "type":"structure", + "members":{ + "position":{"shape":"String"}, + "items":{ + "shape":"ListOfGatewayResponse", + "documentation":"

Returns the entire collection, because of no pagination support.

", + "locationName":"item" + } + }, + "documentation":"

The collection of the GatewayResponse instances of a RestApi as a responseType-to-GatewayResponse object map of key-value pairs. As such, pagination is not supported for querying this collection.

For more information about valid gateway response types, see Gateway Response Types Supported by Amazon API Gateway

Example: Get the collection of gateway responses of an API

Request

This example request shows how to retrieve the GatewayResponses collection from an API.

GET /restapis/o81lxisefl/gatewayresponses HTTP/1.1 Host: beta-apigateway.us-east-1.amazonaws.com Content-Type: application/json X-Amz-Date: 20170503T220604Z Authorization: AWS4-HMAC-SHA256 Credential={access-key-id}/20170503/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=59b42fe54a76a5de8adf2c67baa6d39206f8e9ad49a1d77ccc6a5da3103a398a Cache-Control: no-cache Postman-Token: 5637af27-dc29-fc5c-9dfe-0645d52cb515 

Response

The successful operation returns the 200 OK status code and a payload similar to the following:

{ \"_links\": { \"curies\": { \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-gatewayresponse-{rel}.html\", \"name\": \"gatewayresponse\", \"templated\": true }, \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses\" }, \"first\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses\" }, \"gatewayresponse:by-type\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"item\": [ { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_FAILURE\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/RESOURCE_NOT_FOUND\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/REQUEST_TOO_LARGE\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/THROTTLED\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNSUPPORTED_MEDIA_TYPE\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_CONFIGURATION_ERROR\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_5XX\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_4XX\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_PARAMETERS\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_BODY\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/EXPIRED_TOKEN\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/ACCESS_DENIED\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_API_KEY\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNAUTHORIZED\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/API_CONFIGURATION_ERROR\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/QUOTA_EXCEEDED\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_TIMEOUT\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_SIGNATURE\" }, { \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_FAILURE\" } ] }, \"_embedded\": { \"item\": [ { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_FAILURE\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_FAILURE\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"INTEGRATION_FAILURE\", \"statusCode\": \"504\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/RESOURCE_NOT_FOUND\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/RESOURCE_NOT_FOUND\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"RESOURCE_NOT_FOUND\", \"statusCode\": \"404\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/REQUEST_TOO_LARGE\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/REQUEST_TOO_LARGE\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"REQUEST_TOO_LARGE\", \"statusCode\": \"413\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/THROTTLED\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/THROTTLED\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"THROTTLED\", \"statusCode\": \"429\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNSUPPORTED_MEDIA_TYPE\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNSUPPORTED_MEDIA_TYPE\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"UNSUPPORTED_MEDIA_TYPE\", \"statusCode\": \"415\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_CONFIGURATION_ERROR\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_CONFIGURATION_ERROR\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"AUTHORIZER_CONFIGURATION_ERROR\", \"statusCode\": \"500\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_5XX\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_5XX\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"DEFAULT_5XX\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_4XX\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_4XX\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"DEFAULT_4XX\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_PARAMETERS\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_PARAMETERS\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"BAD_REQUEST_PARAMETERS\", \"statusCode\": \"400\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_BODY\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_BODY\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"BAD_REQUEST_BODY\", \"statusCode\": \"400\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/EXPIRED_TOKEN\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/EXPIRED_TOKEN\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"EXPIRED_TOKEN\", \"statusCode\": \"403\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/ACCESS_DENIED\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/ACCESS_DENIED\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"ACCESS_DENIED\", \"statusCode\": \"403\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_API_KEY\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_API_KEY\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"INVALID_API_KEY\", \"statusCode\": \"403\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNAUTHORIZED\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNAUTHORIZED\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"UNAUTHORIZED\", \"statusCode\": \"401\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/API_CONFIGURATION_ERROR\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/API_CONFIGURATION_ERROR\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"API_CONFIGURATION_ERROR\", \"statusCode\": \"500\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/QUOTA_EXCEEDED\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/QUOTA_EXCEEDED\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"QUOTA_EXCEEDED\", \"statusCode\": \"429\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_TIMEOUT\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_TIMEOUT\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"INTEGRATION_TIMEOUT\", \"statusCode\": \"504\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"MISSING_AUTHENTICATION_TOKEN\", \"statusCode\": \"403\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_SIGNATURE\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_SIGNATURE\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"INVALID_SIGNATURE\", \"statusCode\": \"403\" }, { \"_links\": { \"self\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_FAILURE\" }, \"gatewayresponse:put\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\", \"templated\": true }, \"gatewayresponse:update\": { \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_FAILURE\" } }, \"defaultResponse\": true, \"responseParameters\": {}, \"responseTemplates\": { \"application/json\": \"{\\\"message\\\":$context.error.messageString}\" }, \"responseType\": \"AUTHORIZER_FAILURE\", \"statusCode\": \"500\" } ] } }

Customize Gateway Responses
" + }, "GenerateClientCertificateRequest":{ "type":"structure", "members":{ @@ -3232,7 +3401,7 @@ }, "limit":{ "shape":"NullableInteger", - "documentation":"

The maximum number of ApiKeys to get information about.

", + "documentation":"

The maximum number of returned results per page.

", "location":"querystring", "locationName":"limit" }, @@ -3266,7 +3435,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The RestApi identifier for the Authorizer resource.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -3285,7 +3454,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The RestApi identifier for the Authorizers resource.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -3391,7 +3560,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The identifier of the RestApi resource for the Deployment resource to get information about.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -3416,7 +3585,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The identifier of the RestApi resource for the collection of Deployment resources to get information about.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -3444,13 +3613,13 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

[Required] The identifier of an API of the to-be-retrieved documentation part.

", + "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, "documentationPartId":{ "shape":"String", - "documentation":"

[Required] The identifier of the to-be-retrieved documentation part.

", + "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"part_id" } @@ -3463,7 +3632,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

[Required] The identifier of the API of the to-be-retrieved documentation parts.

", + "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -3509,7 +3678,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

[Required] The identifier of the API of the to-be-retrieved documentation snapshot.

", + "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -3528,7 +3697,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

[Required] The identifier of an API of the to-be-retrieved documentation versions.

", + "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -3588,7 +3757,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The identifier of the RestApi to be exported.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -3618,6 +3787,53 @@ }, "documentation":"

Request a new export of a RestApi for a particular Stage.

" }, + "GetGatewayResponseRequest":{ + "type":"structure", + "required":[ + "restApiId", + "responseType" + ], + "members":{ + "restApiId":{ + "shape":"String", + "documentation":"

The string identifier of the associated RestApi.

", + "location":"uri", + "locationName":"restapi_id" + }, + "responseType":{ + "shape":"GatewayResponseType", + "documentation":"

The response type of the associated GatewayResponse. Valid values are

", + "location":"uri", + "locationName":"response_type" + } + }, + "documentation":"

Gets a GatewayResponse of a specified response type on the given RestApi.

" + }, + "GetGatewayResponsesRequest":{ + "type":"structure", + "required":["restApiId"], + "members":{ + "restApiId":{ + "shape":"String", + "documentation":"

The string identifier of the associated RestApi.

", + "location":"uri", + "locationName":"restapi_id" + }, + "position":{ + "shape":"String", + "documentation":"

The current pagination position in the paged result set. The GatewayResponse collection does not support pagination and the position does not apply here.

", + "location":"querystring", + "locationName":"position" + }, + "limit":{ + "shape":"NullableInteger", + "documentation":"

The maximum number of returned results per page. The GatewayResponses collection does not support pagination and the limit does not apply here.

", + "location":"querystring", + "locationName":"limit" + } + }, + "documentation":"

Gets the GatewayResponses collection on the given RestApi. If an API developer has not added any definitions for gateway responses, the result will be the Amazon API Gateway-generated default GatewayResponses collection for the supported response types.

" + }, "GetIntegrationRequest":{ "type":"structure", "required":[ @@ -3628,7 +3844,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

Specifies a get integration request's API identifier.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -3658,7 +3874,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

Specifies a get integration response request's API identifier.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -3693,7 +3909,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The RestApi identifier for the Method resource.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -3723,7 +3939,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The RestApi identifier for the MethodResponse resource.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -3785,7 +4001,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The ID of the RestApi under which the model exists.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -3804,7 +4020,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The RestApi identifier.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -3832,7 +4048,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

[Required] The identifier of the RestApi to which the specified RequestValidator belongs.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -3851,7 +4067,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

[Required] The identifier of a RestApi to which the RequestValidators collection belongs.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -3879,7 +4095,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The RestApi identifier for the resource.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -3904,7 +4120,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The RestApi identifier for the Resource.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -3970,7 +4186,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The identifier of the RestApi that the SDK will use.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -4034,7 +4250,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The identifier of the RestApi resource for the Stage resource to get information about.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -4053,7 +4269,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The stages' API identifiers.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -4239,7 +4455,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

[Required] The identifier of an API of the to-be-imported documentation parts.

", + "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -4275,12 +4491,12 @@ }, "parameters":{ "shape":"MapOfStringToString", - "documentation":"

Custom header parameters as part of the request.

", + "documentation":"

Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ignore=documentation as a parameters value, as in the AWS CLI command of aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json.

", "location":"querystring" }, "body":{ "shape":"Blob", - "documentation":"

The POST request body containing external API definitions. Currently, only Swagger definition JSON files are supported.

" + "documentation":"

The POST request body containing external API definitions. Currently, only Swagger definition JSON files are supported. The maximum size of the API definition file is 2MB.

" } }, "documentation":"

A POST request to import an API to Amazon API Gateway using an input of an API definition file.

", @@ -4427,6 +4643,10 @@ "type":"list", "member":{"shape":"DomainName"} }, + "ListOfGatewayResponse":{ + "type":"list", + "member":{"shape":"GatewayResponse"} + }, "ListOfLong":{ "type":"list", "member":{"shape":"Long"} @@ -4691,7 +4911,7 @@ "position":{"shape":"String"}, "items":{ "shape":"ListOfModel", - "documentation":"

Gets the current Model resource in the collection.

", + "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, @@ -4746,6 +4966,40 @@ "value":{"shape":"MapOfMethodSnapshot"} }, "ProviderARN":{"type":"string"}, + "PutGatewayResponseRequest":{ + "type":"structure", + "required":[ + "restApiId", + "responseType" + ], + "members":{ + "restApiId":{ + "shape":"String", + "documentation":"

The string identifier of the associated RestApi.

", + "location":"uri", + "locationName":"restapi_id" + }, + "responseType":{ + "shape":"GatewayResponseType", + "documentation":"

The response type of the associated GatewayResponse. Valid values are

", + "location":"uri", + "locationName":"response_type" + }, + "statusCode":{ + "shape":"StatusCode", + "documentation":"The HTTP status code of the GatewayResponse." + }, + "responseParameters":{ + "shape":"MapOfStringToString", + "documentation":"

Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.

" + }, + "responseTemplates":{ + "shape":"MapOfStringToString", + "documentation":"

Response templates of the GatewayResponse as a string-to-string map of key-value pairs.

" + } + }, + "documentation":"

Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.

" + }, "PutIntegrationRequest":{ "type":"structure", "required":[ @@ -4757,7 +5011,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

Specifies a put integration request's API identifier.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -4784,7 +5038,7 @@ }, "uri":{ "shape":"String", - "documentation":"

Specifies a put integration input's Uniform Resource Identifier (URI). When the integration type is HTTP or AWS, this field is required. For integration with Lambda as an AWS service proxy, this value is of the 'arn:aws:apigateway:<region>:lambda:path/2015-03-31/functions/<functionArn>/invocations' format.

" + "documentation":"

Specifies the integration's Uniform Resource Identifier (URI). For HTTP integrations, the URI must be a fully formed, encoded HTTP(S) URL according to the RFC-3986 specification. For AWS integrations, the URI should be of the form arn:aws:apigateway:{region}:{subdomain.service|service}:{path|action}/{service_api}. Region, subdomain and service are used to determine the right endpoint. For AWS services that use the Action= query string parameter, service_api should be a valid action for the desired service. For RESTful AWS service APIs, path is used to indicate that the remaining substring in the URI should be treated as the path to the resource, including the initial /.

" }, "credentials":{ "shape":"String", @@ -4815,7 +5069,7 @@ "documentation":"

Specifies how to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the passthroughBehaviors is configured to support payload pass-through.

" } }, - "documentation":"

Represents a put integration request.

" + "documentation":"

Sets up a method's integration.

" }, "PutIntegrationResponseRequest":{ "type":"structure", @@ -4828,7 +5082,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

Specifies a put integration response request's API identifier.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -4880,7 +5134,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The RestApi identifier for the new Method resource.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -4938,7 +5192,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The RestApi identifier for the Method resource.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -4987,7 +5241,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The identifier of the RestApi to be updated.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -5005,12 +5259,12 @@ }, "parameters":{ "shape":"MapOfStringToString", - "documentation":"

Custom headers supplied as part of the request.

", + "documentation":"

Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ignore=documentation as a parameters value, as in the AWS CLI command of aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json.

", "location":"querystring" }, "body":{ "shape":"Blob", - "documentation":"

The PUT request body containing external API definitions. Currently, only Swagger definition JSON files are supported.

" + "documentation":"

The PUT request body containing external API definitions. Currently, only Swagger definition JSON files are supported. The maximum size of the API definition file is 2MB.

" } }, "documentation":"

A PUT request to update an existing API, with external API definitions specified as the request body.

", @@ -5070,7 +5324,7 @@ "position":{"shape":"String"}, "items":{ "shape":"ListOfRequestValidator", - "documentation":"

The current page of RequestValidator resources in the RequestValidators collection.

", + "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, @@ -5108,7 +5362,7 @@ "position":{"shape":"String"}, "items":{ "shape":"ListOfResource", - "documentation":"

Gets the current Resource resource in the collection.

", + "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, @@ -5154,7 +5408,7 @@ "position":{"shape":"String"}, "items":{ "shape":"ListOfRestApi", - "documentation":"

An array of links to the current page of RestApi resources.

", + "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, @@ -5237,7 +5491,7 @@ "position":{"shape":"String"}, "items":{ "shape":"ListOfSdkType", - "documentation":"

The set of SdkType items that comprise this view of the SdkTypes collection.

", + "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, @@ -5316,11 +5570,11 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

A list of Stage resources that are associated with the ApiKey resource.

" + "documentation":"

The string identifier of the associated RestApi.

" }, "stageName":{ "shape":"String", - "documentation":"

The stage name in the RestApi that the stage key references.

" + "documentation":"

The stage name associated with the stage key.

" } }, "documentation":"

A reference to a unique stage identified in the format {restApiId}/{stage}.

" @@ -5330,7 +5584,7 @@ "members":{ "item":{ "shape":"ListOfStage", - "documentation":"

An individual Stage resource.

" + "documentation":"

The current page of elements from this collection.

" } }, "documentation":"

A list of Stage resources that are associated with the ApiKey resource.

Deploying API in Stages
" @@ -5360,7 +5614,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

Specifies a test invoke authorizer request's RestApi identifier.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -5434,7 +5688,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

Specifies a test invoke method request's API identifier.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -5579,7 +5833,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The RestApi identifier for the Authorizer resource.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -5648,7 +5902,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The replacement identifier of the RestApi resource for the Deployment resource to change information about.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -5674,7 +5928,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

[Required] The identifier of an API of the to-be-updated documentation part.

", + "documentation":"

[Required] The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -5700,7 +5954,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

[Required] The identifier of an API of the to-be-updated documentation version.

", + "documentation":"

[Required] The string identifier of the associated RestApi..

", "location":"uri", "locationName":"restapi_id" }, @@ -5734,6 +5988,32 @@ }, "documentation":"

A request to change information about the DomainName resource.

" }, + "UpdateGatewayResponseRequest":{ + "type":"structure", + "required":[ + "restApiId", + "responseType" + ], + "members":{ + "restApiId":{ + "shape":"String", + "documentation":"

The string identifier of the associated RestApi.

", + "location":"uri", + "locationName":"restapi_id" + }, + "responseType":{ + "shape":"GatewayResponseType", + "documentation":"

The response type of the associated GatewayResponse. Valid values are

", + "location":"uri", + "locationName":"response_type" + }, + "patchOperations":{ + "shape":"ListOfPatchOperation", + "documentation":"

A list of update operations to be applied to the specified resource and in the order specified in this list.

" + } + }, + "documentation":"

Updates a GatewayResponse of a specified response type on the given RestApi.

" + }, "UpdateIntegrationRequest":{ "type":"structure", "required":[ @@ -5744,7 +6024,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

Represents an update integration request's API identifier.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -5778,7 +6058,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

Specifies an update integration response request's API identifier.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -5817,7 +6097,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The RestApi identifier for the Method resource.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -5851,7 +6131,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The RestApi identifier for the MethodResponse resource.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -5889,7 +6169,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The RestApi identifier under which the model exists.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -5915,7 +6195,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

[Required] The identifier of the RestApi for which the given RequestValidator is updated.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -5941,7 +6221,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The RestApi identifier for the Resource resource.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -5964,7 +6244,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The ID of the RestApi you want to update.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -5984,7 +6264,7 @@ "members":{ "restApiId":{ "shape":"String", - "documentation":"

The identifier of the RestApi resource for the Stage resource to change information about.

", + "documentation":"

The string identifier of the associated RestApi.

", "location":"uri", "locationName":"restapi_id" }, @@ -6042,7 +6322,7 @@ "documentation":"

A list of update operations to be applied to the specified resource and in the order specified in this list.

" } }, - "documentation":"

The PATCH request to grant a temporary extension to the reamining quota of a usage plan associated with a specified API key.

" + "documentation":"

The PATCH request to grant a temporary extension to the remaining quota of a usage plan associated with a specified API key.

" }, "Usage":{ "type":"structure", @@ -6130,7 +6410,7 @@ "position":{"shape":"String"}, "items":{ "shape":"ListOfUsagePlanKey", - "documentation":"

Gets the current item of the usage plan keys collection.

", + "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, @@ -6142,7 +6422,7 @@ "position":{"shape":"String"}, "items":{ "shape":"ListOfUsagePlan", - "documentation":"

Gets the current item when enumerating the collection of UsagePlan.

", + "documentation":"

The current page of elements from this collection.

", "locationName":"item" } }, diff --git a/botocore/data/athena/2017-05-18/paginators-1.json b/botocore/data/athena/2017-05-18/paginators-1.json index ea142457..ce96fb1b 100644 --- a/botocore/data/athena/2017-05-18/paginators-1.json +++ b/botocore/data/athena/2017-05-18/paginators-1.json @@ -1,3 +1,22 @@ { - "pagination": {} + "pagination": { + "ListNamedQueries": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "NamedQueryIds" + }, + "ListQueryExecutions": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "QueryExecutionIds" + }, + "GetQueryResults": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "ResultSet" + } + } } diff --git a/botocore/data/autoscaling/2011-01-01/service-2.json b/botocore/data/autoscaling/2011-01-01/service-2.json index 731a14d4..22fed40f 100644 --- a/botocore/data/autoscaling/2011-01-01/service-2.json +++ b/botocore/data/autoscaling/2011-01-01/service-2.json @@ -108,7 +108,8 @@ "errors":[ {"shape":"LimitExceededFault"}, {"shape":"AlreadyExistsFault"}, - {"shape":"ResourceContentionFault"} + {"shape":"ResourceContentionFault"}, + {"shape":"ResourceInUseFault"} ], "documentation":"

Creates or updates tags for the specified Auto Scaling group.

When you specify a tag with a key that already exists, the operation overwrites the previous tag definition, and you do not get an error message.

For more information, see Tagging Auto Scaling Groups and Instances in the Auto Scaling User Guide.

" }, @@ -199,7 +200,8 @@ }, "input":{"shape":"DeleteTagsType"}, "errors":[ - {"shape":"ResourceContentionFault"} + {"shape":"ResourceContentionFault"}, + {"shape":"ResourceInUseFault"} ], "documentation":"

Deletes the specified tags.

" }, @@ -506,7 +508,7 @@ "errors":[ {"shape":"ResourceContentionFault"} ], - "documentation":"

Removes one or more instances from the specified Auto Scaling group.

After the instances are detached, you can manage them independent of the Auto Scaling group.

If you do not specify the option to decrement the desired capacity, Auto Scaling launches instances to replace the ones that are detached.

If there is a Classic Load Balancer attached to the Auto Scaling group, the instances are deregistered from the load balancer. If there are target groups attached to the Auto Scaling group, the instances are deregistered from the target groups.

For more information, see Detach EC2 Instances from Your Auto Scaling Group in the Auto Scaling User Guide.

" + "documentation":"

Removes one or more instances from the specified Auto Scaling group.

After the instances are detached, you can manage them independently from the rest of the Auto Scaling group.

If you do not specify the option to decrement the desired capacity, Auto Scaling launches instances to replace the ones that are detached.

If there is a Classic Load Balancer attached to the Auto Scaling group, the instances are deregistered from the load balancer. If there are target groups attached to the Auto Scaling group, the instances are deregistered from the target groups.

For more information, see Detach EC2 Instances from Your Auto Scaling Group in the Auto Scaling User Guide.

" }, "DetachLoadBalancerTargetGroups":{ "name":"DetachLoadBalancerTargetGroups", @@ -578,7 +580,7 @@ "errors":[ {"shape":"ResourceContentionFault"} ], - "documentation":"

Moves the specified instances into the standby state.

For more information, see Temporarily Removing Instances from Your Auto Scaling Group in the Auto Scaling User Guide.

" + "documentation":"

Moves the specified instances into Standby mode.

For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide.

" }, "ExecutePolicy":{ "name":"ExecutePolicy", @@ -607,7 +609,7 @@ "errors":[ {"shape":"ResourceContentionFault"} ], - "documentation":"

Moves the specified instances out of the standby state.

For more information, see Temporarily Removing Instances from Your Auto Scaling Group in the Auto Scaling User Guide.

" + "documentation":"

Moves the specified instances out of Standby mode.

For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide.

" }, "PutLifecycleHook":{ "name":"PutLifecycleHook", @@ -782,7 +784,7 @@ {"shape":"ScalingActivityInProgressFault"}, {"shape":"ResourceContentionFault"} ], - "documentation":"

Updates the configuration for the specified Auto Scaling group.

The new settings take effect on any scaling activities after this call returns. Scaling activities that are currently in progress aren't affected.

To update an Auto Scaling group with a launch configuration with InstanceMonitoring set to false, you must first disable the collection of group metrics. Otherwise, you will get an error. If you have previously enabled the collection of group metrics, you can disable it using DisableMetricsCollection.

Note the following:

" + "documentation":"

Updates the configuration for the specified Auto Scaling group.

To update an Auto Scaling group with a launch configuration with InstanceMonitoring set to False, you must first disable the collection of group metrics. Otherwise, you will get an error. If you have previously enabled the collection of group metrics, you can disable it using DisableMetricsCollection.

The new settings are registered upon the completion of this call. Any launch configuration settings take effect on any triggers after this call returns. Scaling activities that are currently in progress aren't affected.

Note the following:

" } }, "shapes":{ @@ -802,7 +804,8 @@ "shape":"XmlString", "documentation":"

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

" } - } + }, + "documentation":"

Contains the output of DescribeScalingActivities.

" }, "Activity":{ "type":"structure", @@ -868,7 +871,8 @@ "shape":"Activity", "documentation":"

A scaling activity.

" } - } + }, + "documentation":"

Contains the output of TerminateInstancesInAutoScalingGroup.

" }, "AdjustmentType":{ "type":"structure", @@ -937,7 +941,8 @@ "shape":"ResourceName", "documentation":"

The name of the group.

" } - } + }, + "documentation":"

Contains the parameters for AttachInstances.

" }, "AttachLoadBalancerTargetGroupsResultType":{ "type":"structure", @@ -959,12 +964,14 @@ "shape":"TargetGroupARNs", "documentation":"

The Amazon Resource Names (ARN) of the target groups.

" } - } + }, + "documentation":"

Contains the parameters for AttachLoadBalancerTargetGroups.

" }, "AttachLoadBalancersResultType":{ "type":"structure", "members":{ - } + }, + "documentation":"

Contains the output of AttachLoadBalancers.

" }, "AttachLoadBalancersType":{ "type":"structure", @@ -981,7 +988,8 @@ "shape":"LoadBalancerNames", "documentation":"

One or more load balancer names.

" } - } + }, + "documentation":"

Contains the parameters for AttachLoadBalancers.

" }, "AutoScalingGroup":{ "type":"structure", @@ -1109,7 +1117,8 @@ "shape":"MaxRecords", "documentation":"

The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.

" } - } + }, + "documentation":"

Contains the parameters for DescribeAutoScalingGroups.

" }, "AutoScalingGroups":{ "type":"list", @@ -1127,7 +1136,8 @@ "shape":"XmlString", "documentation":"

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

" } - } + }, + "documentation":"

Contains the output for DescribeAutoScalingGroups.

" }, "AutoScalingInstanceDetails":{ "type":"structure", @@ -1187,7 +1197,8 @@ "shape":"XmlString", "documentation":"

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

" } - } + }, + "documentation":"

Contains the output of DescribeAutoScalingInstances.

" }, "AutoScalingNotificationTypes":{ "type":"list", @@ -1249,7 +1260,8 @@ "CompleteLifecycleActionAnswer":{ "type":"structure", "members":{ - } + }, + "documentation":"

Contains the output of CompleteLifecycleAction.

" }, "CompleteLifecycleActionType":{ "type":"structure", @@ -1279,7 +1291,8 @@ "shape":"XmlStringMaxLen19", "documentation":"

The ID of the instance.

" } - } + }, + "documentation":"

Contains the parameters for CompleteLifecycleAction.

" }, "Cooldown":{"type":"integer"}, "CreateAutoScalingGroupType":{ @@ -1312,7 +1325,7 @@ }, "DesiredCapacity":{ "shape":"AutoScalingGroupDesiredCapacity", - "documentation":"

The number of EC2 instances that should be running in the group. This number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group. If you do not specify a desired capacity, the default is the minimum size of the group.

" + "documentation":"

The number of EC2 instances that should be running in the group. This number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group.

" }, "DefaultCooldown":{ "shape":"Cooldown", @@ -1358,7 +1371,8 @@ "shape":"Tags", "documentation":"

One or more tags.

For more information, see Tagging Auto Scaling Groups and Instances in the Auto Scaling User Guide.

" } - } + }, + "documentation":"

Contains the parameters for CreateAutoScalingGroup.

" }, "CreateLaunchConfigurationType":{ "type":"structure", @@ -1370,7 +1384,7 @@ }, "ImageId":{ "shape":"XmlStringMaxLen255", - "documentation":"

The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances.

If you do not specify InstanceId, you must specify ImageId.

For more information, see Finding an AMI in the Amazon Elastic Compute Cloud User Guide.

" + "documentation":"

The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more information, see Finding an AMI in the Amazon Elastic Compute Cloud User Guide.

" }, "KeyName":{ "shape":"XmlStringMaxLen255", @@ -1394,11 +1408,11 @@ }, "InstanceId":{ "shape":"XmlStringMaxLen19", - "documentation":"

The ID of the instance to use to create the launch configuration. The new launch configuration derives attributes from the instance, with the exception of the block device mapping.

If you do not specify InstanceId, you must specify both ImageId and InstanceType.

To create a launch configuration with a block device mapping or override any other instance attributes, specify them as part of the same request.

For more information, see Create a Launch Configuration Using an EC2 Instance in the Auto Scaling User Guide.

" + "documentation":"

The ID of the instance to use to create the launch configuration.

The new launch configuration derives attributes from the instance, with the exception of the block device mapping.

To create a launch configuration with a block device mapping or override any other instance attributes, specify them as part of the same request.

For more information, see Create a Launch Configuration Using an EC2 Instance in the Auto Scaling User Guide.

" }, "InstanceType":{ "shape":"XmlStringMaxLen255", - "documentation":"

The instance type of the EC2 instance.

If you do not specify InstanceId, you must specify InstanceType.

For information about available instance types, see Available Instance Types in the Amazon Elastic Compute Cloud User Guide.

" + "documentation":"

The instance type of the EC2 instance. For information about available instance types, see Available Instance Types in the Amazon Elastic Compute Cloud User Guide.

" }, "KernelId":{ "shape":"XmlStringMaxLen255", @@ -1414,7 +1428,7 @@ }, "InstanceMonitoring":{ "shape":"InstanceMonitoring", - "documentation":"

Enables detailed monitoring (true) or basic monitoring (false) for the Auto Scaling instances. The default is true.

" + "documentation":"

Enables detailed monitoring (true) or basic monitoring (false) for the Auto Scaling instances.

" }, "SpotPrice":{ "shape":"SpotPrice", @@ -1436,7 +1450,8 @@ "shape":"XmlStringMaxLen64", "documentation":"

The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware and can only be launched into a VPC.

You must set the value of this parameter to dedicated if want to launch Dedicated Instances into a shared tenancy VPC (VPC with instance placement tenancy attribute set to default).

If you specify this parameter, be sure to specify at least one subnet when you create your group.

For more information, see Launching Auto Scaling Instances in a VPC in the Auto Scaling User Guide.

Valid values: default | dedicated

" } - } + }, + "documentation":"

Contains the parameters for CreateLaunchConfiguration.

" }, "CreateOrUpdateTagsType":{ "type":"structure", @@ -1446,7 +1461,39 @@ "shape":"Tags", "documentation":"

One or more tags.

" } - } + }, + "documentation":"

Contains the parameters for CreateOrUpdateTags.

" + }, + "CustomizedMetricSpecification":{ + "type":"structure", + "required":[ + "MetricName", + "Namespace", + "Statistic" + ], + "members":{ + "MetricName":{ + "shape":"MetricName", + "documentation":"

The name of the metric.

" + }, + "Namespace":{ + "shape":"MetricNamespace", + "documentation":"

The namespace of the metric.

" + }, + "Dimensions":{ + "shape":"MetricDimensions", + "documentation":"

The dimensions of the metric.

" + }, + "Statistic":{ + "shape":"MetricStatistic", + "documentation":"

The statistic of the metric.

" + }, + "Unit":{ + "shape":"MetricUnit", + "documentation":"

The unit of the metric.

" + } + }, + "documentation":"

Configures a customized metric for a target tracking policy.

" }, "DeleteAutoScalingGroupType":{ "type":"structure", @@ -1460,12 +1507,14 @@ "shape":"ForceDelete", "documentation":"

Specifies that the group will be deleted along with all instances associated with the group, without waiting for all instances to be terminated. This parameter also deletes any lifecycle actions associated with the group.

" } - } + }, + "documentation":"

Contains the parameters for DeleteAutoScalingGroup.

" }, "DeleteLifecycleHookAnswer":{ "type":"structure", "members":{ - } + }, + "documentation":"

Contains the output of DeleteLifecycleHook.

" }, "DeleteLifecycleHookType":{ "type":"structure", @@ -1482,7 +1531,8 @@ "shape":"ResourceName", "documentation":"

The name of the Auto Scaling group for the lifecycle hook.

" } - } + }, + "documentation":"

Contains the parameters for DeleteLifecycleHook.

" }, "DeleteNotificationConfigurationType":{ "type":"structure", @@ -1499,7 +1549,8 @@ "shape":"ResourceName", "documentation":"

The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.

" } - } + }, + "documentation":"

Contains the parameters for DeleteNotificationConfiguration.

" }, "DeletePolicyType":{ "type":"structure", @@ -1513,7 +1564,8 @@ "shape":"ResourceName", "documentation":"

The name or Amazon Resource Name (ARN) of the policy.

" } - } + }, + "documentation":"

Contains the parameters for DeletePolicy.

" }, "DeleteScheduledActionType":{ "type":"structure", @@ -1530,7 +1582,8 @@ "shape":"ResourceName", "documentation":"

The name of the action to delete.

" } - } + }, + "documentation":"

Contains the parameters for DeleteScheduledAction.

" }, "DeleteTagsType":{ "type":"structure", @@ -1540,7 +1593,8 @@ "shape":"Tags", "documentation":"

One or more tags.

" } - } + }, + "documentation":"

Contains the parameters for DeleteTags.

" }, "DescribeAccountLimitsAnswer":{ "type":"structure", @@ -1561,7 +1615,8 @@ "shape":"NumberOfLaunchConfigurations", "documentation":"

The current number of launch configurations for your AWS account.

" } - } + }, + "documentation":"

Contains the parameters for DescribeAccountLimits.

" }, "DescribeAdjustmentTypesAnswer":{ "type":"structure", @@ -1570,7 +1625,8 @@ "shape":"AdjustmentTypes", "documentation":"

The policy adjustment types.

" } - } + }, + "documentation":"

Contains the parameters for DescribeAdjustmentTypes.

" }, "DescribeAutoScalingInstancesType":{ "type":"structure", @@ -1587,7 +1643,8 @@ "shape":"XmlString", "documentation":"

The token for the next set of items to return. (You received this token from a previous call.)

" } - } + }, + "documentation":"

Contains the parameters for DescribeAutoScalingInstances.

" }, "DescribeAutoScalingNotificationTypesAnswer":{ "type":"structure", @@ -1596,7 +1653,8 @@ "shape":"AutoScalingNotificationTypes", "documentation":"

The notification types.

" } - } + }, + "documentation":"

Contains the output of DescribeAutoScalingNotificationTypes.

" }, "DescribeLifecycleHookTypesAnswer":{ "type":"structure", @@ -1605,7 +1663,8 @@ "shape":"AutoScalingNotificationTypes", "documentation":"

The lifecycle hook types.

" } - } + }, + "documentation":"

Contains the output of DescribeLifecycleHookTypes.

" }, "DescribeLifecycleHooksAnswer":{ "type":"structure", @@ -1614,7 +1673,8 @@ "shape":"LifecycleHooks", "documentation":"

The lifecycle hooks for the specified group.

" } - } + }, + "documentation":"

Contains the output of DescribeLifecycleHooks.

" }, "DescribeLifecycleHooksType":{ "type":"structure", @@ -1628,7 +1688,8 @@ "shape":"LifecycleHookNames", "documentation":"

The names of one or more lifecycle hooks. If you omit this parameter, all lifecycle hooks are described.

" } - } + }, + "documentation":"

Contains the parameters for DescribeLifecycleHooks.

" }, "DescribeLoadBalancerTargetGroupsRequest":{ "type":"structure", @@ -1646,7 +1707,8 @@ "shape":"MaxRecords", "documentation":"

The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.

" } - } + }, + "documentation":"

Contains the parameters for DescribeLoadBalancerTargetGroups.

" }, "DescribeLoadBalancerTargetGroupsResponse":{ "type":"structure", @@ -1659,7 +1721,8 @@ "shape":"XmlString", "documentation":"

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

" } - } + }, + "documentation":"

Contains the output of DescribeLoadBalancerTargetGroups.

" }, "DescribeLoadBalancersRequest":{ "type":"structure", @@ -1677,7 +1740,8 @@ "shape":"MaxRecords", "documentation":"

The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.

" } - } + }, + "documentation":"

Contains the parameters for DescribeLoadBalancers.

" }, "DescribeLoadBalancersResponse":{ "type":"structure", @@ -1690,7 +1754,8 @@ "shape":"XmlString", "documentation":"

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

" } - } + }, + "documentation":"

Contains the output of DescribeLoadBalancers.

" }, "DescribeMetricCollectionTypesAnswer":{ "type":"structure", @@ -1703,7 +1768,8 @@ "shape":"MetricGranularityTypes", "documentation":"

The granularities for the metrics.

" } - } + }, + "documentation":"

Contains the output of DescribeMetricsCollectionTypes.

" }, "DescribeNotificationConfigurationsAnswer":{ "type":"structure", @@ -1717,7 +1783,8 @@ "shape":"XmlString", "documentation":"

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

" } - } + }, + "documentation":"

Contains the output from DescribeNotificationConfigurations.

" }, "DescribeNotificationConfigurationsType":{ "type":"structure", @@ -1734,7 +1801,8 @@ "shape":"MaxRecords", "documentation":"

The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.

" } - } + }, + "documentation":"

Contains the parameters for DescribeNotificationConfigurations.

" }, "DescribePoliciesType":{ "type":"structure", @@ -1759,7 +1827,8 @@ "shape":"MaxRecords", "documentation":"

The maximum number of items to be returned with each call. The default value is 50 and the maximum value is 100.

" } - } + }, + "documentation":"

Contains the parameters for DescribePolicies.

" }, "DescribeScalingActivitiesType":{ "type":"structure", @@ -1780,7 +1849,8 @@ "shape":"XmlString", "documentation":"

The token for the next set of items to return. (You received this token from a previous call.)

" } - } + }, + "documentation":"

Contains the parameters for DescribeScalingActivities.

" }, "DescribeScheduledActionsType":{ "type":"structure", @@ -1809,7 +1879,8 @@ "shape":"MaxRecords", "documentation":"

The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.

" } - } + }, + "documentation":"

Contains the parameters for DescribeScheduledActions.

" }, "DescribeTagsType":{ "type":"structure", @@ -1826,7 +1897,8 @@ "shape":"MaxRecords", "documentation":"

The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.

" } - } + }, + "documentation":"

Contains the parameters for DescribeTags.

" }, "DescribeTerminationPolicyTypesAnswer":{ "type":"structure", @@ -1835,7 +1907,8 @@ "shape":"TerminationPolicies", "documentation":"

The termination policies supported by Auto Scaling (OldestInstance, OldestLaunchConfiguration, NewestInstance, ClosestToNextInstanceHour, and Default).

" } - } + }, + "documentation":"

Contains the output of DescribeTerminationPolicyTypes.

" }, "DetachInstancesAnswer":{ "type":"structure", @@ -1844,7 +1917,8 @@ "shape":"Activities", "documentation":"

The activities related to detaching the instances from the Auto Scaling group.

" } - } + }, + "documentation":"

Contains the output of DetachInstances.

" }, "DetachInstancesQuery":{ "type":"structure", @@ -1865,7 +1939,8 @@ "shape":"ShouldDecrementDesiredCapacity", "documentation":"

If True, the Auto Scaling group decrements the desired capacity value by the number of instances detached.

" } - } + }, + "documentation":"

Contains the parameters for DetachInstances.

" }, "DetachLoadBalancerTargetGroupsResultType":{ "type":"structure", @@ -1892,7 +1967,8 @@ "DetachLoadBalancersResultType":{ "type":"structure", "members":{ - } + }, + "documentation":"

Contains the output for DetachLoadBalancers.

" }, "DetachLoadBalancersType":{ "type":"structure", @@ -1909,7 +1985,8 @@ "shape":"LoadBalancerNames", "documentation":"

One or more load balancer names.

" } - } + }, + "documentation":"

Contains the parameters for DetachLoadBalancers.

" }, "DisableMetricsCollectionQuery":{ "type":"structure", @@ -1923,8 +2000,10 @@ "shape":"Metrics", "documentation":"

One or more of the following metrics. If you omit this parameter, all metrics are disabled.

" } - } + }, + "documentation":"

Contains the parameters for DisableMetricsCollection.

" }, + "DisableScaleIn":{"type":"boolean"}, "Ebs":{ "type":"structure", "members":{ @@ -1975,7 +2054,8 @@ "shape":"XmlStringMaxLen255", "documentation":"

The granularity to associate with the metrics to collect. The only valid value is 1Minute.

" } - } + }, + "documentation":"

Contains the parameters for EnableMetricsCollection.

" }, "EnabledMetric":{ "type":"structure", @@ -2002,7 +2082,8 @@ "shape":"Activities", "documentation":"

The activities related to moving instances into Standby mode.

" } - } + }, + "documentation":"

Contains the output of EnterStandby.

" }, "EnterStandbyQuery":{ "type":"structure", @@ -2023,7 +2104,8 @@ "shape":"ShouldDecrementDesiredCapacity", "documentation":"

Specifies whether the instances moved to Standby mode count as part of the Auto Scaling group's desired capacity. If set, the desired capacity for the Auto Scaling group decrements by the number of instances moved to Standby mode.

" } - } + }, + "documentation":"

Contains the parameters for EnteStandby.

" }, "EstimatedInstanceWarmup":{"type":"integer"}, "ExecutePolicyType":{ @@ -2050,7 +2132,8 @@ "shape":"MetricScale", "documentation":"

The breach threshold for the alarm.

This parameter is required if the policy type is StepScaling and not supported otherwise.

" } - } + }, + "documentation":"

Contains the parameters for ExecutePolicy.

" }, "ExitStandbyAnswer":{ "type":"structure", @@ -2059,7 +2142,8 @@ "shape":"Activities", "documentation":"

The activities related to moving instances out of Standby mode.

" } - } + }, + "documentation":"

Contains the parameters for ExitStandby.

" }, "ExitStandbyQuery":{ "type":"structure", @@ -2073,7 +2157,8 @@ "shape":"ResourceName", "documentation":"

The name of the Auto Scaling group.

" } - } + }, + "documentation":"

Contains the parameters for ExitStandby.

" }, "Filter":{ "type":"structure", @@ -2145,10 +2230,10 @@ "members":{ "Enabled":{ "shape":"MonitoringEnabled", - "documentation":"

If true, detailed monitoring is enabled. Otherwise, basic monitoring is enabled.

" + "documentation":"

If True, instance monitoring is enabled.

" } }, - "documentation":"

Describes whether detailed monitoring is enabled for the Auto Scaling instances.

" + "documentation":"

Describes whether instance monitoring is enabled.

" }, "InstanceProtected":{"type":"boolean"}, "Instances":{ @@ -2267,7 +2352,8 @@ "shape":"ResourceName", "documentation":"

The name of the launch configuration.

" } - } + }, + "documentation":"

Contains the parameters for DeleteLaunchConfiguration.

" }, "LaunchConfigurationNames":{ "type":"list", @@ -2288,7 +2374,8 @@ "shape":"MaxRecords", "documentation":"

The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.

" } - } + }, + "documentation":"

Contains the parameters for DescribeLaunchConfigurations.

" }, "LaunchConfigurations":{ "type":"list", @@ -2306,7 +2393,8 @@ "shape":"XmlString", "documentation":"

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

" } - } + }, + "documentation":"

Contains the output of DescribeLaunchConfigurations.

" }, "LifecycleActionResult":{"type":"string"}, "LifecycleActionToken":{ @@ -2358,7 +2446,8 @@ }, "LifecycleHookNames":{ "type":"list", - "member":{"shape":"AsciiStringMaxLen255"} + "member":{"shape":"AsciiStringMaxLen255"}, + "max":50 }, "LifecycleHooks":{ "type":"list", @@ -2456,6 +2545,30 @@ "type":"list", "member":{"shape":"MetricCollectionType"} }, + "MetricDimension":{ + "type":"structure", + "required":[ + "Name", + "Value" + ], + "members":{ + "Name":{ + "shape":"MetricDimensionName", + "documentation":"

The name of the dimension.

" + }, + "Value":{ + "shape":"MetricDimensionValue", + "documentation":"

The value of the dimension.

" + } + }, + "documentation":"

Describes the dimension of a metric.

" + }, + "MetricDimensionName":{"type":"string"}, + "MetricDimensionValue":{"type":"string"}, + "MetricDimensions":{ + "type":"list", + "member":{"shape":"MetricDimension"} + }, "MetricGranularityType":{ "type":"structure", "members":{ @@ -2470,7 +2583,29 @@ "type":"list", "member":{"shape":"MetricGranularityType"} }, + "MetricName":{"type":"string"}, + "MetricNamespace":{"type":"string"}, "MetricScale":{"type":"double"}, + "MetricStatistic":{ + "type":"string", + "enum":[ + "Average", + "Minimum", + "Maximum", + "SampleCount", + "Sum" + ] + }, + "MetricType":{ + "type":"string", + "enum":[ + "ASGAverageCPUUtilization", + "ASGAverageNetworkIn", + "ASGAverageNetworkOut", + "ALBRequestCountPerTarget" + ] + }, + "MetricUnit":{"type":"string"}, "Metrics":{ "type":"list", "member":{"shape":"XmlStringMaxLen255"} @@ -2523,7 +2658,8 @@ "shape":"XmlString", "documentation":"

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

" } - } + }, + "documentation":"

Contains the output of DescribePolicies.

" }, "PolicyARNType":{ "type":"structure", @@ -2531,8 +2667,13 @@ "PolicyARN":{ "shape":"ResourceName", "documentation":"

The Amazon Resource Name (ARN) of the policy.

" + }, + "Alarms":{ + "shape":"Alarms", + "documentation":"

The CloudWatch alarms created for the target tracking policy. This parameter will be empty if the policy type is anything other than TargetTrackingScaling.

" } - } + }, + "documentation":"

Contains the output of PutScalingPolicy.

" }, "PolicyIncrement":{"type":"integer"}, "PolicyNames":{ @@ -2543,6 +2684,21 @@ "type":"list", "member":{"shape":"XmlStringMaxLen64"} }, + "PredefinedMetricSpecification":{ + "type":"structure", + "required":["PredefinedMetricType"], + "members":{ + "PredefinedMetricType":{ + "shape":"MetricType", + "documentation":"

The metric type.

" + }, + "ResourceLabel":{ + "shape":"XmlStringMaxLen1023", + "documentation":"

Identifies the resource associated with the metric type. For predefined metric types ASGAverageCPUUtilization, ASGAverageNetworkIn and ASGAverageNetworkOut, the parameter must not be specified as the resource associated with the metric type is the Auto Scaling group. For predefined metric type ALBRequestCountPerTarget, the parameter must be specified in the format app/load-balancer-name/load-balancer-id/targetgroup/target-group-name/target-group-id , where app/load-balancer-name/load-balancer-id is the final portion of the load balancer ARN, and targetgroup/target-group-name/target-group-id is the final portion of the target group ARN. The target group must be attached to the Auto Scaling group.

" + } + }, + "documentation":"

Configures a predefined metric for a target tracking policy. The following predefined metrics are available:

" + }, "ProcessNames":{ "type":"list", "member":{"shape":"XmlStringMaxLen255"} @@ -2569,7 +2725,8 @@ "shape":"Processes", "documentation":"

The names of the process types.

" } - } + }, + "documentation":"

Contains the output of DescribeScalingProcessTypes.

" }, "Progress":{"type":"integer"}, "PropagateAtLaunch":{"type":"boolean"}, @@ -2577,7 +2734,8 @@ "PutLifecycleHookAnswer":{ "type":"structure", "members":{ - } + }, + "documentation":"

Contains the output of PutLifecycleHook.

" }, "PutLifecycleHookType":{ "type":"structure", @@ -2618,7 +2776,8 @@ "shape":"LifecycleActionResult", "documentation":"

Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. This parameter can be either CONTINUE or ABANDON. The default value is ABANDON.

" } - } + }, + "documentation":"

Contains the parameters for PutLifecycleHook.

" }, "PutNotificationConfigurationType":{ "type":"structure", @@ -2640,14 +2799,14 @@ "shape":"AutoScalingNotificationTypes", "documentation":"

The type of event that will cause the notification to be sent. For details about notification types supported by Auto Scaling, see DescribeAutoScalingNotificationTypes.

" } - } + }, + "documentation":"

Contains the parameters for PutNotificationConfiguration.

" }, "PutScalingPolicyType":{ "type":"structure", "required":[ "AutoScalingGroupName", - "PolicyName", - "AdjustmentType" + "PolicyName" ], "members":{ "AutoScalingGroupName":{ @@ -2660,11 +2819,11 @@ }, "PolicyType":{ "shape":"XmlStringMaxLen64", - "documentation":"

The policy type. Valid values are SimpleScaling and StepScaling. If the policy type is null, the value is treated as SimpleScaling.

" + "documentation":"

The policy type. The valid values are SimpleScaling, StepScaling, and TargetTrackingScaling. If the policy type is null, the value is treated as SimpleScaling.

" }, "AdjustmentType":{ "shape":"XmlStringMaxLen255", - "documentation":"

The adjustment type. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.

For more information, see Dynamic Scaling in the Auto Scaling User Guide.

" + "documentation":"

The adjustment type. The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.

This parameter is supported if the policy type is SimpleScaling or StepScaling.

For more information, see Dynamic Scaling in the Auto Scaling User Guide.

" }, "MinAdjustmentStep":{ "shape":"MinAdjustmentStep", @@ -2672,7 +2831,7 @@ }, "MinAdjustmentMagnitude":{ "shape":"MinAdjustmentMagnitude", - "documentation":"

The minimum number of instances to scale. If the value of AdjustmentType is PercentChangeInCapacity, the scaling policy changes the DesiredCapacity of the Auto Scaling group by at least this many instances. Otherwise, the error is ValidationError.

" + "documentation":"

The minimum number of instances to scale. If the value of AdjustmentType is PercentChangeInCapacity, the scaling policy changes the DesiredCapacity of the Auto Scaling group by at least this many instances. Otherwise, the error is ValidationError.

This parameter is supported if the policy type is SimpleScaling or StepScaling.

" }, "ScalingAdjustment":{ "shape":"PolicyIncrement", @@ -2680,11 +2839,11 @@ }, "Cooldown":{ "shape":"Cooldown", - "documentation":"

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start. If this parameter is not specified, the default cooldown period for the group applies.

This parameter is not supported unless the policy type is SimpleScaling.

For more information, see Auto Scaling Cooldowns in the Auto Scaling User Guide.

" + "documentation":"

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start. If this parameter is not specified, the default cooldown period for the group applies.

This parameter is supported if the policy type is SimpleScaling.

For more information, see Auto Scaling Cooldowns in the Auto Scaling User Guide.

" }, "MetricAggregationType":{ "shape":"XmlStringMaxLen32", - "documentation":"

The aggregation type for the CloudWatch metrics. Valid values are Minimum, Maximum, and Average. If the aggregation type is null, the value is treated as Average.

This parameter is not supported if the policy type is SimpleScaling.

" + "documentation":"

The aggregation type for the CloudWatch metrics. The valid values are Minimum, Maximum, and Average. If the aggregation type is null, the value is treated as Average.

This parameter is supported if the policy type is StepScaling.

" }, "StepAdjustments":{ "shape":"StepAdjustments", @@ -2692,9 +2851,14 @@ }, "EstimatedInstanceWarmup":{ "shape":"EstimatedInstanceWarmup", - "documentation":"

The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. The default is to use the value specified for the default cooldown period for the group.

This parameter is not supported if the policy type is SimpleScaling.

" + "documentation":"

The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. The default is to use the value specified for the default cooldown period for the group.

This parameter is supported if the policy type is StepScaling or TargetTrackingScaling.

" + }, + "TargetTrackingConfiguration":{ + "shape":"TargetTrackingConfiguration", + "documentation":"

The configuration of a target tracking policy.

This parameter is required if the policy type is TargetTrackingScaling and not supported otherwise.

" } - } + }, + "documentation":"

Contains the parameters for PutScalingPolicy.

" }, "PutScheduledUpdateGroupActionType":{ "type":"structure", @@ -2739,12 +2903,14 @@ "shape":"AutoScalingGroupDesiredCapacity", "documentation":"

The number of EC2 instances that should be running in the group.

" } - } + }, + "documentation":"

Contains the parameters for PutScheduledUpdateGroupAction.

" }, "RecordLifecycleActionHeartbeatAnswer":{ "type":"structure", "members":{ - } + }, + "documentation":"

Contains the output of RecordLifecycleActionHeartBeat.

" }, "RecordLifecycleActionHeartbeatType":{ "type":"structure", @@ -2769,7 +2935,8 @@ "shape":"XmlStringMaxLen19", "documentation":"

The ID of the instance.

" } - } + }, + "documentation":"

Contains the parameters for RecordLifecycleActionHeartbeat.

" }, "ResourceContentionFault":{ "type":"structure", @@ -2883,7 +3050,7 @@ }, "Cooldown":{ "shape":"Cooldown", - "documentation":"

The amount of time, in seconds, after a scaling activity completes before any further dynamic scaling activities can start.

" + "documentation":"

The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.

" }, "StepAdjustments":{ "shape":"StepAdjustments", @@ -2900,6 +3067,10 @@ "Alarms":{ "shape":"Alarms", "documentation":"

The CloudWatch alarms related to the policy.

" + }, + "TargetTrackingConfiguration":{ + "shape":"TargetTrackingConfiguration", + "documentation":"

A target tracking policy.

" } }, "documentation":"

Describes a scaling policy.

" @@ -2916,7 +3087,8 @@ "shape":"ProcessNames", "documentation":"

One or more of the following processes. If you omit this parameter, all processes are specified.

" } - } + }, + "documentation":"

Contains the parameters for SuspendProcesses and ResumeProcesses.

" }, "ScheduledActionNames":{ "type":"list", @@ -2933,7 +3105,8 @@ "shape":"XmlString", "documentation":"

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

" } - } + }, + "documentation":"

Contains the output of DescribeScheduledActions.

" }, "ScheduledUpdateGroupAction":{ "type":"structure", @@ -3008,7 +3181,8 @@ "shape":"HonorCooldown", "documentation":"

By default, SetDesiredCapacity overrides any cooldown period associated with the Auto Scaling group. Specify True to make Auto Scaling to wait for the cool-down period associated with the Auto Scaling group to complete before initiating a scaling activity to set your Auto Scaling group to its new capacity.

" } - } + }, + "documentation":"

Contains the parameters for SetDesiredCapacity.

" }, "SetInstanceHealthQuery":{ "type":"structure", @@ -3029,12 +3203,14 @@ "shape":"ShouldRespectGracePeriod", "documentation":"

If the Auto Scaling group of the specified instance has a HealthCheckGracePeriod specified for the group, by default, this call will respect the grace period. Set this to False, if you do not want the call to respect the grace period associated with the group.

For more information, see the description of the health check grace period for CreateAutoScalingGroup.

" } - } + }, + "documentation":"

Contains the parameters for SetInstanceHealth.

" }, "SetInstanceProtectionAnswer":{ "type":"structure", "members":{ - } + }, + "documentation":"

Contains the output of SetInstanceProtection.

" }, "SetInstanceProtectionQuery":{ "type":"structure", @@ -3056,7 +3232,8 @@ "shape":"ProtectedFromScaleIn", "documentation":"

Indicates whether the instance is protected from termination by Auto Scaling when scaling in.

" } - } + }, + "documentation":"

Contains the parameters for SetInstanceProtection.

" }, "ShouldDecrementDesiredCapacity":{"type":"boolean"}, "ShouldRespectGracePeriod":{"type":"boolean"}, @@ -3190,12 +3367,36 @@ "shape":"XmlString", "documentation":"

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

" } - } + }, + "documentation":"

Contains the output of DescribeTags.

" }, "TargetGroupARNs":{ "type":"list", "member":{"shape":"XmlStringMaxLen511"} }, + "TargetTrackingConfiguration":{ + "type":"structure", + "required":["TargetValue"], + "members":{ + "PredefinedMetricSpecification":{ + "shape":"PredefinedMetricSpecification", + "documentation":"

A predefined metric. You can specify either a predefined metric or a customized metric.

" + }, + "CustomizedMetricSpecification":{ + "shape":"CustomizedMetricSpecification", + "documentation":"

A customized metric.

" + }, + "TargetValue":{ + "shape":"MetricScale", + "documentation":"

The target value for the metric.

" + }, + "DisableScaleIn":{ + "shape":"DisableScaleIn", + "documentation":"

If the parameter is true, then scale-in will be disabled for the target tracking policy, i.e. the target tracking policy will not scale in the Auto Scaling group. The default value is false.

" + } + }, + "documentation":"

Represents a target tracking policy configuration.

" + }, "TerminateInstanceInAutoScalingGroupType":{ "type":"structure", "required":[ @@ -3211,7 +3412,8 @@ "shape":"ShouldDecrementDesiredCapacity", "documentation":"

If true, terminating the instance also decrements the size of the Auto Scaling group.

" } - } + }, + "documentation":"

Contains the parameters for TerminateInstanceInAutoScalingGroup.

" }, "TerminationPolicies":{ "type":"list", @@ -3274,7 +3476,8 @@ "shape":"InstanceProtected", "documentation":"

Indicates whether newly launched instances are protected from termination by Auto Scaling when scaling in.

" } - } + }, + "documentation":"

Contains the parameters for UpdateAutoScalingGroup.

" }, "Values":{ "type":"list", diff --git a/botocore/data/cognito-idp/2016-04-18/service-2.json b/botocore/data/cognito-idp/2016-04-18/service-2.json index 057e253e..154cef31 100644 --- a/botocore/data/cognito-idp/2016-04-18/service-2.json +++ b/botocore/data/cognito-idp/2016-04-18/service-2.json @@ -320,6 +320,9 @@ {"shape":"TooManyRequestsException"}, {"shape":"LimitExceededException"}, {"shape":"UserNotFoundException"}, + {"shape":"InvalidSmsRoleAccessPolicyException"}, + {"shape":"InvalidEmailRoleAccessPolicyException"}, + {"shape":"InvalidSmsRoleTrustRelationshipException"}, {"shape":"InternalErrorException"} ], "documentation":"

Resets the specified user's password in a user pool as an administrator. Works on any user.

When a developer calls this API, the current password is invalidated, so it must be changed. If a user tries to sign in after the API is called, the app will get a PasswordResetRequiredException exception back and should direct the user down the flow to reset the password, which is the same as the forgot password flow. In addition, if the user pool has phone verification selected and a verified phone number exists for the user, or if email verification is selected and a verified email exists for the user, calling this API will also result in sending a message to the end user with the code to change their password.

Requires developer credentials.

" @@ -1872,11 +1875,11 @@ }, "AuthFlow":{ "shape":"AuthFlowType", - "documentation":"

The authentication flow for this call to execute. The API action will depend on this value. For example:

Valid values include:

" + "documentation":"

The authentication flow for this call to execute. The API action will depend on this value. For example:

Valid values include:

" }, "AuthParameters":{ "shape":"AuthParametersType", - "documentation":"

The authentication parameters. These are inputs corresponding to the AuthFlow that you are invoking. The required values depend on the value of AuthFlow:

" + "documentation":"

The authentication parameters. These are inputs corresponding to the AuthFlow that you are invoking. The required values depend on the value of AuthFlow:

" }, "ClientMetadata":{ "shape":"ClientMetadataType", @@ -2829,6 +2832,10 @@ "shape":"AliasAttributesListType", "documentation":"

Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username.

" }, + "UsernameAttributes":{ + "shape":"UsernameAttributesListType", + "documentation":"

Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.

" + }, "SmsVerificationMessage":{ "shape":"SmsVerificationMessageType", "documentation":"

A string representing the SMS verification message.

" @@ -3692,11 +3699,11 @@ "members":{ "AuthFlow":{ "shape":"AuthFlowType", - "documentation":"

The authentication flow for this call to execute. The API action will depend on this value. For example:

Valid values include:

ADMIN_NO_SRP_AUTH is not a valid value.

" + "documentation":"

The authentication flow for this call to execute. The API action will depend on this value. For example:

Valid values include:

ADMIN_NO_SRP_AUTH is not a valid value.

" }, "AuthParameters":{ "shape":"AuthParametersType", - "documentation":"

The authentication parameters. These are inputs corresponding to the AuthFlow that you are invoking. The required values depend on the value of AuthFlow:

" + "documentation":"

The authentication parameters. These are inputs corresponding to the AuthFlow that you are invoking. The required values depend on the value of AuthFlow:

" }, "ClientMetadata":{ "shape":"ClientMetadataType", @@ -5471,6 +5478,10 @@ "shape":"AliasAttributesListType", "documentation":"

Specifies the attributes that are aliased in a user pool.

" }, + "UsernameAttributes":{ + "shape":"UsernameAttributesListType", + "documentation":"

Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.

" + }, "SmsVerificationMessage":{ "shape":"SmsVerificationMessageType", "documentation":"

The contents of the SMS verification message.

" @@ -5572,6 +5583,17 @@ }, "documentation":"

The user type.

" }, + "UsernameAttributeType":{ + "type":"string", + "enum":[ + "phone_number", + "email" + ] + }, + "UsernameAttributesListType":{ + "type":"list", + "member":{"shape":"UsernameAttributeType"} + }, "UsernameExistsException":{ "type":"structure", "members":{ diff --git a/botocore/data/discovery/2015-11-01/service-2.json b/botocore/data/discovery/2015-11-01/service-2.json index 9c721e06..7723b9c8 100644 --- a/botocore/data/discovery/2015-11-01/service-2.json +++ b/botocore/data/discovery/2015-11-01/service-2.json @@ -289,7 +289,7 @@ {"shape":"ServerInternalErrorException"}, {"shape":"OperationNotPermittedException"} ], - "documentation":"

Export the configuration data about discovered configuration items and relationships to an S3 bucket in a specified format.

" + "documentation":"

Begins the export of discovered data to an S3 bucket.

If you specify agentId in a filter, the task exports up to 72 hours of detailed data collected by the identified Application Discovery Agent, including network, process, and performance details. A time range for exported agent data may be set by using startTime and endTime. Export of detailed agent data is limited to five concurrently running exports.

If you do not include an agentId filter, summary data is exported that includes both AWS Agentless Discovery Connector data and summary data from AWS Discovery Agents. Export of summary data is limited to two exports per day.

" }, "StopDataCollectionByAgentIds":{ "name":"StopDataCollectionByAgentIds", @@ -794,6 +794,10 @@ "shape":"ExportIds", "documentation":"

One or more unique identifiers used to query the status of an export request.

" }, + "filters":{ + "shape":"ExportFilters", + "documentation":"

One or more filters.

" + }, "maxResults":{ "shape":"Integer", "documentation":"

The maximum number of volume results returned by DescribeExportTasks in paginated output. When this parameter is used, DescribeExportTasks only returns maxResults results in a single page along with a nextToken response element.

" @@ -889,6 +893,33 @@ "type":"list", "member":{"shape":"ExportDataFormat"} }, + "ExportFilter":{ + "type":"structure", + "required":[ + "name", + "values", + "condition" + ], + "members":{ + "name":{ + "shape":"FilterName", + "documentation":"

A single ExportFilter name. Supported filters: agentId.

" + }, + "values":{ + "shape":"FilterValues", + "documentation":"

A single agentId for a Discovery Agent. An agentId can be found using the DescribeAgents action. Typically an ADS agentId is in the form o-0123456789abcdef0.

" + }, + "condition":{ + "shape":"Condition", + "documentation":"

Supported condition: EQUALS

" + } + }, + "documentation":"

Used to select which agent's data is to be exported. A single agent ID may be selected for export using the StartExportTask action.

" + }, + "ExportFilters":{ + "type":"list", + "member":{"shape":"ExportFilter"} + }, "ExportIds":{ "type":"list", "member":{"shape":"ConfigurationsExportId"} @@ -904,26 +935,38 @@ "members":{ "exportId":{ "shape":"ConfigurationsExportId", - "documentation":"

A unique identifier that you can use to query the export.

" + "documentation":"

A unique identifier used to query an export.

" }, "exportStatus":{ "shape":"ExportStatus", - "documentation":"

The status of the configuration data export. The status can succeed, fail, or be in-progress.

" + "documentation":"

The status of the data export job.

" }, "statusMessage":{ "shape":"ExportStatusMessage", - "documentation":"

Helpful status messages for API callers. For example: Too many exports in the last 6 hours. Export in progress. Export was successful.

" + "documentation":"

A status message provided for API callers.

" }, "configurationsDownloadUrl":{ "shape":"ConfigurationsDownloadUrl", - "documentation":"

A URL for an Amazon S3 bucket where you can review the configuration data. The URL is displayed only if the export succeeded.

" + "documentation":"

A URL for an Amazon S3 bucket where you can review the exported data. The URL is displayed only if the export succeeded.

" }, "exportRequestTime":{ "shape":"ExportRequestTime", - "documentation":"

The time that the configuration data export was initiated.

" + "documentation":"

The time that the data export was initiated.

" + }, + "isTruncated":{ + "shape":"Boolean", + "documentation":"

If true, the export of agent information exceeded the size limit for a single export and the exported data is incomplete for the requested time range. To address this, select a smaller time range for the export by using startDate and endDate.

" + }, + "requestedStartTime":{ + "shape":"TimeStamp", + "documentation":"

The value of startTime parameter in the StartExportTask request. If no startTime was requested, this result does not appear in ExportInfo.

" + }, + "requestedEndTime":{ + "shape":"TimeStamp", + "documentation":"

The endTime used in the StartExportTask request. If no endTime was requested, this result does not appear in ExportInfo.

" } }, - "documentation":"

Information regarding the export status of the discovered data. The value is an array of objects.

" + "documentation":"

Information regarding the export status of discovered data. The value is an array of objects.

" }, "ExportRequestTime":{"type":"timestamp"}, "ExportStatus":{ @@ -1216,6 +1259,18 @@ "exportDataFormat":{ "shape":"ExportDataFormats", "documentation":"

The file format for the returned export data. Default value is CSV.

" + }, + "filters":{ + "shape":"ExportFilters", + "documentation":"

If a filter is present, it selects the single agentId of the Application Discovery Agent for which data is exported. The agentId can be found in the results of the DescribeAgents API or CLI. If no filter is present, startTime and endTime are ignored and exported data includes both Agentless Discovery Connector data and summary data from Application Discovery agents.

" + }, + "startTime":{ + "shape":"TimeStamp", + "documentation":"

The start timestamp for exported data from the single Application Discovery Agent selected in the filters. If no value is specified, data is exported starting from the first data collected by the agent.

" + }, + "endTime":{ + "shape":"TimeStamp", + "documentation":"

The end timestamp for exported data from the single Application Discovery Agent selected in the filters. If no value is specified, exported data includes the most recent data collected by the agent.

" } } }, @@ -1224,7 +1279,7 @@ "members":{ "exportId":{ "shape":"ConfigurationsExportId", - "documentation":"

A unique identifier used to query the status of an export request.

" + "documentation":"

A unique identifier used to query the status of an export request.

" } } }, diff --git a/botocore/data/ec2/2016-11-15/service-2.json b/botocore/data/ec2/2016-11-15/service-2.json index 7c30780a..86beeb23 100644 --- a/botocore/data/ec2/2016-11-15/service-2.json +++ b/botocore/data/ec2/2016-11-15/service-2.json @@ -433,6 +433,16 @@ "output":{"shape":"CreateNetworkInterfaceResult"}, "documentation":"

Creates a network interface in the specified subnet.

For more information about network interfaces, see Elastic Network Interfaces in the Amazon Virtual Private Cloud User Guide.

" }, + "CreateNetworkInterfacePermission":{ + "name":"CreateNetworkInterfacePermission", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateNetworkInterfacePermissionRequest"}, + "output":{"shape":"CreateNetworkInterfacePermissionResult"}, + "documentation":"

Grants an AWS authorized partner account permission to attach the specified network interface to an instance in their account.

You can grant permission to a single AWS account only, and only one account at a time.

" + }, "CreatePlacementGroup":{ "name":"CreatePlacementGroup", "http":{ @@ -683,6 +693,16 @@ "input":{"shape":"DeleteNetworkInterfaceRequest"}, "documentation":"

Deletes the specified network interface. You must detach the network interface before you can delete it.

" }, + "DeleteNetworkInterfacePermission":{ + "name":"DeleteNetworkInterfacePermission", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteNetworkInterfacePermissionRequest"}, + "output":{"shape":"DeleteNetworkInterfacePermissionResult"}, + "documentation":"

Deletes a permission for a network interface. By default, you cannot delete the permission if the account for which you're removing the permission has attached the network interface to an instance. However, you can force delete the permission, regardless of any attachment.

" + }, "DeletePlacementGroup":{ "name":"DeletePlacementGroup", "http":{ @@ -1067,7 +1087,7 @@ }, "input":{"shape":"DescribeInstanceStatusRequest"}, "output":{"shape":"DescribeInstanceStatusResult"}, - "documentation":"

Describes the status of one or more instances. By default, only running instances are described, unless specified otherwise.

Instance status includes the following components:

" + "documentation":"

Describes the status of one or more instances. By default, only running instances are described, unless you specifically indicate to return the status of all instances.

Instance status includes the following components:

" }, "DescribeInstances":{ "name":"DescribeInstances", @@ -1139,6 +1159,16 @@ "output":{"shape":"DescribeNetworkInterfaceAttributeResult"}, "documentation":"

Describes a network interface attribute. You can specify only one attribute at a time.

" }, + "DescribeNetworkInterfacePermissions":{ + "name":"DescribeNetworkInterfacePermissions", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeNetworkInterfacePermissionsRequest"}, + "output":{"shape":"DescribeNetworkInterfacePermissionsResult"}, + "documentation":"

Describes the permissions for your network interfaces.

" + }, "DescribeNetworkInterfaces":{ "name":"DescribeNetworkInterfaces", "http":{ @@ -4497,6 +4527,45 @@ }, "documentation":"

Contains the output of CreateNetworkAcl.

" }, + "CreateNetworkInterfacePermissionRequest":{ + "type":"structure", + "required":[ + "NetworkInterfaceId", + "Permission" + ], + "members":{ + "NetworkInterfaceId":{ + "shape":"String", + "documentation":"

The ID of the network interface.

" + }, + "AwsAccountId":{ + "shape":"String", + "documentation":"

The AWS account ID.

" + }, + "AwsService":{ + "shape":"String", + "documentation":"

The AWS service. Currently not supported.

" + }, + "Permission":{ + "shape":"InterfacePermissionType", + "documentation":"

The type of permission to grant.

" + }, + "DryRun":{ + "shape":"Boolean", + "documentation":"

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" + } + } + }, + "CreateNetworkInterfacePermissionResult":{ + "type":"structure", + "members":{ + "InterfacePermission":{ + "shape":"NetworkInterfacePermission", + "documentation":"

Information about the permission for the network interface.

", + "locationName":"interfacePermission" + } + } + }, "CreateNetworkInterfaceRequest":{ "type":"structure", "required":["SubnetId"], @@ -5428,6 +5497,34 @@ }, "documentation":"

Contains the parameters for DeleteNetworkAcl.

" }, + "DeleteNetworkInterfacePermissionRequest":{ + "type":"structure", + "required":["NetworkInterfacePermissionId"], + "members":{ + "NetworkInterfacePermissionId":{ + "shape":"String", + "documentation":"

The ID of the network interface permission.

" + }, + "Force":{ + "shape":"Boolean", + "documentation":"

Specify true to remove the permission even if the network interface is attached to an instance.

" + }, + "DryRun":{ + "shape":"Boolean", + "documentation":"

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" + } + } + }, + "DeleteNetworkInterfacePermissionResult":{ + "type":"structure", + "members":{ + "Return":{ + "shape":"Boolean", + "documentation":"

Returns true if the request succeeds, otherwise returns an error.

", + "locationName":"return" + } + } + }, "DeleteNetworkInterfaceRequest":{ "type":"structure", "required":["NetworkInterfaceId"], @@ -6878,6 +6975,44 @@ }, "documentation":"

Contains the output of DescribeNetworkInterfaceAttribute.

" }, + "DescribeNetworkInterfacePermissionsRequest":{ + "type":"structure", + "members":{ + "NetworkInterfacePermissionIds":{ + "shape":"NetworkInterfacePermissionIdList", + "documentation":"

One or more network interface permission IDs.

", + "locationName":"NetworkInterfacePermissionId" + }, + "Filters":{ + "shape":"FilterList", + "documentation":"

One or more filters.

", + "locationName":"Filter" + }, + "NextToken":{ + "shape":"String", + "documentation":"

The token to request the next page of results.

" + }, + "MaxResults":{ + "shape":"Integer", + "documentation":"

The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value. If this parameter is not specified, up to 50 results are returned by default.

" + } + } + }, + "DescribeNetworkInterfacePermissionsResult":{ + "type":"structure", + "members":{ + "NetworkInterfacePermissions":{ + "shape":"NetworkInterfacePermissionList", + "documentation":"

The network interface permissions.

", + "locationName":"networkInterfacePermissions" + }, + "NextToken":{ + "shape":"String", + "documentation":"

The token to use to retrieve the next page of results.

", + "locationName":"nextToken" + } + } + }, "DescribeNetworkInterfacesRequest":{ "type":"structure", "members":{ @@ -7466,7 +7601,7 @@ "members":{ "Filters":{ "shape":"FilterList", - "documentation":"

One or more filters.

", + "documentation":"

One or more filters.

", "locationName":"Filter" }, "MaxResults":{ @@ -11961,6 +12096,9 @@ "cc2.8xlarge", "g2.2xlarge", "g2.8xlarge", + "g3.4xlarge", + "g3.8xlarge", + "g3.16xlarge", "cg1.4xlarge", "p2.xlarge", "p2.8xlarge", @@ -11978,6 +12116,13 @@ "member":{"shape":"InstanceType"} }, "Integer":{"type":"integer"}, + "InterfacePermissionType":{ + "type":"string", + "enum":[ + "INSTANCE-ATTACH", + "EIP-ASSOCIATE" + ] + }, "InternetGateway":{ "type":"structure", "members":{ @@ -12497,7 +12642,7 @@ }, "DisableApiTermination":{ "shape":"AttributeBooleanValue", - "documentation":"

If the value is true, you can't terminate the instance using the Amazon EC2 console, CLI, or API; otherwise, you can. You cannot use this paramater for Spot Instances.

", + "documentation":"

If the value is true, you can't terminate the instance using the Amazon EC2 console, CLI, or API; otherwise, you can. You cannot use this parameter for Spot Instances.

", "locationName":"disableApiTermination" }, "DryRun":{ @@ -13495,6 +13640,78 @@ "locationName":"item" } }, + "NetworkInterfacePermission":{ + "type":"structure", + "members":{ + "NetworkInterfacePermissionId":{ + "shape":"String", + "documentation":"

The ID of the network interface permission.

", + "locationName":"networkInterfacePermissionId" + }, + "NetworkInterfaceId":{ + "shape":"String", + "documentation":"

The ID of the network interface.

", + "locationName":"networkInterfaceId" + }, + "AwsAccountId":{ + "shape":"String", + "documentation":"

The AWS account ID.

", + "locationName":"awsAccountId" + }, + "AwsService":{ + "shape":"String", + "documentation":"

The AWS service.

", + "locationName":"awsService" + }, + "Permission":{ + "shape":"InterfacePermissionType", + "documentation":"

The type of permission.

", + "locationName":"permission" + }, + "PermissionState":{ + "shape":"NetworkInterfacePermissionState", + "documentation":"

Information about the state of the permission.

", + "locationName":"permissionState" + } + }, + "documentation":"

Describes a permission for a network interface.

" + }, + "NetworkInterfacePermissionIdList":{ + "type":"list", + "member":{"shape":"String"} + }, + "NetworkInterfacePermissionList":{ + "type":"list", + "member":{ + "shape":"NetworkInterfacePermission", + "locationName":"item" + } + }, + "NetworkInterfacePermissionState":{ + "type":"structure", + "members":{ + "State":{ + "shape":"NetworkInterfacePermissionStateCode", + "documentation":"

The state of the permission.

", + "locationName":"state" + }, + "StatusMessage":{ + "shape":"String", + "documentation":"

A status message, if applicable.

", + "locationName":"statusMessage" + } + }, + "documentation":"

Describes the state of a network interface permission.

" + }, + "NetworkInterfacePermissionStateCode":{ + "type":"string", + "enum":[ + "pending", + "granted", + "revoking", + "revoked" + ] + }, "NetworkInterfacePrivateIpAddress":{ "type":"structure", "members":{ diff --git a/botocore/data/iot/2015-05-28/paginators-1.json b/botocore/data/iot/2015-05-28/paginators-1.json index ea142457..cc1934b2 100644 --- a/botocore/data/iot/2015-05-28/paginators-1.json +++ b/botocore/data/iot/2015-05-28/paginators-1.json @@ -1,3 +1,70 @@ { - "pagination": {} + "pagination": { + "ListCACertificates": { + "input_token": "marker", + "output_token": "nextMarker", + "limit_key": "pageSize", + "result_key": "certificates" + }, + "ListCertificates": { + "input_token": "marker", + "output_token": "nextMarker", + "limit_key": "pageSize", + "result_key": "certificates" + }, + "ListCertificatesByCA": { + "input_token": "marker", + "output_token": "nextMarker", + "limit_key": "pageSize", + "result_key": "certificates" + }, + "ListOutgoingCertificates": { + "input_token": "marker", + "output_token": "nextMarker", + "limit_key": "pageSize", + "result_key": "outgoingCertificates" + }, + "ListPolicies": { + "input_token": "marker", + "output_token": "nextMarker", + "limit_key": "pageSize", + "result_key": "policies" + }, + "ListPolicyPrincipals": { + "input_token": "marker", + "output_token": "nextMarker", + "limit_key": "pageSize", + "result_key": "principals" + }, + "ListPrincipalPolicies": { + "input_token": "marker", + "output_token": "nextMarker", + "limit_key": "pageSize", + "result_key": "policies" + }, + "ListPrincipalThings": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "things" + }, + "ListThingTypes": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "thingTypes" + }, + "ListThings": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "things" + }, + "ListTopicRules": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "rules" + } + } } diff --git a/botocore/data/kinesis/2013-12-02/paginators-1.json b/botocore/data/kinesis/2013-12-02/paginators-1.json index bd1c8603..f2b4e081 100644 --- a/botocore/data/kinesis/2013-12-02/paginators-1.json +++ b/botocore/data/kinesis/2013-12-02/paginators-1.json @@ -11,7 +11,9 @@ "StreamDescription.StreamName", "StreamDescription.StreamStatus", "StreamDescription.RetentionPeriodHours", - "StreamDescription.EnhancedMonitoring" + "StreamDescription.EnhancedMonitoring", + "StreamDescription.EncryptionType", + "StreamDescription.KeyId" ] }, "ListStreams": { diff --git a/botocore/data/lambda/2015-03-31/service-2.json b/botocore/data/lambda/2015-03-31/service-2.json index ba779306..1ecf85c5 100644 --- a/botocore/data/lambda/2015-03-31/service-2.json +++ b/botocore/data/lambda/2015-03-31/service-2.json @@ -327,9 +327,10 @@ "output":{"shape":"ListFunctionsResponse"}, "errors":[ {"shape":"ServiceException"}, - {"shape":"TooManyRequestsException"} + {"shape":"TooManyRequestsException"}, + {"shape":"InvalidParameterValueException"} ], - "documentation":"

Returns a list of your Lambda functions. For each function, the response includes the function configuration information. You must use GetFunction to retrieve the code for your function.

This operation requires permission for the lambda:ListFunctions action.

If you are using versioning feature, the response returns list of $LATEST versions of your functions. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases.

" + "documentation":"

Returns a list of your Lambda functions. For each function, the response includes the function configuration information. You must use GetFunction to retrieve the code for your function.

This operation requires permission for the lambda:ListFunctions action.

If you are using the versioning feature, you can list all of your functions or only $LATEST versions. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases.

" }, "ListTags":{ "name":"ListTags", @@ -1057,11 +1058,11 @@ "type":"structure", "members":{ "FunctionName":{ - "shape":"FunctionName", + "shape":"NamespacedFunctionName", "documentation":"

The name of the function. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.

" }, "FunctionArn":{ - "shape":"FunctionArn", + "shape":"NameSpacedFunctionArn", "documentation":"

The Amazon Resource Name (ARN) assigned to the function.

" }, "Runtime":{ @@ -1123,6 +1124,10 @@ "TracingConfig":{ "shape":"TracingConfigResponse", "documentation":"

The parent object that contains your function's tracing settings.

" + }, + "MasterArn":{ + "shape":"FunctionArn", + "documentation":"

Returns the ARN (Amazon Resource Name) of the master function.

" } }, "documentation":"

A complex type that describes function metadata.

" @@ -1137,6 +1142,10 @@ "min":1, "pattern":"(arn:aws:lambda:)?([a-z]{2}-[a-z]+-\\d{1}:)?(\\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\\$LATEST|[a-zA-Z0-9-_]+))?" }, + "FunctionVersion":{ + "type":"string", + "enum":["ALL"] + }, "GetAccountSettingsRequest":{ "type":"structure", "members":{ @@ -1188,7 +1197,7 @@ "required":["FunctionName"], "members":{ "FunctionName":{ - "shape":"FunctionName", + "shape":"NamespacedFunctionName", "documentation":"

The name of the Lambda function for which you want to retrieve the configuration information.

You can specify a function name (for example, Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail). AWS Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.

", "location":"uri", "locationName":"FunctionName" @@ -1207,7 +1216,7 @@ "required":["FunctionName"], "members":{ "FunctionName":{ - "shape":"FunctionName", + "shape":"NamespacedFunctionName", "documentation":"

The Lambda function name.

You can specify a function name (for example, Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail). AWS Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.

", "location":"uri", "locationName":"FunctionName" @@ -1238,7 +1247,7 @@ "required":["FunctionName"], "members":{ "FunctionName":{ - "shape":"FunctionName", + "shape":"NamespacedFunctionName", "documentation":"

Function name whose resource policy you want to retrieve.

You can specify the function name (for example, Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail). If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). AWS Lambda also allows you to specify only the function name with the account ID qualifier (for example, account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.

", "location":"uri", "locationName":"FunctionName" @@ -1346,7 +1355,7 @@ "required":["FunctionName"], "members":{ "FunctionName":{ - "shape":"FunctionName", + "shape":"NamespacedFunctionName", "documentation":"

The Lambda function name.

You can specify a function name (for example, Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail). AWS Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.

", "location":"uri", "locationName":"FunctionName" @@ -1427,7 +1436,7 @@ ], "members":{ "FunctionName":{ - "shape":"FunctionName", + "shape":"NamespacedFunctionName", "documentation":"

The Lambda function name. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.

", "location":"uri", "locationName":"FunctionName" @@ -1587,6 +1596,18 @@ "ListFunctionsRequest":{ "type":"structure", "members":{ + "MasterRegion":{ + "shape":"MasterRegion", + "documentation":"

Optional string. If not specified, will return only regular function versions (i.e., non-replicated versions).

Valid values are:

The region from which the functions are replicated. For example, if you specify us-east-1, only functions replicated from that region will be returned.

ALL _ Will return all functions from any region. If specified, you also must specify a valid FunctionVersion parameter.

", + "location":"querystring", + "locationName":"MasterRegion" + }, + "FunctionVersion":{ + "shape":"FunctionVersion", + "documentation":"

Optional string. If not specified, only the unqualified functions ARNs (Amazon Resource Names) will be returned.

Valid value:

ALL _ Will return all versions, including $LATEST which will have fully qualified ARNs (Amazon Resource Names).

", + "location":"querystring", + "locationName":"FunctionVersion" + }, "Marker":{ "shape":"String", "documentation":"

Optional string. An opaque pagination token returned from a previous ListFunctions operation. If present, indicates where to continue the listing.

", @@ -1642,7 +1663,7 @@ "required":["FunctionName"], "members":{ "FunctionName":{ - "shape":"FunctionName", + "shape":"NamespacedFunctionName", "documentation":"

Function name whose versions to list. You can specify a function name (for example, Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail). AWS Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.

", "location":"uri", "locationName":"FunctionName" @@ -1684,6 +1705,10 @@ ] }, "Long":{"type":"long"}, + "MasterRegion":{ + "type":"string", + "pattern":"ALL|[a-z]{2}(-gov)?-[a-z]+-\\d{1}" + }, "MaxListItems":{ "type":"integer", "max":10000, @@ -1694,6 +1719,22 @@ "max":1536, "min":128 }, + "NameSpacedFunctionArn":{ + "type":"string", + "pattern":"arn:aws:lambda:[a-z]{2}-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_\\.]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?" + }, + "NamespacedFunctionName":{ + "type":"string", + "max":170, + "min":1, + "pattern":"(arn:aws:lambda:)?([a-z]{2}-[a-z]+-\\d{1}:)?(\\d{12}:)?(function:)?([a-zA-Z0-9-_\\.]+)(:(\\$LATEST|[a-zA-Z0-9-_]+))?" + }, + "NamespacedStatementId":{ + "type":"string", + "max":100, + "min":1, + "pattern":"([a-zA-Z0-9-_.]+)" + }, "PolicyLengthExceededException":{ "type":"structure", "members":{ @@ -1749,7 +1790,7 @@ "locationName":"FunctionName" }, "StatementId":{ - "shape":"StatementId", + "shape":"NamespacedStatementId", "documentation":"

Statement ID of the permission to remove.

", "location":"uri", "locationName":"StatementId" @@ -2129,7 +2170,7 @@ }, "Runtime":{ "shape":"Runtime", - "documentation":"

The runtime environment for the Lambda function.

To use the Python runtime v3.6, set the value to \"python3.6\". To use the Python runtime v2.7, set the value to \"python2.7\". To use the Node.js runtime v6.10, set the value to \"nodejs6.10\". To use the Node.js runtime v4.3, set the value to \"nodejs4.3\". To use the Python runtime v3.6, set the value to \"python3.6\". To use the Python runtime v2.7, set the value to \"python2.7\".

Node v0.10.42 is currently marked as deprecated. You must migrate existing functions to the newer Node.js runtime versions available on AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. You can request a one-time extension until June 30, 2017 by going to the Lambda console and following the instructions provided. Failure to do so will result in an invalid parameter value error being returned. Note that you will have to follow this procedure for each region that contains functions written in the Node v0.10.42 runtime.

" + "documentation":"

The runtime environment for the Lambda function.

To use the Python runtime v3.6, set the value to \"python3.6\". To use the Python runtime v2.7, set the value to \"python2.7\". To use the Node.js runtime v6.10, set the value to \"nodejs6.10\". To use the Node.js runtime v4.3, set the value to \"nodejs4.3\". To use the Python runtime v3.6, set the value to \"python3.6\".

Node v0.10.42 is currently marked as deprecated. You must migrate existing functions to the newer Node.js runtime versions available on AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. You can request a one-time extension until June 30, 2017 by going to the Lambda console and following the instructions provided. Failure to do so will result in an invalid parameter error being returned. Note that you will have to follow this procedure for each region that contains functions written in the Node v0.10.42 runtime.

" }, "DeadLetterConfig":{ "shape":"DeadLetterConfig", diff --git a/botocore/data/lex-models/2017-04-19/service-2.json b/botocore/data/lex-models/2017-04-19/service-2.json index d389475f..cdba7bcb 100644 --- a/botocore/data/lex-models/2017-04-19/service-2.json +++ b/botocore/data/lex-models/2017-04-19/service-2.json @@ -84,7 +84,7 @@ {"shape":"BadRequestException"}, {"shape":"ResourceInUseException"} ], - "documentation":"

Deletes all versions of the bot, including the $LATEST version. To delete a specific version of the bot, use the operation.

If a bot has an alias, you can't delete it. Instead, the DeleteBot operation returns a ResourceInUseException exception that includes a reference to the alias that refers to the bot. To remove the reference to the bot, delete the alias. If you get the same exception again, delete the referring alias until the DeleteBot operation is successful.

This operation requires permissions for the lex:DeleteBot action.

" + "documentation":"

Deletes all versions of the bot, including the $LATEST version. To delete a specific version of the bot, use the DeleteBotVersion operation.

If a bot has an alias, you can't delete it. Instead, the DeleteBot operation returns a ResourceInUseException exception that includes a reference to the alias that refers to the bot. To remove the reference to the bot, delete the alias. If you get the same exception again, delete the referring alias until the DeleteBot operation is successful.

This operation requires permissions for the lex:DeleteBot action.

" }, "DeleteBotAlias":{ "name":"DeleteBotAlias", @@ -137,7 +137,7 @@ {"shape":"BadRequestException"}, {"shape":"ResourceInUseException"} ], - "documentation":"

Deletes a specific version of a bot. To delete all versions of a bot, use the operation.

This operation requires permissions for the lex:DeleteBotVersion action.

" + "documentation":"

Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot operation.

This operation requires permissions for the lex:DeleteBotVersion action.

" }, "DeleteIntent":{ "name":"DeleteIntent", @@ -155,7 +155,7 @@ {"shape":"BadRequestException"}, {"shape":"ResourceInUseException"} ], - "documentation":"

Deletes all versions of the intent, including the $LATEST version. To delete a specific version of the intent, use the operation.

You can delete a version of an intent only if it is not referenced. To delete an intent that is referred to in one or more bots (see how-it-works), you must remove those references first.

If you get the ResourceInUseException exception, it provides an example reference that shows where the intent is referenced. To remove the reference to the intent, either update the bot or delete it. If you get the same exception when you attempt to delete the intent again, repeat until the intent has no references and the call to DeleteIntent is successful.

This operation requires permission for the lex:DeleteIntent action.

" + "documentation":"

Deletes all versions of the intent, including the $LATEST version. To delete a specific version of the intent, use the DeleteIntentVersion operation.

You can delete a version of an intent only if it is not referenced. To delete an intent that is referred to in one or more bots (see how-it-works), you must remove those references first.

If you get the ResourceInUseException exception, it provides an example reference that shows where the intent is referenced. To remove the reference to the intent, either update the bot or delete it. If you get the same exception when you attempt to delete the intent again, repeat until the intent has no references and the call to DeleteIntent is successful.

This operation requires permission for the lex:DeleteIntent action.

" }, "DeleteIntentVersion":{ "name":"DeleteIntentVersion", @@ -173,7 +173,7 @@ {"shape":"BadRequestException"}, {"shape":"ResourceInUseException"} ], - "documentation":"

Deletes a specific version of an intent. To delete all versions of a intent, use the operation.

This operation requires permissions for the lex:DeleteIntentVersion action.

" + "documentation":"

Deletes a specific version of an intent. To delete all versions of a intent, use the DeleteIntent operation.

This operation requires permissions for the lex:DeleteIntentVersion action.

" }, "DeleteSlotType":{ "name":"DeleteSlotType", @@ -191,7 +191,7 @@ {"shape":"BadRequestException"}, {"shape":"ResourceInUseException"} ], - "documentation":"

Deletes all versions of the slot type, including the $LATEST version. To delete a specific version of the slot type, use the operation.

You can delete a version of a slot type only if it is not referenced. To delete a slot type that is referred to in one or more intents, you must remove those references first.

If you get the ResourceInUseException exception, the exception provides an example reference that shows the intent where the slot type is referenced. To remove the reference to the slot type, either update the intent or delete it. If you get the same exception when you attempt to delete the slot type again, repeat until the slot type has no references and the DeleteSlotType call is successful.

This operation requires permission for the lex:DeleteSlotType action.

" + "documentation":"

Deletes all versions of the slot type, including the $LATEST version. To delete a specific version of the slot type, use the DeleteSlotTypeVersion operation.

You can delete a version of a slot type only if it is not referenced. To delete a slot type that is referred to in one or more intents, you must remove those references first.

If you get the ResourceInUseException exception, the exception provides an example reference that shows the intent where the slot type is referenced. To remove the reference to the slot type, either update the intent or delete it. If you get the same exception when you attempt to delete the slot type again, repeat until the slot type has no references and the DeleteSlotType call is successful.

This operation requires permission for the lex:DeleteSlotType action.

" }, "DeleteSlotTypeVersion":{ "name":"DeleteSlotTypeVersion", @@ -209,7 +209,7 @@ {"shape":"BadRequestException"}, {"shape":"ResourceInUseException"} ], - "documentation":"

Deletes a specific version of a slot type. To delete all versions of a slot type, use the operation.

This operation requires permissions for the lex:DeleteSlotTypeVersion action.

" + "documentation":"

Deletes a specific version of a slot type. To delete all versions of a slot type, use the DeleteSlotType operation.

This operation requires permissions for the lex:DeleteSlotTypeVersion action.

" }, "DeleteUtterances":{ "name":"DeleteUtterances", @@ -225,7 +225,7 @@ {"shape":"InternalFailureException"}, {"shape":"BadRequestException"} ], - "documentation":"

Deletes stored utterances.

Amazon Lex stores the utterances that users send to your bot unless the childDirected field in the bot is set to true. Utterances are stored for 15 days for use with the operation, and then stored indefinately for use in improving the ability of your bot to respond to user input.

Use the DeleteStoredUtterances operation to manually delete stored utterances for a specific user.

This operation requires permissions for the lex:DeleteUtterances action.

" + "documentation":"

Deletes stored utterances.

Amazon Lex stores the utterances that users send to your bot unless the childDirected field in the bot is set to true. Utterances are stored for 15 days for use with the GetUtterancesView operation, and then stored indefinately for use in improving the ability of your bot to respond to user input.

Use the DeleteStoredUtterances operation to manually delete stored utterances for a specific user.

This operation requires permissions for the lex:DeleteUtterances action.

" }, "GetBot":{ "name":"GetBot", @@ -509,7 +509,7 @@ {"shape":"InternalFailureException"}, {"shape":"BadRequestException"} ], - "documentation":"

Use the GetUtterancesView operation to get information about the utterances that your users have made to your bot. You can use this list to tune the utterances that your bot responds to.

For example, say that you have created a bot to order flowers. After your users have used your bot for a while, use the GetUtterancesView operation to see the requests that they have made and whether they have been successful. You might find that the utterance \"I want flowers\" is not being recognized. You could add this utterance to the OrderFlowers intent so that your bot recognizes that utterance.

After you publish a new version of a bot, you can get information about the old version and the new so that you can compare the performance across the two versions.

Data is available for the last 15 days. You can request information for up to 5 versions in each request. The response contains information about a maximum of 100 utterances for each version.

If the bot's childDirected field is set to true, utterances for the bot are not stored and cannot be retrieved with the GetUtterancesView operation. For more information, see .

This operation requires permissions for the lex:GetUtterancesView action.

" + "documentation":"

Use the GetUtterancesView operation to get information about the utterances that your users have made to your bot. You can use this list to tune the utterances that your bot responds to.

For example, say that you have created a bot to order flowers. After your users have used your bot for a while, use the GetUtterancesView operation to see the requests that they have made and whether they have been successful. You might find that the utterance \"I want flowers\" is not being recognized. You could add this utterance to the OrderFlowers intent so that your bot recognizes that utterance.

After you publish a new version of a bot, you can get information about the old version and the new so that you can compare the performance across the two versions.

Data is available for the last 15 days. You can request information for up to 5 versions in each request. The response contains information about a maximum of 100 utterances for each version.

If the bot's childDirected field is set to true, utterances for the bot are not stored and cannot be retrieved with the GetUtterancesView operation. For more information, see PutBot.

This operation requires permissions for the lex:GetUtterancesView action.

" }, "PutBot":{ "name":"PutBot", @@ -527,7 +527,7 @@ {"shape":"BadRequestException"}, {"shape":"PreconditionFailedException"} ], - "documentation":"

Creates an Amazon Lex conversational bot or replaces an existing bot. When you create or update a bot you only required to specify a name. You can use this to add intents later, or to remove intents from an existing bot. When you create a bot with a name only, the bot is created or updated but Amazon Lex returns the response FAILED. You can build the bot after you add one or more intents. For more information about Amazon Lex bots, see how-it-works.

If you specify the name of an existing bot, the fields in the request replace the existing values in the $LATEST version of the bot. Amazon Lex removes any fields that you don't provide values for in the request, except for the idleTTLInSeconds and privacySettings fields, which are set to their default values. If you don't specify values for required fields, Amazon Lex throws an exception.

This operation requires permissions for the lex:PutBot action. For more information, see auth-and-access-control.

" + "documentation":"

Creates an Amazon Lex conversational bot or replaces an existing bot. When you create or update a bot you are only required to specify a name. You can use this to add intents later, or to remove intents from an existing bot. When you create a bot with a name only, the bot is created or updated but Amazon Lex returns the response FAILED. You can build the bot after you add one or more intents. For more information about Amazon Lex bots, see how-it-works.

If you specify the name of an existing bot, the fields in the request replace the existing values in the $LATEST version of the bot. Amazon Lex removes any fields that you don't provide values for in the request, except for the idleTTLInSeconds and privacySettings fields, which are set to their default values. If you don't specify values for required fields, Amazon Lex throws an exception.

This operation requires permissions for the lex:PutBot action. For more information, see auth-and-access-control.

" }, "PutBotAlias":{ "name":"PutBotAlias", @@ -871,15 +871,15 @@ }, "intents":{ "shape":"IntentList", - "documentation":"

An array of Intent objects. For more information, see .

" + "documentation":"

An array of Intent objects. For more information, see PutBot.

" }, "clarificationPrompt":{ "shape":"Prompt", - "documentation":"

The message that Amazon Lex uses when it doesn't understand the user's request. For more information, see .

" + "documentation":"

The message that Amazon Lex uses when it doesn't understand the user's request. For more information, see PutBot.

" }, "abortStatement":{ "shape":"Statement", - "documentation":"

The message that Amazon Lex uses to abort a conversation. For more information, see .

" + "documentation":"

The message that Amazon Lex uses to abort a conversation. For more information, see PutBot.

" }, "status":{ "shape":"Status", @@ -899,7 +899,7 @@ }, "idleSessionTTLInSeconds":{ "shape":"SessionTTL", - "documentation":"

The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. For more information, see .

" + "documentation":"

The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. For more information, see PutBot.

" }, "voiceId":{ "shape":"String", @@ -1135,7 +1135,7 @@ }, "version":{ "shape":"NumericalVersion", - "documentation":"

The version of the bot to delete. You cannot delete the $LATEST version of the bot. To delete the $LATEST version, use the operation.

", + "documentation":"

The version of the bot to delete. You cannot delete the $LATEST version of the bot. To delete the $LATEST version, use the DeleteBot operation.

", "location":"uri", "locationName":"version" } @@ -1168,7 +1168,7 @@ }, "version":{ "shape":"NumericalVersion", - "documentation":"

The version of the intent to delete. You cannot delete the $LATEST version of the intent. To delete the $LATEST version, use the operation.

", + "documentation":"

The version of the intent to delete. You cannot delete the $LATEST version of the intent. To delete the $LATEST version, use the DeleteIntent operation.

", "location":"uri", "locationName":"version" } @@ -1201,7 +1201,7 @@ }, "version":{ "shape":"NumericalVersion", - "documentation":"

The version of the slot type to delete. You cannot delete the $LATEST version of the slot type. To delete the $LATEST version, use the operation.

", + "documentation":"

The version of the slot type to delete. You cannot delete the $LATEST version of the slot type. To delete the $LATEST version, use the DeleteSlotType operation.

", "location":"uri", "locationName":"version" } @@ -1222,7 +1222,7 @@ }, "userId":{ "shape":"UserId", - "documentation":"

The unique identifier for the user that made the utterances. This is the user ID that was sent in the or operation request that contained the utterance.

", + "documentation":"

The unique identifier for the user that made the utterances. This is the user ID that was sent in the PostContent or PostText operation request that contained the utterance.

", "location":"uri", "locationName":"userId" } @@ -1259,14 +1259,14 @@ "members":{ "prompt":{ "shape":"Prompt", - "documentation":"

Obtains information from the user.

" + "documentation":"

Prompts for information from the user.

" }, "rejectionStatement":{ "shape":"Statement", - "documentation":"

If the user answers \"no\" to the question defined in confirmationPrompt, Amazon Lex responds with this statement to acknowledge that the intent was canceled.

" + "documentation":"

If the user answers \"no\" to the question defined in the prompt field, Amazon Lex responds with this statement to acknowledge that the intent was canceled.

" } }, - "documentation":"

After an intent is fulfilled, you might prompt the user for additional activity. For example, after the OrderPizza intent is fulfilled (the pizza order is placed with a pizzeria), you might prompt the user to find out whether the user wants to order drinks (another intent you defined in your bot).

" + "documentation":"

A prompt for additional activity after an intent is fulfilled. For example, after the OrderPizza intent is fulfilled, you might prompt the user to find out whether the user wants to order drinks.

" }, "FulfillmentActivity":{ "type":"structure", @@ -1534,15 +1534,15 @@ }, "intents":{ "shape":"IntentList", - "documentation":"

An array of intent objects. For more information, see .

" + "documentation":"

An array of intent objects. For more information, see PutBot.

" }, "clarificationPrompt":{ "shape":"Prompt", - "documentation":"

The message Amazon Lex uses when it doesn't understand the user's request. For more information, see .

" + "documentation":"

The message Amazon Lex uses when it doesn't understand the user's request. For more information, see PutBot.

" }, "abortStatement":{ "shape":"Statement", - "documentation":"

The message that Amazon Lex returns when the user elects to end the conversation without completing it. For more information, see .

" + "documentation":"

The message that Amazon Lex returns when the user elects to end the conversation without completing it. For more information, see PutBot.

" }, "status":{ "shape":"Status", @@ -1562,11 +1562,11 @@ }, "idleSessionTTLInSeconds":{ "shape":"SessionTTL", - "documentation":"

The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. For more information, see .

" + "documentation":"

The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. For more information, see PutBot.

" }, "voiceId":{ "shape":"String", - "documentation":"

The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more information, see .

" + "documentation":"

The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more information, see PutBot.

" }, "checksum":{ "shape":"String", @@ -1814,7 +1814,7 @@ }, "confirmationPrompt":{ "shape":"Prompt", - "documentation":"

If defined in the bot, Amazon Lex uses prompt to confirm the intent before fulfilling the user's request. For more information, see .

" + "documentation":"

If defined in the bot, Amazon Lex uses prompt to confirm the intent before fulfilling the user's request. For more information, see PutIntent.

" }, "rejectionStatement":{ "shape":"Statement", @@ -1822,7 +1822,7 @@ }, "followUpPrompt":{ "shape":"FollowUpPrompt", - "documentation":"

If defined in the bot, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled. For more information, see .

" + "documentation":"

If defined in the bot, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled. For more information, see PutIntent.

" }, "conclusionStatement":{ "shape":"Statement", @@ -1830,11 +1830,11 @@ }, "dialogCodeHook":{ "shape":"CodeHook", - "documentation":"

If defined in the bot, Amazon Amazon Lex invokes this Lambda function for each user input. For more information, see .

" + "documentation":"

If defined in the bot, Amazon Amazon Lex invokes this Lambda function for each user input. For more information, see PutIntent.

" }, "fulfillmentActivity":{ "shape":"FulfillmentActivity", - "documentation":"

Describes how the intent is fulfilled. For more information, see .

" + "documentation":"

Describes how the intent is fulfilled. For more information, see PutIntent.

" }, "parentIntentSignature":{ "shape":"BuiltinIntentSignature", @@ -1923,7 +1923,7 @@ "members":{ "intents":{ "shape":"IntentMetadataList", - "documentation":"

An array of Intent objects. For more information, see .

" + "documentation":"

An array of Intent objects. For more information, see PutBot.

" }, "nextToken":{ "shape":"NextToken", @@ -2095,7 +2095,7 @@ }, "utterances":{ "shape":"ListsOfUtterances", - "documentation":"

An array of objects, each containing a list of objects describing the utterances that were processed by your bot. The response contains a maximum of 100 UtteranceData objects for each version.

" + "documentation":"

An array of UtteranceList objects, each containing a list of UtteranceData objects describing the utterances that were processed by your bot. The response contains a maximum of 100 UtteranceData objects for each version.

" } } }, @@ -2407,7 +2407,7 @@ }, "clarificationPrompt":{ "shape":"Prompt", - "documentation":"

When Amazon Lex doesn't understand the user's intent, it uses one of these messages to get clarification. For example, \"Sorry, I didn't understand. Please repeat.\" Amazon Lex repeats the clarification prompt the number of times specified in maxAttempts. If Amazon Lex still can't understand, it sends the message specified in abortStatement.

" + "documentation":"

When Amazon Lex doesn't understand the user's intent, it uses this message to get clarification. To specify how many times Amazon Lex should repeate the clarification prompt, use the maxAttempts field. If Amazon Lex still doesn't understand, it sends the message in the abortStatement field.

When you create a clarification prompt, make sure that it suggests the correct response from the user. for example, for a bot that orders pizza and drinks, you might create this clarification prompt: \"What would you like to do? You can say 'Order a pizza' or 'Order a drink.'\"

" }, "abortStatement":{ "shape":"Statement", @@ -2419,7 +2419,7 @@ }, "voiceId":{ "shape":"String", - "documentation":"

The Amazon Polly voice ID that you want Amazon Lex to use for voice interactions with the user. The locale configured for the voice must match the locale of the bot. For more information, see Voice in the Amazon Polly Developer Guide.

" + "documentation":"

The Amazon Polly voice ID that you want Amazon Lex to use for voice interactions with the user. The locale configured for the voice must match the locale of the bot. For more information, see Available Voices in the Amazon Polly Developer Guide.

" }, "checksum":{ "shape":"String", @@ -2452,15 +2452,15 @@ }, "intents":{ "shape":"IntentList", - "documentation":"

An array of Intent objects. For more information, see .

" + "documentation":"

An array of Intent objects. For more information, see PutBot.

" }, "clarificationPrompt":{ "shape":"Prompt", - "documentation":"

The prompts that Amazon Lex uses when it doesn't understand the user's intent. For more information, see .

" + "documentation":"

The prompts that Amazon Lex uses when it doesn't understand the user's intent. For more information, see PutBot.

" }, "abortStatement":{ "shape":"Statement", - "documentation":"

The message that Amazon Lex uses to abort a conversation. For more information, see .

" + "documentation":"

The message that Amazon Lex uses to abort a conversation. For more information, see PutBot.

" }, "status":{ "shape":"Status", @@ -2480,11 +2480,11 @@ }, "idleSessionTTLInSeconds":{ "shape":"SessionTTL", - "documentation":"

The maximum length of time that Amazon Lex retains the data gathered in a conversation. For more information, see .

" + "documentation":"

The maximum length of time that Amazon Lex retains the data gathered in a conversation. For more information, see PutBot.

" }, "voiceId":{ "shape":"String", - "documentation":"

The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more information, see .

" + "documentation":"

The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more information, see PutBot.

" }, "checksum":{ "shape":"String", @@ -2536,7 +2536,7 @@ }, "followUpPrompt":{ "shape":"FollowUpPrompt", - "documentation":"

A user prompt for additional activity after an intent is fulfilled. For example, after the OrderPizza intent is fulfilled (your Lambda function placed an order with a pizzeria), you might prompt the user to find if they want to order a drink (assuming that you have defined an OrderDrink intent in your bot).

The followUpPrompt and conclusionStatement are mutually exclusive. You can specify only one. For example, your bot may not solicit both the following:

Follow up prompt - \"$session.FirstName, your pizza order has been placed. Would you like to order a drink or a dessert?\"

Conclusion statement - \"$session.FirstName, your pizza order has been placed.\"

" + "documentation":"

Amazon Lex uses this prompt to solicit additional activity after fulfilling an intent. For example, after the OrderPizza intent is fulfilled, you might prompt the user to order a drink.

The action that Amazon Lex takes depends on the user's response, as follows:

The followUpPrompt field and the conclusionStatement field are mutually exclusive. You can specify only one.

" }, "conclusionStatement":{ "shape":"Statement", @@ -2842,7 +2842,7 @@ }, "responseCard":{ "shape":"ResponseCard", - "documentation":"

At runtime, if the client is using the API, Amazon Lex includes the response card in the response. It substitutes all of the session attributes and slot values for placeholders in the response card.

" + "documentation":"

At runtime, if the client is using the PostText API, Amazon Lex includes the response card in the response. It substitutes all of the session attributes and slot values for placeholders in the response card.

" } }, "documentation":"

A collection of messages that convey information to the user. At runtime, Amazon Lex selects the message to convey.

" @@ -2910,7 +2910,7 @@ }, "utterances":{ "shape":"ListOfUtterance", - "documentation":"

One or more objects that contain information about the utterances that have been made to a bot. The maximum number of object is 100.

" + "documentation":"

One or more UtteranceData objects that contain information about the utterances that have been made to a bot. The maximum number of object is 100.

" } }, "documentation":"

Provides a list of utterances that have been made to a specific version of your bot. The list contains a maximum of 100 utterances.

" diff --git a/botocore/data/marketplacecommerceanalytics/2015-07-01/service-2.json b/botocore/data/marketplacecommerceanalytics/2015-07-01/service-2.json index 17753cf6..e6107700 100644 --- a/botocore/data/marketplacecommerceanalytics/2015-07-01/service-2.json +++ b/botocore/data/marketplacecommerceanalytics/2015-07-01/service-2.json @@ -96,7 +96,7 @@ "members":{ "dataSetType":{ "shape":"DataSetType", - "documentation":"

The desired data set type.

" + "documentation":"

The desired data set type.

" }, "dataSetPublicationDate":{ "shape":"DataSetPublicationDate", diff --git a/botocore/data/organizations/2016-11-28/paginators-1.json b/botocore/data/organizations/2016-11-28/paginators-1.json index ea142457..a2a9966a 100644 --- a/botocore/data/organizations/2016-11-28/paginators-1.json +++ b/botocore/data/organizations/2016-11-28/paginators-1.json @@ -1,3 +1,76 @@ { - "pagination": {} + "pagination": { + "ListAccounts": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "Accounts" + }, + "ListAccountsForParent": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "Accounts" + }, + "ListChildren": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "Children" + }, + "ListCreateAccountStatus": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "CreateAccountStatuses" + }, + "ListHandshakesForAccount": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "Handshakes" + }, + "ListHandshakesForOrganization": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "Handshakes" + }, + "ListOrganizationalUnitsForParent": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "OrganizationalUnits" + }, + "ListParents": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "Parents" + }, + "ListPolicies": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "Policies" + }, + "ListPoliciesForTarget": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "Policies" + }, + "ListRoots": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "Roots" + }, + "ListTargetsForPolicy": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "Targets" + } + } } diff --git a/botocore/data/ssm/2014-11-06/paginators-1.json b/botocore/data/ssm/2014-11-06/paginators-1.json index bdf9afd2..e3b92f76 100644 --- a/botocore/data/ssm/2014-11-06/paginators-1.json +++ b/botocore/data/ssm/2014-11-06/paginators-1.json @@ -35,6 +35,12 @@ "output_token": "NextToken", "limit_key": "MaxResults", "result_key": "ActivationList" + }, + "DescribeParameters": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "Parameters" } } } diff --git a/botocore/data/swf/2012-01-25/service-2.json b/botocore/data/swf/2012-01-25/service-2.json index c96f4a49..b9b2aaea 100644 --- a/botocore/data/swf/2012-01-25/service-2.json +++ b/botocore/data/swf/2012-01-25/service-2.json @@ -1,18 +1,17 @@ { "version":"2.0", "metadata":{ - "uid":"swf-2012-01-25", "apiVersion":"2012-01-25", "endpointPrefix":"swf", "jsonVersion":"1.0", + "protocol":"json", "serviceAbbreviation":"Amazon SWF", "serviceFullName":"Amazon Simple Workflow Service", "signatureVersion":"v4", "targetPrefix":"SimpleWorkflowService", "timestampFormat":"unixTimestamp", - "protocol":"json" + "uid":"swf-2012-01-25" }, - "documentation":"Amazon Simple Workflow Service

The Amazon Simple Workflow Service (Amazon SWF) makes it easy to build applications that use Amazon's cloud to coordinate work across distributed components. In Amazon SWF, a task represents a logical unit of work that is performed by a component of your workflow. Coordinating tasks in a workflow involves managing intertask dependencies, scheduling, and concurrency in accordance with the logical flow of the application.

Amazon SWF gives you full control over implementing tasks and coordinating them without worrying about underlying complexities such as tracking their progress and maintaining their state.

This documentation serves as reference only. For a broader overview of the Amazon SWF programming model, see the Amazon SWF Developer Guide.

", "operations":{ "CountClosedWorkflowExecutions":{ "name":"CountClosedWorkflowExecutions", @@ -21,23 +20,12 @@ "requestUri":"/" }, "input":{"shape":"CountClosedWorkflowExecutionsInput"}, - "output":{ - "shape":"WorkflowExecutionCount", - "documentation":"

Contains the count of workflow executions returned from CountOpenWorkflowExecutions or CountClosedWorkflowExecutions

" - }, + "output":{"shape":"WorkflowExecutionCount"}, "errors":[ - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - } + {"shape":"UnknownResourceFault"}, + {"shape":"OperationNotPermittedFault"} ], - "documentation":"

Returns the number of closed workflow executions within the given domain that meet the specified filtering criteria.

This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Returns the number of closed workflow executions within the given domain that meet the specified filtering criteria.

This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "CountOpenWorkflowExecutions":{ "name":"CountOpenWorkflowExecutions", @@ -46,23 +34,12 @@ "requestUri":"/" }, "input":{"shape":"CountOpenWorkflowExecutionsInput"}, - "output":{ - "shape":"WorkflowExecutionCount", - "documentation":"

Contains the count of workflow executions returned from CountOpenWorkflowExecutions or CountClosedWorkflowExecutions

" - }, + "output":{"shape":"WorkflowExecutionCount"}, "errors":[ - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - } + {"shape":"UnknownResourceFault"}, + {"shape":"OperationNotPermittedFault"} ], - "documentation":"

Returns the number of open workflow executions within the given domain that meet the specified filtering criteria.

This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Returns the number of open workflow executions within the given domain that meet the specified filtering criteria.

This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "CountPendingActivityTasks":{ "name":"CountPendingActivityTasks", @@ -71,23 +48,12 @@ "requestUri":"/" }, "input":{"shape":"CountPendingActivityTasksInput"}, - "output":{ - "shape":"PendingTaskCount", - "documentation":"

Contains the count of tasks in a task list.

" - }, + "output":{"shape":"PendingTaskCount"}, "errors":[ - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - } + {"shape":"UnknownResourceFault"}, + {"shape":"OperationNotPermittedFault"} ], - "documentation":"

Returns the estimated number of activity tasks in the specified task list. The count returned is an approximation and is not guaranteed to be exact. If you specify a task list that no activity task was ever scheduled in then 0 will be returned.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Returns the estimated number of activity tasks in the specified task list. The count returned is an approximation and isn't guaranteed to be exact. If you specify a task list that no activity task was ever scheduled in then 0 is returned.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "CountPendingDecisionTasks":{ "name":"CountPendingDecisionTasks", @@ -96,23 +62,12 @@ "requestUri":"/" }, "input":{"shape":"CountPendingDecisionTasksInput"}, - "output":{ - "shape":"PendingTaskCount", - "documentation":"

Contains the count of tasks in a task list.

" - }, + "output":{"shape":"PendingTaskCount"}, "errors":[ - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - } + {"shape":"UnknownResourceFault"}, + {"shape":"OperationNotPermittedFault"} ], - "documentation":"

Returns the estimated number of decision tasks in the specified task list. The count returned is an approximation and is not guaranteed to be exact. If you specify a task list that no decision task was ever scheduled in then 0 will be returned.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Returns the estimated number of decision tasks in the specified task list. The count returned is an approximation and isn't guaranteed to be exact. If you specify a task list that no decision task was ever scheduled in then 0 is returned.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "DeprecateActivityType":{ "name":"DeprecateActivityType", @@ -122,23 +77,11 @@ }, "input":{"shape":"DeprecateActivityTypeInput"}, "errors":[ - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"TypeDeprecatedFault", - "exception":true, - "documentation":"

Returned when the specified activity or workflow type was already deprecated.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - } + {"shape":"UnknownResourceFault"}, + {"shape":"TypeDeprecatedFault"}, + {"shape":"OperationNotPermittedFault"} ], - "documentation":"

Deprecates the specified activity type. After an activity type has been deprecated, you cannot create new tasks of that activity type. Tasks of this type that were scheduled before the type was deprecated will continue to run.

This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Deprecates the specified activity type. After an activity type has been deprecated, you cannot create new tasks of that activity type. Tasks of this type that were scheduled before the type was deprecated continue to run.

This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "DeprecateDomain":{ "name":"DeprecateDomain", @@ -148,23 +91,11 @@ }, "input":{"shape":"DeprecateDomainInput"}, "errors":[ - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"DomainDeprecatedFault", - "exception":true, - "documentation":"

Returned when the specified domain has been deprecated.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - } + {"shape":"UnknownResourceFault"}, + {"shape":"DomainDeprecatedFault"}, + {"shape":"OperationNotPermittedFault"} ], - "documentation":"

Deprecates the specified domain. After a domain has been deprecated it cannot be used to create new workflow executions or register new types. However, you can still use visibility actions on this domain. Deprecating a domain also deprecates all activity and workflow types registered in the domain. Executions that were started before the domain was deprecated will continue to run.

This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Deprecates the specified domain. After a domain has been deprecated it cannot be used to create new workflow executions or register new types. However, you can still use visibility actions on this domain. Deprecating a domain also deprecates all activity and workflow types registered in the domain. Executions that were started before the domain was deprecated continues to run.

This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "DeprecateWorkflowType":{ "name":"DeprecateWorkflowType", @@ -174,23 +105,11 @@ }, "input":{"shape":"DeprecateWorkflowTypeInput"}, "errors":[ - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"TypeDeprecatedFault", - "exception":true, - "documentation":"

Returned when the specified activity or workflow type was already deprecated.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - } + {"shape":"UnknownResourceFault"}, + {"shape":"TypeDeprecatedFault"}, + {"shape":"OperationNotPermittedFault"} ], - "documentation":"

Deprecates the specified workflow type. After a workflow type has been deprecated, you cannot create new executions of that type. Executions that were started before the type was deprecated will continue to run. A deprecated workflow type may still be used when calling visibility actions.

This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Deprecates the specified workflow type. After a workflow type has been deprecated, you cannot create new executions of that type. Executions that were started before the type was deprecated continues to run. A deprecated workflow type may still be used when calling visibility actions.

This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "DescribeActivityType":{ "name":"DescribeActivityType", @@ -199,23 +118,12 @@ "requestUri":"/" }, "input":{"shape":"DescribeActivityTypeInput"}, - "output":{ - "shape":"ActivityTypeDetail", - "documentation":"

Detailed information about an activity type.

" - }, + "output":{"shape":"ActivityTypeDetail"}, "errors":[ - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - } + {"shape":"UnknownResourceFault"}, + {"shape":"OperationNotPermittedFault"} ], - "documentation":"

Returns information about the specified activity type. This includes configuration settings provided when the type was registered and other general information about the type.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Returns information about the specified activity type. This includes configuration settings provided when the type was registered and other general information about the type.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "DescribeDomain":{ "name":"DescribeDomain", @@ -224,23 +132,12 @@ "requestUri":"/" }, "input":{"shape":"DescribeDomainInput"}, - "output":{ - "shape":"DomainDetail", - "documentation":"

Contains details of a domain.

" - }, + "output":{"shape":"DomainDetail"}, "errors":[ - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - } + {"shape":"UnknownResourceFault"}, + {"shape":"OperationNotPermittedFault"} ], - "documentation":"

Returns information about the specified domain, including description and status.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Returns information about the specified domain, including description and status.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "DescribeWorkflowExecution":{ "name":"DescribeWorkflowExecution", @@ -249,23 +146,12 @@ "requestUri":"/" }, "input":{"shape":"DescribeWorkflowExecutionInput"}, - "output":{ - "shape":"WorkflowExecutionDetail", - "documentation":"

Contains details about a workflow execution.

" - }, + "output":{"shape":"WorkflowExecutionDetail"}, "errors":[ - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - } + {"shape":"UnknownResourceFault"}, + {"shape":"OperationNotPermittedFault"} ], - "documentation":"

Returns information about the specified workflow execution including its type and some statistics.

This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Returns information about the specified workflow execution including its type and some statistics.

This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "DescribeWorkflowType":{ "name":"DescribeWorkflowType", @@ -274,23 +160,12 @@ "requestUri":"/" }, "input":{"shape":"DescribeWorkflowTypeInput"}, - "output":{ - "shape":"WorkflowTypeDetail", - "documentation":"

Contains details about a workflow type.

" - }, + "output":{"shape":"WorkflowTypeDetail"}, "errors":[ - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - } + {"shape":"UnknownResourceFault"}, + {"shape":"OperationNotPermittedFault"} ], - "documentation":"

Returns information about the specified workflow type. This includes configuration settings specified when the type was registered and other information such as creation date, current status, and so on.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Returns information about the specified workflow type. This includes configuration settings specified when the type was registered and other information such as creation date, current status, etc.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "GetWorkflowExecutionHistory":{ "name":"GetWorkflowExecutionHistory", @@ -299,23 +174,12 @@ "requestUri":"/" }, "input":{"shape":"GetWorkflowExecutionHistoryInput"}, - "output":{ - "shape":"History", - "documentation":"

Paginated representation of a workflow history for a workflow execution. This is the up to date, complete and authoritative record of the events related to all tasks and events in the life of the workflow execution.

" - }, + "output":{"shape":"History"}, "errors":[ - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - } + {"shape":"UnknownResourceFault"}, + {"shape":"OperationNotPermittedFault"} ], - "documentation":"

Returns the history of the specified workflow execution. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call.

This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Returns the history of the specified workflow execution. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call.

This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "ListActivityTypes":{ "name":"ListActivityTypes", @@ -324,23 +188,12 @@ "requestUri":"/" }, "input":{"shape":"ListActivityTypesInput"}, - "output":{ - "shape":"ActivityTypeInfos", - "documentation":"

Contains a paginated list of activity type information structures.

" - }, + "output":{"shape":"ActivityTypeInfos"}, "errors":[ - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - }, - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - } + {"shape":"OperationNotPermittedFault"}, + {"shape":"UnknownResourceFault"} ], - "documentation":"

Returns information about all activities registered in the specified domain that match the specified name and registration status. The result includes information like creation date, current status of the activity, etc. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Returns information about all activities registered in the specified domain that match the specified name and registration status. The result includes information like creation date, current status of the activity, etc. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "ListClosedWorkflowExecutions":{ "name":"ListClosedWorkflowExecutions", @@ -349,23 +202,12 @@ "requestUri":"/" }, "input":{"shape":"ListClosedWorkflowExecutionsInput"}, - "output":{ - "shape":"WorkflowExecutionInfos", - "documentation":"

Contains a paginated list of information about workflow executions.

" - }, + "output":{"shape":"WorkflowExecutionInfos"}, "errors":[ - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - } + {"shape":"UnknownResourceFault"}, + {"shape":"OperationNotPermittedFault"} ], - "documentation":"

Returns a list of closed workflow executions in the specified domain that meet the filtering criteria. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call.

This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Returns a list of closed workflow executions in the specified domain that meet the filtering criteria. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call.

This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "ListDomains":{ "name":"ListDomains", @@ -374,18 +216,11 @@ "requestUri":"/" }, "input":{"shape":"ListDomainsInput"}, - "output":{ - "shape":"DomainInfos", - "documentation":"

Contains a paginated collection of DomainInfo structures.

" - }, + "output":{"shape":"DomainInfos"}, "errors":[ - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - } + {"shape":"OperationNotPermittedFault"} ], - "documentation":"

Returns the list of domains registered in the account. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call.

This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Returns the list of domains registered in the account. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call.

This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "ListOpenWorkflowExecutions":{ "name":"ListOpenWorkflowExecutions", @@ -394,23 +229,12 @@ "requestUri":"/" }, "input":{"shape":"ListOpenWorkflowExecutionsInput"}, - "output":{ - "shape":"WorkflowExecutionInfos", - "documentation":"

Contains a paginated list of information about workflow executions.

" - }, + "output":{"shape":"WorkflowExecutionInfos"}, "errors":[ - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - } + {"shape":"UnknownResourceFault"}, + {"shape":"OperationNotPermittedFault"} ], - "documentation":"

Returns a list of open workflow executions in the specified domain that meet the filtering criteria. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call.

This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Returns a list of open workflow executions in the specified domain that meet the filtering criteria. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call.

This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "ListWorkflowTypes":{ "name":"ListWorkflowTypes", @@ -419,23 +243,12 @@ "requestUri":"/" }, "input":{"shape":"ListWorkflowTypesInput"}, - "output":{ - "shape":"WorkflowTypeInfos", - "documentation":"

Contains a paginated list of information structures about workflow types.

" - }, + "output":{"shape":"WorkflowTypeInfos"}, "errors":[ - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - }, - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - } + {"shape":"OperationNotPermittedFault"}, + {"shape":"UnknownResourceFault"} ], - "documentation":"

Returns information about workflow types in the specified domain. The results may be split into multiple pages that can be retrieved by making the call repeatedly.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Returns information about workflow types in the specified domain. The results may be split into multiple pages that can be retrieved by making the call repeatedly.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "PollForActivityTask":{ "name":"PollForActivityTask", @@ -444,28 +257,13 @@ "requestUri":"/" }, "input":{"shape":"PollForActivityTaskInput"}, - "output":{ - "shape":"ActivityTask", - "documentation":"

Unit of work sent to an activity worker.

" - }, + "output":{"shape":"ActivityTask"}, "errors":[ - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - }, - { - "shape":"LimitExceededFault", - "exception":true, - "documentation":"

Returned by any operation if a system imposed limitation has been reached. To address this fault you should either clean up unused resources or increase the limit by contacting AWS.

" - } + {"shape":"UnknownResourceFault"}, + {"shape":"OperationNotPermittedFault"}, + {"shape":"LimitExceededFault"} ], - "documentation":"

Used by workers to get an ActivityTask from the specified activity taskList. This initiates a long poll, where the service holds the HTTP connection open and responds as soon as a task becomes available. The maximum time the service holds on to the request before responding is 60 seconds. If no task is available within 60 seconds, the poll will return an empty result. An empty result, in this context, means that an ActivityTask is returned, but that the value of taskToken is an empty string. If a task is returned, the worker should use its type to identify and process it correctly.

Workers should set their client side socket timeout to at least 70 seconds (10 seconds higher than the maximum time service may hold the poll request).

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Used by workers to get an ActivityTask from the specified activity taskList. This initiates a long poll, where the service holds the HTTP connection open and responds as soon as a task becomes available. The maximum time the service holds on to the request before responding is 60 seconds. If no task is available within 60 seconds, the poll returns an empty result. An empty result, in this context, means that an ActivityTask is returned, but that the value of taskToken is an empty string. If a task is returned, the worker should use its type to identify and process it correctly.

Workers should set their client side socket timeout to at least 70 seconds (10 seconds higher than the maximum time service may hold the poll request).

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "PollForDecisionTask":{ "name":"PollForDecisionTask", @@ -474,28 +272,13 @@ "requestUri":"/" }, "input":{"shape":"PollForDecisionTaskInput"}, - "output":{ - "shape":"DecisionTask", - "documentation":"

A structure that represents a decision task. Decision tasks are sent to deciders in order for them to make decisions.

" - }, + "output":{"shape":"DecisionTask"}, "errors":[ - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - }, - { - "shape":"LimitExceededFault", - "exception":true, - "documentation":"

Returned by any operation if a system imposed limitation has been reached. To address this fault you should either clean up unused resources or increase the limit by contacting AWS.

" - } + {"shape":"UnknownResourceFault"}, + {"shape":"OperationNotPermittedFault"}, + {"shape":"LimitExceededFault"} ], - "documentation":"

Used by deciders to get a DecisionTask from the specified decision taskList. A decision task may be returned for any open workflow execution that is using the specified task list. The task includes a paginated view of the history of the workflow execution. The decider should use the workflow type and the history to determine how to properly handle the task.

This action initiates a long poll, where the service holds the HTTP connection open and responds as soon a task becomes available. If no decision task is available in the specified task list before the timeout of 60 seconds expires, an empty result is returned. An empty result, in this context, means that a DecisionTask is returned, but that the value of taskToken is an empty string.

Deciders should set their client-side socket timeout to at least 70 seconds (10 seconds higher than the timeout). Because the number of workflow history events for a single workflow execution might be very large, the result returned might be split up across a number of pages. To retrieve subsequent pages, make additional calls to PollForDecisionTask using the nextPageToken returned by the initial call. Note that you do not call GetWorkflowExecutionHistory with this nextPageToken. Instead, call PollForDecisionTask again.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Used by deciders to get a DecisionTask from the specified decision taskList. A decision task may be returned for any open workflow execution that is using the specified task list. The task includes a paginated view of the history of the workflow execution. The decider should use the workflow type and the history to determine how to properly handle the task.

This action initiates a long poll, where the service holds the HTTP connection open and responds as soon a task becomes available. If no decision task is available in the specified task list before the timeout of 60 seconds expires, an empty result is returned. An empty result, in this context, means that a DecisionTask is returned, but that the value of taskToken is an empty string.

Deciders should set their client side socket timeout to at least 70 seconds (10 seconds higher than the timeout).

Because the number of workflow history events for a single workflow execution might be very large, the result returned might be split up across a number of pages. To retrieve subsequent pages, make additional calls to PollForDecisionTask using the nextPageToken returned by the initial call. Note that you do not call GetWorkflowExecutionHistory with this nextPageToken. Instead, call PollForDecisionTask again.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "RecordActivityTaskHeartbeat":{ "name":"RecordActivityTaskHeartbeat", @@ -504,23 +287,12 @@ "requestUri":"/" }, "input":{"shape":"RecordActivityTaskHeartbeatInput"}, - "output":{ - "shape":"ActivityTaskStatus", - "documentation":"

Status information about an activity task.

" - }, + "output":{"shape":"ActivityTaskStatus"}, "errors":[ - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - } + {"shape":"UnknownResourceFault"}, + {"shape":"OperationNotPermittedFault"} ], - "documentation":"

Used by activity workers to report to the service that the ActivityTask represented by the specified taskToken is still making progress. The worker can also (optionally) specify details of the progress, for example percent complete, using the details parameter. This action can also be used by the worker as a mechanism to check if cancellation is being requested for the activity task. If a cancellation is being attempted for the specified task, then the boolean cancelRequested flag returned by the service is set to true.

This action resets the taskHeartbeatTimeout clock. The taskHeartbeatTimeout is specified in RegisterActivityType.

This action does not in itself create an event in the workflow execution history. However, if the task times out, the workflow execution history will contain a ActivityTaskTimedOut event that contains the information from the last heartbeat generated by the activity worker.

The taskStartToCloseTimeout of an activity type is the maximum duration of an activity task, regardless of the number of RecordActivityTaskHeartbeat requests received. The taskStartToCloseTimeout is also specified in RegisterActivityType. This operation is only useful for long-lived activities to report liveliness of the task and to determine if a cancellation is being attempted. If the cancelRequested flag returns true, a cancellation is being attempted. If the worker can cancel the activity, it should respond with RespondActivityTaskCanceled. Otherwise, it should ignore the cancellation request.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Used by activity workers to report to the service that the ActivityTask represented by the specified taskToken is still making progress. The worker can also specify details of the progress, for example percent complete, using the details parameter. This action can also be used by the worker as a mechanism to check if cancellation is being requested for the activity task. If a cancellation is being attempted for the specified task, then the boolean cancelRequested flag returned by the service is set to true.

This action resets the taskHeartbeatTimeout clock. The taskHeartbeatTimeout is specified in RegisterActivityType.

This action doesn't in itself create an event in the workflow execution history. However, if the task times out, the workflow execution history contains a ActivityTaskTimedOut event that contains the information from the last heartbeat generated by the activity worker.

The taskStartToCloseTimeout of an activity type is the maximum duration of an activity task, regardless of the number of RecordActivityTaskHeartbeat requests received. The taskStartToCloseTimeout is also specified in RegisterActivityType.

This operation is only useful for long-lived activities to report liveliness of the task and to determine if a cancellation is being attempted.

If the cancelRequested flag returns true, a cancellation is being attempted. If the worker can cancel the activity, it should respond with RespondActivityTaskCanceled. Otherwise, it should ignore the cancellation request.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "RegisterActivityType":{ "name":"RegisterActivityType", @@ -530,28 +302,12 @@ }, "input":{"shape":"RegisterActivityTypeInput"}, "errors":[ - { - "shape":"TypeAlreadyExistsFault", - "exception":true, - "documentation":"

Returned if the type already exists in the specified domain. You will get this fault even if the existing type is in deprecated status. You can specify another version if the intent is to create a new distinct version of the type.

" - }, - { - "shape":"LimitExceededFault", - "exception":true, - "documentation":"

Returned by any operation if a system imposed limitation has been reached. To address this fault you should either clean up unused resources or increase the limit by contacting AWS.

" - }, - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - } + {"shape":"TypeAlreadyExistsFault"}, + {"shape":"LimitExceededFault"}, + {"shape":"UnknownResourceFault"}, + {"shape":"OperationNotPermittedFault"} ], - "documentation":"

Registers a new activity type along with its configuration settings in the specified domain.

A TypeAlreadyExists fault is returned if the type already exists in the domain. You cannot change any configuration settings of the type after its registration, and it must be registered as a new version.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Registers a new activity type along with its configuration settings in the specified domain.

A TypeAlreadyExists fault is returned if the type already exists in the domain. You cannot change any configuration settings of the type after its registration, and it must be registered as a new version.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "RegisterDomain":{ "name":"RegisterDomain", @@ -561,23 +317,11 @@ }, "input":{"shape":"RegisterDomainInput"}, "errors":[ - { - "shape":"DomainAlreadyExistsFault", - "exception":true, - "documentation":"

Returned if the specified domain already exists. You will get this fault even if the existing domain is in deprecated status.

" - }, - { - "shape":"LimitExceededFault", - "exception":true, - "documentation":"

Returned by any operation if a system imposed limitation has been reached. To address this fault you should either clean up unused resources or increase the limit by contacting AWS.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - } + {"shape":"DomainAlreadyExistsFault"}, + {"shape":"LimitExceededFault"}, + {"shape":"OperationNotPermittedFault"} ], - "documentation":"

Registers a new domain.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Registers a new domain.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "RegisterWorkflowType":{ "name":"RegisterWorkflowType", @@ -587,28 +331,12 @@ }, "input":{"shape":"RegisterWorkflowTypeInput"}, "errors":[ - { - "shape":"TypeAlreadyExistsFault", - "exception":true, - "documentation":"

Returned if the type already exists in the specified domain. You will get this fault even if the existing type is in deprecated status. You can specify another version if the intent is to create a new distinct version of the type.

" - }, - { - "shape":"LimitExceededFault", - "exception":true, - "documentation":"

Returned by any operation if a system imposed limitation has been reached. To address this fault you should either clean up unused resources or increase the limit by contacting AWS.

" - }, - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - } + {"shape":"TypeAlreadyExistsFault"}, + {"shape":"LimitExceededFault"}, + {"shape":"UnknownResourceFault"}, + {"shape":"OperationNotPermittedFault"} ], - "documentation":"

Registers a new workflow type and its configuration settings in the specified domain.

The retention period for the workflow history is set by the RegisterDomain action.

If the type already exists, then a TypeAlreadyExists fault is returned. You cannot change the configuration settings of a workflow type once it is registered and it must be registered as a new version.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Registers a new workflow type and its configuration settings in the specified domain.

The retention period for the workflow history is set by the RegisterDomain action.

If the type already exists, then a TypeAlreadyExists fault is returned. You cannot change the configuration settings of a workflow type once it is registered and it must be registered as a new version.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "RequestCancelWorkflowExecution":{ "name":"RequestCancelWorkflowExecution", @@ -618,18 +346,10 @@ }, "input":{"shape":"RequestCancelWorkflowExecutionInput"}, "errors":[ - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - } + {"shape":"UnknownResourceFault"}, + {"shape":"OperationNotPermittedFault"} ], - "documentation":"

Records a WorkflowExecutionCancelRequested event in the currently running workflow execution identified by the given domain, workflowId, and runId. This logically requests the cancellation of the workflow execution as a whole. It is up to the decider to take appropriate actions when it receives an execution history with this event.

If the runId is not specified, the WorkflowExecutionCancelRequested event is recorded in the history of the current open workflow execution with the specified workflowId in the domain. Because this action allows the workflow to properly clean up and gracefully close, it should be used instead of TerminateWorkflowExecution when possible.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Records a WorkflowExecutionCancelRequested event in the currently running workflow execution identified by the given domain, workflowId, and runId. This logically requests the cancellation of the workflow execution as a whole. It is up to the decider to take appropriate actions when it receives an execution history with this event.

If the runId isn't specified, the WorkflowExecutionCancelRequested event is recorded in the history of the current open workflow execution with the specified workflowId in the domain.

Because this action allows the workflow to properly clean up and gracefully close, it should be used instead of TerminateWorkflowExecution when possible.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "RespondActivityTaskCanceled":{ "name":"RespondActivityTaskCanceled", @@ -639,18 +359,10 @@ }, "input":{"shape":"RespondActivityTaskCanceledInput"}, "errors":[ - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - } + {"shape":"UnknownResourceFault"}, + {"shape":"OperationNotPermittedFault"} ], - "documentation":"

Used by workers to tell the service that the ActivityTask identified by the taskToken was successfully canceled. Additional details can be optionally provided using the details argument.

These details (if provided) appear in the ActivityTaskCanceled event added to the workflow history.

Only use this operation if the canceled flag of a RecordActivityTaskHeartbeat request returns true and if the activity can be safely undone or abandoned.

A task is considered open from the time that it is scheduled until it is closed. Therefore a task is reported as open while a worker is processing it. A task is closed after it has been specified in a call to RespondActivityTaskCompleted, RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has timed out.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Used by workers to tell the service that the ActivityTask identified by the taskToken was successfully canceled. Additional details can be provided using the details argument.

These details (if provided) appear in the ActivityTaskCanceled event added to the workflow history.

Only use this operation if the canceled flag of a RecordActivityTaskHeartbeat request returns true and if the activity can be safely undone or abandoned.

A task is considered open from the time that it is scheduled until it is closed. Therefore a task is reported as open while a worker is processing it. A task is closed after it has been specified in a call to RespondActivityTaskCompleted, RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has timed out.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "RespondActivityTaskCompleted":{ "name":"RespondActivityTaskCompleted", @@ -660,18 +372,10 @@ }, "input":{"shape":"RespondActivityTaskCompletedInput"}, "errors":[ - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - } + {"shape":"UnknownResourceFault"}, + {"shape":"OperationNotPermittedFault"} ], - "documentation":"

Used by workers to tell the service that the ActivityTask identified by the taskToken completed successfully with a result (if provided). The result appears in the ActivityTaskCompleted event in the workflow history.

If the requested task does not complete successfully, use RespondActivityTaskFailed instead. If the worker finds that the task is canceled through the canceled flag returned by RecordActivityTaskHeartbeat, it should cancel the task, clean up and then call RespondActivityTaskCanceled.

A task is considered open from the time that it is scheduled until it is closed. Therefore a task is reported as open while a worker is processing it. A task is closed after it has been specified in a call to RespondActivityTaskCompleted, RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has timed out.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Used by workers to tell the service that the ActivityTask identified by the taskToken completed successfully with a result (if provided). The result appears in the ActivityTaskCompleted event in the workflow history.

If the requested task doesn't complete successfully, use RespondActivityTaskFailed instead. If the worker finds that the task is canceled through the canceled flag returned by RecordActivityTaskHeartbeat, it should cancel the task, clean up and then call RespondActivityTaskCanceled.

A task is considered open from the time that it is scheduled until it is closed. Therefore a task is reported as open while a worker is processing it. A task is closed after it has been specified in a call to RespondActivityTaskCompleted, RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has timed out.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "RespondActivityTaskFailed":{ "name":"RespondActivityTaskFailed", @@ -681,18 +385,10 @@ }, "input":{"shape":"RespondActivityTaskFailedInput"}, "errors":[ - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - } + {"shape":"UnknownResourceFault"}, + {"shape":"OperationNotPermittedFault"} ], - "documentation":"

Used by workers to tell the service that the ActivityTask identified by the taskToken has failed with reason (if specified). The reason and details appear in the ActivityTaskFailed event added to the workflow history.

A task is considered open from the time that it is scheduled until it is closed. Therefore a task is reported as open while a worker is processing it. A task is closed after it has been specified in a call to RespondActivityTaskCompleted, RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has timed out.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Used by workers to tell the service that the ActivityTask identified by the taskToken has failed with reason (if specified). The reason and details appear in the ActivityTaskFailed event added to the workflow history.

A task is considered open from the time that it is scheduled until it is closed. Therefore a task is reported as open while a worker is processing it. A task is closed after it has been specified in a call to RespondActivityTaskCompleted, RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has timed out.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "RespondDecisionTaskCompleted":{ "name":"RespondDecisionTaskCompleted", @@ -702,18 +398,10 @@ }, "input":{"shape":"RespondDecisionTaskCompletedInput"}, "errors":[ - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - } + {"shape":"UnknownResourceFault"}, + {"shape":"OperationNotPermittedFault"} ], - "documentation":"

Used by deciders to tell the service that the DecisionTask identified by the taskToken has successfully completed. The decisions argument specifies the list of decisions made while processing the task.

A DecisionTaskCompleted event is added to the workflow history. The executionContext specified is attached to the event in the workflow execution history.

Access Control

If an IAM policy grants permission to use RespondDecisionTaskCompleted, it can express permissions for the list of decisions in the decisions parameter. Each of the decisions has one or more parameters, much like a regular API call. To allow for policies to be as readable as possible, you can express permissions on decisions as if they were actual API calls, including applying conditions to some parameters. For more information, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Used by deciders to tell the service that the DecisionTask identified by the taskToken has successfully completed. The decisions argument specifies the list of decisions made while processing the task.

A DecisionTaskCompleted event is added to the workflow history. The executionContext specified is attached to the event in the workflow execution history.

Access Control

If an IAM policy grants permission to use RespondDecisionTaskCompleted, it can express permissions for the list of decisions in the decisions parameter. Each of the decisions has one or more parameters, much like a regular API call. To allow for policies to be as readable as possible, you can express permissions on decisions as if they were actual API calls, including applying conditions to some parameters. For more information, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "SignalWorkflowExecution":{ "name":"SignalWorkflowExecution", @@ -723,18 +411,10 @@ }, "input":{"shape":"SignalWorkflowExecutionInput"}, "errors":[ - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - } + {"shape":"UnknownResourceFault"}, + {"shape":"OperationNotPermittedFault"} ], - "documentation":"

Records a WorkflowExecutionSignaled event in the workflow execution history and creates a decision task for the workflow execution identified by the given domain, workflowId and runId. The event is recorded with the specified user defined signalName and input (if provided).

If a runId is not specified, then the WorkflowExecutionSignaled event is recorded in the history of the current open workflow with the matching workflowId in the domain. If the specified workflow execution is not open, this method fails with UnknownResource.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Records a WorkflowExecutionSignaled event in the workflow execution history and creates a decision task for the workflow execution identified by the given domain, workflowId and runId. The event is recorded with the specified user defined signalName and input (if provided).

If a runId isn't specified, then the WorkflowExecutionSignaled event is recorded in the history of the current open workflow with the matching workflowId in the domain.

If the specified workflow execution isn't open, this method fails with UnknownResource.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "StartWorkflowExecution":{ "name":"StartWorkflowExecution", @@ -743,42 +423,16 @@ "requestUri":"/" }, "input":{"shape":"StartWorkflowExecutionInput"}, - "output":{ - "shape":"Run", - "documentation":"

Specifies the runId of a workflow execution.

" - }, + "output":{"shape":"Run"}, "errors":[ - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"TypeDeprecatedFault", - "exception":true, - "documentation":"

Returned when the specified activity or workflow type was already deprecated.

" - }, - { - "shape":"WorkflowExecutionAlreadyStartedFault", - "exception":true, - "documentation":"

Returned by StartWorkflowExecution when an open execution with the same workflowId is already running in the specified domain.

" - }, - { - "shape":"LimitExceededFault", - "exception":true, - "documentation":"

Returned by any operation if a system imposed limitation has been reached. To address this fault you should either clean up unused resources or increase the limit by contacting AWS.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - }, - { - "shape":"DefaultUndefinedFault", - "exception":true - } + {"shape":"UnknownResourceFault"}, + {"shape":"TypeDeprecatedFault"}, + {"shape":"WorkflowExecutionAlreadyStartedFault"}, + {"shape":"LimitExceededFault"}, + {"shape":"OperationNotPermittedFault"}, + {"shape":"DefaultUndefinedFault"} ], - "documentation":"

Starts an execution of the workflow type in the specified domain using the provided workflowId and input data.

This action returns the newly started workflow execution.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Starts an execution of the workflow type in the specified domain using the provided workflowId and input data.

This action returns the newly started workflow execution.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "TerminateWorkflowExecution":{ "name":"TerminateWorkflowExecution", @@ -788,25 +442,17 @@ }, "input":{"shape":"TerminateWorkflowExecutionInput"}, "errors":[ - { - "shape":"UnknownResourceFault", - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" - }, - { - "shape":"OperationNotPermittedFault", - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" - } + {"shape":"UnknownResourceFault"}, + {"shape":"OperationNotPermittedFault"} ], - "documentation":"

Records a WorkflowExecutionTerminated event and forces closure of the workflow execution identified by the given domain, runId, and workflowId. The child policy, registered with the workflow type or specified when starting this execution, is applied to any open child workflow executions of this workflow execution.

If the identified workflow execution was in progress, it is terminated immediately. If a runId is not specified, then the WorkflowExecutionTerminated event is recorded in the history of the current open workflow with the matching workflowId in the domain. You should consider using RequestCancelWorkflowExecution action instead because it allows the workflow to gracefully close while TerminateWorkflowExecution does not.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Records a WorkflowExecutionTerminated event and forces closure of the workflow execution identified by the given domain, runId, and workflowId. The child policy, registered with the workflow type or specified when starting this execution, is applied to any open child workflow executions of this workflow execution.

If the identified workflow execution was in progress, it is terminated immediately.

If a runId isn't specified, then the WorkflowExecutionTerminated event is recorded in the history of the current open workflow with the matching workflowId in the domain.

You should consider using RequestCancelWorkflowExecution action instead because it allows the workflow to gracefully close while TerminateWorkflowExecution doesn't.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" } }, "shapes":{ "ActivityId":{ "type":"string", - "min":1, - "max":256 + "max":256, + "min":1 }, "ActivityTask":{ "type":"structure", @@ -861,7 +507,7 @@ "documentation":"

The unique ID of the task.

" } }, - "documentation":"

Provides details of the ActivityTaskCancelRequested event.

" + "documentation":"

Provides the details of the ActivityTaskCancelRequested event.

" }, "ActivityTaskCanceledEventAttributes":{ "type":"structure", @@ -872,7 +518,7 @@ "members":{ "details":{ "shape":"Data", - "documentation":"

Details of the cancellation (if any).

" + "documentation":"

Details of the cancellation.

" }, "scheduledEventId":{ "shape":"EventId", @@ -887,7 +533,7 @@ "documentation":"

If set, contains the ID of the last ActivityTaskCancelRequested event recorded for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the ActivityTaskCanceled event.

" + "documentation":"

Provides the details of the ActivityTaskCanceled event.

" }, "ActivityTaskCompletedEventAttributes":{ "type":"structure", @@ -898,7 +544,7 @@ "members":{ "result":{ "shape":"Data", - "documentation":"

The results of the activity task (if any).

" + "documentation":"

The results of the activity task.

" }, "scheduledEventId":{ "shape":"EventId", @@ -909,7 +555,7 @@ "documentation":"

The ID of the ActivityTaskStarted event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the ActivityTaskCompleted event.

" + "documentation":"

Provides the details of the ActivityTaskCompleted event.

" }, "ActivityTaskFailedEventAttributes":{ "type":"structure", @@ -920,11 +566,11 @@ "members":{ "reason":{ "shape":"FailureReason", - "documentation":"

The reason provided for the failure (if any).

" + "documentation":"

The reason provided for the failure.

" }, "details":{ "shape":"Data", - "documentation":"

The details of the failure (if any).

" + "documentation":"

The details of the failure.

" }, "scheduledEventId":{ "shape":"EventId", @@ -935,7 +581,7 @@ "documentation":"

The ID of the ActivityTaskStarted event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the ActivityTaskFailed event.

" + "documentation":"

Provides the details of the ActivityTaskFailed event.

" }, "ActivityTaskScheduledEventAttributes":{ "type":"structure", @@ -960,7 +606,7 @@ }, "control":{ "shape":"Data", - "documentation":"

Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks. This data is not sent to the activity.

" + "documentation":"

Data attached to the event that can be used by the decider in subsequent workflow tasks. This data isn't sent to the activity.

" }, "scheduleToStartTimeout":{ "shape":"DurationInSecondsOptional", @@ -980,7 +626,7 @@ }, "taskPriority":{ "shape":"TaskPriority", - "documentation":"

Optional. The priority to assign to the scheduled activity task. If set, this will override any default priority value that was assigned when the activity type was registered.

Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide.

" + "documentation":"

The priority to assign to the scheduled activity task. If set, this overrides any default priority value that was assigned when the activity type was registered.

Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

" }, "decisionTaskCompletedEventId":{ "shape":"EventId", @@ -988,10 +634,10 @@ }, "heartbeatTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

The maximum time before which the worker processing this task must report progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. If the worker subsequently attempts to record a heartbeat or return a result, it will be ignored.

" + "documentation":"

The maximum time before which the worker processing this task must report progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. If the worker subsequently attempts to record a heartbeat or return a result, it is ignored.

" } }, - "documentation":"

Provides details of the ActivityTaskScheduled event.

" + "documentation":"

Provides the details of the ActivityTaskScheduled event.

" }, "ActivityTaskStartedEventAttributes":{ "type":"structure", @@ -1006,7 +652,7 @@ "documentation":"

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the ActivityTaskStarted event.

" + "documentation":"

Provides the details of the ActivityTaskStarted event.

" }, "ActivityTaskStatus":{ "type":"structure", @@ -1044,7 +690,7 @@ "documentation":"

Contains the content of the details parameter for the last call made by the activity to RecordActivityTaskHeartbeat.

" } }, - "documentation":"

Provides details of the ActivityTaskTimedOut event.

" + "documentation":"

Provides the details of the ActivityTaskTimedOut event.

" }, "ActivityTaskTimeoutType":{ "type":"string", @@ -1064,11 +710,11 @@ "members":{ "name":{ "shape":"Name", - "documentation":"

The name of this activity.

The combination of activity type name and version must be unique within a domain." + "documentation":"

The name of this activity.

The combination of activity type name and version must be unique within a domain.

" }, "version":{ "shape":"Version", - "documentation":"

The version of this activity.

The combination of activity type name and version must be unique with in a domain." + "documentation":"

The version of this activity.

The combination of activity type name and version must be unique with in a domain.

" } }, "documentation":"

Represents an activity type.

" @@ -1078,27 +724,27 @@ "members":{ "defaultTaskStartToCloseTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

Optional. The default maximum duration for tasks of an activity type specified when registering the activity type. You can override this default when scheduling a task through the ScheduleActivityTask decision.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

" + "documentation":"

The default maximum duration for tasks of an activity type specified when registering the activity type. You can override this default when scheduling a task through the ScheduleActivityTask Decision.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" }, "defaultTaskHeartbeatTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

Optional. The default maximum time, in seconds, before which a worker processing a task must report progress by calling RecordActivityTaskHeartbeat.

You can specify this value only when registering an activity type. The registered default value can be overridden when you schedule a task through the ScheduleActivityTask decision. If the activity worker subsequently attempts to record a heartbeat or returns a result, the activity worker receives an UnknownResource fault. In this case, Amazon SWF no longer considers the activity task to be valid; the activity worker should clean up the activity task.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

" + "documentation":"

The default maximum time, in seconds, before which a worker processing a task must report progress by calling RecordActivityTaskHeartbeat.

You can specify this value only when registering an activity type. The registered default value can be overridden when you schedule a task through the ScheduleActivityTask Decision. If the activity worker subsequently attempts to record a heartbeat or returns a result, the activity worker receives an UnknownResource fault. In this case, Amazon SWF no longer considers the activity task to be valid; the activity worker should clean up the activity task.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" }, "defaultTaskList":{ "shape":"TaskList", - "documentation":"

Optional. The default task list specified for this activity type at registration. This default is used if a task list is not provided when a task is scheduled through the ScheduleActivityTask decision. You can override the default registered task list when scheduling a task through the ScheduleActivityTask decision.

" + "documentation":"

The default task list specified for this activity type at registration. This default is used if a task list isn't provided when a task is scheduled through the ScheduleActivityTask Decision. You can override the default registered task list when scheduling a task through the ScheduleActivityTask Decision.

" }, "defaultTaskPriority":{ "shape":"TaskPriority", - "documentation":"

Optional. The default task priority for tasks of this activity type, specified at registration. If not set, then \"0\" will be used as the default priority. This default can be overridden when scheduling an activity task.

Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide.

" + "documentation":"

The default task priority for tasks of this activity type, specified at registration. If not set, then 0 is used as the default priority. This default can be overridden when scheduling an activity task.

Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

" }, "defaultTaskScheduleToStartTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

Optional. The default maximum duration, specified when registering the activity type, that a task of an activity type can wait before being assigned to a worker. You can override this default when scheduling a task through the ScheduleActivityTask decision.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

" + "documentation":"

The default maximum duration, specified when registering the activity type, that a task of an activity type can wait before being assigned to a worker. You can override this default when scheduling a task through the ScheduleActivityTask Decision.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" }, "defaultTaskScheduleToCloseTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

Optional. The default maximum duration, specified when registering the activity type, for tasks of this activity type. You can override this default when scheduling a task through the ScheduleActivityTask decision.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

" + "documentation":"

The default maximum duration, specified when registering the activity type, for tasks of this activity type. You can override this default when scheduling a task through the ScheduleActivityTask Decision.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" } }, "documentation":"

Configuration settings registered with the activity type.

" @@ -1112,7 +758,7 @@ "members":{ "typeInfo":{ "shape":"ActivityTypeInfo", - "documentation":"

General information about the activity type.

The status of activity type (returned in the ActivityTypeInfo structure) can be one of the following.

" + "documentation":"

General information about the activity type.

The status of activity type (returned in the ActivityTypeInfo structure) can be one of the following.

" }, "configuration":{ "shape":"ActivityTypeConfiguration", @@ -1173,8 +819,8 @@ }, "Arn":{ "type":"string", - "min":1, - "max":1224 + "max":1600, + "min":1 }, "CancelTimerDecisionAttributes":{ "type":"structure", @@ -1182,10 +828,10 @@ "members":{ "timerId":{ "shape":"TimerId", - "documentation":"

Required. The unique ID of the timer to cancel.

" + "documentation":"

The unique ID of the timer to cancel.

" } }, - "documentation":"

Provides details of the CancelTimer decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Provides the details of the CancelTimer decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "CancelTimerFailedCause":{ "type":"string", @@ -1208,24 +854,24 @@ }, "cause":{ "shape":"CancelTimerFailedCause", - "documentation":"

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows." + "documentation":"

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "decisionTaskCompletedEventId":{ "shape":"EventId", "documentation":"

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the CancelTimerFailed event.

" + "documentation":"

Provides the details of the CancelTimerFailed event.

" }, "CancelWorkflowExecutionDecisionAttributes":{ "type":"structure", "members":{ "details":{ "shape":"Data", - "documentation":"

Optional. details of the cancellation.

" + "documentation":"

Details of the cancellation.

" } }, - "documentation":"

Provides details of the CancelWorkflowExecution decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Provides the details of the CancelWorkflowExecution decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "CancelWorkflowExecutionFailedCause":{ "type":"string", @@ -1243,14 +889,14 @@ "members":{ "cause":{ "shape":"CancelWorkflowExecutionFailedCause", - "documentation":"

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows." + "documentation":"

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "decisionTaskCompletedEventId":{ "shape":"EventId", "documentation":"

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the CancelWorkflowExecutionFailed event.

" + "documentation":"

Provides the details of the CancelWorkflowExecutionFailed event.

" }, "Canceled":{"type":"boolean"}, "CauseMessage":{ @@ -1288,7 +934,7 @@ }, "initiatedEventId":{ "shape":"EventId", - "documentation":"

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" + "documentation":"

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" }, "startedEventId":{ "shape":"EventId", @@ -1316,18 +962,18 @@ }, "result":{ "shape":"Data", - "documentation":"

The result of the child workflow execution (if any).

" + "documentation":"

The result of the child workflow execution.

" }, "initiatedEventId":{ "shape":"EventId", - "documentation":"

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" + "documentation":"

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" }, "startedEventId":{ "shape":"EventId", "documentation":"

The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the ChildWorkflowExecutionCompleted event.

" + "documentation":"

Provides the details of the ChildWorkflowExecutionCompleted event.

" }, "ChildWorkflowExecutionFailedEventAttributes":{ "type":"structure", @@ -1356,14 +1002,14 @@ }, "initiatedEventId":{ "shape":"EventId", - "documentation":"

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" + "documentation":"

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" }, "startedEventId":{ "shape":"EventId", "documentation":"

The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the ChildWorkflowExecutionFailed event.

" + "documentation":"

Provides the details of the ChildWorkflowExecutionFailed event.

" }, "ChildWorkflowExecutionStartedEventAttributes":{ "type":"structure", @@ -1379,14 +1025,14 @@ }, "workflowType":{ "shape":"WorkflowType", - "documentation":"

The type of the child workflow execution.

" + "documentation":"

The type of the child workflow execution.

" }, "initiatedEventId":{ "shape":"EventId", - "documentation":"

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" + "documentation":"

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the ChildWorkflowExecutionStarted event.

" + "documentation":"

Provides the details of the ChildWorkflowExecutionStarted event.

" }, "ChildWorkflowExecutionTerminatedEventAttributes":{ "type":"structure", @@ -1407,14 +1053,14 @@ }, "initiatedEventId":{ "shape":"EventId", - "documentation":"

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" + "documentation":"

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" }, "startedEventId":{ "shape":"EventId", "documentation":"

The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the ChildWorkflowExecutionTerminated event.

" + "documentation":"

Provides the details of the ChildWorkflowExecutionTerminated event.

" }, "ChildWorkflowExecutionTimedOutEventAttributes":{ "type":"structure", @@ -1440,14 +1086,14 @@ }, "initiatedEventId":{ "shape":"EventId", - "documentation":"

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" + "documentation":"

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" }, "startedEventId":{ "shape":"EventId", "documentation":"

The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the ChildWorkflowExecutionTimedOut event.

" + "documentation":"

Provides the details of the ChildWorkflowExecutionTimedOut event.

" }, "CloseStatus":{ "type":"string", @@ -1466,7 +1112,7 @@ "members":{ "status":{ "shape":"CloseStatus", - "documentation":"

Required. The close status that must match the close status of an execution for it to meet the criteria of this filter.

" + "documentation":"

The close status that must match the close status of an execution for it to meet the criteria of this filter.

" } }, "documentation":"

Used to filter the closed workflow executions in visibility APIs by their close status.

" @@ -1479,7 +1125,7 @@ "documentation":"

The result of the workflow execution. The form of the result is implementation defined.

" } }, - "documentation":"

Provides details of the CompleteWorkflowExecution decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Provides the details of the CompleteWorkflowExecution decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "CompleteWorkflowExecutionFailedCause":{ "type":"string", @@ -1497,14 +1143,14 @@ "members":{ "cause":{ "shape":"CompleteWorkflowExecutionFailedCause", - "documentation":"

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows." + "documentation":"

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "decisionTaskCompletedEventId":{ "shape":"EventId", "documentation":"

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CompleteWorkflowExecution decision to complete this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the CompleteWorkflowExecutionFailed event.

" + "documentation":"

Provides the details of the CompleteWorkflowExecutionFailed event.

" }, "ContinueAsNewWorkflowExecutionDecisionAttributes":{ "type":"structure", @@ -1515,32 +1161,38 @@ }, "executionStartToCloseTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

If set, specifies the total duration for this workflow execution. This overrides the defaultExecutionStartToCloseTimeout specified when registering the workflow type.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

An execution start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this field. If neither this field is set nor a default execution start-to-close timeout was specified at registration time then a fault will be returned." + "documentation":"

If set, specifies the total duration for this workflow execution. This overrides the defaultExecutionStartToCloseTimeout specified when registering the workflow type.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

An execution start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this field. If neither this field is set nor a default execution start-to-close timeout was specified at registration time then a fault is returned.

" + }, + "taskList":{ + "shape":"TaskList", + "documentation":"

The task list to use for the decisions of the new (continued) workflow execution.

" }, - "taskList":{"shape":"TaskList"}, "taskPriority":{ "shape":"TaskPriority", - "documentation":"

Optional. The task priority that, if set, specifies the priority for the decision tasks for this workflow execution. This overrides the defaultTaskPriority specified when registering the workflow type. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide.

" + "documentation":"

The task priority that, if set, specifies the priority for the decision tasks for this workflow execution. This overrides the defaultTaskPriority specified when registering the workflow type. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

" }, "taskStartToCloseTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

Specifies the maximum duration of decision tasks for the new workflow execution. This parameter overrides the defaultTaskStartToCloseTimout specified when registering the workflow type using RegisterWorkflowType.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

A task start-to-close timeout for the new workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task start-to-close timeout was specified at registration time then a fault will be returned." + "documentation":"

Specifies the maximum duration of decision tasks for the new workflow execution. This parameter overrides the defaultTaskStartToCloseTimout specified when registering the workflow type using RegisterWorkflowType.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

A task start-to-close timeout for the new workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task start-to-close timeout was specified at registration time then a fault is returned.

" }, "childPolicy":{ "shape":"ChildPolicy", - "documentation":"

If set, specifies the policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This policy overrides the default child policy specified when registering the workflow type using RegisterWorkflowType.

The supported child policies are:

A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault will be returned." + "documentation":"

If set, specifies the policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This policy overrides the default child policy specified when registering the workflow type using RegisterWorkflowType.

The supported child policies are:

A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault is returned.

" }, "tagList":{ "shape":"TagList", "documentation":"

The list of tags to associate with the new workflow execution. A maximum of 5 tags can be specified. You can list workflow executions with a specific tag by calling ListOpenWorkflowExecutions or ListClosedWorkflowExecutions and specifying a TagFilter.

" }, - "workflowTypeVersion":{"shape":"Version"}, + "workflowTypeVersion":{ + "shape":"Version", + "documentation":"

The version of the workflow to start.

" + }, "lambdaRole":{ "shape":"Arn", - "documentation":"

The ARN of an IAM role that authorizes Amazon SWF to invoke AWS Lambda functions.

In order for this workflow execution to invoke AWS Lambda functions, an appropriate IAM role must be specified either as a default for the workflow type or through this field." + "documentation":"

The IAM role to attach to the new (continued) execution.

" } }, - "documentation":"

Provides details of the ContinueAsNewWorkflowExecution decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Provides the details of the ContinueAsNewWorkflowExecution decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "ContinueAsNewWorkflowExecutionFailedCause":{ "type":"string", @@ -1565,14 +1217,14 @@ "members":{ "cause":{ "shape":"ContinueAsNewWorkflowExecutionFailedCause", - "documentation":"

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows." + "documentation":"

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "decisionTaskCompletedEventId":{ "shape":"EventId", "documentation":"

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the ContinueAsNewWorkflowExecution decision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the ContinueAsNewWorkflowExecutionFailed event.

" + "documentation":"

Provides the details of the ContinueAsNewWorkflowExecutionFailed event.

" }, "Count":{ "type":"integer", @@ -1588,27 +1240,27 @@ }, "startTimeFilter":{ "shape":"ExecutionTimeFilter", - "documentation":"

If specified, only workflow executions that meet the start time criteria of the filter are counted.

startTimeFilter and closeTimeFilter are mutually exclusive. You must specify one of these in a request but not both." + "documentation":"

If specified, only workflow executions that meet the start time criteria of the filter are counted.

startTimeFilter and closeTimeFilter are mutually exclusive. You must specify one of these in a request but not both.

" }, "closeTimeFilter":{ "shape":"ExecutionTimeFilter", - "documentation":"

If specified, only workflow executions that meet the close time criteria of the filter are counted.

startTimeFilter and closeTimeFilter are mutually exclusive. You must specify one of these in a request but not both." + "documentation":"

If specified, only workflow executions that meet the close time criteria of the filter are counted.

startTimeFilter and closeTimeFilter are mutually exclusive. You must specify one of these in a request but not both.

" }, "executionFilter":{ "shape":"WorkflowExecutionFilter", - "documentation":"

If specified, only workflow executions matching the WorkflowId in the filter are counted.

closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request." + "documentation":"

If specified, only workflow executions matching the WorkflowId in the filter are counted.

closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

" }, "typeFilter":{ "shape":"WorkflowTypeFilter", - "documentation":"

If specified, indicates the type of the workflow executions to be counted.

closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request." + "documentation":"

If specified, indicates the type of the workflow executions to be counted.

closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

" }, "tagFilter":{ "shape":"TagFilter", - "documentation":"

If specified, only executions that have a tag that matches the filter are counted.

closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request." + "documentation":"

If specified, only executions that have a tag that matches the filter are counted.

closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

" }, "closeStatusFilter":{ "shape":"CloseStatusFilter", - "documentation":"

If specified, only workflow executions that match this close status are counted. This filter has an affect only if executionStatus is specified as CLOSED.

closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request." + "documentation":"

If specified, only workflow executions that match this close status are counted. This filter has an affect only if executionStatus is specified as CLOSED.

closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

" } } }, @@ -1629,15 +1281,15 @@ }, "typeFilter":{ "shape":"WorkflowTypeFilter", - "documentation":"

Specifies the type of the workflow executions to be counted.

executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request." + "documentation":"

Specifies the type of the workflow executions to be counted.

executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

" }, "tagFilter":{ "shape":"TagFilter", - "documentation":"

If specified, only executions that have a tag that matches the filter are counted.

executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request." + "documentation":"

If specified, only executions that have a tag that matches the filter are counted.

executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

" }, "executionFilter":{ "shape":"WorkflowExecutionFilter", - "documentation":"

If specified, only workflow executions matching the WorkflowId in the filter are counted.

executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request." + "documentation":"

If specified, only workflow executions matching the WorkflowId in the filter are counted.

executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

" } } }, @@ -1689,55 +1341,58 @@ }, "scheduleActivityTaskDecisionAttributes":{ "shape":"ScheduleActivityTaskDecisionAttributes", - "documentation":"

Provides details of the ScheduleActivityTask decision. It is not set for other decision types.

" + "documentation":"

Provides the details of the ScheduleActivityTask decision. It isn't set for other decision types.

" }, "requestCancelActivityTaskDecisionAttributes":{ "shape":"RequestCancelActivityTaskDecisionAttributes", - "documentation":"

Provides details of the RequestCancelActivityTask decision. It is not set for other decision types.

" + "documentation":"

Provides the details of the RequestCancelActivityTask decision. It isn't set for other decision types.

" }, "completeWorkflowExecutionDecisionAttributes":{ "shape":"CompleteWorkflowExecutionDecisionAttributes", - "documentation":"

Provides details of the CompleteWorkflowExecution decision. It is not set for other decision types.

" + "documentation":"

Provides the details of the CompleteWorkflowExecution decision. It isn't set for other decision types.

" }, "failWorkflowExecutionDecisionAttributes":{ "shape":"FailWorkflowExecutionDecisionAttributes", - "documentation":"

Provides details of the FailWorkflowExecution decision. It is not set for other decision types.

" + "documentation":"

Provides the details of the FailWorkflowExecution decision. It isn't set for other decision types.

" }, "cancelWorkflowExecutionDecisionAttributes":{ "shape":"CancelWorkflowExecutionDecisionAttributes", - "documentation":"

Provides details of the CancelWorkflowExecution decision. It is not set for other decision types.

" + "documentation":"

Provides the details of the CancelWorkflowExecution decision. It isn't set for other decision types.

" }, "continueAsNewWorkflowExecutionDecisionAttributes":{ "shape":"ContinueAsNewWorkflowExecutionDecisionAttributes", - "documentation":"

Provides details of the ContinueAsNewWorkflowExecution decision. It is not set for other decision types.

" + "documentation":"

Provides the details of the ContinueAsNewWorkflowExecution decision. It isn't set for other decision types.

" }, "recordMarkerDecisionAttributes":{ "shape":"RecordMarkerDecisionAttributes", - "documentation":"

Provides details of the RecordMarker decision. It is not set for other decision types.

" + "documentation":"

Provides the details of the RecordMarker decision. It isn't set for other decision types.

" }, "startTimerDecisionAttributes":{ "shape":"StartTimerDecisionAttributes", - "documentation":"

Provides details of the StartTimer decision. It is not set for other decision types.

" + "documentation":"

Provides the details of the StartTimer decision. It isn't set for other decision types.

" }, "cancelTimerDecisionAttributes":{ "shape":"CancelTimerDecisionAttributes", - "documentation":"

Provides details of the CancelTimer decision. It is not set for other decision types.

" + "documentation":"

Provides the details of the CancelTimer decision. It isn't set for other decision types.

" }, "signalExternalWorkflowExecutionDecisionAttributes":{ "shape":"SignalExternalWorkflowExecutionDecisionAttributes", - "documentation":"

Provides details of the SignalExternalWorkflowExecution decision. It is not set for other decision types.

" + "documentation":"

Provides the details of the SignalExternalWorkflowExecution decision. It isn't set for other decision types.

" }, "requestCancelExternalWorkflowExecutionDecisionAttributes":{ "shape":"RequestCancelExternalWorkflowExecutionDecisionAttributes", - "documentation":"

Provides details of the RequestCancelExternalWorkflowExecution decision. It is not set for other decision types.

" + "documentation":"

Provides the details of the RequestCancelExternalWorkflowExecution decision. It isn't set for other decision types.

" }, "startChildWorkflowExecutionDecisionAttributes":{ "shape":"StartChildWorkflowExecutionDecisionAttributes", - "documentation":"

Provides details of the StartChildWorkflowExecution decision. It is not set for other decision types.

" + "documentation":"

Provides the details of the StartChildWorkflowExecution decision. It isn't set for other decision types.

" }, - "scheduleLambdaFunctionDecisionAttributes":{"shape":"ScheduleLambdaFunctionDecisionAttributes"} + "scheduleLambdaFunctionDecisionAttributes":{ + "shape":"ScheduleLambdaFunctionDecisionAttributes", + "documentation":"

Provides the details of the ScheduleLambdaFunction decision. It isn't set for other decision types.

" + } }, - "documentation":"

Specifies a decision made by the decider. A decision can be one of these types:

Access Control

If you grant permission to use RespondDecisionTaskCompleted, you can use IAM policies to express permissions for the list of decisions returned by this action as if they were members of the API. Treating decisions as a pseudo API maintains a uniform conceptual model and helps keep policies readable. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

Decision Failure

Decisions can fail for several reasons

One of the following events might be added to the history to indicate an error. The event attribute's cause parameter indicates the cause. If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

The preceding error events might occur due to an error in the decider logic, which might put the workflow execution in an unstable state The cause field in the event structure for the error event indicates the cause of the error.

A workflow execution may be closed by the decider by returning one of the following decisions when completing a decision task: CompleteWorkflowExecution, FailWorkflowExecution, CancelWorkflowExecution and ContinueAsNewWorkflowExecution. An UnhandledDecision fault will be returned if a workflow closing decision is specified and a signal or activity event had been added to the history while the decision task was being performed by the decider. Unlike the above situations which are logic issues, this fault is always possible because of race conditions in a distributed system. The right action here is to call RespondDecisionTaskCompleted without any decisions. This would result in another decision task with these new events included in the history. The decider should handle the new events and may decide to close the workflow execution.

How to code a decision

You code a decision by first setting the decision type field to one of the above decision values, and then set the corresponding attributes field shown below:

" + "documentation":"

Specifies a decision made by the decider. A decision can be one of these types:

Access Control

If you grant permission to use RespondDecisionTaskCompleted, you can use IAM policies to express permissions for the list of decisions returned by this action as if they were members of the API. Treating decisions as a pseudo API maintains a uniform conceptual model and helps keep policies readable. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

Decision Failure

Decisions can fail for several reasons

One of the following events might be added to the history to indicate an error. The event attribute's cause parameter indicates the cause. If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

The preceding error events might occur due to an error in the decider logic, which might put the workflow execution in an unstable state The cause field in the event structure for the error event indicates the cause of the error.

A workflow execution may be closed by the decider by returning one of the following decisions when completing a decision task: CompleteWorkflowExecution, FailWorkflowExecution, CancelWorkflowExecution and ContinueAsNewWorkflowExecution. An UnhandledDecision fault is returned if a workflow closing decision is specified and a signal or activity event had been added to the history while the decision task was being performed by the decider. Unlike the above situations which are logic issues, this fault is always possible because of race conditions in a distributed system. The right action here is to call RespondDecisionTaskCompleted without any decisions. This would result in another decision task with these new events included in the history. The decider should handle the new events and may decide to close the workflow execution.

How to Code a Decision

You code a decision by first setting the decision type field to one of the above decision values, and then set the corresponding attributes field shown below:

" }, "DecisionList":{ "type":"list", @@ -1804,7 +1459,7 @@ "documentation":"

The ID of the DecisionTaskStarted event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the DecisionTaskCompleted event.

" + "documentation":"

Provides the details of the DecisionTaskCompleted event.

" }, "DecisionTaskScheduledEventAttributes":{ "type":"structure", @@ -1816,11 +1471,11 @@ }, "taskPriority":{ "shape":"TaskPriority", - "documentation":"

Optional. A task priority that, if set, specifies the priority for this decision task. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide.

" + "documentation":"

A task priority that, if set, specifies the priority for this decision task. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

" }, "startToCloseTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

The maximum duration for this decision task. The task is considered timed out if it does not completed within this duration.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

" + "documentation":"

The maximum duration for this decision task. The task is considered timed out if it doesn't completed within this duration.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" } }, "documentation":"

Provides details about the DecisionTaskScheduled event.

" @@ -1838,7 +1493,7 @@ "documentation":"

The ID of the DecisionTaskScheduled event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the DecisionTaskStarted event.

" + "documentation":"

Provides the details of the DecisionTaskStarted event.

" }, "DecisionTaskTimedOutEventAttributes":{ "type":"structure", @@ -1861,7 +1516,7 @@ "documentation":"

The ID of the DecisionTaskStarted event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the DecisionTaskTimedOut event.

" + "documentation":"

Provides the details of the DecisionTaskTimedOut event.

" }, "DecisionTaskTimeoutType":{ "type":"string", @@ -1890,6 +1545,7 @@ "members":{ "message":{"shape":"ErrorMessage"} }, + "documentation":"

The StartWorkflowExecution API action was called without the required parameters set.

Some workflow execution parameters, such as the decision taskList, must be set to start the execution. However, these parameters might have been set as defaults when the workflow type was registered. In this case, you can omit these parameters from the StartWorkflowExecution call and Amazon SWF uses the values defined in the workflow type.

If these parameters aren't set and no default parameters were defined in the workflow type, this error is displayed.

", "exception":true }, "DeprecateActivityTypeInput":{ @@ -2009,8 +1665,8 @@ "documentation":"

A description that may help with diagnosing the cause of the fault.

" } }, - "exception":true, - "documentation":"

Returned if the specified domain already exists. You will get this fault even if the existing domain is in deprecated status.

" + "documentation":"

Returned if the specified domain already exists. You get this fault even if the existing domain is in deprecated status.

", + "exception":true }, "DomainConfiguration":{ "type":"structure", @@ -2031,8 +1687,8 @@ "documentation":"

A description that may help with diagnosing the cause of the fault.

" } }, - "exception":true, - "documentation":"

Returned when the specified domain has been deprecated.

" + "documentation":"

Returned when the specified domain has been deprecated.

", + "exception":true }, "DomainDetail":{ "type":"structure", @@ -2041,8 +1697,14 @@ "configuration" ], "members":{ - "domainInfo":{"shape":"DomainInfo"}, - "configuration":{"shape":"DomainConfiguration"} + "domainInfo":{ + "shape":"DomainInfo", + "documentation":"

The basic information about a domain, such as its name, status, and description.

" + }, + "configuration":{ + "shape":"DomainConfiguration", + "documentation":"

The domain configuration. Currently, this includes only the domain's retention period.

" + } }, "documentation":"

Contains details of a domain.

" }, @@ -2059,7 +1721,7 @@ }, "status":{ "shape":"RegistrationStatus", - "documentation":"

The status of the domain:

" + "documentation":"

The status of the domain:

" }, "description":{ "shape":"Description", @@ -2089,18 +1751,18 @@ }, "DomainName":{ "type":"string", - "min":1, - "max":256 + "max":256, + "min":1 }, "DurationInDays":{ "type":"string", - "min":1, - "max":8 + "max":8, + "min":1 }, "DurationInSeconds":{ "type":"string", - "min":1, - "max":8 + "max":8, + "min":1 }, "DurationInSecondsOptional":{ "type":"string", @@ -2187,7 +1849,7 @@ "documentation":"

Specifies the latest start or close date and time to return.

" } }, - "documentation":"

Used to filter the workflow executions in visibility APIs by various time-based rules. Each parameter, if specified, defines a rule that must be satisfied by each returned query result. The parameter values are in the Unix Time format. For example: \"oldestDate\": 1325376070.

" + "documentation":"

Used to filter the workflow executions in visibility APIs by various time-based rules. Each parameter, if specified, defines a rule that must be satisfied by each returned query result. The parameter values are in the Unix Time format. For example: \"oldestDate\": 1325376070.

" }, "ExternalWorkflowExecutionCancelRequestedEventAttributes":{ "type":"structure", @@ -2205,7 +1867,7 @@ "documentation":"

The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the ExternalWorkflowExecutionCancelRequested event.

" + "documentation":"

Provides the details of the ExternalWorkflowExecutionCancelRequested event.

" }, "ExternalWorkflowExecutionSignaledEventAttributes":{ "type":"structure", @@ -2216,14 +1878,14 @@ "members":{ "workflowExecution":{ "shape":"WorkflowExecution", - "documentation":"

The external workflow execution that the signal was delivered to.

" + "documentation":"

The external workflow execution that the signal was delivered to.

" }, "initiatedEventId":{ "shape":"EventId", "documentation":"

The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflowExecution decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the ExternalWorkflowExecutionSignaled event.

" + "documentation":"

Provides the details of the ExternalWorkflowExecutionSignaled event.

" }, "FailWorkflowExecutionDecisionAttributes":{ "type":"structure", @@ -2234,10 +1896,10 @@ }, "details":{ "shape":"Data", - "documentation":"

Optional. Details of the failure.

" + "documentation":"

Details of the failure.

" } }, - "documentation":"

Provides details of the FailWorkflowExecution decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Provides the details of the FailWorkflowExecution decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "FailWorkflowExecutionFailedCause":{ "type":"string", @@ -2255,14 +1917,14 @@ "members":{ "cause":{ "shape":"FailWorkflowExecutionFailedCause", - "documentation":"

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows." + "documentation":"

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "decisionTaskCompletedEventId":{ "shape":"EventId", "documentation":"

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the FailWorkflowExecution decision to fail this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the FailWorkflowExecutionFailed event.

" + "documentation":"

Provides the details of the FailWorkflowExecutionFailed event.

" }, "FailureReason":{ "type":"string", @@ -2270,18 +1932,18 @@ }, "FunctionId":{ "type":"string", - "min":1, - "max":256 + "max":256, + "min":1 }, "FunctionInput":{ "type":"string", - "min":1, - "max":32768 + "max":32768, + "min":0 }, "FunctionName":{ "type":"string", - "min":1, - "max":64 + "max":64, + "min":1 }, "GetWorkflowExecutionHistoryInput":{ "type":"structure", @@ -2304,7 +1966,7 @@ }, "maximumPageSize":{ "shape":"PageSize", - "documentation":"

The maximum number of results that will be returned per call. nextPageToken can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum.

This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.

" + "documentation":"

The maximum number of results that are returned per call. nextPageToken can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum.

This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.

" }, "reverseOrder":{ "shape":"ReverseOrder", @@ -2349,201 +2011,222 @@ }, "workflowExecutionStartedEventAttributes":{ "shape":"WorkflowExecutionStartedEventAttributes", - "documentation":"

If the event is of type WorkflowExecutionStarted then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type WorkflowExecutionStarted then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "workflowExecutionCompletedEventAttributes":{ "shape":"WorkflowExecutionCompletedEventAttributes", - "documentation":"

If the event is of type WorkflowExecutionCompleted then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type WorkflowExecutionCompleted then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "completeWorkflowExecutionFailedEventAttributes":{ "shape":"CompleteWorkflowExecutionFailedEventAttributes", - "documentation":"

If the event is of type CompleteWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type CompleteWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "workflowExecutionFailedEventAttributes":{ "shape":"WorkflowExecutionFailedEventAttributes", - "documentation":"

If the event is of type WorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type WorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "failWorkflowExecutionFailedEventAttributes":{ "shape":"FailWorkflowExecutionFailedEventAttributes", - "documentation":"

If the event is of type FailWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type FailWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "workflowExecutionTimedOutEventAttributes":{ "shape":"WorkflowExecutionTimedOutEventAttributes", - "documentation":"

If the event is of type WorkflowExecutionTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type WorkflowExecutionTimedOut then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "workflowExecutionCanceledEventAttributes":{ "shape":"WorkflowExecutionCanceledEventAttributes", - "documentation":"

If the event is of type WorkflowExecutionCanceled then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type WorkflowExecutionCanceled then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "cancelWorkflowExecutionFailedEventAttributes":{ "shape":"CancelWorkflowExecutionFailedEventAttributes", - "documentation":"

If the event is of type CancelWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type CancelWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "workflowExecutionContinuedAsNewEventAttributes":{ "shape":"WorkflowExecutionContinuedAsNewEventAttributes", - "documentation":"

If the event is of type WorkflowExecutionContinuedAsNew then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type WorkflowExecutionContinuedAsNew then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "continueAsNewWorkflowExecutionFailedEventAttributes":{ "shape":"ContinueAsNewWorkflowExecutionFailedEventAttributes", - "documentation":"

If the event is of type ContinueAsNewWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type ContinueAsNewWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "workflowExecutionTerminatedEventAttributes":{ "shape":"WorkflowExecutionTerminatedEventAttributes", - "documentation":"

If the event is of type WorkflowExecutionTerminated then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type WorkflowExecutionTerminated then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "workflowExecutionCancelRequestedEventAttributes":{ "shape":"WorkflowExecutionCancelRequestedEventAttributes", - "documentation":"

If the event is of type WorkflowExecutionCancelRequested then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type WorkflowExecutionCancelRequested then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "decisionTaskScheduledEventAttributes":{ "shape":"DecisionTaskScheduledEventAttributes", - "documentation":"

If the event is of type DecisionTaskScheduled then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type DecisionTaskScheduled then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "decisionTaskStartedEventAttributes":{ "shape":"DecisionTaskStartedEventAttributes", - "documentation":"

If the event is of type DecisionTaskStarted then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type DecisionTaskStarted then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "decisionTaskCompletedEventAttributes":{ "shape":"DecisionTaskCompletedEventAttributes", - "documentation":"

If the event is of type DecisionTaskCompleted then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type DecisionTaskCompleted then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "decisionTaskTimedOutEventAttributes":{ "shape":"DecisionTaskTimedOutEventAttributes", - "documentation":"

If the event is of type DecisionTaskTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type DecisionTaskTimedOut then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "activityTaskScheduledEventAttributes":{ "shape":"ActivityTaskScheduledEventAttributes", - "documentation":"

If the event is of type ActivityTaskScheduled then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type ActivityTaskScheduled then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "activityTaskStartedEventAttributes":{ "shape":"ActivityTaskStartedEventAttributes", - "documentation":"

If the event is of type ActivityTaskStarted then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type ActivityTaskStarted then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "activityTaskCompletedEventAttributes":{ "shape":"ActivityTaskCompletedEventAttributes", - "documentation":"

If the event is of type ActivityTaskCompleted then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type ActivityTaskCompleted then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "activityTaskFailedEventAttributes":{ "shape":"ActivityTaskFailedEventAttributes", - "documentation":"

If the event is of type ActivityTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type ActivityTaskFailed then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "activityTaskTimedOutEventAttributes":{ "shape":"ActivityTaskTimedOutEventAttributes", - "documentation":"

If the event is of type ActivityTaskTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type ActivityTaskTimedOut then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "activityTaskCanceledEventAttributes":{ "shape":"ActivityTaskCanceledEventAttributes", - "documentation":"

If the event is of type ActivityTaskCanceled then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type ActivityTaskCanceled then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "activityTaskCancelRequestedEventAttributes":{ "shape":"ActivityTaskCancelRequestedEventAttributes", - "documentation":"

If the event is of type ActivityTaskcancelRequested then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type ActivityTaskcancelRequested then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "workflowExecutionSignaledEventAttributes":{ "shape":"WorkflowExecutionSignaledEventAttributes", - "documentation":"

If the event is of type WorkflowExecutionSignaled then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type WorkflowExecutionSignaled then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "markerRecordedEventAttributes":{ "shape":"MarkerRecordedEventAttributes", - "documentation":"

If the event is of type MarkerRecorded then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type MarkerRecorded then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "recordMarkerFailedEventAttributes":{ "shape":"RecordMarkerFailedEventAttributes", - "documentation":"

If the event is of type DecisionTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type DecisionTaskFailed then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "timerStartedEventAttributes":{ "shape":"TimerStartedEventAttributes", - "documentation":"

If the event is of type TimerStarted then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type TimerStarted then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "timerFiredEventAttributes":{ "shape":"TimerFiredEventAttributes", - "documentation":"

If the event is of type TimerFired then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type TimerFired then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "timerCanceledEventAttributes":{ "shape":"TimerCanceledEventAttributes", - "documentation":"

If the event is of type TimerCanceled then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type TimerCanceled then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "startChildWorkflowExecutionInitiatedEventAttributes":{ "shape":"StartChildWorkflowExecutionInitiatedEventAttributes", - "documentation":"

If the event is of type StartChildWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type StartChildWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "childWorkflowExecutionStartedEventAttributes":{ "shape":"ChildWorkflowExecutionStartedEventAttributes", - "documentation":"

If the event is of type ChildWorkflowExecutionStarted then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type ChildWorkflowExecutionStarted then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "childWorkflowExecutionCompletedEventAttributes":{ "shape":"ChildWorkflowExecutionCompletedEventAttributes", - "documentation":"

If the event is of type ChildWorkflowExecutionCompleted then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type ChildWorkflowExecutionCompleted then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "childWorkflowExecutionFailedEventAttributes":{ "shape":"ChildWorkflowExecutionFailedEventAttributes", - "documentation":"

If the event is of type ChildWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type ChildWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "childWorkflowExecutionTimedOutEventAttributes":{ "shape":"ChildWorkflowExecutionTimedOutEventAttributes", - "documentation":"

If the event is of type ChildWorkflowExecutionTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type ChildWorkflowExecutionTimedOut then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "childWorkflowExecutionCanceledEventAttributes":{ "shape":"ChildWorkflowExecutionCanceledEventAttributes", - "documentation":"

If the event is of type ChildWorkflowExecutionCanceled then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type ChildWorkflowExecutionCanceled then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "childWorkflowExecutionTerminatedEventAttributes":{ "shape":"ChildWorkflowExecutionTerminatedEventAttributes", - "documentation":"

If the event is of type ChildWorkflowExecutionTerminated then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type ChildWorkflowExecutionTerminated then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "signalExternalWorkflowExecutionInitiatedEventAttributes":{ "shape":"SignalExternalWorkflowExecutionInitiatedEventAttributes", - "documentation":"

If the event is of type SignalExternalWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type SignalExternalWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "externalWorkflowExecutionSignaledEventAttributes":{ "shape":"ExternalWorkflowExecutionSignaledEventAttributes", - "documentation":"

If the event is of type ExternalWorkflowExecutionSignaled then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type ExternalWorkflowExecutionSignaled then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "signalExternalWorkflowExecutionFailedEventAttributes":{ "shape":"SignalExternalWorkflowExecutionFailedEventAttributes", - "documentation":"

If the event is of type SignalExternalWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type SignalExternalWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "externalWorkflowExecutionCancelRequestedEventAttributes":{ "shape":"ExternalWorkflowExecutionCancelRequestedEventAttributes", - "documentation":"

If the event is of type ExternalWorkflowExecutionCancelRequested then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type ExternalWorkflowExecutionCancelRequested then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "requestCancelExternalWorkflowExecutionInitiatedEventAttributes":{ "shape":"RequestCancelExternalWorkflowExecutionInitiatedEventAttributes", - "documentation":"

If the event is of type RequestCancelExternalWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type RequestCancelExternalWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "requestCancelExternalWorkflowExecutionFailedEventAttributes":{ "shape":"RequestCancelExternalWorkflowExecutionFailedEventAttributes", - "documentation":"

If the event is of type RequestCancelExternalWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type RequestCancelExternalWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "scheduleActivityTaskFailedEventAttributes":{ "shape":"ScheduleActivityTaskFailedEventAttributes", - "documentation":"

If the event is of type ScheduleActivityTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type ScheduleActivityTaskFailed then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "requestCancelActivityTaskFailedEventAttributes":{ "shape":"RequestCancelActivityTaskFailedEventAttributes", - "documentation":"

If the event is of type RequestCancelActivityTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type RequestCancelActivityTaskFailed then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "startTimerFailedEventAttributes":{ "shape":"StartTimerFailedEventAttributes", - "documentation":"

If the event is of type StartTimerFailed then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type StartTimerFailed then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "cancelTimerFailedEventAttributes":{ "shape":"CancelTimerFailedEventAttributes", - "documentation":"

If the event is of type CancelTimerFailed then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type CancelTimerFailed then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, "startChildWorkflowExecutionFailedEventAttributes":{ "shape":"StartChildWorkflowExecutionFailedEventAttributes", - "documentation":"

If the event is of type StartChildWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

" + "documentation":"

If the event is of type StartChildWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.

" }, - "lambdaFunctionScheduledEventAttributes":{"shape":"LambdaFunctionScheduledEventAttributes"}, - "lambdaFunctionStartedEventAttributes":{"shape":"LambdaFunctionStartedEventAttributes"}, - "lambdaFunctionCompletedEventAttributes":{"shape":"LambdaFunctionCompletedEventAttributes"}, - "lambdaFunctionFailedEventAttributes":{"shape":"LambdaFunctionFailedEventAttributes"}, - "lambdaFunctionTimedOutEventAttributes":{"shape":"LambdaFunctionTimedOutEventAttributes"}, - "scheduleLambdaFunctionFailedEventAttributes":{"shape":"ScheduleLambdaFunctionFailedEventAttributes"}, - "startLambdaFunctionFailedEventAttributes":{"shape":"StartLambdaFunctionFailedEventAttributes"} + "lambdaFunctionScheduledEventAttributes":{ + "shape":"LambdaFunctionScheduledEventAttributes", + "documentation":"

Provides the details of the LambdaFunctionScheduled event. It isn't set for other event types.

" + }, + "lambdaFunctionStartedEventAttributes":{ + "shape":"LambdaFunctionStartedEventAttributes", + "documentation":"

Provides the details of the LambdaFunctionStarted event. It isn't set for other event types.

" + }, + "lambdaFunctionCompletedEventAttributes":{ + "shape":"LambdaFunctionCompletedEventAttributes", + "documentation":"

Provides the details of the LambdaFunctionCompleted event. It isn't set for other event types.

" + }, + "lambdaFunctionFailedEventAttributes":{ + "shape":"LambdaFunctionFailedEventAttributes", + "documentation":"

Provides the details of the LambdaFunctionFailed event. It isn't set for other event types.

" + }, + "lambdaFunctionTimedOutEventAttributes":{ + "shape":"LambdaFunctionTimedOutEventAttributes", + "documentation":"

Provides the details of the LambdaFunctionTimedOut event. It isn't set for other event types.

" + }, + "scheduleLambdaFunctionFailedEventAttributes":{ + "shape":"ScheduleLambdaFunctionFailedEventAttributes", + "documentation":"

Provides the details of the ScheduleLambdaFunctionFailed event. It isn't set for other event types.

" + }, + "startLambdaFunctionFailedEventAttributes":{ + "shape":"StartLambdaFunctionFailedEventAttributes", + "documentation":"

Provides the details of the StartLambdaFunctionFailed event. It isn't set for other event types.

" + } }, - "documentation":"

Event within a workflow execution. A history event can be one of these types:

" + "documentation":"

Event within a workflow execution. A history event can be one of these types:

" }, "HistoryEventList":{ "type":"list", @@ -2562,18 +2245,18 @@ "members":{ "scheduledEventId":{ "shape":"EventId", - "documentation":"

The ID of the LambdaFunctionScheduled event that was recorded when this AWS Lambda function was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" + "documentation":"

The ID of the LambdaFunctionScheduled event that was recorded when this Lambda task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

" }, "startedEventId":{ "shape":"EventId", - "documentation":"

The ID of the LambdaFunctionStarted event recorded in the history.

" + "documentation":"

The ID of the LambdaFunctionStarted event recorded when this activity task started. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

" }, "result":{ "shape":"Data", - "documentation":"

The result of the function execution (if any).

" + "documentation":"

The results of the Lambda task.

" } }, - "documentation":"

Provides details for the LambdaFunctionCompleted event.

" + "documentation":"

Provides the details of the LambdaFunctionCompleted event. It isn't set for other event types.

" }, "LambdaFunctionFailedEventAttributes":{ "type":"structure", @@ -2584,22 +2267,22 @@ "members":{ "scheduledEventId":{ "shape":"EventId", - "documentation":"

The ID of the LambdaFunctionScheduled event that was recorded when this AWS Lambda function was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" + "documentation":"

The ID of the LambdaFunctionScheduled event that was recorded when this activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

" }, "startedEventId":{ "shape":"EventId", - "documentation":"

The ID of the LambdaFunctionStarted event recorded in the history.

" + "documentation":"

The ID of the LambdaFunctionStarted event recorded when this activity task started. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

" }, "reason":{ "shape":"FailureReason", - "documentation":"

The reason provided for the failure (if any).

" + "documentation":"

The reason provided for the failure.

" }, "details":{ "shape":"Data", - "documentation":"

The details of the failure (if any).

" + "documentation":"

The details of the failure.

" } }, - "documentation":"

Provides details for the LambdaFunctionFailed event.

" + "documentation":"

Provides the details of the LambdaFunctionFailed event. It isn't set for other event types.

" }, "LambdaFunctionScheduledEventAttributes":{ "type":"structure", @@ -2611,26 +2294,30 @@ "members":{ "id":{ "shape":"FunctionId", - "documentation":"

The unique Amazon SWF ID for the AWS Lambda task.

" + "documentation":"

The unique ID of the Lambda task.

" }, "name":{ "shape":"FunctionName", - "documentation":"

The name of the scheduled AWS Lambda function.

" + "documentation":"

The name of the Lambda function.

" + }, + "control":{ + "shape":"Data", + "documentation":"

Data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the Lambda task.

" }, "input":{ "shape":"FunctionInput", - "documentation":"

Input provided to the AWS Lambda function.

" + "documentation":"

The input provided to the Lambda task.

" }, "startToCloseTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

The maximum time, in seconds, that the AWS Lambda function can take to execute from start to close before it is marked as failed.

" + "documentation":"

The maximum amount of time a worker can take to process the Lambda task.

" }, "decisionTaskCompletedEventId":{ "shape":"EventId", - "documentation":"

The ID of the DecisionTaskCompleted event for the decision that resulted in the scheduling of this AWS Lambda function. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" + "documentation":"

The ID of the LambdaFunctionCompleted event corresponding to the decision that resulted in scheduling this activity task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details for the LambdaFunctionScheduled event.

" + "documentation":"

Provides the details of the LambdaFunctionScheduled event. It isn't set for other event types.

" }, "LambdaFunctionStartedEventAttributes":{ "type":"structure", @@ -2638,10 +2325,10 @@ "members":{ "scheduledEventId":{ "shape":"EventId", - "documentation":"

The ID of the LambdaFunctionScheduled event that was recorded when this AWS Lambda function was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" + "documentation":"

The ID of the LambdaFunctionScheduled event that was recorded when this activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details for the LambdaFunctionStarted event.

" + "documentation":"

Provides the details of the LambdaFunctionStarted event. It isn't set for other event types.

" }, "LambdaFunctionTimedOutEventAttributes":{ "type":"structure", @@ -2652,18 +2339,18 @@ "members":{ "scheduledEventId":{ "shape":"EventId", - "documentation":"

The ID of the LambdaFunctionScheduled event that was recorded when this AWS Lambda function was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" + "documentation":"

The ID of the LambdaFunctionScheduled event that was recorded when this activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

" }, "startedEventId":{ "shape":"EventId", - "documentation":"

The ID of the LambdaFunctionStarted event recorded in the history.

" + "documentation":"

The ID of the ActivityTaskStarted event that was recorded when this activity task started. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

" }, "timeoutType":{ "shape":"LambdaFunctionTimeoutType", "documentation":"

The type of the timeout that caused this event.

" } }, - "documentation":"

Provides details for the LambdaFunctionTimedOut event.

" + "documentation":"

Provides details of the LambdaFunctionTimedOut event.

" }, "LambdaFunctionTimeoutType":{ "type":"string", @@ -2677,8 +2364,8 @@ "documentation":"

A description that may help with diagnosing the cause of the fault.

" } }, - "exception":true, - "documentation":"

Returned by any operation if a system imposed limitation has been reached. To address this fault you should either clean up unused resources or increase the limit by contacting AWS.

" + "documentation":"

Returned by any operation if a system imposed limitation has been reached. To address this fault you should either clean up unused resources or increase the limit by contacting AWS.

", + "exception":true }, "LimitedData":{ "type":"string", @@ -2709,7 +2396,7 @@ }, "maximumPageSize":{ "shape":"PageSize", - "documentation":"

The maximum number of results that will be returned per call. nextPageToken can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum.

This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.

" + "documentation":"

The maximum number of results that are returned per call. nextPageToken can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum.

This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.

" }, "reverseOrder":{ "shape":"ReverseOrder", @@ -2727,27 +2414,27 @@ }, "startTimeFilter":{ "shape":"ExecutionTimeFilter", - "documentation":"

If specified, the workflow executions are included in the returned results based on whether their start times are within the range specified by this filter. Also, if this parameter is specified, the returned results are ordered by their start times.

startTimeFilter and closeTimeFilter are mutually exclusive. You must specify one of these in a request but not both." + "documentation":"

If specified, the workflow executions are included in the returned results based on whether their start times are within the range specified by this filter. Also, if this parameter is specified, the returned results are ordered by their start times.

startTimeFilter and closeTimeFilter are mutually exclusive. You must specify one of these in a request but not both.

" }, "closeTimeFilter":{ "shape":"ExecutionTimeFilter", - "documentation":"

If specified, the workflow executions are included in the returned results based on whether their close times are within the range specified by this filter. Also, if this parameter is specified, the returned results are ordered by their close times.

startTimeFilter and closeTimeFilter are mutually exclusive. You must specify one of these in a request but not both." + "documentation":"

If specified, the workflow executions are included in the returned results based on whether their close times are within the range specified by this filter. Also, if this parameter is specified, the returned results are ordered by their close times.

startTimeFilter and closeTimeFilter are mutually exclusive. You must specify one of these in a request but not both.

" }, "executionFilter":{ "shape":"WorkflowExecutionFilter", - "documentation":"

If specified, only workflow executions matching the workflow ID specified in the filter are returned.

closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request." + "documentation":"

If specified, only workflow executions matching the workflow ID specified in the filter are returned.

closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

" }, "closeStatusFilter":{ "shape":"CloseStatusFilter", - "documentation":"

If specified, only workflow executions that match this close status are listed. For example, if TERMINATED is specified, then only TERMINATED workflow executions are listed.

closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request." + "documentation":"

If specified, only workflow executions that match this close status are listed. For example, if TERMINATED is specified, then only TERMINATED workflow executions are listed.

closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

" }, "typeFilter":{ "shape":"WorkflowTypeFilter", - "documentation":"

If specified, only executions of the type specified in the filter are returned.

closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request." + "documentation":"

If specified, only executions of the type specified in the filter are returned.

closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

" }, "tagFilter":{ "shape":"TagFilter", - "documentation":"

If specified, only executions that have the matching tag are listed.

closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request." + "documentation":"

If specified, only executions that have the matching tag are listed.

closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

" }, "nextPageToken":{ "shape":"PageToken", @@ -2755,7 +2442,7 @@ }, "maximumPageSize":{ "shape":"PageSize", - "documentation":"

The maximum number of results that will be returned per call. nextPageToken can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum.

This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.

" + "documentation":"

The maximum number of results that are returned per call. nextPageToken can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum.

This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.

" }, "reverseOrder":{ "shape":"ReverseOrder", @@ -2777,7 +2464,7 @@ }, "maximumPageSize":{ "shape":"PageSize", - "documentation":"

The maximum number of results that will be returned per call. nextPageToken can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum.

This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.

" + "documentation":"

The maximum number of results that are returned per call. nextPageToken can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum.

This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.

" }, "reverseOrder":{ "shape":"ReverseOrder", @@ -2802,11 +2489,11 @@ }, "typeFilter":{ "shape":"WorkflowTypeFilter", - "documentation":"

If specified, only executions of the type specified in the filter are returned.

executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request." + "documentation":"

If specified, only executions of the type specified in the filter are returned.

executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

" }, "tagFilter":{ "shape":"TagFilter", - "documentation":"

If specified, only executions that have the matching tag are listed.

executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request." + "documentation":"

If specified, only executions that have the matching tag are listed.

executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

" }, "nextPageToken":{ "shape":"PageToken", @@ -2814,7 +2501,7 @@ }, "maximumPageSize":{ "shape":"PageSize", - "documentation":"

The maximum number of results that will be returned per call. nextPageToken can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum.

This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.

" + "documentation":"

The maximum number of results that are returned per call. nextPageToken can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum.

This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.

" }, "reverseOrder":{ "shape":"ReverseOrder", @@ -2822,7 +2509,7 @@ }, "executionFilter":{ "shape":"WorkflowExecutionFilter", - "documentation":"

If specified, only workflow executions matching the workflow ID specified in the filter are returned.

executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request." + "documentation":"

If specified, only workflow executions matching the workflow ID specified in the filter are returned.

executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

" } } }, @@ -2851,7 +2538,7 @@ }, "maximumPageSize":{ "shape":"PageSize", - "documentation":"

The maximum number of results that will be returned per call. nextPageToken can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum.

This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.

" + "documentation":"

The maximum number of results that are returned per call. nextPageToken can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum.

This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.

" }, "reverseOrder":{ "shape":"ReverseOrder", @@ -2861,8 +2548,8 @@ }, "MarkerName":{ "type":"string", - "min":1, - "max":256 + "max":256, + "min":1 }, "MarkerRecordedEventAttributes":{ "type":"structure", @@ -2877,24 +2564,24 @@ }, "details":{ "shape":"Data", - "documentation":"

Details of the marker (if any).

" + "documentation":"

The details of the marker.

" }, "decisionTaskCompletedEventId":{ "shape":"EventId", "documentation":"

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RecordMarker decision that requested this marker. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the MarkerRecorded event.

" + "documentation":"

Provides the details of the MarkerRecorded event.

" }, "Name":{ "type":"string", - "min":1, - "max":256 + "max":256, + "min":1 }, "OpenDecisionTasksCount":{ "type":"integer", - "min":0, - "max":1 + "max":1, + "min":0 }, "OperationNotPermittedFault":{ "type":"structure", @@ -2904,13 +2591,13 @@ "documentation":"

A description that may help with diagnosing the cause of the fault.

" } }, - "exception":true, - "documentation":"

Returned when the caller does not have sufficient permissions to invoke the action.

" + "documentation":"

Returned when the caller doesn't have sufficient permissions to invoke the action.

", + "exception":true }, "PageSize":{ "type":"integer", - "min":0, - "max":1000 + "max":1000, + "min":0 }, "PageToken":{ "type":"string", @@ -2944,7 +2631,7 @@ }, "taskList":{ "shape":"TaskList", - "documentation":"

Specifies the task list to poll for activity tasks.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f - \\u009f). Also, it must not contain the literal string quotarnquot.

" + "documentation":"

Specifies the task list to poll for activity tasks.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must not contain the literal string arn.

" }, "identity":{ "shape":"Identity", @@ -2965,7 +2652,7 @@ }, "taskList":{ "shape":"TaskList", - "documentation":"

Specifies the task list to poll for decision tasks.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f - \\u009f). Also, it must not contain the literal string quotarnquot.

" + "documentation":"

Specifies the task list to poll for decision tasks.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must not contain the literal string arn.

" }, "identity":{ "shape":"Identity", @@ -2973,11 +2660,11 @@ }, "nextPageToken":{ "shape":"PageToken", - "documentation":"

If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged.

The configured maximumPageSize determines how many results can be returned in a single call.

The nextPageToken returned by this action cannot be used with GetWorkflowExecutionHistory to get the next page. You must call PollForDecisionTask again (with the nextPageToken) to retrieve the next page of history records. Calling PollForDecisionTask with a nextPageToken will not return a new decision task.." + "documentation":"

If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged.

The configured maximumPageSize determines how many results can be returned in a single call.

The nextPageToken returned by this action cannot be used with GetWorkflowExecutionHistory to get the next page. You must call PollForDecisionTask again (with the nextPageToken) to retrieve the next page of history records. Calling PollForDecisionTask with a nextPageToken doesn't return a new decision task.

" }, "maximumPageSize":{ "shape":"PageSize", - "documentation":"

The maximum number of results that will be returned per call. nextPageToken can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum.

This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.

" + "documentation":"

The maximum number of results that are returned per call. nextPageToken can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum.

This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.

" }, "reverseOrder":{ "shape":"ReverseOrder", @@ -2991,7 +2678,7 @@ "members":{ "taskToken":{ "shape":"TaskToken", - "documentation":"

The taskToken of the ActivityTask.

taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results. " + "documentation":"

The taskToken of the ActivityTask.

taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results.

" }, "details":{ "shape":"LimitedData", @@ -3005,14 +2692,14 @@ "members":{ "markerName":{ "shape":"MarkerName", - "documentation":"

Required. The name of the marker.

" + "documentation":"

The name of the marker.

" }, "details":{ "shape":"Data", - "documentation":"

Optional. details of the marker.

" + "documentation":"

The details of the marker.

" } }, - "documentation":"

Provides details of the RecordMarker decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Provides the details of the RecordMarker decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "RecordMarkerFailedCause":{ "type":"string", @@ -3032,14 +2719,14 @@ }, "cause":{ "shape":"RecordMarkerFailedCause", - "documentation":"

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows." + "documentation":"

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "decisionTaskCompletedEventId":{ "shape":"EventId", "documentation":"

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RecordMarkerFailed decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the RecordMarkerFailed event.

" + "documentation":"

Provides the details of the RecordMarkerFailed event.

" }, "RegisterActivityTypeInput":{ "type":"structure", @@ -3055,11 +2742,11 @@ }, "name":{ "shape":"Name", - "documentation":"

The name of the activity type within the domain.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f - \\u009f). Also, it must not contain the literal string quotarnquot.

" + "documentation":"

The name of the activity type within the domain.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must not contain the literal string arn.

" }, "version":{ "shape":"Version", - "documentation":"

The version of the activity type.

The activity type consists of the name and version, the combination of which must be unique within the domain.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f - \\u009f). Also, it must not contain the literal string quotarnquot.

" + "documentation":"

The version of the activity type.

The activity type consists of the name and version, the combination of which must be unique within the domain.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must not contain the literal string arn.

" }, "description":{ "shape":"Description", @@ -3067,27 +2754,27 @@ }, "defaultTaskStartToCloseTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

If set, specifies the default maximum duration that a worker can take to process tasks of this activity type. This default can be overridden when scheduling an activity task using the ScheduleActivityTask decision.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

" + "documentation":"

If set, specifies the default maximum duration that a worker can take to process tasks of this activity type. This default can be overridden when scheduling an activity task using the ScheduleActivityTask Decision.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" }, "defaultTaskHeartbeatTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

If set, specifies the default maximum time before which a worker processing a task of this type must report progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. This default can be overridden when scheduling an activity task using the ScheduleActivityTask decision. If the activity worker subsequently attempts to record a heartbeat or returns a result, the activity worker receives an UnknownResource fault. In this case, Amazon SWF no longer considers the activity task to be valid; the activity worker should clean up the activity task.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

" + "documentation":"

If set, specifies the default maximum time before which a worker processing a task of this type must report progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. This default can be overridden when scheduling an activity task using the ScheduleActivityTask Decision. If the activity worker subsequently attempts to record a heartbeat or returns a result, the activity worker receives an UnknownResource fault. In this case, Amazon SWF no longer considers the activity task to be valid; the activity worker should clean up the activity task.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" }, "defaultTaskList":{ "shape":"TaskList", - "documentation":"

If set, specifies the default task list to use for scheduling tasks of this activity type. This default task list is used if a task list is not provided when a task is scheduled through the ScheduleActivityTask decision.

" + "documentation":"

If set, specifies the default task list to use for scheduling tasks of this activity type. This default task list is used if a task list isn't provided when a task is scheduled through the ScheduleActivityTask Decision.

" }, "defaultTaskPriority":{ "shape":"TaskPriority", - "documentation":"

The default task priority to assign to the activity type. If not assigned, then \"0\" will be used. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide.

" + "documentation":"

The default task priority to assign to the activity type. If not assigned, then 0 is used. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the in the Amazon SWF Developer Guide..

" }, "defaultTaskScheduleToStartTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

If set, specifies the default maximum duration that a task of this activity type can wait before being assigned to a worker. This default can be overridden when scheduling an activity task using the ScheduleActivityTask decision.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

" + "documentation":"

If set, specifies the default maximum duration that a task of this activity type can wait before being assigned to a worker. This default can be overridden when scheduling an activity task using the ScheduleActivityTask Decision.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" }, "defaultTaskScheduleToCloseTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

If set, specifies the default maximum duration for a task of this activity type. This default can be overridden when scheduling an activity task using the ScheduleActivityTask decision.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

" + "documentation":"

If set, specifies the default maximum duration for a task of this activity type. This default can be overridden when scheduling an activity task using the ScheduleActivityTask Decision.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" } } }, @@ -3100,7 +2787,7 @@ "members":{ "name":{ "shape":"DomainName", - "documentation":"

Name of the domain to register. The name must be unique in the region that the domain is registered in.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f - \\u009f). Also, it must not contain the literal string quotarnquot.

" + "documentation":"

Name of the domain to register. The name must be unique in the region that the domain is registered in.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must not contain the literal string arn.

" }, "description":{ "shape":"Description", @@ -3108,7 +2795,7 @@ }, "workflowExecutionRetentionPeriodInDays":{ "shape":"DurationInDays", - "documentation":"

The duration (in days) that records and histories of workflow executions on the domain should be kept by the service. After the retention period, the workflow execution is not available in the results of visibility calls.

If you pass the value NONE or 0 (zero), then the workflow execution history will not be retained. As soon as the workflow execution completes, the execution record and its history are deleted.

The maximum workflow execution retention period is 90 days. For more information about Amazon SWF service limits, see: Amazon SWF Service Limits in the Amazon SWF Developer Guide.

" + "documentation":"

The duration (in days) that records and histories of workflow executions on the domain should be kept by the service. After the retention period, the workflow execution isn't available in the results of visibility calls.

If you pass the value NONE or 0 (zero), then the workflow execution history isn't retained. As soon as the workflow execution completes, the execution record and its history are deleted.

The maximum workflow execution retention period is 90 days. For more information about Amazon SWF service limits, see: Amazon SWF Service Limits in the Amazon SWF Developer Guide.

" } } }, @@ -3126,11 +2813,11 @@ }, "name":{ "shape":"Name", - "documentation":"

The name of the workflow type.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f - \\u009f). Also, it must not contain the literal string quotarnquot.

" + "documentation":"

The name of the workflow type.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must not contain the literal string arn.

" }, "version":{ "shape":"Version", - "documentation":"

The version of the workflow type.

The workflow type consists of the name and version, the combination of which must be unique within the domain. To get a list of all currently registered workflow types, use the ListWorkflowTypes action.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f - \\u009f). Also, it must not contain the literal string quotarnquot.

" + "documentation":"

The version of the workflow type.

The workflow type consists of the name and version, the combination of which must be unique within the domain. To get a list of all currently registered workflow types, use the ListWorkflowTypes action.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must not contain the literal string arn.

" }, "description":{ "shape":"Description", @@ -3138,27 +2825,27 @@ }, "defaultTaskStartToCloseTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

If set, specifies the default maximum duration of decision tasks for this workflow type. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution decision.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

" + "documentation":"

If set, specifies the default maximum duration of decision tasks for this workflow type. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution Decision.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" }, "defaultExecutionStartToCloseTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

If set, specifies the default maximum duration for executions of this workflow type. You can override this default when starting an execution through the StartWorkflowExecution action or StartChildWorkflowExecution decision.

The duration is specified in seconds; an integer greater than or equal to 0. Unlike some of the other timeout parameters in Amazon SWF, you cannot specify a value of \"NONE\" for defaultExecutionStartToCloseTimeout; there is a one-year max limit on the time that a workflow execution can run. Exceeding this limit will always cause the workflow execution to time out.

" + "documentation":"

If set, specifies the default maximum duration for executions of this workflow type. You can override this default when starting an execution through the StartWorkflowExecution Action or StartChildWorkflowExecution Decision.

The duration is specified in seconds; an integer greater than or equal to 0. Unlike some of the other timeout parameters in Amazon SWF, you cannot specify a value of \"NONE\" for defaultExecutionStartToCloseTimeout; there is a one-year max limit on the time that a workflow execution can run. Exceeding this limit always causes the workflow execution to time out.

" }, "defaultTaskList":{ "shape":"TaskList", - "documentation":"

If set, specifies the default task list to use for scheduling decision tasks for executions of this workflow type. This default is used only if a task list is not provided when starting the execution through the StartWorkflowExecution action or StartChildWorkflowExecution decision.

" + "documentation":"

If set, specifies the default task list to use for scheduling decision tasks for executions of this workflow type. This default is used only if a task list isn't provided when starting the execution through the StartWorkflowExecution Action or StartChildWorkflowExecution Decision.

" }, "defaultTaskPriority":{ "shape":"TaskPriority", - "documentation":"

The default task priority to assign to the workflow type. If not assigned, then \"0\" will be used. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide.

" + "documentation":"

The default task priority to assign to the workflow type. If not assigned, then 0 is used. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

" }, "defaultChildPolicy":{ "shape":"ChildPolicy", - "documentation":"

If set, specifies the default policy to use for the child workflow executions when a workflow execution of this type is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution decision.

The supported child policies are:

" + "documentation":"

If set, specifies the default policy to use for the child workflow executions when a workflow execution of this type is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution Decision.

The supported child policies are:

" }, "defaultLambdaRole":{ "shape":"Arn", - "documentation":"

The ARN of the default IAM role to use when a workflow execution of this type invokes AWS Lambda functions.

This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution and ContinueAsNewWorkflowExecution decision.

" + "documentation":"

The default IAM role attached to this workflow type.

Executions of this workflow type need IAM roles to invoke Lambda functions. If you don't specify an IAM role when you start this workflow type, the default Lambda role is attached to the execution. For more information, see http://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html in the Amazon SWF Developer Guide.

" } } }, @@ -3178,7 +2865,7 @@ "documentation":"

The activityId of the activity task to be canceled.

" } }, - "documentation":"

Provides details of the RequestCancelActivityTask decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Provides the details of the RequestCancelActivityTask decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "RequestCancelActivityTaskFailedCause":{ "type":"string", @@ -3201,14 +2888,14 @@ }, "cause":{ "shape":"RequestCancelActivityTaskFailedCause", - "documentation":"

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows." + "documentation":"

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "decisionTaskCompletedEventId":{ "shape":"EventId", "documentation":"

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelActivityTask decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the RequestCancelActivityTaskFailed event.

" + "documentation":"

Provides the details of the RequestCancelActivityTaskFailed event.

" }, "RequestCancelExternalWorkflowExecutionDecisionAttributes":{ "type":"structure", @@ -3216,18 +2903,18 @@ "members":{ "workflowId":{ "shape":"WorkflowId", - "documentation":"

Required. The workflowId of the external workflow execution to cancel.

" + "documentation":"

The workflowId of the external workflow execution to cancel.

" }, "runId":{ - "shape":"RunIdOptional", + "shape":"WorkflowRunIdOptional", "documentation":"

The runId of the external workflow execution to cancel.

" }, "control":{ "shape":"Data", - "documentation":"

Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks.

" + "documentation":"

The data attached to the event that can be used by the decider in subsequent workflow tasks.

" } }, - "documentation":"

Provides details of the RequestCancelExternalWorkflowExecution decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Provides the details of the RequestCancelExternalWorkflowExecution decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "RequestCancelExternalWorkflowExecutionFailedCause":{ "type":"string", @@ -3251,12 +2938,12 @@ "documentation":"

The workflowId of the external workflow to which the cancel request was to be delivered.

" }, "runId":{ - "shape":"RunIdOptional", + "shape":"WorkflowRunIdOptional", "documentation":"

The runId of the external workflow execution.

" }, "cause":{ "shape":"RequestCancelExternalWorkflowExecutionFailedCause", - "documentation":"

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows." + "documentation":"

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "initiatedEventId":{ "shape":"EventId", @@ -3266,9 +2953,12 @@ "shape":"EventId", "documentation":"

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelExternalWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" }, - "control":{"shape":"Data"} + "control":{ + "shape":"Data", + "documentation":"

The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the workflow execution.

" + } }, - "documentation":"

Provides details of the RequestCancelExternalWorkflowExecutionFailed event.

" + "documentation":"

Provides the details of the RequestCancelExternalWorkflowExecutionFailed event.

" }, "RequestCancelExternalWorkflowExecutionInitiatedEventAttributes":{ "type":"structure", @@ -3282,7 +2972,7 @@ "documentation":"

The workflowId of the external workflow execution to be canceled.

" }, "runId":{ - "shape":"RunIdOptional", + "shape":"WorkflowRunIdOptional", "documentation":"

The runId of the external workflow execution to be canceled.

" }, "decisionTaskCompletedEventId":{ @@ -3291,10 +2981,10 @@ }, "control":{ "shape":"Data", - "documentation":"

Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks.

" + "documentation":"

Data attached to the event that can be used by the decider in subsequent workflow tasks.

" } }, - "documentation":"

Provides details of the RequestCancelExternalWorkflowExecutionInitiated event.

" + "documentation":"

Provides the details of the RequestCancelExternalWorkflowExecutionInitiated event.

" }, "RequestCancelWorkflowExecutionInput":{ "type":"structure", @@ -3312,7 +3002,7 @@ "documentation":"

The workflowId of the workflow execution to cancel.

" }, "runId":{ - "shape":"RunIdOptional", + "shape":"WorkflowRunIdOptional", "documentation":"

The runId of the workflow execution to cancel.

" } } @@ -3323,11 +3013,11 @@ "members":{ "taskToken":{ "shape":"TaskToken", - "documentation":"

The taskToken of the ActivityTask.

taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results." + "documentation":"

The taskToken of the ActivityTask.

taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results.

" }, "details":{ "shape":"Data", - "documentation":"

Optional. Information about the cancellation.

" + "documentation":"

Information about the cancellation.

" } } }, @@ -3337,7 +3027,7 @@ "members":{ "taskToken":{ "shape":"TaskToken", - "documentation":"

The taskToken of the ActivityTask.

taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results." + "documentation":"

The taskToken of the ActivityTask.

taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results.

" }, "result":{ "shape":"Data", @@ -3351,7 +3041,7 @@ "members":{ "taskToken":{ "shape":"TaskToken", - "documentation":"

The taskToken of the ActivityTask.

taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results." + "documentation":"

The taskToken of the ActivityTask.

taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results.

" }, "reason":{ "shape":"FailureReason", @@ -3359,7 +3049,7 @@ }, "details":{ "shape":"Data", - "documentation":"

Optional. Detailed information about the failure.

" + "documentation":"

Detailed information about the failure.

" } } }, @@ -3369,38 +3059,30 @@ "members":{ "taskToken":{ "shape":"TaskToken", - "documentation":"

The taskToken from the DecisionTask.

taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results." + "documentation":"

The taskToken from the DecisionTask.

taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results.

" }, "decisions":{ "shape":"DecisionList", - "documentation":"

The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the decision structure for details.

" + "documentation":"

The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the Decision structure for details.

" }, "executionContext":{ "shape":"Data", "documentation":"

User defined context to add to workflow execution.

" } - } + }, + "documentation":"

Input data for a TaskCompleted response to a decision task.

" }, "ReverseOrder":{"type":"boolean"}, "Run":{ "type":"structure", "members":{ "runId":{ - "shape":"RunId", + "shape":"WorkflowRunId", "documentation":"

The runId of a workflow execution. This ID is generated by the service and can be used to uniquely identify the workflow execution within a domain.

" } }, "documentation":"

Specifies the runId of a workflow execution.

" }, - "RunId":{ - "type":"string", - "min":1, - "max":64 - }, - "RunIdOptional":{ - "type":"string", - "max":64 - }, "ScheduleActivityTaskDecisionAttributes":{ "type":"structure", "required":[ @@ -3410,15 +3092,15 @@ "members":{ "activityType":{ "shape":"ActivityType", - "documentation":"

Required. The type of the activity task to schedule.

" + "documentation":"

The type of the activity task to schedule.

" }, "activityId":{ "shape":"ActivityId", - "documentation":"

Required. The activityId of the activity task.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f - \\u009f). Also, it must not contain the literal string quotarnquot.

" + "documentation":"

The activityId of the activity task.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must not contain the literal string arn.

" }, "control":{ "shape":"Data", - "documentation":"

Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks. This data is not sent to the activity.

" + "documentation":"

Data attached to the event that can be used by the decider in subsequent workflow tasks. This data isn't sent to the activity.

" }, "input":{ "shape":"Data", @@ -3426,30 +3108,30 @@ }, "scheduleToCloseTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

The maximum duration for this activity task.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

A schedule-to-close timeout for this activity task must be specified either as a default for the activity type or through this field. If neither this field is set nor a default schedule-to-close timeout was specified at registration time then a fault will be returned." + "documentation":"

The maximum duration for this activity task.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

A schedule-to-close timeout for this activity task must be specified either as a default for the activity type or through this field. If neither this field is set nor a default schedule-to-close timeout was specified at registration time then a fault is returned.

" }, "taskList":{ "shape":"TaskList", - "documentation":"

If set, specifies the name of the task list in which to schedule the activity task. If not specified, the defaultTaskList registered with the activity type will be used.

A task list for this activity task must be specified either as a default for the activity type or through this field. If neither this field is set nor a default task list was specified at registration time then a fault will be returned.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f - \\u009f). Also, it must not contain the literal string quotarnquot.

" + "documentation":"

If set, specifies the name of the task list in which to schedule the activity task. If not specified, the defaultTaskList registered with the activity type is used.

A task list for this activity task must be specified either as a default for the activity type or through this field. If neither this field is set nor a default task list was specified at registration time then a fault is returned.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must not contain the literal string arn.

" }, "taskPriority":{ "shape":"TaskPriority", - "documentation":"

Optional. If set, specifies the priority with which the activity task is to be assigned to a worker. This overrides the defaultTaskPriority specified when registering the activity type using RegisterActivityType. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide.

" + "documentation":"

If set, specifies the priority with which the activity task is to be assigned to a worker. This overrides the defaultTaskPriority specified when registering the activity type using RegisterActivityType. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

" }, "scheduleToStartTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

Optional. If set, specifies the maximum duration the activity task can wait to be assigned to a worker. This overrides the default schedule-to-start timeout specified when registering the activity type using RegisterActivityType.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

A schedule-to-start timeout for this activity task must be specified either as a default for the activity type or through this field. If neither this field is set nor a default schedule-to-start timeout was specified at registration time then a fault will be returned." + "documentation":"

If set, specifies the maximum duration the activity task can wait to be assigned to a worker. This overrides the default schedule-to-start timeout specified when registering the activity type using RegisterActivityType.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

A schedule-to-start timeout for this activity task must be specified either as a default for the activity type or through this field. If neither this field is set nor a default schedule-to-start timeout was specified at registration time then a fault is returned.

" }, "startToCloseTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

If set, specifies the maximum duration a worker may take to process this activity task. This overrides the default start-to-close timeout specified when registering the activity type using RegisterActivityType.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

A start-to-close timeout for this activity task must be specified either as a default for the activity type or through this field. If neither this field is set nor a default start-to-close timeout was specified at registration time then a fault will be returned." + "documentation":"

If set, specifies the maximum duration a worker may take to process this activity task. This overrides the default start-to-close timeout specified when registering the activity type using RegisterActivityType.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

A start-to-close timeout for this activity task must be specified either as a default for the activity type or through this field. If neither this field is set nor a default start-to-close timeout was specified at registration time then a fault is returned.

" }, "heartbeatTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

If set, specifies the maximum time before which a worker processing a task of this type must report progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. If the worker subsequently attempts to record a heartbeat or returns a result, it will be ignored. This overrides the default heartbeat timeout specified when registering the activity type using RegisterActivityType.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

" + "documentation":"

If set, specifies the maximum time before which a worker processing a task of this type must report progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. If the worker subsequently attempts to record a heartbeat or returns a result, it is ignored. This overrides the default heartbeat timeout specified when registering the activity type using RegisterActivityType.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" } }, - "documentation":"

Provides details of the ScheduleActivityTask decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Provides the details of the ScheduleActivityTask decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "ScheduleActivityTaskFailedCause":{ "type":"string", @@ -3486,14 +3168,14 @@ }, "cause":{ "shape":"ScheduleActivityTaskFailedCause", - "documentation":"

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows." + "documentation":"

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "decisionTaskCompletedEventId":{ "shape":"EventId", "documentation":"

The ID of the DecisionTaskCompleted event corresponding to the decision that resulted in the scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the ScheduleActivityTaskFailed event.

" + "documentation":"

Provides the details of the ScheduleActivityTaskFailed event.

" }, "ScheduleLambdaFunctionDecisionAttributes":{ "type":"structure", @@ -3504,22 +3186,26 @@ "members":{ "id":{ "shape":"FunctionId", - "documentation":"

Required. The SWF id of the AWS Lambda task.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f - \\u009f). Also, it must not contain the literal string quotarnquot.

" + "documentation":"

A string that identifies the Lambda function execution in the event history.

" }, "name":{ "shape":"FunctionName", - "documentation":"

Required. The name of the AWS Lambda function to invoke.

" + "documentation":"

The name, or ARN, of the Lambda function to schedule.

" + }, + "control":{ + "shape":"Data", + "documentation":"

The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the Lambda task.

" }, "input":{ "shape":"FunctionInput", - "documentation":"

The input provided to the AWS Lambda function.

" + "documentation":"

The optional input data to be supplied to the Lambda function.

" }, "startToCloseTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

If set, specifies the maximum duration the function may take to execute.

" + "documentation":"

The timeout value, in seconds, after which the Lambda function is considered to be failed once it has started. This can be any integer from 1-300 (1s-5m). If no value is supplied, than a default value of 300s is assumed.

" } }, - "documentation":"

Provides details of the ScheduleLambdaFunction decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Decision attributes specified in scheduleLambdaFunctionDecisionAttributes within the list of decisions decisions passed to RespondDecisionTaskCompleted.

" }, "ScheduleLambdaFunctionFailedCause":{ "type":"string", @@ -3541,22 +3227,22 @@ "members":{ "id":{ "shape":"FunctionId", - "documentation":"

The unique Amazon SWF ID of the AWS Lambda task.

" + "documentation":"

The ID provided in the ScheduleLambdaFunction decision that failed.

" }, "name":{ "shape":"FunctionName", - "documentation":"

The name of the scheduled AWS Lambda function.

" + "documentation":"

The name of the Lambda function.

" }, "cause":{ "shape":"ScheduleLambdaFunctionFailedCause", - "documentation":"

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows." + "documentation":"

The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "decisionTaskCompletedEventId":{ "shape":"EventId", - "documentation":"

The ID of the DecisionTaskCompleted event corresponding to the decision that resulted in the scheduling of this AWS Lambda function. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" + "documentation":"

The ID of the LambdaFunctionCompleted event corresponding to the decision that resulted in scheduling this Lambda task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details for the ScheduleLambdaFunctionFailed event.

" + "documentation":"

Provides the details of the ScheduleLambdaFunctionFailed event. It isn't set for other event types.

" }, "SignalExternalWorkflowExecutionDecisionAttributes":{ "type":"structure", @@ -3567,26 +3253,26 @@ "members":{ "workflowId":{ "shape":"WorkflowId", - "documentation":"

Required. The workflowId of the workflow execution to be signaled.

" + "documentation":"

The workflowId of the workflow execution to be signaled.

" }, "runId":{ - "shape":"RunIdOptional", + "shape":"WorkflowRunIdOptional", "documentation":"

The runId of the workflow execution to be signaled.

" }, "signalName":{ "shape":"SignalName", - "documentation":"

Required. The name of the signal.The target workflow execution will use the signal name and input to process the signal.

" + "documentation":"

The name of the signal.The target workflow execution uses the signal name and input to process the signal.

" }, "input":{ "shape":"Data", - "documentation":"

Optional. Input data to be provided with the signal. The target workflow execution will use the signal name and input data to process the signal.

" + "documentation":"

The input data to be provided with the signal. The target workflow execution uses the signal name and input data to process the signal.

" }, "control":{ "shape":"Data", - "documentation":"

Optional. Data attached to the event that can be used by the decider in subsequent decision tasks.

" + "documentation":"

The data attached to the event that can be used by the decider in subsequent decision tasks.

" } }, - "documentation":"

Provides details of the SignalExternalWorkflowExecution decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Provides the details of the SignalExternalWorkflowExecution decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "SignalExternalWorkflowExecutionFailedCause":{ "type":"string", @@ -3610,12 +3296,12 @@ "documentation":"

The workflowId of the external workflow execution that the signal was being delivered to.

" }, "runId":{ - "shape":"RunIdOptional", + "shape":"WorkflowRunIdOptional", "documentation":"

The runId of the external workflow execution that the signal was being delivered to.

" }, "cause":{ "shape":"SignalExternalWorkflowExecutionFailedCause", - "documentation":"

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows." + "documentation":"

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "initiatedEventId":{ "shape":"EventId", @@ -3625,9 +3311,12 @@ "shape":"EventId", "documentation":"

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the SignalExternalWorkflowExecution decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" }, - "control":{"shape":"Data"} + "control":{ + "shape":"Data", + "documentation":"

The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the workflow execution.

" + } }, - "documentation":"

Provides details of the SignalExternalWorkflowExecutionFailed event.

" + "documentation":"

Provides the details of the SignalExternalWorkflowExecutionFailed event.

" }, "SignalExternalWorkflowExecutionInitiatedEventAttributes":{ "type":"structure", @@ -3642,7 +3331,7 @@ "documentation":"

The workflowId of the external workflow execution.

" }, "runId":{ - "shape":"RunIdOptional", + "shape":"WorkflowRunIdOptional", "documentation":"

The runId of the external workflow execution to send the signal to.

" }, "signalName":{ @@ -3651,7 +3340,7 @@ }, "input":{ "shape":"Data", - "documentation":"

Input provided to the signal (if any).

" + "documentation":"

The input provided to the signal.

" }, "decisionTaskCompletedEventId":{ "shape":"EventId", @@ -3659,15 +3348,15 @@ }, "control":{ "shape":"Data", - "documentation":"

Optional. data attached to the event that can be used by the decider in subsequent decision tasks.

" + "documentation":"

Data attached to the event that can be used by the decider in subsequent decision tasks.

" } }, - "documentation":"

Provides details of the SignalExternalWorkflowExecutionInitiated event.

" + "documentation":"

Provides the details of the SignalExternalWorkflowExecutionInitiated event.

" }, "SignalName":{ "type":"string", - "min":1, - "max":256 + "max":256, + "min":1 }, "SignalWorkflowExecutionInput":{ "type":"structure", @@ -3686,7 +3375,7 @@ "documentation":"

The workflowId of the workflow execution to signal.

" }, "runId":{ - "shape":"RunIdOptional", + "shape":"WorkflowRunIdOptional", "documentation":"

The runId of the workflow execution to signal.

" }, "signalName":{ @@ -3708,15 +3397,15 @@ "members":{ "workflowType":{ "shape":"WorkflowType", - "documentation":"

Required. The type of the workflow execution to be started.

" + "documentation":"

The type of the workflow execution to be started.

" }, "workflowId":{ "shape":"WorkflowId", - "documentation":"

Required. The workflowId of the workflow execution.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f - \\u009f). Also, it must not contain the literal string quotarnquot.

" + "documentation":"

The workflowId of the workflow execution.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must not contain the literal string arn.

" }, "control":{ "shape":"Data", - "documentation":"

Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks. This data is not sent to the child workflow execution.

" + "documentation":"

The data attached to the event that can be used by the decider in subsequent workflow tasks. This data isn't sent to the child workflow execution.

" }, "input":{ "shape":"Data", @@ -3724,23 +3413,23 @@ }, "executionStartToCloseTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

The total duration for this workflow execution. This overrides the defaultExecutionStartToCloseTimeout specified when registering the workflow type.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

An execution start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default execution start-to-close timeout was specified at registration time then a fault will be returned." + "documentation":"

The total duration for this workflow execution. This overrides the defaultExecutionStartToCloseTimeout specified when registering the workflow type.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

An execution start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default execution start-to-close timeout was specified at registration time then a fault is returned.

" }, "taskList":{ "shape":"TaskList", - "documentation":"

The name of the task list to be used for decision tasks of the child workflow execution.

A task list for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task list was specified at registration time then a fault will be returned.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f - \\u009f). Also, it must not contain the literal string quotarnquot.

" + "documentation":"

The name of the task list to be used for decision tasks of the child workflow execution.

A task list for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task list was specified at registration time then a fault is returned.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must not contain the literal string arn.

" }, "taskPriority":{ "shape":"TaskPriority", - "documentation":"

Optional. A task priority that, if set, specifies the priority for a decision task of this workflow execution. This overrides the defaultTaskPriority specified when registering the workflow type. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide.

" + "documentation":"

A task priority that, if set, specifies the priority for a decision task of this workflow execution. This overrides the defaultTaskPriority specified when registering the workflow type. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

" }, "taskStartToCloseTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

Specifies the maximum duration of decision tasks for this workflow execution. This parameter overrides the defaultTaskStartToCloseTimout specified when registering the workflow type using RegisterWorkflowType.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

A task start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task start-to-close timeout was specified at registration time then a fault will be returned." + "documentation":"

Specifies the maximum duration of decision tasks for this workflow execution. This parameter overrides the defaultTaskStartToCloseTimout specified when registering the workflow type using RegisterWorkflowType.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

A task start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task start-to-close timeout was specified at registration time then a fault is returned.

" }, "childPolicy":{ "shape":"ChildPolicy", - "documentation":"

Optional. If set, specifies the policy to use for the child workflow executions if the workflow execution being started is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This policy overrides the default child policy specified when registering the workflow type using RegisterWorkflowType.

The supported child policies are:

A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault will be returned." + "documentation":"

If set, specifies the policy to use for the child workflow executions if the workflow execution being started is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This policy overrides the default child policy specified when registering the workflow type using RegisterWorkflowType.

The supported child policies are:

A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault is returned.

" }, "tagList":{ "shape":"TagList", @@ -3748,10 +3437,10 @@ }, "lambdaRole":{ "shape":"Arn", - "documentation":"

The ARN of an IAM role that authorizes Amazon SWF to invoke AWS Lambda functions.

In order for this workflow execution to invoke AWS Lambda functions, an appropriate IAM role must be specified either as a default for the workflow type or through this field." + "documentation":"

The IAM role attached to the child workflow execution.

" } }, - "documentation":"

Provides details of the StartChildWorkflowExecution decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Provides the details of the StartChildWorkflowExecution decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "StartChildWorkflowExecutionFailedCause":{ "type":"string", @@ -3781,11 +3470,11 @@ "members":{ "workflowType":{ "shape":"WorkflowType", - "documentation":"

The workflow type provided in the StartChildWorkflowExecution decision that failed.

" + "documentation":"

The workflow type provided in the StartChildWorkflowExecution Decision that failed.

" }, "cause":{ "shape":"StartChildWorkflowExecutionFailedCause", - "documentation":"

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows." + "documentation":"

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

When cause is set to OPERATION_NOT_PERMITTED, the decision fails because it lacks sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "workflowId":{ "shape":"WorkflowId", @@ -3793,15 +3482,18 @@ }, "initiatedEventId":{ "shape":"EventId", - "documentation":"

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" + "documentation":"

When the cause is WORKFLOW_ALREADY_RUNNING, initiatedEventId is the ID of the StartChildWorkflowExecutionInitiated event that corresponds to the StartChildWorkflowExecution Decision to start the workflow execution. You can use this information to diagnose problems by tracing back the chain of events leading up to this event.

When the cause isn't WORKFLOW_ALREADY_RUNNING, initiatedEventId is set to 0 because the StartChildWorkflowExecutionInitiated event doesn't exist.

" }, "decisionTaskCompletedEventId":{ "shape":"EventId", - "documentation":"

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartChildWorkflowExecution decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the cause of events.

" + "documentation":"

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartChildWorkflowExecution Decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events.

" }, - "control":{"shape":"Data"} + "control":{ + "shape":"Data", + "documentation":"

The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the child workflow execution.

" + } }, - "documentation":"

Provides details of the StartChildWorkflowExecutionFailed event.

" + "documentation":"

Provides the details of the StartChildWorkflowExecutionFailed event.

" }, "StartChildWorkflowExecutionInitiatedEventAttributes":{ "type":"structure", @@ -3823,15 +3515,15 @@ }, "control":{ "shape":"Data", - "documentation":"

Optional. Data attached to the event that can be used by the decider in subsequent decision tasks. This data is not sent to the activity.

" + "documentation":"

Data attached to the event that can be used by the decider in subsequent decision tasks. This data isn't sent to the activity.

" }, "input":{ "shape":"Data", - "documentation":"

The inputs provided to the child workflow execution (if any).

" + "documentation":"

The inputs provided to the child workflow execution.

" }, "executionStartToCloseTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

The maximum duration for the child workflow execution. If the workflow execution is not closed within this duration, it will be timed out and force terminated.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

" + "documentation":"

The maximum duration for the child workflow execution. If the workflow execution isn't closed within this duration, it is timed out and force-terminated.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" }, "taskList":{ "shape":"TaskList", @@ -3839,19 +3531,19 @@ }, "taskPriority":{ "shape":"TaskPriority", - "documentation":"

Optional. The priority assigned for the decision tasks for this workflow execution. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide.

" + "documentation":"

The priority assigned for the decision tasks for this workflow execution. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

" }, "decisionTaskCompletedEventId":{ "shape":"EventId", - "documentation":"

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartChildWorkflowExecution decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the cause of events.

" + "documentation":"

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartChildWorkflowExecution Decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the cause of events.

" }, "childPolicy":{ "shape":"ChildPolicy", - "documentation":"

The policy to use for the child workflow executions if this execution gets terminated by explicitly calling the TerminateWorkflowExecution action or due to an expired timeout.

The supported child policies are:

" + "documentation":"

The policy to use for the child workflow executions if this execution gets terminated by explicitly calling the TerminateWorkflowExecution action or due to an expired timeout.

The supported child policies are:

" }, "taskStartToCloseTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

The maximum duration allowed for the decision tasks for this workflow execution.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

" + "documentation":"

The maximum duration allowed for the decision tasks for this workflow execution.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" }, "tagList":{ "shape":"TagList", @@ -3859,10 +3551,10 @@ }, "lambdaRole":{ "shape":"Arn", - "documentation":"

The IAM role attached to this workflow execution to use when invoking AWS Lambda functions.

" + "documentation":"

The IAM role to attach to the child workflow execution.

" } }, - "documentation":"

Provides details of the StartChildWorkflowExecutionInitiated event.

" + "documentation":"

Provides the details of the StartChildWorkflowExecutionInitiated event.

" }, "StartLambdaFunctionFailedCause":{ "type":"string", @@ -3873,18 +3565,18 @@ "members":{ "scheduledEventId":{ "shape":"EventId", - "documentation":"

The ID of the LambdaFunctionScheduled event that was recorded when this AWS Lambda function was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" + "documentation":"

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

" }, "cause":{ "shape":"StartLambdaFunctionFailedCause", - "documentation":"

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows." + "documentation":"

The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because the IAM role attached to the execution lacked sufficient permissions. For details and example IAM policies, see Lambda Tasks in the Amazon SWF Developer Guide.

" }, "message":{ "shape":"CauseMessage", - "documentation":"

The error message (if any).

" + "documentation":"

A description that can help diagnose the cause of the fault.

" } }, - "documentation":"

Provides details for the StartLambdaFunctionFailed event.

" + "documentation":"

Provides the details of the StartLambdaFunctionFailed event. It isn't set for other event types.

" }, "StartTimerDecisionAttributes":{ "type":"structure", @@ -3895,18 +3587,18 @@ "members":{ "timerId":{ "shape":"TimerId", - "documentation":"

Required. The unique ID of the timer.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f - \\u009f). Also, it must not contain the literal string quotarnquot.

" + "documentation":"

The unique ID of the timer.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must not contain the literal string arn.

" }, "control":{ "shape":"Data", - "documentation":"

Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks.

" + "documentation":"

The data attached to the event that can be used by the decider in subsequent workflow tasks.

" }, "startToFireTimeout":{ "shape":"DurationInSeconds", - "documentation":"

Required. The duration to wait before firing the timer.

The duration is specified in seconds; an integer greater than or equal to 0.

" + "documentation":"

The duration to wait before firing the timer.

The duration is specified in seconds, an integer greater than or equal to 0.

" } }, - "documentation":"

Provides details of the StartTimer decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

" + "documentation":"

Provides the details of the StartTimer decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "StartTimerFailedCause":{ "type":"string", @@ -3931,14 +3623,14 @@ }, "cause":{ "shape":"StartTimerFailedCause", - "documentation":"

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows." + "documentation":"

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" }, "decisionTaskCompletedEventId":{ "shape":"EventId", "documentation":"

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartTimer decision for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the StartTimerFailed event.

" + "documentation":"

Provides the details of the StartTimerFailed event.

" }, "StartWorkflowExecutionInput":{ "type":"structure", @@ -3954,7 +3646,7 @@ }, "workflowId":{ "shape":"WorkflowId", - "documentation":"

The user defined identifier associated with the workflow execution. You can use this to associate a custom identifier with the workflow execution. You may specify the same identifier if a workflow execution is logically a restart of a previous execution. You cannot have two open workflow executions with the same workflowId at the same time.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f - \\u009f). Also, it must not contain the literal string quotarnquot.

" + "documentation":"

The user defined identifier associated with the workflow execution. You can use this to associate a custom identifier with the workflow execution. You may specify the same identifier if a workflow execution is logically a restart of a previous execution. You cannot have two open workflow executions with the same workflowId at the same time.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must not contain the literal string arn.

" }, "workflowType":{ "shape":"WorkflowType", @@ -3962,11 +3654,11 @@ }, "taskList":{ "shape":"TaskList", - "documentation":"

The task list to use for the decision tasks generated for this workflow execution. This overrides the defaultTaskList specified when registering the workflow type.

A task list for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task list was specified at registration time then a fault will be returned.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f - \\u009f). Also, it must not contain the literal string quotarnquot.

" + "documentation":"

The task list to use for the decision tasks generated for this workflow execution. This overrides the defaultTaskList specified when registering the workflow type.

A task list for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task list was specified at registration time then a fault is returned.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must not contain the literal string arn.

" }, "taskPriority":{ "shape":"TaskPriority", - "documentation":"

The task priority to use for this workflow execution. This will override any default priority that was assigned when the workflow type was registered. If not set, then the default task priority for the workflow type will be used. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide.

" + "documentation":"

The task priority to use for this workflow execution. This overrides any default priority that was assigned when the workflow type was registered. If not set, then the default task priority for the workflow type is used. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

" }, "input":{ "shape":"Data", @@ -3974,7 +3666,7 @@ }, "executionStartToCloseTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

The total duration for this workflow execution. This overrides the defaultExecutionStartToCloseTimeout specified when registering the workflow type.

The duration is specified in seconds; an integer greater than or equal to 0. Exceeding this limit will cause the workflow execution to time out. Unlike some of the other timeout parameters in Amazon SWF, you cannot specify a value of \"NONE\" for this timeout; there is a one-year max limit on the time that a workflow execution can run.

An execution start-to-close timeout must be specified either through this parameter or as a default when the workflow type is registered. If neither this parameter nor a default execution start-to-close timeout is specified, a fault is returned." + "documentation":"

The total duration for this workflow execution. This overrides the defaultExecutionStartToCloseTimeout specified when registering the workflow type.

The duration is specified in seconds; an integer greater than or equal to 0. Exceeding this limit causes the workflow execution to time out. Unlike some of the other timeout parameters in Amazon SWF, you cannot specify a value of \"NONE\" for this timeout; there is a one-year max limit on the time that a workflow execution can run.

An execution start-to-close timeout must be specified either through this parameter or as a default when the workflow type is registered. If neither this parameter nor a default execution start-to-close timeout is specified, a fault is returned.

" }, "tagList":{ "shape":"TagList", @@ -3982,22 +3674,22 @@ }, "taskStartToCloseTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

Specifies the maximum duration of decision tasks for this workflow execution. This parameter overrides the defaultTaskStartToCloseTimout specified when registering the workflow type using RegisterWorkflowType.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

A task start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task start-to-close timeout was specified at registration time then a fault will be returned." + "documentation":"

Specifies the maximum duration of decision tasks for this workflow execution. This parameter overrides the defaultTaskStartToCloseTimout specified when registering the workflow type using RegisterWorkflowType.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

A task start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task start-to-close timeout was specified at registration time then a fault is returned.

" }, "childPolicy":{ "shape":"ChildPolicy", - "documentation":"

If set, specifies the policy to use for the child workflow executions of this workflow execution if it is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This policy overrides the default child policy specified when registering the workflow type using RegisterWorkflowType.

The supported child policies are:

A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault will be returned." + "documentation":"

If set, specifies the policy to use for the child workflow executions of this workflow execution if it is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This policy overrides the default child policy specified when registering the workflow type using RegisterWorkflowType.

The supported child policies are:

A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault is returned.

" }, "lambdaRole":{ "shape":"Arn", - "documentation":"

The ARN of an IAM role that authorizes Amazon SWF to invoke AWS Lambda functions.

In order for this workflow execution to invoke AWS Lambda functions, an appropriate IAM role must be specified either as a default for the workflow type or through this field." + "documentation":"

The IAM role to attach to this workflow execution.

Executions of this workflow type need IAM roles to invoke Lambda functions. If you don't attach an IAM role, any attempt to schedule a Lambda task fails. This results in a ScheduleLambdaFunctionFailed history event. For more information, see http://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html in the Amazon SWF Developer Guide.

" } } }, "Tag":{ "type":"string", - "min":1, - "max":256 + "max":256, + "min":0 }, "TagFilter":{ "type":"structure", @@ -4005,7 +3697,7 @@ "members":{ "tag":{ "shape":"Tag", - "documentation":"

Required. Specifies the tag that must be associated with the execution for it to meet the filter criteria.

" + "documentation":"

Specifies the tag that must be associated with the execution for it to meet the filter criteria.

" } }, "documentation":"

Used to filter the workflow executions in visibility APIs based on a tag.

" @@ -4026,14 +3718,11 @@ }, "documentation":"

Represents a task list.

" }, - "TaskPriority":{ - "type":"string", - "max":11 - }, + "TaskPriority":{"type":"string"}, "TaskToken":{ "type":"string", - "min":1, - "max":1024 + "max":1024, + "min":1 }, "TerminateReason":{ "type":"string", @@ -4055,20 +3744,20 @@ "documentation":"

The workflowId of the workflow execution to terminate.

" }, "runId":{ - "shape":"RunIdOptional", + "shape":"WorkflowRunIdOptional", "documentation":"

The runId of the workflow execution to terminate.

" }, "reason":{ "shape":"TerminateReason", - "documentation":"

Optional. A descriptive reason for terminating the workflow execution.

" + "documentation":"

A descriptive reason for terminating the workflow execution.

" }, "details":{ "shape":"Data", - "documentation":"

Optional. Details for terminating the workflow execution.

" + "documentation":"

Details for terminating the workflow execution.

" }, "childPolicy":{ "shape":"ChildPolicy", - "documentation":"

If set, specifies the policy to use for the child workflow executions of the workflow execution being terminated. This policy overrides the child policy specified for the workflow execution at registration time or when starting the execution.

The supported child policies are:

A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault will be returned." + "documentation":"

If set, specifies the policy to use for the child workflow executions of the workflow execution being terminated. This policy overrides the child policy specified for the workflow execution at registration time or when starting the execution.

The supported child policies are:

A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault is returned.

" } } }, @@ -4082,7 +3771,7 @@ "members":{ "timerId":{ "shape":"TimerId", - "documentation":"

The unique ID of the timer that was canceled.

" + "documentation":"

The unique ID of the timer that was canceled.

" }, "startedEventId":{ "shape":"EventId", @@ -4093,7 +3782,7 @@ "documentation":"

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the TimerCanceled event.

" + "documentation":"

Provides the details of the TimerCanceled event.

" }, "TimerFiredEventAttributes":{ "type":"structure", @@ -4111,12 +3800,12 @@ "documentation":"

The ID of the TimerStarted event that was recorded when this timer was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the TimerFired event.

" + "documentation":"

Provides the details of the TimerFired event.

" }, "TimerId":{ "type":"string", - "min":1, - "max":256 + "max":256, + "min":1 }, "TimerStartedEventAttributes":{ "type":"structure", @@ -4132,18 +3821,18 @@ }, "control":{ "shape":"Data", - "documentation":"

Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks.

" + "documentation":"

Data attached to the event that can be used by the decider in subsequent workflow tasks.

" }, "startToFireTimeout":{ "shape":"DurationInSeconds", - "documentation":"

The duration of time after which the timer will fire.

The duration is specified in seconds; an integer greater than or equal to 0.

" + "documentation":"

The duration of time after which the timer fires.

The duration is specified in seconds, an integer greater than or equal to 0.

" }, "decisionTaskCompletedEventId":{ "shape":"EventId", "documentation":"

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartTimer decision for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the TimerStarted event.

" + "documentation":"

Provides the details of the TimerStarted event.

" }, "Timestamp":{"type":"timestamp"}, "Truncated":{"type":"boolean"}, @@ -4155,8 +3844,8 @@ "documentation":"

A description that may help with diagnosing the cause of the fault.

" } }, - "exception":true, - "documentation":"

Returned if the type already exists in the specified domain. You will get this fault even if the existing type is in deprecated status. You can specify another version if the intent is to create a new distinct version of the type.

" + "documentation":"

Returned if the type already exists in the specified domain. You get this fault even if the existing type is in deprecated status. You can specify another version if the intent is to create a new distinct version of the type.

", + "exception":true }, "TypeDeprecatedFault":{ "type":"structure", @@ -4166,8 +3855,8 @@ "documentation":"

A description that may help with diagnosing the cause of the fault.

" } }, - "exception":true, - "documentation":"

Returned when the specified activity or workflow type was already deprecated.

" + "documentation":"

Returned when the specified activity or workflow type was already deprecated.

", + "exception":true }, "UnknownResourceFault":{ "type":"structure", @@ -4177,13 +3866,13 @@ "documentation":"

A description that may help with diagnosing the cause of the fault.

" } }, - "exception":true, - "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

" + "documentation":"

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

", + "exception":true }, "Version":{ "type":"string", - "min":1, - "max":64 + "max":64, + "min":1 }, "VersionOptional":{ "type":"string", @@ -4201,7 +3890,7 @@ "documentation":"

The user defined identifier associated with the workflow execution.

" }, "runId":{ - "shape":"RunId", + "shape":"WorkflowRunId", "documentation":"

A system-generated unique identifier for the workflow execution.

" } }, @@ -4215,8 +3904,8 @@ "documentation":"

A description that may help with diagnosing the cause of the fault.

" } }, - "exception":true, - "documentation":"

Returned by StartWorkflowExecution when an open execution with the same workflowId is already running in the specified domain.

" + "documentation":"

Returned by StartWorkflowExecution when an open execution with the same workflowId is already running in the specified domain.

", + "exception":true }, "WorkflowExecutionCancelRequestedCause":{ "type":"string", @@ -4238,7 +3927,7 @@ "documentation":"

If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.

" } }, - "documentation":"

Provides details of the WorkflowExecutionCancelRequested event.

" + "documentation":"

Provides the details of the WorkflowExecutionCancelRequested event.

" }, "WorkflowExecutionCanceledEventAttributes":{ "type":"structure", @@ -4246,14 +3935,14 @@ "members":{ "details":{ "shape":"Data", - "documentation":"

Details for the cancellation (if any).

" + "documentation":"

The details of the cancellation.

" }, "decisionTaskCompletedEventId":{ "shape":"EventId", "documentation":"

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the WorkflowExecutionCanceled event.

" + "documentation":"

Provides the details of the WorkflowExecutionCanceled event.

" }, "WorkflowExecutionCompletedEventAttributes":{ "type":"structure", @@ -4268,7 +3957,7 @@ "documentation":"

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CompleteWorkflowExecution decision to complete this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the WorkflowExecutionCompleted event.

" + "documentation":"

Provides the details of the WorkflowExecutionCompleted event.

" }, "WorkflowExecutionConfiguration":{ "type":"structure", @@ -4281,11 +3970,11 @@ "members":{ "taskStartToCloseTimeout":{ "shape":"DurationInSeconds", - "documentation":"

The maximum duration allowed for decision tasks for this workflow execution.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

" + "documentation":"

The maximum duration allowed for decision tasks for this workflow execution.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" }, "executionStartToCloseTimeout":{ "shape":"DurationInSeconds", - "documentation":"

The total duration for this workflow execution.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

" + "documentation":"

The total duration for this workflow execution.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" }, "taskList":{ "shape":"TaskList", @@ -4293,15 +3982,15 @@ }, "taskPriority":{ "shape":"TaskPriority", - "documentation":"

The priority assigned to decision tasks for this workflow execution. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide.

" + "documentation":"

The priority assigned to decision tasks for this workflow execution. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

" }, "childPolicy":{ "shape":"ChildPolicy", - "documentation":"

The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.

The supported child policies are:

" + "documentation":"

The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.

The supported child policies are:

" }, "lambdaRole":{ "shape":"Arn", - "documentation":"

The IAM role used by this workflow execution when invoking AWS Lambda functions.

" + "documentation":"

The IAM role attached to the child workflow execution.

" } }, "documentation":"

The configuration settings for a workflow execution including timeout values, tasklist etc. These configuration settings are determined from the defaults specified when registering the workflow type and those specified when starting the workflow execution.

" @@ -4325,34 +4014,43 @@ "documentation":"

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the ContinueAsNewWorkflowExecution decision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" }, "newExecutionRunId":{ - "shape":"RunId", + "shape":"WorkflowRunId", "documentation":"

The runId of the new workflow execution.

" }, "executionStartToCloseTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

The total duration allowed for the new workflow execution.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

" + "documentation":"

The total duration allowed for the new workflow execution.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" + }, + "taskList":{ + "shape":"TaskList", + "documentation":"

The task list to use for the decisions of the new (continued) workflow execution.

" + }, + "taskPriority":{ + "shape":"TaskPriority", + "documentation":"

The priority of the task to use for the decisions of the new (continued) workflow execution.

" }, - "taskList":{"shape":"TaskList"}, - "taskPriority":{"shape":"TaskPriority"}, "taskStartToCloseTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

The maximum duration of decision tasks for the new workflow execution.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

" + "documentation":"

The maximum duration of decision tasks for the new workflow execution.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" }, "childPolicy":{ "shape":"ChildPolicy", - "documentation":"

The policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.

The supported child policies are:

" + "documentation":"

The policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.

The supported child policies are:

" }, "tagList":{ "shape":"TagList", "documentation":"

The list of tags associated with the new workflow execution.

" }, - "workflowType":{"shape":"WorkflowType"}, + "workflowType":{ + "shape":"WorkflowType", + "documentation":"

The workflow type of this execution.

" + }, "lambdaRole":{ "shape":"Arn", - "documentation":"

The IAM role attached to this workflow execution to use when invoking AWS Lambda functions.

" + "documentation":"

The IAM role to attach to the new (continued) workflow execution.

" } }, - "documentation":"

Provides details of the WorkflowExecutionContinuedAsNew event.

" + "documentation":"

Provides the details of the WorkflowExecutionContinuedAsNew event.

" }, "WorkflowExecutionCount":{ "type":"structure", @@ -4367,7 +4065,7 @@ "documentation":"

If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.

" } }, - "documentation":"

Contains the count of workflow executions returned from CountOpenWorkflowExecutions or CountClosedWorkflowExecutions

" + "documentation":"

Contains the count of workflow executions returned from CountOpenWorkflowExecutions or CountClosedWorkflowExecutions

" }, "WorkflowExecutionDetail":{ "type":"structure", @@ -4406,18 +4104,18 @@ "members":{ "reason":{ "shape":"FailureReason", - "documentation":"

The descriptive reason provided for the failure (if any).

" + "documentation":"

The descriptive reason provided for the failure.

" }, "details":{ "shape":"Data", - "documentation":"

The details of the failure (if any).

" + "documentation":"

The details of the failure.

" }, "decisionTaskCompletedEventId":{ "shape":"EventId", "documentation":"

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the FailWorkflowExecution decision to fail this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } }, - "documentation":"

Provides details of the WorkflowExecutionFailed event.

" + "documentation":"

Provides the details of the WorkflowExecutionFailed event.

" }, "WorkflowExecutionFilter":{ "type":"structure", @@ -4461,7 +4159,7 @@ }, "closeStatus":{ "shape":"CloseStatus", - "documentation":"

If the execution status is closed then this specifies how the execution was closed:

" + "documentation":"

If the execution status is closed then this specifies how the execution was closed:

" }, "parent":{ "shape":"WorkflowExecution", @@ -4476,7 +4174,7 @@ "documentation":"

Set to true if a cancellation is requested for this workflow execution.

" } }, - "documentation":"

Contains information about a workflow execution.

" + "documentation":"

Contains information about a workflow execution.

" }, "WorkflowExecutionInfoList":{ "type":"list", @@ -4508,7 +4206,7 @@ "members":{ "openActivityTasks":{ "shape":"Count", - "documentation":"

The count of activity tasks whose status is OPEN.

" + "documentation":"

The count of activity tasks whose status is OPEN.

" }, "openDecisionTasks":{ "shape":"OpenDecisionTasksCount", @@ -4520,11 +4218,11 @@ }, "openChildWorkflowExecutions":{ "shape":"Count", - "documentation":"

The count of child workflow executions whose status is OPEN.

" + "documentation":"

The count of child workflow executions whose status is OPEN.

" }, "openLambdaFunctions":{ "shape":"Count", - "documentation":"

The count of AWS Lambda functions that are currently executing.

" + "documentation":"

The count of Lambda tasks whose status is OPEN.

" } }, "documentation":"

Contains the counts of open tasks, child workflow executions and timers for a workflow execution.

" @@ -4539,7 +4237,7 @@ }, "input":{ "shape":"Data", - "documentation":"

Inputs provided with the signal (if any). The decider can use the signal name and inputs to determine how to process the signal.

" + "documentation":"

The inputs provided with the signal. The decider can use the signal name and inputs to determine how to process the signal.

" }, "externalWorkflowExecution":{ "shape":"WorkflowExecution", @@ -4550,7 +4248,7 @@ "documentation":"

The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflow decision to signal this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. This field is set only if the signal was initiated by another workflow execution.

" } }, - "documentation":"

Provides details of the WorkflowExecutionSignaled event.

" + "documentation":"

Provides the details of the WorkflowExecutionSignaled event.

" }, "WorkflowExecutionStartedEventAttributes":{ "type":"structure", @@ -4562,24 +4260,28 @@ "members":{ "input":{ "shape":"Data", - "documentation":"

The input provided to the workflow execution (if any).

" + "documentation":"

The input provided to the workflow execution.

" }, "executionStartToCloseTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

The maximum duration for this workflow execution.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

" + "documentation":"

The maximum duration for this workflow execution.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" }, "taskStartToCloseTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

The maximum duration of decision tasks for this workflow type.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

" + "documentation":"

The maximum duration of decision tasks for this workflow type.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" }, "childPolicy":{ "shape":"ChildPolicy", - "documentation":"

The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.

The supported child policies are:

" + "documentation":"

The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.

The supported child policies are:

" }, "taskList":{ "shape":"TaskList", "documentation":"

The name of the task list for scheduling the decision tasks for this workflow execution.

" }, + "taskPriority":{ + "shape":"TaskPriority", + "documentation":"

The priority of the decision tasks in the workflow execution.

" + }, "workflowType":{ "shape":"WorkflowType", "documentation":"

The workflow type of this execution.

" @@ -4588,22 +4290,21 @@ "shape":"TagList", "documentation":"

The list of tags associated with this workflow execution. An execution can have up to 5 tags.

" }, - "taskPriority":{"shape":"TaskPriority"}, "continuedExecutionRunId":{ - "shape":"RunIdOptional", + "shape":"WorkflowRunIdOptional", "documentation":"

If this workflow execution was started due to a ContinueAsNewWorkflowExecution decision, then it contains the runId of the previous workflow execution that was closed and continued as this execution.

" }, "parentWorkflowExecution":{ "shape":"WorkflowExecution", - "documentation":"

The source workflow execution that started this workflow execution. The member is not set if the workflow execution was not started by a workflow.

" + "documentation":"

The source workflow execution that started this workflow execution. The member isn't set if the workflow execution was not started by a workflow.

" }, "parentInitiatedEventId":{ "shape":"EventId", - "documentation":"

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution decision to start this workflow execution. The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" + "documentation":"

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this workflow execution. The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" }, "lambdaRole":{ "shape":"Arn", - "documentation":"

The IAM role attached to this workflow execution to use when invoking AWS Lambda functions.

" + "documentation":"

The IAM role attached to the workflow execution.

" } }, "documentation":"

Provides details of WorkflowExecutionStarted event.

" @@ -4622,22 +4323,22 @@ "members":{ "reason":{ "shape":"TerminateReason", - "documentation":"

The reason provided for the termination (if any).

" + "documentation":"

The reason provided for the termination.

" }, "details":{ "shape":"Data", - "documentation":"

The details provided for the termination (if any).

" + "documentation":"

The details provided for the termination.

" }, "childPolicy":{ "shape":"ChildPolicy", - "documentation":"

The policy used for the child workflow executions of this workflow execution.

The supported child policies are:

" + "documentation":"

The policy used for the child workflow executions of this workflow execution.

The supported child policies are:

" }, "cause":{ "shape":"WorkflowExecutionTerminatedCause", "documentation":"

If set, indicates that the workflow execution was automatically terminated, and specifies the cause. This happens if the parent workflow execution times out or is terminated and the child policy is set to terminate child executions.

" } }, - "documentation":"

Provides details of the WorkflowExecutionTerminated event.

" + "documentation":"

Provides the details of the WorkflowExecutionTerminated event.

" }, "WorkflowExecutionTimedOutEventAttributes":{ "type":"structure", @@ -4652,10 +4353,10 @@ }, "childPolicy":{ "shape":"ChildPolicy", - "documentation":"

The policy used for the child workflow executions of this workflow execution.

The supported child policies are:

" + "documentation":"

The policy used for the child workflow executions of this workflow execution.

The supported child policies are:

" } }, - "documentation":"

Provides details of the WorkflowExecutionTimedOut event.

" + "documentation":"

Provides the details of the WorkflowExecutionTimedOut event.

" }, "WorkflowExecutionTimeoutType":{ "type":"string", @@ -4663,8 +4364,17 @@ }, "WorkflowId":{ "type":"string", - "min":1, - "max":256 + "max":256, + "min":1 + }, + "WorkflowRunId":{ + "type":"string", + "max":64, + "min":1 + }, + "WorkflowRunIdOptional":{ + "type":"string", + "max":64 }, "WorkflowType":{ "type":"structure", @@ -4675,11 +4385,11 @@ "members":{ "name":{ "shape":"Name", - "documentation":"

Required. The name of the workflow type.

The combination of workflow type name and version must be unique with in a domain." + "documentation":"

The name of the workflow type.

The combination of workflow type name and version must be unique with in a domain.

" }, "version":{ "shape":"Version", - "documentation":"

Required. The version of the workflow type.

The combination of workflow type name and version must be unique with in a domain." + "documentation":"

The version of the workflow type.

The combination of workflow type name and version must be unique with in a domain.

" } }, "documentation":"

Represents a workflow type.

" @@ -4689,27 +4399,27 @@ "members":{ "defaultTaskStartToCloseTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

Optional. The default maximum duration, specified when registering the workflow type, that a decision task for executions of this workflow type might take before returning completion or failure. If the task does not close in the specified time then the task is automatically timed out and rescheduled. If the decider eventually reports a completion or failure, it is ignored. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution decision.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

" + "documentation":"

The default maximum duration, specified when registering the workflow type, that a decision task for executions of this workflow type might take before returning completion or failure. If the task doesn'tdo close in the specified time then the task is automatically timed out and rescheduled. If the decider eventually reports a completion or failure, it is ignored. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution Decision.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" }, "defaultExecutionStartToCloseTimeout":{ "shape":"DurationInSecondsOptional", - "documentation":"

Optional. The default maximum duration, specified when registering the workflow type, for executions of this workflow type. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution decision.

The duration is specified in seconds; an integer greater than or equal to 0. The value \"NONE\" can be used to specify unlimited duration.

" + "documentation":"

The default maximum duration, specified when registering the workflow type, for executions of this workflow type. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution Decision.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" }, "defaultTaskList":{ "shape":"TaskList", - "documentation":"

Optional. The default task list, specified when registering the workflow type, for decisions tasks scheduled for workflow executions of this type. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution decision.

" + "documentation":"

The default task list, specified when registering the workflow type, for decisions tasks scheduled for workflow executions of this type. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution Decision.

" }, "defaultTaskPriority":{ "shape":"TaskPriority", - "documentation":"

Optional. The default task priority, specified when registering the workflow type, for all decision tasks of this workflow type. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution decision.

Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide.

" + "documentation":"

The default task priority, specified when registering the workflow type, for all decision tasks of this workflow type. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution decision.

Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

" }, "defaultChildPolicy":{ "shape":"ChildPolicy", - "documentation":"

Optional. The default policy to use for the child workflow executions when a workflow execution of this type is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution decision.

The supported child policies are:

" + "documentation":"

The default policy to use for the child workflow executions when a workflow execution of this type is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution Decision.

The supported child policies are:

" }, "defaultLambdaRole":{ "shape":"Arn", - "documentation":"

The default IAM role to use when a workflow execution invokes a AWS Lambda function.

" + "documentation":"

The default IAM role attached to this workflow type.

Executions of this workflow type need IAM roles to invoke Lambda functions. If you don't specify an IAM role when starting this workflow type, the default Lambda role is attached to the execution. For more information, see http://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html in the Amazon SWF Developer Guide.

" } }, "documentation":"

The configuration settings of a workflow type.

" @@ -4723,11 +4433,11 @@ "members":{ "typeInfo":{ "shape":"WorkflowTypeInfo", - "documentation":"

General information about the workflow type.

The status of the workflow type (returned in the WorkflowTypeInfo structure) can be one of the following.

" + "documentation":"

General information about the workflow type.

The status of the workflow type (returned in the WorkflowTypeInfo structure) can be one of the following.

" }, "configuration":{ "shape":"WorkflowTypeConfiguration", - "documentation":"

Configuration settings of the workflow type registered through RegisterWorkflowType

" + "documentation":"

Configuration settings of the workflow type registered through RegisterWorkflowType

" } }, "documentation":"

Contains details about a workflow type.

" @@ -4738,7 +4448,7 @@ "members":{ "name":{ "shape":"Name", - "documentation":"

Required. Name of the workflow type.

" + "documentation":"

Name of the workflow type.

" }, "version":{ "shape":"VersionOptional", @@ -4798,6 +4508,5 @@ "documentation":"

Contains a paginated list of information structures about workflow types.

" } }, - "examples":{ - } + "documentation":"Amazon Simple Workflow Service

The Amazon Simple Workflow Service (Amazon SWF) makes it easy to build applications that use Amazon's cloud to coordinate work across distributed components. In Amazon SWF, a task represents a logical unit of work that is performed by a component of your workflow. Coordinating tasks in a workflow involves managing intertask dependencies, scheduling, and concurrency in accordance with the logical flow of the application.

Amazon SWF gives you full control over implementing tasks and coordinating them without worrying about underlying complexities such as tracking their progress and maintaining their state.

This documentation serves as reference only. For a broader overview of the Amazon SWF programming model, see the Amazon SWF Developer Guide .

" } diff --git a/botocore/paginate.py b/botocore/paginate.py index 29c544b5..8cae9749 100644 --- a/botocore/paginate.py +++ b/botocore/paginate.py @@ -257,6 +257,11 @@ class PageIterator(object): parsed, primary_result_key, starting_truncation) first_request = False self._record_non_aggregate_key_values(parsed) + else: + # If this isn't the first request, we have already sliced into + # the first request and had to make additional requests after. + # We no longer need to add this to truncation. + starting_truncation = 0 current_response = primary_result_key.search(parsed) if current_response is None: current_response = [] diff --git a/botocore/utils.py b/botocore/utils.py index 1d9185c3..59cf3492 100644 --- a/botocore/utils.py +++ b/botocore/utils.py @@ -18,6 +18,7 @@ import hashlib import binascii import functools import weakref +import random import dateutil.parser from dateutil.tz import tzlocal, tzutc @@ -578,6 +579,8 @@ class ArgumentGenerator(object): elif shape.type_name == 'string': if self._use_member_names: return name + if shape.enum: + return random.choice(shape.enum) return '' elif shape.type_name in ['integer', 'long']: return 0 diff --git a/docs/source/conf.py b/docs/source/conf.py index 49030d59..a93a657a 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -54,7 +54,7 @@ copyright = u'2013, Mitch Garnaat' # The short X.Y version. version = '1.5.' # The full version, including alpha/beta/rc tags. -release = '1.5.80' +release = '1.5.84' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/tests/unit/test_paginate.py b/tests/unit/test_paginate.py index 5f7d1931..0c10e2e4 100644 --- a/tests/unit/test_paginate.py +++ b/tests/unit/test_paginate.py @@ -296,6 +296,49 @@ class TestPagination(unittest.TestCase): complete = pages.build_full_result() self.assertEqual(complete, {'Users': ['User1', 'User2', 'User3']}) + def test_build_multiple_results(self): + self.paginate_config = { + "output_token": "Marker", + "input_token": "Marker", + "result_key": "Users", + "limit_key": "MaxKeys", + } + self.paginator = Paginator(self.method, self.paginate_config) + + max_items = 3 + page_size = 2 + + responses = [ + {"Users": ["User1", "User2"], "Marker": "m1"}, + {"Users": ["User3", "User4"], "Marker": "m2"}, + {"Users": ["User3", "User4"], "Marker": "m2"}, + {"Users": ["User5", "User6", "User7"], "Marker": "m3"}, + ] + self.method.side_effect = responses + + pages = self.paginator.paginate( + PaginationConfig={ + 'PageSize': page_size, + 'MaxItems': max_items + } + ) + result = pages.build_full_result() + + pages = self.paginator.paginate( + PaginationConfig={ + 'MaxItems': max_items, + 'PageSize': page_size, + 'StartingToken': result['NextToken'] + } + ) + result = pages.build_full_result() + + expected_token = encode_token({ + 'Marker': 'm2', + 'boto_truncate_amount': 2, + }) + self.assertEqual(expected_token, result['NextToken']) + class TestPaginatorPageSize(unittest.TestCase): def setUp(self): diff --git a/tests/unit/test_utils.py b/tests/unit/test_utils.py index ebd51511..c1cc1b9c 100644 --- a/tests/unit/test_utils.py +++ b/tests/unit/test_utils.py @@ -416,6 +416,17 @@ class TestArgumentGenerator(unittest.TestCase): } ) + def test_generate_string_enum(self): + enum_values = ['A', 'B', 'C'] + model = { + 'A': {'type': 'string', 'enum': enum_values} + } + shape = DenormalizedStructureBuilder().with_members( + model).build_model() + actual = self.arg_generator.generate_skeleton(shape) + + self.assertIn(actual['A'], enum_values) + def test_generate_scalars(self): self.assert_skeleton_from_model_is( model={