create_analysis_template
async
¶
create_analysis_template(
membership_identifier: MembershipIdentifier,
name: TableAlias,
format: AnalysisFormat,
source: AnalysisSource,
*,
config_overrides: Optional[AsyncCleanRoomsClientConfig] = None,
description: Optional[ResourceDescription] = None,
tags: Optional[TagMap] = None,
analysis_parameters: Optional[AnalysisParameterList] = None,
schema: Optional[AnalysisSchema] = None,
error_message_configuration: Optional[ErrorMessageConfiguration] = None,
synthetic_data_parameters: Optional[SyntheticDataParameters] = None,
) -> CreateAnalysisTemplateOutput
Creates a new analysis template.
Parameters:
-
description(Optional[ResourceDescription], default:None) –The description of the analysis template.
-
membership_identifier(MembershipIdentifier) –The identifier for a membership resource.
-
name(TableAlias) –The name of the analysis template.
-
format(AnalysisFormat) –The format of the analysis template.
-
source(AnalysisSource) –The information in the analysis template.
-
tags(Optional[TagMap], default:None) –An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
-
analysis_parameters(Optional[AnalysisParameterList], default:None) –The parameters of the analysis template.
-
error_message_configuration(Optional[ErrorMessageConfiguration], default:None) –The configuration that specifies the level of detail in error messages returned by analyses using this template. When set to
DETAILED, error messages include more information to help troubleshoot issues with PySpark jobs. Detailed error messages may expose underlying data, including sensitive information. Recommended for faster troubleshooting in development and testing environments. -
synthetic_data_parameters(Optional[SyntheticDataParameters], default:None) –The parameters for generating synthetic data when running the analysis template.
Raises:
-
AccessDeniedException–Caller does not have sufficient access to perform this action.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalServerException–Unexpected error during processing of request.
-
ResourceNotFoundException–Request references a resource which does not exist.
-
ServiceQuotaExceededException–Request denied because service quota has been exceeded.
-
ThrottlingException–Request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the specified constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_cleanrooms/_services/async_clean_rooms.py
667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 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 | |