aws-sdk-personalizeruntime 1.46.0 → 1.47.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 521dd610899e31770096c350f40b2accbf601081d527281437262efbd0503701
4
- data.tar.gz: 8fce2543ac6d219074071dc99f305f8b0b7f5f8196919c381e4550c9a9218d31
3
+ metadata.gz: edc5544c96f11eef7adc57370d0589cd7d9858579efb7e19035846caeef5d2b1
4
+ data.tar.gz: c5ed50f4fc32a503bc432157451bd28a8f5ee0c1165cfd161d5b5ac75b3c29bd
5
5
  SHA512:
6
- metadata.gz: ca959a25d9b0e8087a25fd0fc7ff23304d76e7947c4c4585cf705a1294f454847259f6b4c64c2106661b5e68cc2dd73feca5729baae4d9167019b63e4fc2ffd1
7
- data.tar.gz: d58a7b71bca21d50532e07cce88b02e4ba088aac27119c45a9639990bce050ea5ac65c7e49633fc3666fb3f67d88c884218b21fb6b1c66bd47264dea53b0fff7
6
+ metadata.gz: 4bc00d29bba054ffb9f96ee27c7e3fc539c6f2b5d87aa593f191b689b83b4db5f97fd0b3e5f17364606a4b6986734126e56a23c50f09288b16802820a51d87c5
7
+ data.tar.gz: 122a8ee5128f933075f5d9f1b6e67e0f8ff7c7b7261a5a09abeca28b48f6119def000476314a3d158e4ea21dbb9a16776ce33426ce64ef1ac95d3d9d1ea54466
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.47.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.46.0 (2024-01-16)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.46.0
1
+ 1.47.0
@@ -761,7 +761,7 @@ module Aws::PersonalizeRuntime
761
761
  params: params,
762
762
  config: config)
763
763
  context[:gem_name] = 'aws-sdk-personalizeruntime'
764
- context[:gem_version] = '1.46.0'
764
+ context[:gem_version] = '1.47.0'
765
765
  Seahorse::Client::Request.new(handlers, context)
766
766
  end
767
767
 
@@ -14,6 +14,7 @@ module Aws::PersonalizeRuntime
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::PersonalizeRuntime::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-personalizeruntime/customizations'
52
52
  # @!group service
53
53
  module Aws::PersonalizeRuntime
54
54
 
