aws-sdk-b2bi 1.2.0 → 1.3.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: 5a83c50c08435033fa539268b9978cf604567bc915ed9776065caf028e5d5b67
4
- data.tar.gz: 436a23c7679dcde90db5a3e13d227916e054179c743e3eb0506042c13a9ec5d4
3
+ metadata.gz: 8159efce06dfd87e91abeec77fc51bcb3bdfd43d40e1c9c4d58ddeef19799b08
4
+ data.tar.gz: 79850f073f9a42be4c47060d626aed5c3ebf949ef9ff3495995b6a58ffec4f6d
5
5
  SHA512:
6
- metadata.gz: b707bdd1804f1fb19a36fde509e23425ba3cbb69d022c3bfce0eedb685b0e7469c2c9a44039693695071c63c1d7ccb2d46164dce93c7f8c2b66299ab7ffae6f5
7
- data.tar.gz: 94f7f30f8013e1e9f12ef177d2b166bac72e4aeb4af43997a04105751d5e0a1d4fb1c688f071a86038d37011d9b95d910f0e4e6684ead129607efe5cca4b9ea8
6
+ metadata.gz: 1fd901f92730371653c45def5c8369ea9d26af14839a2b7b90893424d5f6c789d7bcefbf2d1d1dbe172b56c9b55c50d180d639984d03d1e097cd2073394e8628
7
+ data.tar.gz: b5f9dfff7442169afb7d9fb21a46d70c01b786624d687bed13f7708e146b758f07ccbc9ca8b4b707933ce1207fc74bcf75684041409df53d7a916f916e600262
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.3.0 (2024-01-18)
5
+ ------------------
6
+
7
+ * Feature - Increasing TestMapping inputFileContent file size limit to 5MB and adding file size limit 250KB for TestParsing input file. This release also includes exposing InternalServerException for Tag APIs.
8
+
4
9
  1.2.0 (2023-12-14)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.3.0
@@ -438,6 +438,80 @@ module Aws::B2bi
438
438
  # * {Types::CreateCapabilityResponse#instructions_documents #instructions_documents} => Array<Types::S3Location>
439
439
  # * {Types::CreateCapabilityResponse#created_at #created_at} => Time
440
440
  #
441
+ #
442
+ # @example Example: Sample CreateCapability call
443
+ #
444
+ # resp = client.create_capability({
445
+ # name: "b2biexample",
446
+ # type: "edi",
447
+ # client_token: "foo",
448
+ # configuration: {
449
+ # edi: {
450
+ # type: {
451
+ # x12_details: {
452
+ # version: "VERSION_4010",
453
+ # transaction_set: "X12_110",
454
+ # },
455
+ # },
456
+ # input_location: {
457
+ # key: "input/",
458
+ # bucket_name: "test-bucket",
459
+ # },
460
+ # output_location: {
461
+ # key: "output/",
462
+ # bucket_name: "test-bucket",
463
+ # },
464
+ # transformer_id: "tr-9a893cf536df4658b",
465
+ # },
466
+ # },
467
+ # instructions_documents: [
468
+ # {
469
+ # key: "instructiondoc.txt",
470
+ # bucket_name: "test-bucket",
471
+ # },
472
+ # ],
473
+ # tags: [
474
+ # {
475
+ # key: "capabilityKey1",
476
+ # value: "capabilityValue1",
477
+ # },
478
+ # ],
479
+ # })
480
+ #
481
+ # resp.to_h outputs the following:
482
+ # {
483
+ # name: "b2biexample",
484
+ # type: "edi",
485
+ # capability_arn: "arn:aws:b2bi:us-west-2:123456789012:capability/ca-963a8121e4fc4e348",
486
+ # capability_id: "ca-963a8121e4fc4e348",
487
+ # configuration: {
488
+ # edi: {
489
+ # type: {
490
+ # x12_details: {
491
+ # version: "VERSION_4010",
492
+ # transaction_set: "X12_110",
493
+ # },
494
+ # },
495
+ # input_location: {
496
+ # key: "input/",
497
+ # bucket_name: "test-bucket",
498
+ # },
499
+ # output_location: {
500
+ # key: "output/",
501
+ # bucket_name: "test-bucket",
502
+ # },
503
+ # transformer_id: "tr-9a893cf536df4658b",
504
+ # },
505
+ # },
506
+ # created_at: Time.parse("2023-11-01T21:51:05.504Z"),
507
+ # instructions_documents: [
508
+ # {
509
+ # key: "instructiondoc.txt",
510
+ # bucket_name: "test-bucket",
511
+ # },
512
+ # ],
513
+ # }
514
+ #
441
515
  # @example Request syntax with placeholder values
442
516
  #
443
517
  # resp = client.create_capability({
@@ -548,6 +622,41 @@ module Aws::B2bi
548
622
  # * {Types::CreatePartnershipResponse#trading_partner_id #trading_partner_id} => String
549
623
  # * {Types::CreatePartnershipResponse#created_at #created_at} => Time
550
624
  #
