create_benefit_application
¶
create_benefit_application(
catalog: CatalogName,
client_token: str,
benefit_identifier: str,
*,
config_overrides: Optional[PartnerCentralBenefitsClientConfig] = None,
name: Optional[BenefitApplicationName] = None,
description: Optional[BenefitApplicationDescription] = None,
fulfillment_types: Optional[FulfillmentTypes] = None,
benefit_application_details: Optional[object] = None,
tags: Optional[Tags] = None,
associated_resources: Optional[Arns] = None,
partner_contacts: Optional[Contacts] = None,
file_details: Optional[FileInputDetails] = None,
) -> CreateBenefitApplicationOutput
Creates a new benefit application for a partner to request access to AWS benefits and programs.
Parameters:
-
catalog(CatalogName) –The catalog identifier that specifies which benefit catalog to create the application in.
-
client_token(str) –A unique, case-sensitive identifier to ensure idempotent processing of the creation request.
-
name(Optional[BenefitApplicationName], default:None) –A human-readable name for the benefit application.
-
description(Optional[BenefitApplicationDescription], default:None) –A detailed description of the benefit application and its intended use.
-
benefit_identifier(str) –The unique identifier of the benefit being requested in this application.
-
fulfillment_types(Optional[FulfillmentTypes], default:None) –The types of fulfillment requested for this benefit application (e.g., credits, access, disbursement).
-
benefit_application_details(Optional[object], default:None) –Detailed information and requirements specific to the benefit being requested.
-
tags(Optional[Tags], default:None) –Key-value pairs to categorize and organize the benefit application.
-
associated_resources(Optional[Arns], default:None) –AWS resources that are associated with this benefit application.
-
partner_contacts(Optional[Contacts], default:None) –Contact information for partner representatives responsible for this benefit application.
-
file_details(Optional[FileInputDetails], default:None) –Supporting documents and files attached to the benefit application.
Raises:
-
AccessDeniedException–Thrown when the caller does not have sufficient permissions to perform the requested operation.
-
ConflictException–Thrown when the request conflicts with the current state of the resource, such as attempting to modify a resource that has been changed by another process.
-
InternalServerException–Thrown when an unexpected error occurs on the server side during request processing.
-
ResourceNotFoundException–Thrown when the requested resource cannot be found or does not exist.
-
ThrottlingException–Thrown when the request rate exceeds the allowed limits and the request is being throttled.
-
ValidationException–Thrown when the request contains invalid parameters or fails input validation requirements.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_partnercentral_benefits/_services/partner_central_benefits.py
392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 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 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 | |