aws-sdk-b2bi 1.20.0 → 1.22.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,18 +19,27 @@ module Aws::B2bi
19
19
  BucketName = Shapes::StringShape.new(name: 'BucketName')
20
20
  BusinessName = Shapes::StringShape.new(name: 'BusinessName')
21
21
  CapabilityConfiguration = Shapes::UnionShape.new(name: 'CapabilityConfiguration')
22
+ CapabilityDirection = Shapes::StringShape.new(name: 'CapabilityDirection')
22
23
  CapabilityId = Shapes::StringShape.new(name: 'CapabilityId')
23
24
  CapabilityList = Shapes::ListShape.new(name: 'CapabilityList')
24
25
  CapabilityName = Shapes::StringShape.new(name: 'CapabilityName')
26
+ CapabilityOptions = Shapes::StructureShape.new(name: 'CapabilityOptions')
25
27
  CapabilitySummary = Shapes::StructureShape.new(name: 'CapabilitySummary')
26
28
  CapabilityType = Shapes::StringShape.new(name: 'CapabilityType')
27
29
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
30
+ ConversionSource = Shapes::StructureShape.new(name: 'ConversionSource')
31
+ ConversionSourceFormat = Shapes::StringShape.new(name: 'ConversionSourceFormat')
32
+ ConversionTarget = Shapes::StructureShape.new(name: 'ConversionTarget')
33
+ ConversionTargetFormat = Shapes::StringShape.new(name: 'ConversionTargetFormat')
34
+ ConversionTargetFormatDetails = Shapes::UnionShape.new(name: 'ConversionTargetFormatDetails')
28
35
  CreateCapabilityRequest = Shapes::StructureShape.new(name: 'CreateCapabilityRequest')
29
36
  CreateCapabilityResponse = Shapes::StructureShape.new(name: 'CreateCapabilityResponse')
30
37
  CreatePartnershipRequest = Shapes::StructureShape.new(name: 'CreatePartnershipRequest')
31
38
  CreatePartnershipResponse = Shapes::StructureShape.new(name: 'CreatePartnershipResponse')
32
39
  CreateProfileRequest = Shapes::StructureShape.new(name: 'CreateProfileRequest')
33
40
  CreateProfileResponse = Shapes::StructureShape.new(name: 'CreateProfileResponse')
41
+ CreateStarterMappingTemplateRequest = Shapes::StructureShape.new(name: 'CreateStarterMappingTemplateRequest')
42
+ CreateStarterMappingTemplateResponse = Shapes::StructureShape.new(name: 'CreateStarterMappingTemplateResponse')
34
43
  CreateTransformerRequest = Shapes::StructureShape.new(name: 'CreateTransformerRequest')
35
44
  CreateTransformerResponse = Shapes::StructureShape.new(name: 'CreateTransformerResponse')
36
45
  CreatedDate = Shapes::TimestampShape.new(name: 'CreatedDate', timestampFormat: "iso8601")
@@ -44,6 +53,8 @@ module Aws::B2bi
44
53
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
45
54
  FileFormat = Shapes::StringShape.new(name: 'FileFormat')
46
55
  FileLocation = Shapes::StringShape.new(name: 'FileLocation')
56
+ FormatOptions = Shapes::UnionShape.new(name: 'FormatOptions')
57
+ FromFormat = Shapes::StringShape.new(name: 'FromFormat')
47
58
  GetCapabilityRequest = Shapes::StructureShape.new(name: 'GetCapabilityRequest')
48
59
  GetCapabilityResponse = Shapes::StructureShape.new(name: 'GetCapabilityResponse')
49
60
  GetPartnershipRequest = Shapes::StructureShape.new(name: 'GetPartnershipRequest')
@@ -54,9 +65,13 @@ module Aws::B2bi
54
65
  GetTransformerJobResponse = Shapes::StructureShape.new(name: 'GetTransformerJobResponse')
55
66
  GetTransformerRequest = Shapes::StructureShape.new(name: 'GetTransformerRequest')
56
67
  GetTransformerResponse = Shapes::StructureShape.new(name: 'GetTransformerResponse')
68
+ InputConversion = Shapes::StructureShape.new(name: 'InputConversion')
69
+ InputFileSource = Shapes::UnionShape.new(name: 'InputFileSource')
70
+ InputFileSourceFileContentString = Shapes::StringShape.new(name: 'InputFileSourceFileContentString')
57
71
  InstructionsDocuments = Shapes::ListShape.new(name: 'InstructionsDocuments')
58
72
  Integer = Shapes::IntegerShape.new(name: 'Integer')
59
73
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
74
+ KeyList = Shapes::ListShape.new(name: 'KeyList')
60
75
  ListCapabilitiesRequest = Shapes::StructureShape.new(name: 'ListCapabilitiesRequest')
61
76
  ListCapabilitiesResponse = Shapes::StructureShape.new(name: 'ListCapabilitiesResponse')
62
77
  ListPartnershipsRequest = Shapes::StructureShape.new(name: 'ListPartnershipsRequest')
@@ -69,9 +84,15 @@ module Aws::B2bi
69
84
  ListTransformersResponse = Shapes::StructureShape.new(name: 'ListTransformersResponse')
70
85
  LogGroupName = Shapes::StringShape.new(name: 'LogGroupName')
71
86
  Logging = Shapes::StringShape.new(name: 'Logging')
87
+ Mapping = Shapes::StructureShape.new(name: 'Mapping')
72
88
  MappingTemplate = Shapes::StringShape.new(name: 'MappingTemplate')
89
+ MappingTemplateLanguage = Shapes::StringShape.new(name: 'MappingTemplateLanguage')
90
+ MappingType = Shapes::StringShape.new(name: 'MappingType')
73
91
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
74
92
  ModifiedDate = Shapes::TimestampShape.new(name: 'ModifiedDate', timestampFormat: "iso8601")
93
+ OutboundEdiOptions = Shapes::UnionShape.new(name: 'OutboundEdiOptions')
94
+ OutputConversion = Shapes::StructureShape.new(name: 'OutputConversion')
95
+ OutputSampleFileSource = Shapes::UnionShape.new(name: 'OutputSampleFileSource')
75
96
  PageToken = Shapes::StringShape.new(name: 'PageToken')
76
97
  PartnerName = Shapes::StringShape.new(name: 'PartnerName')
77
98
  PartnershipCapabilities = Shapes::ListShape.new(name: 'PartnershipCapabilities')
@@ -88,6 +109,8 @@ module Aws::B2bi
88
109
  S3Key = Shapes::StringShape.new(name: 'S3Key')
89
110
  S3Location = Shapes::StructureShape.new(name: 'S3Location')
90
111
  S3LocationList = Shapes::ListShape.new(name: 'S3LocationList')
