{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-outposts/json-schema/amazon-outposts-list-shared-endpoints-result-schema.json",
  "title": "ListSharedEndpointsResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-outposts-s3outposts-api-openapi.yml#/components/schemas/ListSharedEndpointsResult",
  "type": "object",
  "properties": {
    "Endpoints": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Endpoint"
      },
      "description": "The list of endpoints associated with the specified Outpost that have been shared by Amazon Web Services Resource Access Manager (RAM)."
    },
    "NextToken": {
      "type": "string",
      "description": "If the number of endpoints associated with the specified Outpost exceeds MaxResults, you can include this value in subsequent calls to this operation to retrieve more results."
    }
  },
  "$defs": {
    "Endpoint": {
      "type": "object",
      "properties": {
        "EndpointArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the endpoint."
        },
        "OutpostsId": {
          "type": "string",
          "description": "The ID of the Outposts."
        },
        "CidrBlock": {
          "type": "string",
          "description": "The VPC CIDR committed by this endpoint."
        },
        "Status": {
          "type": "string",
          "enum": [
            "Pending",
            "Available",
            "Deleting",
            "Create_Failed",
            "Delete_Failed"
          ],
          "description": "The status of the endpoint."
        },
        "CreationTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time the endpoint was created."
        },
        "NetworkInterfaces": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NetworkInterface"
          },
          "description": "The network interface of the endpoint."
        },
        "VpcId": {
          "type": "string",
          "description": "The ID of the VPC used for the endpoint."
        },
        "SubnetId": {
          "type": "string",
          "description": "The ID of the subnet used for the endpoint."
        },
        "SecurityGroupId": {
          "type": "string",
          "description": "The ID of the security group used for the endpoint."
        },
        "AccessType": {
          "type": "string",
          "enum": [
            "Private",
            "CustomerOwnedIp"
          ],
          "description": "The type of connectivity used to access the Amazon S3 on Outposts endpoint."
        },
        "CustomerOwnedIpv4Pool": {
          "type": "string",
          "description": "The ID of the customer-owned IPv4 address pool used for the endpoint."
        },
        "FailedReason": {
          "$ref": "#/$defs/FailedReason"
        }
      }
    },
    "FailedReason": {
      "type": "object",
      "properties": {
        "ErrorCode": {
          "type": "string",
          "description": "The failure code, if any, for a create or delete endpoint operation."
        },
        "Message": {
          "type": "string",
          "description": "Additional error details describing the endpoint failure and recommended action."
        }
      }
    },
    "NetworkInterface": {
      "type": "object",
      "properties": {
        "NetworkInterfaceId": {
          "type": "string",
          "description": "The ID for the network interface."
        }
      }
    }
  }
}