625
+ #
626
+ # @example Example: Sample CreatePartnership call
627
+ #
628
+ # resp = client.create_partnership({
629
+ # name: "b2bipartner",
630
+ # capabilities: [
631
+ # "ca-963a8121e4fc4e348",
632
+ # ],
633
+ # client_token: "foo",
634
+ # email: "john@example.com",
635
+ # phone: "5555555555",
636
+ # profile_id: "p-60fbc37c87f04fce9",
637
+ # tags: [
638
+ # {
639
+ # key: "sampleKey1",
640
+ # value: "sampleValue1",
641
+ # },
642
+ # ],
643
+ # })
644
+ #
645
+ # resp.to_h outputs the following:
646
+ # {
647
+ # name: "b2bipartner",
648
+ # capabilities: [
649
+ # "ca-963a8121e4fc4e348",
650
+ # ],
651
+ # created_at: Time.parse("2023-11-01T21:51:05.504Z"),
652
+ # email: "john@example.com",
653
+ # partnership_arn: "arn:aws:b2bi:us-west-2:123456789012:partnership/ps-60fbc37c87f04fce9",
654
+ # partnership_id: "ps-219fa02f5b4242af8",
655
+ # phone: "5555555555",
656
+ # profile_id: "p-60fbc37c87f04fce9",
657
+ # trading_partner_id: "tp-2a17ca447f6f4a8a8",
658
+ # }
659
+ #
551
660
  # @example Request syntax with placeholder values
552
661
  #
553
662
  # resp = client.create_partnership({
@@ -629,6 +738,37 @@ module Aws::B2bi
629
738
  # * {Types::CreateProfileResponse#log_group_name #log_group_name} => String
630
739
  # * {Types::CreateProfileResponse#created_at #created_at} => Time
631
740
  #
741
+ #
742
+ # @example Example: Sample CreateProfile call
743
+ #
744
+ # resp = client.create_profile({
745
+ # name: "Shipping Profile",
746
+ # business_name: "John's Shipping",
747
+ # client_token: "foo",
748
+ # email: "john@example.com",
749
+ # logging: "ENABLED",
750
+ # phone: "5555555555",
751
+ # tags: [
752
+ # {
753
+ # key: "sampleKey",
754
+ # value: "sampleValue",
755
+ # },
756
+ # ],
757
+ # })
758
+ #
759
+ # resp.to_h outputs the following:
760
+ # {
761
+ # name: "Shipping Profile",
762
+ # business_name: "John's Trucking",
763
+ # created_at: Time.parse("2023-11-01T21:51:05.504Z"),
764
+ # email: "john@example.com",
765
+ # log_group_name: "b2bi/p-60fbc37c87f04fce9-Logs",
766
+ # logging: "ENABLED",
767
+ # phone: "5555555555",
768
+ # profile_arn: "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
769
+ # profile_id: "p-60fbc37c87f04fce9",
770
+ # }
771
+ #
632
772
  # @example Request syntax with placeholder values
633
773
  #
634
774
  # resp = client.create_profile({
@@ -716,6 +856,47 @@ module Aws::B2bi
716
856
  # * {Types::CreateTransformerResponse#sample_document #sample_document} => String
717
857
  # * {Types::CreateTransformerResponse#created_at #created_at} => Time
718
858
  #
859
+ #
860
+ # @example Example: Sample CreateTransformer call
861
+ #
862
+ # resp = client.create_transformer({
863
+ # name: "transformJSON",
864
+ # client_token: "foo",
865
+ # edi_type: {
866
+ # x12_details: {
867
+ # version: "VERSION_4010",
868
+ # transaction_set: "X12_110",
869
+ # },
870
+ # },
871
+ # file_format: "JSON",
872
+ # mapping_template: "{}",
873
+ # sample_document: "s3://test-bucket/sampleDoc.txt",
874
+ # tags: [
875
+ # {
876
+ # key: "sampleKey",
877
+ # value: "sampleValue",
878
+ # },
879
+ # ],
880
+ # })
881
+ #
882
+ # resp.to_h outputs the following:
883
+ # {
884
+ # name: "transformJSON",
885
+ # created_at: Time.parse("2023-11-01T21:51:05.504Z"),
886
+ # edi_type: {
887
+ # x12_details: {
888
+ # version: "VERSION_4010",
889
+ # transaction_set: "X12_110",
890
+ # },
891
+ # },
892
+ # file_format: "JSON",
893
+ # mapping_template: "$",
894
+ # sample_document: "s3://test-bucket/sampleDoc.txt",
895
+ # status: "inactive",
896
+ # transformer_arn: "arn:aws:b2bi:us-west-2:123456789012:transformer/tr-974c129999f84d8c9",
897
+ # transformer_id: "tr-974c129999f84d8c9",
898
+ # }
899
+ #
719
900
  # @example Request syntax with placeholder values
720
901
  #
721
902
  # resp = client.create_transformer({
@@ -769,6 +950,13 @@ module Aws::B2bi
769
950
  #
770
951
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
771
952
  #