112
+ SampleDocumentKeys = Shapes::StructureShape.new(name: 'SampleDocumentKeys')
113
+ SampleDocuments = Shapes::StructureShape.new(name: 'SampleDocuments')
91
114
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
92
115
  StartTransformerJobRequest = Shapes::StructureShape.new(name: 'StartTransformerJobRequest')
93
116
  StartTransformerJobResponse = Shapes::StructureShape.new(name: 'StartTransformerJobResponse')
@@ -98,12 +121,16 @@ module Aws::B2bi
98
121
  TagList = Shapes::ListShape.new(name: 'TagList')
99
122
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
100
123
  TagValue = Shapes::StringShape.new(name: 'TagValue')
124
+ TemplateDetails = Shapes::UnionShape.new(name: 'TemplateDetails')
125
+ TestConversionRequest = Shapes::StructureShape.new(name: 'TestConversionRequest')
126
+ TestConversionResponse = Shapes::StructureShape.new(name: 'TestConversionResponse')
101
127
  TestMappingInputFileContent = Shapes::StringShape.new(name: 'TestMappingInputFileContent')
102
128
  TestMappingRequest = Shapes::StructureShape.new(name: 'TestMappingRequest')
103
129
  TestMappingResponse = Shapes::StructureShape.new(name: 'TestMappingResponse')
104
130
  TestParsingRequest = Shapes::StructureShape.new(name: 'TestParsingRequest')
105
131
  TestParsingResponse = Shapes::StructureShape.new(name: 'TestParsingResponse')
106
132
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
133
+ ToFormat = Shapes::StringShape.new(name: 'ToFormat')
107
134
  TradingPartnerId = Shapes::StringShape.new(name: 'TradingPartnerId')
108
135
  TransformerId = Shapes::StringShape.new(name: 'TransformerId')
109
136
  TransformerJobId = Shapes::StringShape.new(name: 'TransformerJobId')
@@ -122,8 +149,27 @@ module Aws::B2bi
122
149
  UpdateTransformerRequest = Shapes::StructureShape.new(name: 'UpdateTransformerRequest')
123
150
  UpdateTransformerResponse = Shapes::StructureShape.new(name: 'UpdateTransformerResponse')
124
151
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
152
+ ValidationMessages = Shapes::ListShape.new(name: 'ValidationMessages')
153
+ X12AcknowledgmentRequestedCode = Shapes::StringShape.new(name: 'X12AcknowledgmentRequestedCode')
154
+ X12ApplicationReceiverCode = Shapes::StringShape.new(name: 'X12ApplicationReceiverCode')
155
+ X12ApplicationSenderCode = Shapes::StringShape.new(name: 'X12ApplicationSenderCode')
156
+ X12ComponentSeparator = Shapes::StringShape.new(name: 'X12ComponentSeparator')
157
+ X12DataElementSeparator = Shapes::StringShape.new(name: 'X12DataElementSeparator')
158
+ X12Delimiters = Shapes::StructureShape.new(name: 'X12Delimiters')
125
159
  X12Details = Shapes::StructureShape.new(name: 'X12Details')
160
+ X12Envelope = Shapes::StructureShape.new(name: 'X12Envelope')
161
+ X12FunctionalGroupHeaders = Shapes::StructureShape.new(name: 'X12FunctionalGroupHeaders')
162
+ X12IdQualifier = Shapes::StringShape.new(name: 'X12IdQualifier')
163
+ X12InterchangeControlHeaders = Shapes::StructureShape.new(name: 'X12InterchangeControlHeaders')
164
+ X12OutboundEdiHeaders = Shapes::StructureShape.new(name: 'X12OutboundEdiHeaders')
165
+ X12ReceiverId = Shapes::StringShape.new(name: 'X12ReceiverId')
166
+ X12RepetitionSeparator = Shapes::StringShape.new(name: 'X12RepetitionSeparator')
167
+ X12ResponsibleAgencyCode = Shapes::StringShape.new(name: 'X12ResponsibleAgencyCode')
168
+ X12SegmentTerminator = Shapes::StringShape.new(name: 'X12SegmentTerminator')
169
+ X12SenderId = Shapes::StringShape.new(name: 'X12SenderId')
126
170
  X12TransactionSet = Shapes::StringShape.new(name: 'X12TransactionSet')
171
+ X12UsageIndicatorCode = Shapes::StringShape.new(name: 'X12UsageIndicatorCode')
172
+ X12ValidateEdi = Shapes::BooleanShape.new(name: 'X12ValidateEdi')
127
173
  X12Version = Shapes::StringShape.new(name: 'X12Version')
128
174
 
129
175
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
@@ -137,6 +183,9 @@ module Aws::B2bi
137
183
 
138
184
  CapabilityList.member = Shapes::ShapeRef.new(shape: CapabilitySummary)
139
185
 
186
+ CapabilityOptions.add_member(:outbound_edi, Shapes::ShapeRef.new(shape: OutboundEdiOptions, location_name: "outboundEdi"))
187
+ CapabilityOptions.struct_class = Types::CapabilityOptions
188
+
140
189
  CapabilitySummary.add_member(:capability_id, Shapes::ShapeRef.new(shape: CapabilityId, required: true, location_name: "capabilityId"))
141
190
  CapabilitySummary.add_member(:name, Shapes::ShapeRef.new(shape: CapabilityName, required: true, location_name: "name"))
142
191
  CapabilitySummary.add_member(:type, Shapes::ShapeRef.new(shape: CapabilityType, required: true, location_name: "type"))
@@ -147,6 +196,21 @@ module Aws::B2bi
147
196
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
148
197
  ConflictException.struct_class = Types::ConflictException
149
198
 
199
+ ConversionSource.add_member(:file_format, Shapes::ShapeRef.new(shape: ConversionSourceFormat, required: true, location_name: "fileFormat"))
200
+ ConversionSource.add_member(:input_file, Shapes::ShapeRef.new(shape: InputFileSource, required: true, location_name: "inputFile"))
201
+ ConversionSource.struct_class = Types::ConversionSource
202
+
203
+ ConversionTarget.add_member(:file_format, Shapes::ShapeRef.new(shape: ConversionTargetFormat, required: true, location_name: "fileFormat"))
204
+ ConversionTarget.add_member(:format_details, Shapes::ShapeRef.new(shape: ConversionTargetFormatDetails, location_name: "formatDetails"))
205
+ ConversionTarget.add_member(:output_sample_file, Shapes::ShapeRef.new(shape: OutputSampleFileSource, location_name: "outputSampleFile"))
206
+ ConversionTarget.struct_class = Types::ConversionTarget
207
+
208
+ ConversionTargetFormatDetails.add_member(:x12, Shapes::ShapeRef.new(shape: X12Details, location_name: "x12"))
209
+ ConversionTargetFormatDetails.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
210
+ ConversionTargetFormatDetails.add_member_subclass(:x12, Types::ConversionTargetFormatDetails::X12)
211
+ ConversionTargetFormatDetails.add_member_subclass(:unknown, Types::ConversionTargetFormatDetails::Unknown)
212
+ ConversionTargetFormatDetails.struct_class = Types::ConversionTargetFormatDetails
213
+
150
214
  CreateCapabilityRequest.add_member(:name, Shapes::ShapeRef.new(shape: CapabilityName, required: true, location_name: "name"))
