{
  "version":"2.0",
  "metadata":{
    "apiVersion":"2021-04-21",
    "endpointPrefix":"redshift-serverless",
    "jsonVersion":"1.1",
    "protocol":"json",
    "serviceFullName":"Redshift Serverless",
    "serviceId":"Redshift Serverless",
    "signatureVersion":"v4",
    "signingName":"redshift-serverless",
    "targetPrefix":"RedshiftServerless",
    "uid":"redshift-serverless-2021-04-21"
  },
  "operations":{
    "ConvertRecoveryPointToSnapshot":{
      "name":"ConvertRecoveryPointToSnapshot",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ConvertRecoveryPointToSnapshotRequest"},
      "output":{"shape":"ConvertRecoveryPointToSnapshotResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"},
        {"shape":"ValidationException"},
        {"shape":"ServiceQuotaExceededException"}
      ]
    },
    "CreateEndpointAccess":{
      "name":"CreateEndpointAccess",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"CreateEndpointAccessRequest"},
      "output":{"shape":"CreateEndpointAccessResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"},
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ServiceQuotaExceededException"}
      ],
      "idempotent":true
    },
    "CreateNamespace":{
      "name":"CreateNamespace",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"CreateNamespaceRequest"},
      "output":{"shape":"CreateNamespaceResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ConflictException"},
        {"shape":"ValidationException"},
        {"shape":"TooManyTagsException"}
      ],
      "idempotent":true
    },
    "CreateSnapshot":{
      "name":"CreateSnapshot",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"CreateSnapshotRequest"},
      "output":{"shape":"CreateSnapshotResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"},
        {"shape":"ValidationException"},
        {"shape":"ServiceQuotaExceededException"}
      ],
      "idempotent":true
    },
    "CreateUsageLimit":{
      "name":"CreateUsageLimit",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"CreateUsageLimitRequest"},
      "output":{"shape":"CreateUsageLimitResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"},
        {"shape":"ValidationException"},
        {"shape":"ServiceQuotaExceededException"}
      ],
      "idempotent":true
    },
    "CreateWorkgroup":{
      "name":"CreateWorkgroup",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"CreateWorkgroupRequest"},
      "output":{"shape":"CreateWorkgroupResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"InsufficientCapacityException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"},
        {"shape":"ValidationException"},
        {"shape":"TooManyTagsException"}
      ],
      "idempotent":true
    },
    "DeleteEndpointAccess":{
      "name":"DeleteEndpointAccess",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteEndpointAccessRequest"},
      "output":{"shape":"DeleteEndpointAccessResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"},
        {"shape":"ValidationException"}
      ],
      "idempotent":true
    },
    "DeleteNamespace":{
      "name":"DeleteNamespace",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteNamespaceRequest"},
      "output":{"shape":"DeleteNamespaceResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"},
        {"shape":"ValidationException"}
      ],
      "idempotent":true
    },
    "DeleteResourcePolicy":{
      "name":"DeleteResourcePolicy",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteResourcePolicyRequest"},
      "output":{"shape":"DeleteResourcePolicyResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ValidationException"}
      ]
    },
    "DeleteSnapshot":{
      "name":"DeleteSnapshot",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteSnapshotRequest"},
      "output":{"shape":"DeleteSnapshotResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"},
        {"shape":"ValidationException"}
      ],
      "idempotent":true
    },
    "DeleteUsageLimit":{
      "name":"DeleteUsageLimit",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteUsageLimitRequest"},
      "output":{"shape":"DeleteUsageLimitResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"},
        {"shape":"ValidationException"}
      ],
      "idempotent":true
    },
    "DeleteWorkgroup":{
      "name":"DeleteWorkgroup",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteWorkgroupRequest"},
      "output":{"shape":"DeleteWorkgroupResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"},
        {"shape":"ValidationException"}
      ],
      "idempotent":true
    },
    "GetCredentials":{
      "name":"GetCredentials",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetCredentialsRequest"},
      "output":{"shape":"GetCredentialsResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ValidationException"}
      ]
    },
    "GetEndpointAccess":{
      "name":"GetEndpointAccess",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetEndpointAccessRequest"},
      "output":{"shape":"GetEndpointAccessResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"},
        {"shape":"ValidationException"}
      ]
    },
    "GetNamespace":{
      "name":"GetNamespace",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetNamespaceRequest"},
      "output":{"shape":"GetNamespaceResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ValidationException"}
      ]
    },
    "GetRecoveryPoint":{
      "name":"GetRecoveryPoint",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetRecoveryPointRequest"},
      "output":{"shape":"GetRecoveryPointResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"},
        {"shape":"ValidationException"}
      ]
    },
    "GetResourcePolicy":{
      "name":"GetResourcePolicy",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetResourcePolicyRequest"},
      "output":{"shape":"GetResourcePolicyResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ValidationException"}
      ]
    },
    "GetSnapshot":{
      "name":"GetSnapshot",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetSnapshotRequest"},
      "output":{"shape":"GetSnapshotResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ValidationException"}
      ]
    },
    "GetUsageLimit":{
      "name":"GetUsageLimit",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetUsageLimitRequest"},
      "output":{"shape":"GetUsageLimitResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"},
        {"shape":"ValidationException"}
      ]
    },
    "GetWorkgroup":{
      "name":"GetWorkgroup",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetWorkgroupRequest"},
      "output":{"shape":"GetWorkgroupResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ValidationException"}
      ]
    },
    "ListEndpointAccess":{
      "name":"ListEndpointAccess",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListEndpointAccessRequest"},
      "output":{"shape":"ListEndpointAccessResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"},
        {"shape":"ValidationException"}
      ]
    },
    "ListNamespaces":{
      "name":"ListNamespaces",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListNamespacesRequest"},
      "output":{"shape":"ListNamespacesResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"}
      ]
    },
    "ListRecoveryPoints":{
      "name":"ListRecoveryPoints",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListRecoveryPointsRequest"},
      "output":{"shape":"ListRecoveryPointsResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"}
      ]
    },
    "ListSnapshots":{
      "name":"ListSnapshots",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListSnapshotsRequest"},
      "output":{"shape":"ListSnapshotsResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ValidationException"}
      ]
    },
    "ListTagsForResource":{
      "name":"ListTagsForResource",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListTagsForResourceRequest"},
      "output":{"shape":"ListTagsForResourceResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ValidationException"},
        {"shape":"ThrottlingException"}
      ]
    },
    "ListUsageLimits":{
      "name":"ListUsageLimits",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListUsageLimitsRequest"},
      "output":{"shape":"ListUsageLimitsResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"InvalidPaginationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"},
        {"shape":"ValidationException"}
      ]
    },
    "ListWorkgroups":{
      "name":"ListWorkgroups",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListWorkgroupsRequest"},
      "output":{"shape":"ListWorkgroupsResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"}
      ]
    },
    "PutResourcePolicy":{
      "name":"PutResourcePolicy",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"PutResourcePolicyRequest"},
      "output":{"shape":"PutResourcePolicyResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"},
        {"shape":"ValidationException"},
        {"shape":"ServiceQuotaExceededException"}
      ]
    },
    "RestoreFromRecoveryPoint":{
      "name":"RestoreFromRecoveryPoint",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"RestoreFromRecoveryPointRequest"},
      "output":{"shape":"RestoreFromRecoveryPointResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"},
        {"shape":"ValidationException"}
      ]
    },
    "RestoreFromSnapshot":{
      "name":"RestoreFromSnapshot",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"RestoreFromSnapshotRequest"},
      "output":{"shape":"RestoreFromSnapshotResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"},
        {"shape":"ValidationException"},
        {"shape":"ServiceQuotaExceededException"}
      ],
      "idempotent":true
    },
    "TagResource":{
      "name":"TagResource",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"TagResourceRequest"},
      "output":{"shape":"TagResourceResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ValidationException"},
        {"shape":"TooManyTagsException"},
        {"shape":"ThrottlingException"}
      ]
    },
    "UntagResource":{
      "name":"UntagResource",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"UntagResourceRequest"},
      "output":{"shape":"UntagResourceResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ValidationException"},
        {"shape":"ThrottlingException"}
      ]
    },
    "UpdateEndpointAccess":{
      "name":"UpdateEndpointAccess",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"UpdateEndpointAccessRequest"},
      "output":{"shape":"UpdateEndpointAccessResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"},
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"}
      ]
    },
    "UpdateNamespace":{
      "name":"UpdateNamespace",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"UpdateNamespaceRequest"},
      "output":{"shape":"UpdateNamespaceResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"},
        {"shape":"ValidationException"}
      ]
    },
    "UpdateSnapshot":{
      "name":"UpdateSnapshot",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"UpdateSnapshotRequest"},
      "output":{"shape":"UpdateSnapshotResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"},
        {"shape":"ValidationException"}
      ]
    },
    "UpdateUsageLimit":{
      "name":"UpdateUsageLimit",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"UpdateUsageLimitRequest"},
      "output":{"shape":"UpdateUsageLimitResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"},
        {"shape":"ValidationException"}
      ]
    },
    "UpdateWorkgroup":{
      "name":"UpdateWorkgroup",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"UpdateWorkgroupRequest"},
      "output":{"shape":"UpdateWorkgroupResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"InsufficientCapacityException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConflictException"},
        {"shape":"ValidationException"}
      ]
    }
  },
  "shapes":{
    "AccessDeniedException":{
      "type":"structure",
      "members":{
        "code":{"shape":"String"},
        "message":{"shape":"String"}
      },
      "exception":true
    },
    "AccountIdList":{
      "type":"list",
      "member":{"shape":"String"}
    },
    "AmazonResourceName":{
      "type":"string",
      "max":1011,
      "min":1
    },
    "Boolean":{
      "type":"boolean",
      "box":true
    },
    "ConfigParameter":{
      "type":"structure",
      "members":{
        "parameterKey":{"shape":"ParameterKey"},
        "parameterValue":{"shape":"ParameterValue"}
      }
    },
    "ConfigParameterList":{
      "type":"list",
      "member":{"shape":"ConfigParameter"}
    },
    "ConflictException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"}
      },
      "exception":true
    },
    "ConvertRecoveryPointToSnapshotRequest":{
      "type":"structure",
      "required":[
        "recoveryPointId",
        "snapshotName"
      ],
      "members":{
        "recoveryPointId":{"shape":"String"},
        "retentionPeriod":{"shape":"Integer"},
        "snapshotName":{"shape":"String"}
      }
    },
    "ConvertRecoveryPointToSnapshotResponse":{
      "type":"structure",
      "members":{
        "snapshot":{"shape":"Snapshot"}
      }
    },
    "CreateEndpointAccessRequest":{
      "type":"structure",
      "required":[
        "endpointName",
        "subnetIds",
        "workgroupName"
      ],
      "members":{
        "endpointName":{"shape":"String"},
        "subnetIds":{"shape":"SubnetIdList"},
        "vpcSecurityGroupIds":{"shape":"VpcSecurityGroupIdList"},
        "workgroupName":{"shape":"String"}
      }
    },
    "CreateEndpointAccessResponse":{
      "type":"structure",
      "members":{
        "endpoint":{"shape":"EndpointAccess"}
      }
    },
    "CreateNamespaceRequest":{
      "type":"structure",
      "required":["namespaceName"],
      "members":{
        "adminUserPassword":{"shape":"DbPassword"},
        "adminUsername":{"shape":"DbUser"},
        "dbName":{"shape":"String"},
        "defaultIamRoleArn":{"shape":"String"},
        "iamRoles":{"shape":"IamRoleArnList"},
        "kmsKeyId":{"shape":"String"},
        "logExports":{"shape":"LogExportList"},
        "namespaceName":{"shape":"NamespaceName"},
        "tags":{"shape":"TagList"}
      }
    },
    "CreateNamespaceResponse":{
      "type":"structure",
      "members":{
        "namespace":{"shape":"Namespace"}
      }
    },
    "CreateSnapshotRequest":{
      "type":"structure",
      "required":[
        "namespaceName",
        "snapshotName"
      ],
      "members":{
        "namespaceName":{"shape":"String"},
        "retentionPeriod":{"shape":"Integer"},
        "snapshotName":{"shape":"String"}
      }
    },
    "CreateSnapshotResponse":{
      "type":"structure",
      "members":{
        "snapshot":{"shape":"Snapshot"}
      }
    },
    "CreateUsageLimitRequest":{
      "type":"structure",
      "required":[
        "amount",
        "resourceArn",
        "usageType"
      ],
      "members":{
        "amount":{"shape":"Long"},
        "breachAction":{"shape":"UsageLimitBreachAction"},
        "period":{"shape":"UsageLimitPeriod"},
        "resourceArn":{"shape":"String"},
        "usageType":{"shape":"UsageLimitUsageType"}
      }
    },
    "CreateUsageLimitResponse":{
      "type":"structure",
      "members":{
        "usageLimit":{"shape":"UsageLimit"}
      }
    },
    "CreateWorkgroupRequest":{
      "type":"structure",
      "required":[
        "namespaceName",
        "workgroupName"
      ],
      "members":{
        "baseCapacity":{"shape":"Integer"},
        "configParameters":{"shape":"ConfigParameterList"},
        "enhancedVpcRouting":{"shape":"Boolean"},
        "namespaceName":{"shape":"NamespaceName"},
        "publiclyAccessible":{"shape":"Boolean"},
        "securityGroupIds":{"shape":"SecurityGroupIdList"},
        "subnetIds":{"shape":"SubnetIdList"},
        "tags":{"shape":"TagList"},
        "workgroupName":{"shape":"WorkgroupName"}
      }
    },
    "CreateWorkgroupResponse":{
      "type":"structure",
      "members":{
        "workgroup":{"shape":"Workgroup"}
      }
    },
    "DbName":{"type":"string"},
    "DbPassword":{
      "type":"string",
      "sensitive":true
    },
    "DbUser":{
      "type":"string",
      "sensitive":true
    },
    "DeleteEndpointAccessRequest":{
      "type":"structure",
      "required":["endpointName"],
      "members":{
        "endpointName":{"shape":"String"}
      }
    },
    "DeleteEndpointAccessResponse":{
      "type":"structure",
      "members":{
        "endpoint":{"shape":"EndpointAccess"}
      }
    },
    "DeleteNamespaceRequest":{
      "type":"structure",
      "required":["namespaceName"],
      "members":{
        "finalSnapshotName":{"shape":"String"},
        "finalSnapshotRetentionPeriod":{"shape":"Integer"},
        "namespaceName":{"shape":"NamespaceName"}
      }
    },
    "DeleteNamespaceResponse":{
      "type":"structure",
      "required":["namespace"],
      "members":{
        "namespace":{"shape":"Namespace"}
      }
    },
    "DeleteResourcePolicyRequest":{
      "type":"structure",
      "required":["resourceArn"],
      "members":{
        "resourceArn":{"shape":"String"}
      }
    },
    "DeleteResourcePolicyResponse":{
      "type":"structure",
      "members":{
      }
    },
    "DeleteSnapshotRequest":{
      "type":"structure",
      "required":["snapshotName"],
      "members":{
        "snapshotName":{"shape":"String"}
      }
    },
    "DeleteSnapshotResponse":{
      "type":"structure",
      "members":{
        "snapshot":{"shape":"Snapshot"}
      }
    },
    "DeleteUsageLimitRequest":{
      "type":"structure",
      "required":["usageLimitId"],
      "members":{
        "usageLimitId":{"shape":"String"}
      }
    },
    "DeleteUsageLimitResponse":{
      "type":"structure",
      "members":{
        "usageLimit":{"shape":"UsageLimit"}
      }
    },
    "DeleteWorkgroupRequest":{
      "type":"structure",
      "required":["workgroupName"],
      "members":{
        "workgroupName":{"shape":"WorkgroupName"}
      }
    },
    "DeleteWorkgroupResponse":{
      "type":"structure",
      "required":["workgroup"],
      "members":{
        "workgroup":{"shape":"Workgroup"}
      }
    },
    "Double":{
      "type":"double",
      "box":true
    },
    "Endpoint":{
      "type":"structure",
      "members":{
        "address":{"shape":"String"},
        "port":{"shape":"Integer"},
        "vpcEndpoints":{"shape":"VpcEndpointList"}
      }
    },
    "EndpointAccess":{
      "type":"structure",
      "members":{
        "address":{"shape":"String"},
        "endpointArn":{"shape":"String"},
        "endpointCreateTime":{"shape":"SyntheticTimestamp_date_time"},
        "endpointName":{"shape":"String"},
        "endpointStatus":{"shape":"String"},
        "port":{"shape":"Integer"},
        "subnetIds":{"shape":"SubnetIdList"},
        "vpcEndpoint":{"shape":"VpcEndpoint"},
        "vpcSecurityGroups":{"shape":"VpcSecurityGroupMembershipList"},
        "workgroupName":{"shape":"String"}
      }
    },
    "EndpointAccessList":{
      "type":"list",
      "member":{"shape":"EndpointAccess"}
    },
    "GetCredentialsRequest":{
      "type":"structure",
      "required":["workgroupName"],
      "members":{
        "dbName":{"shape":"DbName"},
        "durationSeconds":{"shape":"Integer"},
        "workgroupName":{"shape":"WorkgroupName"}
      }
    },
    "GetCredentialsResponse":{
      "type":"structure",
      "members":{
        "dbPassword":{"shape":"DbPassword"},
        "dbUser":{"shape":"DbUser"},
        "expiration":{"shape":"Timestamp"},
        "nextRefreshTime":{"shape":"Timestamp"}
      }
    },
    "GetEndpointAccessRequest":{
      "type":"structure",
      "required":["endpointName"],
      "members":{
        "endpointName":{"shape":"String"}
      }
    },
    "GetEndpointAccessResponse":{
      "type":"structure",
      "members":{
        "endpoint":{"shape":"EndpointAccess"}
      }
    },
    "GetNamespaceRequest":{
      "type":"structure",
      "required":["namespaceName"],
      "members":{
        "namespaceName":{"shape":"NamespaceName"}
      }
    },
    "GetNamespaceResponse":{
      "type":"structure",
      "required":["namespace"],
      "members":{
        "namespace":{"shape":"Namespace"}
      }
    },
    "GetRecoveryPointRequest":{
      "type":"structure",
      "required":["recoveryPointId"],
      "members":{
        "recoveryPointId":{"shape":"String"}
      }
    },
    "GetRecoveryPointResponse":{
      "type":"structure",
      "members":{
        "recoveryPoint":{"shape":"RecoveryPoint"}
      }
    },
    "GetResourcePolicyRequest":{
      "type":"structure",
      "required":["resourceArn"],
      "members":{
        "resourceArn":{"shape":"String"}
      }
    },
    "GetResourcePolicyResponse":{
      "type":"structure",
      "members":{
        "resourcePolicy":{"shape":"ResourcePolicy"}
      }
    },
    "GetSnapshotRequest":{
      "type":"structure",
      "members":{
        "ownerAccount":{"shape":"String"},
        "snapshotArn":{"shape":"String"},
        "snapshotName":{"shape":"String"}
      }
    },
    "GetSnapshotResponse":{
      "type":"structure",
      "members":{
        "snapshot":{"shape":"Snapshot"}
      }
    },
    "GetUsageLimitRequest":{
      "type":"structure",
      "required":["usageLimitId"],
      "members":{
        "usageLimitId":{"shape":"String"}
      }
    },
    "GetUsageLimitResponse":{
      "type":"structure",
      "members":{
        "usageLimit":{"shape":"UsageLimit"}
      }
    },
    "GetWorkgroupRequest":{
      "type":"structure",
      "required":["workgroupName"],
      "members":{
        "workgroupName":{"shape":"WorkgroupName"}
      }
    },
    "GetWorkgroupResponse":{
      "type":"structure",
      "required":["workgroup"],
      "members":{
        "workgroup":{"shape":"Workgroup"}
      }
    },
    "IamRoleArn":{"type":"string"},
    "IamRoleArnList":{
      "type":"list",
      "member":{"shape":"IamRoleArn"}
    },
    "InsufficientCapacityException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"}
      },
      "exception":true,
      "retryable":{"throttling":false}
    },
    "Integer":{
      "type":"integer",
      "box":true
    },
    "InternalServerException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"}
      },
      "exception":true,
      "fault":true,
      "retryable":{"throttling":false}
    },
    "InvalidPaginationException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"}
      },
      "exception":true
    },
    "KmsKeyId":{"type":"string"},
    "ListEndpointAccessRequest":{
      "type":"structure",
      "members":{
        "maxResults":{
          "shape":"ListEndpointAccessRequestMaxResultsInteger",
          "box":true
        },
        "nextToken":{"shape":"String"},
        "vpcId":{"shape":"String"},
        "workgroupName":{"shape":"String"}
      }
    },
    "ListEndpointAccessRequestMaxResultsInteger":{
      "type":"integer",
      "box":true,
      "max":100,
      "min":1
    },
    "ListEndpointAccessResponse":{
      "type":"structure",
      "required":["endpoints"],
      "members":{
        "endpoints":{"shape":"EndpointAccessList"},
        "nextToken":{"shape":"String"}
      }
    },
    "ListNamespacesRequest":{
      "type":"structure",
      "members":{
        "maxResults":{
          "shape":"ListNamespacesRequestMaxResultsInteger",
          "box":true
        },
        "nextToken":{"shape":"String"}
      }
    },
    "ListNamespacesRequestMaxResultsInteger":{
      "type":"integer",
      "box":true,
      "max":100,
      "min":1
    },
    "ListNamespacesResponse":{
      "type":"structure",
      "required":["namespaces"],
      "members":{
        "namespaces":{"shape":"NamespaceList"},
        "nextToken":{"shape":"String"}
      }
    },
    "ListRecoveryPointsRequest":{
      "type":"structure",
      "members":{
        "endTime":{"shape":"Timestamp"},
        "maxResults":{
          "shape":"ListRecoveryPointsRequestMaxResultsInteger",
          "box":true
        },
        "namespaceName":{"shape":"NamespaceName"},
        "nextToken":{"shape":"String"},
        "startTime":{"shape":"Timestamp"}
      }
    },
    "ListRecoveryPointsRequestMaxResultsInteger":{
      "type":"integer",
      "box":true,
      "max":100,
      "min":1
    },
    "ListRecoveryPointsResponse":{
      "type":"structure",
      "members":{
        "nextToken":{"shape":"String"},
        "recoveryPoints":{"shape":"RecoveryPointList"}
      }
    },
    "ListSnapshotsRequest":{
      "type":"structure",
      "members":{
        "endTime":{"shape":"Timestamp"},
        "maxResults":{
          "shape":"ListSnapshotsRequestMaxResultsInteger",
          "box":true
        },
        "namespaceArn":{"shape":"String"},
        "namespaceName":{"shape":"String"},
        "nextToken":{"shape":"String"},
        "ownerAccount":{"shape":"String"},
        "startTime":{"shape":"Timestamp"}
      }
    },
    "ListSnapshotsRequestMaxResultsInteger":{
      "type":"integer",
      "box":true,
      "max":100,
      "min":1
    },
    "ListSnapshotsResponse":{
      "type":"structure",
      "members":{
        "nextToken":{"shape":"String"},
        "snapshots":{"shape":"SnapshotList"}
      }
    },
    "ListTagsForResourceRequest":{
      "type":"structure",
      "required":["resourceArn"],
      "members":{
        "resourceArn":{"shape":"AmazonResourceName"}
      }
    },
    "ListTagsForResourceResponse":{
      "type":"structure",
      "members":{
        "tags":{"shape":"TagList"}
      }
    },
    "ListUsageLimitsRequest":{
      "type":"structure",
      "members":{
        "maxResults":{
          "shape":"ListUsageLimitsRequestMaxResultsInteger",
          "box":true
        },
        "nextToken":{"shape":"PaginationToken"},
        "resourceArn":{"shape":"String"},
        "usageType":{"shape":"UsageLimitUsageType"}
      }
    },
    "ListUsageLimitsRequestMaxResultsInteger":{
      "type":"integer",
      "box":true,
      "max":100,
      "min":1
    },
    "ListUsageLimitsResponse":{
      "type":"structure",
      "members":{
        "nextToken":{"shape":"PaginationToken"},
        "usageLimits":{"shape":"UsageLimits"}
      }
    },
    "ListWorkgroupsRequest":{
      "type":"structure",
      "members":{
        "maxResults":{
          "shape":"ListWorkgroupsRequestMaxResultsInteger",
          "box":true
        },
        "nextToken":{"shape":"String"}
      }
    },
    "ListWorkgroupsRequestMaxResultsInteger":{
      "type":"integer",
      "box":true,
      "max":100,
      "min":1
    },
    "ListWorkgroupsResponse":{
      "type":"structure",
      "required":["workgroups"],
      "members":{
        "nextToken":{"shape":"String"},
        "workgroups":{"shape":"WorkgroupList"}
      }
    },
    "LogExport":{
      "type":"string",
      "enum":[
        "useractivitylog",
        "userlog",
        "connectionlog"
      ]
    },
    "LogExportList":{
      "type":"list",
      "member":{"shape":"LogExport"},
      "max":16,
      "min":0
    },
    "Long":{
      "type":"long",
      "box":true
    },
    "Namespace":{
      "type":"structure",
      "members":{
        "adminUsername":{"shape":"DbUser"},
        "creationDate":{"shape":"SyntheticTimestamp_date_time"},
        "dbName":{"shape":"String"},
        "defaultIamRoleArn":{"shape":"String"},
        "iamRoles":{"shape":"IamRoleArnList"},
        "kmsKeyId":{"shape":"String"},
        "logExports":{"shape":"LogExportList"},
        "namespaceArn":{"shape":"String"},
        "namespaceId":{"shape":"String"},
        "namespaceName":{"shape":"NamespaceName"},
        "status":{"shape":"NamespaceStatus"}
      }
    },
    "NamespaceList":{
      "type":"list",
      "member":{"shape":"Namespace"}
    },
    "NamespaceName":{
      "type":"string",
      "max":64,
      "min":3,
      "pattern":"^[a-z0-9-]+$"
    },
    "NamespaceStatus":{
      "type":"string",
      "enum":[
        "AVAILABLE",
        "MODIFYING",
        "DELETING"
      ]
    },
    "NetworkInterface":{
      "type":"structure",
      "members":{
        "availabilityZone":{"shape":"String"},
        "networkInterfaceId":{"shape":"String"},
        "privateIpAddress":{"shape":"String"},
        "subnetId":{"shape":"String"}
      }
    },
    "NetworkInterfaceList":{
      "type":"list",
      "member":{"shape":"NetworkInterface"}
    },
    "PaginationToken":{
      "type":"string",
      "max":1024,
      "min":8
    },
    "ParameterKey":{"type":"string"},
    "ParameterValue":{"type":"string"},
    "PutResourcePolicyRequest":{
      "type":"structure",
      "required":[
        "policy",
        "resourceArn"
      ],
      "members":{
        "policy":{"shape":"String"},
        "resourceArn":{"shape":"String"}
      }
    },
    "PutResourcePolicyResponse":{
      "type":"structure",
      "members":{
        "resourcePolicy":{"shape":"ResourcePolicy"}
      }
    },
    "RecoveryPoint":{
      "type":"structure",
      "members":{
        "namespaceName":{"shape":"NamespaceName"},
        "recoveryPointCreateTime":{"shape":"SyntheticTimestamp_date_time"},
        "recoveryPointId":{"shape":"String"},
        "totalSizeInMegaBytes":{"shape":"Double"},
        "workgroupName":{"shape":"WorkgroupName"}
      }
    },
    "RecoveryPointList":{
      "type":"list",
      "member":{"shape":"RecoveryPoint"}
    },
    "ResourceNotFoundException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"},
        "resourceName":{"shape":"AmazonResourceName"}
      },
      "exception":true
    },
    "ResourcePolicy":{
      "type":"structure",
      "members":{
        "policy":{"shape":"String"},
        "resourceArn":{"shape":"String"}
      }
    },
    "RestoreFromRecoveryPointRequest":{
      "type":"structure",
      "required":[
        "namespaceName",
        "recoveryPointId",
        "workgroupName"
      ],
      "members":{
        "namespaceName":{"shape":"NamespaceName"},
        "recoveryPointId":{"shape":"String"},
        "workgroupName":{"shape":"WorkgroupName"}
      }
    },
    "RestoreFromRecoveryPointResponse":{
      "type":"structure",
      "members":{
        "namespace":{"shape":"Namespace"},
        "recoveryPointId":{"shape":"String"}
      }
    },
    "RestoreFromSnapshotRequest":{
      "type":"structure",
      "required":[
        "namespaceName",
        "workgroupName"
      ],
      "members":{
        "namespaceName":{"shape":"NamespaceName"},
        "ownerAccount":{"shape":"String"},
        "snapshotArn":{"shape":"String"},
        "snapshotName":{"shape":"String"},
        "workgroupName":{"shape":"WorkgroupName"}
      }
    },
    "RestoreFromSnapshotResponse":{
      "type":"structure",
      "members":{
        "namespace":{"shape":"Namespace"},
        "ownerAccount":{"shape":"String"},
        "snapshotName":{"shape":"String"}
      }
    },
    "SecurityGroupId":{"type":"string"},
    "SecurityGroupIdList":{
      "type":"list",
      "member":{"shape":"SecurityGroupId"}
    },
    "ServiceQuotaExceededException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"}
      },
      "exception":true
    },
    "Snapshot":{
      "type":"structure",
      "members":{
        "accountsWithProvisionedRestoreAccess":{"shape":"AccountIdList"},
        "accountsWithRestoreAccess":{"shape":"AccountIdList"},
        "actualIncrementalBackupSizeInMegaBytes":{"shape":"Double"},
        "adminUsername":{"shape":"String"},
        "backupProgressInMegaBytes":{"shape":"Double"},
        "currentBackupRateInMegaBytesPerSecond":{"shape":"Double"},
        "elapsedTimeInSeconds":{"shape":"Long"},
        "estimatedSecondsToCompletion":{"shape":"Long"},
        "kmsKeyId":{"shape":"KmsKeyId"},
        "namespaceArn":{"shape":"String"},
        "namespaceName":{"shape":"String"},
        "ownerAccount":{"shape":"String"},
        "snapshotArn":{"shape":"String"},
        "snapshotCreateTime":{"shape":"SyntheticTimestamp_date_time"},
        "snapshotName":{"shape":"String"},
        "snapshotRemainingDays":{"shape":"Integer"},
        "snapshotRetentionPeriod":{"shape":"Integer"},
        "snapshotRetentionStartTime":{"shape":"SyntheticTimestamp_date_time"},
        "status":{"shape":"SnapshotStatus"},
        "totalBackupSizeInMegaBytes":{"shape":"Double"}
      }
    },
    "SnapshotList":{
      "type":"list",
      "member":{"shape":"Snapshot"}
    },
    "SnapshotStatus":{
      "type":"string",
      "enum":[
        "AVAILABLE",
        "CREATING",
        "DELETED",
        "CANCELLED",
        "FAILED",
        "COPYING"
      ]
    },
    "String":{"type":"string"},
    "SubnetId":{"type":"string"},
    "SubnetIdList":{
      "type":"list",
      "member":{"shape":"SubnetId"}
    },
    "SyntheticTimestamp_date_time":{
      "type":"timestamp",
      "timestampFormat":"iso8601"
    },
    "Tag":{
      "type":"structure",
      "required":[
        "key",
        "value"
      ],
      "members":{
        "key":{"shape":"TagKey"},
        "value":{"shape":"TagValue"}
      }
    },
    "TagKey":{
      "type":"string",
      "max":128,
      "min":1
    },
    "TagKeyList":{
      "type":"list",
      "member":{"shape":"TagKey"},
      "max":200,
      "min":0
    },
    "TagList":{
      "type":"list",
      "member":{"shape":"Tag"},
      "max":200,
      "min":0
    },
    "TagResourceRequest":{
      "type":"structure",
      "required":[
        "resourceArn",
        "tags"
      ],
      "members":{
        "resourceArn":{"shape":"AmazonResourceName"},
        "tags":{"shape":"TagList"}
      }
    },
    "TagResourceResponse":{
      "type":"structure",
      "members":{
      }
    },
    "TagValue":{
      "type":"string",
      "max":256,
      "min":0
    },
    "ThrottlingException":{
      "type":"structure",
      "members":{
        "code":{"shape":"String"},
        "message":{"shape":"String"}
      },
      "exception":true,
      "retryable":{"throttling":false}
    },
    "Timestamp":{"type":"timestamp"},
    "TooManyTagsException":{
      "type":"structure",
      "members":{
        "message":{"shape":"String"},
        "resourceName":{"shape":"AmazonResourceName"}
      },
      "exception":true
    },
    "UntagResourceRequest":{
      "type":"structure",
      "required":[
        "resourceArn",
        "tagKeys"
      ],
      "members":{
        "resourceArn":{"shape":"AmazonResourceName"},
        "tagKeys":{"shape":"TagKeyList"}
      }
    },
    "UntagResourceResponse":{
      "type":"structure",
      "members":{
      }
    },
    "UpdateEndpointAccessRequest":{
      "type":"structure",
      "required":["endpointName"],
      "members":{
        "endpointName":{"shape":"String"},
        "vpcSecurityGroupIds":{"shape":"VpcSecurityGroupIdList"}
      }
    },
    "UpdateEndpointAccessResponse":{
      "type":"structure",
      "members":{
        "endpoint":{"shape":"EndpointAccess"}
      }
    },
    "UpdateNamespaceRequest":{
      "type":"structure",
      "required":["namespaceName"],
      "members":{
        "adminUserPassword":{"shape":"DbPassword"},
        "adminUsername":{"shape":"DbUser"},
        "defaultIamRoleArn":{"shape":"String"},
        "iamRoles":{"shape":"IamRoleArnList"},
        "kmsKeyId":{"shape":"String"},
        "logExports":{"shape":"LogExportList"},
        "namespaceName":{"shape":"NamespaceName"}
      }
    },
    "UpdateNamespaceResponse":{
      "type":"structure",
      "required":["namespace"],
      "members":{
        "namespace":{"shape":"Namespace"}
      }
    },
    "UpdateSnapshotRequest":{
      "type":"structure",
      "required":["snapshotName"],
      "members":{
        "retentionPeriod":{"shape":"Integer"},
        "snapshotName":{"shape":"String"}
      }
    },
    "UpdateSnapshotResponse":{
      "type":"structure",
      "members":{
        "snapshot":{"shape":"Snapshot"}
      }
    },
    "UpdateUsageLimitRequest":{
      "type":"structure",
      "required":["usageLimitId"],
      "members":{
        "amount":{"shape":"Long"},
        "breachAction":{"shape":"UsageLimitBreachAction"},
        "usageLimitId":{"shape":"String"}
      }
    },
    "UpdateUsageLimitResponse":{
      "type":"structure",
      "members":{
        "usageLimit":{"shape":"UsageLimit"}
      }
    },
    "UpdateWorkgroupRequest":{
      "type":"structure",
      "required":["workgroupName"],
      "members":{
        "baseCapacity":{"shape":"Integer"},
        "configParameters":{"shape":"ConfigParameterList"},
        "enhancedVpcRouting":{"shape":"Boolean"},
        "publiclyAccessible":{"shape":"Boolean"},
        "securityGroupIds":{"shape":"SecurityGroupIdList"},
        "subnetIds":{"shape":"SubnetIdList"},
        "workgroupName":{"shape":"WorkgroupName"}
      }
    },
    "UpdateWorkgroupResponse":{
      "type":"structure",
      "required":["workgroup"],
      "members":{
        "workgroup":{"shape":"Workgroup"}
      }
    },
    "UsageLimit":{
      "type":"structure",
      "members":{
        "amount":{"shape":"Long"},
        "breachAction":{"shape":"UsageLimitBreachAction"},
        "period":{"shape":"UsageLimitPeriod"},
        "resourceArn":{"shape":"String"},
        "usageLimitArn":{"shape":"String"},
        "usageLimitId":{"shape":"String"},
        "usageType":{"shape":"UsageLimitUsageType"}
      }
    },
    "UsageLimitBreachAction":{
      "type":"string",
      "enum":[
        "log",
        "emit-metric",
        "deactivate"
      ]
    },
    "UsageLimitPeriod":{
      "type":"string",
      "enum":[
        "daily",
        "weekly",
        "monthly"
      ]
    },
    "UsageLimitUsageType":{
      "type":"string",
      "enum":[
        "serverless-compute",
        "cross-region-datasharing"
      ]
    },
    "UsageLimits":{
      "type":"list",
      "member":{"shape":"UsageLimit"},
      "max":100,
      "min":1
    },
    "ValidationException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"}
      },
      "exception":true
    },
    "VpcEndpoint":{
      "type":"structure",
      "members":{
        "networkInterfaces":{"shape":"NetworkInterfaceList"},
        "vpcEndpointId":{"shape":"String"},
        "vpcId":{"shape":"String"}
      }
    },
    "VpcEndpointList":{
      "type":"list",
      "member":{"shape":"VpcEndpoint"}
    },
    "VpcSecurityGroupId":{"type":"string"},
    "VpcSecurityGroupIdList":{
      "type":"list",
      "member":{"shape":"VpcSecurityGroupId"}
    },
    "VpcSecurityGroupMembership":{
      "type":"structure",
      "members":{
        "status":{"shape":"String"},
        "vpcSecurityGroupId":{"shape":"VpcSecurityGroupId"}
      }
    },
    "VpcSecurityGroupMembershipList":{
      "type":"list",
      "member":{"shape":"VpcSecurityGroupMembership"}
    },
    "Workgroup":{
      "type":"structure",
      "members":{
        "baseCapacity":{"shape":"Integer"},
        "configParameters":{"shape":"ConfigParameterList"},
        "creationDate":{"shape":"SyntheticTimestamp_date_time"},
        "endpoint":{"shape":"Endpoint"},
        "enhancedVpcRouting":{"shape":"Boolean"},
        "namespaceName":{"shape":"String"},
        "publiclyAccessible":{"shape":"Boolean"},
        "securityGroupIds":{"shape":"SecurityGroupIdList"},
        "status":{"shape":"WorkgroupStatus"},
        "subnetIds":{"shape":"SubnetIdList"},
        "workgroupArn":{"shape":"String"},
        "workgroupId":{"shape":"String"},
        "workgroupName":{"shape":"WorkgroupName"}
      }
    },
    "WorkgroupList":{
      "type":"list",
      "member":{"shape":"Workgroup"}
    },
    "WorkgroupName":{
      "type":"string",
      "max":64,
      "min":3,
      "pattern":"^[a-z0-9-]+$"
    },
    "WorkgroupStatus":{
      "type":"string",
      "enum":[
        "CREATING",
        "AVAILABLE",
        "MODIFYING",
        "DELETING"
      ]
    }
  }
}
