aws-sdk-sagemaker 1.252.0 → 1.253.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +432 -1
- data/lib/aws-sdk-sagemaker/client_api.rb +223 -0
- data/lib/aws-sdk-sagemaker/endpoints.rb +70 -0
- data/lib/aws-sdk-sagemaker/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-sagemaker/types.rb +690 -7
- data/lib/aws-sdk-sagemaker.rb +1 -1
- data/sig/client.rbs +151 -0
- data/sig/types.rbs +163 -0
- metadata +2 -2
data/lib/aws-sdk-sagemaker.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -1125,6 +1125,10 @@ module Aws
|
|
1125
1125
|
docker_settings: {
|
1126
1126
|
enable_docker_access: ("ENABLED" | "DISABLED")?,
|
1127
1127
|
vpc_only_trusted_accounts: Array[::String]?
|
1128
|
+
}?,
|
1129
|
+
amazon_q_settings: {
|
1130
|
+
status: ("ENABLED" | "DISABLED")?,
|
1131
|
+
q_profile_arn: ::String?
|
1128
1132
|
}?
|
1129
1133
|
},
|
1130
1134
|
subnet_ids: Array[::String],
|
@@ -2402,6 +2406,22 @@ module Aws
|
|
2402
2406
|
}?
|
2403
2407
|
}?
|
2404
2408
|
}?,
|
2409
|
+
additional_model_data_sources: Array[
|
2410
|
+
{
|
2411
|
+
channel_name: ::String,
|
2412
|
+
s3_data_source: {
|
2413
|
+
s3_uri: ::String,
|
2414
|
+
s3_data_type: ("S3Prefix" | "S3Object"),
|
2415
|
+
compression_type: ("None" | "Gzip"),
|
2416
|
+
model_access_config: {
|
2417
|
+
accept_eula: bool
|
2418
|
+
}?,
|
2419
|
+
hub_access_config: {
|
2420
|
+
hub_content_arn: ::String
|
2421
|
+
}?
|
2422
|
+
}
|
2423
|
+
},
|
2424
|
+
]?,
|
2405
2425
|
environment: Hash[::String, ::String]?,
|
2406
2426
|
model_package_name: ::String?,
|
2407
2427
|
inference_specification_name: ::String?,
|
@@ -2434,6 +2454,22 @@ module Aws
|
|
2434
2454
|
}?
|
2435
2455
|
}?
|
2436
2456
|
}?,
|
2457
|
+
additional_model_data_sources: Array[
|
2458
|
+
{
|
2459
|
+
channel_name: ::String,
|
2460
|
+
s3_data_source: {
|
2461
|
+
s3_uri: ::String,
|
2462
|
+
s3_data_type: ("S3Prefix" | "S3Object"),
|
2463
|
+
compression_type: ("None" | "Gzip"),
|
2464
|
+
model_access_config: {
|
2465
|
+
accept_eula: bool
|
2466
|
+
}?,
|
2467
|
+
hub_access_config: {
|
2468
|
+
hub_content_arn: ::String
|
2469
|
+
}?
|
2470
|
+
}
|
2471
|
+
},
|
2472
|
+
]?,
|
2437
2473
|
environment: Hash[::String, ::String]?,
|
2438
2474
|
model_package_name: ::String?,
|
2439
2475
|
inference_specification_name: ::String?,
|
@@ -3268,6 +3304,58 @@ module Aws
|
|
3268
3304
|
) -> _CreateNotebookInstanceLifecycleConfigResponseSuccess
|
3269
3305
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateNotebookInstanceLifecycleConfigResponseSuccess
|
3270
3306
|
|
3307
|
+
interface _CreateOptimizationJobResponseSuccess
|
3308
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateOptimizationJobResponse]
|
3309
|
+
def optimization_job_arn: () -> ::String
|
3310
|
+
end
|
3311
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#create_optimization_job-instance_method
|
3312
|
+
def create_optimization_job: (
|
3313
|
+
optimization_job_name: ::String,
|
3314
|
+
role_arn: ::String,
|
3315
|
+
model_source: {
|
3316
|
+
s3: {
|
3317
|
+
s3_uri: ::String?,
|
3318
|
+
model_access_config: {
|
3319
|
+
accept_eula: bool
|
3320
|
+
}?
|
3321
|
+
}?
|
3322
|
+
},
|
3323
|
+
deployment_instance_type: ("ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.p5.48xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.12xlarge" | "ml.g5.16xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.inf2.xlarge" | "ml.inf2.8xlarge" | "ml.inf2.24xlarge" | "ml.inf2.48xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge"),
|
3324
|
+
?optimization_environment: Hash[::String, ::String],
|
3325
|
+
optimization_configs: Array[
|
3326
|
+
{
|
3327
|
+
model_quantization_config: {
|
3328
|
+
image: ::String?,
|
3329
|
+
override_environment: Hash[::String, ::String]?
|
3330
|
+
}?,
|
3331
|
+
model_compilation_config: {
|
3332
|
+
image: ::String?,
|
3333
|
+
override_environment: Hash[::String, ::String]?
|
3334
|
+
}?
|
3335
|
+
},
|
3336
|
+
],
|
3337
|
+
output_config: {
|
3338
|
+
kms_key_id: ::String?,
|
3339
|
+
s3_output_location: ::String
|
3340
|
+
},
|
3341
|
+
stopping_condition: {
|
3342
|
+
max_runtime_in_seconds: ::Integer?,
|
3343
|
+
max_wait_time_in_seconds: ::Integer?,
|
3344
|
+
max_pending_time_in_seconds: ::Integer?
|
3345
|
+
},
|
3346
|
+
?tags: Array[
|
3347
|
+
{
|
3348
|
+
key: ::String,
|
3349
|
+
value: ::String
|
3350
|
+
},
|
3351
|
+
],
|
3352
|
+
?vpc_config: {
|
3353
|
+
security_group_ids: Array[::String],
|
3354
|
+
subnets: Array[::String]
|
3355
|
+
}
|
3356
|
+
) -> _CreateOptimizationJobResponseSuccess
|
3357
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateOptimizationJobResponseSuccess
|
3358
|
+
|
3271
3359
|
interface _CreatePipelineResponseSuccess
|
3272
3360
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreatePipelineResponse]
|
3273
3361
|
def pipeline_arn: () -> ::String
|
@@ -4450,6 +4538,12 @@ module Aws
|
|
4450
4538
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
4451
4539
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
4452
4540
|
|
4541
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#delete_optimization_job-instance_method
|
4542
|
+
def delete_optimization_job: (
|
4543
|
+
optimization_job_name: ::String
|
4544
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
4545
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
4546
|
+
|
4453
4547
|
interface _DeletePipelineResponseSuccess
|
4454
4548
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeletePipelineResponse]
|
4455
4549
|
def pipeline_arn: () -> ::String
|
@@ -5567,6 +5661,32 @@ module Aws
|
|
5567
5661
|
) -> _DescribeNotebookInstanceLifecycleConfigResponseSuccess
|
5568
5662
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeNotebookInstanceLifecycleConfigResponseSuccess
|
5569
5663
|
|
5664
|
+
interface _DescribeOptimizationJobResponseSuccess
|
5665
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeOptimizationJobResponse]
|
5666
|
+
def optimization_job_arn: () -> ::String
|
5667
|
+
def optimization_job_status: () -> ("INPROGRESS" | "COMPLETED" | "FAILED" | "STARTING" | "STOPPING" | "STOPPED")
|
5668
|
+
def optimization_start_time: () -> ::Time
|
5669
|
+
def optimization_end_time: () -> ::Time
|
5670
|
+
def creation_time: () -> ::Time
|
5671
|
+
def last_modified_time: () -> ::Time
|
5672
|
+
def failure_reason: () -> ::String
|
5673
|
+
def optimization_job_name: () -> ::String
|
5674
|
+
def model_source: () -> Types::OptimizationJobModelSource
|
5675
|
+
def optimization_environment: () -> ::Hash[::String, ::String]
|
5676
|
+
def deployment_instance_type: () -> ("ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.p5.48xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.12xlarge" | "ml.g5.16xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.inf2.xlarge" | "ml.inf2.8xlarge" | "ml.inf2.24xlarge" | "ml.inf2.48xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge")
|
5677
|
+
def optimization_configs: () -> ::Array[Types::OptimizationConfig]
|
5678
|
+
def output_config: () -> Types::OptimizationJobOutputConfig
|
5679
|
+
def optimization_output: () -> Types::OptimizationOutput
|
5680
|
+
def role_arn: () -> ::String
|
5681
|
+
def stopping_condition: () -> Types::StoppingCondition
|
5682
|
+
def vpc_config: () -> Types::OptimizationVpcConfig
|
5683
|
+
end
|
5684
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#describe_optimization_job-instance_method
|
5685
|
+
def describe_optimization_job: (
|
5686
|
+
optimization_job_name: ::String
|
5687
|
+
) -> _DescribeOptimizationJobResponseSuccess
|
5688
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeOptimizationJobResponseSuccess
|
5689
|
+
|
5570
5690
|
interface _DescribePipelineResponseSuccess
|
5571
5691
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribePipelineResponse]
|
5572
5692
|
def pipeline_arn: () -> ::String
|
@@ -7066,6 +7186,27 @@ module Aws
|
|
7066
7186
|
) -> _ListNotebookInstancesResponseSuccess
|
7067
7187
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNotebookInstancesResponseSuccess
|
7068
7188
|
|
7189
|
+
interface _ListOptimizationJobsResponseSuccess
|
7190
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListOptimizationJobsResponse]
|
7191
|
+
def optimization_job_summaries: () -> ::Array[Types::OptimizationJobSummary]
|
7192
|
+
def next_token: () -> ::String
|
7193
|
+
end
|
7194
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#list_optimization_jobs-instance_method
|
7195
|
+
def list_optimization_jobs: (
|
7196
|
+
?next_token: ::String,
|
7197
|
+
?max_results: ::Integer,
|
7198
|
+
?creation_time_after: ::Time,
|
7199
|
+
?creation_time_before: ::Time,
|
7200
|
+
?last_modified_time_after: ::Time,
|
7201
|
+
?last_modified_time_before: ::Time,
|
7202
|
+
?optimization_contains: ::String,
|
7203
|
+
?name_contains: ::String,
|
7204
|
+
?status_equals: ("INPROGRESS" | "COMPLETED" | "FAILED" | "STARTING" | "STOPPING" | "STOPPED"),
|
7205
|
+
?sort_by: ("Name" | "CreationTime" | "Status"),
|
7206
|
+
?sort_order: ("Ascending" | "Descending")
|
7207
|
+
) -> _ListOptimizationJobsResponseSuccess
|
7208
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListOptimizationJobsResponseSuccess
|
7209
|
+
|
7069
7210
|
interface _ListPipelineExecutionStepsResponseSuccess
|
7070
7211
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListPipelineExecutionStepsResponse]
|
7071
7212
|
def pipeline_execution_steps: () -> ::Array[Types::PipelineExecutionStep]
|
@@ -7722,6 +7863,12 @@ module Aws
|
|
7722
7863
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
7723
7864
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
7724
7865
|
|
7866
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#stop_optimization_job-instance_method
|
7867
|
+
def stop_optimization_job: (
|
7868
|
+
optimization_job_name: ::String
|
7869
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
7870
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
7871
|
+
|
7725
7872
|
interface _StopPipelineExecutionResponseSuccess
|
7726
7873
|
include ::Seahorse::Client::_ResponseSuccess[Types::StopPipelineExecutionResponse]
|
7727
7874
|
def pipeline_execution_arn: () -> ::String
|
@@ -8107,6 +8254,10 @@ module Aws
|
|
8107
8254
|
docker_settings: {
|
8108
8255
|
enable_docker_access: ("ENABLED" | "DISABLED")?,
|
8109
8256
|
vpc_only_trusted_accounts: Array[::String]?
|
8257
|
+
}?,
|
8258
|
+
amazon_q_settings: {
|
8259
|
+
status: ("ENABLED" | "DISABLED")?,
|
8260
|
+
q_profile_arn: ::String?
|
8110
8261
|
}?
|
8111
8262
|
},
|
8112
8263
|
?app_security_group_management: ("Service" | "Customer"),
|
data/sig/types.rbs
CHANGED
@@ -61,6 +61,12 @@ module Aws::SageMaker
|
|
61
61
|
SENSITIVE: []
|
62
62
|
end
|
63
63
|
|
64
|
+
class AdditionalModelDataSource
|
65
|
+
attr_accessor channel_name: ::String
|
66
|
+
attr_accessor s3_data_source: Types::S3ModelDataSource
|
67
|
+
SENSITIVE: []
|
68
|
+
end
|
69
|
+
|
64
70
|
class AdditionalS3DataSource
|
65
71
|
attr_accessor s3_data_type: ("S3Object" | "S3Prefix")
|
66
72
|
attr_accessor s3_uri: ::String
|
@@ -126,6 +132,12 @@ module Aws::SageMaker
|
|
126
132
|
SENSITIVE: []
|
127
133
|
end
|
128
134
|
|
135
|
+
class AmazonQSettings
|
136
|
+
attr_accessor status: ("ENABLED" | "DISABLED")
|
137
|
+
attr_accessor q_profile_arn: ::String
|
138
|
+
SENSITIVE: []
|
139
|
+
end
|
140
|
+
|
129
141
|
class AnnotationConsolidationConfig
|
130
142
|
attr_accessor annotation_consolidation_lambda_arn: ::String
|
131
143
|
SENSITIVE: []
|
@@ -858,6 +870,7 @@ module Aws::SageMaker
|
|
858
870
|
attr_accessor mode: ("SingleModel" | "MultiModel")
|
859
871
|
attr_accessor model_data_url: ::String
|
860
872
|
attr_accessor model_data_source: Types::ModelDataSource
|
873
|
+
attr_accessor additional_model_data_sources: ::Array[Types::AdditionalModelDataSource]
|
861
874
|
attr_accessor environment: ::Hash[::String, ::String]
|
862
875
|
attr_accessor model_package_name: ::String
|
863
876
|
attr_accessor inference_specification_name: ::String
|
@@ -1611,6 +1624,25 @@ module Aws::SageMaker
|
|
1611
1624
|
SENSITIVE: []
|
1612
1625
|
end
|
1613
1626
|
|
1627
|
+
class CreateOptimizationJobRequest
|
1628
|
+
attr_accessor optimization_job_name: ::String
|
1629
|
+
attr_accessor role_arn: ::String
|
1630
|
+
attr_accessor model_source: Types::OptimizationJobModelSource
|
1631
|
+
attr_accessor deployment_instance_type: ("ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.p5.48xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.12xlarge" | "ml.g5.16xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.inf2.xlarge" | "ml.inf2.8xlarge" | "ml.inf2.24xlarge" | "ml.inf2.48xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge")
|
1632
|
+
attr_accessor optimization_environment: ::Hash[::String, ::String]
|
1633
|
+
attr_accessor optimization_configs: ::Array[Types::OptimizationConfig]
|
1634
|
+
attr_accessor output_config: Types::OptimizationJobOutputConfig
|
1635
|
+
attr_accessor stopping_condition: Types::StoppingCondition
|
1636
|
+
attr_accessor tags: ::Array[Types::Tag]
|
1637
|
+
attr_accessor vpc_config: Types::OptimizationVpcConfig
|
1638
|
+
SENSITIVE: []
|
1639
|
+
end
|
1640
|
+
|
1641
|
+
class CreateOptimizationJobResponse
|
1642
|
+
attr_accessor optimization_job_arn: ::String
|
1643
|
+
SENSITIVE: []
|
1644
|
+
end
|
1645
|
+
|
1614
1646
|
class CreatePipelineRequest
|
1615
1647
|
attr_accessor pipeline_name: ::String
|
1616
1648
|
attr_accessor pipeline_display_name: ::String
|
@@ -2303,6 +2335,11 @@ module Aws::SageMaker
|
|
2303
2335
|
SENSITIVE: []
|
2304
2336
|
end
|
2305
2337
|
|
2338
|
+
class DeleteOptimizationJobRequest
|
2339
|
+
attr_accessor optimization_job_name: ::String
|
2340
|
+
SENSITIVE: []
|
2341
|
+
end
|
2342
|
+
|
2306
2343
|
class DeletePipelineRequest
|
2307
2344
|
attr_accessor pipeline_name: ::String
|
2308
2345
|
attr_accessor client_request_token: ::String
|
@@ -3453,6 +3490,32 @@ module Aws::SageMaker
|
|
3453
3490
|
SENSITIVE: []
|
3454
3491
|
end
|
3455
3492
|
|
3493
|
+
class DescribeOptimizationJobRequest
|
3494
|
+
attr_accessor optimization_job_name: ::String
|
3495
|
+
SENSITIVE: []
|
3496
|
+
end
|
3497
|
+
|
3498
|
+
class DescribeOptimizationJobResponse
|
3499
|
+
attr_accessor optimization_job_arn: ::String
|
3500
|
+
attr_accessor optimization_job_status: ("INPROGRESS" | "COMPLETED" | "FAILED" | "STARTING" | "STOPPING" | "STOPPED")
|
3501
|
+
attr_accessor optimization_start_time: ::Time
|
3502
|
+
attr_accessor optimization_end_time: ::Time
|
3503
|
+
attr_accessor creation_time: ::Time
|
3504
|
+
attr_accessor last_modified_time: ::Time
|
3505
|
+
attr_accessor failure_reason: ::String
|
3506
|
+
attr_accessor optimization_job_name: ::String
|
3507
|
+
attr_accessor model_source: Types::OptimizationJobModelSource
|
3508
|
+
attr_accessor optimization_environment: ::Hash[::String, ::String]
|
3509
|
+
attr_accessor deployment_instance_type: ("ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.p5.48xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.12xlarge" | "ml.g5.16xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.inf2.xlarge" | "ml.inf2.8xlarge" | "ml.inf2.24xlarge" | "ml.inf2.48xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge")
|
3510
|
+
attr_accessor optimization_configs: ::Array[Types::OptimizationConfig]
|
3511
|
+
attr_accessor output_config: Types::OptimizationJobOutputConfig
|
3512
|
+
attr_accessor optimization_output: Types::OptimizationOutput
|
3513
|
+
attr_accessor role_arn: ::String
|
3514
|
+
attr_accessor stopping_condition: Types::StoppingCondition
|
3515
|
+
attr_accessor vpc_config: Types::OptimizationVpcConfig
|
3516
|
+
SENSITIVE: []
|
3517
|
+
end
|
3518
|
+
|
3456
3519
|
class DescribePipelineDefinitionForExecutionRequest
|
3457
3520
|
attr_accessor pipeline_execution_arn: ::String
|
3458
3521
|
SENSITIVE: []
|
@@ -3885,6 +3948,7 @@ module Aws::SageMaker
|
|
3885
3948
|
attr_accessor r_studio_server_pro_domain_settings: Types::RStudioServerProDomainSettings
|
3886
3949
|
attr_accessor execution_role_identity_config: ("USER_PROFILE_NAME" | "DISABLED")
|
3887
3950
|
attr_accessor docker_settings: Types::DockerSettings
|
3951
|
+
attr_accessor amazon_q_settings: Types::AmazonQSettings
|
3888
3952
|
SENSITIVE: []
|
3889
3953
|
end
|
3890
3954
|
|
@@ -3893,6 +3957,7 @@ module Aws::SageMaker
|
|
3893
3957
|
attr_accessor execution_role_identity_config: ("USER_PROFILE_NAME" | "DISABLED")
|
3894
3958
|
attr_accessor security_group_ids: ::Array[::String]
|
3895
3959
|
attr_accessor docker_settings: Types::DockerSettings
|
3960
|
+
attr_accessor amazon_q_settings: Types::AmazonQSettings
|
3896
3961
|
SENSITIVE: []
|
3897
3962
|
end
|
3898
3963
|
|
@@ -6134,6 +6199,27 @@ module Aws::SageMaker
|
|
6134
6199
|
SENSITIVE: []
|
6135
6200
|
end
|
6136
6201
|
|
6202
|
+
class ListOptimizationJobsRequest
|
6203
|
+
attr_accessor next_token: ::String
|
6204
|
+
attr_accessor max_results: ::Integer
|
6205
|
+
attr_accessor creation_time_after: ::Time
|
6206
|
+
attr_accessor creation_time_before: ::Time
|
6207
|
+
attr_accessor last_modified_time_after: ::Time
|
6208
|
+
attr_accessor last_modified_time_before: ::Time
|
6209
|
+
attr_accessor optimization_contains: ::String
|
6210
|
+
attr_accessor name_contains: ::String
|
6211
|
+
attr_accessor status_equals: ("INPROGRESS" | "COMPLETED" | "FAILED" | "STARTING" | "STOPPING" | "STOPPED")
|
6212
|
+
attr_accessor sort_by: ("Name" | "CreationTime" | "Status")
|
6213
|
+
attr_accessor sort_order: ("Ascending" | "Descending")
|
6214
|
+
SENSITIVE: []
|
6215
|
+
end
|
6216
|
+
|
6217
|
+
class ListOptimizationJobsResponse
|
6218
|
+
attr_accessor optimization_job_summaries: ::Array[Types::OptimizationJobSummary]
|
6219
|
+
attr_accessor next_token: ::String
|
6220
|
+
SENSITIVE: []
|
6221
|
+
end
|
6222
|
+
|
6137
6223
|
class ListPipelineExecutionStepsRequest
|
6138
6224
|
attr_accessor pipeline_execution_arn: ::String
|
6139
6225
|
attr_accessor next_token: ::String
|
@@ -6636,6 +6722,12 @@ module Aws::SageMaker
|
|
6636
6722
|
SENSITIVE: []
|
6637
6723
|
end
|
6638
6724
|
|
6725
|
+
class ModelCompilationConfig
|
6726
|
+
attr_accessor image: ::String
|
6727
|
+
attr_accessor override_environment: ::Hash[::String, ::String]
|
6728
|
+
SENSITIVE: []
|
6729
|
+
end
|
6730
|
+
|
6639
6731
|
class ModelConfiguration
|
6640
6732
|
attr_accessor inference_specification_name: ::String
|
6641
6733
|
attr_accessor environment_parameters: ::Array[Types::EnvironmentParameter]
|
@@ -6937,6 +7029,12 @@ module Aws::SageMaker
|
|
6937
7029
|
SENSITIVE: []
|
6938
7030
|
end
|
6939
7031
|
|
7032
|
+
class ModelQuantizationConfig
|
7033
|
+
attr_accessor image: ::String
|
7034
|
+
attr_accessor override_environment: ::Hash[::String, ::String]
|
7035
|
+
SENSITIVE: []
|
7036
|
+
end
|
7037
|
+
|
6940
7038
|
class ModelRegisterSettings
|
6941
7039
|
attr_accessor status: ("ENABLED" | "DISABLED")
|
6942
7040
|
attr_accessor cross_account_model_register_role_arn: ::String
|
@@ -7291,6 +7389,66 @@ module Aws::SageMaker
|
|
7291
7389
|
SENSITIVE: []
|
7292
7390
|
end
|
7293
7391
|
|
7392
|
+
class OptimizationConfig
|
7393
|
+
attr_accessor model_quantization_config: Types::ModelQuantizationConfig
|
7394
|
+
attr_accessor model_compilation_config: Types::ModelCompilationConfig
|
7395
|
+
attr_accessor unknown: untyped
|
7396
|
+
SENSITIVE: []
|
7397
|
+
|
7398
|
+
class ModelQuantizationConfig < OptimizationConfig
|
7399
|
+
end
|
7400
|
+
class ModelCompilationConfig < OptimizationConfig
|
7401
|
+
end
|
7402
|
+
class Unknown < OptimizationConfig
|
7403
|
+
end
|
7404
|
+
end
|
7405
|
+
|
7406
|
+
class OptimizationJobModelSource
|
7407
|
+
attr_accessor s3: Types::OptimizationJobModelSourceS3
|
7408
|
+
SENSITIVE: []
|
7409
|
+
end
|
7410
|
+
|
7411
|
+
class OptimizationJobModelSourceS3
|
7412
|
+
attr_accessor s3_uri: ::String
|
7413
|
+
attr_accessor model_access_config: Types::OptimizationModelAccessConfig
|
7414
|
+
SENSITIVE: []
|
7415
|
+
end
|
7416
|
+
|
7417
|
+
class OptimizationJobOutputConfig
|
7418
|
+
attr_accessor kms_key_id: ::String
|
7419
|
+
attr_accessor s3_output_location: ::String
|
7420
|
+
SENSITIVE: []
|
7421
|
+
end
|
7422
|
+
|
7423
|
+
class OptimizationJobSummary
|
7424
|
+
attr_accessor optimization_job_name: ::String
|
7425
|
+
attr_accessor optimization_job_arn: ::String
|
7426
|
+
attr_accessor creation_time: ::Time
|
7427
|
+
attr_accessor optimization_job_status: ("INPROGRESS" | "COMPLETED" | "FAILED" | "STARTING" | "STOPPING" | "STOPPED")
|
7428
|
+
attr_accessor optimization_start_time: ::Time
|
7429
|
+
attr_accessor optimization_end_time: ::Time
|
7430
|
+
attr_accessor last_modified_time: ::Time
|
7431
|
+
attr_accessor deployment_instance_type: ("ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.p5.48xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.12xlarge" | "ml.g5.16xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.inf2.xlarge" | "ml.inf2.8xlarge" | "ml.inf2.24xlarge" | "ml.inf2.48xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge")
|
7432
|
+
attr_accessor optimization_types: ::Array[::String]
|
7433
|
+
SENSITIVE: []
|
7434
|
+
end
|
7435
|
+
|
7436
|
+
class OptimizationModelAccessConfig
|
7437
|
+
attr_accessor accept_eula: bool
|
7438
|
+
SENSITIVE: []
|
7439
|
+
end
|
7440
|
+
|
7441
|
+
class OptimizationOutput
|
7442
|
+
attr_accessor recommended_inference_image: ::String
|
7443
|
+
SENSITIVE: []
|
7444
|
+
end
|
7445
|
+
|
7446
|
+
class OptimizationVpcConfig
|
7447
|
+
attr_accessor security_group_ids: ::Array[::String]
|
7448
|
+
attr_accessor subnets: ::Array[::String]
|
7449
|
+
SENSITIVE: []
|
7450
|
+
end
|
7451
|
+
|
7294
7452
|
class OutputConfig
|
7295
7453
|
attr_accessor s3_output_location: ::String
|
7296
7454
|
attr_accessor target_device: ("lambda" | "ml_m4" | "ml_m5" | "ml_m6g" | "ml_c4" | "ml_c5" | "ml_c6g" | "ml_p2" | "ml_p3" | "ml_g4dn" | "ml_inf1" | "ml_inf2" | "ml_trn1" | "ml_eia2" | "jetson_tx1" | "jetson_tx2" | "jetson_nano" | "jetson_xavier" | "rasp3b" | "rasp4b" | "imx8qm" | "deeplens" | "rk3399" | "rk3288" | "aisage" | "sbe_c" | "qcs605" | "qcs603" | "sitara_am57x" | "amba_cv2" | "amba_cv22" | "amba_cv25" | "x86_win32" | "x86_win64" | "coreml" | "jacinto_tda4vm" | "imx8mplus")
|
@@ -8501,6 +8659,11 @@ module Aws::SageMaker
|
|
8501
8659
|
SENSITIVE: []
|
8502
8660
|
end
|
8503
8661
|
|
8662
|
+
class StopOptimizationJobRequest
|
8663
|
+
attr_accessor optimization_job_name: ::String
|
8664
|
+
SENSITIVE: []
|
8665
|
+
end
|
8666
|
+
|
8504
8667
|
class StopPipelineExecutionRequest
|
8505
8668
|
attr_accessor pipeline_execution_arn: ::String
|
8506
8669
|
attr_accessor client_request_token: ::String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-sagemaker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.253.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|