update_framework
async
¶
update_framework(
framework_name: FrameworkName,
*,
config_overrides: Optional[AsyncBackupClientConfig] = None,
framework_description: Optional[FrameworkDescription] = None,
framework_controls: Optional[FrameworkControls] = None,
idempotency_token: Optional[string] = None,
) -> UpdateFrameworkOutput
Updates the specified framework.
Parameters:
-
framework_name(FrameworkName) –The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
-
framework_description(Optional[FrameworkDescription], default:None) –An optional description of the framework with a maximum 1,024 characters.
-
framework_controls(Optional[FrameworkControls], default:None) –The controls that make up the framework. Each control in the list has a name, input parameters, and scope.
-
idempotency_token(Optional[string], default:None) –A customer-chosen string that you can use to distinguish between otherwise identical calls to
UpdateFrameworkInput. Retrying a successful request with the same idempotency token results in a success message with no action taken.
Raises:
-
AlreadyExistsException–The required resource already exists.
-
ConflictException–Backup can't perform the action that you requested until it finishes performing a previous action. Try again later.
-
InvalidParameterValueException–Indicates that something is wrong with a parameter's value. For example, the value is out of range.
-
LimitExceededException–A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
-
MissingParameterValueException–Indicates that a required parameter is missing.
-
ResourceNotFoundException–A resource that is required for the action doesn't exist.
-
ServiceUnavailableException–The request failed due to a temporary failure of the server.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_backup/_services/async_backup.py
7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 | |