aws-sdk-supplychain 1.18.0 → 1.19.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-supplychain/client.rb +109 -26
- data/lib/aws-sdk-supplychain/client_api.rb +1 -0
- data/lib/aws-sdk-supplychain/types.rb +8 -0
- data/lib/aws-sdk-supplychain.rb +1 -1
- data/sig/types.rbs +1 -0
- 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: 6de64e3122dd8aa459e01a0ab6fd727d40bf51caeca5aa0d4d273ef24eccbfac
|
4
|
+
data.tar.gz: 916e60ec8e31688fadbe4b759d6c9fbd37419bee3679df701e70bcf292f0f73e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22608c92f02fa4baeae0ad8583ab67f6868650c4d652de74a9b6d62e36d0f54b1ce6ceee8331f06bf5c7a4640f06c1ca2c64b9c509cf571ccdc34b3d8940bfb8
|
7
|
+
data.tar.gz: a27537297a59c5c6ff0133ddd379c6b970af59ace0732856770b0ebf0e69b612e29b9e01f3350f4d880b230603e210f355f3d721ad163ac66ec13cc1c79148cf
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.19.0
|
@@ -515,8 +515,11 @@ module Aws::SupplyChain
|
|
515
515
|
req.send_request(options)
|
516
516
|
end
|
517
517
|
|
518
|
-
#
|
519
|
-
#
|
518
|
+
# Enables you to programmatically create a data pipeline to ingest data
|
519
|
+
# from source systems such as Amazon S3 buckets, to a predefined Amazon
|
520
|
+
# Web Services Supply Chain dataset (product, inbound\_order) or a
|
521
|
+
# temporary dataset along with the data transformation query provided
|
522
|
+
# with the API.
|
520
523
|
#
|
521
524
|
# @option params [required, String] :instance_id
|
522
525
|
# The Amazon Web Services Supply Chain instance identifier.
|
@@ -691,7 +694,10 @@ module Aws::SupplyChain
|
|
691
694
|
req.send_request(options)
|
692
695
|
end
|
693
696
|
|
694
|
-
#
|
697
|
+
# Enables you to programmatically create an Amazon Web Services Supply
|
698
|
+
# Chain data lake dataset. Developers can create the datasets using
|
699
|
+
# their pre-defined or custom schema for a given instance ID, namespace,
|
700
|
+
# and dataset name.
|
695
701
|
#
|
696
702
|
# @option params [required, String] :instance_id
|
697
703
|
# The Amazon Web Services Supply Chain instance identifier.
|
@@ -1036,12 +1042,18 @@ module Aws::SupplyChain
|
|
1036
1042
|
req.send_request(options)
|
1037
1043
|
end
|
1038
1044
|
|
1039
|
-
#
|
1040
|
-
#
|
1041
|
-
#
|
1042
|
-
#
|
1043
|
-
#
|
1044
|
-
#
|
1045
|
+
# Enables you to programmatically create an Amazon Web Services Supply
|
1046
|
+
# Chain instance by applying KMS keys and relevant information
|
1047
|
+
# associated with the API without using the Amazon Web Services console.
|
1048
|
+
#
|
1049
|
+
# This is an asynchronous operation. Upon receiving a CreateInstance
|
1050
|
+
# request, Amazon Web Services Supply Chain immediately returns the
|
1051
|
+
# instance resource, instance ID, and the initializing state while
|
1052
|
+
# simultaneously creating all required Amazon Web Services resources for
|
1053
|
+
# an instance creation. You can use GetInstance to check the status of
|
1054
|
+
# the instance. If the instance results in an unhealthy state, you need
|
1055
|
+
# to check the error message, delete the current instance, and recreate
|
1056
|
+
# a new one based on the mitigation from the error message.
|
1045
1057
|
#
|
1046
1058
|
# @option params [String] :instance_name
|
1047
1059
|
# The AWS Supply Chain instance name.
|
@@ -1131,6 +1143,7 @@ module Aws::SupplyChain
|
|
1131
1143
|
# resp.instance.instance_id #=> String
|
1132
1144
|
# resp.instance.aws_account_id #=> String
|
1133
1145
|
# resp.instance.state #=> String, one of "Initializing", "Active", "CreateFailed", "DeleteFailed", "Deleting", "Deleted"
|
1146
|
+
# resp.instance.error_message #=> String
|
1134
1147
|
# resp.instance.web_app_dns_domain #=> String
|
1135
1148
|
# resp.instance.created_time #=> Time
|
1136
1149
|
# resp.instance.last_modified_time #=> Time
|
@@ -1148,7 +1161,9 @@ module Aws::SupplyChain
|
|
1148
1161
|
req.send_request(options)
|
1149
1162
|
end
|
1150
1163
|
|
1151
|
-
#
|
1164
|
+
# Enable you to programmatically delete an existing data pipeline for
|
1165
|
+
# the provided Amazon Web Services Supply Chain instance and
|
1166
|
+
# DataIntegrationFlow name.
|
1152
1167
|
#
|
1153
1168
|
# @option params [required, String] :instance_id
|
1154
1169
|
# The Amazon Web Services Supply Chain instance identifier.
|
@@ -1196,7 +1211,9 @@ module Aws::SupplyChain
|
|
1196
1211
|
req.send_request(options)
|
1197
1212
|
end
|
1198
1213
|
|
1199
|
-
#
|
1214
|
+
# Enables you to programmatically delete an Amazon Web Services Supply
|
1215
|
+
# Chain data lake dataset. Developers can delete the existing datasets
|
1216
|
+
# for a given instance ID, namespace, and instance name.
|
1200
1217
|
#
|
1201
1218
|
# @option params [required, String] :instance_id
|
1202
1219
|
# The AWS Supply Chain instance identifier.
|
@@ -1280,8 +1297,12 @@ module Aws::SupplyChain
|
|
1280
1297
|
req.send_request(options)
|
1281
1298
|
end
|
1282
1299
|
|
1283
|
-
#
|
1284
|
-
#
|
1300
|
+
# Enables you to programmatically delete an Amazon Web Services Supply
|
1301
|
+
# Chain instance by deleting the KMS keys and relevant information
|
1302
|
+
# associated with the API without using the Amazon Web Services console.
|
1303
|
+
#
|
1304
|
+
# This is an asynchronous operation. Upon receiving a DeleteInstance
|
1305
|
+
# request, Amazon Web Services Supply Chain immediately returns a
|
1285
1306
|
# response with the instance resource, delete state while cleaning up
|
1286
1307
|
# all Amazon Web Services resources created during the instance creation
|
1287
1308
|
# process. You can use the GetInstance action to check the instance
|
@@ -1327,6 +1348,7 @@ module Aws::SupplyChain
|
|
1327
1348
|
# resp.instance.instance_id #=> String
|
1328
1349
|
# resp.instance.aws_account_id #=> String
|
1329
1350
|
# resp.instance.state #=> String, one of "Initializing", "Active", "CreateFailed", "DeleteFailed", "Deleting", "Deleted"
|
1351
|
+
# resp.instance.error_message #=> String
|
1330
1352
|
# resp.instance.web_app_dns_domain #=> String
|
1331
1353
|
# resp.instance.created_time #=> Time
|
1332
1354
|
# resp.instance.last_modified_time #=> Time
|
@@ -1416,7 +1438,9 @@ module Aws::SupplyChain
|
|
1416
1438
|
req.send_request(options)
|
1417
1439
|
end
|
1418
1440
|
|
1419
|
-
#
|
1441
|
+
# Enables you to programmatically view a specific data pipeline for the
|
1442
|
+
# provided Amazon Web Services Supply Chain instance and
|
1443
|
+
# DataIntegrationFlow name.
|
1420
1444
|
#
|
1421
1445
|
# @option params [required, String] :instance_id
|
1422
1446
|
# The Amazon Web Services Supply Chain instance identifier.
|
@@ -1509,7 +1533,10 @@ module Aws::SupplyChain
|
|
1509
1533
|
req.send_request(options)
|
1510
1534
|
end
|
1511
1535
|
|
1512
|
-
#
|
1536
|
+
# Enables you to programmatically view an Amazon Web Services Supply
|
1537
|
+
# Chain data lake dataset. Developers can view the data lake dataset
|
1538
|
+
# information such as namespace, schema, and so on for a given instance
|
1539
|
+
# ID, namespace, and dataset name.
|
1513
1540
|
#
|
1514
1541
|
# @option params [required, String] :instance_id
|
1515
1542
|
# The Amazon Web Services Supply Chain instance identifier.
|
@@ -1795,7 +1822,8 @@ module Aws::SupplyChain
|
|
1795
1822
|
req.send_request(options)
|
1796
1823
|
end
|
1797
1824
|
|
1798
|
-
#
|
1825
|
+
# Enables you to programmatically retrieve the information related to an
|
1826
|
+
# Amazon Web Services Supply Chain instance ID.
|
1799
1827
|
#
|
1800
1828
|
# @option params [required, String] :instance_id
|
1801
1829
|
# The AWS Supply Chain instance identifier
|
@@ -1826,6 +1854,28 @@ module Aws::SupplyChain
|
|
1826
1854
|
# },
|
1827
1855
|
# }
|
1828
1856
|
#
|
1857
|
+
# @example Example: Successful GetInstance request with error message
|
1858
|
+
#
|
1859
|
+
# resp = client.get_instance({
|
1860
|
+
# instance_id: "9e193580-7cc5-45f7-9609-c43ba0ada793",
|
1861
|
+
# })
|
1862
|
+
#
|
1863
|
+
# resp.to_h outputs the following:
|
1864
|
+
# {
|
1865
|
+
# instance: {
|
1866
|
+
# aws_account_id: "123456789012",
|
1867
|
+
# created_time: Time.parse(172615383136),
|
1868
|
+
# error_message: "Access denied when attempting to create an S3 bucket. Please correct your IAM policy and try again.",
|
1869
|
+
# instance_description: "example instance description",
|
1870
|
+
# instance_id: "9e193580-7cc5-45f7-9609-c43ba0ada793",
|
1871
|
+
# instance_name: "example instance name",
|
1872
|
+
# kms_key_arn: "arn:aws:kms:us-west-2:123456789012:key/b14ffc39-b7d4-45ab-991a-6257a7f0d24d",
|
1873
|
+
# last_modified_time: Time.parse(172615383136),
|
1874
|
+
# state: "CreateFailed",
|
1875
|
+
# version_number: 2.0,
|
1876
|
+
# },
|
1877
|
+
# }
|
1878
|
+
#
|
1829
1879
|
# @example Request syntax with placeholder values
|
1830
1880
|
#
|
1831
1881
|
# resp = client.get_instance({
|
@@ -1837,6 +1887,7 @@ module Aws::SupplyChain
|
|
1837
1887
|
# resp.instance.instance_id #=> String
|
1838
1888
|
# resp.instance.aws_account_id #=> String
|
1839
1889
|
# resp.instance.state #=> String, one of "Initializing", "Active", "CreateFailed", "DeleteFailed", "Deleting", "Deleted"
|
1890
|
+
# resp.instance.error_message #=> String
|
1840
1891
|
# resp.instance.web_app_dns_domain #=> String
|
1841
1892
|
# resp.instance.created_time #=> Time
|
1842
1893
|
# resp.instance.last_modified_time #=> Time
|
@@ -1854,7 +1905,8 @@ module Aws::SupplyChain
|
|
1854
1905
|
req.send_request(options)
|
1855
1906
|
end
|
1856
1907
|
|
1857
|
-
#
|
1908
|
+
# Enables you to programmatically list all data pipelines for the
|
1909
|
+
# provided Amazon Web Services Supply Chain instance.
|
1858
1910
|
#
|
1859
1911
|
# @option params [required, String] :instance_id
|
1860
1912
|
# The Amazon Web Services Supply Chain instance identifier.
|
@@ -1993,7 +2045,10 @@ module Aws::SupplyChain
|
|
1993
2045
|
req.send_request(options)
|
1994
2046
|
end
|
1995
2047
|
|
1996
|
-
#
|
2048
|
+
# Enables you to programmatically view the list of Amazon Web Services
|
2049
|
+
# Supply Chain data lake datasets. Developers can view the datasets and
|
2050
|
+
# the corresponding information such as namespace, schema, and so on for
|
2051
|
+
# a given instance ID and namespace.
|
1997
2052
|
#
|
1998
2053
|
# @option params [required, String] :instance_id
|
1999
2054
|
# The Amazon Web Services Supply Chain instance identifier.
|
@@ -2309,7 +2364,10 @@ module Aws::SupplyChain
|
|
2309
2364
|
req.send_request(options)
|
2310
2365
|
end
|
2311
2366
|
|
2312
|
-
# List all
|
2367
|
+
# List all Amazon Web Services Supply Chain instances for a specific
|
2368
|
+
# account. Enables you to programmatically list all Amazon Web Services
|
2369
|
+
# Supply Chain instances based on their account ID, instance name, and
|
2370
|
+
# state of the instance (active or delete).
|
2313
2371
|
#
|
2314
2372
|
# @option params [String] :next_token
|
2315
2373
|
# The pagination token to fetch the next page of instances.
|
@@ -2454,6 +2512,7 @@ module Aws::SupplyChain
|
|
2454
2512
|
# resp.instances[0].instance_id #=> String
|
2455
2513
|
# resp.instances[0].aws_account_id #=> String
|
2456
2514
|
# resp.instances[0].state #=> String, one of "Initializing", "Active", "CreateFailed", "DeleteFailed", "Deleting", "Deleted"
|
2515
|
+
# resp.instances[0].error_message #=> String
|
2457
2516
|
# resp.instances[0].web_app_dns_domain #=> String
|
2458
2517
|
# resp.instances[0].created_time #=> Time
|
2459
2518
|
# resp.instances[0].last_modified_time #=> Time
|
@@ -2472,7 +2531,11 @@ module Aws::SupplyChain
|
|
2472
2531
|
req.send_request(options)
|
2473
2532
|
end
|
2474
2533
|
|
2475
|
-
# List all the tags for an Amazon Web ServicesSupply Chain resource.
|
2534
|
+
# List all the tags for an Amazon Web ServicesSupply Chain resource. You
|
2535
|
+
# can list all the tags added to a resource. By listing the tags,
|
2536
|
+
# developers can view the tag level information on a resource and
|
2537
|
+
# perform actions such as, deleting a resource associated with a
|
2538
|
+
# particular tag.
|
2476
2539
|
#
|
2477
2540
|
# @option params [required, String] :resource_arn
|
2478
2541
|
# The Amazon Web Services Supply chain resource ARN that needs tags to
|
@@ -2804,7 +2867,12 @@ module Aws::SupplyChain
|
|
2804
2867
|
req.send_request(options)
|
2805
2868
|
end
|
2806
2869
|
|
2807
|
-
#
|
2870
|
+
# You can create tags during or after creating a resource such as
|
2871
|
+
# instance, data flow, or dataset in AWS Supply chain. During the data
|
2872
|
+
# ingestion process, you can add tags such as dev, test, or prod to data
|
2873
|
+
# flows created during the data ingestion process in the AWS Supply
|
2874
|
+
# Chain datasets. You can use these tags to identify a group of
|
2875
|
+
# resources or a single resource used by the developer.
|
2808
2876
|
#
|
2809
2877
|
# @option params [required, String] :resource_arn
|
2810
2878
|
# The Amazon Web Services Supply chain resource ARN that needs to be
|
@@ -2848,7 +2916,11 @@ module Aws::SupplyChain
|
|
2848
2916
|
req.send_request(options)
|
2849
2917
|
end
|
2850
2918
|
|
2851
|
-
#
|
2919
|
+
# You can delete tags for an Amazon Web Services Supply chain resource
|
2920
|
+
# such as instance, data flow, or dataset in AWS Supply Chain. During
|
2921
|
+
# the data ingestion process, you can delete tags such as dev, test, or
|
2922
|
+
# prod to data flows created during the data ingestion process in the
|
2923
|
+
# AWS Supply Chain datasets.
|
2852
2924
|
#
|
2853
2925
|
# @option params [required, String] :resource_arn
|
2854
2926
|
# The Amazon Web Services Supply chain resource ARN that needs to be
|
@@ -2890,7 +2962,11 @@ module Aws::SupplyChain
|
|
2890
2962
|
req.send_request(options)
|
2891
2963
|
end
|
2892
2964
|
|
2893
|
-
#
|
2965
|
+
# Enables you to programmatically update an existing data pipeline to
|
2966
|
+
# ingest data from the source systems such as, Amazon S3 buckets, to a
|
2967
|
+
# predefined Amazon Web Services Supply Chain dataset (product,
|
2968
|
+
# inbound\_order) or a temporary dataset along with the data
|
2969
|
+
# transformation query provided with the API.
|
2894
2970
|
#
|
2895
2971
|
# @option params [required, String] :instance_id
|
2896
2972
|
# The Amazon Web Services Supply Chain instance identifier.
|
@@ -3130,7 +3206,10 @@ module Aws::SupplyChain
|
|
3130
3206
|
req.send_request(options)
|
3131
3207
|
end
|
3132
3208
|
|
3133
|
-
#
|
3209
|
+
# Enables you to programmatically update an Amazon Web Services Supply
|
3210
|
+
# Chain data lake dataset. Developers can update the description of a
|
3211
|
+
# data lake dataset for a given instance ID, namespace, and dataset
|
3212
|
+
# name.
|
3134
3213
|
#
|
3135
3214
|
# @option params [required, String] :instance_id
|
3136
3215
|
# The Amazon Web Services Chain instance identifier.
|
@@ -3422,7 +3501,10 @@ module Aws::SupplyChain
|
|
3422
3501
|
req.send_request(options)
|
3423
3502
|
end
|
3424
3503
|
|
3425
|
-
#
|
3504
|
+
# Enables you to programmatically update an Amazon Web Services Supply
|
3505
|
+
# Chain instance description by providing all the relevant information
|
3506
|
+
# such as account ID, instance ID and so on without using the AWS
|
3507
|
+
# console.
|
3426
3508
|
#
|
3427
3509
|
# @option params [required, String] :instance_id
|
3428
3510
|
# The AWS Supply Chain instance identifier.
|
@@ -3474,6 +3556,7 @@ module Aws::SupplyChain
|
|
3474
3556
|
# resp.instance.instance_id #=> String
|
3475
3557
|
# resp.instance.aws_account_id #=> String
|
3476
3558
|
# resp.instance.state #=> String, one of "Initializing", "Active", "CreateFailed", "DeleteFailed", "Deleting", "Deleted"
|
3559
|
+
# resp.instance.error_message #=> String
|
3477
3560
|
# resp.instance.web_app_dns_domain #=> String
|
3478
3561
|
# resp.instance.created_time #=> Time
|
3479
3562
|
# resp.instance.last_modified_time #=> Time
|
@@ -3509,7 +3592,7 @@ module Aws::SupplyChain
|
|
3509
3592
|
tracer: tracer
|
3510
3593
|
)
|
3511
3594
|
context[:gem_name] = 'aws-sdk-supplychain'
|
3512
|
-
context[:gem_version] = '1.
|
3595
|
+
context[:gem_version] = '1.19.0'
|
3513
3596
|
Seahorse::Client::Request.new(handlers, context)
|
3514
3597
|
end
|
3515
3598
|
|
@@ -321,6 +321,7 @@ module Aws::SupplyChain
|
|
321
321
|
Instance.add_member(:instance_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "instanceId"))
|
322
322
|
Instance.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location_name: "awsAccountId"))
|
323
323
|
Instance.add_member(:state, Shapes::ShapeRef.new(shape: InstanceState, required: true, location_name: "state"))
|
324
|
+
Instance.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "errorMessage"))
|
324
325
|
Instance.add_member(:web_app_dns_domain, Shapes::ShapeRef.new(shape: InstanceWebAppDnsDomain, location_name: "webAppDnsDomain"))
|
325
326
|
Instance.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdTime"))
|
326
327
|
Instance.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
|
@@ -951,6 +951,13 @@ module Aws::SupplyChain
|
|
951
951
|
# The state of the instance.
|
952
952
|
# @return [String]
|
953
953
|
#
|
954
|
+
# @!attribute [rw] error_message
|
955
|
+
# The Amazon Web Services Supply Chain instance error message. If the
|
956
|
+
# instance results in an unhealthy state, customers need to check the
|
957
|
+
# error message, delete the current instance, and recreate a new one
|
958
|
+
# based on the mitigation from the error message.
|
959
|
+
# @return [String]
|
960
|
+
#
|
954
961
|
# @!attribute [rw] web_app_dns_domain
|
955
962
|
# The WebApp DNS domain name of the instance.
|
956
963
|
# @return [String]
|
@@ -988,6 +995,7 @@ module Aws::SupplyChain
|
|
988
995
|
:instance_id,
|
989
996
|
:aws_account_id,
|
990
997
|
:state,
|
998
|
+
:error_message,
|
991
999
|
:web_app_dns_domain,
|
992
1000
|
:created_time,
|
993
1001
|
:last_modified_time,
|
data/lib/aws-sdk-supplychain.rb
CHANGED
data/sig/types.rbs
CHANGED
@@ -267,6 +267,7 @@ module Aws::SupplyChain
|
|
267
267
|
attr_accessor instance_id: ::String
|
268
268
|
attr_accessor aws_account_id: ::String
|
269
269
|
attr_accessor state: ("Initializing" | "Active" | "CreateFailed" | "DeleteFailed" | "Deleting" | "Deleted")
|
270
|
+
attr_accessor error_message: ::String
|
270
271
|
attr_accessor web_app_dns_domain: ::String
|
271
272
|
attr_accessor created_time: ::Time
|
272
273
|
attr_accessor last_modified_time: ::Time
|
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.19.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-10-
|
11
|
+
date: 2024-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|