// Update an endpoint group. A resource must be valid and active when you add it as
// an endpoint. To see an AWS CLI example of updating an endpoint group, scroll
// down to Example.
Update an endpoint group. A resource must be valid and active when you add it as
an endpoint. To see an AWS CLI example of updating an endpoint group, scroll
down to Example.
// Update an endpoint group . A resource must be valid and active when you add it as // an endpoint . To see an AWS CLI example of updating an endpoint group scroll // down to Example .
func (c *Client) UpdateEndpointGroup(ctx context.Context, params *UpdateEndpointGroupInput, optFns ...func(*Options)) (*UpdateEndpointGroupOutput, error) {
	if params == nil {
		params = &UpdateEndpointGroupInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "UpdateEndpointGroup", params, optFns, addOperationUpdateEndpointGroupMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*UpdateEndpointGroupOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) UpdateEndpointGroup ( ctx context . Context , params * UpdateEndpointGroupInput , optFns ... func ( * Options ) ) ( * UpdateEndpointGroupOutput , error ) { if params == nil { params = & UpdateEndpointGroupInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationUpdateEndpointGroupMiddlewares ) if err != nil { return nil , err } out := result . ( * UpdateEndpointGroupOutput ) out . ResultMetadata = metadata return out , nil }
Update an endpoint group.
Update an endpoint group .