aws-sdk-supplychain 1.16.0 → 1.18.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -249,6 +249,61 @@ module Aws::SupplyChain
249
249
  include Aws::Structure
250
250
  end
251
251
 
252
+ # The request parameters for CreateInstance.
253
+ #
254
+ # @!attribute [rw] instance_name
255
+ # The AWS Supply Chain instance name.
256
+ # @return [String]
257
+ #
258
+ # @!attribute [rw] instance_description
259
+ # The AWS Supply Chain instance description.
260
+ # @return [String]
261
+ #
262
+ # @!attribute [rw] kms_key_arn
263
+ # The ARN (Amazon Resource Name) of the Key Management Service (KMS)
264
+ # key you provide for encryption. This is required if you do not want
265
+ # to use the Amazon Web Services owned KMS key. If you don't provide
266
+ # anything here, AWS Supply Chain uses the Amazon Web Services owned
267
+ # KMS key.
268
+ # @return [String]
269
+ #
270
+ # @!attribute [rw] tags
271
+ # The Amazon Web Services tags of an instance to be created.
272
+ # @return [Hash<String,String>]
273
+ #
274
+ # @!attribute [rw] client_token
275
+ # The client token for idempotency.
276
+ #
277
+ # **A suitable default value is auto-generated.** You should normally
278
+ # not need to pass this option.
279
+ # @return [String]
280
+ #
281
+ # @see http://docs.aws.amazon.com/goto/WebAPI/supplychain-2024-01-01/CreateInstanceRequest AWS API Documentation
282
+ #
283
+ class CreateInstanceRequest < Struct.new(
284
+ :instance_name,
285
+ :instance_description,
286
+ :kms_key_arn,
287
+ :tags,
288
+ :client_token)
289
+ SENSITIVE = []
290
+ include Aws::Structure
291
+ end
292
+
293
+ # The response parameters for CreateInstance.
294
+ #
295
+ # @!attribute [rw] instance
296
+ # The AWS Supply Chain instance resource data details.
297
+ # @return [Types::Instance]
298
+ #
299
+ # @see http://docs.aws.amazon.com/goto/WebAPI/supplychain-2024-01-01/CreateInstanceResponse AWS API Documentation
300
+ #
301
+ class CreateInstanceResponse < Struct.new(
302
+ :instance)
303
+ SENSITIVE = []
304
+ include Aws::Structure
305
+ end
306
+
252
307
  # The DataIntegrationFlow details.
253
308
  #
254
309
  # @!attribute [rw] instance_id
@@ -706,6 +761,34 @@ module Aws::SupplyChain
706
761
  include Aws::Structure
707
762
  end
708
763
 
764
+ # The request parameters for DeleteInstance.
765
+ #
766
+ # @!attribute [rw] instance_id
767
+ # The AWS Supply Chain instance identifier.
768
+ # @return [String]
769
+ #
770
+ # @see http://docs.aws.amazon.com/goto/WebAPI/supplychain-2024-01-01/DeleteInstanceRequest AWS API Documentation
771
+ #
772
+ class DeleteInstanceRequest < Struct.new(
773
+ :instance_id)
774
+ SENSITIVE = []
775
+ include Aws::Structure
776
+ end
777
+
778
+ # The response parameters for DeleteInstance.
779
+ #
780
+ # @!attribute [rw] instance
781
+ # The AWS Supply Chain instance resource data details.
782
+ # @return [Types::Instance]
783
+ #
784
+ # @see http://docs.aws.amazon.com/goto/WebAPI/supplychain-2024-01-01/DeleteInstanceResponse AWS API Documentation
785
+ #
786
+ class DeleteInstanceResponse < Struct.new(
787
+ :instance)
788
+ SENSITIVE = []
789
+ include Aws::Structure
790
+ end
791
+
709
792
  # The request parameters for GetBillOfMaterialsImportJob.
710
793
  #
711
794
  # @!attribute [rw] instance_id
@@ -826,6 +909,96 @@ module Aws::SupplyChain
826
909
  include Aws::Structure
827
910
  end
828
911
 