953
+ #
954
+ # @example Example: Sample DeleteCapabilty call
955
+ #
956
+ # resp = client.delete_capability({
957
+ # capability_id: "ca-963a8121e4fc4e348",
958
+ # })
959
+ #
772
960
  # @example Request syntax with placeholder values
773
961
  #
774
962
  # resp = client.delete_capability({
@@ -793,6 +981,13 @@ module Aws::B2bi
793
981
  #
794
982
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
795
983
  #
984
+ #
985
+ # @example Example: Sample DeletePartnership call
986
+ #
987
+ # resp = client.delete_partnership({
988
+ # partnership_id: "ps-219fa02f5b4242af8",
989
+ # })
990
+ #
796
991
  # @example Request syntax with placeholder values
797
992
  #
798
993
  # resp = client.delete_partnership({
@@ -816,6 +1011,13 @@ module Aws::B2bi
816
1011
  #
817
1012
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
818
1013
  #
1014
+ #
1015
+ # @example Example: Sample DeleteProfile call
1016
+ #
1017
+ # resp = client.delete_profile({
1018
+ # profile_id: "p-60fbc37c87f04fce9",
1019
+ # })
1020
+ #
819
1021
  # @example Request syntax with placeholder values
820
1022
  #
821
1023
  # resp = client.delete_profile({
@@ -840,6 +1042,13 @@ module Aws::B2bi
840
1042
  #
841
1043
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
842
1044
  #
1045
+ #
1046
+ # @example Example: Sample DeleteTransformer call
1047
+ #
1048
+ # resp = client.delete_transformer({
1049
+ # transformer_id: "tr-974c129999f84d8c9",
1050
+ # })
1051
+ #
843
1052
  # @example Request syntax with placeholder values
844
1053
  #
845
1054
  # resp = client.delete_transformer({
@@ -873,6 +1082,48 @@ module Aws::B2bi
873
1082
  # * {Types::GetCapabilityResponse#created_at #created_at} => Time
874
1083
  # * {Types::GetCapabilityResponse#modified_at #modified_at} => Time
875
1084
  #
1085
+ #
1086
+ # @example Example: Sample GetCapabilty call
1087
+ #
1088
+ # resp = client.get_capability({
1089
+ # capability_id: "ca-963a8121e4fc4e348",
1090
+ # })
1091
+ #
1092
+ # resp.to_h outputs the following:
1093
+ # {
1094
+ # name: "b2biexample",
1095
+ # type: "edi",
1096
+ # capability_arn: "arn:aws:b2bi:us-west-2:123456789012:capability/ca-963a8121e4fc4e348",
1097
+ # capability_id: "ca-963a8121e4fc4e348",
1098
+ # configuration: {
1099
+ # edi: {
1100
+ # type: {
1101
+ # x12_details: {
1102
+ # version: "VERSION_4010",
1103
+ # transaction_set: "X12_110",
1104
+ # },
1105
+ # },
1106
+ # input_location: {
1107
+ # key: "input/",
1108
+ # bucket_name: "test-bucket",
1109
+ # },
1110
+ # output_location: {
1111
+ # key: "output/",
1112
+ # bucket_name: "test-bucket",
1113
+ # },
1114
+ # transformer_id: "tr-9a893cf536df4658b",
1115
+ # },
1116
+ # },
1117
+ # created_at: Time.parse("2023-11-01T21:51:05.504Z"),
1118
+ # instructions_documents: [
1119
+ # {
1120
+ # key: "instructiondoc.txt",
1121
+ # bucket_name: "test-bucket",
1122
+ # },
1123
+ # ],
1124
+ # modified_at: Time.parse("2023-11-02T21:51:05.504Z"),
1125
+ # }
1126
+ #
876
1127
  # @example Request syntax with placeholder values
877
1128
  #
878
1129
  # resp = client.get_capability({
@@ -928,6 +1179,29 @@ module Aws::B2bi
928
1179
  # * {Types::GetPartnershipResponse#created_at #created_at} => Time
929
1180
  # * {Types::GetPartnershipResponse#modified_at #modified_at} => Time
930
1181
  #
1182
+ #
1183
+ # @example Example: Sample GetPartnership call
1184
+ #
1185
+ # resp = client.get_partnership({
1186
+ # partnership_id: "ps-219fa02f5b4242af8",
1187
+ # })
1188
+ #
1189
+ # resp.to_h outputs the following:
1190
+ # {
1191
+ # name: "b2bipartner",
1192
+ # capabilities: [
1193
+ # "ca-963a8121e4fc4e348",
1194
+ # ],
1195
+ # created_at: Time.parse("2023-11-01T21:51:05.504Z"),
1196
+ # email: "john@example.com",
1197
+ # modified_at: Time.parse("2023-11-01T21:51:05.504Z"),
1198
+ # partnership_arn: "arn:aws:b2bi:us-west-2:123456789012:partnership/ps-219fa02f5b4242af8",
1199
+ # partnership_id: "ps-219fa02f5b4242af8",
1200
+ # phone: "5555555555",
1201
+ # profile_id: "p-60fbc37c87f04fce9",
1202
+ # trading_partner_id: "tp-2a17ca447f6f4a8a8",
1203
+ # }
1204
+ #
931
1205
  # @example Request syntax with placeholder values