151
215
  CreateCapabilityRequest.add_member(:type, Shapes::ShapeRef.new(shape: CapabilityType, required: true, location_name: "type"))
152
216
  CreateCapabilityRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: CapabilityConfiguration, required: true, location_name: "configuration"))
@@ -169,6 +233,7 @@ module Aws::B2bi
169
233
  CreatePartnershipRequest.add_member(:email, Shapes::ShapeRef.new(shape: Email, required: true, location_name: "email"))
170
234
  CreatePartnershipRequest.add_member(:phone, Shapes::ShapeRef.new(shape: Phone, location_name: "phone"))
171
235
  CreatePartnershipRequest.add_member(:capabilities, Shapes::ShapeRef.new(shape: PartnershipCapabilities, required: true, location_name: "capabilities"))
236
+ CreatePartnershipRequest.add_member(:capability_options, Shapes::ShapeRef.new(shape: CapabilityOptions, location_name: "capabilityOptions"))
172
237
  CreatePartnershipRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
173
238
  CreatePartnershipRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
174
239
  CreatePartnershipRequest.struct_class = Types::CreatePartnershipRequest
@@ -180,6 +245,7 @@ module Aws::B2bi
180
245
  CreatePartnershipResponse.add_member(:email, Shapes::ShapeRef.new(shape: Email, location_name: "email"))
181
246
  CreatePartnershipResponse.add_member(:phone, Shapes::ShapeRef.new(shape: Phone, location_name: "phone"))
182
247
  CreatePartnershipResponse.add_member(:capabilities, Shapes::ShapeRef.new(shape: PartnershipCapabilities, location_name: "capabilities"))
248
+ CreatePartnershipResponse.add_member(:capability_options, Shapes::ShapeRef.new(shape: CapabilityOptions, location_name: "capabilityOptions"))
183
249
  CreatePartnershipResponse.add_member(:trading_partner_id, Shapes::ShapeRef.new(shape: TradingPartnerId, location_name: "tradingPartnerId"))
184
250
  CreatePartnershipResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedDate, required: true, location_name: "createdAt"))
185
251
  CreatePartnershipResponse.struct_class = Types::CreatePartnershipResponse
@@ -204,24 +270,40 @@ module Aws::B2bi
204
270
  CreateProfileResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedDate, required: true, location_name: "createdAt"))
205
271
  CreateProfileResponse.struct_class = Types::CreateProfileResponse
206
272
 
273
+ CreateStarterMappingTemplateRequest.add_member(:output_sample_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "outputSampleLocation"))
274
+ CreateStarterMappingTemplateRequest.add_member(:mapping_type, Shapes::ShapeRef.new(shape: MappingType, required: true, location_name: "mappingType"))
275
+ CreateStarterMappingTemplateRequest.add_member(:template_details, Shapes::ShapeRef.new(shape: TemplateDetails, required: true, location_name: "templateDetails"))
276
+ CreateStarterMappingTemplateRequest.struct_class = Types::CreateStarterMappingTemplateRequest
277
+
278
+ CreateStarterMappingTemplateResponse.add_member(:mapping_template, Shapes::ShapeRef.new(shape: String, required: true, location_name: "mappingTemplate"))
279
+ CreateStarterMappingTemplateResponse.struct_class = Types::CreateStarterMappingTemplateResponse
280
+
207
281
  CreateTransformerRequest.add_member(:name, Shapes::ShapeRef.new(shape: TransformerName, required: true, location_name: "name"))
208
- CreateTransformerRequest.add_member(:file_format, Shapes::ShapeRef.new(shape: FileFormat, required: true, location_name: "fileFormat"))
209
- CreateTransformerRequest.add_member(:mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, required: true, location_name: "mappingTemplate"))
210
- CreateTransformerRequest.add_member(:edi_type, Shapes::ShapeRef.new(shape: EdiType, required: true, location_name: "ediType"))
211
- CreateTransformerRequest.add_member(:sample_document, Shapes::ShapeRef.new(shape: FileLocation, location_name: "sampleDocument"))
212
282
  CreateTransformerRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
213
283
  CreateTransformerRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
284
+ CreateTransformerRequest.add_member(:file_format, Shapes::ShapeRef.new(shape: FileFormat, deprecated: true, location_name: "fileFormat", metadata: {"deprecatedMessage"=>"This is a legacy trait. Please use input-conversion or output-conversion."}))
285
+ CreateTransformerRequest.add_member(:mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, deprecated: true, location_name: "mappingTemplate", metadata: {"deprecatedMessage"=>"This is a legacy trait. Please use input-conversion or output-conversion."}))
286
+ CreateTransformerRequest.add_member(:edi_type, Shapes::ShapeRef.new(shape: EdiType, deprecated: true, location_name: "ediType", metadata: {"deprecatedMessage"=>"This is a legacy trait. Please use input-conversion or output-conversion."}))
287
+ CreateTransformerRequest.add_member(:sample_document, Shapes::ShapeRef.new(shape: FileLocation, deprecated: true, location_name: "sampleDocument", metadata: {"deprecatedMessage"=>"This is a legacy trait. Please use input-conversion or output-conversion."}))
288
+ CreateTransformerRequest.add_member(:input_conversion, Shapes::ShapeRef.new(shape: InputConversion, location_name: "inputConversion"))
289
+ CreateTransformerRequest.add_member(:mapping, Shapes::ShapeRef.new(shape: Mapping, location_name: "mapping"))
290
+ CreateTransformerRequest.add_member(:output_conversion, Shapes::ShapeRef.new(shape: OutputConversion, location_name: "outputConversion"))
291
+ CreateTransformerRequest.add_member(:sample_documents, Shapes::ShapeRef.new(shape: SampleDocuments, location_name: "sampleDocuments"))
214
292
  CreateTransformerRequest.struct_class = Types::CreateTransformerRequest
215
293
 
216
294
  CreateTransformerResponse.add_member(:transformer_id, Shapes::ShapeRef.new(shape: TransformerId, required: true, location_name: "transformerId"))