912
+ # The request parameters for GetInstance.
913
+ #
914
+ # @!attribute [rw] instance_id
915
+ # The AWS Supply Chain instance identifier
916
+ # @return [String]
917
+ #
918
+ # @see http://docs.aws.amazon.com/goto/WebAPI/supplychain-2024-01-01/GetInstanceRequest AWS API Documentation
919
+ #
920
+ class GetInstanceRequest < Struct.new(
921
+ :instance_id)
922
+ SENSITIVE = []
923
+ include Aws::Structure
924
+ end
925
+
926
+ # The response parameters for GetInstance.
927
+ #
928
+ # @!attribute [rw] instance
929
+ # The instance resource data details.
930
+ # @return [Types::Instance]
931
+ #
932
+ # @see http://docs.aws.amazon.com/goto/WebAPI/supplychain-2024-01-01/GetInstanceResponse AWS API Documentation
933
+ #
934
+ class GetInstanceResponse < Struct.new(
935
+ :instance)
936
+ SENSITIVE = []
937
+ include Aws::Structure
938
+ end
939
+
940
+ # The details of the instance.
941
+ #
942
+ # @!attribute [rw] instance_id
943
+ # The Amazon Web Services Supply Chain instance identifier.
944
+ # @return [String]
945
+ #
946
+ # @!attribute [rw] aws_account_id
947
+ # The Amazon Web Services account ID that owns the instance.
948
+ # @return [String]
949
+ #
950
+ # @!attribute [rw] state
951
+ # The state of the instance.
952
+ # @return [String]
953
+ #
954
+ # @!attribute [rw] web_app_dns_domain
955
+ # The WebApp DNS domain name of the instance.
956
+ # @return [String]
957
+ #
958
+ # @!attribute [rw] created_time
959
+ # The instance creation timestamp.
960
+ # @return [Time]
961
+ #
962
+ # @!attribute [rw] last_modified_time
963
+ # The instance last modified timestamp.
964
+ # @return [Time]
965
+ #
966
+ # @!attribute [rw] instance_name
967
+ # The Amazon Web Services Supply Chain instance name.
968
+ # @return [String]
969
+ #
970
+ # @!attribute [rw] instance_description
971
+ # The Amazon Web Services Supply Chain instance description.
972
+ # @return [String]
973
+ #
974
+ # @!attribute [rw] kms_key_arn
975
+ # The ARN (Amazon Resource Name) of the Key Management Service (KMS)
976
+ # key you optionally provided for encryption. If you did not provide
977
+ # anything here, AWS Supply Chain uses the Amazon Web Services owned
978
+ # KMS key and nothing is returned.
979
+ # @return [String]
980
+ #
981
+ # @!attribute [rw] version_number
982
+ # The version number of the instance.
983
+ # @return [Float]
984
+ #
985
+ # @see http://docs.aws.amazon.com/goto/WebAPI/supplychain-2024-01-01/Instance AWS API Documentation
986
+ #
987
+ class Instance < Struct.new(
988
+ :instance_id,
989
+ :aws_account_id,
990
+ :state,
991
+ :web_app_dns_domain,
992
+ :created_time,
993
+ :last_modified_time,
994
+ :instance_name,
995
+ :instance_description,
996
+ :kms_key_arn,
997
+ :version_number)
998
+ SENSITIVE = []
999
+ include Aws::Structure
1000
+ end
1001
+
829
1002
  # Unexpected error during processing of request.
830
1003
  #
831
1004
  # @!attribute [rw] message
@@ -941,6 +1114,55 @@ module Aws::SupplyChain
941
1114
  include Aws::Structure
942
1115
  end
943
1116
 