932
1206
  #
933
1207
  # resp = client.get_partnership({
@@ -977,6 +1251,26 @@ module Aws::B2bi
977
1251
  # * {Types::GetProfileResponse#created_at #created_at} => Time
978
1252
  # * {Types::GetProfileResponse#modified_at #modified_at} => Time
979
1253
  #
1254
+ #
1255
+ # @example Example: Sample GetProfile call
1256
+ #
1257
+ # resp = client.get_profile({
1258
+ # profile_id: "p-60fbc37c87f04fce9",
1259
+ # })
1260
+ #
1261
+ # resp.to_h outputs the following:
1262
+ # {
1263
+ # name: "Shipping Profile",
1264
+ # business_name: "John's Trucking",
1265
+ # created_at: Time.parse("2023-11-01T21:51:05.504Z"),
1266
+ # email: "john@example.com",
1267
+ # log_group_name: "b2bi/p-60fbc37c87f04fce9-Logs",
1268
+ # logging: "ENABLED",
1269
+ # phone: "5555555555",
1270
+ # profile_arn: "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
1271
+ # profile_id: "p-60fbc37c87f04fce9",
1272
+ # }
1273
+ #
980
1274
  # @example Request syntax with placeholder values
981
1275
  #
982
1276
  # resp = client.get_profile({
@@ -1025,6 +1319,32 @@ module Aws::B2bi
1025
1319
  # * {Types::GetTransformerResponse#created_at #created_at} => Time
1026
1320
  # * {Types::GetTransformerResponse#modified_at #modified_at} => Time
1027
1321
  #
1322
+ #
1323
+ # @example Example: Sample GetTransformer call
1324
+ #
1325
+ # resp = client.get_transformer({
1326
+ # transformer_id: "tr-974c129999f84d8c9",
1327
+ # })
1328
+ #
1329
+ # resp.to_h outputs the following:
1330
+ # {
1331
+ # name: "transformJSON",
1332
+ # created_at: Time.parse("2023-11-01T21:51:05.504Z"),
1333
+ # edi_type: {
1334
+ # x12_details: {
1335
+ # version: "VERSION_4010",
1336
+ # transaction_set: "X12_110",
1337
+ # },
1338
+ # },
1339
+ # file_format: "JSON",
1340
+ # mapping_template: "$",
1341
+ # modified_at: Time.parse("2023-11-01T21:51:05.504Z"),
1342
+ # sample_document: "s3://test-bucket/sampleDoc.txt",
1343
+ # status: "inactive",
1344
+ # transformer_arn: "arn:aws:b2bi:us-west-2:123456789012:transformer/tr-974c129999f84d8c9",
1345
+ # transformer_id: "tr-974c129999f84d8c9",
1346
+ # }
1347
+ #
1028
1348
  # @example Request syntax with placeholder values
1029
1349
  #
1030
1350
  # resp = client.get_transformer({
@@ -1070,6 +1390,26 @@ module Aws::B2bi
1070
1390
  # * {Types::GetTransformerJobResponse#output_files #output_files} => Array<Types::S3Location>
1071
1391
  # * {Types::GetTransformerJobResponse#message #message} => String
1072
1392
  #
1393
+ #
1394
+ # @example Example: Sample GetTransformerJob call
1395
+ #
1396
+ # resp = client.get_transformer_job({
1397
+ # transformer_id: "tr-974c129999f84d8c9",
1398
+ # transformer_job_id: "tj-vpYxfV7yQOqjMSYllEslLw",
1399
+ # })
1400
+ #
1401
+ # resp.to_h outputs the following:
1402
+ # {
1403
+ # message: "Transformed, writing output",
1404
+ # output_files: [
1405
+ # {
1406
+ # key: "output/sample-214.edi.2023-11-01T10:44:03.353Z.json",
1407
+ # bucket_name: "gt-edi-test",
1408
+ # },
1409
+ # ],
1410
+ # status: "succeeded",
1411
+ # }
1412
+ #
1073
1413
  # @example Request syntax with placeholder values
1074
1414
  #
1075
1415
  # resp = client.get_transformer_job({
@@ -1115,6 +1455,28 @@ module Aws::B2bi
1115
1455
  #
1116
1456
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1117
1457
  #
1458
+ #
1459
+ # @example Example: Sample ListCapabilities call
1460
+ #
1461
+ # resp = client.list_capabilities({
1462
+ # max_results: 50,
1463
+ # next_token: "foo",
1464
+ # })
1465
+ #
1466
+ # resp.to_h outputs the following:
1467
+ # {
1468
+ # capabilities: [
1469
+ # {
1470
+ # name: "b2biexample",
1471
+ # type: "edi",
1472
+ # capability_id: "ca-963a8121e4fc4e348",
1473
+ # created_at: Time.parse("2023-11-01T21:51:05.504Z"),
1474
+ # modified_at: Time.parse("2023-11-01T21:51:05.504Z"),
1475
+ # },
1476
+ # ],
1477
+ # next_token: "foo",
1478
+ # }
1479
+ #
1118
1480
  # @example Request syntax with placeholder values
