create_ingestion
async
¶
create_ingestion(
app_bundle_identifier: Identifier,
app: String255,
tenant_id: TenantIdentifier,
ingestion_type: IngestionType,
*,
config_overrides: Optional[AsyncAppFabricClientConfig] = None,
client_token: Optional[UUID] = None,
tags: Optional[TagList] = None,
) -> CreateIngestionResponse
Creates a data ingestion for an application.
Parameters:
-
app_bundle_identifier(Identifier) –The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
-
app(String255) –The name of the application.
Valid values are:
-
SLACK -
ASANA -
JIRA -
M365 -
M365AUDITLOGS -
ZOOM -
ZENDESK -
OKTA -
GOOGLE -
DROPBOX -
SMARTSHEET -
CISCO
-
-
tenant_id(TenantIdentifier) –The ID of the application tenant.
-
ingestion_type(IngestionType) –The ingestion type.
-
client_token(Optional[UUID], default:None) –Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same
ClientToken, but with different parameters, the retry fails with anIdempotentParameterMismatcherror. -
tags(Optional[TagList], default:None) –A map of the key-value pairs of the tag or tags to assign to the resource.
Raises:
-
AccessDeniedException–You are not authorized to perform this operation.
-
ConflictException–The request has created a conflict. Check the request parameters and try again.
-
InternalServerException–The request processing has failed because of an unknown error, exception, or failure with an internal server.
-
ServiceQuotaExceededException–The request exceeds a service quota.
-
ThrottlingException–The request rate exceeds the limit.
-
ValidationException–The request has invalid or missing parameters.
-
UnknownServiceError–The service returned an error code this client does not model.