55
- GEM_VERSION = '1.46.0'
55
+ GEM_VERSION = '1.47.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,136 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module PersonalizeRuntime
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PersonalizeRuntime/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _GetActionRecommendationsResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetActionRecommendationsResponse]
77
+ def action_list: () -> ::Array[Types::PredictedAction]
78
+ def recommendation_id: () -> ::String
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PersonalizeRuntime/Client.html#get_action_recommendations-instance_method
81
+ def get_action_recommendations: (
82
+ ?campaign_arn: ::String,
83
+ ?user_id: ::String,
84
+ ?num_results: ::Integer,
85
+ ?filter_arn: ::String,
86
+ ?filter_values: Hash[::String, ::String]
87
+ ) -> _GetActionRecommendationsResponseSuccess
88
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetActionRecommendationsResponseSuccess
89
+
90
+ interface _GetPersonalizedRankingResponseSuccess
91
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPersonalizedRankingResponse]
92
+ def personalized_ranking: () -> ::Array[Types::PredictedItem]
93
+ def recommendation_id: () -> ::String
94
+ end
95
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PersonalizeRuntime/Client.html#get_personalized_ranking-instance_method
96
+ def get_personalized_ranking: (
97
+ campaign_arn: ::String,
98
+ input_list: Array[::String],
99
+ user_id: ::String,
100
+ ?context: Hash[::String, ::String],
101
+ ?filter_arn: ::String,
102
+ ?filter_values: Hash[::String, ::String],
103
+ ?metadata_columns: Hash[::String, Array[::String]]
104
+ ) -> _GetPersonalizedRankingResponseSuccess
105
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPersonalizedRankingResponseSuccess
106
+
107
+ interface _GetRecommendationsResponseSuccess
108
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRecommendationsResponse]
109
+ def item_list: () -> ::Array[Types::PredictedItem]
110
+ def recommendation_id: () -> ::String
111
+ end
112
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PersonalizeRuntime/Client.html#get_recommendations-instance_method
113
+ def get_recommendations: (
114
+ ?campaign_arn: ::String,
115
+ ?item_id: ::String,
116
+ ?user_id: ::String,
117
+ ?num_results: ::Integer,
118
+ ?context: Hash[::String, ::String],
119
+ ?filter_arn: ::String,
120
+ ?filter_values: Hash[::String, ::String],
121
+ ?recommender_arn: ::String,
122
+ ?promotions: Array[
123
+ {
124
+ name: ::String?,
125
+ percent_promoted_items: ::Integer?,
126
+ filter_arn: ::String?,
127
+ filter_values: Hash[::String, ::String]?
128
+ },
129
+ ],
130
+ ?metadata_columns: Hash[::String, Array[::String]]
131
+ ) -> _GetRecommendationsResponseSuccess
132
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRecommendationsResponseSuccess
133
+ end
134
+ end
135
+ end
136
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,22 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module PersonalizeRuntime
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class InvalidInputException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ end
21
+ end
22
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,79 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module PersonalizeRuntime
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PersonalizeRuntime/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PersonalizeRuntime/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> void
72
+ | (?Hash[Symbol, untyped]) -> void
73
+
74
+ def client: () -> Client
75
+
76
+
77
+ end
78
+ end
79
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,95 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::PersonalizeRuntime
9
+ module Types
10
+
11
+ class GetActionRecommendationsRequest
12
+ attr_accessor campaign_arn: ::String
13
+ attr_accessor user_id: ::String
14
+ attr_accessor num_results: ::Integer
15
+ attr_accessor filter_arn: ::String
16
+ attr_accessor filter_values: ::Hash[::String, ::String]
17
+ SENSITIVE: []
18
+ end
19
+
20
+ class GetActionRecommendationsResponse
21
+ attr_accessor action_list: ::Array[Types::PredictedAction]
22
+ attr_accessor recommendation_id: ::String
23
+ SENSITIVE: []
24
+ end
25
+
26
+ class GetPersonalizedRankingRequest
27
+ attr_accessor campaign_arn: ::String
28
+ attr_accessor input_list: ::Array[::String]
29
+ attr_accessor user_id: ::String
30
+ attr_accessor context: ::Hash[::String, ::String]
31
+ attr_accessor filter_arn: ::String
32
+ attr_accessor filter_values: ::Hash[::String, ::String]
33
+ attr_accessor metadata_columns: ::Hash[::String, ::Array[::String]]
34
+ SENSITIVE: []
35
+ end
36
+
37
+ class GetPersonalizedRankingResponse
38
+ attr_accessor personalized_ranking: ::Array[Types::PredictedItem]
39
+ attr_accessor recommendation_id: ::String
40
+ SENSITIVE: []
41
+ end
42
+
43
+ class GetRecommendationsRequest
44
+ attr_accessor campaign_arn: ::String
45
+ attr_accessor item_id: ::String
46
+ attr_accessor user_id: ::String
47
+ attr_accessor num_results: ::Integer
48
+ attr_accessor context: ::Hash[::String, ::String]
49
+ attr_accessor filter_arn: ::String
50
+ attr_accessor filter_values: ::Hash[::String, ::String]
51
+ attr_accessor recommender_arn: ::String
52
+ attr_accessor promotions: ::Array[Types::Promotion]
53
+ attr_accessor metadata_columns: ::Hash[::String, ::Array[::String]]
54
+ SENSITIVE: []
55
+ end
56
+
57
+ class GetRecommendationsResponse
58
+ attr_accessor item_list: ::Array[Types::PredictedItem]
59
+ attr_accessor recommendation_id: ::String
60
+ SENSITIVE: []
61
+ end
62
+
63
+ class InvalidInputException
64
+ attr_accessor message: ::String
65
+ SENSITIVE: []
66
+ end
67
+
68
+ class PredictedAction
69
+ attr_accessor action_id: ::String
70
+ attr_accessor score: ::Float
71
+ SENSITIVE: []
72
+ end
73
+
74
+ class PredictedItem
75
+ attr_accessor item_id: ::String
76
+ attr_accessor score: ::Float
77
+ attr_accessor promotion_name: ::String
78
+ attr_accessor metadata: ::Hash[::String, ::String]
79
+ SENSITIVE: []
80
+ end
81
+
82
+ class Promotion
83
+ attr_accessor name: ::String
84
+ attr_accessor percent_promoted_items: ::Integer
85
+ attr_accessor filter_arn: ::String
86
+ attr_accessor filter_values: ::Hash[::String, ::String]
87
+ SENSITIVE: []
88
+ end
89
+
90
+ class ResourceNotFoundException
91
+ attr_accessor message: ::String
92
+ SENSITIVE: []
93
+ end
94
+ end
95
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module PersonalizeRuntime
10
+ module Waiters
11
+ end
12
+ end
13
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-personalizeruntime
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: 2024-01-16 00:00:00.000000000 Z
11
+ date: 2024-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.188.0
22
+ version: 3.191.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.188.0
32
+ version: 3.191.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -66,6 +66,11 @@ files:
66
66
  - lib/aws-sdk-personalizeruntime/plugins/endpoints.rb
67
67
  - lib/aws-sdk-personalizeruntime/resource.rb
68
68
  - lib/aws-sdk-personalizeruntime/types.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
69
74
  homepage: https://github.com/aws/aws-sdk-ruby
70
75
  licenses:
71
76
  - Apache-2.0