// Applies a scheduled managed action immediately. A managed action can be applied
// only if its status is Scheduled. Get the status and action ID of a managed
// action with DescribeEnvironmentManagedActions.
Applies a scheduled managed action immediately. A managed action can be applied
only if its status is Scheduled. Get the status and action ID of a managed
action with DescribeEnvironmentManagedActions.
// Applies a scheduled managed action immediately . A managed action can be applied // only if its status is Scheduled . Get the status and action ID of a managed // action with DescribeEnvironmentManagedActions .
func (c *Client) ApplyEnvironmentManagedAction(ctx context.Context, params *ApplyEnvironmentManagedActionInput, optFns ...func(*Options)) (*ApplyEnvironmentManagedActionOutput, error) {
	if params == nil {
		params = &ApplyEnvironmentManagedActionInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ApplyEnvironmentManagedAction", params, optFns, addOperationApplyEnvironmentManagedActionMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ApplyEnvironmentManagedActionOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ApplyEnvironmentManagedAction ( ctx context . Context , params * ApplyEnvironmentManagedActionInput , optFns ... func ( * Options ) ) ( * ApplyEnvironmentManagedActionOutput , error ) { if params == nil { params = & ApplyEnvironmentManagedActionInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationApplyEnvironmentManagedActionMiddlewares ) if err != nil { return nil , err } out := result . ( * ApplyEnvironmentManagedActionOutput ) out . ResultMetadata = metadata return out , nil }
Applies a scheduled managed action immediately.
Applies a scheduled managed action immediately .