// Replaces the specified properties of the specified listener. Any properties that
// you do not specify remain unchanged. Changing the protocol from HTTPS to HTTP,
// or from TLS to TCP, removes the security policy and default certificate
// properties. If you change the protocol from HTTP to HTTPS, or from TCP to TLS,
// you must add the security policy and default certificate properties. To add an
// item to a list, remove an item from a list, or update an item in a list, you
// must provide the entire list. For example, to add an action, specify a list with
// the current actions plus the new action.
Replaces the specified properties of the specified listener. Any properties that
you do not specify remain unchanged. Changing the protocol from HTTPS to HTTP,
or from TLS to TCP, removes the security policy and default certificate
properties. If you change the protocol from HTTP to HTTPS, or from TCP to TLS,
you must add the security policy and default certificate properties. To add an
item to a list, remove an item from a list, or update an item in a list, you
must provide the entire list. For example, to add an action, specify a list with
the current actions plus the new action.
// Replaces the specified properties of the specified listener . Any properties that // you do not specify remain unchanged . Changing the protocol from HTTPS to HTTP // or from TLS to TCP removes the security policy and default certificate // properties . If you change the protocol from HTTP to HTTPS or from TCP to TLS // you must add the security policy and default certificate properties . To add an // item to a list remove an item from a list or update an item in a list you // must provide the entire list . For example to add an action specify a list with // the current actions plus the new action .
func (c *Client) ModifyListener(ctx context.Context, params *ModifyListenerInput, optFns ...func(*Options)) (*ModifyListenerOutput, error) {
	if params == nil {
		params = &ModifyListenerInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ModifyListener", params, optFns, addOperationModifyListenerMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ModifyListenerOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ModifyListener ( ctx context . Context , params * ModifyListenerInput , optFns ... func ( * Options ) ) ( * ModifyListenerOutput , error ) { if params == nil { params = & ModifyListenerInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationModifyListenerMiddlewares ) if err != nil { return nil , err } out := result . ( * ModifyListenerOutput ) out . ResultMetadata = metadata return out , nil }
Replaces the specified properties of the specified listener.
Replaces the specified properties of the specified listener .