217
295
  CreateTransformerResponse.add_member(:transformer_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "transformerArn"))
218
296
  CreateTransformerResponse.add_member(:name, Shapes::ShapeRef.new(shape: TransformerName, required: true, location_name: "name"))
219
- CreateTransformerResponse.add_member(:file_format, Shapes::ShapeRef.new(shape: FileFormat, required: true, location_name: "fileFormat"))
220
- CreateTransformerResponse.add_member(:mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, required: true, location_name: "mappingTemplate"))
221
297
  CreateTransformerResponse.add_member(:status, Shapes::ShapeRef.new(shape: TransformerStatus, required: true, location_name: "status"))
222
- CreateTransformerResponse.add_member(:edi_type, Shapes::ShapeRef.new(shape: EdiType, required: true, location_name: "ediType"))
223
- CreateTransformerResponse.add_member(:sample_document, Shapes::ShapeRef.new(shape: FileLocation, location_name: "sampleDocument"))
224
298
  CreateTransformerResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedDate, required: true, location_name: "createdAt"))
299
+ CreateTransformerResponse.add_member(:file_format, Shapes::ShapeRef.new(shape: FileFormat, deprecated: true, location_name: "fileFormat", metadata: {"deprecatedMessage"=>"This is a legacy trait. Please use input-conversion or output-conversion."}))
300
+ CreateTransformerResponse.add_member(:mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, deprecated: true, location_name: "mappingTemplate", metadata: {"deprecatedMessage"=>"This is a legacy trait. Please use input-conversion or output-conversion."}))
301
+ CreateTransformerResponse.add_member(:edi_type, Shapes::ShapeRef.new(shape: EdiType, deprecated: true, location_name: "ediType", metadata: {"deprecatedMessage"=>"This is a legacy trait. Please use input-conversion or output-conversion."}))
302
+ CreateTransformerResponse.add_member(:sample_document, Shapes::ShapeRef.new(shape: FileLocation, deprecated: true, location_name: "sampleDocument", metadata: {"deprecatedMessage"=>"This is a legacy trait. Please use input-conversion or output-conversion."}))
303
+ CreateTransformerResponse.add_member(:input_conversion, Shapes::ShapeRef.new(shape: InputConversion, location_name: "inputConversion"))
304
+ CreateTransformerResponse.add_member(:mapping, Shapes::ShapeRef.new(shape: Mapping, location_name: "mapping"))
305
+ CreateTransformerResponse.add_member(:output_conversion, Shapes::ShapeRef.new(shape: OutputConversion, location_name: "outputConversion"))
306
+ CreateTransformerResponse.add_member(:sample_documents, Shapes::ShapeRef.new(shape: SampleDocuments, location_name: "sampleDocuments"))
225
307
  CreateTransformerResponse.struct_class = Types::CreateTransformerResponse
226
308
 
227
309
  DeleteCapabilityRequest.add_member(:capability_id, Shapes::ShapeRef.new(shape: CapabilityId, required: true, location_name: "capabilityId"))
@@ -236,6 +318,7 @@ module Aws::B2bi
236
318
  DeleteTransformerRequest.add_member(:transformer_id, Shapes::ShapeRef.new(shape: TransformerId, required: true, location_name: "transformerId"))
237
319
  DeleteTransformerRequest.struct_class = Types::DeleteTransformerRequest
238
320
 
321
+ EdiConfiguration.add_member(:capability_direction, Shapes::ShapeRef.new(shape: CapabilityDirection, location_name: "capabilityDirection"))
239
322
  EdiConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: EdiType, required: true, location_name: "type"))
240
323
  EdiConfiguration.add_member(:input_location, Shapes::ShapeRef.new(shape: S3Location, required: true, location_name: "inputLocation"))
241
324
  EdiConfiguration.add_member(:output_location, Shapes::ShapeRef.new(shape: S3Location, required: true, location_name: "outputLocation"))
@@ -248,6 +331,12 @@ module Aws::B2bi
248
331
  EdiType.add_member_subclass(:unknown, Types::EdiType::Unknown)
249
332
  EdiType.struct_class = Types::EdiType
250
333
 
334
+ FormatOptions.add_member(:x12, Shapes::ShapeRef.new(shape: X12Details, location_name: "x12"))
335
+ FormatOptions.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
336
+ FormatOptions.add_member_subclass(:x12, Types::FormatOptions::X12)
337
+ FormatOptions.add_member_subclass(:unknown, Types::FormatOptions::Unknown)
338
+ FormatOptions.struct_class = Types::FormatOptions
339
+
251
340
  GetCapabilityRequest.add_member(:capability_id, Shapes::ShapeRef.new(shape: CapabilityId, required: true, location_name: "capabilityId"))
252
341
  GetCapabilityRequest.struct_class = Types::GetCapabilityRequest
253
342
 
@@ -271,6 +360,7 @@ module Aws::B2bi
271
360
  GetPartnershipResponse.add_member(:email, Shapes::ShapeRef.new(shape: Email, location_name: "email"))
272
361
  GetPartnershipResponse.add_member(:phone, Shapes::ShapeRef.new(shape: Phone, location_name: "phone"))
273
362
  GetPartnershipResponse.add_member(:capabilities, Shapes::ShapeRef.new(shape: PartnershipCapabilities, location_name: "capabilities"))
363
+ GetPartnershipResponse.add_member(:capability_options, Shapes::ShapeRef.new(shape: CapabilityOptions, location_name: "capabilityOptions"))
274
364
  GetPartnershipResponse.add_member(:trading_partner_id, Shapes::ShapeRef.new(shape: TradingPartnerId, location_name: "tradingPartnerId"))
275
365
  GetPartnershipResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedDate, required: true, location_name: "createdAt"))
276
366
  GetPartnershipResponse.add_member(:modified_at, Shapes::ShapeRef.new(shape: ModifiedDate, location_name: "modifiedAt"))
@@ -306,21 +396,37 @@ module Aws::B2bi
306
396
  GetTransformerResponse.add_member(:transformer_id, Shapes::ShapeRef.new(shape: TransformerId, required: true, location_name: "transformerId"))
307
397
  GetTransformerResponse.add_member(:transformer_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "transformerArn"))
308
398
  GetTransformerResponse.add_member(:name, Shapes::ShapeRef.new(shape: TransformerName, required: true, location_name: "name"))
309
- GetTransformerResponse.add_member(:file_format, Shapes::ShapeRef.new(shape: FileFormat, required: true, location_name: "fileFormat"))
310
- GetTransformerResponse.add_member(:mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, required: true, location_name: "mappingTemplate"))
311
399
  GetTransformerResponse.add_member(:status, Shapes::ShapeRef.new(shape: TransformerStatus, required: true, location_name: "status"))