1119
1481
  #
1120
1482
  # resp = client.list_capabilities({
@@ -1166,6 +1528,33 @@ module Aws::B2bi
1166
1528
  #
1167
1529
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1168
1530
  #
1531
+ #
1532
+ # @example Example: Sample ListPartnerships call
1533
+ #
1534
+ # resp = client.list_partnerships({
1535
+ # max_results: 50,
1536
+ # next_token: "foo",
1537
+ # profile_id: "p-60fbc37c87f04fce9",
1538
+ # })
1539
+ #
1540
+ # resp.to_h outputs the following:
1541
+ # {
1542
+ # next_token: "string",
1543
+ # partnerships: [
1544
+ # {
1545
+ # name: "b2bipartner",
1546
+ # capabilities: [
1547
+ # "ca-963a8121e4fc4e348",
1548
+ # ],
1549
+ # created_at: Time.parse("2023-11-01T21:51:05.504Z"),
1550
+ # modified_at: Time.parse("2023-11-01T21:51:05.504Z"),
1551
+ # partnership_id: "ps-219fa02f5b4242af8",
1552
+ # profile_id: "p-60fbc37c87f04fce9",
1553
+ # trading_partner_id: "tp-2a17ca447f6f4a8a8",
1554
+ # },
1555
+ # ],
1556
+ # }
1557
+ #
1169
1558
  # @example Request syntax with placeholder values
1170
1559
  #
1171
1560
  # resp = client.list_partnerships({
@@ -1216,6 +1605,29 @@ module Aws::B2bi
1216
1605
  #
1217
1606
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1218
1607
  #
1608
+ #
1609
+ # @example Example: Sample ListProfiles call
1610
+ #
1611
+ # resp = client.list_profiles({
1612
+ # max_results: 50,
1613
+ # next_token: "foo",
1614
+ # })
1615
+ #
1616
+ # resp.to_h outputs the following:
1617
+ # {
1618
+ # next_token: "foo",
1619
+ # profiles: [
1620
+ # {
1621
+ # name: "Shipping Profile",
1622
+ # business_name: "John's Trucking",
1623
+ # created_at: Time.parse("2023-11-01T21:51:05.504Z"),
1624
+ # log_group_name: "b2bi/p-60fbc37c87f04fce9-Logs",
1625
+ # logging: "ENABLED",
1626
+ # profile_id: "p-60fbc37c87f04fce9",
1627
+ # },
1628
+ # ],
1629
+ # }
1630
+ #
1219
1631
  # @example Request syntax with placeholder values
1220
1632
  #
1221
1633
  # resp = client.list_profiles({
@@ -1257,6 +1669,23 @@ module Aws::B2bi
1257
1669
  #
1258
1670
  # * {Types::ListTagsForResourceResponse#tags #tags} => Array<Types::Tag>
1259
1671
  #
1672
+ #
1673
+ # @example Example: Sample ListTagsForResources call
1674
+ #
1675
+ # resp = client.list_tags_for_resource({
1676
+ # resource_arn: "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
1677
+ # })
1678
+ #
1679
+ # resp.to_h outputs the following:
1680
+ # {
1681
+ # tags: [
1682
+ # {
1683
+ # key: "sampleKey",
1684
+ # value: "SampleValue",
1685
+ # },
1686
+ # ],
1687
+ # }
1688
+ #
1260
1689
  # @example Request syntax with placeholder values
1261
1690
  #
1262
1691
  # resp = client.list_tags_for_resource({
@@ -1298,6 +1727,37 @@ module Aws::B2bi
1298
1727
  #
1299
1728
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1300
1729
  #
1730
+ #
1731
+ # @example Example: Sample ListTransformers call
1732
+ #
1733
+ # resp = client.list_transformers({
1734
+ # max_results: 50,
1735
+ # next_token: "foo",
1736
+ # })
1737
+ #
1738
+ # resp.to_h outputs the following:
1739
+ # {
1740
+ # next_token: "foo",
1741
+ # transformers: [
1742
+ # {
1743
+ # name: "transformJSON",
1744
+ # created_at: Time.parse("2023-11-01T21:51:05.504Z"),
1745
+ # edi_type: {
1746
+ # x12_details: {
1747
+ # version: "VERSION_4010",
1748
+ # transaction_set: "X12_110",
1749
+ # },
1750
+ # },
1751
+ # file_format: "JSON",
1752
+ # mapping_template: "$",
1753
+ # modified_at: Time.parse("2023-11-01T21:51:05.504Z"),
1754
+ # sample_document: "s3://test-bucket/sampleDoc.txt",
1755
+ # status: "inactive",
1756
+ # transformer_id: "tr-974c129999f84d8c9",
1757
+ # },
1758
+ # ],
1759
+ # }
1760
+ #
1301
1761
  # @example Request syntax with placeholder values
1302
1762
  #
