create_portal
async
¶
create_portal(
*,
config_overrides: Optional[AsyncApiGatewayV2ClientConfig] = None,
authorization: Optional[Authorization] = None,
endpoint_configuration: Optional[EndpointConfigurationRequest] = None,
included_portal_product_arns: Optional[__listOf__stringMin20Max2048] = None,
logo_uri: Optional[__stringMin0Max1092] = None,
portal_content: Optional[PortalContent] = None,
rum_app_monitor_name: Optional[__stringMin0Max255] = None,
tags: Optional[Tags] = None,
) -> CreatePortalResponse
Creates a portal.
Parameters:
-
authorization(Optional[Authorization], default:None) –The authentication configuration for the portal.
-
endpoint_configuration(Optional[EndpointConfigurationRequest], default:None) –The domain configuration for the portal. Use a default domain provided by API Gateway or provide a fully-qualified domain name that you own.
-
included_portal_product_arns(Optional[__listOf__stringMin20Max2048], default:None) –The ARNs of the portal products included in the portal.
-
logo_uri(Optional[__stringMin0Max1092], default:None) –The URI for the portal logo image that is displayed in the portal header.
-
portal_content(Optional[PortalContent], default:None) –The content of the portal.
-
rum_app_monitor_name(Optional[__stringMin0Max255], default:None) –The name of the Amazon CloudWatch RUM app monitor for the portal.
-
tags(Optional[Tags], default:None) –The collection of tags. Each tag element is associated with a given resource.
Raises:
-
BadRequestException–The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
-
TooManyRequestsException–A limit has been exceeded. See the accompanying error message for details.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_apigatewayv2/_services/async_api_gateway_v2.py
1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 | |