delete_brand_profile_attribute
async
¶
delete_brand_profile_attribute(
brand_profile_id: BrandProfileIdOrArn,
attribute_name: BrandProfileAttributeName,
*,
config_overrides: Optional[AsyncEndUserMessagingClientConfig] = None,
) -> DeleteBrandProfileAttributeOutput
Deletes a brand profile attribute. If the attribute stores media, this operation also deletes the associated media.
Parameters:
-
brand_profile_id(BrandProfileIdOrArn) –The unique identifier of the brand profile. You can specify either the bare ID or the full Amazon Resource Name (ARN).
-
attribute_name(BrandProfileAttributeName) –The name of the brand profile attribute. The name is unique within a brand profile.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The request conflicts with the current state of the resource.
-
InternalServerException–An unexpected error occurred during the processing of the request.
-
ResourceNotFoundException–The request references a resource that does not exist. Verify that the resource identifier is correct and try your request again.
-
ThrottlingException–The request was denied because it exceeded the allowed request rate.
-
ValidationException–A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Delete a brand profile attribute
>>> await client.delete_brand_profile_attribute(brand_profile_id='bp-abc12345678901234', attribute_name='SupportEmail')
Source code in docs_src/capo_endusermessaging/_services/async_end_user_messaging.py
735 736 737 738 739 740 741 742 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 | |