312
- GetTransformerResponse.add_member(:edi_type, Shapes::ShapeRef.new(shape: EdiType, required: true, location_name: "ediType"))
313
- GetTransformerResponse.add_member(:sample_document, Shapes::ShapeRef.new(shape: FileLocation, location_name: "sampleDocument"))
314
400
  GetTransformerResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedDate, required: true, location_name: "createdAt"))
315
401
  GetTransformerResponse.add_member(:modified_at, Shapes::ShapeRef.new(shape: ModifiedDate, location_name: "modifiedAt"))
402
+ GetTransformerResponse.add_member(:file_format, Shapes::ShapeRef.new(shape: FileFormat, deprecated: true, location_name: "fileFormat", metadata: {"deprecatedMessage"=>"This is a legacy trait. Please use input-conversion or output-conversion."}))
403
+ GetTransformerResponse.add_member(:mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, deprecated: true, location_name: "mappingTemplate", metadata: {"deprecatedMessage"=>"This is a legacy trait. Please use input-conversion or output-conversion."}))
404
+ GetTransformerResponse.add_member(:edi_type, Shapes::ShapeRef.new(shape: EdiType, deprecated: true, location_name: "ediType", metadata: {"deprecatedMessage"=>"This is a legacy trait. Please use input-conversion or output-conversion."}))
405
+ GetTransformerResponse.add_member(:sample_document, Shapes::ShapeRef.new(shape: FileLocation, deprecated: true, location_name: "sampleDocument", metadata: {"deprecatedMessage"=>"This is a legacy trait. Please use input-conversion or output-conversion."}))
406
+ GetTransformerResponse.add_member(:input_conversion, Shapes::ShapeRef.new(shape: InputConversion, location_name: "inputConversion"))
407
+ GetTransformerResponse.add_member(:mapping, Shapes::ShapeRef.new(shape: Mapping, location_name: "mapping"))
408
+ GetTransformerResponse.add_member(:output_conversion, Shapes::ShapeRef.new(shape: OutputConversion, location_name: "outputConversion"))
409
+ GetTransformerResponse.add_member(:sample_documents, Shapes::ShapeRef.new(shape: SampleDocuments, location_name: "sampleDocuments"))
316
410
  GetTransformerResponse.struct_class = Types::GetTransformerResponse
317
411
 
412
+ InputConversion.add_member(:from_format, Shapes::ShapeRef.new(shape: FromFormat, required: true, location_name: "fromFormat"))
413
+ InputConversion.add_member(:format_options, Shapes::ShapeRef.new(shape: FormatOptions, location_name: "formatOptions"))
414
+ InputConversion.struct_class = Types::InputConversion
415
+
416
+ InputFileSource.add_member(:file_content, Shapes::ShapeRef.new(shape: InputFileSourceFileContentString, location_name: "fileContent"))
417
+ InputFileSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
418
+ InputFileSource.add_member_subclass(:file_content, Types::InputFileSource::FileContent)
419
+ InputFileSource.add_member_subclass(:unknown, Types::InputFileSource::Unknown)
420
+ InputFileSource.struct_class = Types::InputFileSource
421
+
318
422
  InstructionsDocuments.member = Shapes::ShapeRef.new(shape: S3Location)
319
423
 
320
424
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
321
425
  InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "retryAfterSeconds"))
322
426
  InternalServerException.struct_class = Types::InternalServerException
323
427
 
428
+ KeyList.member = Shapes::ShapeRef.new(shape: SampleDocumentKeys)
429
+
324
430
  ListCapabilitiesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
325
431
  ListCapabilitiesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
326
432
  ListCapabilitiesRequest.struct_class = Types::ListCapabilitiesRequest
@@ -360,6 +466,26 @@ module Aws::B2bi
360
466
  ListTransformersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
361
467
  ListTransformersResponse.struct_class = Types::ListTransformersResponse
362
468
 
469
+ Mapping.add_member(:template_language, Shapes::ShapeRef.new(shape: MappingTemplateLanguage, required: true, location_name: "templateLanguage"))
470
+ Mapping.add_member(:template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "template"))
471
+ Mapping.struct_class = Types::Mapping
472
+
473
+ OutboundEdiOptions.add_member(:x12, Shapes::ShapeRef.new(shape: X12Envelope, location_name: "x12"))
474
+ OutboundEdiOptions.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
475
+ OutboundEdiOptions.add_member_subclass(:x12, Types::OutboundEdiOptions::X12)
476
+ OutboundEdiOptions.add_member_subclass(:unknown, Types::OutboundEdiOptions::Unknown)
477
+ OutboundEdiOptions.struct_class = Types::OutboundEdiOptions
478
+
479
+ OutputConversion.add_member(:to_format, Shapes::ShapeRef.new(shape: ToFormat, required: true, location_name: "toFormat"))
480
+ OutputConversion.add_member(:format_options, Shapes::ShapeRef.new(shape: FormatOptions, location_name: "formatOptions"))
481
+ OutputConversion.struct_class = Types::OutputConversion
482
+
483
+ OutputSampleFileSource.add_member(:file_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "fileLocation"))
484
+ OutputSampleFileSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
485
+ OutputSampleFileSource.add_member_subclass(:file_location, Types::OutputSampleFileSource::FileLocation)
486
+ OutputSampleFileSource.add_member_subclass(:unknown, Types::OutputSampleFileSource::Unknown)
487
+ OutputSampleFileSource.struct_class = Types::OutputSampleFileSource
488
+
363
489
  PartnershipCapabilities.member = Shapes::ShapeRef.new(shape: CapabilityId)
364
490
 
365
491
  PartnershipList.member = Shapes::ShapeRef.new(shape: PartnershipSummary)
@@ -368,6 +494,7 @@ module Aws::B2bi
368
494
  PartnershipSummary.add_member(:partnership_id, Shapes::ShapeRef.new(shape: PartnershipId, required: true, location_name: "partnershipId"))
369
495
  PartnershipSummary.add_member(:name, Shapes::ShapeRef.new(shape: PartnerName, location_name: "name"))
370
496
  PartnershipSummary.add_member(:capabilities, Shapes::ShapeRef.new(shape: PartnershipCapabilities, location_name: "capabilities"))
497
+ PartnershipSummary.add_member(:capability_options, Shapes::ShapeRef.new(shape: CapabilityOptions, location_name: "capabilityOptions"))
371
498
  PartnershipSummary.add_member(:trading_partner_id, Shapes::ShapeRef.new(shape: TradingPartnerId, location_name: "tradingPartnerId"))
372
499
  PartnershipSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedDate, required: true, location_name: "createdAt"))
