{ "version": "2.0", "metadata": { "apiVersion": "2017-03-14", "endpointPrefix": "servicediscovery", "jsonVersion": "1.1", "protocol": "json", "serviceAbbreviation": "ServiceDiscovery", "serviceFullName": "AWS Cloud Map", "serviceId": "ServiceDiscovery", "signatureVersion": "v4", "targetPrefix": "Route53AutoNaming_v20170314", "uid": "servicediscovery-2017-03-14" }, "operations": { "CreateHttpNamespace": { "input": { "type": "structure", "required": [ "Name" ], "members": { "Name": {}, "CreatorRequestId": { "idempotencyToken": true }, "Description": {} } }, "output": { "type": "structure", "members": { "OperationId": {} } } }, "CreatePrivateDnsNamespace": { "input": { "type": "structure", "required": [ "Name", "Vpc" ], "members": { "Name": {}, "CreatorRequestId": { "idempotencyToken": true }, "Description": {}, "Vpc": {} } }, "output": { "type": "structure", "members": { "OperationId": {} } } }, "CreatePublicDnsNamespace": { "input": { "type": "structure", "required": [ "Name" ], "members": { "Name": {}, "CreatorRequestId": { "idempotencyToken": true }, "Description": {} } }, "output": { "type": "structure", "members": { "OperationId": {} } } }, "CreateService": { "input": { "type": "structure", "required": [ "Name" ], "members": { "Name": {}, "NamespaceId": {}, "CreatorRequestId": { "idempotencyToken": true }, "Description": {}, "DnsConfig": { "shape": "Sd" }, "HealthCheckConfig": { "shape": "Sj" }, "HealthCheckCustomConfig": { "shape": "Sn" } } }, "output": { "type": "structure", "members": { "Service": { "shape": "Sp" } } } }, "DeleteNamespace": { "input": { "type": "structure", "required": [ "Id" ], "members": { "Id": {} } }, "output": { "type": "structure", "members": { "OperationId": {} } } }, "DeleteService": { "input": { "type": "structure", "required": [ "Id" ], "members": { "Id": {} } }, "output": { "type": "structure", "members": {} } }, "DeregisterInstance": { "input": { "type": "structure", "required": [ "ServiceId", "InstanceId" ], "members": { "ServiceId": {}, "InstanceId": {} } }, "output": { "type": "structure", "members": { "OperationId": {} } } }, "DiscoverInstances": { "input": { "type": "structure", "required": [ "NamespaceName", "ServiceName" ], "members": { "NamespaceName": {}, "ServiceName": {}, "MaxResults": { "type": "integer" }, "QueryParameters": { "shape": "S11" }, "HealthStatus": {} } }, "output": { "type": "structure", "members": { "Instances": { "type": "list", "member": { "type": "structure", "members": { "InstanceId": {}, "NamespaceName": {}, "ServiceName": {}, "HealthStatus": {}, "Attributes": { "shape": "S11" } } } } } }, "endpoint": { "hostPrefix": "data-" } }, "GetInstance": { "input": { "type": "structure", "required": [ "ServiceId", "InstanceId" ], "members": { "ServiceId": {}, "InstanceId": {} } }, "output": { "type": "structure", "members": { "Instance": { "type": "structure", "required": [ "Id" ], "members": { "Id": {}, "CreatorRequestId": {}, "Attributes": { "shape": "S11" } } } } } }, "GetInstancesHealthStatus": { "input": { "type": "structure", "required": [ "ServiceId" ], "members": { "ServiceId": {}, "Instances": { "type": "list", "member": {} }, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "Status": { "type": "map", "key": {}, "value": {} }, "NextToken": {} } } }, "GetNamespace": { "input": { "type": "structure", "required": [ "Id" ], "members": { "Id": {} } }, "output": { "type": "structure", "members": { "Namespace": { "type": "structure", "members": { "Id": {}, "Arn": {}, "Name": {}, "Type": {}, "Description": {}, "ServiceCount": { "type": "integer" }, "Properties": { "shape": "S1l" }, "CreateDate": { "type": "timestamp" }, "CreatorRequestId": {} } } } } }, "GetOperation": { "input": { "type": "structure", "required": [ "OperationId" ], "members": { "OperationId": {} } }, "output": { "type": "structure", "members": { "Operation": { "type": "structure", "members": { "Id": {}, "Type": {}, "Status": {}, "ErrorMessage": {}, "ErrorCode": {}, "CreateDate": { "type": "timestamp" }, "UpdateDate": { "type": "timestamp" }, "Targets": { "type": "map", "key": {}, "value": {} } } } } } }, "GetService": { "input": { "type": "structure", "required": [ "Id" ], "members": { "Id": {} } }, "output": { "type": "structure", "members": { "Service": { "shape": "Sp" } } } }, "ListInstances": { "input": { "type": "structure", "required": [ "ServiceId" ], "members": { "ServiceId": {}, "NextToken": {}, "MaxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "Instances": { "type": "list", "member": { "type": "structure", "members": { "Id": {}, "Attributes": { "shape": "S11" } } } }, "NextToken": {} } } }, "ListNamespaces": { "input": { "type": "structure", "members": { "NextToken": {}, "MaxResults": { "type": "integer" }, "Filters": { "type": "list", "member": { "type": "structure", "required": [ "Name", "Values" ], "members": { "Name": {}, "Values": { "shape": "S27" }, "Condition": {} } } } } }, "output": { "type": "structure", "members": { "Namespaces": { "type": "list", "member": { "type": "structure", "members": { "Id": {}, "Arn": {}, "Name": {}, "Type": {}, "Description": {}, "ServiceCount": { "type": "integer" }, "Properties": { "shape": "S1l" }, "CreateDate": { "type": "timestamp" } } } }, "NextToken": {} } } }, "ListOperations": { "input": { "type": "structure", "members": { "NextToken": {}, "MaxResults": { "type": "integer" }, "Filters": { "type": "list", "member": { "type": "structure", "required": [ "Name", "Values" ], "members": { "Name": {}, "Values": { "shape": "S27" }, "Condition": {} } } } } }, "output": { "type": "structure", "members": { "Operations": { "type": "list", "member": { "type": "structure", "members": { "Id": {}, "Status": {} } } }, "NextToken": {} } } }, "ListServices": { "input": { "type": "structure", "members": { "NextToken": {}, "MaxResults": { "type": "integer" }, "Filters": { "type": "list", "member": { "type": "structure", "required": [ "Name", "Values" ], "members": { "Name": {}, "Values": { "shape": "S27" }, "Condition": {} } } } } }, "output": { "type": "structure", "members": { "Services": { "type": "list", "member": { "type": "structure", "members": { "Id": {}, "Arn": {}, "Name": {}, "Description": {}, "InstanceCount": { "type": "integer" }, "DnsConfig": { "shape": "Sd" }, "HealthCheckConfig": { "shape": "Sj" }, "HealthCheckCustomConfig": { "shape": "Sn" }, "CreateDate": { "type": "timestamp" } } } }, "NextToken": {} } } }, "RegisterInstance": { "input": { "type": "structure", "required": [ "ServiceId", "InstanceId", "Attributes" ], "members": { "ServiceId": {}, "InstanceId": {}, "CreatorRequestId": { "idempotencyToken": true }, "Attributes": { "shape": "S11" } } }, "output": { "type": "structure", "members": { "OperationId": {} } } }, "UpdateInstanceCustomHealthStatus": { "input": { "type": "structure", "required": [ "ServiceId", "InstanceId", "Status" ], "members": { "ServiceId": {}, "InstanceId": {}, "Status": {} } } }, "UpdateService": { "input": { "type": "structure", "required": [ "Id", "Service" ], "members": { "Id": {}, "Service": { "type": "structure", "required": [ "DnsConfig" ], "members": { "Description": {}, "DnsConfig": { "type": "structure", "required": [ "DnsRecords" ], "members": { "DnsRecords": { "shape": "Sf" } } }, "HealthCheckConfig": { "shape": "Sj" } } } } }, "output": { "type": "structure", "members": { "OperationId": {} } } } }, "shapes": { "Sd": { "type": "structure", "required": [ "DnsRecords" ], "members": { "NamespaceId": { "deprecated": true, "deprecatedMessage": "Top level attribute in request should be used to reference namespace-id" }, "RoutingPolicy": {}, "DnsRecords": { "shape": "Sf" } } }, "Sf": { "type": "list", "member": { "type": "structure", "required": [ "Type", "TTL" ], "members": { "Type": {}, "TTL": { "type": "long" } } } }, "Sj": { "type": "structure", "required": [ "Type" ], "members": { "Type": {}, "ResourcePath": {}, "FailureThreshold": { "type": "integer" } } }, "Sn": { "type": "structure", "members": { "FailureThreshold": { "type": "integer" } } }, "Sp": { "type": "structure", "members": { "Id": {}, "Arn": {}, "Name": {}, "NamespaceId": {}, "Description": {}, "InstanceCount": { "type": "integer" }, "DnsConfig": { "shape": "Sd" }, "HealthCheckConfig": { "shape": "Sj" }, "HealthCheckCustomConfig": { "shape": "Sn" }, "CreateDate": { "type": "timestamp" }, "CreatorRequestId": {} } }, "S11": { "type": "map", "key": {}, "value": {} }, "S1l": { "type": "structure", "members": { "DnsProperties": { "type": "structure", "members": { "HostedZoneId": {} } }, "HttpProperties": { "type": "structure", "members": { "HttpName": {} } } } }, "S27": { "type": "list", "member": {} } } }