1117
+ # The request parameters for ListInstances.
1118
+ #
1119
+ # @!attribute [rw] next_token
1120
+ # The pagination token to fetch the next page of instances.
1121
+ # @return [String]
1122
+ #
1123
+ # @!attribute [rw] max_results
1124
+ # Specify the maximum number of instances to fetch in this paginated
1125
+ # request.
1126
+ # @return [Integer]
1127
+ #
1128
+ # @!attribute [rw] instance_name_filter
1129
+ # The filter to ListInstances based on their names.
1130
+ # @return [Array<String>]
1131
+ #
1132
+ # @!attribute [rw] instance_state_filter
1133
+ # The filter to ListInstances based on their state.
1134
+ # @return [Array<String>]
1135
+ #
1136
+ # @see http://docs.aws.amazon.com/goto/WebAPI/supplychain-2024-01-01/ListInstancesRequest AWS API Documentation
1137
+ #
1138
+ class ListInstancesRequest < Struct.new(
1139
+ :next_token,
1140
+ :max_results,
1141
+ :instance_name_filter,
1142
+ :instance_state_filter)
1143
+ SENSITIVE = []
1144
+ include Aws::Structure
1145
+ end
1146
+
1147
+ # The response parameters for ListInstances.
1148
+ #
1149
+ # @!attribute [rw] instances
1150
+ # The list of instances resource data details.
1151
+ # @return [Array<Types::Instance>]
1152
+ #
1153
+ # @!attribute [rw] next_token
1154
+ # The pagination token to fetch the next page of instances.
1155
+ # @return [String]
1156
+ #
1157
+ # @see http://docs.aws.amazon.com/goto/WebAPI/supplychain-2024-01-01/ListInstancesResponse AWS API Documentation
1158
+ #
1159
+ class ListInstancesResponse < Struct.new(
1160
+ :instances,
1161
+ :next_token)
1162
+ SENSITIVE = []
1163
+ include Aws::Structure
1164
+ end
1165
+
944
1166
  # The request parameters of ListTagsForResource.
945
1167
  #
946
1168
  # @!attribute [rw] resource_arn
@@ -1233,6 +1455,44 @@ module Aws::SupplyChain
1233
1455
  include Aws::Structure
1234
1456
  end
1235
1457
 
1458
+ # The request parameters for UpdateInstance.
1459
+ #
1460
+ # @!attribute [rw] instance_id
1461
+ # The AWS Supply Chain instance identifier.
1462
+ # @return [String]
1463
+ #
1464
+ # @!attribute [rw] instance_name
1465
+ # The AWS Supply Chain instance name.
1466
+ # @return [String]
1467
+ #
1468
+ # @!attribute [rw] instance_description
1469
+ # The AWS Supply Chain instance description.
1470
+ # @return [String]
1471
+ #
1472
+ # @see http://docs.aws.amazon.com/goto/WebAPI/supplychain-2024-01-01/UpdateInstanceRequest AWS API Documentation
1473
+ #
1474
+ class UpdateInstanceRequest < Struct.new(
1475
+ :instance_id,
1476
+ :instance_name,
1477
+ :instance_description)
1478
+ SENSITIVE = []
1479
+ include Aws::Structure
1480
+ end
1481
+
1482
+ # The response parameters for UpdateInstance.
1483
+ #
1484
+ # @!attribute [rw] instance
1485
+ # The instance resource data details.
1486
+ # @return [Types::Instance]
1487
+ #
1488
+ # @see http://docs.aws.amazon.com/goto/WebAPI/supplychain-2024-01-01/UpdateInstanceResponse AWS API Documentation
1489
+ #
1490
+ class UpdateInstanceResponse < Struct.new(
1491
+ :instance)
1492
+ SENSITIVE = []
1493
+ include Aws::Structure
1494
+ end
1495
+
1236
1496
  # The input does not satisfy the constraints specified by an AWS
1237
1497
  # service.
1238
1498
  #
@@ -54,7 +54,7 @@ module Aws::SupplyChain
54
54
  autoload :EndpointProvider, 'aws-sdk-supplychain/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-supplychain/endpoints'
56
56
 
57
- GEM_VERSION = '1.16.0'
57
+ GEM_VERSION = '1.18.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -167,6 +167,20 @@ module Aws
167
167
  ) -> _CreateDataLakeDatasetResponseSuccess
168
168
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDataLakeDatasetResponseSuccess
169
169
 
170
+ interface _CreateInstanceResponseSuccess
171
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateInstanceResponse]
172
+ def instance: () -> Types::Instance
173
+ end
174
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupplyChain/Client.html#create_instance-instance_method
175
+ def create_instance: (
176
+ ?instance_name: ::String,
177
+ ?instance_description: ::String,
178
+ ?kms_key_arn: ::String,
179
+ ?tags: Hash[::String, ::String],
180
+ ?client_token: ::String
181
+ ) -> _CreateInstanceResponseSuccess
182
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateInstanceResponseSuccess
183
+
170
184
  interface _DeleteDataIntegrationFlowResponseSuccess