373
500
  PartnershipSummary.add_member(:modified_at, Shapes::ShapeRef.new(shape: ModifiedDate, location_name: "modifiedAt"))
@@ -393,6 +520,14 @@ module Aws::B2bi
393
520
 
394
521
  S3LocationList.member = Shapes::ShapeRef.new(shape: S3Location)
395
522
 
523
+ SampleDocumentKeys.add_member(:input, Shapes::ShapeRef.new(shape: S3Key, location_name: "input"))
524
+ SampleDocumentKeys.add_member(:output, Shapes::ShapeRef.new(shape: S3Key, location_name: "output"))
525
+ SampleDocumentKeys.struct_class = Types::SampleDocumentKeys
526
+
527
+ SampleDocuments.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "bucketName"))
528
+ SampleDocuments.add_member(:keys, Shapes::ShapeRef.new(shape: KeyList, required: true, location_name: "keys"))
529
+ SampleDocuments.struct_class = Types::SampleDocuments
530
+
396
531
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
397
532
  ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
398
533
  ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
@@ -421,6 +556,20 @@ module Aws::B2bi
421
556
  TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
422
557
  TagResourceRequest.struct_class = Types::TagResourceRequest
423
558
 
559
+ TemplateDetails.add_member(:x12, Shapes::ShapeRef.new(shape: X12Details, location_name: "x12"))
560
+ TemplateDetails.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
561
+ TemplateDetails.add_member_subclass(:x12, Types::TemplateDetails::X12)
562
+ TemplateDetails.add_member_subclass(:unknown, Types::TemplateDetails::Unknown)
563
+ TemplateDetails.struct_class = Types::TemplateDetails
564
+
565
+ TestConversionRequest.add_member(:source, Shapes::ShapeRef.new(shape: ConversionSource, required: true, location_name: "source"))
566
+ TestConversionRequest.add_member(:target, Shapes::ShapeRef.new(shape: ConversionTarget, required: true, location_name: "target"))
567
+ TestConversionRequest.struct_class = Types::TestConversionRequest
568
+
569
+ TestConversionResponse.add_member(:converted_file_content, Shapes::ShapeRef.new(shape: String, required: true, location_name: "convertedFileContent"))
570
+ TestConversionResponse.add_member(:validation_messages, Shapes::ShapeRef.new(shape: ValidationMessages, location_name: "validationMessages"))
571
+ TestConversionResponse.struct_class = Types::TestConversionResponse
572
+
424
573
  TestMappingRequest.add_member(:input_file_content, Shapes::ShapeRef.new(shape: TestMappingInputFileContent, required: true, location_name: "inputFileContent"))
425
574
  TestMappingRequest.add_member(:mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, required: true, location_name: "mappingTemplate"))
426
575
  TestMappingRequest.add_member(:file_format, Shapes::ShapeRef.new(shape: FileFormat, required: true, location_name: "fileFormat"))
@@ -445,13 +594,17 @@ module Aws::B2bi
445
594
 
446
595
  TransformerSummary.add_member(:transformer_id, Shapes::ShapeRef.new(shape: TransformerId, required: true, location_name: "transformerId"))
447
596
  TransformerSummary.add_member(:name, Shapes::ShapeRef.new(shape: TransformerName, required: true, location_name: "name"))
448
- TransformerSummary.add_member(:file_format, Shapes::ShapeRef.new(shape: FileFormat, required: true, location_name: "fileFormat"))
449
- TransformerSummary.add_member(:mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, required: true, location_name: "mappingTemplate"))
450
597
  TransformerSummary.add_member(:status, Shapes::ShapeRef.new(shape: TransformerStatus, required: true, location_name: "status"))
451
- TransformerSummary.add_member(:edi_type, Shapes::ShapeRef.new(shape: EdiType, required: true, location_name: "ediType"))
452
- TransformerSummary.add_member(:sample_document, Shapes::ShapeRef.new(shape: FileLocation, location_name: "sampleDocument"))
453
598
  TransformerSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedDate, required: true, location_name: "createdAt"))
454
599
  TransformerSummary.add_member(:modified_at, Shapes::ShapeRef.new(shape: ModifiedDate, location_name: "modifiedAt"))
600
+ TransformerSummary.add_member(:file_format, Shapes::ShapeRef.new(shape: FileFormat, deprecated: true, location_name: "fileFormat", metadata: {"deprecatedMessage"=>"This is a legacy trait. Please use input-conversion or output-conversion."}))
601
+ TransformerSummary.add_member(:mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, deprecated: true, location_name: "mappingTemplate", metadata: {"deprecatedMessage"=>"This is a legacy trait. Please use input-conversion or output-conversion."}))
602
+ TransformerSummary.add_member(:edi_type, Shapes::ShapeRef.new(shape: EdiType, deprecated: true, location_name: "ediType", metadata: {"deprecatedMessage"=>"This is a legacy trait. Please use input-conversion or output-conversion."}))
603
+ TransformerSummary.add_member(:sample_document, Shapes::ShapeRef.new(shape: FileLocation, deprecated: true, location_name: "sampleDocument", metadata: {"deprecatedMessage"=>"This is a legacy trait. Please use input-conversion or output-conversion."}))
604
+ TransformerSummary.add_member(:input_conversion, Shapes::ShapeRef.new(shape: InputConversion, location_name: "inputConversion"))
605
+ TransformerSummary.add_member(:mapping, Shapes::ShapeRef.new(shape: Mapping, location_name: "mapping"))
606
+ TransformerSummary.add_member(:output_conversion, Shapes::ShapeRef.new(shape: OutputConversion, location_name: "outputConversion"))
607
+ TransformerSummary.add_member(:sample_documents, Shapes::ShapeRef.new(shape: SampleDocuments, location_name: "sampleDocuments"))
455
608
  TransformerSummary.struct_class = Types::TransformerSummary
456
609
 
457
610
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
@@ -477,6 +630,7 @@ module Aws::B2bi
477
630
  UpdatePartnershipRequest.add_member(:partnership_id, Shapes::ShapeRef.new(shape: PartnershipId, required: true, location_name: "partnershipId"))
478
631
  UpdatePartnershipRequest.add_member(:name, Shapes::ShapeRef.new(shape: PartnerName, location_name: "name"))
479
632
  UpdatePartnershipRequest.add_member(:capabilities, Shapes::ShapeRef.new(shape: PartnershipCapabilities, location_name: "capabilities"))
633
+ UpdatePartnershipRequest.add_member(:capability_options, Shapes::ShapeRef.new(shape: CapabilityOptions, location_name: "capabilityOptions"))
480
634
  UpdatePartnershipRequest.struct_class = Types::UpdatePartnershipRequest
481
635
 
482
636
  UpdatePartnershipResponse.add_member(:profile_id, Shapes::ShapeRef.new(shape: ProfileId, required: true, location_name: "profileId"))
