create_application
async
¶
create_application(
name: ApplicationName,
*,
config_overrides: Optional[AsyncOpenSearchClientConfig] = None,
client_token: Optional[ClientToken] = None,
data_sources: Optional[DataSources] = None,
iam_identity_center_options: Optional[IamIdentityCenterOptionsInput] = None,
app_configs: Optional[AppConfigs] = None,
tag_list: Optional[TagList] = None,
kms_key_arn: Optional[KmsKeyArn] = None,
) -> CreateApplicationResponse
Creates an OpenSearch UI application. For more information, see Using the OpenSearch user interface in Amazon OpenSearch Service.
Parameters:
-
client_token(Optional[ClientToken], default:None) –Unique, case-sensitive identifier to ensure idempotency of the request.
-
name(ApplicationName) –The unique name of the OpenSearch application. Names must be unique within an Amazon Web Services Region for each account.
-
data_sources(Optional[DataSources], default:None) –The data sources to link to the OpenSearch application.
-
iam_identity_center_options(Optional[IamIdentityCenterOptionsInput], default:None) –Configuration settings for integrating Amazon Web Services IAM Identity Center with the OpenSearch application.
-
app_configs(Optional[AppConfigs], default:None) –Configuration settings for the OpenSearch application, including administrative options.
-
kms_key_arn(Optional[KmsKeyArn], default:None) –The Amazon Resource Name (ARN) of the KMS key used to encrypt the application's data at rest. If provided, the application uses your customer-managed key for encryption. If omitted, the application uses an AWS-managed key. The KMS key must be in the same region as the application.
Raises:
-
AccessDeniedException–An error occurred because you don't have permissions to access the resource.
-
BaseException–An error occurred while processing the request.
-
ConflictException–An error occurred because the client attempts to remove a resource that is currently in use.
-
DisabledOperationException–An error occured because the client wanted to access an unsupported operation.
-
InternalException–Request processing failed because of an unknown error, exception, or internal failure.
-
ValidationException–An exception for accessing or deleting a resource that doesn't exist.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_opensearch/_services/async_open_search.py
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 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 | |