update_profile
¶
update_profile(
identifier: Identifier,
*,
config_overrides: Optional[CloudExtensionsClientConfig] = None,
name: Optional[Name] = None,
description: Optional[ClearableDescription_256] = None,
extension_defaults: Optional[ExtensionDefaults] = None,
) -> UpdateProfileOutput
Updates a profile's mutable properties. Only provided fields are changed; omitted fields remain unchanged.
Parameters:
-
identifier(Identifier) –The identifier (id or name) of the profile to update.
-
name(Optional[Name], default:None) –The new name of the profile. Must be unique within the account.
-
description(Optional[ClearableDescription_256], default:None) –A human-readable description of the profile's purpose or target environment. An empty string removes the description.
-
extension_defaults(Optional[ExtensionDefaults], default:None) –Default values used by the extensions in this profile. These can be overridden at the profile entry level.
Raises:
-
AccessDeniedException–The caller does not have permission to perform the operation.
-
InternalServerException–The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
-
ThrottlingException–The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
-
ConflictException–The request conflicts with the current state of the resource.
-
ResourceNotFoundException–The specified resource does not exist or the caller does not have permission to access it.
-
ValidationException–The request was malformed or contained invalid parameter values.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_cloudextensions/_services/cloud_extensions.py
743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 | |