171
185
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDataIntegrationFlowResponse]
172
186
  def instance_id: () -> ::String
@@ -193,6 +207,16 @@ module Aws
193
207
  ) -> _DeleteDataLakeDatasetResponseSuccess
194
208
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDataLakeDatasetResponseSuccess
195
209
 
210
+ interface _DeleteInstanceResponseSuccess
211
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteInstanceResponse]
212
+ def instance: () -> Types::Instance
213
+ end
214
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupplyChain/Client.html#delete_instance-instance_method
215
+ def delete_instance: (
216
+ instance_id: ::String
217
+ ) -> _DeleteInstanceResponseSuccess
218
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteInstanceResponseSuccess
219
+
196
220
  interface _GetBillOfMaterialsImportJobResponseSuccess
197
221
  include ::Seahorse::Client::_ResponseSuccess[Types::GetBillOfMaterialsImportJobResponse]
198
222
  def job: () -> Types::BillOfMaterialsImportJob
@@ -227,6 +251,16 @@ module Aws
227
251
  ) -> _GetDataLakeDatasetResponseSuccess
228
252
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDataLakeDatasetResponseSuccess
229
253
 
254
+ interface _GetInstanceResponseSuccess
255
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetInstanceResponse]
256
+ def instance: () -> Types::Instance
257
+ end
258
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupplyChain/Client.html#get_instance-instance_method
259
+ def get_instance: (
260
+ instance_id: ::String
261
+ ) -> _GetInstanceResponseSuccess
262
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInstanceResponseSuccess
263
+
230
264
  interface _ListDataIntegrationFlowsResponseSuccess
231
265
  include ::Seahorse::Client::_ResponseSuccess[Types::ListDataIntegrationFlowsResponse]
232
266
  def flows: () -> ::Array[Types::DataIntegrationFlow]
@@ -254,6 +288,20 @@ module Aws
254
288
  ) -> _ListDataLakeDatasetsResponseSuccess
255
289
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDataLakeDatasetsResponseSuccess
256
290
 
291
+ interface _ListInstancesResponseSuccess
292
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListInstancesResponse]
293
+ def instances: () -> ::Array[Types::Instance]
294
+ def next_token: () -> ::String
295
+ end
296
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupplyChain/Client.html#list_instances-instance_method
297
+ def list_instances: (
298
+ ?next_token: ::String,
299
+ ?max_results: ::Integer,
300
+ ?instance_name_filter: Array[::String],
301
+ ?instance_state_filter: Array[("Initializing" | "Active" | "CreateFailed" | "DeleteFailed" | "Deleting" | "Deleted")]
302
+ ) -> _ListInstancesResponseSuccess
303
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInstancesResponseSuccess
304
+
257
305
  interface _ListTagsForResourceResponseSuccess
258
306
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
259
307
  def tags: () -> ::Hash[::String, ::String]
@@ -365,6 +413,18 @@ module Aws
365
413
  ?description: ::String
366
414
  ) -> _UpdateDataLakeDatasetResponseSuccess
367
415
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDataLakeDatasetResponseSuccess
416
+
417
+ interface _UpdateInstanceResponseSuccess
418
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateInstanceResponse]
419
+ def instance: () -> Types::Instance
420
+ end
421
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupplyChain/Client.html#update_instance-instance_method
422
+ def update_instance: (
423
+ instance_id: ::String,
424
+ ?instance_name: ::String,
425
+ ?instance_description: ::String
426
+ ) -> _UpdateInstanceResponseSuccess
427
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateInstanceResponseSuccess
368
428
  end
369
429
  end
370
430
  end
data/sig/types.rbs CHANGED
@@ -70,6 +70,20 @@ module Aws::SupplyChain
70
70
  SENSITIVE: []
71
71
  end
72
72
 
