aws-sdk-supplychain 1.8.0 → 1.10.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-supplychain/client.rb +31 -5
- data/lib/aws-sdk-supplychain/client_api.rb +2 -1
- data/lib/aws-sdk-supplychain/types.rb +7 -1
- data/lib/aws-sdk-supplychain.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/resource.rbs +1 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c513103e81496008833078cb08b78f572f43901223c6c828b541cf33d9d3b65c
|
4
|
+
data.tar.gz: 3b28eb8800faec28445b8b99511688da9cd9b9b7fb4dd43831b963adfb5d6819
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20ec751f50d57e9e8e1e828622993e45752a69354c123371e67b494e7dcdb7f08d4b59589b2e8bd1102136203698db1e0c0c87f705b3d075e06a606909a5a7f4
|
7
|
+
data.tar.gz: cffa589ac0678f5cd44e7740c74eaffa4ffccd384899e511b65419a2b6c2539deb548be4a3d5af007ca5bb1be39cf1e54a35ba34de5fa2b54db0d10f7f53dae0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.10.0 (2024-09-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.9.0 (2024-08-23)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Update API documentation to clarify the event SLA as well as the data model expectations
|
13
|
+
|
4
14
|
1.8.0 (2024-07-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.10.0
|
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
|
32
32
|
require 'aws-sdk-core/plugins/request_compression.rb'
|
33
33
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
34
34
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
35
|
+
require 'aws-sdk-core/plugins/telemetry.rb'
|
35
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
36
37
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
37
38
|
|
@@ -83,6 +84,7 @@ module Aws::SupplyChain
|
|
83
84
|
add_plugin(Aws::Plugins::RequestCompression)
|
84
85
|
add_plugin(Aws::Plugins::DefaultsMode)
|
85
86
|
add_plugin(Aws::Plugins::RecursionDetection)
|
87
|
+
add_plugin(Aws::Plugins::Telemetry)
|
86
88
|
add_plugin(Aws::Plugins::Sign)
|
87
89
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
88
90
|
add_plugin(Aws::SupplyChain::Plugins::Endpoints)
|
@@ -330,6 +332,16 @@ module Aws::SupplyChain
|
|
330
332
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
331
333
|
# requests are made, and retries are disabled.
|
332
334
|
#
|
335
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
336
|
+
# Allows you to provide a telemetry provider, which is used to
|
337
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
338
|
+
# will not record or emit any telemetry data. The SDK supports the
|
339
|
+
# following telemetry providers:
|
340
|
+
#
|
341
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
342
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
343
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
344
|
+
#
|
333
345
|
# @option options [Aws::TokenProvider] :token_provider
|
334
346
|
# A Bearer Token Provider. This can be an instance of any one of the
|
335
347
|
# following classes:
|
@@ -557,8 +569,12 @@ module Aws::SupplyChain
|
|
557
569
|
req.send_request(options)
|
558
570
|
end
|
559
571
|
|
560
|
-
# Send transactional data
|
561
|
-
# monitoring.
|
572
|
+
# Send the transactional data payload for the event with real-time data
|
573
|
+
# for analysis or monitoring. The real-time data events are stored in an
|
574
|
+
# Amazon Web Services service before being processed and stored in data
|
575
|
+
# lake. New data events are synced with data lake at 5 PM GMT everyday.
|
576
|
+
# The updated transactional data is available in data lake after
|
577
|
+
# ingestion.
|
562
578
|
#
|
563
579
|
# @option params [required, String] :instance_id
|
564
580
|
# The AWS Supply Chain instance identifier.
|
@@ -567,7 +583,12 @@ module Aws::SupplyChain
|
|
567
583
|
# The data event type.
|
568
584
|
#
|
569
585
|
# @option params [required, String] :data
|
570
|
-
# The data payload of the event.
|
586
|
+
# The data payload of the event. For more information on the data schema
|
587
|
+
# to use, see [Data entities supported in AWS Supply Chain ][1].
|
588
|
+
#
|
589
|
+
#
|
590
|
+
#
|
591
|
+
# [1]: https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html
|
571
592
|
#
|
572
593
|
# @option params [required, String] :event_group_id
|
573
594
|
# Event identifier (for example, orderId for InboundOrder) used for data
|
@@ -842,14 +863,19 @@ module Aws::SupplyChain
|
|
842
863
|
# @api private
|
843
864
|
def build_request(operation_name, params = {})
|
844
865
|
handlers = @handlers.for(operation_name)
|
866
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
867
|
+
Aws::Telemetry.module_to_tracer_name('Aws::SupplyChain')
|
868
|
+
)
|
845
869
|
context = Seahorse::Client::RequestContext.new(
|
846
870
|
operation_name: operation_name,
|
847
871
|
operation: config.api.operation(operation_name),
|
848
872
|
client: self,
|
849
873
|
params: params,
|
850
|
-
config: config
|
874
|
+
config: config,
|
875
|
+
tracer: tracer
|
876
|
+
)
|
851
877
|
context[:gem_name] = 'aws-sdk-supplychain'
|
852
|
-
context[:gem_version] = '1.
|
878
|
+
context[:gem_version] = '1.10.0'
|
853
879
|
Seahorse::Client::Request.new(handlers, context)
|
854
880
|
end
|
855
881
|
|
@@ -99,9 +99,10 @@ module Aws::SupplyChain
|
|
99
99
|
|
100
100
|
api.metadata = {
|
101
101
|
"apiVersion" => "2024-01-01",
|
102
|
+
"auth" => ["aws.auth#sigv4"],
|
102
103
|
"endpointPrefix" => "scn",
|
103
|
-
"jsonVersion" => "1.1",
|
104
104
|
"protocol" => "rest-json",
|
105
|
+
"protocols" => ["rest-json"],
|
105
106
|
"serviceFullName" => "AWS Supply Chain",
|
106
107
|
"serviceId" => "SupplyChain",
|
107
108
|
"signatureVersion" => "v4",
|
@@ -183,7 +183,13 @@ module Aws::SupplyChain
|
|
183
183
|
# @return [String]
|
184
184
|
#
|
185
185
|
# @!attribute [rw] data
|
186
|
-
# The data payload of the event.
|
186
|
+
# The data payload of the event. For more information on the data
|
187
|
+
# schema to use, see [Data entities supported in AWS Supply Chain
|
188
|
+
# ][1].
|
189
|
+
#
|
190
|
+
#
|
191
|
+
#
|
192
|
+
# [1]: https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html
|
187
193
|
# @return [String]
|
188
194
|
#
|
189
195
|
# @!attribute [rw] event_group_id
|
data/lib/aws-sdk-supplychain.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -50,6 +50,7 @@ module Aws
|
|
50
50
|
?session_token: String,
|
51
51
|
?sigv4a_signing_region_set: Array[String],
|
52
52
|
?stub_responses: untyped,
|
53
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
53
54
|
?token_provider: untyped,
|
54
55
|
?use_dualstack_endpoint: bool,
|
55
56
|
?use_fips_endpoint: bool,
|
data/sig/resource.rbs
CHANGED
@@ -50,6 +50,7 @@ module Aws
|
|
50
50
|
?session_token: String,
|
51
51
|
?sigv4a_signing_region_set: Array[String],
|
52
52
|
?stub_responses: untyped,
|
53
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
53
54
|
?token_provider: untyped,
|
54
55
|
?use_dualstack_endpoint: bool,
|
55
56
|
?use_fips_endpoint: bool,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-supplychain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.10.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-
|
11
|
+
date: 2024-09-03 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.
|
22
|
+
version: 3.203.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,21 +29,21 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.203.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '1.
|
39
|
+
version: '1.5'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '1.
|
46
|
+
version: '1.5'
|
47
47
|
description: Official AWS Ruby gem for AWS Supply Chain. This gem is part of the AWS
|
48
48
|
SDK for Ruby.
|
49
49
|
email:
|