Amazon VPC Lattice GetTargetGroup API

The GetTargetGroup API from Amazon VPC Lattice — 1 operation(s) for gettargetgroup.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 1

GET /targetgroups/{targetGroupIdentifier} Get Target Group #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-vpc-lattice:amazon-vpc-lattice-gettargetgroup-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-vpc-lattice-gettargetgroup-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon VPC Lattice Gettargetgroup API
  version: '2022-11-30'
  description: Generated from AWS's published Smithy model for Amazon VPC Lattice. 1 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://vpc-lattice.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /targetgroups/{targetGroupIdentifier}:
    get:
      operationId: GetTargetGroup
      summary: Get Target Group
      description: Retrieves information about the specified target group.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetTargetGroupResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: targetGroupIdentifier
        in: path
        required: true
        schema:
          type: string
        description: The ID or ARN of the target group.
      tags:
      - Gettargetgroup
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: vpc-lattice
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    GetTargetGroupResponse:
      type: object
      properties:
        id:
          type: string
          description: The ID of the target group.
        arn:
          type: string
          description: The Amazon Resource Name (ARN) of the target group.
        name:
          type: string
          description: The name of the target group.
        type:
          type: string
          description: The target group type.
        config:
          $ref: '#/components/schemas/TargetGroupConfig'
        createdAt:
          type: string
          format: date-time
          description: The date and time that the target group was created, in ISO-8601 format.
        lastUpdatedAt:
          type: string
          format: date-time
          description: The date and time that the target group was last updated, in ISO-8601 format.
        status:
          type: string
          description: The status.
        serviceArns:
          type: array
          items:
            type: string
          description: The Amazon Resource Names (ARNs) of the service.
        failureMessage:
          type: string
          description: The failure message.
        failureCode:
          type: string
          description: The failure code.
    HealthCheckConfig:
      type: object
      properties:
        enabled:
          type: boolean
          description: Indicates whether health checking is enabled.
        protocol:
          type: string
          description: The protocol used when performing health checks on targets. The possible protocols are HTTP and HTTPS.
            The default is HTTP.
        protocolVersion:
          type: string
          description: The protocol version used when performing health checks on targets. The possible protocol versions
            are HTTP1 and HTTP2.
        port:
          type: integer
          description: The port used when performing health checks on targets. The default setting is the port that a target
            receives traffic on.
        path:
          type: string
          description: The destination for health checks on the targets. If the protocol version is HTTP/1.1 or HTTP/2, specify
            a valid URI (for example, /path?query). The default path is /. Health checks are not supported if the protocol
            version is gRPC, however, you can choose HTTP/1.1 or HTTP/2 and specify a valid URI.
        healthCheckIntervalSeconds:
          type: integer
          description: The approximate amount of time, in seconds, between health checks of an individual target. The range
            is 5–300 seconds. The default is 30 seconds.
        healthCheckTimeoutSeconds:
          type: integer
          description: The amount of time, in seconds, to wait before reporting a target as unhealthy. The range is 1–120
            seconds. The default is 5 seconds.
        healthyThresholdCount:
          type: integer
          description: The number of consecutive successful health checks required before considering an unhealthy target
            healthy. The range is 2–10. The default is 5.
        unhealthyThresholdCount:
          type: integer
          description: The number of consecutive failed health checks required before considering a target unhealthy. The
            range is 2–10. The default is 2.
        matcher:
          $ref: '#/components/schemas/Matcher'
    InternalServerException:
      type: object
      properties:
        message:
          type: string
        retryAfterSeconds:
          type: integer
          description: The number of seconds to wait before retrying.
      required:
      - message
    Matcher:
      type: object
      properties:
        httpCode:
          type: string
          description: The HTTP code to use when checking for a successful response from a target.
      description: Exactly one member is set.
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
        resourceId:
          type: string
          description: The resource ID.
        resourceType:
          type: string
          description: The resource type.
      required:
      - message
      - resourceId
      - resourceType
    TargetGroupConfig:
      type: object
      properties:
        port:
          type: integer
          description: The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the default is
            443. Not supported if the target group type is LAMBDA.
        protocol:
          type: string
          description: The protocol to use for routing traffic to the targets. The default is the protocol of the target group.
            Not supported if the target group type is LAMBDA.
        protocolVersion:
          type: string
          description: The protocol version. The default is HTTP1. Not supported if the target group type is LAMBDA.
        ipAddressType:
          type: string
          description: The type of IP address used for the target group. Supported only if the target group type is IP. The
            default is IPV4.
        vpcIdentifier:
          type: string
          description: The ID of the VPC. Not supported if the target group type is LAMBDA.
        healthCheck:
          $ref: '#/components/schemas/HealthCheckConfig'
        lambdaEventStructureVersion:
          type: string
          description: The version of the event structure that your Lambda function receives. Supported only if the target
            group type is LAMBDA. The default is V1.
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
        serviceCode:
          type: string
          description: The service code.
        quotaCode:
          type: string
          description: The ID of the service quota that was exceeded.
        retryAfterSeconds:
          type: integer
          description: The number of seconds to wait before retrying.
      required:
      - message
    ValidationException:
      type: object
      properties:
        message:
          type: string
        reason:
          type: string
          description: The reason.
        fieldList:
          type: array
          items:
            $ref: '#/components/schemas/ValidationExceptionField'
          description: The fields that failed validation.
      required:
      - message
      - reason
    ValidationExceptionField:
      type: object
      properties:
        name:
          type: string
          description: The name of the validation exception.
        message:
          type: string
          description: Additional information about why the validation failed.
      required:
      - name
      - message
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/vpc-lattice/service/2022-11-30/vpc-lattice-2022-11-30.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)