// Returns the description of an endpoint.
Returns the description of an endpoint.
// Returns the description of an endpoint .
func (c *Client) DescribeEndpoint(ctx context.Context, params *DescribeEndpointInput, optFns ...func(*Options)) (*DescribeEndpointOutput, error) {
	if params == nil {
		params = &DescribeEndpointInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DescribeEndpoint", params, optFns, addOperationDescribeEndpointMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DescribeEndpointOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DescribeEndpoint ( ctx context . Context , params * DescribeEndpointInput , optFns ... func ( * Options ) ) ( * DescribeEndpointOutput , error ) { if params == nil { params = & DescribeEndpointInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDescribeEndpointMiddlewares ) if err != nil { return nil , err } out := result . ( * DescribeEndpointOutput ) out . ResultMetadata = metadata return out , nil }
Returns the description of an endpoint.
Returns the description of an endpoint .