{
  "version":"2.0",
  "metadata":{
    "apiVersion":"2018-05-10",
    "auth":["aws.auth#sigv4"],
    "endpointPrefix":"dsql",
    "protocol":"rest-json",
    "protocols":["rest-json"],
    "serviceFullName":"Amazon Aurora DSQL",
    "serviceId":"DSQL",
    "signatureVersion":"v4",
    "signingName":"dsql",
    "uid":"dsql-2018-05-10"
  },
  "operations":{
    "CreateCluster":{
      "name":"CreateCluster",
      "http":{
        "method":"POST",
        "requestUri":"/cluster",
        "responseCode":200
      },
      "input":{"shape":"CreateClusterInput"},
      "output":{"shape":"CreateClusterOutput"},
      "errors":[
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"ThrottlingException"},
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ConflictException"}
      ],
      "documentation":"<p>The CreateCluster API allows you to create both single-Region clusters and multi-Region clusters. With the addition of the <i>multiRegionProperties</i> parameter, you can create a cluster with witness Region support and establish peer relationships with clusters in other Regions during creation.</p> <note> <p>Creating multi-Region clusters requires additional IAM permissions beyond those needed for single-Region clusters, as detailed in the <b>Required permissions</b> section below.</p> </note> <p> <b>Required permissions</b> </p> <dl> <dt>dsql:CreateCluster</dt> <dd> <p>Required to create a cluster.</p> <p>Resources: <code>arn:aws:dsql:region:account-id:cluster/*</code> </p> </dd> <dt>dsql:TagResource</dt> <dd> <p>Permission to add tags to a resource.</p> <p>Resources: <code>arn:aws:dsql:region:account-id:cluster/*</code> </p> </dd> <dt>dsql:PutMultiRegionProperties</dt> <dd> <p>Permission to configure multi-Region properties for a cluster.</p> <p>Resources: <code>arn:aws:dsql:region:account-id:cluster/*</code> </p> </dd> <dt>dsql:AddPeerCluster</dt> <dd> <p>When specifying <code>multiRegionProperties.clusters</code>, permission to add peer clusters.</p> <p>Resources:</p> <ul> <li> <p>Local cluster: <code>arn:aws:dsql:region:account-id:cluster/*</code> </p> </li> <li> <p>Each peer cluster: exact ARN of each specified peer cluster</p> </li> </ul> </dd> <dt>dsql:PutWitnessRegion</dt> <dd> <p>When specifying <code>multiRegionProperties.witnessRegion</code>, permission to set a witness Region. This permission is checked both in the cluster Region and in the witness Region.</p> <p>Resources: <code>arn:aws:dsql:region:account-id:cluster/*</code> </p> <p>Condition Keys: <code>dsql:WitnessRegion</code> (matching the specified witness region)</p> </dd> </dl> <important> <ul> <li> <p>The witness Region specified in <code>multiRegionProperties.witnessRegion</code> cannot be the same as the cluster's Region.</p> </li> </ul> </important>"
    },
    "CreateStream":{
      "name":"CreateStream",
      "http":{
        "method":"POST",
        "requestUri":"/stream/{clusterIdentifier}",
        "responseCode":200
      },
      "input":{"shape":"CreateStreamInput"},
      "output":{"shape":"CreateStreamOutput"},
      "errors":[
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"ThrottlingException"},
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"}
      ],
      "documentation":"<p>Creates a new change data capture (CDC) stream for a cluster. The stream captures database changes and delivers them to the specified target destination.</p> <p> <b>Required permissions</b> </p> <dl> <dt>dsql:CreateStream</dt> <dd> <p>Permission to create a new stream.</p> <p>Resources: <code>arn:aws:dsql:region:account-id:cluster/cluster-id</code> </p> </dd> <dt>iam:PassRole</dt> <dd> <p>Permission to pass the IAM role specified in the target definition to the service.</p> <p>Resources: ARN of the IAM role specified in <code>targetDefinition.kinesis.roleArn</code> </p> </dd> <dt>kms:Decrypt</dt> <dd> <p>Required when the cluster uses a customer managed KMS key (CMK). Permission to decrypt data using the cluster's CMK.</p> <p>Resources: ARN of the KMS key used by the cluster</p> </dd> </dl>"
    },
    "DeleteCluster":{
      "name":"DeleteCluster",
      "http":{
        "method":"DELETE",
        "requestUri":"/cluster/{identifier}",
        "responseCode":200
      },
      "input":{"shape":"DeleteClusterInput"},
      "output":{"shape":"DeleteClusterOutput"},
      "errors":[
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"}
      ],
      "documentation":"<p>Deletes a cluster in Amazon Aurora DSQL.</p>",
      "idempotent":true
    },
    "DeleteClusterPolicy":{
      "name":"DeleteClusterPolicy",
      "http":{
        "method":"DELETE",
        "requestUri":"/cluster/{identifier}/policy",
        "responseCode":200
      },
      "input":{"shape":"DeleteClusterPolicyInput"},
      "output":{"shape":"DeleteClusterPolicyOutput"},
      "errors":[
        {"shape":"ThrottlingException"},
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"}
      ],
      "documentation":"<p>Deletes the resource-based policy attached to a cluster. This removes all access permissions defined by the policy, reverting to default access controls.</p>",
      "idempotent":true
    },
    "DeleteStream":{
      "name":"DeleteStream",
      "http":{
        "method":"DELETE",
        "requestUri":"/stream/{clusterIdentifier}/{streamIdentifier}",
        "responseCode":200
      },
      "input":{"shape":"DeleteStreamInput"},
      "output":{"shape":"DeleteStreamOutput"},
      "errors":[
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"}
      ],
      "documentation":"<p>Deletes a stream from a cluster.</p>",
      "idempotent":true
    },
    "GetCluster":{
      "name":"GetCluster",
      "http":{
        "method":"GET",
        "requestUri":"/cluster/{identifier}",
        "responseCode":200
      },
      "input":{"shape":"GetClusterInput"},
      "output":{"shape":"GetClusterOutput"},
      "errors":[
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"}
      ],
      "documentation":"<p>Retrieves information about a cluster.</p>",
      "readonly":true
    },
    "GetClusterPolicy":{
      "name":"GetClusterPolicy",
      "http":{
        "method":"GET",
        "requestUri":"/cluster/{identifier}/policy",
        "responseCode":200
      },
      "input":{"shape":"GetClusterPolicyInput"},
      "output":{"shape":"GetClusterPolicyOutput"},
      "errors":[
        {"shape":"ThrottlingException"},
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"}
      ],
      "documentation":"<p>Retrieves the resource-based policy document attached to a cluster. This policy defines the access permissions and conditions for the cluster.</p>",
      "readonly":true
    },
    "GetStream":{
      "name":"GetStream",
      "http":{
        "method":"GET",
        "requestUri":"/stream/{clusterIdentifier}/{streamIdentifier}",
        "responseCode":200
      },
      "input":{"shape":"GetStreamInput"},
      "output":{"shape":"GetStreamOutput"},
      "errors":[
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"}
      ],
      "documentation":"<p>Retrieves information about a stream.</p>",
      "readonly":true
    },
    "GetVpcEndpointServiceName":{
      "name":"GetVpcEndpointServiceName",
      "http":{
        "method":"GET",
        "requestUri":"/clusters/{identifier}/vpc-endpoint-service-name",
        "responseCode":200
      },
      "input":{"shape":"GetVpcEndpointServiceNameInput"},
      "output":{"shape":"GetVpcEndpointServiceNameOutput"},
      "errors":[
        {"shape":"ThrottlingException"},
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"}
      ],
      "documentation":"<p>Retrieves the VPC endpoint service name.</p>",
      "readonly":true
    },
    "ListClusters":{
      "name":"ListClusters",
      "http":{
        "method":"GET",
        "requestUri":"/cluster",
        "responseCode":200
      },
      "input":{"shape":"ListClustersInput"},
      "output":{"shape":"ListClustersOutput"},
      "errors":[
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"}
      ],
      "documentation":"<p>Retrieves information about a list of clusters.</p>",
      "readonly":true
    },
    "ListStreams":{
      "name":"ListStreams",
      "http":{
        "method":"GET",
        "requestUri":"/stream/{clusterIdentifier}",
        "responseCode":200
      },
      "input":{"shape":"ListStreamsInput"},
      "output":{"shape":"ListStreamsOutput"},
      "errors":[
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"}
      ],
      "documentation":"<p>Retrieves information about a list of streams for a cluster.</p>",
      "readonly":true
    },
    "ListTagsForResource":{
      "name":"ListTagsForResource",
      "http":{
        "method":"GET",
        "requestUri":"/tags/{resourceArn}",
        "responseCode":200
      },
      "input":{"shape":"ListTagsForResourceInput"},
      "output":{"shape":"ListTagsForResourceOutput"},
      "errors":[
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"}
      ],
      "documentation":"<p>Lists all of the tags for a resource.</p>",
      "readonly":true
    },
    "PutClusterPolicy":{
      "name":"PutClusterPolicy",
      "http":{
        "method":"POST",
        "requestUri":"/cluster/{identifier}/policy",
        "responseCode":200
      },
      "input":{"shape":"PutClusterPolicyInput"},
      "output":{"shape":"PutClusterPolicyOutput"},
      "errors":[
        {"shape":"ThrottlingException"},
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"}
      ],
      "documentation":"<p>Attaches a resource-based policy to a cluster. This policy defines access permissions and conditions for the cluster, allowing you to control which principals can perform actions on the cluster.</p>",
      "idempotent":true
    },
    "TagResource":{
      "name":"TagResource",
      "http":{
        "method":"POST",
        "requestUri":"/tags/{resourceArn}",
        "responseCode":200
      },
      "input":{"shape":"TagResourceInput"},
      "errors":[
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"}
      ],
      "documentation":"<p>Tags a resource with a map of key and value pairs.</p>",
      "idempotent":true
    },
    "UntagResource":{
      "name":"UntagResource",
      "http":{
        "method":"DELETE",
        "requestUri":"/tags/{resourceArn}",
        "responseCode":200
      },
      "input":{"shape":"UntagResourceInput"},
      "errors":[
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"}
      ],
      "documentation":"<p>Removes a tag from a resource.</p>",
      "idempotent":true
    },
    "UpdateCluster":{
      "name":"UpdateCluster",
      "http":{
        "method":"POST",
        "requestUri":"/cluster/{identifier}",
        "responseCode":200
      },
      "input":{"shape":"UpdateClusterInput"},
      "output":{"shape":"UpdateClusterOutput"},
      "errors":[
        {"shape":"ThrottlingException"},
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"}
      ],
      "documentation":"<p>The <i>UpdateCluster</i> API allows you to modify both single-Region and multi-Region cluster configurations. With the <i>multiRegionProperties</i> parameter, you can add or modify witness Region support and manage peer relationships with clusters in other Regions.</p> <note> <p>Note that updating multi-Region clusters requires additional IAM permissions beyond those needed for standard cluster updates, as detailed in the Permissions section.</p> </note> <p> <b>Required permissions</b> </p> <dl> <dt>dsql:UpdateCluster</dt> <dd> <p>Permission to update a DSQL cluster.</p> <p>Resources: <code>arn:aws:dsql:<i>region</i>:<i>account-id</i>:cluster/<i>cluster-id</i> </code> </p> </dd> </dl> <dl> <dt>dsql:PutMultiRegionProperties</dt> <dd> <p>Permission to configure multi-Region properties for a cluster.</p> <p>Resources: <code>arn:aws:dsql:<i>region</i>:<i>account-id</i>:cluster/<i>cluster-id</i> </code> </p> </dd> </dl> <dl> <dt>dsql:GetCluster</dt> <dd> <p>Permission to retrieve cluster information.</p> <p>Resources: <code>arn:aws:dsql:<i>region</i>:<i>account-id</i>:cluster/<i>cluster-id</i> </code> </p> </dd> <dt>dsql:AddPeerCluster</dt> <dd> <p>Permission to add peer clusters.</p> <p>Resources:</p> <ul> <li> <p>Local cluster: <code>arn:aws:dsql:<i>region</i>:<i>account-id</i>:cluster/<i>cluster-id</i> </code> </p> </li> <li> <p>Each peer cluster: exact ARN of each specified peer cluster</p> </li> </ul> </dd> <dt>dsql:RemovePeerCluster</dt> <dd> <p>Permission to remove peer clusters. When you list peer clusters in <code>multiRegionProperties.clusters</code>, you need this permission for each current peer cluster that your list omits.</p> <p>Resources:</p> <ul> <li> <p>Each removed peer cluster: exact ARN of each removed peer cluster, in its own Region</p> </li> </ul> </dd> </dl> <dl> <dt>dsql:PutWitnessRegion</dt> <dd> <p>Permission to set a witness Region.</p> <p>Resources: <code>arn:aws:dsql:<i>region</i>:<i>account-id</i>:cluster/<i>cluster-id</i> </code> </p> <p>Condition Keys: dsql:WitnessRegion (matching the specified witness Region)</p> <p> <b>This permission is checked both in the cluster Region and in the witness Region.</b> </p> </dd> </dl> <important> <ul> <li> <p>The witness Region specified in <code>multiRegionProperties.witnessRegion</code> cannot be the same as the cluster's Region.</p> </li> <li> <p>When you list peer clusters in <code>multiRegionProperties.clusters</code>, you need <code>dsql:AddPeerCluster</code> for every peer cluster in your request. You need <code>dsql:RemovePeerCluster</code> only for the peer clusters that the update removes.</p> </li> </ul> </important>"
    }
  },
  "shapes":{
    "AccessDeniedException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"}
      },
      "documentation":"<p>You do not have sufficient access to perform this action.</p>",
      "error":{
        "httpStatusCode":403,
        "senderFault":true
      },
      "exception":true
    },
    "Arn":{
      "type":"string",
      "documentation":"<p>Amazon Resource Name.</p>",
      "max":1011,
      "min":1,
      "pattern":"arn:.+"
    },
    "BypassPolicyLockoutSafetyCheck":{
      "type":"boolean",
      "box":true
    },
    "ClientToken":{
      "type":"string",
      "documentation":"<p>Idempotency token so a request is only processed once.</p>",
      "max":128,
      "min":1,
      "pattern":"[!-~]+"
    },
    "ClusterArn":{
      "type":"string",
      "documentation":"<p>The Amazon Resource Name of the cluster.</p>",
      "pattern":"arn:aws(-[^:]+)?:dsql:[a-z0-9-]{1,20}:[0-9]{12}:cluster/[a-z0-9]{26}"
    },
    "ClusterArnList":{
      "type":"list",
      "member":{"shape":"ClusterArn"},
      "documentation":"<p>A list of the Amazon Resource Names of the cluster.</p>"
    },
    "ClusterCreationTime":{
      "type":"timestamp",
      "documentation":"<p>The timestamp when the cluster was created.</p>"
    },
    "ClusterId":{
      "type":"string",
      "documentation":"<p>The ID of the cluster.</p>",
      "pattern":"[a-z0-9]{26}"
    },
    "ClusterList":{
      "type":"list",
      "member":{"shape":"ClusterSummary"},
      "documentation":"<p>The list of clusters.</p>"
    },
    "ClusterStatus":{
      "type":"string",
      "documentation":"<p>The current status of a cluster.</p>",
      "enum":[
        "CREATING",
        "ACTIVE",
        "IDLE",
        "INACTIVE",
        "UPDATING",
        "DELETING",
        "DELETED",
        "FAILED",
        "PENDING_SETUP",
        "PENDING_DELETE"
      ]
    },
    "ClusterSummary":{
      "type":"structure",
      "required":[
        "identifier",
        "arn"
      ],
      "members":{
        "identifier":{
          "shape":"ClusterId",
          "documentation":"<p>The ID of the cluster.</p>"
        },
        "arn":{
          "shape":"ClusterArn",
          "documentation":"<p>The ARN of the cluster.</p>"
        }
      },
      "documentation":"<p>A summary of the properties of a cluster.</p>"
    },
    "ClusterVpcEndpoint":{
      "type":"string",
      "pattern":"[a-zA-Z0-9.-]+"
    },
    "ConflictException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"},
        "resourceId":{
          "shape":"String",
          "documentation":"<p>Resource Id</p>"
        },
        "resourceType":{
          "shape":"String",
          "documentation":"<p>Resource Type</p>"
        }
      },
      "documentation":"<p>The submitted action has conflicts.</p>",
      "error":{
        "httpStatusCode":409,
        "senderFault":true
      },
      "exception":true
    },
    "CreateClusterInput":{
      "type":"structure",
      "members":{
        "deletionProtectionEnabled":{
          "shape":"DeletionProtectionEnabled",
          "documentation":"<p>If enabled, you can't delete your cluster. You must first disable this property before you can delete your cluster.</p>"
        },
        "kmsEncryptionKey":{
          "shape":"KmsEncryptionKey",
          "documentation":"<p>The KMS key that encrypts and protects the data on your cluster. You can specify the ARN, ID, or alias of an existing key or have Amazon Web Services create a default key for you.</p>"
        },
        "tags":{
          "shape":"TagMap",
          "documentation":"<p>A map of key and value pairs to use to tag your cluster.</p>"
        },
        "clientToken":{
          "shape":"ClientToken",
          "documentation":"<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect.</p> <p>If you don't specify a client token, the Amazon Web Services SDK automatically generates one.</p>",
          "idempotencyToken":true
        },
        "multiRegionProperties":{
          "shape":"MultiRegionProperties",
          "documentation":"<p>The configuration settings when creating a multi-Region cluster, including the witness region and linked cluster properties.</p>"
        },
        "policy":{
          "shape":"PolicyDocument",
          "documentation":"<p>An optional resource-based policy document in JSON format that defines access permissions for the cluster.</p>"
        },
        "bypassPolicyLockoutSafetyCheck":{
          "shape":"BypassPolicyLockoutSafetyCheck",
          "documentation":"<p>An optional field that controls whether to bypass the lockout prevention check. When set to true, this parameter allows you to apply a policy that might lock you out of the cluster. Use with caution.</p>"
        }
      }
    },
    "CreateClusterOutput":{
      "type":"structure",
      "required":[
        "identifier",
        "arn",
        "status",
        "creationTime",
        "deletionProtectionEnabled"
      ],
      "members":{
        "identifier":{
          "shape":"ClusterId",
          "documentation":"<p>The ID of the created cluster.</p>"
        },
        "arn":{
          "shape":"ClusterArn",
          "documentation":"<p>The ARN of the created cluster.</p>"
        },
        "status":{
          "shape":"ClusterStatus",
          "documentation":"<p>The status of the created cluster.</p>"
        },
        "creationTime":{
          "shape":"ClusterCreationTime",
          "documentation":"<p>The time of when created the cluster.</p>"
        },
        "multiRegionProperties":{
          "shape":"MultiRegionProperties",
          "documentation":"<p>The multi-Region cluster configuration details that were set during cluster creation</p>"
        },
        "encryptionDetails":{
          "shape":"EncryptionDetails",
          "documentation":"<p>The encryption configuration for the cluster that was specified during the creation process, including the KMS key identifier and encryption state.</p>"
        },
        "deletionProtectionEnabled":{
          "shape":"DeletionProtectionEnabled",
          "documentation":"<p>Whether deletion protection is enabled on this cluster.</p>"
        },
        "endpoint":{
          "shape":"Endpoint",
          "documentation":"<p>The connection endpoint for the created cluster.</p>"
        }
      },
      "documentation":"<p>The output of a created cluster.</p>"
    },
    "CreateStreamInput":{
      "type":"structure",
      "required":[
        "clusterIdentifier",
        "targetDefinition",
        "ordering",
        "format"
      ],
      "members":{
        "clusterIdentifier":{
          "shape":"ClusterId",
          "documentation":"<p>The ID of the cluster for which to create the stream.</p>",
          "location":"uri",
          "locationName":"clusterIdentifier"
        },
        "targetDefinition":{
          "shape":"TargetDefinition",
          "documentation":"<p>The target destination configuration for the stream. Contains Kinesis stream configuration including stream ARN and IAM role ARN.</p>"
        },
        "ordering":{
          "shape":"StreamOrdering",
          "documentation":"<p>The ordering mode for the stream. Determines how change events are ordered when delivered to the target.</p>"
        },
        "format":{
          "shape":"StreamFormat",
          "documentation":"<p>The format of the stream records.</p>"
        },
        "tags":{
          "shape":"TagMap",
          "documentation":"<p>A map of key and value pairs to use to tag your stream.</p>"
        },
        "clientToken":{
          "shape":"ClientToken",
          "documentation":"<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect.</p> <p>If you don't specify a client token, the Amazon Web Services SDK automatically generates one.</p>",
          "idempotencyToken":true
        }
      }
    },
    "CreateStreamOutput":{
      "type":"structure",
      "required":[
        "clusterIdentifier",
        "streamIdentifier",
        "arn",
        "status",
        "creationTime",
        "ordering",
        "format"
      ],
      "members":{
        "clusterIdentifier":{
          "shape":"ClusterId",
          "documentation":"<p>The ID of the cluster for the created stream.</p>"
        },
        "streamIdentifier":{
          "shape":"StreamId",
          "documentation":"<p>The ID of the created stream.</p>"
        },
        "arn":{
          "shape":"StreamArn",
          "documentation":"<p>The ARN of the created stream.</p>"
        },
        "status":{
          "shape":"StreamStatus",
          "documentation":"<p>The status of the created stream.</p>"
        },
        "creationTime":{
          "shape":"StreamCreationTime",
          "documentation":"<p>The time when created the stream.</p>"
        },
        "ordering":{
          "shape":"StreamOrdering",
          "documentation":"<p>The ordering mode of the created stream.</p>"
        },
        "format":{
          "shape":"StreamFormat",
          "documentation":"<p>The format of the created stream records.</p>"
        }
      },
      "documentation":"<p>The output of a created stream.</p>"
    },
    "DeleteClusterInput":{
      "type":"structure",
      "required":["identifier"],
      "members":{
        "identifier":{
          "shape":"ClusterId",
          "documentation":"<p>The ID of the cluster to delete.</p>",
          "location":"uri",
          "locationName":"identifier"
        },
        "clientToken":{
          "shape":"ClientToken",
          "documentation":"<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully. The subsequent retries with the same client token return the result from the original successful request and they have no additional effect.</p> <p>If you don't specify a client token, the Amazon Web Services SDK automatically generates one.</p>",
          "idempotencyToken":true,
          "location":"querystring",
          "locationName":"client-token"
        }
      }
    },
    "DeleteClusterOutput":{
      "type":"structure",
      "required":[
        "identifier",
        "arn",
        "status",
        "creationTime"
      ],
      "members":{
        "identifier":{
          "shape":"ClusterId",
          "documentation":"<p>The ID of the deleted cluster.</p>"
        },
        "arn":{
          "shape":"ClusterArn",
          "documentation":"<p>The ARN of the deleted cluster.</p>"
        },
        "status":{
          "shape":"ClusterStatus",
          "documentation":"<p>The status of the cluster.</p>"
        },
        "creationTime":{
          "shape":"ClusterCreationTime",
          "documentation":"<p>The time of when the cluster was created.</p>"
        }
      },
      "documentation":"<p>The output from a deleted cluster.</p>"
    },
    "DeleteClusterPolicyInput":{
      "type":"structure",
      "required":["identifier"],
      "members":{
        "identifier":{
          "shape":"ClusterId",
          "location":"uri",
          "locationName":"identifier"
        },
        "expectedPolicyVersion":{
          "shape":"PolicyVersion",
          "documentation":"<p>The expected version of the policy to delete. This parameter ensures that you're deleting the correct version of the policy and helps prevent accidental deletions.</p>",
          "location":"querystring",
          "locationName":"expected-policy-version"
        },
        "clientToken":{
          "shape":"ClientToken",
          "idempotencyToken":true,
          "location":"querystring",
          "locationName":"client-token"
        }
      }
    },
    "DeleteClusterPolicyOutput":{
      "type":"structure",
      "required":["policyVersion"],
      "members":{
        "policyVersion":{
          "shape":"PolicyVersion",
          "documentation":"<p>The version of the policy that was deleted.</p>"
        }
      }
    },
    "DeleteStreamInput":{
      "type":"structure",
      "required":[
        "clusterIdentifier",
        "streamIdentifier"
      ],
      "members":{
        "clusterIdentifier":{
          "shape":"ClusterId",
          "documentation":"<p>The ID of the cluster containing the stream to delete.</p>",
          "location":"uri",
          "locationName":"clusterIdentifier"
        },
        "streamIdentifier":{
          "shape":"StreamId",
          "documentation":"<p>The ID of the stream to delete.</p>",
          "location":"uri",
          "locationName":"streamIdentifier"
        },
        "clientToken":{
          "shape":"ClientToken",
          "documentation":"<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect.</p> <p>If you don't specify a client token, the Amazon Web Services SDK automatically generates one.</p>",
          "idempotencyToken":true,
          "location":"querystring",
          "locationName":"client-token"
        }
      }
    },
    "DeleteStreamOutput":{
      "type":"structure",
      "required":[
        "clusterIdentifier",
        "streamIdentifier",
        "arn",
        "status",
        "creationTime"
      ],
      "members":{
        "clusterIdentifier":{
          "shape":"ClusterId",
          "documentation":"<p>The ID of the cluster for the deleted stream.</p>"
        },
        "streamIdentifier":{
          "shape":"StreamId",
          "documentation":"<p>The ID of the deleted stream.</p>"
        },
        "arn":{
          "shape":"StreamArn",
          "documentation":"<p>The ARN of the deleted stream.</p>"
        },
        "status":{
          "shape":"StreamStatus",
          "documentation":"<p>The status of the stream.</p>"
        },
        "creationTime":{
          "shape":"StreamCreationTime",
          "documentation":"<p>The time when the stream was created.</p>"
        }
      },
      "documentation":"<p>The output from a deleted stream.</p>"
    },
    "DeletionProtectionEnabled":{
      "type":"boolean",
      "documentation":"<p>Indicates whether deletion protection is enabled for a cluster.</p>",
      "box":true
    },
    "EncryptionDetails":{
      "type":"structure",
      "required":[
        "encryptionType",
        "encryptionStatus"
      ],
      "members":{
        "encryptionType":{
          "shape":"EncryptionType",
          "documentation":"<p>The type of encryption that protects the data on your cluster.</p>"
        },
        "kmsKeyArn":{
          "shape":"KmsKeyArn",
          "documentation":"<p>The ARN of the KMS key that encrypts data in the cluster.</p>"
        },
        "encryptionStatus":{
          "shape":"EncryptionStatus",
          "documentation":"<p>The status of encryption for the cluster.</p>"
        }
      },
      "documentation":"<p>Configuration details about encryption for the cluster including the KMS key ARN, encryption type, and encryption status.</p>"
    },
    "EncryptionStatus":{
      "type":"string",
      "enum":[
        "ENABLED",
        "UPDATING",
        "KMS_KEY_INACCESSIBLE",
        "ENABLING"
      ]
    },
    "EncryptionType":{
      "type":"string",
      "enum":[
        "AWS_OWNED_KMS_KEY",
        "CUSTOMER_MANAGED_KMS_KEY"
      ]
    },
    "Endpoint":{
      "type":"string",
      "pattern":"[a-zA-Z0-9.-]+"
    },
    "GetClusterInput":{
      "type":"structure",
      "required":["identifier"],
      "members":{
        "identifier":{
          "shape":"ClusterId",
          "documentation":"<p>The ID of the cluster to retrieve.</p>",
          "location":"uri",
          "locationName":"identifier"
        }
      }
    },
    "GetClusterOutput":{
      "type":"structure",
      "required":[
        "identifier",
        "arn",
        "status",
        "creationTime",
        "deletionProtectionEnabled"
      ],
      "members":{
        "identifier":{
          "shape":"ClusterId",
          "documentation":"<p>The ID of the retrieved cluster.</p>"
        },
        "arn":{
          "shape":"ClusterArn",
          "documentation":"<p>The ARN of the retrieved cluster.</p>"
        },
        "status":{
          "shape":"ClusterStatus",
          "documentation":"<p>The status of the retrieved cluster.</p>"
        },
        "creationTime":{
          "shape":"ClusterCreationTime",
          "documentation":"<p>The time of when the cluster was created.</p>"
        },
        "deletionProtectionEnabled":{
          "shape":"DeletionProtectionEnabled",
          "documentation":"<p>Whether deletion protection is enabled in this cluster.</p>"
        },
        "multiRegionProperties":{
          "shape":"MultiRegionProperties",
          "documentation":"<p>Returns the current multi-Region cluster configuration, including witness region and linked cluster information.</p>"
        },
        "tags":{"shape":"TagMap"},
        "encryptionDetails":{
          "shape":"EncryptionDetails",
          "documentation":"<p>The current encryption configuration details for the cluster.</p>"
        },
        "endpoint":{
          "shape":"Endpoint",
          "documentation":"<p>The connection endpoint for the cluster.</p>"
        }
      },
      "documentation":"<p>The output of a cluster.</p>"
    },
    "GetClusterPolicyInput":{
      "type":"structure",
      "required":["identifier"],
      "members":{
        "identifier":{
          "shape":"ClusterId",
          "documentation":"<p>The ID of the cluster to retrieve the policy from.</p>",
          "location":"uri",
          "locationName":"identifier"
        }
      }
    },
    "GetClusterPolicyOutput":{
      "type":"structure",
      "required":[
        "policy",
        "policyVersion"
      ],
      "members":{
        "policy":{
          "shape":"PolicyDocument",
          "documentation":"<p>The resource-based policy document attached to the cluster, returned as a JSON string.</p>"
        },
        "policyVersion":{
          "shape":"PolicyVersion",
          "documentation":"<p>The version of the policy document. This version number is incremented each time the policy is updated.</p>"
        }
      }
    },
    "GetStreamInput":{
      "type":"structure",
      "required":[
        "clusterIdentifier",
        "streamIdentifier"
      ],
      "members":{
        "clusterIdentifier":{
          "shape":"ClusterId",
          "documentation":"<p>The ID of the cluster containing the stream to retrieve.</p>",
          "location":"uri",
          "locationName":"clusterIdentifier"
        },
        "streamIdentifier":{
          "shape":"StreamId",
          "documentation":"<p>The ID of the stream to retrieve.</p>",
          "location":"uri",
          "locationName":"streamIdentifier"
        }
      }
    },
    "GetStreamOutput":{
      "type":"structure",
      "required":[
        "clusterIdentifier",
        "streamIdentifier",
        "arn",
        "status",
        "creationTime",
        "ordering",
        "format"
      ],
      "members":{
        "clusterIdentifier":{
          "shape":"ClusterId",
          "documentation":"<p>The ID of the cluster for the retrieved stream.</p>"
        },
        "streamIdentifier":{
          "shape":"StreamId",
          "documentation":"<p>The ID of the retrieved stream.</p>"
        },
        "arn":{
          "shape":"StreamArn",
          "documentation":"<p>The ARN of the retrieved stream.</p>"
        },
        "status":{
          "shape":"StreamStatus",
          "documentation":"<p>The current status of the retrieved stream.</p>"
        },
        "creationTime":{
          "shape":"StreamCreationTime",
          "documentation":"<p>The time when the stream was created.</p>"
        },
        "ordering":{
          "shape":"StreamOrdering",
          "documentation":"<p>The ordering mode of the stream.</p>"
        },
        "format":{
          "shape":"StreamFormat",
          "documentation":"<p>The format of the stream records.</p>"
        },
        "targetDefinition":{
          "shape":"TargetDefinition",
          "documentation":"<p>The target definition for the stream destination.</p>"
        },
        "statusReason":{
          "shape":"StatusReason",
          "documentation":"<p>Stream status reason with error code and timestamp (if applicable).</p>"
        },
        "tags":{
          "shape":"TagMap",
          "documentation":"<p>A map of tags associated with the stream.</p>"
        }
      },
      "documentation":"<p>The output of a retrieved stream.</p>"
    },
    "GetVpcEndpointServiceNameInput":{
      "type":"structure",
      "required":["identifier"],
      "members":{
        "identifier":{
          "shape":"ClusterId",
          "documentation":"<p>The ID of the cluster to retrieve.</p>",
          "location":"uri",
          "locationName":"identifier"
        }
      }
    },
    "GetVpcEndpointServiceNameOutput":{
      "type":"structure",
      "required":["serviceName"],
      "members":{
        "serviceName":{
          "shape":"ServiceName",
          "documentation":"<p>The VPC endpoint service name.</p>"
        },
        "clusterVpcEndpoint":{
          "shape":"ClusterVpcEndpoint",
          "documentation":"<p>The VPC connection endpoint for the cluster.</p>"
        }
      }
    },
    "Integer":{
      "type":"integer",
      "box":true
    },
    "InternalServerException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"},
        "retryAfterSeconds":{
          "shape":"Integer",
          "documentation":"<p>Retry after seconds.</p>",
          "location":"header",
          "locationName":"Retry-After"
        }
      },
      "documentation":"<p>The request processing has failed because of an unknown error, exception or failure.</p>",
      "error":{"httpStatusCode":500},
      "exception":true,
      "fault":true,
      "retryable":{"throttling":false}
    },
    "KinesisStreamArn":{
      "type":"string",
      "documentation":"<p>The Amazon Resource Name (ARN) of an Amazon Kinesis Data Stream.</p>",
      "max":2048,
      "min":1,
      "pattern":"arn:aws[a-zA-Z\\-]*:kinesis:[a-zA-Z0-9\\-]*:\\d{12}:stream/[a-zA-Z0-9+=,.@_/\\-]+"
    },
    "KinesisTargetDefinition":{
      "type":"structure",
      "required":[
        "streamArn",
        "roleArn"
      ],
      "members":{
        "streamArn":{
          "shape":"KinesisStreamArn",
          "documentation":"<p>The ARN of the Kinesis stream.</p>"
        },
        "roleArn":{
          "shape":"RoleArn",
          "documentation":"<p>The ARN of the IAM role that grants permission to write to the Kinesis stream. This can be a standard role (<code>arn:aws:iam::account-id:role/role-name</code>) or a role with a path prefix (<code>arn:aws:iam::account-id:role/service-role/role-name</code>), such as roles auto-created by the console.</p>"
        }
      },
      "documentation":"<p>Kinesis stream target configuration.</p>"
    },
    "KmsEncryptionKey":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"[a-zA-Z0-9:/_-]+"
    },
    "KmsKeyArn":{"type":"string"},
    "ListClustersInput":{
      "type":"structure",
      "members":{
        "maxResults":{
          "shape":"MaxResults",
          "documentation":"<p>An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.</p>",
          "location":"querystring",
          "locationName":"max-results"
        },
        "nextToken":{
          "shape":"NextToken",
          "documentation":"<p>If your initial ListClusters operation returns a nextToken, you can include the returned nextToken in following ListClusters operations, which returns results in the next page.</p>",
          "location":"querystring",
          "locationName":"next-token"
        }
      }
    },
    "ListClustersOutput":{
      "type":"structure",
      "required":["clusters"],
      "members":{
        "nextToken":{
          "shape":"NextToken",
          "documentation":"<p>If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token.</p>"
        },
        "clusters":{
          "shape":"ClusterList",
          "documentation":"<p>An array of the returned clusters.</p>"
        }
      }
    },
    "ListStreamsInput":{
      "type":"structure",
      "required":["clusterIdentifier"],
      "members":{
        "clusterIdentifier":{
          "shape":"ClusterId",
          "documentation":"<p>The ID of the cluster for which to list streams.</p>",
          "location":"uri",
          "locationName":"clusterIdentifier"
        },
        "maxResults":{
          "shape":"MaxResults",
          "documentation":"<p>An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results. Default: 10.</p>",
          "location":"querystring",
          "locationName":"max-results"
        },
        "nextToken":{
          "shape":"NextToken",
          "documentation":"<p>If your initial ListStreams operation returns a nextToken, you can include the returned nextToken in following ListStreams operations, which returns results in the next page.</p>",
          "location":"querystring",
          "locationName":"next-token"
        }
      }
    },
    "ListStreamsOutput":{
      "type":"structure",
      "required":["streams"],
      "members":{
        "nextToken":{
          "shape":"NextToken",
          "documentation":"<p>If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token.</p>"
        },
        "streams":{
          "shape":"StreamList",
          "documentation":"<p>An array of the returned streams.</p>"
        }
      }
    },
    "ListTagsForResourceInput":{
      "type":"structure",
      "required":["resourceArn"],
      "members":{
        "resourceArn":{
          "shape":"Arn",
          "documentation":"<p>The ARN of the resource for which you want to list the tags.</p>",
          "location":"uri",
          "locationName":"resourceArn"
        }
      }
    },
    "ListTagsForResourceOutput":{
      "type":"structure",
      "members":{
        "tags":{
          "shape":"TagMap",
          "documentation":"<p>A map of key and value pairs that you used to tag your resource.</p>"
        }
      }
    },
    "MaxResults":{
      "type":"integer",
      "documentation":"<p>Max results that will be returned per page.</p>",
      "box":true,
      "max":100,
      "min":1
    },
    "MultiRegionProperties":{
      "type":"structure",
      "members":{
        "witnessRegion":{
          "shape":"Region",
          "documentation":"<p>The Region that serves as the witness region for a multi-Region cluster. The witness Region helps maintain cluster consistency and quorum.</p>"
        },
        "clusters":{
          "shape":"ClusterArnList",
          "documentation":"<p>The set of peered clusters that form the multi-Region cluster configuration. Each peered cluster represents a database instance in a different Region.</p>"
        }
      },
      "documentation":"<p>Defines the structure for multi-Region cluster configurations, containing the witness region and linked cluster settings.</p>"
    },
    "NextToken":{
      "type":"string",
      "documentation":"<p>Token used to retrieve next page.</p>"
    },
    "PolicyDocument":{
      "type":"string",
      "documentation":"<p>A resource-based policy document in JSON format. Length constraints: Minimum length of 1. Maximum length of 20480 characters (approximately 20KB).</p>",
      "max":20480,
      "min":1
    },
    "PolicyVersion":{"type":"string"},
    "PutClusterPolicyInput":{
      "type":"structure",
      "required":[
        "identifier",
        "policy"
      ],
      "members":{
        "identifier":{
          "shape":"ClusterId",
          "location":"uri",
          "locationName":"identifier"
        },
        "policy":{
          "shape":"PolicyDocument",
          "documentation":"<p>The resource-based policy document to attach to the cluster. This should be a valid JSON policy document that defines permissions and conditions.</p>"
        },
        "bypassPolicyLockoutSafetyCheck":{
          "shape":"BypassPolicyLockoutSafetyCheck",
          "documentation":"<p>A flag that allows you to bypass the policy lockout safety check. When set to true, this parameter allows you to apply a policy that might lock you out of the cluster. Use with caution.</p>"
        },
        "expectedPolicyVersion":{
          "shape":"PolicyVersion",
          "documentation":"<p>The expected version of the current policy. This parameter ensures that you're updating the correct version of the policy and helps prevent concurrent modification conflicts.</p>"
        },
        "clientToken":{
          "shape":"ClientToken",
          "idempotencyToken":true
        }
      }
    },
    "PutClusterPolicyOutput":{
      "type":"structure",
      "required":["policyVersion"],
      "members":{
        "policyVersion":{
          "shape":"PolicyVersion",
          "documentation":"<p>The version of the policy after it has been updated or created.</p>"
        }
      }
    },
    "Region":{
      "type":"string",
      "documentation":"<p> Region name.</p>",
      "max":50,
      "min":0
    },
    "ResourceNotFoundException":{
      "type":"structure",
      "required":[
        "message",
        "resourceId",
        "resourceType"
      ],
      "members":{
        "message":{"shape":"String"},
        "resourceId":{
          "shape":"String",
          "documentation":"<p>The resource ID could not be found.</p>"
        },
        "resourceType":{
          "shape":"String",
          "documentation":"<p>The resource type could not be found.</p>"
        }
      },
      "documentation":"<p>The resource could not be found.</p>",
      "error":{
        "httpStatusCode":404,
        "senderFault":true
      },
      "exception":true
    },
    "RoleArn":{
      "type":"string",
      "documentation":"<p>The Amazon Resource Name (ARN) of an IAM role.</p>",
      "max":2048,
      "min":20,
      "pattern":"arn:aws(-[^:]+)?:iam::[0-9]{12}:role(/[a-zA-Z0-9+=,.@_-]+)+"
    },
    "ServiceName":{
      "type":"string",
      "documentation":"<p>The name of the VPC endpoint service that provides access to your cluster. Use this endpoint to establish a private connection between your VPC and the cluster.</p>",
      "max":128,
      "min":1,
      "pattern":"com\\.amazonaws\\.[a-z0-9-]+\\.dsql-[a-f0-9]{6}"
    },
    "ServiceQuotaExceededException":{
      "type":"structure",
      "required":[
        "message",
        "resourceId",
        "resourceType",
        "serviceCode",
        "quotaCode"
      ],
      "members":{
        "message":{
          "shape":"String",
          "documentation":"<p>The service exception for exceeding a quota.</p>"
        },
        "resourceId":{
          "shape":"String",
          "documentation":"<p>The resource ID exceeds a quota.</p>"
        },
        "resourceType":{
          "shape":"String",
          "documentation":"<p>The resource type exceeds a quota.</p>"
        },
        "serviceCode":{
          "shape":"String",
          "documentation":"<p>The request exceeds a service quota.</p>"
        },
        "quotaCode":{
          "shape":"String",
          "documentation":"<p>The service exceeds a quota.</p>"
        }
      },
      "documentation":"<p>The service limit was exceeded.</p>",
      "error":{
        "httpStatusCode":402,
        "senderFault":true
      },
      "exception":true
    },
    "StatusReason":{
      "type":"structure",
      "required":[
        "error",
        "updatedAt"
      ],
      "members":{
        "error":{
          "shape":"StreamFailureErrorCode",
          "documentation":"<p>The error code for the stream failure.</p>"
        },
        "updatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The timestamp when the status was updated.</p>"
        }
      },
      "documentation":"<p>Stream status reason with error and timestamp.</p>"
    },
    "StreamArn":{
      "type":"string",
      "documentation":"<p>The Amazon Resource Name (ARN) of the stream.</p>",
      "pattern":"arn:aws(-[^:]+)?:dsql:[a-z0-9-]{1,20}:[0-9]{12}:cluster/[a-z0-9]{26}/stream/[a-z0-9]{26}"
    },
    "StreamCreationTime":{
      "type":"timestamp",
      "documentation":"<p>The timestamp when the stream was created.</p>"
    },
    "StreamFailureErrorCode":{
      "type":"string",
      "documentation":"<p>Error codes for stream failures.</p> <dl> <dt>KINESIS_THROUGHPUT_EXCEEDED</dt> <dd> <p>The Kinesis stream throughput limit was exceeded.</p> </dd> <dt>KINESIS_STREAM_NOT_FOUND</dt> <dd> <p>The specified Kinesis stream was not found.</p> </dd> <dt>ROLE_ACCESS_DENIED</dt> <dd> <p>Access was denied for the specified IAM role.</p> </dd> <dt>KINESIS_ACCESS_DENIED</dt> <dd> <p>Access to the Kinesis stream was denied.</p> </dd> <dt>KINESIS_KMS_ACCESS_DENIED</dt> <dd> <p>Access to the KMS key for the Kinesis stream was denied.</p> </dd> <dt>KINESIS_OVERSIZE_RECORD</dt> <dd> <p>A record exceeded the Kinesis stream size limit.</p> </dd> <dt>CLUSTER_CMK_INACCESSIBLE</dt> <dd> <p>The cluster's customer-managed key is inaccessible.</p> </dd> <dt>INTERNAL_ERROR</dt> <dd> <p>An internal error occurred.</p> </dd> </dl>",
      "enum":[
        "KINESIS_THROUGHPUT_EXCEEDED",
        "KINESIS_STREAM_NOT_FOUND",
        "ROLE_ACCESS_DENIED",
        "KINESIS_ACCESS_DENIED",
        "KINESIS_KMS_ACCESS_DENIED",
        "KINESIS_OVERSIZE_RECORD",
        "CLUSTER_CMK_INACCESSIBLE",
        "INTERNAL_ERROR"
      ]
    },
    "StreamFormat":{
      "type":"string",
      "documentation":"<p>Stream record format.</p> <dl> <dt>JSON</dt> <dd> <p>Stream records are formatted as JSON.</p> </dd> </dl>",
      "enum":["JSON"]
    },
    "StreamId":{
      "type":"string",
      "documentation":"<p>The ID of the stream.</p>",
      "pattern":"[a-z0-9]{26}"
    },
    "StreamList":{
      "type":"list",
      "member":{"shape":"StreamSummary"},
      "documentation":"<p>A list of stream summaries.</p>"
    },
    "StreamOrdering":{
      "type":"string",
      "documentation":"<p>Stream ordering mode.</p> <dl> <dt>UNORDERED</dt> <dd> <p>Changes are streamed without ordering guarantees.</p> </dd> </dl>",
      "enum":["UNORDERED"]
    },
    "StreamStatus":{
      "type":"string",
      "documentation":"<p>The current status of a stream.</p> <dl> <dt>CREATING</dt> <dd> <p>The stream is being created.</p> </dd> <dt>ACTIVE</dt> <dd> <p>The stream is active and processing changes.</p> </dd> <dt>DELETING</dt> <dd> <p>The stream is being deleted.</p> </dd> <dt>DELETED</dt> <dd> <p>The stream has been deleted.</p> </dd> <dt>FAILED</dt> <dd> <p>The stream has failed.</p> </dd> <dt>IMPAIRED</dt> <dd> <p>The stream is impaired and may not be processing changes correctly.</p> </dd> </dl>",
      "enum":[
        "CREATING",
        "ACTIVE",
        "DELETING",
        "DELETED",
        "FAILED",
        "IMPAIRED"
      ]
    },
    "StreamSummary":{
      "type":"structure",
      "required":[
        "clusterIdentifier",
        "streamIdentifier",
        "arn",
        "creationTime",
        "status"
      ],
      "members":{
        "clusterIdentifier":{
          "shape":"ClusterId",
          "documentation":"<p>The ID of the cluster.</p>"
        },
        "streamIdentifier":{
          "shape":"StreamId",
          "documentation":"<p>The ID of the stream.</p>"
        },
        "arn":{
          "shape":"StreamArn",
          "documentation":"<p>The ARN of the stream.</p>"
        },
        "creationTime":{
          "shape":"StreamCreationTime",
          "documentation":"<p>The timestamp when the stream was created.</p>"
        },
        "status":{
          "shape":"StreamStatus",
          "documentation":"<p>The current status of the stream.</p>"
        }
      },
      "documentation":"<p>Summary information about a stream.</p>"
    },
    "String":{"type":"string"},
    "TagKey":{
      "type":"string",
      "documentation":"<p>Unique tag key, maximum 128 Unicode characters in UTF-8.</p>",
      "max":128,
      "min":1,
      "pattern":"[a-zA-Z0-9_.:/=+\\-@ ]*"
    },
    "TagKeyList":{
      "type":"list",
      "member":{"shape":"TagKey"},
      "documentation":"<p>List of tag keys.</p>",
      "max":200,
      "min":0
    },
    "TagMap":{
      "type":"map",
      "key":{"shape":"TagKey"},
      "value":{"shape":"TagValue"},
      "documentation":"<p>Map of tags.</p>",
      "max":200,
      "min":0
    },
    "TagResourceInput":{
      "type":"structure",
      "required":[
        "resourceArn",
        "tags"
      ],
      "members":{
        "resourceArn":{
          "shape":"Arn",
          "documentation":"<p>The ARN of the resource that you want to tag.</p>",
          "location":"uri",
          "locationName":"resourceArn"
        },
        "tags":{
          "shape":"TagMap",
          "documentation":"<p>A map of key and value pairs to use to tag your resource.</p>"
        }
      }
    },
    "TagValue":{
      "type":"string",
      "documentation":"<p>Tag value, maximum 256 Unicode characters in UTF-8.</p>",
      "max":256,
      "min":0,
      "pattern":"[a-zA-Z0-9_.:/=+\\-@ ]*"
    },
    "TargetDefinition":{
      "type":"structure",
      "members":{
        "kinesis":{
          "shape":"KinesisTargetDefinition",
          "documentation":"<p>Kinesis stream target configuration.</p>"
        }
      },
      "documentation":"<p>Target definition for stream destination.</p>",
      "union":true
    },
    "ThrottlingException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{
          "shape":"String",
          "documentation":"<p>The message that the request was denied due to request throttling.</p>"
        },
        "serviceCode":{
          "shape":"String",
          "documentation":"<p>The request exceeds a service quota.</p>"
        },
        "quotaCode":{
          "shape":"String",
          "documentation":"<p>The request exceeds a request rate quota.</p>"
        },
        "retryAfterSeconds":{
          "shape":"Integer",
          "documentation":"<p>The request exceeds a request rate quota. Retry after seconds.</p>",
          "location":"header",
          "locationName":"Retry-After"
        }
      },
      "documentation":"<p>The request was denied due to request throttling.</p>",
      "error":{
        "httpStatusCode":429,
        "senderFault":true
      },
      "exception":true,
      "retryable":{"throttling":true}
    },
    "Timestamp":{"type":"timestamp"},
    "UntagResourceInput":{
      "type":"structure",
      "required":[
        "resourceArn",
        "tagKeys"
      ],
      "members":{
        "resourceArn":{
          "shape":"Arn",
          "documentation":"<p>The ARN of the resource from which to remove tags.</p>",
          "location":"uri",
          "locationName":"resourceArn"
        },
        "tagKeys":{
          "shape":"TagKeyList",
          "documentation":"<p>The array of keys of the tags that you want to remove.</p>",
          "location":"querystring",
          "locationName":"tagKeys"
        }
      }
    },
    "UpdateClusterInput":{
      "type":"structure",
      "required":["identifier"],
      "members":{
        "identifier":{
          "shape":"ClusterId",
          "documentation":"<p>The ID of the cluster you want to update.</p>",
          "location":"uri",
          "locationName":"identifier"
        },
        "deletionProtectionEnabled":{
          "shape":"DeletionProtectionEnabled",
          "documentation":"<p>Specifies whether to enable deletion protection in your cluster.</p>"
        },
        "kmsEncryptionKey":{
          "shape":"KmsEncryptionKey",
          "documentation":"<p>The KMS key that encrypts and protects the data on your cluster. You can specify the ARN, ID, or alias of an existing key or have Amazon Web Services create a default key for you.</p> <p>To switch to the key owned by Amazon Web Services, specify the reserved value <code>AWS_OWNED_KMS_KEY</code>.</p>"
        },
        "clientToken":{
          "shape":"ClientToken",
          "documentation":"<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully. The subsequent retries with the same client token return the result from the original successful request and they have no additional effect.</p> <p>If you don't specify a client token, the Amazon Web Services SDK automatically generates one.</p>",
          "idempotencyToken":true
        },
        "multiRegionProperties":{
          "shape":"MultiRegionProperties",
          "documentation":"<p>The new multi-Region cluster configuration settings to be applied during an update operation.</p>"
        }
      }
    },
    "UpdateClusterOutput":{
      "type":"structure",
      "required":[
        "identifier",
        "arn",
        "status",
        "creationTime"
      ],
      "members":{
        "identifier":{
          "shape":"ClusterId",
          "documentation":"<p>The ID of the cluster to update.</p>"
        },
        "arn":{
          "shape":"ClusterArn",
          "documentation":"<p>The ARN of the updated cluster.</p>"
        },
        "status":{
          "shape":"ClusterStatus",
          "documentation":"<p>The status of the updated cluster.</p>"
        },
        "creationTime":{
          "shape":"ClusterCreationTime",
          "documentation":"<p>The time of when the cluster was created.</p>"
        }
      },
      "documentation":"<p>The details of the cluster after it has been updated.</p>"
    },
    "ValidationException":{
      "type":"structure",
      "required":[
        "message",
        "reason"
      ],
      "members":{
        "message":{"shape":"String"},
        "reason":{
          "shape":"ValidationExceptionReason",
          "documentation":"<p>The reason for the validation exception.</p>"
        },
        "fieldList":{
          "shape":"ValidationExceptionFieldList",
          "documentation":"<p>A list of fields that didn't validate.</p>"
        }
      },
      "documentation":"<p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>",
      "error":{
        "httpStatusCode":400,
        "senderFault":true
      },
      "exception":true
    },
    "ValidationExceptionField":{
      "type":"structure",
      "required":[
        "name",
        "message"
      ],
      "members":{
        "name":{
          "shape":"String",
          "documentation":"<p>The name of the field.</p>"
        },
        "message":{
          "shape":"String",
          "documentation":"<p>A message describing why this field failed validation.</p>"
        }
      },
      "documentation":"<p>Stores information about a field passed inside a request that resulted in an validation error.</p>"
    },
    "ValidationExceptionFieldList":{
      "type":"list",
      "member":{"shape":"ValidationExceptionField"},
      "documentation":"<p>A list of fields that didn't validate.</p>"
    },
    "ValidationExceptionReason":{
      "type":"string",
      "documentation":"<p>The reason for the validation exception.</p>",
      "enum":[
        "unknownOperation",
        "cannotParse",
        "fieldValidationFailed",
        "deletionProtectionEnabled",
        "other"
      ]
    }
  },
  "documentation":"<p>This is an interface reference for Amazon Aurora DSQL. It contains documentation for one of the programming or command line interfaces you can use to manage Amazon Aurora DSQL.</p> <p>Amazon Aurora DSQL is a serverless, distributed SQL database suitable for workloads of any size. is available in both single-Region and multi-Region configurations, so your clusters and databases are always available even if an Availability Zone or an Amazon Web Services Region are unavailable. lets you focus on using your data to acquire new insights for your business and customers.</p>"
}
