aws-sdk-sagemaker 1.205.0 → 1.206.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +23 -21
- data/lib/aws-sdk-sagemaker/client_api.rb +5 -0
- data/lib/aws-sdk-sagemaker/types.rb +10 -1
- data/lib/aws-sdk-sagemaker.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2354ca99d8df88b8cf1b13b2dec606d01ca2e2ea73b69160f1a1e2d1fde2f311
|
4
|
+
data.tar.gz: 043bfb723af93d22198fea3d0a09e721f21048271553f20914edab0e0b3c74ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe0b43f103abb68bd5a0d9058c9b2fc71199d95f5a776a282c50ad933720128e4084c7c04a560c2aebffc9290d50ccb661cf96addedb66fa91a28bf8b0425091
|
7
|
+
data.tar.gz: e434f4151c84dfcfeb5846b5e919d131882245ec7b6d8cf99fa9abb49873016b386a78351275d9a85bb6fd0a199afbf5541a62b6218156f86c8faf4aa23a7c85
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.206.0 (2023-08-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - SageMaker Inference Recommender now provides SupportedResponseMIMETypes from DescribeInferenceRecommendationsJob response
|
8
|
+
|
4
9
|
1.205.0 (2023-08-09)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.206.0
|
@@ -2606,10 +2606,6 @@ module Aws::SageMaker
|
|
2606
2606
|
#
|
2607
2607
|
# Use this API to deploy models using SageMaker hosting services.
|
2608
2608
|
#
|
2609
|
-
# For an example that calls this method when deploying a model to
|
2610
|
-
# SageMaker hosting services, see the [Create Endpoint example
|
2611
|
-
# notebook.][2]
|
2612
|
-
#
|
2613
2609
|
# <note markdown="1"> You must not delete an `EndpointConfig` that is in use by an endpoint
|
2614
2610
|
# that is live or while the `UpdateEndpoint` or `CreateEndpoint`
|
2615
2611
|
# operations are being performed on the endpoint. To update an endpoint,
|
@@ -2624,16 +2620,16 @@ module Aws::SageMaker
|
|
2624
2620
|
# the resources (ML compute instances), and deploys the model(s) on
|
2625
2621
|
# them.
|
2626
2622
|
#
|
2627
|
-
# <note markdown="1"> When you call [CreateEndpoint][
|
2623
|
+
# <note markdown="1"> When you call [CreateEndpoint][2], a load call is made to DynamoDB to
|
2628
2624
|
# verify that your endpoint configuration exists. When you read data
|
2629
|
-
# from a DynamoDB table supporting [ `Eventually Consistent Reads` ][
|
2625
|
+
# from a DynamoDB table supporting [ `Eventually Consistent Reads` ][3],
|
2630
2626
|
# the response might not reflect the results of a recently completed
|
2631
2627
|
# write operation. The response might include some stale data. If the
|
2632
2628
|
# dependent entities are not yet in DynamoDB, this causes a validation
|
2633
2629
|
# error. If you repeat your read request after a short time, the
|
2634
2630
|
# response should return the latest data. So retry logic is recommended
|
2635
2631
|
# to handle these possible issues. We also recommend that customers call
|
2636
|
-
# [DescribeEndpointConfig][
|
2632
|
+
# [DescribeEndpointConfig][4] before calling [CreateEndpoint][2] to
|
2637
2633
|
# minimize the potential impact of a DynamoDB eventually consistent
|
2638
2634
|
# read.
|
2639
2635
|
#
|
@@ -2643,7 +2639,7 @@ module Aws::SageMaker
|
|
2643
2639
|
# `Creating`. After it creates the endpoint, it sets the status to
|
2644
2640
|
# `InService`. SageMaker can then process incoming requests for
|
2645
2641
|
# inferences. To check the status of an endpoint, use the
|
2646
|
-
# [DescribeEndpoint][
|
2642
|
+
# [DescribeEndpoint][5] API.
|
2647
2643
|
#
|
2648
2644
|
# If any of the models hosted at this endpoint get model data from an
|
2649
2645
|
# Amazon S3 location, SageMaker uses Amazon Web Services Security Token
|
@@ -2652,13 +2648,13 @@ module Aws::SageMaker
|
|
2652
2648
|
# account by default. If you previously deactivated Amazon Web Services
|
2653
2649
|
# STS for a region, you need to reactivate Amazon Web Services STS for
|
2654
2650
|
# that region. For more information, see [Activating and Deactivating
|
2655
|
-
# Amazon Web Services STS in an Amazon Web Services Region][
|
2651
|
+
# Amazon Web Services STS in an Amazon Web Services Region][6] in the
|
2656
2652
|
# *Amazon Web Services Identity and Access Management User Guide*.
|
2657
2653
|
#
|
2658
2654
|
# <note markdown="1"> To add the IAM role policies for using this API operation, go to the
|
2659
|
-
# [IAM console][
|
2655
|
+
# [IAM console][7], and choose Roles in the left navigation pane. Search
|
2660
2656
|
# the IAM role that you want to grant access to use the
|
2661
|
-
# [CreateEndpoint][
|
2657
|
+
# [CreateEndpoint][2] and [CreateEndpointConfig][1] API operations, add
|
2662
2658
|
# the following policies to the role.
|
2663
2659
|
#
|
2664
2660
|
# * Option 1: For a full SageMaker access, search and attach the
|
@@ -2680,21 +2676,20 @@ module Aws::SageMaker
|
|
2680
2676
|
# `]`
|
2681
2677
|
#
|
2682
2678
|
# For more information, see [SageMaker API Permissions: Actions,
|
2683
|
-
# Permissions, and Resources Reference][
|
2679
|
+
# Permissions, and Resources Reference][8].
|
2684
2680
|
#
|
2685
2681
|
# </note>
|
2686
2682
|
#
|
2687
2683
|
#
|
2688
2684
|
#
|
2689
2685
|
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpointConfig.html
|
2690
|
-
# [2]: https://
|
2691
|
-
# [3]: https://docs.aws.amazon.com/
|
2692
|
-
# [4]: https://docs.aws.amazon.com/
|
2693
|
-
# [5]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/
|
2694
|
-
# [6]: https://docs.aws.amazon.com/
|
2695
|
-
# [7]: https://
|
2696
|
-
# [8]: https://
|
2697
|
-
# [9]: https://docs.aws.amazon.com/sagemaker/latest/dg/api-permissions-reference.html
|
2686
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpoint.html
|
2687
|
+
# [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html
|
2688
|
+
# [4]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeEndpointConfig.html
|
2689
|
+
# [5]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeEndpoint.html
|
2690
|
+
# [6]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html
|
2691
|
+
# [7]: https://console.aws.amazon.com/iam/
|
2692
|
+
# [8]: https://docs.aws.amazon.com/sagemaker/latest/dg/api-permissions-reference.html
|
2698
2693
|
#
|
2699
2694
|
# @option params [required, String] :endpoint_name
|
2700
2695
|
# The name of the endpoint.The name must be unique within an Amazon Web
|
@@ -4514,6 +4509,7 @@ module Aws::SageMaker
|
|
4514
4509
|
# supported_instance_types: ["String"],
|
4515
4510
|
# data_input_config: "RecommendationJobDataInputConfig",
|
4516
4511
|
# supported_endpoint_type: "RealTime", # accepts RealTime, Serverless
|
4512
|
+
# supported_response_mime_types: ["RecommendationJobSupportedResponseMIMEType"],
|
4517
4513
|
# },
|
4518
4514
|
# endpoints: [
|
4519
4515
|
# {
|
@@ -5557,6 +5553,10 @@ module Aws::SageMaker
|
|
5557
5553
|
# information, see [Tagging Amazon Web Services resources][1] in the
|
5558
5554
|
# *Amazon Web Services General Reference Guide*.
|
5559
5555
|
#
|
5556
|
+
# If you supply `ModelPackageGroupName`, your model package belongs to
|
5557
|
+
# the model group you specify and uses the tags associated with the
|
5558
|
+
# model group. In this case, you cannot supply a `tag` argument.
|
5559
|
+
#
|
5560
5560
|
#
|
5561
5561
|
#
|
5562
5562
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
@@ -12354,6 +12354,8 @@ module Aws::SageMaker
|
|
12354
12354
|
# resp.input_config.container_config.supported_instance_types[0] #=> String
|
12355
12355
|
# resp.input_config.container_config.data_input_config #=> String
|
12356
12356
|
# resp.input_config.container_config.supported_endpoint_type #=> String, one of "RealTime", "Serverless"
|
12357
|
+
# resp.input_config.container_config.supported_response_mime_types #=> Array
|
12358
|
+
# resp.input_config.container_config.supported_response_mime_types[0] #=> String
|
12357
12359
|
# resp.input_config.endpoints #=> Array
|
12358
12360
|
# resp.input_config.endpoints[0].endpoint_name #=> String
|
12359
12361
|
# resp.input_config.vpc_config.security_group_ids #=> Array
|
@@ -24092,7 +24094,7 @@ module Aws::SageMaker
|
|
24092
24094
|
params: params,
|
24093
24095
|
config: config)
|
24094
24096
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
24095
|
-
context[:gem_version] = '1.
|
24097
|
+
context[:gem_version] = '1.206.0'
|
24096
24098
|
Seahorse::Client::Request.new(handlers, context)
|
24097
24099
|
end
|
24098
24100
|
|
@@ -1634,6 +1634,8 @@ module Aws::SageMaker
|
|
1634
1634
|
RecommendationJobSupportedContentTypes = Shapes::ListShape.new(name: 'RecommendationJobSupportedContentTypes')
|
1635
1635
|
RecommendationJobSupportedEndpointType = Shapes::StringShape.new(name: 'RecommendationJobSupportedEndpointType')
|
1636
1636
|
RecommendationJobSupportedInstanceTypes = Shapes::ListShape.new(name: 'RecommendationJobSupportedInstanceTypes')
|
1637
|
+
RecommendationJobSupportedResponseMIMEType = Shapes::StringShape.new(name: 'RecommendationJobSupportedResponseMIMEType')
|
1638
|
+
RecommendationJobSupportedResponseMIMETypes = Shapes::ListShape.new(name: 'RecommendationJobSupportedResponseMIMETypes')
|
1637
1639
|
RecommendationJobType = Shapes::StringShape.new(name: 'RecommendationJobType')
|
1638
1640
|
RecommendationJobVpcConfig = Shapes::StructureShape.new(name: 'RecommendationJobVpcConfig')
|
1639
1641
|
RecommendationJobVpcSecurityGroupId = Shapes::StringShape.new(name: 'RecommendationJobVpcSecurityGroupId')
|
@@ -7957,6 +7959,7 @@ module Aws::SageMaker
|
|
7957
7959
|
RecommendationJobContainerConfig.add_member(:supported_instance_types, Shapes::ShapeRef.new(shape: RecommendationJobSupportedInstanceTypes, location_name: "SupportedInstanceTypes"))
|
7958
7960
|
RecommendationJobContainerConfig.add_member(:data_input_config, Shapes::ShapeRef.new(shape: RecommendationJobDataInputConfig, location_name: "DataInputConfig"))
|
7959
7961
|
RecommendationJobContainerConfig.add_member(:supported_endpoint_type, Shapes::ShapeRef.new(shape: RecommendationJobSupportedEndpointType, location_name: "SupportedEndpointType"))
|
7962
|
+
RecommendationJobContainerConfig.add_member(:supported_response_mime_types, Shapes::ShapeRef.new(shape: RecommendationJobSupportedResponseMIMETypes, location_name: "SupportedResponseMIMETypes"))
|
7960
7963
|
RecommendationJobContainerConfig.struct_class = Types::RecommendationJobContainerConfig
|
7961
7964
|
|
7962
7965
|
RecommendationJobInferenceBenchmark.add_member(:metrics, Shapes::ShapeRef.new(shape: RecommendationMetrics, location_name: "Metrics"))
|
@@ -8001,6 +8004,8 @@ module Aws::SageMaker
|
|
8001
8004
|
|
8002
8005
|
RecommendationJobSupportedInstanceTypes.member = Shapes::ShapeRef.new(shape: String)
|
8003
8006
|
|
8007
|
+
RecommendationJobSupportedResponseMIMETypes.member = Shapes::ShapeRef.new(shape: RecommendationJobSupportedResponseMIMEType)
|
8008
|
+
|
8004
8009
|
RecommendationJobVpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: RecommendationJobVpcSecurityGroupIds, required: true, location_name: "SecurityGroupIds"))
|
8005
8010
|
RecommendationJobVpcConfig.add_member(:subnets, Shapes::ShapeRef.new(shape: RecommendationJobVpcSubnets, required: true, location_name: "Subnets"))
|
8006
8011
|
RecommendationJobVpcConfig.struct_class = Types::RecommendationJobVpcConfig
|
@@ -7148,6 +7148,10 @@ module Aws::SageMaker
|
|
7148
7148
|
# information, see [Tagging Amazon Web Services resources][1] in the
|
7149
7149
|
# *Amazon Web Services General Reference Guide*.
|
7150
7150
|
#
|
7151
|
+
# If you supply `ModelPackageGroupName`, your model package belongs to
|
7152
|
+
# the model group you specify and uses the tags associated with the
|
7153
|
+
# model group. In this case, you cannot supply a `tag` argument.
|
7154
|
+
#
|
7151
7155
|
#
|
7152
7156
|
#
|
7153
7157
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
@@ -34402,6 +34406,10 @@ module Aws::SageMaker
|
|
34402
34406
|
# benchmarks for the desired endpoint type.
|
34403
34407
|
# @return [String]
|
34404
34408
|
#
|
34409
|
+
# @!attribute [rw] supported_response_mime_types
|
34410
|
+
# The supported MIME types for the output data.
|
34411
|
+
# @return [Array<String>]
|
34412
|
+
#
|
34405
34413
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RecommendationJobContainerConfig AWS API Documentation
|
34406
34414
|
#
|
34407
34415
|
class RecommendationJobContainerConfig < Struct.new(
|
@@ -34413,7 +34421,8 @@ module Aws::SageMaker
|
|
34413
34421
|
:nearest_model_name,
|
34414
34422
|
:supported_instance_types,
|
34415
34423
|
:data_input_config,
|
34416
|
-
:supported_endpoint_type
|
34424
|
+
:supported_endpoint_type,
|
34425
|
+
:supported_response_mime_types)
|
34417
34426
|
SENSITIVE = []
|
34418
34427
|
include Aws::Structure
|
34419
34428
|
end
|
data/lib/aws-sdk-sagemaker.rb
CHANGED
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.206.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: 2023-08-
|
11
|
+
date: 2023-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|