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
7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 | |