{ "version":"2.0", "metadata":{ "apiVersion":"2015-01-01", "endpointPrefix":"es", "serviceFullName":"Amazon Elasticsearch Service", "signatureVersion":"v4", "protocol":"rest-json" }, "operations":{ "AddTags":{ "name":"AddTags", "http":{ "method":"POST", "requestUri":"/2015-01-01/tags" }, "input":{"shape":"AddTagsRequest"}, "errors":[ { "shape":"BaseException", "exception":true }, { "shape":"LimitExceededException", "error":{"httpStatusCode":409}, "exception":true }, { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true }, { "shape":"InternalException", "error":{"httpStatusCode":500}, "exception":true } ] }, "CreateElasticsearchDomain":{ "name":"CreateElasticsearchDomain", "http":{ "method":"POST", "requestUri":"/2015-01-01/es/domain" }, "input":{"shape":"CreateElasticsearchDomainRequest"}, "output":{"shape":"CreateElasticsearchDomainResponse"}, "errors":[ { "shape":"BaseException", "exception":true }, { "shape":"DisabledOperationException", "error":{"httpStatusCode":409}, "exception":true }, { "shape":"InternalException", "error":{"httpStatusCode":500}, "exception":true }, { "shape":"InvalidTypeException", "error":{"httpStatusCode":409}, "exception":true }, { "shape":"LimitExceededException", "error":{"httpStatusCode":409}, "exception":true }, { "shape":"ResourceAlreadyExistsException", "error":{"httpStatusCode":409}, "exception":true }, { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true } ] }, "DeleteElasticsearchDomain":{ "name":"DeleteElasticsearchDomain", "http":{ "method":"DELETE", "requestUri":"/2015-01-01/es/domain/{DomainName}" }, "input":{"shape":"DeleteElasticsearchDomainRequest"}, "output":{"shape":"DeleteElasticsearchDomainResponse"}, "errors":[ { "shape":"BaseException", "exception":true }, { "shape":"InternalException", "error":{"httpStatusCode":500}, "exception":true }, { "shape":"ResourceNotFoundException", "error":{"httpStatusCode":409}, "exception":true }, { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true } ] }, "DescribeElasticsearchDomain":{ "name":"DescribeElasticsearchDomain", "http":{ "method":"GET", "requestUri":"/2015-01-01/es/domain/{DomainName}" }, "input":{"shape":"DescribeElasticsearchDomainRequest"}, "output":{"shape":"DescribeElasticsearchDomainResponse"}, "errors":[ { "shape":"BaseException", "exception":true }, { "shape":"InternalException", "error":{"httpStatusCode":500}, "exception":true }, { "shape":"ResourceNotFoundException", "error":{"httpStatusCode":409}, "exception":true }, { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true } ] }, "DescribeElasticsearchDomainConfig":{ "name":"DescribeElasticsearchDomainConfig", "http":{ "method":"GET", "requestUri":"/2015-01-01/es/domain/{DomainName}/config" }, "input":{"shape":"DescribeElasticsearchDomainConfigRequest"}, "output":{"shape":"DescribeElasticsearchDomainConfigResponse"}, "errors":[ { "shape":"BaseException", "exception":true }, { "shape":"InternalException", "error":{"httpStatusCode":500}, "exception":true }, { "shape":"ResourceNotFoundException", "error":{"httpStatusCode":409}, "exception":true }, { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true } ] }, "DescribeElasticsearchDomains":{ "name":"DescribeElasticsearchDomains", "http":{ "method":"POST", "requestUri":"/2015-01-01/es/domain-info" }, "input":{"shape":"DescribeElasticsearchDomainsRequest"}, "output":{"shape":"DescribeElasticsearchDomainsResponse"}, "errors":[ { "shape":"BaseException", "exception":true }, { "shape":"InternalException", "error":{"httpStatusCode":500}, "exception":true }, { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true } ] }, "ListDomainNames":{ "name":"ListDomainNames", "http":{ "method":"GET", "requestUri":"/2015-01-01/domain" }, "output":{"shape":"ListDomainNamesResponse"}, "errors":[ { "shape":"BaseException", "exception":true }, { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true } ] }, "ListTags":{ "name":"ListTags", "http":{ "method":"GET", "requestUri":"/2015-01-01/tags/" }, "input":{"shape":"ListTagsRequest"}, "output":{"shape":"ListTagsResponse"}, "errors":[ { "shape":"BaseException", "exception":true }, { "shape":"ResourceNotFoundException", "error":{"httpStatusCode":409}, "exception":true }, { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true }, { "shape":"InternalException", "error":{"httpStatusCode":500}, "exception":true } ] }, "RemoveTags":{ "name":"RemoveTags", "http":{ "method":"POST", "requestUri":"/2015-01-01/tags-removal" }, "input":{"shape":"RemoveTagsRequest"}, "errors":[ { "shape":"BaseException", "exception":true }, { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true }, { "shape":"InternalException", "error":{"httpStatusCode":500}, "exception":true } ] }, "UpdateElasticsearchDomainConfig":{ "name":"UpdateElasticsearchDomainConfig", "http":{ "method":"POST", "requestUri":"/2015-01-01/es/domain/{DomainName}/config" }, "input":{"shape":"UpdateElasticsearchDomainConfigRequest"}, "output":{"shape":"UpdateElasticsearchDomainConfigResponse"}, "errors":[ { "shape":"BaseException", "exception":true }, { "shape":"InternalException", "error":{"httpStatusCode":500}, "exception":true }, { "shape":"InvalidTypeException", "error":{"httpStatusCode":409}, "exception":true }, { "shape":"LimitExceededException", "error":{"httpStatusCode":409}, "exception":true }, { "shape":"ResourceNotFoundException", "error":{"httpStatusCode":409}, "exception":true }, { "shape":"ValidationException", "error":{"httpStatusCode":400}, "exception":true } ] } }, "shapes":{ "ARN":{"type":"string"}, "AccessPoliciesStatus":{ "type":"structure", "required":[ "Options", "Status" ], "members":{ "Options":{"shape":"PolicyDocument"}, "Status":{"shape":"OptionStatus"} } }, "AddTagsRequest":{ "type":"structure", "required":[ "ARN", "TagList" ], "members":{ "ARN":{"shape":"ARN"}, "TagList":{"shape":"TagList"} } }, "AdvancedOptions":{ "type":"map", "key":{"shape":"String"}, "value":{"shape":"String"} }, "AdvancedOptionsStatus":{ "type":"structure", "required":[ "Options", "Status" ], "members":{ "Options":{"shape":"AdvancedOptions"}, "Status":{"shape":"OptionStatus"} } }, "BaseException":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"} }, "exception":true }, "Boolean":{"type":"boolean"}, "CreateElasticsearchDomainRequest":{ "type":"structure", "required":["DomainName"], "members":{ "DomainName":{"shape":"DomainName"}, "ElasticsearchClusterConfig":{"shape":"ElasticsearchClusterConfig"}, "EBSOptions":{"shape":"EBSOptions"}, "AccessPolicies":{"shape":"PolicyDocument"}, "SnapshotOptions":{"shape":"SnapshotOptions"}, "AdvancedOptions":{"shape":"AdvancedOptions"} } }, "CreateElasticsearchDomainResponse":{ "type":"structure", "members":{ "DomainStatus":{"shape":"ElasticsearchDomainStatus"} } }, "DeleteElasticsearchDomainRequest":{ "type":"structure", "required":["DomainName"], "members":{ "DomainName":{ "shape":"DomainName", "location":"uri", "locationName":"DomainName" } } }, "DeleteElasticsearchDomainResponse":{ "type":"structure", "members":{ "DomainStatus":{"shape":"ElasticsearchDomainStatus"} } }, "DescribeElasticsearchDomainConfigRequest":{ "type":"structure", "required":["DomainName"], "members":{ "DomainName":{ "shape":"DomainName", "location":"uri", "locationName":"DomainName" } } }, "DescribeElasticsearchDomainConfigResponse":{ "type":"structure", "required":["DomainConfig"], "members":{ "DomainConfig":{"shape":"ElasticsearchDomainConfig"} } }, "DescribeElasticsearchDomainRequest":{ "type":"structure", "required":["DomainName"], "members":{ "DomainName":{ "shape":"DomainName", "location":"uri", "locationName":"DomainName" } } }, "DescribeElasticsearchDomainResponse":{ "type":"structure", "required":["DomainStatus"], "members":{ "DomainStatus":{"shape":"ElasticsearchDomainStatus"} } }, "DescribeElasticsearchDomainsRequest":{ "type":"structure", "required":["DomainNames"], "members":{ "DomainNames":{"shape":"DomainNameList"} } }, "DescribeElasticsearchDomainsResponse":{ "type":"structure", "required":["DomainStatusList"], "members":{ "DomainStatusList":{"shape":"ElasticsearchDomainStatusList"} } }, "DisabledOperationException":{ "type":"structure", "members":{ }, "error":{"httpStatusCode":409}, "exception":true }, "DomainId":{ "type":"string", "min":1, "max":64 }, "DomainInfo":{ "type":"structure", "members":{ "DomainName":{"shape":"DomainName"} } }, "DomainInfoList":{ "type":"list", "member":{"shape":"DomainInfo"} }, "DomainName":{ "type":"string", "min":3, "max":28, "pattern":"[a-z][a-z0-9\\-]+" }, "DomainNameList":{ "type":"list", "member":{"shape":"DomainName"} }, "EBSOptions":{ "type":"structure", "members":{ "EBSEnabled":{"shape":"Boolean"}, "VolumeType":{"shape":"VolumeType"}, "VolumeSize":{"shape":"IntegerClass"}, "Iops":{"shape":"IntegerClass"} } }, "EBSOptionsStatus":{ "type":"structure", "required":[ "Options", "Status" ], "members":{ "Options":{"shape":"EBSOptions"}, "Status":{"shape":"OptionStatus"} } }, "ESPartitionInstanceType":{ "type":"string", "enum":[ "m3.medium.elasticsearch", "m3.large.elasticsearch", "m3.xlarge.elasticsearch", "m3.2xlarge.elasticsearch", "t2.micro.elasticsearch", "t2.small.elasticsearch", "t2.medium.elasticsearch", "r3.large.elasticsearch", "r3.xlarge.elasticsearch", "r3.2xlarge.elasticsearch", "r3.4xlarge.elasticsearch", "r3.8xlarge.elasticsearch", "i2.xlarge.elasticsearch", "i2.2xlarge.elasticsearch" ] }, "ElasticsearchClusterConfig":{ "type":"structure", "members":{ "InstanceType":{"shape":"ESPartitionInstanceType"}, "InstanceCount":{"shape":"IntegerClass"}, "DedicatedMasterEnabled":{"shape":"Boolean"}, "ZoneAwarenessEnabled":{"shape":"Boolean"}, "DedicatedMasterType":{"shape":"ESPartitionInstanceType"}, "DedicatedMasterCount":{"shape":"IntegerClass"} } }, "ElasticsearchClusterConfigStatus":{ "type":"structure", "required":[ "Options", "Status" ], "members":{ "Options":{"shape":"ElasticsearchClusterConfig"}, "Status":{"shape":"OptionStatus"} } }, "ElasticsearchDomainConfig":{ "type":"structure", "members":{ "ElasticsearchClusterConfig":{"shape":"ElasticsearchClusterConfigStatus"}, "EBSOptions":{"shape":"EBSOptionsStatus"}, "AccessPolicies":{"shape":"AccessPoliciesStatus"}, "SnapshotOptions":{"shape":"SnapshotOptionsStatus"}, "AdvancedOptions":{"shape":"AdvancedOptionsStatus"} } }, "ElasticsearchDomainStatus":{ "type":"structure", "required":[ "DomainId", "DomainName", "ARN", "ElasticsearchClusterConfig" ], "members":{ "DomainId":{"shape":"DomainId"}, "DomainName":{"shape":"DomainName"}, "ARN":{"shape":"ARN"}, "Created":{"shape":"Boolean"}, "Deleted":{"shape":"Boolean"}, "Endpoint":{"shape":"ServiceUrl"}, "Processing":{"shape":"Boolean"}, "ElasticsearchClusterConfig":{"shape":"ElasticsearchClusterConfig"}, "EBSOptions":{"shape":"EBSOptions"}, "AccessPolicies":{"shape":"PolicyDocument"}, "SnapshotOptions":{"shape":"SnapshotOptions"}, "AdvancedOptions":{"shape":"AdvancedOptions"} } }, "ElasticsearchDomainStatusList":{ "type":"list", "member":{"shape":"ElasticsearchDomainStatus"} }, "ErrorMessage":{"type":"string"}, "IntegerClass":{"type":"integer"}, "InternalException":{ "type":"structure", "members":{ }, "error":{"httpStatusCode":500}, "exception":true }, "InvalidTypeException":{ "type":"structure", "members":{ }, "error":{"httpStatusCode":409}, "exception":true }, "LimitExceededException":{ "type":"structure", "members":{ }, "error":{"httpStatusCode":409}, "exception":true }, "ListDomainNamesResponse":{ "type":"structure", "members":{ "DomainNames":{"shape":"DomainInfoList"} } }, "ListTagsRequest":{ "type":"structure", "required":["ARN"], "members":{ "ARN":{ "shape":"ARN", "location":"querystring", "locationName":"arn" } } }, "ListTagsResponse":{ "type":"structure", "members":{ "TagList":{"shape":"TagList"} } }, "OptionState":{ "type":"string", "enum":[ "RequiresIndexDocuments", "Processing", "Active" ] }, "OptionStatus":{ "type":"structure", "required":[ "CreationDate", "UpdateDate", "State" ], "members":{ "CreationDate":{"shape":"UpdateTimestamp"}, "UpdateDate":{"shape":"UpdateTimestamp"}, "UpdateVersion":{"shape":"UIntValue"}, "State":{"shape":"OptionState"}, "PendingDeletion":{"shape":"Boolean"} } }, "PolicyDocument":{"type":"string"}, "RemoveTagsRequest":{ "type":"structure", "required":[ "ARN", "TagKeys" ], "members":{ "ARN":{"shape":"ARN"}, "TagKeys":{"shape":"StringList"} } }, "ResourceAlreadyExistsException":{ "type":"structure", "members":{ }, "error":{"httpStatusCode":409}, "exception":true }, "ResourceNotFoundException":{ "type":"structure", "members":{ }, "error":{"httpStatusCode":409}, "exception":true }, "ServiceUrl":{"type":"string"}, "SnapshotOptions":{ "type":"structure", "members":{ "AutomatedSnapshotStartHour":{"shape":"IntegerClass"} } }, "SnapshotOptionsStatus":{ "type":"structure", "required":[ "Options", "Status" ], "members":{ "Options":{"shape":"SnapshotOptions"}, "Status":{"shape":"OptionStatus"} } }, "String":{"type":"string"}, "StringList":{ "type":"list", "member":{"shape":"String"} }, "Tag":{ "type":"structure", "required":[ "Key", "Value" ], "members":{ "Key":{"shape":"TagKey"}, "Value":{"shape":"TagValue"} } }, "TagKey":{ "type":"string", "min":1, "max":128 }, "TagList":{ "type":"list", "member":{"shape":"Tag"} }, "TagValue":{ "type":"string", "min":0, "max":256 }, "UIntValue":{ "type":"integer", "min":0 }, "UpdateElasticsearchDomainConfigRequest":{ "type":"structure", "required":["DomainName"], "members":{ "DomainName":{ "shape":"DomainName", "location":"uri", "locationName":"DomainName" }, "ElasticsearchClusterConfig":{"shape":"ElasticsearchClusterConfig"}, "EBSOptions":{"shape":"EBSOptions"}, "SnapshotOptions":{"shape":"SnapshotOptions"}, "AdvancedOptions":{"shape":"AdvancedOptions"}, "AccessPolicies":{"shape":"PolicyDocument"} } }, "UpdateElasticsearchDomainConfigResponse":{ "type":"structure", "required":["DomainConfig"], "members":{ "DomainConfig":{"shape":"ElasticsearchDomainConfig"} } }, "UpdateTimestamp":{"type":"timestamp"}, "ValidationException":{ "type":"structure", "members":{ }, "error":{"httpStatusCode":400}, "exception":true }, "VolumeType":{ "type":"string", "enum":[ "standard", "gp2", "io1" ] } } }