Skip to content

Update Marketplace Model Endpoint

bedrock_update_marketplace_model_endpoint R Documentation

Updates the configuration of an existing endpoint for a model from Amazon Bedrock Marketplace

Description

Updates the configuration of an existing endpoint for a model from Amazon Bedrock Marketplace.

Usage

bedrock_update_marketplace_model_endpoint(endpointArn, endpointConfig,
  clientRequestToken)

Arguments

endpointArn

[required] The Amazon Resource Name (ARN) of the endpoint you want to update.

endpointConfig

[required] The new configuration for the endpoint, including the number and type of instances to use.

clientRequestToken

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This token is listed as not required because Amazon Web Services SDKs automatically generate it for you and set this parameter. If you're not using the Amazon Web Services SDK or the CLI, you must provide this token or the action will fail.

Value

A list with the following syntax:

list(
  marketplaceModelEndpoint = list(
    endpointArn = "string",
    modelSourceIdentifier = "string",
    status = "REGISTERED"|"INCOMPATIBLE_ENDPOINT",
    statusMessage = "string",
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    updatedAt = as.POSIXct(
      "2015-01-01"
    ),
    endpointConfig = list(
      sageMaker = list(
        initialInstanceCount = 123,
        instanceType = "string",
        executionRole = "string",
        kmsEncryptionKey = "string",
        vpc = list(
          subnetIds = list(
            "string"
          ),
          securityGroupIds = list(
            "string"
          )
        )
      )
    ),
    endpointStatus = "string",
    endpointStatusMessage = "string"
  )
)

Request syntax

svc$update_marketplace_model_endpoint(
  endpointArn = "string",
  endpointConfig = list(
    sageMaker = list(
      initialInstanceCount = 123,
      instanceType = "string",
      executionRole = "string",
      kmsEncryptionKey = "string",
      vpc = list(
        subnetIds = list(
          "string"
        ),
        securityGroupIds = list(
          "string"
        )
      )
    )
  ),
  clientRequestToken = "string"
)