create_profile
¶
create_profile(
name: Name,
*,
config_overrides: Optional[CloudExtensionsClientConfig] = None,
client_token: Optional[ClientToken] = None,
description: Optional[Description_256] = None,
extension_defaults: Optional[ExtensionDefaults] = None,
tags: Optional[TagMap] = None,
) -> CreateProfileOutput
Creates a new profile. The profile name must be unique within the account.
Parameters:
-
name(Name) –The name of the profile. Must be unique within the account.
-
description(Optional[Description_256], default:None) –A human-readable description of the profile's purpose or target environment.
-
extension_defaults(Optional[ExtensionDefaults], default:None) –Default values used by the extensions in this profile. These can be overridden at the profile entry level.
-
tags(Optional[TagMap], default:None) –Tags to assign to the profile.
Raises:
-
AccessDeniedException–The caller does not have permission to perform the operation.
-
InternalServerException–The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
-
ThrottlingException–The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
-
ConflictException–The request conflicts with the current state of the resource.
-
ServiceQuotaExceededException–The request would exceed a service quota for the account.
-
ValidationException–The request was malformed or contained invalid parameter values.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_cloudextensions/_services/cloud_extensions.py
589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 | |