aws-sdk-sagemakerruntime 1.46.0 → 1.47.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dffca72ceb2be78f7717466a2b8cf1a49f4aab20835e8ca83098c131c75fea3a
4
- data.tar.gz: 709fd3182de54c976a18efbf5ffad65a020295caccdc1399e41481443971d844
3
+ metadata.gz: 62a1d3e87f50574f04a01a34d05f176d716262efee3c34bfdc464859940baafe
4
+ data.tar.gz: 387e4a420252ccab7ea523dfda3f63f5448b862a41046aaface36b7df7ddef14
5
5
  SHA512:
6
- metadata.gz: dad5f51288282780aa97cdc831dbdc2a73809d994f8763f2d14dd6c402f4abf1813c5b724c168f8bec2632cb0a783e2e14da90065e59d3520898b02f62abb520
7
- data.tar.gz: 76b28cde32b9e28698871acfbfae9e074888906132b9a0139e9305ec2e9b6a62910536ae79c265e2a5cd203cc56fad1c9a7b966fdec2925f56f03ebccf612a98
6
+ metadata.gz: 907f648fcff7cce391834de68055ff0b8ee12ab93b15ad13c4a32d42d47f565e4907084e455a39d85ad67a9ca557d00b41617a41e1f5595060a0bd21d3e01b09
7
+ data.tar.gz: 0e1deb00bc4813528ec6adfc93665545e95c5b38f890e4140ea73a369b4483a5d09029d0fe9ee46c23150bc5cb7611007bc14b6a0cb0ff8b82c5bb6f233452c7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.47.0 (2023-03-16)
5
+ ------------------
6
+
7
+ * Feature - Documentation updates for SageMaker Runtime
8
+
4
9
  1.46.0 (2023-01-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.46.0
1
+ 1.47.0
@@ -583,7 +583,7 @@ module Aws::SageMakerRuntime
583
583
  # custom attributes in the response. If your code does not set this
584
584
  # value in the response, an empty value is returned. For example, if a
585
585
  # custom attribute represents the trace ID, your model can prepend the
586
- # custom attribute with `Trace ID`\: in your post-processing function.
586
+ # custom attribute with `Trace ID`: in your post-processing function.
587
587
  #
588
588
  # This feature is currently supported in the Amazon Web Services SDKs
589
589
  # but not in the Amazon SageMaker Python SDK.
@@ -601,11 +601,11 @@ module Aws::SageMakerRuntime
601
601
  #
602
602
  # @option params [Integer] :request_ttl_seconds
603
603
  # Maximum age in seconds a request can be in the queue before it is
604
- # marked as expired.
604
+ # marked as expired. The default is 6 hours, or 21,600 seconds.
605
605
  #
606
606
  # @option params [Integer] :invocation_timeout_seconds
607
607
  # Maximum amount of time in seconds a request can be processed before it
608
- # is marked as expired.
608
+ # is marked as expired. The default is 15 minutes, or 900 seconds.
609
609
  #
610
610
  # @return [Types::InvokeEndpointAsyncOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
611
611
  #
@@ -652,7 +652,7 @@ module Aws::SageMakerRuntime
652
652
  params: params,
653
653
  config: config)
654
654
  context[:gem_name] = 'aws-sdk-sagemakerruntime'
655
- context[:gem_version] = '1.46.0'
655
+ context[:gem_version] = '1.47.0'
656
656
  Seahorse::Client::Request.new(handlers, context)
657
657
  end
658
658
 
@@ -50,9 +50,6 @@ module Aws::SageMakerRuntime
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,42 +14,45 @@ module Aws::SageMakerRuntime
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint)
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
26
20
  end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://runtime.sagemaker-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
32
23
  end
33
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
36
- return Aws::Endpoints::Endpoint.new(url: "https://runtime-fips.sagemaker.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://runtime.sagemaker-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
37
31
  end
38
- if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
39
- return Aws::Endpoints::Endpoint.new(url: "https://runtime.sagemaker.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
37
+ return Aws::Endpoints::Endpoint.new(url: "https://runtime-fips.sagemaker.#{region}.amazonaws.com", headers: {}, properties: {})
38
+ end
39
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
40
+ return Aws::Endpoints::Endpoint.new(url: "https://runtime.sagemaker.#{region}.amazonaws.com", headers: {}, properties: {})
41
+ end
42
+ return Aws::Endpoints::Endpoint.new(url: "https://runtime.sagemaker-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
40
43
  end
41
- return Aws::Endpoints::Endpoint.new(url: "https://runtime.sagemaker-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
42
45
  end
43
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
44
- end
45
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
46
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
47
- return Aws::Endpoints::Endpoint.new(url: "https://runtime.sagemaker.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
46
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
47
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
48
+ return Aws::Endpoints::Endpoint.new(url: "https://runtime.sagemaker.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
49
+ end
50
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
48
51
  end
49
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
52
+ return Aws::Endpoints::Endpoint.new(url: "https://runtime.sagemaker.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
50
53
  end
51
- return Aws::Endpoints::Endpoint.new(url: "https://runtime.sagemaker.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
52
54
  end
55
+ raise ArgumentError, "Invalid Configuration: Missing Region"
53
56
  raise ArgumentError, 'No endpoint could be resolved'
54
57
 
55
58
  end
@@ -69,7 +69,7 @@ module Aws::SageMakerRuntime
69
69
  # custom attributes in the response. If your code does not set this
70
70
  # value in the response, an empty value is returned. For example, if a
71
71
  # custom attribute represents the trace ID, your model can prepend the
72
- # custom attribute with `Trace ID`\: in your post-processing function.
72
+ # custom attribute with `Trace ID`: in your post-processing function.
73
73
  #
74
74
  # This feature is currently supported in the Amazon Web Services SDKs
75
75
  # but not in the Amazon SageMaker Python SDK.
@@ -90,12 +90,12 @@ module Aws::SageMakerRuntime
90
90
  #
91
91
  # @!attribute [rw] request_ttl_seconds
92
92
  # Maximum age in seconds a request can be in the queue before it is
93
- # marked as expired.
93
+ # marked as expired. The default is 6 hours, or 21,600 seconds.
94
94
  # @return [Integer]
95
95
  #
96
96
  # @!attribute [rw] invocation_timeout_seconds
97
97
  # Maximum amount of time in seconds a request can be processed before
98
- # it is marked as expired.
98
+ # it is marked as expired. The default is 15 minutes, or 900 seconds.
99
99
  # @return [Integer]
100
100
  #
101
101
  # @see http://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/InvokeEndpointAsyncInput AWS API Documentation
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-sagemakerruntime/customizations'
52
52
  # @!group service
53
53
  module Aws::SageMakerRuntime
54
54
 
55
- GEM_VERSION = '1.46.0'
55
+ GEM_VERSION = '1.47.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-sagemakerruntime
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.46.0
4
+ version: 1.47.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-01-27 00:00:00.000000000 Z
11
+ date: 2023-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core