{ "version": "2.0", "metadata": { "apiVersion": "2022-02-17", "endpointPrefix": "cleanrooms", "jsonVersion": "1.1", "protocol": "rest-json", "serviceFullName": "AWS Clean Rooms Service", "serviceId": "CleanRooms", "signatureVersion": "v4", "signingName": "cleanrooms", "uid": "cleanrooms-2022-02-17" }, "operations": { "BatchGetCollaborationAnalysisTemplate": { "http": { "requestUri": "/collaborations/{collaborationIdentifier}/batch-analysistemplates", "responseCode": 200 }, "input": { "type": "structure", "required": [ "collaborationIdentifier", "analysisTemplateArns" ], "members": { "collaborationIdentifier": { "location": "uri", "locationName": "collaborationIdentifier" }, "analysisTemplateArns": { "type": "list", "member": {} } } }, "output": { "type": "structure", "required": [ "collaborationAnalysisTemplates", "errors" ], "members": { "collaborationAnalysisTemplates": { "type": "list", "member": { "shape": "S7" } }, "errors": { "type": "list", "member": { "type": "structure", "required": [ "arn", "code", "message" ], "members": { "arn": {}, "code": {}, "message": {} } } } } } }, "BatchGetSchema": { "http": { "requestUri": "/collaborations/{collaborationIdentifier}/batch-schema", "responseCode": 200 }, "input": { "type": "structure", "required": [ "collaborationIdentifier", "names" ], "members": { "collaborationIdentifier": { "location": "uri", "locationName": "collaborationIdentifier" }, "names": { "type": "list", "member": {} } } }, "output": { "type": "structure", "required": [ "schemas", "errors" ], "members": { "schemas": { "type": "list", "member": { "shape": "Sx" } }, "errors": { "type": "list", "member": { "type": "structure", "required": [ "name", "code", "message" ], "members": { "name": {}, "code": {}, "message": {} } } } } } }, "CreateAnalysisTemplate": { "http": { "requestUri": "/memberships/{membershipIdentifier}/analysistemplates", "responseCode": 200 }, "input": { "type": "structure", "required": [ "membershipIdentifier", "name", "format", "source" ], "members": { "description": {}, "membershipIdentifier": { "location": "uri", "locationName": "membershipIdentifier" }, "name": {}, "format": {}, "source": { "shape": "Sj" }, "tags": { "shape": "S1b" }, "analysisParameters": { "shape": "Sl" } } }, "output": { "type": "structure", "required": [ "analysisTemplate" ], "members": { "analysisTemplate": { "shape": "S1f" } } } }, "CreateCollaboration": { "http": { "requestUri": "/collaborations", "responseCode": 200 }, "input": { "type": "structure", "required": [ "members", "name", "description", "creatorMemberAbilities", "creatorDisplayName", "queryLogStatus" ], "members": { "members": { "type": "list", "member": { "type": "structure", "required": [ "accountId", "memberAbilities", "displayName" ], "members": { "accountId": {}, "memberAbilities": { "shape": "S1k" }, "displayName": {}, "paymentConfiguration": { "shape": "S1n" } } } }, "name": {}, "description": {}, "creatorMemberAbilities": { "shape": "S1k" }, "creatorDisplayName": {}, "dataEncryptionMetadata": { "shape": "S1s" }, "queryLogStatus": {}, "tags": { "shape": "S1b" }, "creatorPaymentConfiguration": { "shape": "S1n" } } }, "output": { "type": "structure", "required": [ "collaboration" ], "members": { "collaboration": { "shape": "S1v" } } } }, "CreateConfiguredTable": { "http": { "requestUri": "/configuredTables", "responseCode": 200 }, "input": { "type": "structure", "required": [ "name", "tableReference", "allowedColumns", "analysisMethod" ], "members": { "name": {}, "description": {}, "tableReference": { "shape": "S1y" }, "allowedColumns": { "shape": "S22" }, "analysisMethod": {}, "tags": { "shape": "S1b" } } }, "output": { "type": "structure", "required": [ "configuredTable" ], "members": { "configuredTable": { "shape": "S24" } } }, "idempotent": true }, "CreateConfiguredTableAnalysisRule": { "http": { "requestUri": "/configuredTables/{configuredTableIdentifier}/analysisRule", "responseCode": 200 }, "input": { "type": "structure", "required": [ "configuredTableIdentifier", "analysisRuleType", "analysisRulePolicy" ], "members": { "configuredTableIdentifier": { "location": "uri", "locationName": "configuredTableIdentifier" }, "analysisRuleType": {}, "analysisRulePolicy": { "shape": "S2a" } } }, "output": { "type": "structure", "required": [ "analysisRule" ], "members": { "analysisRule": { "shape": "S2z" } } }, "idempotent": true }, "CreateConfiguredTableAssociation": { "http": { "requestUri": "/memberships/{membershipIdentifier}/configuredTableAssociations", "responseCode": 200 }, "input": { "type": "structure", "required": [ "name", "membershipIdentifier", "configuredTableIdentifier", "roleArn" ], "members": { "name": {}, "description": {}, "membershipIdentifier": { "location": "uri", "locationName": "membershipIdentifier" }, "configuredTableIdentifier": {}, "roleArn": {}, "tags": { "shape": "S1b" } } }, "output": { "type": "structure", "required": [ "configuredTableAssociation" ], "members": { "configuredTableAssociation": { "shape": "S33" } } } }, "CreateMembership": { "http": { "requestUri": "/memberships", "responseCode": 200 }, "input": { "type": "structure", "required": [ "collaborationIdentifier", "queryLogStatus" ], "members": { "collaborationIdentifier": {}, "queryLogStatus": {}, "tags": { "shape": "S1b" }, "defaultResultConfiguration": { "shape": "S37" }, "paymentConfiguration": { "shape": "S3d" } } }, "output": { "type": "structure", "required": [ "membership" ], "members": { "membership": { "shape": "S3g" } } } }, "DeleteAnalysisTemplate": { "http": { "method": "DELETE", "requestUri": "/memberships/{membershipIdentifier}/analysistemplates/{analysisTemplateIdentifier}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "membershipIdentifier", "analysisTemplateIdentifier" ], "members": { "membershipIdentifier": { "location": "uri", "locationName": "membershipIdentifier" }, "analysisTemplateIdentifier": { "location": "uri", "locationName": "analysisTemplateIdentifier" } } }, "output": { "type": "structure", "members": {} }, "idempotent": true }, "DeleteCollaboration": { "http": { "method": "DELETE", "requestUri": "/collaborations/{collaborationIdentifier}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "collaborationIdentifier" ], "members": { "collaborationIdentifier": { "location": "uri", "locationName": "collaborationIdentifier" } } }, "output": { "type": "structure", "members": {} }, "idempotent": true }, "DeleteConfiguredTable": { "http": { "method": "DELETE", "requestUri": "/configuredTables/{configuredTableIdentifier}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "configuredTableIdentifier" ], "members": { "configuredTableIdentifier": { "location": "uri", "locationName": "configuredTableIdentifier" } } }, "output": { "type": "structure", "members": {} }, "idempotent": true }, "DeleteConfiguredTableAnalysisRule": { "http": { "method": "DELETE", "requestUri": "/configuredTables/{configuredTableIdentifier}/analysisRule/{analysisRuleType}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "configuredTableIdentifier", "analysisRuleType" ], "members": { "configuredTableIdentifier": { "location": "uri", "locationName": "configuredTableIdentifier" }, "analysisRuleType": { "location": "uri", "locationName": "analysisRuleType" } } }, "output": { "type": "structure", "members": {} }, "idempotent": true }, "DeleteConfiguredTableAssociation": { "http": { "method": "DELETE", "requestUri": "/memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "configuredTableAssociationIdentifier", "membershipIdentifier" ], "members": { "configuredTableAssociationIdentifier": { "location": "uri", "locationName": "configuredTableAssociationIdentifier" }, "membershipIdentifier": { "location": "uri", "locationName": "membershipIdentifier" } } }, "output": { "type": "structure", "members": {} }, "idempotent": true }, "DeleteMember": { "http": { "method": "DELETE", "requestUri": "/collaborations/{collaborationIdentifier}/member/{accountId}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "collaborationIdentifier", "accountId" ], "members": { "collaborationIdentifier": { "location": "uri", "locationName": "collaborationIdentifier" }, "accountId": { "location": "uri", "locationName": "accountId" } } }, "output": { "type": "structure", "members": {} }, "idempotent": true }, "DeleteMembership": { "http": { "method": "DELETE", "requestUri": "/memberships/{membershipIdentifier}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "membershipIdentifier" ], "members": { "membershipIdentifier": { "location": "uri", "locationName": "membershipIdentifier" } } }, "output": { "type": "structure", "members": {} }, "idempotent": true }, "GetAnalysisTemplate": { "http": { "method": "GET", "requestUri": "/memberships/{membershipIdentifier}/analysistemplates/{analysisTemplateIdentifier}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "membershipIdentifier", "analysisTemplateIdentifier" ], "members": { "membershipIdentifier": { "location": "uri", "locationName": "membershipIdentifier" }, "analysisTemplateIdentifier": { "location": "uri", "locationName": "analysisTemplateIdentifier" } } }, "output": { "type": "structure", "required": [ "analysisTemplate" ], "members": { "analysisTemplate": { "shape": "S1f" } } } }, "GetCollaboration": { "http": { "method": "GET", "requestUri": "/collaborations/{collaborationIdentifier}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "collaborationIdentifier" ], "members": { "collaborationIdentifier": { "location": "uri", "locationName": "collaborationIdentifier" } } }, "output": { "type": "structure", "required": [ "collaboration" ], "members": { "collaboration": { "shape": "S1v" } } } }, "GetCollaborationAnalysisTemplate": { "http": { "method": "GET", "requestUri": "/collaborations/{collaborationIdentifier}/analysistemplates/{analysisTemplateArn}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "collaborationIdentifier", "analysisTemplateArn" ], "members": { "collaborationIdentifier": { "location": "uri", "locationName": "collaborationIdentifier" }, "analysisTemplateArn": { "location": "uri", "locationName": "analysisTemplateArn" } } }, "output": { "type": "structure", "required": [ "collaborationAnalysisTemplate" ], "members": { "collaborationAnalysisTemplate": { "shape": "S7" } } } }, "GetConfiguredTable": { "http": { "method": "GET", "requestUri": "/configuredTables/{configuredTableIdentifier}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "configuredTableIdentifier" ], "members": { "configuredTableIdentifier": { "location": "uri", "locationName": "configuredTableIdentifier" } } }, "output": { "type": "structure", "required": [ "configuredTable" ], "members": { "configuredTable": { "shape": "S24" } } } }, "GetConfiguredTableAnalysisRule": { "http": { "method": "GET", "requestUri": "/configuredTables/{configuredTableIdentifier}/analysisRule/{analysisRuleType}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "configuredTableIdentifier", "analysisRuleType" ], "members": { "configuredTableIdentifier": { "location": "uri", "locationName": "configuredTableIdentifier" }, "analysisRuleType": { "location": "uri", "locationName": "analysisRuleType" } } }, "output": { "type": "structure", "required": [ "analysisRule" ], "members": { "analysisRule": { "shape": "S2z" } } } }, "GetConfiguredTableAssociation": { "http": { "method": "GET", "requestUri": "/memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "configuredTableAssociationIdentifier", "membershipIdentifier" ], "members": { "configuredTableAssociationIdentifier": { "location": "uri", "locationName": "configuredTableAssociationIdentifier" }, "membershipIdentifier": { "location": "uri", "locationName": "membershipIdentifier" } } }, "output": { "type": "structure", "required": [ "configuredTableAssociation" ], "members": { "configuredTableAssociation": { "shape": "S33" } } } }, "GetMembership": { "http": { "method": "GET", "requestUri": "/memberships/{membershipIdentifier}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "membershipIdentifier" ], "members": { "membershipIdentifier": { "location": "uri", "locationName": "membershipIdentifier" } } }, "output": { "type": "structure", "required": [ "membership" ], "members": { "membership": { "shape": "S3g" } } } }, "GetProtectedQuery": { "http": { "method": "GET", "requestUri": "/memberships/{membershipIdentifier}/protectedQueries/{protectedQueryIdentifier}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "membershipIdentifier", "protectedQueryIdentifier" ], "members": { "membershipIdentifier": { "location": "uri", "locationName": "membershipIdentifier" }, "protectedQueryIdentifier": { "location": "uri", "locationName": "protectedQueryIdentifier" } } }, "output": { "type": "structure", "required": [ "protectedQuery" ], "members": { "protectedQuery": { "shape": "S4e" } } } }, "GetSchema": { "http": { "method": "GET", "requestUri": "/collaborations/{collaborationIdentifier}/schemas/{name}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "collaborationIdentifier", "name" ], "members": { "collaborationIdentifier": { "location": "uri", "locationName": "collaborationIdentifier" }, "name": { "location": "uri", "locationName": "name" } } }, "output": { "type": "structure", "required": [ "schema" ], "members": { "schema": { "shape": "Sx" } } } }, "GetSchemaAnalysisRule": { "http": { "method": "GET", "requestUri": "/collaborations/{collaborationIdentifier}/schemas/{name}/analysisRule/{type}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "collaborationIdentifier", "name", "type" ], "members": { "collaborationIdentifier": { "location": "uri", "locationName": "collaborationIdentifier" }, "name": { "location": "uri", "locationName": "name" }, "type": { "location": "uri", "locationName": "type" } } }, "output": { "type": "structure", "required": [ "analysisRule" ], "members": { "analysisRule": { "type": "structure", "required": [ "collaborationId", "type", "name", "createTime", "updateTime", "policy" ], "members": { "collaborationId": {}, "type": {}, "name": {}, "createTime": { "type": "timestamp" }, "updateTime": { "type": "timestamp" }, "policy": { "type": "structure", "members": { "v1": { "type": "structure", "members": { "list": { "shape": "S2c" }, "aggregation": { "shape": "S2i" }, "custom": { "shape": "S2u" } }, "union": true } }, "union": true } } } } } }, "ListAnalysisTemplates": { "http": { "method": "GET", "requestUri": "/memberships/{membershipIdentifier}/analysistemplates", "responseCode": 200 }, "input": { "type": "structure", "required": [ "membershipIdentifier" ], "members": { "membershipIdentifier": { "location": "uri", "locationName": "membershipIdentifier" }, "nextToken": { "location": "querystring", "locationName": "nextToken" }, "maxResults": { "location": "querystring", "locationName": "maxResults", "type": "integer" } } }, "output": { "type": "structure", "required": [ "analysisTemplateSummaries" ], "members": { "nextToken": {}, "analysisTemplateSummaries": { "type": "list", "member": { "type": "structure", "required": [ "arn", "createTime", "id", "name", "updateTime", "membershipArn", "membershipId", "collaborationArn", "collaborationId" ], "members": { "arn": {}, "createTime": { "type": "timestamp" }, "id": {}, "name": {}, "updateTime": { "type": "timestamp" }, "membershipArn": {}, "membershipId": {}, "collaborationArn": {}, "collaborationId": {}, "description": {} } } } } } }, "ListCollaborationAnalysisTemplates": { "http": { "method": "GET", "requestUri": "/collaborations/{collaborationIdentifier}/analysistemplates", "responseCode": 200 }, "input": { "type": "structure", "required": [ "collaborationIdentifier" ], "members": { "collaborationIdentifier": { "location": "uri", "locationName": "collaborationIdentifier" }, "nextToken": { "location": "querystring", "locationName": "nextToken" }, "maxResults": { "location": "querystring", "locationName": "maxResults", "type": "integer" } } }, "output": { "type": "structure", "required": [ "collaborationAnalysisTemplateSummaries" ], "members": { "nextToken": {}, "collaborationAnalysisTemplateSummaries": { "type": "list", "member": { "type": "structure", "required": [ "arn", "createTime", "id", "name", "updateTime", "collaborationArn", "collaborationId", "creatorAccountId" ], "members": { "arn": {}, "createTime": { "type": "timestamp" }, "id": {}, "name": {}, "updateTime": { "type": "timestamp" }, "collaborationArn": {}, "collaborationId": {}, "creatorAccountId": {}, "description": {} } } } } } }, "ListCollaborations": { "http": { "method": "GET", "requestUri": "/collaborations", "responseCode": 200 }, "input": { "type": "structure", "members": { "nextToken": { "location": "querystring", "locationName": "nextToken" }, "maxResults": { "location": "querystring", "locationName": "maxResults", "type": "integer" }, "memberStatus": { "location": "querystring", "locationName": "memberStatus" } } }, "output": { "type": "structure", "required": [ "collaborationList" ], "members": { "nextToken": {}, "collaborationList": { "type": "list", "member": { "type": "structure", "required": [ "id", "arn", "name", "creatorAccountId", "creatorDisplayName", "createTime", "updateTime", "memberStatus" ], "members": { "id": {}, "arn": {}, "name": {}, "creatorAccountId": {}, "creatorDisplayName": {}, "createTime": { "type": "timestamp" }, "updateTime": { "type": "timestamp" }, "memberStatus": {}, "membershipId": {}, "membershipArn": {} } } } } } }, "ListConfiguredTableAssociations": { "http": { "method": "GET", "requestUri": "/memberships/{membershipIdentifier}/configuredTableAssociations", "responseCode": 200 }, "input": { "type": "structure", "required": [ "membershipIdentifier" ], "members": { "membershipIdentifier": { "location": "uri", "locationName": "membershipIdentifier" }, "nextToken": { "location": "querystring", "locationName": "nextToken" }, "maxResults": { "location": "querystring", "locationName": "maxResults", "type": "integer" } } }, "output": { "type": "structure", "required": [ "configuredTableAssociationSummaries" ], "members": { "configuredTableAssociationSummaries": { "type": "list", "member": { "type": "structure", "required": [ "configuredTableId", "membershipId", "membershipArn", "name", "createTime", "updateTime", "id", "arn" ], "members": { "configuredTableId": {}, "membershipId": {}, "membershipArn": {}, "name": {}, "createTime": { "type": "timestamp" }, "updateTime": { "type": "timestamp" }, "id": {}, "arn": {} } } }, "nextToken": {} } } }, "ListConfiguredTables": { "http": { "method": "GET", "requestUri": "/configuredTables", "responseCode": 200 }, "input": { "type": "structure", "members": { "nextToken": { "location": "querystring", "locationName": "nextToken" }, "maxResults": { "location": "querystring", "locationName": "maxResults", "type": "integer" } } }, "output": { "type": "structure", "required": [ "configuredTableSummaries" ], "members": { "configuredTableSummaries": { "type": "list", "member": { "type": "structure", "required": [ "id", "arn", "name", "createTime", "updateTime", "analysisRuleTypes", "analysisMethod" ], "members": { "id": {}, "arn": {}, "name": {}, "createTime": { "type": "timestamp" }, "updateTime": { "type": "timestamp" }, "analysisRuleTypes": { "shape": "S26" }, "analysisMethod": {} } } }, "nextToken": {} } } }, "ListMembers": { "http": { "method": "GET", "requestUri": "/collaborations/{collaborationIdentifier}/members", "responseCode": 200 }, "input": { "type": "structure", "required": [ "collaborationIdentifier" ], "members": { "collaborationIdentifier": { "location": "uri", "locationName": "collaborationIdentifier" }, "nextToken": { "location": "querystring", "locationName": "nextToken" }, "maxResults": { "location": "querystring", "locationName": "maxResults", "type": "integer" } } }, "output": { "type": "structure", "required": [ "memberSummaries" ], "members": { "nextToken": {}, "memberSummaries": { "type": "list", "member": { "type": "structure", "required": [ "accountId", "status", "displayName", "abilities", "createTime", "updateTime", "paymentConfiguration" ], "members": { "accountId": {}, "status": {}, "displayName": {}, "abilities": { "shape": "S1k" }, "createTime": { "type": "timestamp" }, "updateTime": { "type": "timestamp" }, "membershipId": {}, "membershipArn": {}, "paymentConfiguration": { "shape": "S1n" } } } } } } }, "ListMemberships": { "http": { "method": "GET", "requestUri": "/memberships", "responseCode": 200 }, "input": { "type": "structure", "members": { "nextToken": { "location": "querystring", "locationName": "nextToken" }, "maxResults": { "location": "querystring", "locationName": "maxResults", "type": "integer" }, "status": { "location": "querystring", "locationName": "status" } } }, "output": { "type": "structure", "required": [ "membershipSummaries" ], "members": { "nextToken": {}, "membershipSummaries": { "type": "list", "member": { "type": "structure", "required": [ "id", "arn", "collaborationArn", "collaborationId", "collaborationCreatorAccountId", "collaborationCreatorDisplayName", "collaborationName", "createTime", "updateTime", "status", "memberAbilities", "paymentConfiguration" ], "members": { "id": {}, "arn": {}, "collaborationArn": {}, "collaborationId": {}, "collaborationCreatorAccountId": {}, "collaborationCreatorDisplayName": {}, "collaborationName": {}, "createTime": { "type": "timestamp" }, "updateTime": { "type": "timestamp" }, "status": {}, "memberAbilities": { "shape": "S1k" }, "paymentConfiguration": { "shape": "S3d" } } } } } } }, "ListProtectedQueries": { "http": { "method": "GET", "requestUri": "/memberships/{membershipIdentifier}/protectedQueries", "responseCode": 200 }, "input": { "type": "structure", "required": [ "membershipIdentifier" ], "members": { "membershipIdentifier": { "location": "uri", "locationName": "membershipIdentifier" }, "status": { "location": "querystring", "locationName": "status" }, "nextToken": { "location": "querystring", "locationName": "nextToken" }, "maxResults": { "location": "querystring", "locationName": "maxResults", "type": "integer" } } }, "output": { "type": "structure", "required": [ "protectedQueries" ], "members": { "nextToken": {}, "protectedQueries": { "type": "list", "member": { "type": "structure", "required": [ "id", "membershipId", "membershipArn", "createTime", "status" ], "members": { "id": {}, "membershipId": {}, "membershipArn": {}, "createTime": { "type": "timestamp" }, "status": {} } } } } } }, "ListSchemas": { "http": { "method": "GET", "requestUri": "/collaborations/{collaborationIdentifier}/schemas", "responseCode": 200 }, "input": { "type": "structure", "required": [ "collaborationIdentifier" ], "members": { "collaborationIdentifier": { "location": "uri", "locationName": "collaborationIdentifier" }, "schemaType": { "location": "querystring", "locationName": "schemaType" }, "nextToken": { "location": "querystring", "locationName": "nextToken" }, "maxResults": { "location": "querystring", "locationName": "maxResults", "type": "integer" } } }, "output": { "type": "structure", "required": [ "schemaSummaries" ], "members": { "schemaSummaries": { "type": "list", "member": { "type": "structure", "required": [ "name", "type", "creatorAccountId", "createTime", "updateTime", "collaborationId", "collaborationArn", "analysisRuleTypes" ], "members": { "name": {}, "type": {}, "creatorAccountId": {}, "createTime": { "type": "timestamp" }, "updateTime": { "type": "timestamp" }, "collaborationId": {}, "collaborationArn": {}, "analysisRuleTypes": { "shape": "S12" }, "analysisMethod": {} } } }, "nextToken": {} } } }, "ListTagsForResource": { "http": { "method": "GET", "requestUri": "/tags/{resourceArn}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "resourceArn" ], "members": { "resourceArn": { "location": "uri", "locationName": "resourceArn" } } }, "output": { "type": "structure", "required": [ "tags" ], "members": { "tags": { "shape": "S1b" } } } }, "StartProtectedQuery": { "http": { "requestUri": "/memberships/{membershipIdentifier}/protectedQueries", "responseCode": 200 }, "input": { "type": "structure", "required": [ "type", "membershipIdentifier", "sqlParameters" ], "members": { "type": {}, "membershipIdentifier": { "location": "uri", "locationName": "membershipIdentifier" }, "sqlParameters": { "shape": "S4f" }, "resultConfiguration": { "shape": "S4j" } } }, "output": { "type": "structure", "required": [ "protectedQuery" ], "members": { "protectedQuery": { "shape": "S4e" } } } }, "TagResource": { "http": { "requestUri": "/tags/{resourceArn}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "resourceArn", "tags" ], "members": { "resourceArn": { "location": "uri", "locationName": "resourceArn" }, "tags": { "shape": "S1b" } } }, "output": { "type": "structure", "members": {} } }, "UntagResource": { "http": { "method": "DELETE", "requestUri": "/tags/{resourceArn}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "resourceArn", "tagKeys" ], "members": { "resourceArn": { "location": "uri", "locationName": "resourceArn" }, "tagKeys": { "location": "querystring", "locationName": "tagKeys", "type": "list", "member": {} } } }, "output": { "type": "structure", "members": {} } }, "UpdateAnalysisTemplate": { "http": { "method": "PATCH", "requestUri": "/memberships/{membershipIdentifier}/analysistemplates/{analysisTemplateIdentifier}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "membershipIdentifier", "analysisTemplateIdentifier" ], "members": { "membershipIdentifier": { "location": "uri", "locationName": "membershipIdentifier" }, "analysisTemplateIdentifier": { "location": "uri", "locationName": "analysisTemplateIdentifier" }, "description": {} } }, "output": { "type": "structure", "required": [ "analysisTemplate" ], "members": { "analysisTemplate": { "shape": "S1f" } } } }, "UpdateCollaboration": { "http": { "method": "PATCH", "requestUri": "/collaborations/{collaborationIdentifier}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "collaborationIdentifier" ], "members": { "collaborationIdentifier": { "location": "uri", "locationName": "collaborationIdentifier" }, "name": {}, "description": {} } }, "output": { "type": "structure", "required": [ "collaboration" ], "members": { "collaboration": { "shape": "S1v" } } } }, "UpdateConfiguredTable": { "http": { "method": "PATCH", "requestUri": "/configuredTables/{configuredTableIdentifier}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "configuredTableIdentifier" ], "members": { "configuredTableIdentifier": { "location": "uri", "locationName": "configuredTableIdentifier" }, "name": {}, "description": {} } }, "output": { "type": "structure", "required": [ "configuredTable" ], "members": { "configuredTable": { "shape": "S24" } } } }, "UpdateConfiguredTableAnalysisRule": { "http": { "method": "PATCH", "requestUri": "/configuredTables/{configuredTableIdentifier}/analysisRule/{analysisRuleType}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "configuredTableIdentifier", "analysisRuleType", "analysisRulePolicy" ], "members": { "configuredTableIdentifier": { "location": "uri", "locationName": "configuredTableIdentifier" }, "analysisRuleType": { "location": "uri", "locationName": "analysisRuleType" }, "analysisRulePolicy": { "shape": "S2a" } } }, "output": { "type": "structure", "required": [ "analysisRule" ], "members": { "analysisRule": { "shape": "S2z" } } } }, "UpdateConfiguredTableAssociation": { "http": { "method": "PATCH", "requestUri": "/memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "configuredTableAssociationIdentifier", "membershipIdentifier" ], "members": { "configuredTableAssociationIdentifier": { "location": "uri", "locationName": "configuredTableAssociationIdentifier" }, "membershipIdentifier": { "location": "uri", "locationName": "membershipIdentifier" }, "description": {}, "roleArn": {} } }, "output": { "type": "structure", "required": [ "configuredTableAssociation" ], "members": { "configuredTableAssociation": { "shape": "S33" } } } }, "UpdateMembership": { "http": { "method": "PATCH", "requestUri": "/memberships/{membershipIdentifier}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "membershipIdentifier" ], "members": { "membershipIdentifier": { "location": "uri", "locationName": "membershipIdentifier" }, "queryLogStatus": {}, "defaultResultConfiguration": { "shape": "S37" } } }, "output": { "type": "structure", "required": [ "membership" ], "members": { "membership": { "shape": "S3g" } } } }, "UpdateProtectedQuery": { "http": { "method": "PATCH", "requestUri": "/memberships/{membershipIdentifier}/protectedQueries/{protectedQueryIdentifier}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "membershipIdentifier", "protectedQueryIdentifier", "targetStatus" ], "members": { "membershipIdentifier": { "location": "uri", "locationName": "membershipIdentifier" }, "protectedQueryIdentifier": { "location": "uri", "locationName": "protectedQueryIdentifier" }, "targetStatus": {} } }, "output": { "type": "structure", "required": [ "protectedQuery" ], "members": { "protectedQuery": { "shape": "S4e" } } }, "idempotent": true } }, "shapes": { "S7": { "type": "structure", "required": [ "id", "arn", "collaborationId", "collaborationArn", "creatorAccountId", "name", "createTime", "updateTime", "schema", "format", "source" ], "members": { "id": {}, "arn": {}, "collaborationId": {}, "collaborationArn": {}, "description": {}, "creatorAccountId": {}, "name": {}, "createTime": { "type": "timestamp" }, "updateTime": { "type": "timestamp" }, "schema": { "shape": "Sf" }, "format": {}, "source": { "shape": "Sj" }, "analysisParameters": { "shape": "Sl" } } }, "Sf": { "type": "structure", "members": { "referencedTables": { "type": "list", "member": {} } } }, "Sj": { "type": "structure", "members": { "text": {} }, "sensitive": true, "union": true }, "Sl": { "type": "list", "member": { "type": "structure", "required": [ "name", "type" ], "members": { "name": {}, "type": {}, "defaultValue": {} }, "sensitive": true } }, "Sx": { "type": "structure", "required": [ "columns", "partitionKeys", "analysisRuleTypes", "creatorAccountId", "name", "collaborationId", "collaborationArn", "description", "createTime", "updateTime", "type" ], "members": { "columns": { "shape": "Sy" }, "partitionKeys": { "shape": "Sy" }, "analysisRuleTypes": { "shape": "S12" }, "analysisMethod": {}, "creatorAccountId": {}, "name": {}, "collaborationId": {}, "collaborationArn": {}, "description": {}, "createTime": { "type": "timestamp" }, "updateTime": { "type": "timestamp" }, "type": {} } }, "Sy": { "type": "list", "member": { "type": "structure", "required": [ "name", "type" ], "members": { "name": {}, "type": {} } } }, "S12": { "type": "list", "member": {} }, "S1b": { "type": "map", "key": {}, "value": {} }, "S1f": { "type": "structure", "required": [ "id", "arn", "collaborationId", "collaborationArn", "membershipId", "membershipArn", "name", "createTime", "updateTime", "schema", "format", "source" ], "members": { "id": {}, "arn": {}, "collaborationId": {}, "collaborationArn": {}, "membershipId": {}, "membershipArn": {}, "description": {}, "name": {}, "createTime": { "type": "timestamp" }, "updateTime": { "type": "timestamp" }, "schema": { "shape": "Sf" }, "format": {}, "source": { "shape": "Sj" }, "analysisParameters": { "shape": "Sl" } } }, "S1k": { "type": "list", "member": {} }, "S1n": { "type": "structure", "required": [ "queryCompute" ], "members": { "queryCompute": { "type": "structure", "required": [ "isResponsible" ], "members": { "isResponsible": { "type": "boolean" } } } } }, "S1s": { "type": "structure", "required": [ "allowCleartext", "allowDuplicates", "allowJoinsOnColumnsWithDifferentNames", "preserveNulls" ], "members": { "allowCleartext": { "type": "boolean" }, "allowDuplicates": { "type": "boolean" }, "allowJoinsOnColumnsWithDifferentNames": { "type": "boolean" }, "preserveNulls": { "type": "boolean" } } }, "S1v": { "type": "structure", "required": [ "id", "arn", "name", "creatorAccountId", "creatorDisplayName", "createTime", "updateTime", "memberStatus", "queryLogStatus" ], "members": { "id": {}, "arn": {}, "name": {}, "description": {}, "creatorAccountId": {}, "creatorDisplayName": {}, "createTime": { "type": "timestamp" }, "updateTime": { "type": "timestamp" }, "memberStatus": {}, "membershipId": {}, "membershipArn": {}, "dataEncryptionMetadata": { "shape": "S1s" }, "queryLogStatus": {} } }, "S1y": { "type": "structure", "members": { "glue": { "type": "structure", "required": [ "tableName", "databaseName" ], "members": { "tableName": {}, "databaseName": {} } } }, "union": true }, "S22": { "type": "list", "member": {} }, "S24": { "type": "structure", "required": [ "id", "arn", "name", "tableReference", "createTime", "updateTime", "analysisRuleTypes", "analysisMethod", "allowedColumns" ], "members": { "id": {}, "arn": {}, "name": {}, "description": {}, "tableReference": { "shape": "S1y" }, "createTime": { "type": "timestamp" }, "updateTime": { "type": "timestamp" }, "analysisRuleTypes": { "shape": "S26" }, "analysisMethod": {}, "allowedColumns": { "shape": "S22" } } }, "S26": { "type": "list", "member": {} }, "S2a": { "type": "structure", "members": { "v1": { "type": "structure", "members": { "list": { "shape": "S2c" }, "aggregation": { "shape": "S2i" }, "custom": { "shape": "S2u" } }, "union": true } }, "union": true }, "S2c": { "type": "structure", "required": [ "joinColumns", "listColumns" ], "members": { "joinColumns": { "type": "list", "member": {} }, "allowedJoinOperators": { "shape": "S2f" }, "listColumns": { "shape": "S2h" } } }, "S2f": { "type": "list", "member": {} }, "S2h": { "type": "list", "member": {} }, "S2i": { "type": "structure", "required": [ "aggregateColumns", "joinColumns", "dimensionColumns", "scalarFunctions", "outputConstraints" ], "members": { "aggregateColumns": { "type": "list", "member": { "type": "structure", "required": [ "columnNames", "function" ], "members": { "columnNames": { "type": "list", "member": {} }, "function": {} } } }, "joinColumns": { "shape": "S2h" }, "joinRequired": {}, "allowedJoinOperators": { "shape": "S2f" }, "dimensionColumns": { "shape": "S2h" }, "scalarFunctions": { "type": "list", "member": {} }, "outputConstraints": { "type": "list", "member": { "type": "structure", "required": [ "columnName", "minimum", "type" ], "members": { "columnName": {}, "minimum": { "type": "integer" }, "type": {} } } } } }, "S2u": { "type": "structure", "required": [ "allowedAnalyses" ], "members": { "allowedAnalyses": { "type": "list", "member": {} }, "allowedAnalysisProviders": { "type": "list", "member": {} } } }, "S2z": { "type": "structure", "required": [ "configuredTableId", "configuredTableArn", "policy", "type", "createTime", "updateTime" ], "members": { "configuredTableId": {}, "configuredTableArn": {}, "policy": { "shape": "S2a" }, "type": {}, "createTime": { "type": "timestamp" }, "updateTime": { "type": "timestamp" } } }, "S33": { "type": "structure", "required": [ "arn", "id", "configuredTableId", "configuredTableArn", "membershipId", "membershipArn", "roleArn", "name", "createTime", "updateTime" ], "members": { "arn": {}, "id": {}, "configuredTableId": {}, "configuredTableArn": {}, "membershipId": {}, "membershipArn": {}, "roleArn": {}, "name": {}, "description": {}, "createTime": { "type": "timestamp" }, "updateTime": { "type": "timestamp" } } }, "S37": { "type": "structure", "required": [ "outputConfiguration" ], "members": { "outputConfiguration": { "type": "structure", "members": { "s3": { "shape": "S39" } }, "union": true }, "roleArn": {} } }, "S39": { "type": "structure", "required": [ "resultFormat", "bucket" ], "members": { "resultFormat": {}, "bucket": {}, "keyPrefix": {} } }, "S3d": { "type": "structure", "required": [ "queryCompute" ], "members": { "queryCompute": { "type": "structure", "required": [ "isResponsible" ], "members": { "isResponsible": { "type": "boolean" } } } } }, "S3g": { "type": "structure", "required": [ "id", "arn", "collaborationArn", "collaborationId", "collaborationCreatorAccountId", "collaborationCreatorDisplayName", "collaborationName", "createTime", "updateTime", "status", "memberAbilities", "queryLogStatus", "paymentConfiguration" ], "members": { "id": {}, "arn": {}, "collaborationArn": {}, "collaborationId": {}, "collaborationCreatorAccountId": {}, "collaborationCreatorDisplayName": {}, "collaborationName": {}, "createTime": { "type": "timestamp" }, "updateTime": { "type": "timestamp" }, "status": {}, "memberAbilities": { "shape": "S1k" }, "queryLogStatus": {}, "defaultResultConfiguration": { "shape": "S37" }, "paymentConfiguration": { "shape": "S3d" } } }, "S4e": { "type": "structure", "required": [ "id", "membershipId", "membershipArn", "createTime", "status" ], "members": { "id": {}, "membershipId": {}, "membershipArn": {}, "createTime": { "type": "timestamp" }, "sqlParameters": { "shape": "S4f" }, "status": {}, "resultConfiguration": { "shape": "S4j" }, "statistics": { "type": "structure", "members": { "totalDurationInMillis": { "type": "long" } } }, "result": { "type": "structure", "required": [ "output" ], "members": { "output": { "type": "structure", "members": { "s3": { "type": "structure", "required": [ "location" ], "members": { "location": {} } }, "memberList": { "type": "list", "member": { "type": "structure", "required": [ "accountId" ], "members": { "accountId": {} } } } }, "union": true } } }, "error": { "type": "structure", "required": [ "message", "code" ], "members": { "message": {}, "code": {} } } } }, "S4f": { "type": "structure", "members": { "queryString": {}, "analysisTemplateArn": {}, "parameters": { "type": "map", "key": {}, "value": {} } }, "sensitive": true }, "S4j": { "type": "structure", "required": [ "outputConfiguration" ], "members": { "outputConfiguration": { "type": "structure", "members": { "s3": { "shape": "S39" } }, "union": true } } } } }