73
+ class CreateInstanceRequest
74
+ attr_accessor instance_name: ::String
75
+ attr_accessor instance_description: ::String
76
+ attr_accessor kms_key_arn: ::String
77
+ attr_accessor tags: ::Hash[::String, ::String]
78
+ attr_accessor client_token: ::String
79
+ SENSITIVE: []
80
+ end
81
+
82
+ class CreateInstanceResponse
83
+ attr_accessor instance: Types::Instance
84
+ SENSITIVE: []
85
+ end
86
+
73
87
  class DataIntegrationFlow
74
88
  attr_accessor instance_id: ::String
75
89
  attr_accessor name: ::String
@@ -195,6 +209,16 @@ module Aws::SupplyChain
195
209
  SENSITIVE: []
196
210
  end
197
211
 
212
+ class DeleteInstanceRequest
213
+ attr_accessor instance_id: ::String
214
+ SENSITIVE: []
215
+ end
216
+
217
+ class DeleteInstanceResponse
218
+ attr_accessor instance: Types::Instance
219
+ SENSITIVE: []
220
+ end
221
+
198
222
  class GetBillOfMaterialsImportJobRequest
199
223
  attr_accessor instance_id: ::String
200
224
  attr_accessor job_id: ::String
@@ -229,6 +253,30 @@ module Aws::SupplyChain
229
253
  SENSITIVE: []
230
254
  end
231
255
 
256
+ class GetInstanceRequest
257
+ attr_accessor instance_id: ::String
258
+ SENSITIVE: []
259
+ end
260
+
261
+ class GetInstanceResponse
262
+ attr_accessor instance: Types::Instance
263
+ SENSITIVE: []
264
+ end
265
+
266
+ class Instance
267
+ attr_accessor instance_id: ::String
268
+ attr_accessor aws_account_id: ::String
269
+ attr_accessor state: ("Initializing" | "Active" | "CreateFailed" | "DeleteFailed" | "Deleting" | "Deleted")
270
+ attr_accessor web_app_dns_domain: ::String
271
+ attr_accessor created_time: ::Time
272
+ attr_accessor last_modified_time: ::Time
273
+ attr_accessor instance_name: ::String
274
+ attr_accessor instance_description: ::String
275
+ attr_accessor kms_key_arn: ::String
276
+ attr_accessor version_number: ::Float
277
+ SENSITIVE: []
278
+ end
279
+
232
280
  class InternalServerException
233
281
  attr_accessor message: ::String
234
282
  SENSITIVE: []
@@ -261,6 +309,20 @@ module Aws::SupplyChain
261
309
  SENSITIVE: []
262
310
  end
263
311
 
312
+ class ListInstancesRequest
313
+ attr_accessor next_token: ::String
314
+ attr_accessor max_results: ::Integer
315
+ attr_accessor instance_name_filter: ::Array[::String]
316
+ attr_accessor instance_state_filter: ::Array[("Initializing" | "Active" | "CreateFailed" | "DeleteFailed" | "Deleting" | "Deleted")]
317
+ SENSITIVE: []
318
+ end
319
+
320
+ class ListInstancesResponse
321
+ attr_accessor instances: ::Array[Types::Instance]
322
+ attr_accessor next_token: ::String
323
+ SENSITIVE: []
324
+ end
325
+
264
326
  class ListTagsForResourceRequest
265
327
  attr_accessor resource_arn: ::String
266
328
  SENSITIVE: []
@@ -346,6 +408,18 @@ module Aws::SupplyChain
346
408
  SENSITIVE: []
347
409
  end
348
410
 
411
+ class UpdateInstanceRequest
412
+ attr_accessor instance_id: ::String
413
+ attr_accessor instance_name: ::String
414
+ attr_accessor instance_description: ::String
415
+ SENSITIVE: []
416
+ end
417
+
418
+ class UpdateInstanceResponse
419
+ attr_accessor instance: Types::Instance
420
+ SENSITIVE: []
421
+ end
422
+
349
423
  class ValidationException
350
424
  attr_accessor message: ::String
351
425
  SENSITIVE: []
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.16.0
4
+ version: 1.18.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-09-30 00:00:00.000000000 Z
11
+ date: 2024-10-18 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.207.0
22
+ version: 3.210.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.207.0
32
+ version: 3.210.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement