Class: Aws::Bedrock::Types::CreateProvisionedModelThroughputRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Bedrock::Types::CreateProvisionedModelThroughputRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-bedrock/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#client_request_token ⇒ String
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
-
#commitment_duration ⇒ String
The commitment duration requested for the Provisioned Throughput.
-
#model_id ⇒ String
The Amazon Resource Name (ARN) or name of the model to associate with this Provisioned Throughput.
-
#model_units ⇒ Integer
Number of model units to allocate.
-
#provisioned_model_name ⇒ String
The name for this Provisioned Throughput.
-
#tags ⇒ Array<Types::Tag>
Tags to associate with this Provisioned Throughput.
Instance Attribute Details
#client_request_token ⇒ String
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see [Ensuring idempotency] in the Amazon S3 User Guide.
**A suitable default value is auto-generated.** You should normally not need to pass this option.
[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 |
# File 'lib/aws-sdk-bedrock/types.rb', line 1015 class CreateProvisionedModelThroughputRequest < Struct.new( :client_request_token, :model_units, :provisioned_model_name, :model_id, :commitment_duration, :tags) SENSITIVE = [] include Aws::Structure end |
#commitment_duration ⇒ String
The commitment duration requested for the Provisioned Throughput. Billing occurs hourly and is discounted for longer commitment terms. To request a no-commit Provisioned Throughput, omit this field.
Custom models support all levels of commitment. To see which base models support no commitment, see [Supported regions and models for Provisioned Throughput] in the [Amazon Bedrock User Guide]
[1]: docs.aws.amazon.com/bedrock/latest/userguide/pt-supported.html [2]: docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 |
# File 'lib/aws-sdk-bedrock/types.rb', line 1015 class CreateProvisionedModelThroughputRequest < Struct.new( :client_request_token, :model_units, :provisioned_model_name, :model_id, :commitment_duration, :tags) SENSITIVE = [] include Aws::Structure end |
#model_id ⇒ String
The Amazon Resource Name (ARN) or name of the model to associate with this Provisioned Throughput. For a list of models for which you can purchase Provisioned Throughput, see [Amazon Bedrock model IDs for purchasing Provisioned Throughput] in the [Amazon Bedrock User Guide].
[1]: docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#prov-throughput-models [2]: docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 |
# File 'lib/aws-sdk-bedrock/types.rb', line 1015 class CreateProvisionedModelThroughputRequest < Struct.new( :client_request_token, :model_units, :provisioned_model_name, :model_id, :commitment_duration, :tags) SENSITIVE = [] include Aws::Structure end |
#model_units ⇒ Integer
Number of model units to allocate. A model unit delivers a specific throughput level for the specified model. The throughput level of a model unit specifies the total number of input and output tokens that it can process and generate within a span of one minute. By default, your account has no model units for purchasing Provisioned Throughputs with commitment. You must first visit the [Amazon Web Services support center] to request MUs.
For model unit quotas, see [Provisioned Throughput quotas] in the [Amazon Bedrock User Guide].
For more information about what an MU specifies, contact your Amazon Web Services account manager.
[1]: console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase [2]: docs.aws.amazon.com/bedrock/latest/userguide/quotas.html#prov-thru-quotas [3]: docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 |
# File 'lib/aws-sdk-bedrock/types.rb', line 1015 class CreateProvisionedModelThroughputRequest < Struct.new( :client_request_token, :model_units, :provisioned_model_name, :model_id, :commitment_duration, :tags) SENSITIVE = [] include Aws::Structure end |
#provisioned_model_name ⇒ String
The name for this Provisioned Throughput.
1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 |
# File 'lib/aws-sdk-bedrock/types.rb', line 1015 class CreateProvisionedModelThroughputRequest < Struct.new( :client_request_token, :model_units, :provisioned_model_name, :model_id, :commitment_duration, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
Tags to associate with this Provisioned Throughput.
1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 |
# File 'lib/aws-sdk-bedrock/types.rb', line 1015 class CreateProvisionedModelThroughputRequest < Struct.new( :client_request_token, :model_units, :provisioned_model_name, :model_id, :commitment_duration, :tags) SENSITIVE = [] include Aws::Structure end |