create_domain_layout
¶
create_domain_layout(
domain_name: name,
layout_definition_name: name,
description: sensitiveText,
display_name: displayName,
layout_type: LayoutType,
layout: sensitiveString1To2000000,
*,
config_overrides: Optional[CustomerProfilesClientConfig] = None,
is_default: Optional[boolean] = None,
tags: Optional[TagMap] = None,
) -> CreateDomainLayoutResponse
Creates the layout to view data for a specific domain. This API can only be invoked from the Amazon Connect admin website.
Parameters:
-
domain_name(name) –The unique name of the domain.
-
layout_definition_name(name) –The unique name of the layout.
-
description(sensitiveText) –The description of the layout
-
display_name(displayName) –The display name of the layout
-
is_default(Optional[boolean], default:None) –If set to true for a layout, this layout will be used by default to view data. If set to false, then the layout will not be used by default, but it can be used to view data by explicitly selecting it in the console.
-
layout_type(LayoutType) –The type of layout that can be used to view data under a Customer Profiles domain.
-
layout(sensitiveString1To2000000) –A customizable layout that can be used to view data under a Customer Profiles domain.
-
tags(Optional[TagMap], default:None) –The tags used to organize, track, or control access for this resource.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
BadRequestException–The input you provided is invalid.
-
InternalServerException–An internal service error occurred.
-
ResourceNotFoundException–The requested resource does not exist, or access was denied.
-
ThrottlingException–You exceeded the maximum number of requests.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_customer_profiles/_services/customer_profiles.py
1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 | |