@@ -486,6 +640,7 @@ module Aws::B2bi
486
640
  UpdatePartnershipResponse.add_member(:email, Shapes::ShapeRef.new(shape: Email, location_name: "email"))
487
641
  UpdatePartnershipResponse.add_member(:phone, Shapes::ShapeRef.new(shape: Phone, location_name: "phone"))
488
642
  UpdatePartnershipResponse.add_member(:capabilities, Shapes::ShapeRef.new(shape: PartnershipCapabilities, location_name: "capabilities"))
643
+ UpdatePartnershipResponse.add_member(:capability_options, Shapes::ShapeRef.new(shape: CapabilityOptions, location_name: "capabilityOptions"))
489
644
  UpdatePartnershipResponse.add_member(:trading_partner_id, Shapes::ShapeRef.new(shape: TradingPartnerId, location_name: "tradingPartnerId"))
490
645
  UpdatePartnershipResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedDate, required: true, location_name: "createdAt"))
491
646
  UpdatePartnershipResponse.add_member(:modified_at, Shapes::ShapeRef.new(shape: ModifiedDate, location_name: "modifiedAt"))
@@ -512,32 +667,70 @@ module Aws::B2bi
512
667
 
513
668
  UpdateTransformerRequest.add_member(:transformer_id, Shapes::ShapeRef.new(shape: TransformerId, required: true, location_name: "transformerId"))
514
669
  UpdateTransformerRequest.add_member(:name, Shapes::ShapeRef.new(shape: TransformerName, location_name: "name"))
515
- UpdateTransformerRequest.add_member(:file_format, Shapes::ShapeRef.new(shape: FileFormat, location_name: "fileFormat"))
516
- UpdateTransformerRequest.add_member(:mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "mappingTemplate"))
517
670
  UpdateTransformerRequest.add_member(:status, Shapes::ShapeRef.new(shape: TransformerStatus, location_name: "status"))
518
- UpdateTransformerRequest.add_member(:edi_type, Shapes::ShapeRef.new(shape: EdiType, location_name: "ediType"))
519
- UpdateTransformerRequest.add_member(:sample_document, Shapes::ShapeRef.new(shape: FileLocation, location_name: "sampleDocument"))
671
+ UpdateTransformerRequest.add_member(:file_format, Shapes::ShapeRef.new(shape: FileFormat, deprecated: true, location_name: "fileFormat", metadata: {"deprecatedMessage"=>"This is a legacy trait. Please use input-conversion or output-conversion."}))
672
+ UpdateTransformerRequest.add_member(:mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, deprecated: true, location_name: "mappingTemplate", metadata: {"deprecatedMessage"=>"This is a legacy trait. Please use input-conversion or output-conversion."}))
673
+ UpdateTransformerRequest.add_member(:edi_type, Shapes::ShapeRef.new(shape: EdiType, deprecated: true, location_name: "ediType", metadata: {"deprecatedMessage"=>"This is a legacy trait. Please use input-conversion or output-conversion."}))
674
+ UpdateTransformerRequest.add_member(:sample_document, Shapes::ShapeRef.new(shape: FileLocation, deprecated: true, location_name: "sampleDocument", metadata: {"deprecatedMessage"=>"This is a legacy trait. Please use input-conversion or output-conversion."}))
675
+ UpdateTransformerRequest.add_member(:input_conversion, Shapes::ShapeRef.new(shape: InputConversion, location_name: "inputConversion"))
676
+ UpdateTransformerRequest.add_member(:mapping, Shapes::ShapeRef.new(shape: Mapping, location_name: "mapping"))
677
+ UpdateTransformerRequest.add_member(:output_conversion, Shapes::ShapeRef.new(shape: OutputConversion, location_name: "outputConversion"))
678
+ UpdateTransformerRequest.add_member(:sample_documents, Shapes::ShapeRef.new(shape: SampleDocuments, location_name: "sampleDocuments"))
520
679
  UpdateTransformerRequest.struct_class = Types::UpdateTransformerRequest
521
680
 
522
681
  UpdateTransformerResponse.add_member(:transformer_id, Shapes::ShapeRef.new(shape: TransformerId, required: true, location_name: "transformerId"))
523
682
  UpdateTransformerResponse.add_member(:transformer_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "transformerArn"))
524
683
  UpdateTransformerResponse.add_member(:name, Shapes::ShapeRef.new(shape: TransformerName, required: true, location_name: "name"))
525
- UpdateTransformerResponse.add_member(:file_format, Shapes::ShapeRef.new(shape: FileFormat, required: true, location_name: "fileFormat"))
526
- UpdateTransformerResponse.add_member(:mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, required: true, location_name: "mappingTemplate"))
527
684
  UpdateTransformerResponse.add_member(:status, Shapes::ShapeRef.new(shape: TransformerStatus, required: true, location_name: "status"))
528
- UpdateTransformerResponse.add_member(:edi_type, Shapes::ShapeRef.new(shape: EdiType, required: true, location_name: "ediType"))
529
- UpdateTransformerResponse.add_member(:sample_document, Shapes::ShapeRef.new(shape: FileLocation, location_name: "sampleDocument"))
530
685
  UpdateTransformerResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedDate, required: true, location_name: "createdAt"))
531
686
  UpdateTransformerResponse.add_member(:modified_at, Shapes::ShapeRef.new(shape: ModifiedDate, required: true, location_name: "modifiedAt"))
687
+ UpdateTransformerResponse.add_member(:file_format, Shapes::ShapeRef.new(shape: FileFormat, deprecated: true, location_name: "fileFormat", metadata: {"deprecatedMessage"=>"This is a legacy trait. Please use input-conversion or output-conversion."}))
688
+ UpdateTransformerResponse.add_member(:mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, deprecated: true, location_name: "mappingTemplate", metadata: {"deprecatedMessage"=>"This is a legacy trait. Please use input-conversion or output-conversion."}))
689
+ UpdateTransformerResponse.add_member(:edi_type, Shapes::ShapeRef.new(shape: EdiType, deprecated: true, location_name: "ediType", metadata: {"deprecatedMessage"=>"This is a legacy trait. Please use input-conversion or output-conversion."}))
690
+ UpdateTransformerResponse.add_member(:sample_document, Shapes::ShapeRef.new(shape: FileLocation, deprecated: true, location_name: "sampleDocument", metadata: {"deprecatedMessage"=>"This is a legacy trait. Please use input-conversion or output-conversion."}))
691
+ UpdateTransformerResponse.add_member(:input_conversion, Shapes::ShapeRef.new(shape: InputConversion, location_name: "inputConversion"))
692
+ UpdateTransformerResponse.add_member(:mapping, Shapes::ShapeRef.new(shape: Mapping, location_name: "mapping"))
693
+ UpdateTransformerResponse.add_member(:output_conversion, Shapes::ShapeRef.new(shape: OutputConversion, location_name: "outputConversion"))
694
+ UpdateTransformerResponse.add_member(:sample_documents, Shapes::ShapeRef.new(shape: SampleDocuments, location_name: "sampleDocuments"))
532
695
  UpdateTransformerResponse.struct_class = Types::UpdateTransformerResponse
