aws-sdk-bedrock 1.0.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +409 -137
- data/lib/aws-sdk-bedrock/client_api.rb +219 -55
- data/lib/aws-sdk-bedrock/endpoints.rb +70 -0
- data/lib/aws-sdk-bedrock/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-bedrock/types.rb +598 -267
- data/lib/aws-sdk-bedrock/waiters.rb +15 -0
- data/lib/aws-sdk-bedrock.rb +2 -1
- metadata +6 -5
@@ -20,9 +20,12 @@ module Aws::Bedrock
|
|
20
20
|
BrandedName = Shapes::StringShape.new(name: 'BrandedName')
|
21
21
|
BucketName = Shapes::StringShape.new(name: 'BucketName')
|
22
22
|
CloudWatchConfig = Shapes::StructureShape.new(name: 'CloudWatchConfig')
|
23
|
+
CommitmentDuration = Shapes::StringShape.new(name: 'CommitmentDuration')
|
23
24
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
24
25
|
CreateModelCustomizationJobRequest = Shapes::StructureShape.new(name: 'CreateModelCustomizationJobRequest')
|
25
26
|
CreateModelCustomizationJobResponse = Shapes::StructureShape.new(name: 'CreateModelCustomizationJobResponse')
|
27
|
+
CreateProvisionedModelThroughputRequest = Shapes::StructureShape.new(name: 'CreateProvisionedModelThroughputRequest')
|
28
|
+
CreateProvisionedModelThroughputResponse = Shapes::StructureShape.new(name: 'CreateProvisionedModelThroughputResponse')
|
26
29
|
CustomModelArn = Shapes::StringShape.new(name: 'CustomModelArn')
|
27
30
|
CustomModelName = Shapes::StringShape.new(name: 'CustomModelName')
|
28
31
|
CustomModelSummary = Shapes::StructureShape.new(name: 'CustomModelSummary')
|
@@ -31,6 +34,8 @@ module Aws::Bedrock
|
|
31
34
|
DeleteCustomModelResponse = Shapes::StructureShape.new(name: 'DeleteCustomModelResponse')
|
32
35
|
DeleteModelInvocationLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteModelInvocationLoggingConfigurationRequest')
|
33
36
|
DeleteModelInvocationLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteModelInvocationLoggingConfigurationResponse')
|
37
|
+
DeleteProvisionedModelThroughputRequest = Shapes::StructureShape.new(name: 'DeleteProvisionedModelThroughputRequest')
|
38
|
+
DeleteProvisionedModelThroughputResponse = Shapes::StructureShape.new(name: 'DeleteProvisionedModelThroughputResponse')
|
34
39
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
35
40
|
FineTuningJobStatus = Shapes::StringShape.new(name: 'FineTuningJobStatus')
|
36
41
|
FoundationModelArn = Shapes::StringShape.new(name: 'FoundationModelArn')
|
@@ -45,6 +50,8 @@ module Aws::Bedrock
|
|
45
50
|
GetModelCustomizationJobResponse = Shapes::StructureShape.new(name: 'GetModelCustomizationJobResponse')
|
46
51
|
GetModelInvocationLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'GetModelInvocationLoggingConfigurationRequest')
|
47
52
|
GetModelInvocationLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'GetModelInvocationLoggingConfigurationResponse')
|
53
|
+
GetProvisionedModelThroughputRequest = Shapes::StructureShape.new(name: 'GetProvisionedModelThroughputRequest')
|
54
|
+
GetProvisionedModelThroughputResponse = Shapes::StructureShape.new(name: 'GetProvisionedModelThroughputResponse')
|
48
55
|
IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
|
49
56
|
InferenceType = Shapes::StringShape.new(name: 'InferenceType')
|
50
57
|
InferenceTypeList = Shapes::ListShape.new(name: 'InferenceTypeList')
|
@@ -59,6 +66,8 @@ module Aws::Bedrock
|
|
59
66
|
ListFoundationModelsResponse = Shapes::StructureShape.new(name: 'ListFoundationModelsResponse')
|
60
67
|
ListModelCustomizationJobsRequest = Shapes::StructureShape.new(name: 'ListModelCustomizationJobsRequest')
|
61
68
|
ListModelCustomizationJobsResponse = Shapes::StructureShape.new(name: 'ListModelCustomizationJobsResponse')
|
69
|
+
ListProvisionedModelThroughputsRequest = Shapes::StructureShape.new(name: 'ListProvisionedModelThroughputsRequest')
|
70
|
+
ListProvisionedModelThroughputsResponse = Shapes::StructureShape.new(name: 'ListProvisionedModelThroughputsResponse')
|
62
71
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
63
72
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
64
73
|
LogGroupName = Shapes::StringShape.new(name: 'LogGroupName')
|
@@ -81,7 +90,14 @@ module Aws::Bedrock
|
|
81
90
|
NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
|
82
91
|
OutputDataConfig = Shapes::StructureShape.new(name: 'OutputDataConfig')
|
83
92
|
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
93
|
+
PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
|
84
94
|
Provider = Shapes::StringShape.new(name: 'Provider')
|
95
|
+
ProvisionedModelArn = Shapes::StringShape.new(name: 'ProvisionedModelArn')
|
96
|
+
ProvisionedModelId = Shapes::StringShape.new(name: 'ProvisionedModelId')
|
97
|
+
ProvisionedModelName = Shapes::StringShape.new(name: 'ProvisionedModelName')
|
98
|
+
ProvisionedModelStatus = Shapes::StringShape.new(name: 'ProvisionedModelStatus')
|
99
|
+
ProvisionedModelSummaries = Shapes::ListShape.new(name: 'ProvisionedModelSummaries')
|
100
|
+
ProvisionedModelSummary = Shapes::StructureShape.new(name: 'ProvisionedModelSummary')
|
85
101
|
PutModelInvocationLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'PutModelInvocationLoggingConfigurationRequest')
|
86
102
|
PutModelInvocationLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'PutModelInvocationLoggingConfigurationResponse')
|
87
103
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
@@ -91,6 +107,7 @@ module Aws::Bedrock
|
|
91
107
|
SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
|
92
108
|
SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
|
93
109
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
110
|
+
SortByProvisionedModels = Shapes::StringShape.new(name: 'SortByProvisionedModels')
|
94
111
|
SortJobsBy = Shapes::StringShape.new(name: 'SortJobsBy')
|
95
112
|
SortModelsBy = Shapes::StringShape.new(name: 'SortModelsBy')
|
96
113
|
SortOrder = Shapes::StringShape.new(name: 'SortOrder')
|
@@ -114,6 +131,8 @@ module Aws::Bedrock
|
|
114
131
|
TrainingMetrics = Shapes::StructureShape.new(name: 'TrainingMetrics')
|
115
132
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
116
133
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
134
|
+
UpdateProvisionedModelThroughputRequest = Shapes::StructureShape.new(name: 'UpdateProvisionedModelThroughputRequest')
|
135
|
+
UpdateProvisionedModelThroughputResponse = Shapes::StructureShape.new(name: 'UpdateProvisionedModelThroughputResponse')
|
117
136
|
ValidationDataConfig = Shapes::StructureShape.new(name: 'ValidationDataConfig')
|
118
137
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
119
138
|
ValidationMetrics = Shapes::ListShape.new(name: 'ValidationMetrics')
|
@@ -125,37 +144,48 @@ module Aws::Bedrock
|
|
125
144
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
126
145
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
127
146
|
|
128
|
-
CloudWatchConfig.add_member(:large_data_delivery_s3_config, Shapes::ShapeRef.new(shape: S3Config, location_name: "largeDataDeliveryS3Config"))
|
129
147
|
CloudWatchConfig.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
|
130
148
|
CloudWatchConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
149
|
+
CloudWatchConfig.add_member(:large_data_delivery_s3_config, Shapes::ShapeRef.new(shape: S3Config, location_name: "largeDataDeliveryS3Config"))
|
131
150
|
CloudWatchConfig.struct_class = Types::CloudWatchConfig
|
132
151
|
|
133
152
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
134
153
|
ConflictException.struct_class = Types::ConflictException
|
135
154
|
|
136
|
-
CreateModelCustomizationJobRequest.add_member(:
|
155
|
+
CreateModelCustomizationJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, required: true, location_name: "jobName"))
|
156
|
+
CreateModelCustomizationJobRequest.add_member(:custom_model_name, Shapes::ShapeRef.new(shape: CustomModelName, required: true, location_name: "customModelName"))
|
157
|
+
CreateModelCustomizationJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
137
158
|
CreateModelCustomizationJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
159
|
+
CreateModelCustomizationJobRequest.add_member(:base_model_identifier, Shapes::ShapeRef.new(shape: BaseModelIdentifier, required: true, location_name: "baseModelIdentifier"))
|
138
160
|
CreateModelCustomizationJobRequest.add_member(:custom_model_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "customModelKmsKeyId"))
|
139
|
-
CreateModelCustomizationJobRequest.add_member(:custom_model_name, Shapes::ShapeRef.new(shape: CustomModelName, required: true, location_name: "customModelName"))
|
140
|
-
CreateModelCustomizationJobRequest.add_member(:custom_model_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "customModelTags"))
|
141
|
-
CreateModelCustomizationJobRequest.add_member(:hyper_parameters, Shapes::ShapeRef.new(shape: ModelCustomizationHyperParameters, required: true, location_name: "hyperParameters"))
|
142
|
-
CreateModelCustomizationJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, required: true, location_name: "jobName"))
|
143
161
|
CreateModelCustomizationJobRequest.add_member(:job_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "jobTags"))
|
144
|
-
CreateModelCustomizationJobRequest.add_member(:
|
145
|
-
CreateModelCustomizationJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
162
|
+
CreateModelCustomizationJobRequest.add_member(:custom_model_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "customModelTags"))
|
146
163
|
CreateModelCustomizationJobRequest.add_member(:training_data_config, Shapes::ShapeRef.new(shape: TrainingDataConfig, required: true, location_name: "trainingDataConfig"))
|
147
164
|
CreateModelCustomizationJobRequest.add_member(:validation_data_config, Shapes::ShapeRef.new(shape: ValidationDataConfig, location_name: "validationDataConfig"))
|
165
|
+
CreateModelCustomizationJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "outputDataConfig"))
|
166
|
+
CreateModelCustomizationJobRequest.add_member(:hyper_parameters, Shapes::ShapeRef.new(shape: ModelCustomizationHyperParameters, required: true, location_name: "hyperParameters"))
|
148
167
|
CreateModelCustomizationJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
149
168
|
CreateModelCustomizationJobRequest.struct_class = Types::CreateModelCustomizationJobRequest
|
150
169
|
|
151
170
|
CreateModelCustomizationJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCustomizationJobArn, required: true, location_name: "jobArn"))
|
152
171
|
CreateModelCustomizationJobResponse.struct_class = Types::CreateModelCustomizationJobResponse
|
153
172
|
|
154
|
-
|
155
|
-
|
156
|
-
|
173
|
+
CreateProvisionedModelThroughputRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
174
|
+
CreateProvisionedModelThroughputRequest.add_member(:model_units, Shapes::ShapeRef.new(shape: PositiveInteger, required: true, location_name: "modelUnits"))
|
175
|
+
CreateProvisionedModelThroughputRequest.add_member(:provisioned_model_name, Shapes::ShapeRef.new(shape: ProvisionedModelName, required: true, location_name: "provisionedModelName"))
|
176
|
+
CreateProvisionedModelThroughputRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: ModelIdentifier, required: true, location_name: "modelId"))
|
177
|
+
CreateProvisionedModelThroughputRequest.add_member(:commitment_duration, Shapes::ShapeRef.new(shape: CommitmentDuration, location_name: "commitmentDuration"))
|
178
|
+
CreateProvisionedModelThroughputRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
179
|
+
CreateProvisionedModelThroughputRequest.struct_class = Types::CreateProvisionedModelThroughputRequest
|
180
|
+
|
181
|
+
CreateProvisionedModelThroughputResponse.add_member(:provisioned_model_arn, Shapes::ShapeRef.new(shape: ProvisionedModelArn, required: true, location_name: "provisionedModelArn"))
|
182
|
+
CreateProvisionedModelThroughputResponse.struct_class = Types::CreateProvisionedModelThroughputResponse
|
183
|
+
|
157
184
|
CustomModelSummary.add_member(:model_arn, Shapes::ShapeRef.new(shape: CustomModelArn, required: true, location_name: "modelArn"))
|
158
185
|
CustomModelSummary.add_member(:model_name, Shapes::ShapeRef.new(shape: CustomModelName, required: true, location_name: "modelName"))
|
186
|
+
CustomModelSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
187
|
+
CustomModelSummary.add_member(:base_model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "baseModelArn"))
|
188
|
+
CustomModelSummary.add_member(:base_model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "baseModelName"))
|
159
189
|
CustomModelSummary.struct_class = Types::CustomModelSummary
|
160
190
|
|
161
191
|
CustomModelSummaryList.member = Shapes::ShapeRef.new(shape: CustomModelSummary)
|
@@ -169,26 +199,31 @@ module Aws::Bedrock
|
|
169
199
|
|
170
200
|
DeleteModelInvocationLoggingConfigurationResponse.struct_class = Types::DeleteModelInvocationLoggingConfigurationResponse
|
171
201
|
|
172
|
-
|
173
|
-
|
174
|
-
|
202
|
+
DeleteProvisionedModelThroughputRequest.add_member(:provisioned_model_id, Shapes::ShapeRef.new(shape: ProvisionedModelId, required: true, location: "uri", location_name: "provisionedModelId"))
|
203
|
+
DeleteProvisionedModelThroughputRequest.struct_class = Types::DeleteProvisionedModelThroughputRequest
|
204
|
+
|
205
|
+
DeleteProvisionedModelThroughputResponse.struct_class = Types::DeleteProvisionedModelThroughputResponse
|
206
|
+
|
175
207
|
FoundationModelDetails.add_member(:model_arn, Shapes::ShapeRef.new(shape: FoundationModelArn, required: true, location_name: "modelArn"))
|
176
208
|
FoundationModelDetails.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location_name: "modelId"))
|
177
209
|
FoundationModelDetails.add_member(:model_name, Shapes::ShapeRef.new(shape: BrandedName, location_name: "modelName"))
|
178
|
-
FoundationModelDetails.add_member(:output_modalities, Shapes::ShapeRef.new(shape: ModelModalityList, location_name: "outputModalities"))
|
179
210
|
FoundationModelDetails.add_member(:provider_name, Shapes::ShapeRef.new(shape: BrandedName, location_name: "providerName"))
|
211
|
+
FoundationModelDetails.add_member(:input_modalities, Shapes::ShapeRef.new(shape: ModelModalityList, location_name: "inputModalities"))
|
212
|
+
FoundationModelDetails.add_member(:output_modalities, Shapes::ShapeRef.new(shape: ModelModalityList, location_name: "outputModalities"))
|
180
213
|
FoundationModelDetails.add_member(:response_streaming_supported, Shapes::ShapeRef.new(shape: Boolean, location_name: "responseStreamingSupported"))
|
214
|
+
FoundationModelDetails.add_member(:customizations_supported, Shapes::ShapeRef.new(shape: ModelCustomizationList, location_name: "customizationsSupported"))
|
215
|
+
FoundationModelDetails.add_member(:inference_types_supported, Shapes::ShapeRef.new(shape: InferenceTypeList, location_name: "inferenceTypesSupported"))
|
181
216
|
FoundationModelDetails.struct_class = Types::FoundationModelDetails
|
182
217
|
|
183
|
-
FoundationModelSummary.add_member(:customizations_supported, Shapes::ShapeRef.new(shape: ModelCustomizationList, location_name: "customizationsSupported"))
|
184
|
-
FoundationModelSummary.add_member(:inference_types_supported, Shapes::ShapeRef.new(shape: InferenceTypeList, location_name: "inferenceTypesSupported"))
|
185
|
-
FoundationModelSummary.add_member(:input_modalities, Shapes::ShapeRef.new(shape: ModelModalityList, location_name: "inputModalities"))
|
186
218
|
FoundationModelSummary.add_member(:model_arn, Shapes::ShapeRef.new(shape: FoundationModelArn, required: true, location_name: "modelArn"))
|
187
219
|
FoundationModelSummary.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location_name: "modelId"))
|
188
220
|
FoundationModelSummary.add_member(:model_name, Shapes::ShapeRef.new(shape: BrandedName, location_name: "modelName"))
|
189
|
-
FoundationModelSummary.add_member(:output_modalities, Shapes::ShapeRef.new(shape: ModelModalityList, location_name: "outputModalities"))
|
190
221
|
FoundationModelSummary.add_member(:provider_name, Shapes::ShapeRef.new(shape: BrandedName, location_name: "providerName"))
|
222
|
+
FoundationModelSummary.add_member(:input_modalities, Shapes::ShapeRef.new(shape: ModelModalityList, location_name: "inputModalities"))
|
223
|
+
FoundationModelSummary.add_member(:output_modalities, Shapes::ShapeRef.new(shape: ModelModalityList, location_name: "outputModalities"))
|
191
224
|
FoundationModelSummary.add_member(:response_streaming_supported, Shapes::ShapeRef.new(shape: Boolean, location_name: "responseStreamingSupported"))
|
225
|
+
FoundationModelSummary.add_member(:customizations_supported, Shapes::ShapeRef.new(shape: ModelCustomizationList, location_name: "customizationsSupported"))
|
226
|
+
FoundationModelSummary.add_member(:inference_types_supported, Shapes::ShapeRef.new(shape: InferenceTypeList, location_name: "inferenceTypesSupported"))
|
192
227
|
FoundationModelSummary.struct_class = Types::FoundationModelSummary
|
193
228
|
|
194
229
|
FoundationModelSummaryList.member = Shapes::ShapeRef.new(shape: FoundationModelSummary)
|
@@ -196,19 +231,19 @@ module Aws::Bedrock
|
|
196
231
|
GetCustomModelRequest.add_member(:model_identifier, Shapes::ShapeRef.new(shape: ModelIdentifier, required: true, location: "uri", location_name: "modelIdentifier"))
|
197
232
|
GetCustomModelRequest.struct_class = Types::GetCustomModelRequest
|
198
233
|
|
199
|
-
GetCustomModelResponse.add_member(:base_model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "baseModelArn"))
|
200
|
-
GetCustomModelResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
201
|
-
GetCustomModelResponse.add_member(:hyper_parameters, Shapes::ShapeRef.new(shape: ModelCustomizationHyperParameters, location_name: "hyperParameters"))
|
202
|
-
GetCustomModelResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCustomizationJobArn, required: true, location_name: "jobArn"))
|
203
|
-
GetCustomModelResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "jobName"))
|
204
234
|
GetCustomModelResponse.add_member(:model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "modelArn"))
|
205
|
-
GetCustomModelResponse.add_member(:model_kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "modelKmsKeyArn"))
|
206
235
|
GetCustomModelResponse.add_member(:model_name, Shapes::ShapeRef.new(shape: CustomModelName, required: true, location_name: "modelName"))
|
207
|
-
GetCustomModelResponse.add_member(:
|
236
|
+
GetCustomModelResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "jobName"))
|
237
|
+
GetCustomModelResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCustomizationJobArn, required: true, location_name: "jobArn"))
|
238
|
+
GetCustomModelResponse.add_member(:base_model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "baseModelArn"))
|
239
|
+
GetCustomModelResponse.add_member(:model_kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "modelKmsKeyArn"))
|
240
|
+
GetCustomModelResponse.add_member(:hyper_parameters, Shapes::ShapeRef.new(shape: ModelCustomizationHyperParameters, location_name: "hyperParameters"))
|
208
241
|
GetCustomModelResponse.add_member(:training_data_config, Shapes::ShapeRef.new(shape: TrainingDataConfig, required: true, location_name: "trainingDataConfig"))
|
209
|
-
GetCustomModelResponse.add_member(:training_metrics, Shapes::ShapeRef.new(shape: TrainingMetrics, location_name: "trainingMetrics"))
|
210
242
|
GetCustomModelResponse.add_member(:validation_data_config, Shapes::ShapeRef.new(shape: ValidationDataConfig, location_name: "validationDataConfig"))
|
243
|
+
GetCustomModelResponse.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "outputDataConfig"))
|
244
|
+
GetCustomModelResponse.add_member(:training_metrics, Shapes::ShapeRef.new(shape: TrainingMetrics, location_name: "trainingMetrics"))
|
211
245
|
GetCustomModelResponse.add_member(:validation_metrics, Shapes::ShapeRef.new(shape: ValidationMetrics, location_name: "validationMetrics"))
|
246
|
+
GetCustomModelResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
212
247
|
GetCustomModelResponse.struct_class = Types::GetCustomModelResponse
|
213
248
|
|
214
249
|
GetFoundationModelRequest.add_member(:model_identifier, Shapes::ShapeRef.new(shape: ModelIdentifier, required: true, location: "uri", location_name: "modelIdentifier"))
|
@@ -220,24 +255,24 @@ module Aws::Bedrock
|
|
220
255
|
GetModelCustomizationJobRequest.add_member(:job_identifier, Shapes::ShapeRef.new(shape: ModelCustomizationJobIdentifier, required: true, location: "uri", location_name: "jobIdentifier"))
|
221
256
|
GetModelCustomizationJobRequest.struct_class = Types::GetModelCustomizationJobRequest
|
222
257
|
|
223
|
-
GetModelCustomizationJobResponse.add_member(:base_model_arn, Shapes::ShapeRef.new(shape: FoundationModelArn, required: true, location_name: "baseModelArn"))
|
224
|
-
GetModelCustomizationJobResponse.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken"))
|
225
|
-
GetModelCustomizationJobResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
226
|
-
GetModelCustomizationJobResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
|
227
|
-
GetModelCustomizationJobResponse.add_member(:failure_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "failureMessage"))
|
228
|
-
GetModelCustomizationJobResponse.add_member(:hyper_parameters, Shapes::ShapeRef.new(shape: ModelCustomizationHyperParameters, required: true, location_name: "hyperParameters"))
|
229
258
|
GetModelCustomizationJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCustomizationJobArn, required: true, location_name: "jobArn"))
|
230
259
|
GetModelCustomizationJobResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, required: true, location_name: "jobName"))
|
231
|
-
GetModelCustomizationJobResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
|
232
|
-
GetModelCustomizationJobResponse.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "outputDataConfig"))
|
233
|
-
GetModelCustomizationJobResponse.add_member(:output_model_arn, Shapes::ShapeRef.new(shape: CustomModelArn, location_name: "outputModelArn"))
|
234
|
-
GetModelCustomizationJobResponse.add_member(:output_model_kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "outputModelKmsKeyArn"))
|
235
260
|
GetModelCustomizationJobResponse.add_member(:output_model_name, Shapes::ShapeRef.new(shape: CustomModelName, required: true, location_name: "outputModelName"))
|
261
|
+
GetModelCustomizationJobResponse.add_member(:output_model_arn, Shapes::ShapeRef.new(shape: CustomModelArn, location_name: "outputModelArn"))
|
262
|
+
GetModelCustomizationJobResponse.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken"))
|
236
263
|
GetModelCustomizationJobResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
237
264
|
GetModelCustomizationJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: ModelCustomizationJobStatus, location_name: "status"))
|
265
|
+
GetModelCustomizationJobResponse.add_member(:failure_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "failureMessage"))
|
266
|
+
GetModelCustomizationJobResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
267
|
+
GetModelCustomizationJobResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
|
268
|
+
GetModelCustomizationJobResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
|
269
|
+
GetModelCustomizationJobResponse.add_member(:base_model_arn, Shapes::ShapeRef.new(shape: FoundationModelArn, required: true, location_name: "baseModelArn"))
|
270
|
+
GetModelCustomizationJobResponse.add_member(:hyper_parameters, Shapes::ShapeRef.new(shape: ModelCustomizationHyperParameters, required: true, location_name: "hyperParameters"))
|
238
271
|
GetModelCustomizationJobResponse.add_member(:training_data_config, Shapes::ShapeRef.new(shape: TrainingDataConfig, required: true, location_name: "trainingDataConfig"))
|
239
|
-
GetModelCustomizationJobResponse.add_member(:training_metrics, Shapes::ShapeRef.new(shape: TrainingMetrics, location_name: "trainingMetrics"))
|
240
272
|
GetModelCustomizationJobResponse.add_member(:validation_data_config, Shapes::ShapeRef.new(shape: ValidationDataConfig, required: true, location_name: "validationDataConfig"))
|
273
|
+
GetModelCustomizationJobResponse.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "outputDataConfig"))
|
274
|
+
GetModelCustomizationJobResponse.add_member(:output_model_kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "outputModelKmsKeyArn"))
|
275
|
+
GetModelCustomizationJobResponse.add_member(:training_metrics, Shapes::ShapeRef.new(shape: TrainingMetrics, location_name: "trainingMetrics"))
|
241
276
|
GetModelCustomizationJobResponse.add_member(:validation_metrics, Shapes::ShapeRef.new(shape: ValidationMetrics, location_name: "validationMetrics"))
|
242
277
|
GetModelCustomizationJobResponse.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
243
278
|
GetModelCustomizationJobResponse.struct_class = Types::GetModelCustomizationJobResponse
|
@@ -247,30 +282,48 @@ module Aws::Bedrock
|
|
247
282
|
GetModelInvocationLoggingConfigurationResponse.add_member(:logging_config, Shapes::ShapeRef.new(shape: LoggingConfig, location_name: "loggingConfig"))
|
248
283
|
GetModelInvocationLoggingConfigurationResponse.struct_class = Types::GetModelInvocationLoggingConfigurationResponse
|
249
284
|
|
285
|
+
GetProvisionedModelThroughputRequest.add_member(:provisioned_model_id, Shapes::ShapeRef.new(shape: ProvisionedModelId, required: true, location: "uri", location_name: "provisionedModelId"))
|
286
|
+
GetProvisionedModelThroughputRequest.struct_class = Types::GetProvisionedModelThroughputRequest
|
287
|
+
|
288
|
+
GetProvisionedModelThroughputResponse.add_member(:model_units, Shapes::ShapeRef.new(shape: PositiveInteger, required: true, location_name: "modelUnits"))
|
289
|
+
GetProvisionedModelThroughputResponse.add_member(:desired_model_units, Shapes::ShapeRef.new(shape: PositiveInteger, required: true, location_name: "desiredModelUnits"))
|
290
|
+
GetProvisionedModelThroughputResponse.add_member(:provisioned_model_name, Shapes::ShapeRef.new(shape: ProvisionedModelName, required: true, location_name: "provisionedModelName"))
|
291
|
+
GetProvisionedModelThroughputResponse.add_member(:provisioned_model_arn, Shapes::ShapeRef.new(shape: ProvisionedModelArn, required: true, location_name: "provisionedModelArn"))
|
292
|
+
GetProvisionedModelThroughputResponse.add_member(:model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "modelArn"))
|
293
|
+
GetProvisionedModelThroughputResponse.add_member(:desired_model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "desiredModelArn"))
|
294
|
+
GetProvisionedModelThroughputResponse.add_member(:foundation_model_arn, Shapes::ShapeRef.new(shape: FoundationModelArn, required: true, location_name: "foundationModelArn"))
|
295
|
+
GetProvisionedModelThroughputResponse.add_member(:status, Shapes::ShapeRef.new(shape: ProvisionedModelStatus, required: true, location_name: "status"))
|
296
|
+
GetProvisionedModelThroughputResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
297
|
+
GetProvisionedModelThroughputResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastModifiedTime"))
|
298
|
+
GetProvisionedModelThroughputResponse.add_member(:failure_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "failureMessage"))
|
299
|
+
GetProvisionedModelThroughputResponse.add_member(:commitment_duration, Shapes::ShapeRef.new(shape: CommitmentDuration, location_name: "commitmentDuration"))
|
300
|
+
GetProvisionedModelThroughputResponse.add_member(:commitment_expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "commitmentExpirationTime"))
|
301
|
+
GetProvisionedModelThroughputResponse.struct_class = Types::GetProvisionedModelThroughputResponse
|
302
|
+
|
250
303
|
InferenceTypeList.member = Shapes::ShapeRef.new(shape: InferenceType)
|
251
304
|
|
252
305
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
253
306
|
InternalServerException.struct_class = Types::InternalServerException
|
254
307
|
|
255
|
-
ListCustomModelsRequest.add_member(:base_model_arn_equals, Shapes::ShapeRef.new(shape: ModelArn, location: "querystring", location_name: "baseModelArnEquals"))
|
256
|
-
ListCustomModelsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
|
257
308
|
ListCustomModelsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
|
309
|
+
ListCustomModelsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
|
310
|
+
ListCustomModelsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: CustomModelName, location: "querystring", location_name: "nameContains"))
|
311
|
+
ListCustomModelsRequest.add_member(:base_model_arn_equals, Shapes::ShapeRef.new(shape: ModelArn, location: "querystring", location_name: "baseModelArnEquals"))
|
258
312
|
ListCustomModelsRequest.add_member(:foundation_model_arn_equals, Shapes::ShapeRef.new(shape: FoundationModelArn, location: "querystring", location_name: "foundationModelArnEquals"))
|
259
313
|
ListCustomModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
260
|
-
ListCustomModelsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: CustomModelName, location: "querystring", location_name: "nameContains"))
|
261
314
|
ListCustomModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
262
315
|
ListCustomModelsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortModelsBy, location: "querystring", location_name: "sortBy"))
|
263
316
|
ListCustomModelsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location: "querystring", location_name: "sortOrder"))
|
264
317
|
ListCustomModelsRequest.struct_class = Types::ListCustomModelsRequest
|
265
318
|
|
266
|
-
ListCustomModelsResponse.add_member(:model_summaries, Shapes::ShapeRef.new(shape: CustomModelSummaryList, location_name: "modelSummaries"))
|
267
319
|
ListCustomModelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
320
|
+
ListCustomModelsResponse.add_member(:model_summaries, Shapes::ShapeRef.new(shape: CustomModelSummaryList, location_name: "modelSummaries"))
|
268
321
|
ListCustomModelsResponse.struct_class = Types::ListCustomModelsResponse
|
269
322
|
|
323
|
+
ListFoundationModelsRequest.add_member(:by_provider, Shapes::ShapeRef.new(shape: Provider, location: "querystring", location_name: "byProvider"))
|
270
324
|
ListFoundationModelsRequest.add_member(:by_customization_type, Shapes::ShapeRef.new(shape: ModelCustomization, location: "querystring", location_name: "byCustomizationType"))
|
271
|
-
ListFoundationModelsRequest.add_member(:by_inference_type, Shapes::ShapeRef.new(shape: InferenceType, location: "querystring", location_name: "byInferenceType"))
|
272
325
|
ListFoundationModelsRequest.add_member(:by_output_modality, Shapes::ShapeRef.new(shape: ModelModality, location: "querystring", location_name: "byOutputModality"))
|
273
|
-
ListFoundationModelsRequest.add_member(:
|
326
|
+
ListFoundationModelsRequest.add_member(:by_inference_type, Shapes::ShapeRef.new(shape: InferenceType, location: "querystring", location_name: "byInferenceType"))
|
274
327
|
ListFoundationModelsRequest.struct_class = Types::ListFoundationModelsRequest
|
275
328
|
|
276
329
|
ListFoundationModelsResponse.add_member(:model_summaries, Shapes::ShapeRef.new(shape: FoundationModelSummaryList, location_name: "modelSummaries"))
|
@@ -278,18 +331,33 @@ module Aws::Bedrock
|
|
278
331
|
|
279
332
|
ListModelCustomizationJobsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
|
280
333
|
ListModelCustomizationJobsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
|
281
|
-
ListModelCustomizationJobsRequest.add_member(:
|
334
|
+
ListModelCustomizationJobsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: FineTuningJobStatus, location: "querystring", location_name: "statusEquals"))
|
282
335
|
ListModelCustomizationJobsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: JobName, location: "querystring", location_name: "nameContains"))
|
336
|
+
ListModelCustomizationJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
283
337
|
ListModelCustomizationJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
284
338
|
ListModelCustomizationJobsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortJobsBy, location: "querystring", location_name: "sortBy"))
|
285
339
|
ListModelCustomizationJobsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location: "querystring", location_name: "sortOrder"))
|
286
|
-
ListModelCustomizationJobsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: FineTuningJobStatus, location: "querystring", location_name: "statusEquals"))
|
287
340
|
ListModelCustomizationJobsRequest.struct_class = Types::ListModelCustomizationJobsRequest
|
288
341
|
|
289
|
-
ListModelCustomizationJobsResponse.add_member(:model_customization_job_summaries, Shapes::ShapeRef.new(shape: ModelCustomizationJobSummaries, location_name: "modelCustomizationJobSummaries"))
|
290
342
|
ListModelCustomizationJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
343
|
+
ListModelCustomizationJobsResponse.add_member(:model_customization_job_summaries, Shapes::ShapeRef.new(shape: ModelCustomizationJobSummaries, location_name: "modelCustomizationJobSummaries"))
|
291
344
|
ListModelCustomizationJobsResponse.struct_class = Types::ListModelCustomizationJobsResponse
|
292
345
|
|
346
|
+
ListProvisionedModelThroughputsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
|
347
|
+
ListProvisionedModelThroughputsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
|
348
|
+
ListProvisionedModelThroughputsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: ProvisionedModelStatus, location: "querystring", location_name: "statusEquals"))
|
349
|
+
ListProvisionedModelThroughputsRequest.add_member(:model_arn_equals, Shapes::ShapeRef.new(shape: ModelArn, location: "querystring", location_name: "modelArnEquals"))
|
350
|
+
ListProvisionedModelThroughputsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: ProvisionedModelName, location: "querystring", location_name: "nameContains"))
|
351
|
+
ListProvisionedModelThroughputsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
352
|
+
ListProvisionedModelThroughputsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
353
|
+
ListProvisionedModelThroughputsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortByProvisionedModels, location: "querystring", location_name: "sortBy"))
|
354
|
+
ListProvisionedModelThroughputsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location: "querystring", location_name: "sortOrder"))
|
355
|
+
ListProvisionedModelThroughputsRequest.struct_class = Types::ListProvisionedModelThroughputsRequest
|
356
|
+
|
357
|
+
ListProvisionedModelThroughputsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
358
|
+
ListProvisionedModelThroughputsResponse.add_member(:provisioned_model_summaries, Shapes::ShapeRef.new(shape: ProvisionedModelSummaries, location_name: "provisionedModelSummaries"))
|
359
|
+
ListProvisionedModelThroughputsResponse.struct_class = Types::ListProvisionedModelThroughputsResponse
|
360
|
+
|
293
361
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourcesArn, required: true, location_name: "resourceARN"))
|
294
362
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
295
363
|
|
@@ -297,10 +365,10 @@ module Aws::Bedrock
|
|
297
365
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
298
366
|
|
299
367
|
LoggingConfig.add_member(:cloud_watch_config, Shapes::ShapeRef.new(shape: CloudWatchConfig, location_name: "cloudWatchConfig"))
|
300
|
-
LoggingConfig.add_member(:embedding_data_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "embeddingDataDeliveryEnabled"))
|
301
|
-
LoggingConfig.add_member(:image_data_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "imageDataDeliveryEnabled"))
|
302
368
|
LoggingConfig.add_member(:s3_config, Shapes::ShapeRef.new(shape: S3Config, location_name: "s3Config"))
|
303
369
|
LoggingConfig.add_member(:text_data_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "textDataDeliveryEnabled"))
|
370
|
+
LoggingConfig.add_member(:image_data_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "imageDataDeliveryEnabled"))
|
371
|
+
LoggingConfig.add_member(:embedding_data_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "embeddingDataDeliveryEnabled"))
|
304
372
|
LoggingConfig.struct_class = Types::LoggingConfig
|
305
373
|
|
306
374
|
ModelCustomizationHyperParameters.key = Shapes::ShapeRef.new(shape: String)
|
@@ -308,15 +376,15 @@ module Aws::Bedrock
|
|
308
376
|
|
309
377
|
ModelCustomizationJobSummaries.member = Shapes::ShapeRef.new(shape: ModelCustomizationJobSummary)
|
310
378
|
|
379
|
+
ModelCustomizationJobSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCustomizationJobArn, required: true, location_name: "jobArn"))
|
311
380
|
ModelCustomizationJobSummary.add_member(:base_model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "baseModelArn"))
|
381
|
+
ModelCustomizationJobSummary.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, required: true, location_name: "jobName"))
|
382
|
+
ModelCustomizationJobSummary.add_member(:status, Shapes::ShapeRef.new(shape: ModelCustomizationJobStatus, required: true, location_name: "status"))
|
383
|
+
ModelCustomizationJobSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
|
312
384
|
ModelCustomizationJobSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
385
|
+
ModelCustomizationJobSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
|
313
386
|
ModelCustomizationJobSummary.add_member(:custom_model_arn, Shapes::ShapeRef.new(shape: CustomModelArn, location_name: "customModelArn"))
|
314
387
|
ModelCustomizationJobSummary.add_member(:custom_model_name, Shapes::ShapeRef.new(shape: CustomModelName, location_name: "customModelName"))
|
315
|
-
ModelCustomizationJobSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
|
316
|
-
ModelCustomizationJobSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCustomizationJobArn, required: true, location_name: "jobArn"))
|
317
|
-
ModelCustomizationJobSummary.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, required: true, location_name: "jobName"))
|
318
|
-
ModelCustomizationJobSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
|
319
|
-
ModelCustomizationJobSummary.add_member(:status, Shapes::ShapeRef.new(shape: ModelCustomizationJobStatus, required: true, location_name: "status"))
|
320
388
|
ModelCustomizationJobSummary.struct_class = Types::ModelCustomizationJobSummary
|
321
389
|
|
322
390
|
ModelCustomizationList.member = Shapes::ShapeRef.new(shape: ModelCustomization)
|
@@ -326,6 +394,22 @@ module Aws::Bedrock
|
|
326
394
|
OutputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "s3Uri"))
|
327
395
|
OutputDataConfig.struct_class = Types::OutputDataConfig
|
328
396
|
|
397
|
+
ProvisionedModelSummaries.member = Shapes::ShapeRef.new(shape: ProvisionedModelSummary)
|
398
|
+
|
399
|
+
ProvisionedModelSummary.add_member(:provisioned_model_name, Shapes::ShapeRef.new(shape: ProvisionedModelName, required: true, location_name: "provisionedModelName"))
|
400
|
+
ProvisionedModelSummary.add_member(:provisioned_model_arn, Shapes::ShapeRef.new(shape: ProvisionedModelArn, required: true, location_name: "provisionedModelArn"))
|
401
|
+
ProvisionedModelSummary.add_member(:model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "modelArn"))
|
402
|
+
ProvisionedModelSummary.add_member(:desired_model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "desiredModelArn"))
|
403
|
+
ProvisionedModelSummary.add_member(:foundation_model_arn, Shapes::ShapeRef.new(shape: FoundationModelArn, required: true, location_name: "foundationModelArn"))
|
404
|
+
ProvisionedModelSummary.add_member(:model_units, Shapes::ShapeRef.new(shape: PositiveInteger, required: true, location_name: "modelUnits"))
|
405
|
+
ProvisionedModelSummary.add_member(:desired_model_units, Shapes::ShapeRef.new(shape: PositiveInteger, required: true, location_name: "desiredModelUnits"))
|
406
|
+
ProvisionedModelSummary.add_member(:status, Shapes::ShapeRef.new(shape: ProvisionedModelStatus, required: true, location_name: "status"))
|
407
|
+
ProvisionedModelSummary.add_member(:commitment_duration, Shapes::ShapeRef.new(shape: CommitmentDuration, location_name: "commitmentDuration"))
|
408
|
+
ProvisionedModelSummary.add_member(:commitment_expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "commitmentExpirationTime"))
|
409
|
+
ProvisionedModelSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
410
|
+
ProvisionedModelSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastModifiedTime"))
|
411
|
+
ProvisionedModelSummary.struct_class = Types::ProvisionedModelSummary
|
412
|
+
|
329
413
|
PutModelInvocationLoggingConfigurationRequest.add_member(:logging_config, Shapes::ShapeRef.new(shape: LoggingConfig, required: true, location_name: "loggingConfig"))
|
330
414
|
PutModelInvocationLoggingConfigurationRequest.struct_class = Types::PutModelInvocationLoggingConfigurationRequest
|
331
415
|
|
@@ -383,6 +467,13 @@ module Aws::Bedrock
|
|
383
467
|
|
384
468
|
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
385
469
|
|
470
|
+
UpdateProvisionedModelThroughputRequest.add_member(:provisioned_model_id, Shapes::ShapeRef.new(shape: ProvisionedModelId, required: true, location: "uri", location_name: "provisionedModelId"))
|
471
|
+
UpdateProvisionedModelThroughputRequest.add_member(:desired_provisioned_model_name, Shapes::ShapeRef.new(shape: ProvisionedModelName, location_name: "desiredProvisionedModelName"))
|
472
|
+
UpdateProvisionedModelThroughputRequest.add_member(:desired_model_id, Shapes::ShapeRef.new(shape: ModelIdentifier, location_name: "desiredModelId"))
|
473
|
+
UpdateProvisionedModelThroughputRequest.struct_class = Types::UpdateProvisionedModelThroughputRequest
|
474
|
+
|
475
|
+
UpdateProvisionedModelThroughputResponse.struct_class = Types::UpdateProvisionedModelThroughputResponse
|
476
|
+
|
386
477
|
ValidationDataConfig.add_member(:validators, Shapes::ShapeRef.new(shape: Validators, required: true, location_name: "validators"))
|
387
478
|
ValidationDataConfig.struct_class = Types::ValidationDataConfig
|
388
479
|
|
@@ -399,8 +490,8 @@ module Aws::Bedrock
|
|
399
490
|
|
400
491
|
Validators.member = Shapes::ShapeRef.new(shape: Validator)
|
401
492
|
|
402
|
-
VpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, required: true, location_name: "securityGroupIds"))
|
403
493
|
VpcConfig.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "subnetIds"))
|
494
|
+
VpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, required: true, location_name: "securityGroupIds"))
|
404
495
|
VpcConfig.struct_class = Types::VpcConfig
|
405
496
|
|
406
497
|
|
@@ -437,6 +528,21 @@ module Aws::Bedrock
|
|
437
528
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
438
529
|
end)
|
439
530
|
|
531
|
+
api.add_operation(:create_provisioned_model_throughput, Seahorse::Model::Operation.new.tap do |o|
|
532
|
+
o.name = "CreateProvisionedModelThroughput"
|
533
|
+
o.http_method = "POST"
|
534
|
+
o.http_request_uri = "/provisioned-model-throughput"
|
535
|
+
o.input = Shapes::ShapeRef.new(shape: CreateProvisionedModelThroughputRequest)
|
536
|
+
o.output = Shapes::ShapeRef.new(shape: CreateProvisionedModelThroughputResponse)
|
537
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
538
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
539
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
540
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
541
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
542
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
543
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
544
|
+
end)
|
545
|
+
|
440
546
|
api.add_operation(:delete_custom_model, Seahorse::Model::Operation.new.tap do |o|
|
441
547
|
o.name = "DeleteCustomModel"
|
442
548
|
o.http_method = "DELETE"
|
@@ -462,6 +568,20 @@ module Aws::Bedrock
|
|
462
568
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
463
569
|
end)
|
464
570
|
|
571
|
+
api.add_operation(:delete_provisioned_model_throughput, Seahorse::Model::Operation.new.tap do |o|
|
572
|
+
o.name = "DeleteProvisionedModelThroughput"
|
573
|
+
o.http_method = "DELETE"
|
574
|
+
o.http_request_uri = "/provisioned-model-throughput/{provisionedModelId}"
|
575
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteProvisionedModelThroughputRequest)
|
576
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteProvisionedModelThroughputResponse)
|
577
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
578
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
579
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
580
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
581
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
582
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
583
|
+
end)
|
584
|
+
|
465
585
|
api.add_operation(:get_custom_model, Seahorse::Model::Operation.new.tap do |o|
|
466
586
|
o.name = "GetCustomModel"
|
467
587
|
o.http_method = "GET"
|
@@ -512,6 +632,19 @@ module Aws::Bedrock
|
|
512
632
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
513
633
|
end)
|
514
634
|
|
635
|
+
api.add_operation(:get_provisioned_model_throughput, Seahorse::Model::Operation.new.tap do |o|
|
636
|
+
o.name = "GetProvisionedModelThroughput"
|
637
|
+
o.http_method = "GET"
|
638
|
+
o.http_request_uri = "/provisioned-model-throughput/{provisionedModelId}"
|
639
|
+
o.input = Shapes::ShapeRef.new(shape: GetProvisionedModelThroughputRequest)
|
640
|
+
o.output = Shapes::ShapeRef.new(shape: GetProvisionedModelThroughputResponse)
|
641
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
642
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
643
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
644
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
645
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
646
|
+
end)
|
647
|
+
|
515
648
|
api.add_operation(:list_custom_models, Seahorse::Model::Operation.new.tap do |o|
|
516
649
|
o.name = "ListCustomModels"
|
517
650
|
o.http_method = "GET"
|
@@ -560,6 +693,24 @@ module Aws::Bedrock
|
|
560
693
|
)
|
561
694
|
end)
|
562
695
|
|
696
|
+
api.add_operation(:list_provisioned_model_throughputs, Seahorse::Model::Operation.new.tap do |o|
|
697
|
+
o.name = "ListProvisionedModelThroughputs"
|
698
|
+
o.http_method = "GET"
|
699
|
+
o.http_request_uri = "/provisioned-model-throughputs"
|
700
|
+
o.input = Shapes::ShapeRef.new(shape: ListProvisionedModelThroughputsRequest)
|
701
|
+
o.output = Shapes::ShapeRef.new(shape: ListProvisionedModelThroughputsResponse)
|
702
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
703
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
704
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
705
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
706
|
+
o[:pager] = Aws::Pager.new(
|
707
|
+
limit_key: "max_results",
|
708
|
+
tokens: {
|
709
|
+
"next_token" => "next_token"
|
710
|
+
}
|
711
|
+
)
|
712
|
+
end)
|
713
|
+
|
563
714
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
564
715
|
o.name = "ListTagsForResource"
|
565
716
|
o.http_method = "POST"
|
@@ -625,6 +776,19 @@ module Aws::Bedrock
|
|
625
776
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
626
777
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
627
778
|
end)
|
779
|
+
|
780
|
+
api.add_operation(:update_provisioned_model_throughput, Seahorse::Model::Operation.new.tap do |o|
|
781
|
+
o.name = "UpdateProvisionedModelThroughput"
|
782
|
+
o.http_method = "PATCH"
|
783
|
+
o.http_request_uri = "/provisioned-model-throughput/{provisionedModelId}"
|
784
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateProvisionedModelThroughputRequest)
|
785
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateProvisionedModelThroughputResponse)
|
786
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
787
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
788
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
789
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
790
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
791
|
+
end)
|
628
792
|
end
|
629
793
|
|
630
794
|
end
|
@@ -26,6 +26,20 @@ module Aws::Bedrock
|
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
|
+
class CreateProvisionedModelThroughput
|
30
|
+
def self.build(context)
|
31
|
+
unless context.config.regional_endpoint
|
32
|
+
endpoint = context.config.endpoint.to_s
|
33
|
+
end
|
34
|
+
Aws::Bedrock::EndpointParameters.new(
|
35
|
+
region: context.config.region,
|
36
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
37
|
+
use_fips: context.config.use_fips_endpoint,
|
38
|
+
endpoint: endpoint,
|
39
|
+
)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
29
43
|
class DeleteCustomModel
|
30
44
|
def self.build(context)
|
31
45
|
unless context.config.regional_endpoint
|
@@ -54,6 +68,20 @@ module Aws::Bedrock
|
|
54
68
|
end
|
55
69
|
end
|
56
70
|
|
71
|
+
class DeleteProvisionedModelThroughput
|
72
|
+
def self.build(context)
|
73
|
+
unless context.config.regional_endpoint
|
74
|
+
endpoint = context.config.endpoint.to_s
|
75
|
+
end
|
76
|
+
Aws::Bedrock::EndpointParameters.new(
|
77
|
+
region: context.config.region,
|
78
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
79
|
+
use_fips: context.config.use_fips_endpoint,
|
80
|
+
endpoint: endpoint,
|
81
|
+
)
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
57
85
|
class GetCustomModel
|
58
86
|
def self.build(context)
|
59
87
|
unless context.config.regional_endpoint
|
@@ -110,6 +138,20 @@ module Aws::Bedrock
|
|
110
138
|
end
|
111
139
|
end
|
112
140
|
|
141
|
+
class GetProvisionedModelThroughput
|
142
|
+
def self.build(context)
|
143
|
+
unless context.config.regional_endpoint
|
144
|
+
endpoint = context.config.endpoint.to_s
|
145
|
+
end
|
146
|
+
Aws::Bedrock::EndpointParameters.new(
|
147
|
+
region: context.config.region,
|
148
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
149
|
+
use_fips: context.config.use_fips_endpoint,
|
150
|
+
endpoint: endpoint,
|
151
|
+
)
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
113
155
|
class ListCustomModels
|
114
156
|
def self.build(context)
|
115
157
|
unless context.config.regional_endpoint
|
@@ -152,6 +194,20 @@ module Aws::Bedrock
|
|
152
194
|
end
|
153
195
|
end
|
154
196
|
|
197
|
+
class ListProvisionedModelThroughputs
|
198
|
+
def self.build(context)
|
199
|
+
unless context.config.regional_endpoint
|
200
|
+
endpoint = context.config.endpoint.to_s
|
201
|
+
end
|
202
|
+
Aws::Bedrock::EndpointParameters.new(
|
203
|
+
region: context.config.region,
|
204
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
205
|
+
use_fips: context.config.use_fips_endpoint,
|
206
|
+
endpoint: endpoint,
|
207
|
+
)
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
155
211
|
class ListTagsForResource
|
156
212
|
def self.build(context)
|
157
213
|
unless context.config.regional_endpoint
|
@@ -222,5 +278,19 @@ module Aws::Bedrock
|
|
222
278
|
end
|
223
279
|
end
|
224
280
|
|
281
|
+
class UpdateProvisionedModelThroughput
|
282
|
+
def self.build(context)
|
283
|
+
unless context.config.regional_endpoint
|
284
|
+
endpoint = context.config.endpoint.to_s
|
285
|
+
end
|
286
|
+
Aws::Bedrock::EndpointParameters.new(
|
287
|
+
region: context.config.region,
|
288
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
289
|
+
use_fips: context.config.use_fips_endpoint,
|
290
|
+
endpoint: endpoint,
|
291
|
+
)
|
292
|
+
end
|
293
|
+
end
|
294
|
+
|
225
295
|
end
|
226
296
|
end
|