create_backend_auth
async
¶
create_backend_auth(
app_id: __string,
*,
config_overrides: Optional[AsyncAmplifyBackendClientConfig] = None,
backend_environment_name: Optional[__string] = None,
resource_config: Optional[CreateBackendAuthResourceConfig] = None,
resource_name: Optional[__string] = None,
) -> CreateBackendAuthResponse
Creates a new backend authentication resource.
Parameters:
-
app_id(__string) –The app ID.
-
backend_environment_name(Optional[__string], default:None) –The name of the backend environment.
-
resource_config(Optional[CreateBackendAuthResourceConfig], default:None) –The resource configuration for this request object.
-
resource_name(Optional[__string], default:None) –The name of this resource.
Raises:
-
BadRequestException–An error returned if a request is not formed properly.
-
GatewayTimeoutException–An error returned if there's a temporary issue with the service.
-
NotFoundException–An error returned when a specific resource type is not found.
-
TooManyRequestsException–An error that is returned when a limit of a specific type has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_amplifybackend/_services/async_amplify_backend.py
410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 | |