1303
1763
  # resp = client.list_transformers({
@@ -1359,6 +1819,27 @@ module Aws::B2bi
1359
1819
  #
1360
1820
  # * {Types::StartTransformerJobResponse#transformer_job_id #transformer_job_id} => String
1361
1821
  #
1822
+ #
1823
+ # @example Example: Sample StartTransformerJob call
1824
+ #
1825
+ # resp = client.start_transformer_job({
1826
+ # client_token: "foo",
1827
+ # input_file: {
1828
+ # key: "input/inputFile.txt",
1829
+ # bucket_name: "test-bucket",
1830
+ # },
1831
+ # output_location: {
1832
+ # key: "output/",
1833
+ # bucket_name: "test-bucket",
1834
+ # },
1835
+ # transformer_id: "tr-974c129999f84d8c9",
1836
+ # })
1837
+ #
1838
+ # resp.to_h outputs the following:
1839
+ # {
1840
+ # transformer_job_id: "tj-vpYxfV7yQOqjMSYllEslLw",
1841
+ # }
1842
+ #
1362
1843
  # @example Request syntax with placeholder values
1363
1844
  #
1364
1845
  # resp = client.start_transformer_job({
@@ -1405,6 +1886,19 @@ module Aws::B2bi
1405
1886
  #
1406
1887
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1407
1888
  #
1889
+ #
1890
+ # @example Example: Sample TagResource call
1891
+ #
1892
+ # resp = client.tag_resource({
1893
+ # resource_arn: "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
1894
+ # tags: [
1895
+ # {
1896
+ # key: "sampleKey",
1897
+ # value: "SampleValue",
1898
+ # },
1899
+ # ],
1900
+ # })
1901
+ #
1408
1902
  # @example Request syntax with placeholder values
1409
1903
  #
1410
1904
  # resp = client.tag_resource({
@@ -1448,6 +1942,20 @@ module Aws::B2bi
1448
1942
  #
1449
1943
  # * {Types::TestMappingResponse#mapped_file_content #mapped_file_content} => String
1450
1944
  #
1945
+ #
1946
+ # @example Example: Sample TestMapping call
1947
+ #
1948
+ # resp = client.test_mapping({
1949
+ # file_format: "JSON",
1950
+ # input_file_content: "Sample file content",
1951
+ # mapping_template: "$",
1952
+ # })
1953
+ #
1954
+ # resp.to_h outputs the following:
1955
+ # {
1956
+ # mapped_file_content: "Sample file content",
1957
+ # }
1958
+ #
1451
1959
  # @example Request syntax with placeholder values
1452
1960
  #
1453
1961
  # resp = client.test_mapping({
@@ -1469,7 +1977,8 @@ module Aws::B2bi
1469
1977
  req.send_request(options)
1470
1978
  end
1471
1979
 
1472
- # Parses the input EDI (electronic data interchange) file.
1980
+ # Parses the input EDI (electronic data interchange) file. The input
1981
+ # file has a file size limit of 250 KB.
1473
1982
  #
1474
1983
  # @option params [required, Types::S3Location] :input_file
1475
1984
  # Specifies an `S3Location` object, which contains the Amazon S3 bucket
@@ -1489,6 +1998,28 @@ module Aws::B2bi
1489
1998
  #
1490
1999
  # * {Types::TestParsingResponse#parsed_file_content #parsed_file_content} => String
1491
2000
  #
2001
+ #
2002
+ # @example Example: Sample TestParsing call
2003
+ #
2004
+ # resp = client.test_parsing({
2005
+ # edi_type: {
2006
+ # x12_details: {
2007
+ # version: "VERSION_4010",
2008
+ # transaction_set: "X12_110",
2009
+ # },
2010
+ # },
2011
+ # file_format: "JSON",
2012
+ # input_file: {
2013
+ # key: "sampleFile.txt",
2014
+ # bucket_name: "test-bucket",
2015
+ # },
2016
+ # })
2017
+ #
2018
+ # resp.to_h outputs the following:
2019
+ # {
2020
+ # parsed_file_content: "Sample parsed file content",
2021
+ # }
2022
+ #
1492
2023
  # @example Request syntax with placeholder values
1493
2024
  #
1494
2025
  # resp = client.test_parsing({
@@ -1534,6 +2065,16 @@ module Aws::B2bi
1534
2065
  #
1535
2066
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1536
2067
  #
2068
+ #
2069
+ # @example Example: Sample UntagResource call
2070
+ #
2071
+ # resp = client.untag_resource({
2072
+ # resource_arn: "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
2073
+ # tag_keys: [
2074
+ # "sampleKey",
2075
+ # ],
2076
+ # })
2077
+ #
1537
2078
  # @example Request syntax with placeholder values
1538
2079
  #
1539
2080
  # resp = client.untag_resource({
@@ -1579,6 +2120,74 @@ module Aws::B2bi
1579
2120
  # * {Types::UpdateCapabilityResponse#created_at #created_at} => Time
1580
2121
  # * {Types::UpdateCapabilityResponse#modified_at #modified_at} => Time