533
696
 
534
697
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "Message"))
535
698
  ValidationException.struct_class = Types::ValidationException
536
699
 
700
+ ValidationMessages.member = Shapes::ShapeRef.new(shape: String)
701
+
702
+ X12Delimiters.add_member(:component_separator, Shapes::ShapeRef.new(shape: X12ComponentSeparator, location_name: "componentSeparator"))
703
+ X12Delimiters.add_member(:data_element_separator, Shapes::ShapeRef.new(shape: X12DataElementSeparator, location_name: "dataElementSeparator"))
704
+ X12Delimiters.add_member(:segment_terminator, Shapes::ShapeRef.new(shape: X12SegmentTerminator, location_name: "segmentTerminator"))
705
+ X12Delimiters.struct_class = Types::X12Delimiters
706
+
537
707
  X12Details.add_member(:transaction_set, Shapes::ShapeRef.new(shape: X12TransactionSet, location_name: "transactionSet"))
538
708
  X12Details.add_member(:version, Shapes::ShapeRef.new(shape: X12Version, location_name: "version"))
539
709
  X12Details.struct_class = Types::X12Details
540
710
 
711
+ X12Envelope.add_member(:common, Shapes::ShapeRef.new(shape: X12OutboundEdiHeaders, location_name: "common"))
712
+ X12Envelope.struct_class = Types::X12Envelope
713
+
714
+ X12FunctionalGroupHeaders.add_member(:application_sender_code, Shapes::ShapeRef.new(shape: X12ApplicationSenderCode, location_name: "applicationSenderCode"))
715
+ X12FunctionalGroupHeaders.add_member(:application_receiver_code, Shapes::ShapeRef.new(shape: X12ApplicationReceiverCode, location_name: "applicationReceiverCode"))
716
+ X12FunctionalGroupHeaders.add_member(:responsible_agency_code, Shapes::ShapeRef.new(shape: X12ResponsibleAgencyCode, location_name: "responsibleAgencyCode"))
717
+ X12FunctionalGroupHeaders.struct_class = Types::X12FunctionalGroupHeaders
718
+
719
+ X12InterchangeControlHeaders.add_member(:sender_id_qualifier, Shapes::ShapeRef.new(shape: X12IdQualifier, location_name: "senderIdQualifier"))
720
+ X12InterchangeControlHeaders.add_member(:sender_id, Shapes::ShapeRef.new(shape: X12SenderId, location_name: "senderId"))
721
+ X12InterchangeControlHeaders.add_member(:receiver_id_qualifier, Shapes::ShapeRef.new(shape: X12IdQualifier, location_name: "receiverIdQualifier"))
722
+ X12InterchangeControlHeaders.add_member(:receiver_id, Shapes::ShapeRef.new(shape: X12ReceiverId, location_name: "receiverId"))
723
+ X12InterchangeControlHeaders.add_member(:repetition_separator, Shapes::ShapeRef.new(shape: X12RepetitionSeparator, location_name: "repetitionSeparator"))
724
+ X12InterchangeControlHeaders.add_member(:acknowledgment_requested_code, Shapes::ShapeRef.new(shape: X12AcknowledgmentRequestedCode, location_name: "acknowledgmentRequestedCode"))
725
+ X12InterchangeControlHeaders.add_member(:usage_indicator_code, Shapes::ShapeRef.new(shape: X12UsageIndicatorCode, location_name: "usageIndicatorCode"))
726
+ X12InterchangeControlHeaders.struct_class = Types::X12InterchangeControlHeaders
727
+
728
+ X12OutboundEdiHeaders.add_member(:interchange_control_headers, Shapes::ShapeRef.new(shape: X12InterchangeControlHeaders, location_name: "interchangeControlHeaders"))
729
+ X12OutboundEdiHeaders.add_member(:functional_group_headers, Shapes::ShapeRef.new(shape: X12FunctionalGroupHeaders, location_name: "functionalGroupHeaders"))
730
+ X12OutboundEdiHeaders.add_member(:delimiters, Shapes::ShapeRef.new(shape: X12Delimiters, location_name: "delimiters"))
731
+ X12OutboundEdiHeaders.add_member(:validate_edi, Shapes::ShapeRef.new(shape: X12ValidateEdi, location_name: "validateEdi"))
732
+ X12OutboundEdiHeaders.struct_class = Types::X12OutboundEdiHeaders
733
+
541
734
 
542
735
  # @api private
543
736
  API = Seahorse::Model::Api.new.tap do |api|
@@ -605,6 +798,18 @@ module Aws::B2bi
605
798
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
606
799
  end)
607
800
 
801
+ api.add_operation(:create_starter_mapping_template, Seahorse::Model::Operation.new.tap do |o|
802
+ o.name = "CreateStarterMappingTemplate"
803
+ o.http_method = "POST"
804
+ o.http_request_uri = "/"
805
+ o.input = Shapes::ShapeRef.new(shape: CreateStarterMappingTemplateRequest)
806
+ o.output = Shapes::ShapeRef.new(shape: CreateStarterMappingTemplateResponse)
807
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
808
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
809
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
810
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
811
+ end)
812
+
608
813
  api.add_operation(:create_transformer, Seahorse::Model::Operation.new.tap do |o|
609
814
  o.name = "CreateTransformer"
610
815
  o.http_method = "POST"
@@ -851,6 +1056,19 @@ module Aws::B2bi
851
1056
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
852
1057
  end)
853
1058
 
1059
+ api.add_operation(:test_conversion, Seahorse::Model::Operation.new.tap do |o|
1060
+ o.name = "TestConversion"
1061
+ o.http_method = "POST"
1062
+ o.http_request_uri = "/"
1063
+ o.input = Shapes::ShapeRef.new(shape: TestConversionRequest)
1064
+ o.output = Shapes::ShapeRef.new(shape: TestConversionResponse)
1065
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1066
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1067
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1068
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1069
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1070
+ end)
1071
+
854
1072
  api.add_operation(:test_mapping, Seahorse::Model::Operation.new.tap do |o|
855
1073
  o.name = "TestMapping"
856
1074
  o.http_method = "POST"
@@ -52,15 +52,18 @@ module Aws::B2bi
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end