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
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 1105 1106 1107 1108 1109 1110 1111 | |