Skip to content

Updates all of the SageMaker Partner AI Apps in an account

Description

Updates all of the SageMaker Partner AI Apps in an account.

Usage

sagemaker_update_partner_app(Arn, MaintenanceConfig, Tier,
  ApplicationConfig, IdcConfig, AuthType, EnableIamSessionBasedIdentity,
  EnableAutoMinorVersionUpgrade, AppVersion, ClientToken, Tags)

Arguments

  • Arn

    [required] The ARN of the SageMaker Partner AI App to update.

  • MaintenanceConfig

    Maintenance configuration settings for the SageMaker Partner AI App.

  • Tier

    Indicates the instance type and size of the cluster attached to the SageMaker Partner AI App.

  • ApplicationConfig

    Configuration settings for the SageMaker Partner AI App.

  • IdcConfig

    Specifies the Amazon Web Services IAM Identity Center configuration for the SageMaker Partner AI App. Specify this parameter when AuthType is IDC. Apps that use IAM authorization don't use this parameter.

  • AuthType

    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 IAM authorization to IDC authorization. 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 in IdcConfig.
  • EnableIamSessionBasedIdentity

    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.

  • EnableAutoMinorVersionUpgrade

    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.

  • AppVersion

    The semantic version to upgrade the SageMaker Partner AI App to. Must be the same semantic version returned in the AvailableUpgrade field from describe_partner_app. Version skipping and downgrades are not supported.

  • ClientToken

    A unique token that guarantees that the call to this API is idempotent.

  • Tags

    Each tag consists of a key and an optional value. Tag keys must be unique per resource.

Value

A list with the following syntax:

list(
  Arn = "string"
)

Request syntax

svc$update_partner_app(
  Arn = "string",
  MaintenanceConfig = list(
    MaintenanceWindowStart = "string"
  ),
  Tier = "string",
  ApplicationConfig = list(
    AdminUsers = list(
      "string"
    ),
    Arguments = list(
      "string"
    ),
    AssignedGroupPatterns = list(
      "string"
    ),
    RoleGroupAssignments = list(
      list(
        RoleName = "string",
        GroupPatterns = list(
          "string"
        )
      )
    )
  ),
  IdcConfig = list(
    InstanceArn = "string"
  ),
  AuthType = "IAM"|"IDC",
  EnableIamSessionBasedIdentity = TRUE|FALSE,
  EnableAutoMinorVersionUpgrade = TRUE|FALSE,
  AppVersion = "string",
  ClientToken = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)