1581
2122
  #
2123
+ #
2124
+ # @example Example: Sample UpdateCapability call
2125
+ #
2126
+ # resp = client.update_capability({
2127
+ # name: "b2biexample",
2128
+ # capability_id: "ca-963a8121e4fc4e348",
2129
+ # configuration: {
2130
+ # edi: {
2131
+ # type: {
2132
+ # x12_details: {
2133
+ # version: "VERSION_4010",
2134
+ # transaction_set: "X12_110",
2135
+ # },
2136
+ # },
2137
+ # input_location: {
2138
+ # key: "input/",
2139
+ # bucket_name: "test-bucket",
2140
+ # },
2141
+ # output_location: {
2142
+ # key: "output/",
2143
+ # bucket_name: "test-bucket",
2144
+ # },
2145
+ # transformer_id: "tr-9a893cf536df4658b",
2146
+ # },
2147
+ # },
2148
+ # instructions_documents: [
2149
+ # {
2150
+ # key: "instructiondoc.txt",
2151
+ # bucket_name: "test-bucket",
2152
+ # },
2153
+ # ],
2154
+ # })
2155
+ #
2156
+ # resp.to_h outputs the following:
2157
+ # {
2158
+ # name: "b2biexample",
2159
+ # type: "edi",
2160
+ # capability_arn: "arn:aws:b2bi:us-west-2:123456789012:capability/ca-963a8121e4fc4e348",
2161
+ # capability_id: "ca-963a8121e4fc4e348",
2162
+ # configuration: {
2163
+ # edi: {
2164
+ # type: {
2165
+ # x12_details: {
2166
+ # version: "VERSION_4010",
2167
+ # transaction_set: "X12_110",
2168
+ # },
2169
+ # },
2170
+ # input_location: {
2171
+ # key: "input/",
2172
+ # bucket_name: "test-bucket",
2173
+ # },
2174
+ # output_location: {
2175
+ # key: "output/",
2176
+ # bucket_name: "test-bucket",
2177
+ # },
2178
+ # transformer_id: "tr-9a893cf536df4658b",
2179
+ # },
2180
+ # },
2181
+ # created_at: Time.parse("2023-11-01T21:51:05.504Z"),
2182
+ # instructions_documents: [
2183
+ # {
2184
+ # key: "instructiondoc.txt",
2185
+ # bucket_name: "test-bucket",
2186
+ # },
2187
+ # ],
2188
+ # modified_at: Time.parse("2023-11-01T21:51:05.504Z"),
2189
+ # }
2190
+ #
1582
2191
  # @example Request syntax with placeholder values
1583
2192
  #
1584
2193
  # resp = client.update_capability({
@@ -1666,6 +2275,33 @@ module Aws::B2bi
1666
2275
  # * {Types::UpdatePartnershipResponse#created_at #created_at} => Time
1667
2276
  # * {Types::UpdatePartnershipResponse#modified_at #modified_at} => Time
1668
2277
  #
2278
+ #
2279
+ # @example Example: Sample UpdatePartnership call
2280
+ #
2281
+ # resp = client.update_partnership({
2282
+ # name: "b2bipartner",
2283
+ # capabilities: [
2284
+ # "ca-963a8121e4fc4e348",
2285
+ # ],
2286
+ # partnership_id: "ps-219fa02f5b4242af8",
2287
+ # })
2288
+ #
2289
+ # resp.to_h outputs the following:
2290
+ # {
2291
+ # name: "b2bipartner",
2292
+ # capabilities: [
2293
+ # "ca-963a8121e4fc4e348",
2294
+ # ],
2295
+ # created_at: Time.parse("2023-11-01T21:51:05.504Z"),
2296
+ # email: "john@example.com",
2297
+ # modified_at: Time.parse("2023-11-01T21:51:05.504Z"),
2298
+ # partnership_arn: "arn:aws:b2bi:us-west-2:123456789012:partnership/ps-60fbc37c87f04fce9",
2299
+ # partnership_id: "ps-219fa02f5b4242af8",
2300
+ # phone: "5555555555",
2301
+ # profile_id: "p-60fbc37c87f04fce9",
2302
+ # trading_partner_id: "tp-2a17ca447f6f4a8a8",
2303
+ # }
2304
+ #
1669
2305
  # @example Request syntax with placeholder values
1670
2306
  #
1671
2307
  # resp = client.update_partnership({
@@ -1728,6 +2364,31 @@ module Aws::B2bi
1728
2364
  # * {Types::UpdateProfileResponse#created_at #created_at} => Time
1729
2365
  # * {Types::UpdateProfileResponse#modified_at #modified_at} => Time
1730
2366
  #
