update_partner_app
¶
update_partner_app(
*,
config_overrides: Optional[SageMakerClientConfig] = 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/sage_maker.py
31276 31277 31278 31279 31280 31281 31282 31283 31284 31285 31286 31287 31288 31289 31290 31291 31292 31293 31294 31295 31296 31297 31298 31299 31300 31301 31302 31303 31304 31305 31306 31307 31308 31309 31310 31311 31312 31313 31314 31315 31316 31317 31318 31319 31320 31321 31322 31323 31324 31325 31326 31327 31328 31329 31330 31331 31332 31333 31334 31335 31336 31337 31338 31339 31340 31341 31342 31343 31344 31345 31346 31347 31348 31349 31350 31351 31352 31353 31354 31355 31356 31357 31358 31359 31360 31361 31362 31363 31364 31365 31366 31367 31368 31369 31370 31371 31372 31373 31374 31375 31376 31377 31378 31379 31380 31381 | |