update_framework
¶
update_framework(
framework_name: FrameworkName,
*,
config_overrides: Optional[BackupClientConfig] = 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/backup.py
7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 | |