// Modifies the specified endpoint.
Modifies the specified endpoint.
// Modifies the specified endpoint .
func (c *Client) ModifyEndpoint(ctx context.Context, params *ModifyEndpointInput, optFns ...func(*Options)) (*ModifyEndpointOutput, error) {
	if params == nil {
		params = &ModifyEndpointInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ModifyEndpoint", params, optFns, addOperationModifyEndpointMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ModifyEndpointOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ModifyEndpoint ( ctx context . Context , params * ModifyEndpointInput , optFns ... func ( * Options ) ) ( * ModifyEndpointOutput , error ) { if params == nil { params = & ModifyEndpointInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationModifyEndpointMiddlewares ) if err != nil { return nil , err } out := result . ( * ModifyEndpointOutput ) out . ResultMetadata = metadata return out , nil }
Modifies the specified endpoint.
Modifies the specified endpoint .