2367
+ #
2368
+ # @example Example: Sample UpdateProfile call
2369
+ #
2370
+ # resp = client.update_profile({
2371
+ # name: "Shipping Profile",
2372
+ # business_name: "John's Shipping",
2373
+ # email: "john@example.com",
2374
+ # phone: "5555555555",
2375
+ # profile_id: "p-60fbc37c87f04fce9",
2376
+ # })
2377
+ #
2378
+ # resp.to_h outputs the following:
2379
+ # {
2380
+ # name: "Shipping Profile",
2381
+ # business_name: "John's Trucking",
2382
+ # created_at: Time.parse("2023-11-01T21:51:05.504Z"),
2383
+ # email: "john@example.com",
2384
+ # log_group_name: "b2bi/p-60fbc37c87f04fce9-Logs",
2385
+ # logging: "ENABLED",
2386
+ # modified_at: Time.parse("2023-11-02T21:51:05.504Z"),
2387
+ # phone: "5555555555",
2388
+ # profile_arn: "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
2389
+ # profile_id: "p-60fbc37c87f04fce9",
2390
+ # }
2391
+ #
1731
2392
  # @example Request syntax with placeholder values
1732
2393
  #
1733
2394
  # resp = client.update_profile({
@@ -1806,6 +2467,43 @@ module Aws::B2bi
1806
2467
  # * {Types::UpdateTransformerResponse#created_at #created_at} => Time
1807
2468
  # * {Types::UpdateTransformerResponse#modified_at #modified_at} => Time
1808
2469
  #
2470
+ #
2471
+ # @example Example: Sample UpdateTransformer call
2472
+ #
2473
+ # resp = client.update_transformer({
2474
+ # name: "transformJSON",
2475
+ # edi_type: {
2476
+ # x12_details: {
2477
+ # version: "VERSION_4010",
2478
+ # transaction_set: "X12_110",
2479
+ # },
2480
+ # },
2481
+ # file_format: "JSON",
2482
+ # mapping_template: "{}",
2483
+ # sample_document: "s3://test-bucket/sampleDoc.txt",
2484
+ # status: "inactive",
2485
+ # transformer_id: "tr-974c129999f84d8c9",
2486
+ # })
2487
+ #
2488
+ # resp.to_h outputs the following:
2489
+ # {
2490
+ # name: "transformJSON",
2491
+ # created_at: Time.parse("2023-11-01T21:51:05.504Z"),
2492
+ # edi_type: {
2493
+ # x12_details: {
2494
+ # version: "VERSION_4010",
2495
+ # transaction_set: "X12_110",
2496
+ # },
2497
+ # },
2498
+ # file_format: "JSON",
2499
+ # mapping_template: "$",
2500
+ # modified_at: Time.parse("2023-11-01T21:51:05.504Z"),
2501
+ # sample_document: "s3://test-bucket/sampleDoc.txt",
2502
+ # status: "inactive",
2503
+ # transformer_arn: "arn:aws:b2bi:us-west-2:607686414464:transformer/tr-974c129999f84d8c9",
2504
+ # transformer_id: "tr-974c129999f84d8c9",
2505
+ # }
2506
+ #
1809
2507
  # @example Request syntax with placeholder values
1810
2508
  #
1811
2509
  # resp = client.update_transformer({
@@ -1859,7 +2557,7 @@ module Aws::B2bi
1859
2557
  params: params,
1860
2558
  config: config)
1861
2559
  context[:gem_name] = 'aws-sdk-b2bi'
1862
- context[:gem_version] = '1.2.0'
2560
+ context[:gem_version] = '1.3.0'
1863
2561
  Seahorse::Client::Request.new(handlers, context)
1864
2562
  end
1865
2563
 
@@ -793,6 +793,7 @@ module Aws::B2bi
793
793
  o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
794
794
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
795
795
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
796
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
796
797
  end)
797
798
 
798
799
  api.add_operation(:list_transformers, Seahorse::Model::Operation.new.tap do |o|
@@ -831,6 +832,7 @@ module Aws::B2bi
831
832
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
832
833
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
833
834
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
835
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
834
836
  end)
835
837
 
836
838
  api.add_operation(:test_mapping, Seahorse::Model::Operation.new.tap do |o|
@@ -867,6 +869,7 @@ module Aws::B2bi
867
869
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
868
870
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
869
871
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
872
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
870
873
  end)
871
874
 
872
875
  api.add_operation(:update_capability, Seahorse::Model::Operation.new.tap do |o|
data/lib/aws-sdk-b2bi.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-b2bi/customizations'
52
52
  # @!group service
53
53
  module Aws::B2bi
54
54
 
55
- GEM_VERSION = '1.2.0'
55
+ GEM_VERSION = '1.3.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-b2bi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-14 00:00:00.000000000 Z
11
+ date: 2024-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -72,7 +72,7 @@ licenses:
72
72
  metadata:
73
73
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-b2bi
74
74
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-b2bi/CHANGELOG.md
75
- post_install_message:
75
+ post_install_message:
76
76
  rdoc_options: []
77
77
  require_paths:
78
78
  - lib
@@ -87,8 +87,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
89
  requirements: []
90
- rubygems_version: 3.1.6
91
- signing_key:
90
+ rubygems_version: 3.4.10
91
+ signing_key:
92
92
  specification_version: 4
93
93
  summary: AWS SDK for Ruby - AWS B2BI
94
94
  test_files: []