Create Marketplace Model Endpoint
bedrock_create_marketplace_model_endpoint | R Documentation |
Creates an endpoint for a model from Amazon Bedrock Marketplace¶
Description¶
Creates an endpoint for a model from Amazon Bedrock Marketplace. The endpoint is hosted by Amazon SageMaker.
Usage¶
bedrock_create_marketplace_model_endpoint(modelSourceIdentifier,
endpointConfig, acceptEula, endpointName, clientRequestToken, tags)
Arguments¶
modelSourceIdentifier
[required] The ARN of the model from Amazon Bedrock Marketplace that you want to deploy to the endpoint.
endpointConfig
[required] The configuration for the endpoint, including the number and type of instances to use.
acceptEula
Indicates whether you accept the end-user license agreement (EULA) for the model. Set to
true
to accept the EULA.endpointName
[required] The name of the endpoint. This name must be unique within your Amazon Web Services account and region.
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.
tags
An array of key-value pairs to apply to the underlying Amazon SageMaker endpoint. You can use these tags to organize and identify your Amazon Web Services resources.
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$create_marketplace_model_endpoint(
modelSourceIdentifier = "string",
endpointConfig = list(
sageMaker = list(
initialInstanceCount = 123,
instanceType = "string",
executionRole = "string",
kmsEncryptionKey = "string",
vpc = list(
subnetIds = list(
"string"
),
securityGroupIds = list(
"string"
)
)
)
),
acceptEula = TRUE|FALSE,
endpointName = "string",
clientRequestToken = "string",
tags = list(
list(
key = "string",
value = "string"
)
)
)