{
"smithy": "1.0",
"metadata": {
"suppressions": [
{
"id": "HttpMethodSemantics",
"namespace": "*"
},
{
"id": "HttpResponseCodeSemantics",
"namespace": "*"
},
{
"id": "PaginatedTrait",
"namespace": "*"
},
{
"id": "HttpHeaderTrait",
"namespace": "*"
},
{
"id": "HttpUriConflict",
"namespace": "*"
},
{
"id": "Service",
"namespace": "*"
}
]
},
"shapes": {
"com.amazonaws.cognitosync#AWSCognitoSyncService": {
"type": "service",
"version": "2014-06-30",
"operations": [
{
"target": "com.amazonaws.cognitosync#BulkPublish"
},
{
"target": "com.amazonaws.cognitosync#DeleteDataset"
},
{
"target": "com.amazonaws.cognitosync#DescribeDataset"
},
{
"target": "com.amazonaws.cognitosync#DescribeIdentityPoolUsage"
},
{
"target": "com.amazonaws.cognitosync#DescribeIdentityUsage"
},
{
"target": "com.amazonaws.cognitosync#GetBulkPublishDetails"
},
{
"target": "com.amazonaws.cognitosync#GetCognitoEvents"
},
{
"target": "com.amazonaws.cognitosync#GetIdentityPoolConfiguration"
},
{
"target": "com.amazonaws.cognitosync#ListDatasets"
},
{
"target": "com.amazonaws.cognitosync#ListIdentityPoolUsage"
},
{
"target": "com.amazonaws.cognitosync#ListRecords"
},
{
"target": "com.amazonaws.cognitosync#RegisterDevice"
},
{
"target": "com.amazonaws.cognitosync#SetCognitoEvents"
},
{
"target": "com.amazonaws.cognitosync#SetIdentityPoolConfiguration"
},
{
"target": "com.amazonaws.cognitosync#SubscribeToDataset"
},
{
"target": "com.amazonaws.cognitosync#UnsubscribeFromDataset"
},
{
"target": "com.amazonaws.cognitosync#UpdateRecords"
}
],
"traits": {
"aws.api#service": {
"sdkId": "Cognito Sync",
"arnNamespace": "cognito-sync",
"cloudFormationName": "CognitoSync",
"cloudTrailEventSource": "cognitosync.amazonaws.com",
"endpointPrefix": "cognito-sync"
},
"aws.auth#sigv4": {
"name": "cognito-sync"
},
"aws.protocols#restJson1": {},
"smithy.api#documentation": "
Amazon Cognito Sync provides an AWS service and client library that enable cross-device syncing of\n application-related user data. High-level client libraries are available for both iOS and\n Android. You can use these libraries to persist data locally so that it's available even if\n the device is offline. Developer credentials don't need to be stored on the mobile device\n to access the service. You can use Amazon Cognito to obtain a normalized user ID and\n credentials. User data is persisted in a dataset that can store up to 1 MB of key-value\n pairs, and you can have up to 20 datasets per user identity.
\nWith Amazon Cognito Sync, the data stored for each identity is accessible only to\n credentials assigned to that identity. In order to use the Cognito Sync service, you need\n to make API calls using credentials retrieved with Amazon Cognito Identity service.
\nIf you want to use Cognito Sync in an Android or iOS application, you will probably want to\n make API calls via the AWS Mobile SDK. To learn more, see the Developer Guide for Android and the Developer Guide for iOS.
", "smithy.api#title": "Amazon Cognito Sync", "smithy.api#xmlNamespace": { "uri": "http://cognito-sync.amazonaws.com/doc/2014-06-30/" } } }, "com.amazonaws.cognitosync#AlreadyStreamedException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.cognitosync#ExceptionMessage", "traits": { "smithy.api#documentation": "The message associated with the AlreadyStreamedException exception.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "An exception thrown when a bulk publish operation is requested less than 24 hours after a previous bulk publish operation completed successfully.", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cognitosync#ApplicationArn": { "type": "string", "traits": { "smithy.api#pattern": "arn:aws:sns:[-0-9a-z]+:\\d+:app/[A-Z_]+/[a-zA-Z0-9_.-]+" } }, "com.amazonaws.cognitosync#ApplicationArnList": { "type": "list", "member": { "target": "com.amazonaws.cognitosync#ApplicationArn" } }, "com.amazonaws.cognitosync#AssumeRoleArn": { "type": "string", "traits": { "smithy.api#length": { "min": 20, "max": 2048 }, "smithy.api#pattern": "arn:aws:iam::\\d+:role/.*" } }, "com.amazonaws.cognitosync#Boolean": { "type": "boolean" }, "com.amazonaws.cognitosync#BulkPublish": { "type": "operation", "input": { "target": "com.amazonaws.cognitosync#BulkPublishRequest" }, "output": { "target": "com.amazonaws.cognitosync#BulkPublishResponse" }, "errors": [ { "target": "com.amazonaws.cognitosync#AlreadyStreamedException" }, { "target": "com.amazonaws.cognitosync#DuplicateRequestException" }, { "target": "com.amazonaws.cognitosync#InternalErrorException" }, { "target": "com.amazonaws.cognitosync#InvalidParameterException" }, { "target": "com.amazonaws.cognitosync#NotAuthorizedException" }, { "target": "com.amazonaws.cognitosync#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "Initiates a bulk publish of all existing datasets for an Identity Pool to the configured stream. Customers are limited to one successful bulk publish per 24 hours. Bulk publish is an asynchronous request, customers can see the status of the request via the GetBulkPublishDetails operation.
This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.
", "smithy.api#http": { "method": "POST", "uri": "/identitypools/{IdentityPoolId}/bulkpublish", "code": 200 } } }, "com.amazonaws.cognitosync#BulkPublishRequest": { "type": "structure", "members": { "IdentityPoolId": { "target": "com.amazonaws.cognitosync#IdentityPoolId", "traits": { "smithy.api#documentation": "A name-spaced GUID (for example,\n us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is\n unique within a region.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The input for the BulkPublish operation." } }, "com.amazonaws.cognitosync#BulkPublishResponse": { "type": "structure", "members": { "IdentityPoolId": { "target": "com.amazonaws.cognitosync#IdentityPoolId", "traits": { "smithy.api#documentation": "A name-spaced GUID (for example,\n us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is\n unique within a region." } } }, "traits": { "smithy.api#documentation": "The output for the BulkPublish operation." } }, "com.amazonaws.cognitosync#BulkPublishStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "NOT_STARTED", "name": "NOT_STARTED" }, { "value": "IN_PROGRESS", "name": "IN_PROGRESS" }, { "value": "FAILED", "name": "FAILED" }, { "value": "SUCCEEDED", "name": "SUCCEEDED" } ] } }, "com.amazonaws.cognitosync#ClientContext": { "type": "string" }, "com.amazonaws.cognitosync#CognitoEventType": { "type": "string" }, "com.amazonaws.cognitosync#CognitoStreams": { "type": "structure", "members": { "StreamName": { "target": "com.amazonaws.cognitosync#StreamName", "traits": { "smithy.api#documentation": "The name of the Cognito stream to receive updates. This stream must be in the developers account and in the same region as the identity pool." } }, "RoleArn": { "target": "com.amazonaws.cognitosync#AssumeRoleArn", "traits": { "smithy.api#documentation": "The ARN of the role Amazon Cognito can assume in order to publish to the stream. This role must grant access to Amazon Cognito (cognito-sync) to invoke PutRecord on your Cognito stream." } }, "StreamingStatus": { "target": "com.amazonaws.cognitosync#StreamingStatus", "traits": { "smithy.api#documentation": "Status of the Cognito streams. Valid values are:\nENABLED - Streaming of updates to identity pool is enabled.
\nDISABLED - Streaming of updates to identity pool is disabled. Bulk publish will also fail if StreamingStatus is DISABLED.
" } } }, "traits": { "smithy.api#documentation": "Configuration options for configure Cognito streams." } }, "com.amazonaws.cognitosync#ConcurrentModificationException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.cognitosync#String", "traits": { "smithy.api#documentation": "The message returned by a ConcurrentModicationException.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Thrown if there are parallel requests to modify a resource.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cognitosync#Dataset": { "type": "structure", "members": { "IdentityId": { "target": "com.amazonaws.cognitosync#IdentityId", "traits": { "smithy.api#documentation": "A name-spaced GUID (for example,\n us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is\n unique within a region." } }, "DatasetName": { "target": "com.amazonaws.cognitosync#DatasetName", "traits": { "smithy.api#documentation": "A string of up to 128 characters. Allowed characters\n are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot)." } }, "CreationDate": { "target": "com.amazonaws.cognitosync#Date", "traits": { "smithy.api#documentation": "Date on which the dataset was\n created." } }, "LastModifiedDate": { "target": "com.amazonaws.cognitosync#Date", "traits": { "smithy.api#documentation": "Date when the dataset was last\n modified." } }, "LastModifiedBy": { "target": "com.amazonaws.cognitosync#String", "traits": { "smithy.api#documentation": "The device that made the last change to this\n dataset." } }, "DataStorage": { "target": "com.amazonaws.cognitosync#Long", "traits": { "smithy.api#documentation": "Total size in bytes of the records in this\n dataset." } }, "NumRecords": { "target": "com.amazonaws.cognitosync#Long", "traits": { "smithy.api#documentation": "Number of records in this dataset." } } }, "traits": { "smithy.api#documentation": "A collection of data for an identity pool. An identity pool can\n have multiple datasets. A dataset is per identity and can be general or associated with a\n particular entity in an application (like a saved game). Datasets are automatically created if\n they don't exist. Data is synced by dataset, and a dataset can hold up to 1MB of key-value\n pairs." } }, "com.amazonaws.cognitosync#DatasetList": { "type": "list", "member": { "target": "com.amazonaws.cognitosync#Dataset" } }, "com.amazonaws.cognitosync#DatasetName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "[a-zA-Z0-9_.:-]+" } }, "com.amazonaws.cognitosync#Date": { "type": "timestamp" }, "com.amazonaws.cognitosync#DeleteDataset": { "type": "operation", "input": { "target": "com.amazonaws.cognitosync#DeleteDatasetRequest" }, "output": { "target": "com.amazonaws.cognitosync#DeleteDatasetResponse" }, "errors": [ { "target": "com.amazonaws.cognitosync#InternalErrorException" }, { "target": "com.amazonaws.cognitosync#InvalidParameterException" }, { "target": "com.amazonaws.cognitosync#NotAuthorizedException" }, { "target": "com.amazonaws.cognitosync#ResourceConflictException" }, { "target": "com.amazonaws.cognitosync#ResourceNotFoundException" }, { "target": "com.amazonaws.cognitosync#TooManyRequestsException" } ], "traits": { "smithy.api#documentation": "Deletes the specific dataset. The dataset will be deleted permanently, and the action can't\n be undone. Datasets that this dataset was merged with will no longer report the merge. Any\n subsequent operation on this dataset will result in a\n ResourceNotFoundException.
\nThis API can be called with temporary user credentials provided by Cognito Identity or with developer credentials.
", "smithy.api#http": { "method": "DELETE", "uri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", "code": 200 } } }, "com.amazonaws.cognitosync#DeleteDatasetRequest": { "type": "structure", "members": { "IdentityPoolId": { "target": "com.amazonaws.cognitosync#IdentityPoolId", "traits": { "smithy.api#documentation": "A name-spaced GUID (for example,\n us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is\n unique within a region.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "IdentityId": { "target": "com.amazonaws.cognitosync#IdentityId", "traits": { "smithy.api#documentation": "A name-spaced GUID (for example,\n us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is\n unique within a region.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "DatasetName": { "target": "com.amazonaws.cognitosync#DatasetName", "traits": { "smithy.api#documentation": "A string of up to 128 characters.\n Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.'\n (dot).", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A request to delete the specific\n dataset." } }, "com.amazonaws.cognitosync#DeleteDatasetResponse": { "type": "structure", "members": { "Dataset": { "target": "com.amazonaws.cognitosync#Dataset", "traits": { "smithy.api#documentation": "A collection of data for an identity pool.\n An identity pool can have multiple datasets. A dataset is per identity and can be general or\n associated with a particular entity in an application (like a saved game). Datasets are\n automatically created if they don't exist. Data is synced by dataset, and a dataset can hold\n up to 1MB of key-value pairs." } } }, "traits": { "smithy.api#documentation": "Response to a successful DeleteDataset\n request." } }, "com.amazonaws.cognitosync#DescribeDataset": { "type": "operation", "input": { "target": "com.amazonaws.cognitosync#DescribeDatasetRequest" }, "output": { "target": "com.amazonaws.cognitosync#DescribeDatasetResponse" }, "errors": [ { "target": "com.amazonaws.cognitosync#InternalErrorException" }, { "target": "com.amazonaws.cognitosync#InvalidParameterException" }, { "target": "com.amazonaws.cognitosync#NotAuthorizedException" }, { "target": "com.amazonaws.cognitosync#ResourceNotFoundException" }, { "target": "com.amazonaws.cognitosync#TooManyRequestsException" } ], "traits": { "smithy.api#documentation": "Gets meta data about a dataset by identity and dataset name. With Amazon Cognito Sync, each\n identity has access only to its own data. Thus, the credentials used to make this API call\n need to have access to the identity data.
\nThis API can be called with temporary user credentials provided by Cognito Identity or with developer credentials. You should use Cognito Identity credentials to make this API call.
", "smithy.api#http": { "method": "GET", "uri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", "code": 200 } } }, "com.amazonaws.cognitosync#DescribeDatasetRequest": { "type": "structure", "members": { "IdentityPoolId": { "target": "com.amazonaws.cognitosync#IdentityPoolId", "traits": { "smithy.api#documentation": "A name-spaced GUID (for example,\n us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is\n unique within a region.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "IdentityId": { "target": "com.amazonaws.cognitosync#IdentityId", "traits": { "smithy.api#documentation": "A name-spaced GUID (for example,\n us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is\n unique within a region.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "DatasetName": { "target": "com.amazonaws.cognitosync#DatasetName", "traits": { "smithy.api#documentation": "A string of up to 128 characters.\n Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.'\n (dot).", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A request for meta data about a dataset (creation\n date, number of records, size) by owner and dataset name." } }, "com.amazonaws.cognitosync#DescribeDatasetResponse": { "type": "structure", "members": { "Dataset": { "target": "com.amazonaws.cognitosync#Dataset", "traits": { "smithy.api#documentation": "Meta data for a collection of data for an\n identity. An identity can have multiple datasets. A dataset can be general or associated with\n a particular entity in an application (like a saved game). Datasets are automatically created\n if they don't exist. Data is synced by dataset, and a dataset can hold up to 1MB of key-value\n pairs." } } }, "traits": { "smithy.api#documentation": "Response to a successful DescribeDataset\n request." } }, "com.amazonaws.cognitosync#DescribeIdentityPoolUsage": { "type": "operation", "input": { "target": "com.amazonaws.cognitosync#DescribeIdentityPoolUsageRequest" }, "output": { "target": "com.amazonaws.cognitosync#DescribeIdentityPoolUsageResponse" }, "errors": [ { "target": "com.amazonaws.cognitosync#InternalErrorException" }, { "target": "com.amazonaws.cognitosync#InvalidParameterException" }, { "target": "com.amazonaws.cognitosync#NotAuthorizedException" }, { "target": "com.amazonaws.cognitosync#ResourceNotFoundException" }, { "target": "com.amazonaws.cognitosync#TooManyRequestsException" } ], "traits": { "smithy.api#documentation": "Gets usage details (for example, data storage) about a particular identity pool.
\nThis API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.
\n\nGets usage information for an identity, including number of datasets and data usage.
\nThis API can be called with temporary user credentials provided by Cognito Identity or with developer credentials.
\nGet the status of the last BulkPublish operation for an identity pool.
This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.
", "smithy.api#http": { "method": "POST", "uri": "/identitypools/{IdentityPoolId}/getBulkPublishDetails", "code": 200 } } }, "com.amazonaws.cognitosync#GetBulkPublishDetailsRequest": { "type": "structure", "members": { "IdentityPoolId": { "target": "com.amazonaws.cognitosync#IdentityPoolId", "traits": { "smithy.api#documentation": "A name-spaced GUID (for example,\n us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is\n unique within a region.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The input for the GetBulkPublishDetails operation." } }, "com.amazonaws.cognitosync#GetBulkPublishDetailsResponse": { "type": "structure", "members": { "IdentityPoolId": { "target": "com.amazonaws.cognitosync#IdentityPoolId", "traits": { "smithy.api#documentation": "A name-spaced GUID (for example,\n us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is\n unique within a region." } }, "BulkPublishStartTime": { "target": "com.amazonaws.cognitosync#Date", "traits": { "smithy.api#documentation": "The date/time at which the last bulk publish was initiated." } }, "BulkPublishCompleteTime": { "target": "com.amazonaws.cognitosync#Date", "traits": { "smithy.api#documentation": "If BulkPublishStatus is SUCCEEDED, the time the last bulk publish operation completed." } }, "BulkPublishStatus": { "target": "com.amazonaws.cognitosync#BulkPublishStatus", "traits": { "smithy.api#documentation": "Status of the last bulk publish operation, valid values are: \nNOT_STARTED - No bulk publish has been requested for this identity pool
\nIN_PROGRESS - Data is being published to the configured stream
\nSUCCEEDED - All data for the identity pool has been published to the configured stream
\nFAILED - Some portion of the data has failed to publish, check FailureMessage for the cause.
" } }, "FailureMessage": { "target": "com.amazonaws.cognitosync#String", "traits": { "smithy.api#documentation": "If BulkPublishStatus is FAILED this field will contain the error message that caused the bulk publish to fail." } } }, "traits": { "smithy.api#documentation": "The output for the GetBulkPublishDetails operation." } }, "com.amazonaws.cognitosync#GetCognitoEvents": { "type": "operation", "input": { "target": "com.amazonaws.cognitosync#GetCognitoEventsRequest" }, "output": { "target": "com.amazonaws.cognitosync#GetCognitoEventsResponse" }, "errors": [ { "target": "com.amazonaws.cognitosync#InternalErrorException" }, { "target": "com.amazonaws.cognitosync#InvalidParameterException" }, { "target": "com.amazonaws.cognitosync#NotAuthorizedException" }, { "target": "com.amazonaws.cognitosync#ResourceNotFoundException" }, { "target": "com.amazonaws.cognitosync#TooManyRequestsException" } ], "traits": { "smithy.api#documentation": "Gets the events and the corresponding Lambda functions associated with an identity pool.
This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.
", "smithy.api#http": { "method": "GET", "uri": "/identitypools/{IdentityPoolId}/events", "code": 200 } } }, "com.amazonaws.cognitosync#GetCognitoEventsRequest": { "type": "structure", "members": { "IdentityPoolId": { "target": "com.amazonaws.cognitosync#IdentityPoolId", "traits": { "smithy.api#documentation": "The Cognito Identity Pool ID for the request
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A request for a list of the configured Cognito Events
" } }, "com.amazonaws.cognitosync#GetCognitoEventsResponse": { "type": "structure", "members": { "Events": { "target": "com.amazonaws.cognitosync#Events", "traits": { "smithy.api#documentation": "The Cognito Events returned from the GetCognitoEvents request
" } } }, "traits": { "smithy.api#documentation": "The response from the GetCognitoEvents request
" } }, "com.amazonaws.cognitosync#GetIdentityPoolConfiguration": { "type": "operation", "input": { "target": "com.amazonaws.cognitosync#GetIdentityPoolConfigurationRequest" }, "output": { "target": "com.amazonaws.cognitosync#GetIdentityPoolConfigurationResponse" }, "errors": [ { "target": "com.amazonaws.cognitosync#InternalErrorException" }, { "target": "com.amazonaws.cognitosync#InvalidParameterException" }, { "target": "com.amazonaws.cognitosync#NotAuthorizedException" }, { "target": "com.amazonaws.cognitosync#ResourceNotFoundException" }, { "target": "com.amazonaws.cognitosync#TooManyRequestsException" } ], "traits": { "smithy.api#documentation": "Gets the configuration settings of an identity pool.
This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.
\nA name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by\n Amazon Cognito. This is the ID of the pool for which to return a configuration.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The input for the GetIdentityPoolConfiguration operation.
" } }, "com.amazonaws.cognitosync#GetIdentityPoolConfigurationResponse": { "type": "structure", "members": { "IdentityPoolId": { "target": "com.amazonaws.cognitosync#IdentityPoolId", "traits": { "smithy.api#documentation": "A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by\n Amazon Cognito.
" } }, "PushSync": { "target": "com.amazonaws.cognitosync#PushSync", "traits": { "smithy.api#documentation": "Options to apply to this identity pool for push synchronization.
" } }, "CognitoStreams": { "target": "com.amazonaws.cognitosync#CognitoStreams", "traits": { "smithy.api#documentation": "Options to apply to this identity pool for Amazon Cognito streams." } } }, "traits": { "smithy.api#documentation": "The output for the GetIdentityPoolConfiguration operation.
" } }, "com.amazonaws.cognitosync#IdentityId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 55 }, "smithy.api#pattern": "[\\w-]+:[0-9a-f-]+" } }, "com.amazonaws.cognitosync#IdentityPoolId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 55 }, "smithy.api#pattern": "[\\w-]+:[0-9a-f-]+" } }, "com.amazonaws.cognitosync#IdentityPoolUsage": { "type": "structure", "members": { "IdentityPoolId": { "target": "com.amazonaws.cognitosync#IdentityPoolId", "traits": { "smithy.api#documentation": "A name-spaced GUID (for example,\n us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is\n unique within a region." } }, "SyncSessionsCount": { "target": "com.amazonaws.cognitosync#Long", "traits": { "smithy.api#documentation": "Number of sync sessions for the\n identity pool." } }, "DataStorage": { "target": "com.amazonaws.cognitosync#Long", "traits": { "smithy.api#documentation": "Data storage information for the identity\n pool." } }, "LastModifiedDate": { "target": "com.amazonaws.cognitosync#Date", "traits": { "smithy.api#documentation": "Date on which the identity pool was\n last modified." } } }, "traits": { "smithy.api#documentation": "Usage information for the identity\n pool." } }, "com.amazonaws.cognitosync#IdentityPoolUsageList": { "type": "list", "member": { "target": "com.amazonaws.cognitosync#IdentityPoolUsage" } }, "com.amazonaws.cognitosync#IdentityUsage": { "type": "structure", "members": { "IdentityId": { "target": "com.amazonaws.cognitosync#IdentityId", "traits": { "smithy.api#documentation": "A name-spaced GUID (for example,\n us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is\n unique within a region." } }, "IdentityPoolId": { "target": "com.amazonaws.cognitosync#IdentityPoolId", "traits": { "smithy.api#documentation": "A name-spaced GUID (for example,\n us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is\n unique within a region." } }, "LastModifiedDate": { "target": "com.amazonaws.cognitosync#Date", "traits": { "smithy.api#documentation": "Date on which the identity was last\n modified." } }, "DatasetCount": { "target": "com.amazonaws.cognitosync#Integer", "traits": { "smithy.api#documentation": "Number of datasets for the\n identity." } }, "DataStorage": { "target": "com.amazonaws.cognitosync#Long", "traits": { "smithy.api#documentation": "Total data storage for this\n identity." } } }, "traits": { "smithy.api#documentation": "Usage information for the identity." } }, "com.amazonaws.cognitosync#Integer": { "type": "integer" }, "com.amazonaws.cognitosync#IntegerString": { "type": "integer" }, "com.amazonaws.cognitosync#InternalErrorException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.cognitosync#ExceptionMessage", "traits": { "smithy.api#documentation": "Message returned by\n InternalErrorException.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Indicates an internal service\n error.", "smithy.api#error": "server", "smithy.api#httpError": 500 } }, "com.amazonaws.cognitosync#InvalidConfigurationException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.cognitosync#ExceptionMessage", "traits": { "smithy.api#documentation": "Message returned by\n InvalidConfigurationException.", "smithy.api#required": {} } } }, "traits": { "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cognitosync#InvalidLambdaFunctionOutputException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.cognitosync#ExceptionMessage", "traits": { "smithy.api#documentation": "A message returned when an InvalidLambdaFunctionOutputException occurs
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The AWS Lambda function returned invalid output or an exception.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cognitosync#InvalidParameterException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.cognitosync#ExceptionMessage", "traits": { "smithy.api#documentation": "Message returned by\n InvalidParameterException.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Thrown when a request parameter does not comply\n with the associated constraints.", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cognitosync#LambdaFunctionArn": { "type": "string" }, "com.amazonaws.cognitosync#LambdaThrottledException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.cognitosync#ExceptionMessage", "traits": { "smithy.api#documentation": "A message returned when an LambdaThrottledException is thrown
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "AWS Lambda throttled your account, please contact AWS Support
", "smithy.api#error": "client", "smithy.api#httpError": 429 } }, "com.amazonaws.cognitosync#LimitExceededException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.cognitosync#ExceptionMessage", "traits": { "smithy.api#documentation": "Message returned by\n LimitExceededException.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Thrown when the limit on the number of objects or\n operations has been exceeded.", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cognitosync#ListDatasets": { "type": "operation", "input": { "target": "com.amazonaws.cognitosync#ListDatasetsRequest" }, "output": { "target": "com.amazonaws.cognitosync#ListDatasetsResponse" }, "errors": [ { "target": "com.amazonaws.cognitosync#InternalErrorException" }, { "target": "com.amazonaws.cognitosync#InvalidParameterException" }, { "target": "com.amazonaws.cognitosync#NotAuthorizedException" }, { "target": "com.amazonaws.cognitosync#TooManyRequestsException" } ], "traits": { "smithy.api#documentation": "Lists datasets for an identity. With Amazon Cognito Sync, each identity has access only to\n its own data. Thus, the credentials used to make this API call need to have access to the\n identity data.
\nListDatasets can be called with temporary user credentials provided by Cognito\n Identity or with developer credentials. You should use the Cognito Identity credentials to\n make this API call.
\nGets a list of identity pools registered with Cognito.
\nListIdentityPoolUsage can only be called with developer credentials. You\n cannot make this API call with the temporary user credentials provided by Cognito\n Identity.
\nGets paginated records, optionally changed after a particular sync count for a dataset and\n identity. With Amazon Cognito Sync, each identity has access only to its own data. Thus,\n the credentials used to make this API call need to have access to the identity data.
\nListRecords can be called with temporary user credentials provided by Cognito\n Identity or with developer credentials. You should use Cognito Identity credentials to make\n this API call.
\nList of SNS platform application ARNs that could be used by clients.
" } }, "RoleArn": { "target": "com.amazonaws.cognitosync#AssumeRoleArn", "traits": { "smithy.api#documentation": "A role configured to allow Cognito to call SNS on behalf of the developer.
" } } }, "traits": { "smithy.api#documentation": "Configuration options to be applied to the identity pool.
" } }, "com.amazonaws.cognitosync#PushToken": { "type": "string" }, "com.amazonaws.cognitosync#Record": { "type": "structure", "members": { "Key": { "target": "com.amazonaws.cognitosync#RecordKey", "traits": { "smithy.api#documentation": "The key for the record." } }, "Value": { "target": "com.amazonaws.cognitosync#RecordValue", "traits": { "smithy.api#documentation": "The value for the record." } }, "SyncCount": { "target": "com.amazonaws.cognitosync#Long", "traits": { "smithy.api#documentation": "The server sync count for this record." } }, "LastModifiedDate": { "target": "com.amazonaws.cognitosync#Date", "traits": { "smithy.api#documentation": "The date on which the record was last\n modified." } }, "LastModifiedBy": { "target": "com.amazonaws.cognitosync#String", "traits": { "smithy.api#documentation": "The user/device that made the last change to this\n record." } }, "DeviceLastModifiedDate": { "target": "com.amazonaws.cognitosync#Date", "traits": { "smithy.api#documentation": "The last modified date of the client\n device." } } }, "traits": { "smithy.api#documentation": "The basic data structure of a dataset." } }, "com.amazonaws.cognitosync#RecordKey": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1024 } } }, "com.amazonaws.cognitosync#RecordList": { "type": "list", "member": { "target": "com.amazonaws.cognitosync#Record" } }, "com.amazonaws.cognitosync#RecordPatch": { "type": "structure", "members": { "Op": { "target": "com.amazonaws.cognitosync#Operation", "traits": { "smithy.api#documentation": "An operation, either replace or remove.", "smithy.api#required": {} } }, "Key": { "target": "com.amazonaws.cognitosync#RecordKey", "traits": { "smithy.api#documentation": "The key associated with the record patch.", "smithy.api#required": {} } }, "Value": { "target": "com.amazonaws.cognitosync#RecordValue", "traits": { "smithy.api#documentation": "The value associated with the record\n patch." } }, "SyncCount": { "target": "com.amazonaws.cognitosync#Long", "traits": { "smithy.api#documentation": "Last known server sync count for this record. Set\n to 0 if unknown.", "smithy.api#required": {} } }, "DeviceLastModifiedDate": { "target": "com.amazonaws.cognitosync#Date", "traits": { "smithy.api#documentation": "The last modified date of the client\n device." } } }, "traits": { "smithy.api#documentation": "An update operation for a record." } }, "com.amazonaws.cognitosync#RecordPatchList": { "type": "list", "member": { "target": "com.amazonaws.cognitosync#RecordPatch" } }, "com.amazonaws.cognitosync#RecordValue": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 1048575 } } }, "com.amazonaws.cognitosync#RegisterDevice": { "type": "operation", "input": { "target": "com.amazonaws.cognitosync#RegisterDeviceRequest" }, "output": { "target": "com.amazonaws.cognitosync#RegisterDeviceResponse" }, "errors": [ { "target": "com.amazonaws.cognitosync#InternalErrorException" }, { "target": "com.amazonaws.cognitosync#InvalidConfigurationException" }, { "target": "com.amazonaws.cognitosync#InvalidParameterException" }, { "target": "com.amazonaws.cognitosync#NotAuthorizedException" }, { "target": "com.amazonaws.cognitosync#ResourceNotFoundException" }, { "target": "com.amazonaws.cognitosync#TooManyRequestsException" } ], "traits": { "smithy.api#documentation": "Registers a device to receive push sync notifications.
This API can only be called with temporary credentials provided by Cognito Identity. You cannot call this API with developer credentials.
\nA name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by\n Amazon Cognito. Here, the ID of the pool that the identity belongs to.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "IdentityId": { "target": "com.amazonaws.cognitosync#IdentityId", "traits": { "smithy.api#documentation": "The unique ID for this identity.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "Platform": { "target": "com.amazonaws.cognitosync#Platform", "traits": { "smithy.api#documentation": "The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).
", "smithy.api#required": {} } }, "Token": { "target": "com.amazonaws.cognitosync#PushToken", "traits": { "smithy.api#documentation": "The push token.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A request to RegisterDevice.
" } }, "com.amazonaws.cognitosync#RegisterDeviceResponse": { "type": "structure", "members": { "DeviceId": { "target": "com.amazonaws.cognitosync#DeviceId", "traits": { "smithy.api#documentation": "The unique ID generated for this device by Cognito.
" } } }, "traits": { "smithy.api#documentation": "Response to a RegisterDevice request.
" } }, "com.amazonaws.cognitosync#ResourceConflictException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.cognitosync#ExceptionMessage", "traits": { "smithy.api#documentation": "The message returned by a\n ResourceConflictException.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Thrown if an update can't be applied because\n the resource was changed by another call and this would result in a conflict.", "smithy.api#error": "client", "smithy.api#httpError": 409 } }, "com.amazonaws.cognitosync#ResourceNotFoundException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.cognitosync#ExceptionMessage", "traits": { "smithy.api#documentation": "Message returned by a\n ResourceNotFoundException.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Thrown if the resource doesn't\n exist.", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.cognitosync#SetCognitoEvents": { "type": "operation", "input": { "target": "com.amazonaws.cognitosync#SetCognitoEventsRequest" }, "errors": [ { "target": "com.amazonaws.cognitosync#InternalErrorException" }, { "target": "com.amazonaws.cognitosync#InvalidParameterException" }, { "target": "com.amazonaws.cognitosync#NotAuthorizedException" }, { "target": "com.amazonaws.cognitosync#ResourceNotFoundException" }, { "target": "com.amazonaws.cognitosync#TooManyRequestsException" } ], "traits": { "smithy.api#documentation": "Sets the AWS Lambda function for a given event type for an identity pool. This request only updates the key/value pair specified. Other key/values pairs are not updated. To remove a key value pair, pass a empty value for the particular key.
This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.
", "smithy.api#http": { "method": "POST", "uri": "/identitypools/{IdentityPoolId}/events", "code": 200 } } }, "com.amazonaws.cognitosync#SetCognitoEventsRequest": { "type": "structure", "members": { "IdentityPoolId": { "target": "com.amazonaws.cognitosync#IdentityPoolId", "traits": { "smithy.api#documentation": "The Cognito Identity Pool to use when configuring Cognito Events
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "Events": { "target": "com.amazonaws.cognitosync#Events", "traits": { "smithy.api#documentation": "The events to configure
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A request to configure Cognito Events\"
\"" } }, "com.amazonaws.cognitosync#SetIdentityPoolConfiguration": { "type": "operation", "input": { "target": "com.amazonaws.cognitosync#SetIdentityPoolConfigurationRequest" }, "output": { "target": "com.amazonaws.cognitosync#SetIdentityPoolConfigurationResponse" }, "errors": [ { "target": "com.amazonaws.cognitosync#ConcurrentModificationException" }, { "target": "com.amazonaws.cognitosync#InternalErrorException" }, { "target": "com.amazonaws.cognitosync#InvalidParameterException" }, { "target": "com.amazonaws.cognitosync#NotAuthorizedException" }, { "target": "com.amazonaws.cognitosync#ResourceNotFoundException" }, { "target": "com.amazonaws.cognitosync#TooManyRequestsException" } ], "traits": { "smithy.api#documentation": "Sets the necessary configuration for push sync.
This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.
\nA name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by\n Amazon Cognito. This is the ID of the pool to modify.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "PushSync": { "target": "com.amazonaws.cognitosync#PushSync", "traits": { "smithy.api#documentation": "Options to apply to this identity pool for push synchronization.
" } }, "CognitoStreams": { "target": "com.amazonaws.cognitosync#CognitoStreams", "traits": { "smithy.api#documentation": "Options to apply to this identity pool for Amazon Cognito streams." } } }, "traits": { "smithy.api#documentation": "The input for the SetIdentityPoolConfiguration operation.
" } }, "com.amazonaws.cognitosync#SetIdentityPoolConfigurationResponse": { "type": "structure", "members": { "IdentityPoolId": { "target": "com.amazonaws.cognitosync#IdentityPoolId", "traits": { "smithy.api#documentation": "A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by\n Amazon Cognito.
" } }, "PushSync": { "target": "com.amazonaws.cognitosync#PushSync", "traits": { "smithy.api#documentation": "Options to apply to this identity pool for push synchronization.
" } }, "CognitoStreams": { "target": "com.amazonaws.cognitosync#CognitoStreams", "traits": { "smithy.api#documentation": "Options to apply to this identity pool for Amazon Cognito streams." } } }, "traits": { "smithy.api#documentation": "The output for the SetIdentityPoolConfiguration operation
" } }, "com.amazonaws.cognitosync#StreamName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 } } }, "com.amazonaws.cognitosync#StreamingStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ENABLED", "name": "ENABLED" }, { "value": "DISABLED", "name": "DISABLED" } ] } }, "com.amazonaws.cognitosync#String": { "type": "string" }, "com.amazonaws.cognitosync#SubscribeToDataset": { "type": "operation", "input": { "target": "com.amazonaws.cognitosync#SubscribeToDatasetRequest" }, "output": { "target": "com.amazonaws.cognitosync#SubscribeToDatasetResponse" }, "errors": [ { "target": "com.amazonaws.cognitosync#InternalErrorException" }, { "target": "com.amazonaws.cognitosync#InvalidConfigurationException" }, { "target": "com.amazonaws.cognitosync#InvalidParameterException" }, { "target": "com.amazonaws.cognitosync#NotAuthorizedException" }, { "target": "com.amazonaws.cognitosync#ResourceNotFoundException" }, { "target": "com.amazonaws.cognitosync#TooManyRequestsException" } ], "traits": { "smithy.api#documentation": "Subscribes to receive notifications when a dataset is modified by another device.
This API can only be called with temporary credentials provided by Cognito Identity. You cannot call this API with developer credentials.
\nA name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by\n Amazon Cognito. The ID of the pool to which the identity belongs.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "IdentityId": { "target": "com.amazonaws.cognitosync#IdentityId", "traits": { "smithy.api#documentation": "Unique ID for this identity.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "DatasetName": { "target": "com.amazonaws.cognitosync#DatasetName", "traits": { "smithy.api#documentation": "The name of the dataset to subcribe to.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "DeviceId": { "target": "com.amazonaws.cognitosync#DeviceId", "traits": { "smithy.api#documentation": "The unique ID generated for this device by Cognito.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A request to SubscribeToDatasetRequest.
" } }, "com.amazonaws.cognitosync#SubscribeToDatasetResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "Response to a SubscribeToDataset request.
" } }, "com.amazonaws.cognitosync#SyncSessionToken": { "type": "string" }, "com.amazonaws.cognitosync#TooManyRequestsException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.cognitosync#ExceptionMessage", "traits": { "smithy.api#documentation": "Message returned by a\n TooManyRequestsException.", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Thrown if the request is\n throttled.", "smithy.api#error": "client", "smithy.api#httpError": 429 } }, "com.amazonaws.cognitosync#UnsubscribeFromDataset": { "type": "operation", "input": { "target": "com.amazonaws.cognitosync#UnsubscribeFromDatasetRequest" }, "output": { "target": "com.amazonaws.cognitosync#UnsubscribeFromDatasetResponse" }, "errors": [ { "target": "com.amazonaws.cognitosync#InternalErrorException" }, { "target": "com.amazonaws.cognitosync#InvalidConfigurationException" }, { "target": "com.amazonaws.cognitosync#InvalidParameterException" }, { "target": "com.amazonaws.cognitosync#NotAuthorizedException" }, { "target": "com.amazonaws.cognitosync#ResourceNotFoundException" }, { "target": "com.amazonaws.cognitosync#TooManyRequestsException" } ], "traits": { "smithy.api#documentation": "Unsubscribes from receiving notifications when a dataset is modified by another device.
This API can only be called with temporary credentials provided by Cognito Identity. You cannot call this API with developer credentials.
\nA name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by\n Amazon Cognito. The ID of the pool to which this identity belongs.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "IdentityId": { "target": "com.amazonaws.cognitosync#IdentityId", "traits": { "smithy.api#documentation": "Unique ID for this identity.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "DatasetName": { "target": "com.amazonaws.cognitosync#DatasetName", "traits": { "smithy.api#documentation": "The name of the dataset from which to unsubcribe.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "DeviceId": { "target": "com.amazonaws.cognitosync#DeviceId", "traits": { "smithy.api#documentation": "The unique ID generated for this device by Cognito.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A request to UnsubscribeFromDataset.
" } }, "com.amazonaws.cognitosync#UnsubscribeFromDatasetResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "Response to an UnsubscribeFromDataset request.
" } }, "com.amazonaws.cognitosync#UpdateRecords": { "type": "operation", "input": { "target": "com.amazonaws.cognitosync#UpdateRecordsRequest" }, "output": { "target": "com.amazonaws.cognitosync#UpdateRecordsResponse" }, "errors": [ { "target": "com.amazonaws.cognitosync#InternalErrorException" }, { "target": "com.amazonaws.cognitosync#InvalidLambdaFunctionOutputException" }, { "target": "com.amazonaws.cognitosync#InvalidParameterException" }, { "target": "com.amazonaws.cognitosync#LambdaThrottledException" }, { "target": "com.amazonaws.cognitosync#LimitExceededException" }, { "target": "com.amazonaws.cognitosync#NotAuthorizedException" }, { "target": "com.amazonaws.cognitosync#ResourceConflictException" }, { "target": "com.amazonaws.cognitosync#ResourceNotFoundException" }, { "target": "com.amazonaws.cognitosync#TooManyRequestsException" } ], "traits": { "smithy.api#documentation": "Posts updates to records and adds and deletes records for a dataset and user.
\nThe sync count in the record patch is your last known sync count for that record. The server will reject an UpdateRecords request with a ResourceConflictException if you try to patch a record with a new value but a stale sync count.
For example, if the sync count on the server is 5 for a key called highScore and you try and submit a new highScore with sync count of 4, the request will be rejected. To obtain the current sync count for a record, call ListRecords. On a successful update of the record, the response returns the new sync count for that record. You should present that sync count the next time you try to update that same record. When the record does not exist, specify the sync count as 0.
\nThis API can be called with temporary user credentials provided by Cognito Identity or with developer credentials.
", "smithy.api#http": { "method": "POST", "uri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", "code": 200 } } }, "com.amazonaws.cognitosync#UpdateRecordsRequest": { "type": "structure", "members": { "IdentityPoolId": { "target": "com.amazonaws.cognitosync#IdentityPoolId", "traits": { "smithy.api#documentation": "A name-spaced GUID (for example,\n us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is\n unique within a region.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "IdentityId": { "target": "com.amazonaws.cognitosync#IdentityId", "traits": { "smithy.api#documentation": "A name-spaced GUID (for example,\n us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is\n unique within a region.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "DatasetName": { "target": "com.amazonaws.cognitosync#DatasetName", "traits": { "smithy.api#documentation": "A string of up to 128 characters.\n Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.'\n (dot).", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "DeviceId": { "target": "com.amazonaws.cognitosync#DeviceId", "traits": { "smithy.api#documentation": "The unique ID generated for this device by Cognito.
" } }, "RecordPatches": { "target": "com.amazonaws.cognitosync#RecordPatchList", "traits": { "smithy.api#documentation": "A list of patch\n operations." } }, "SyncSessionToken": { "target": "com.amazonaws.cognitosync#SyncSessionToken", "traits": { "smithy.api#documentation": "The SyncSessionToken returned by a\n previous call to ListRecords for this dataset and identity.", "smithy.api#required": {} } }, "ClientContext": { "target": "com.amazonaws.cognitosync#ClientContext", "traits": { "smithy.api#documentation": "Intended to supply a device ID that\n will populate the lastModifiedBy field referenced in other methods. The\n ClientContext field is not yet implemented.", "smithy.api#httpHeader": "x-amz-Client-Context" } } }, "traits": { "smithy.api#documentation": "A request to post updates to records or add and\n delete records for a dataset and user." } }, "com.amazonaws.cognitosync#UpdateRecordsResponse": { "type": "structure", "members": { "Records": { "target": "com.amazonaws.cognitosync#RecordList", "traits": { "smithy.api#documentation": "A list of records that have been\n updated." } } }, "traits": { "smithy.api#documentation": "Returned for a successful\n UpdateRecordsRequest." } } } }