update_partner_app
async
¶
update_partner_app(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
arn: Optional[PartnerAppArn] = None,
maintenance_config: Optional[PartnerAppMaintenanceConfig] = None,
tier: Optional[NonEmptyString64] = None,
application_config: Optional[PartnerAppConfig] = None,
idc_config: Optional[IdcConfigInput] = None,
auth_type: Optional[PartnerAppAuthType] = None,
enable_iam_session_based_identity: Optional[Boolean] = None,
enable_auto_minor_version_upgrade: Optional[Boolean] = None,
app_version: Optional[MajorMinorVersion] = None,
client_token: Optional[ClientToken] = None,
tags: Optional[TagList] = None,
) -> UpdatePartnerAppResponse
Updates all of the SageMaker Partner AI Apps in an account.
Parameters:
-
arn(Optional[PartnerAppArn], default:None) –The ARN of the SageMaker Partner AI App to update.
-
maintenance_config(Optional[PartnerAppMaintenanceConfig], default:None) –Maintenance configuration settings for the SageMaker Partner AI App.
-
tier(Optional[NonEmptyString64], default:None) –Indicates the instance type and size of the cluster attached to the SageMaker Partner AI App.
-
application_config(Optional[PartnerAppConfig], default:None) –Configuration settings for the SageMaker Partner AI App.
-
idc_config(Optional[IdcConfigInput], default:None) –Specifies the Amazon Web Services IAM Identity Center configuration for the SageMaker Partner AI App. Specify this parameter when
AuthTypeisIDC. Apps that useIAMauthorization don't use this parameter. -
auth_type(Optional[PartnerAppAuthType], default:None) –The authorization type that users use to access the SageMaker Partner AI App. Use this parameter to migrate an existing SageMaker Partner AI App from
IAMauthorization toIDCauthorization. Valid values:-
IAM: Users access the SageMaker Partner AI App with their Amazon Web Services IAM identity. -
IDC: Users access the SageMaker Partner AI App with their Amazon Web Services IAM Identity Center identity. Specify the Identity Center instance to use inIdcConfig.
-
-
enable_iam_session_based_identity(Optional[Boolean], default:None) –When set to
TRUE, the SageMaker Partner AI App sets the Amazon Web Services IAM session name or the authenticated IAM user as the identity of the SageMaker Partner AI App user. -
enable_auto_minor_version_upgrade(Optional[Boolean], default:None) –When set to
TRUE, the SageMaker Partner AI App is automatically upgraded to the latest minor version during the next scheduled maintenance window, if one is available. -
app_version(Optional[MajorMinorVersion], default:None) –The semantic version to upgrade the SageMaker Partner AI App to. Must be the same semantic version returned in the
AvailableUpgradefield fromDescribePartnerApp. Version skipping and downgrades are not supported. -
client_token(Optional[ClientToken], default:None) –A unique token that guarantees that the call to this API is idempotent.
-
tags(Optional[TagList], default:None) –Each tag consists of a key and an optional value. Tag keys must be unique per resource.
Raises:
-
ConflictException–There was a conflict when you attempted to modify a SageMaker entity such as an
ExperimentorArtifact. -
ResourceNotFound–Resource being access is not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/async_sage_maker.py
31683 31684 31685 31686 31687 31688 31689 31690 31691 31692 31693 31694 31695 31696 31697 31698 31699 31700 31701 31702 31703 31704 31705 31706 31707 31708 31709 31710 31711 31712 31713 31714 31715 31716 31717 31718 31719 31720 31721 31722 31723 31724 31725 31726 31727 31728 31729 31730 31731 31732 31733 31734 31735 31736 31737 31738 31739 31740 31741 31742 31743 31744 31745 31746 31747 31748 31749 31750 31751 31752 31753 31754 31755 31756 31757 31758 31759 31760 31761 31762 31763 31764 31765 31766 31767 31768 31769 31770 31771 31772 31773 31774 31775 31776 31777 31778 31779 31780 31781 31782 31783 31784 31785 31786 31787 31788 31789 | |