Documentation ¶
Overview ¶
Package b2bi provides the API client, operations, and parameter types for AWS B2B Data Interchange.
This is the Amazon Web Services B2B Data Interchange API Reference. It provides descriptions, API request parameters, and the XML response for each of the B2BI API actions.
B2BI enables automated exchange of EDI (electronic data interchange) based business-critical transactions at cloud scale, with elasticity and pay-as-you-go pricing. Businesses use EDI documents to exchange transactional data with trading partners, such as suppliers and end customers, using standardized formats such as X12.
Rather than actually running a command, you can use the --generate-cli-skeleton parameter with any API call to generate and display a parameter template. You can then use the generated template to customize and use as input on a later command. For details, see Generate and use a parameter skeleton file.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)deprecated
- func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
- func WithSigV4SigningName(name string) func(*Options)
- func WithSigV4SigningRegion(region string) func(*Options)
- type AuthResolverParameters
- type AuthSchemeResolver
- type Client
- func (c *Client) CreateCapability(ctx context.Context, params *CreateCapabilityInput, optFns ...func(*Options)) (*CreateCapabilityOutput, error)
- func (c *Client) CreatePartnership(ctx context.Context, params *CreatePartnershipInput, optFns ...func(*Options)) (*CreatePartnershipOutput, error)
- func (c *Client) CreateProfile(ctx context.Context, params *CreateProfileInput, optFns ...func(*Options)) (*CreateProfileOutput, error)
- func (c *Client) CreateStarterMappingTemplate(ctx context.Context, params *CreateStarterMappingTemplateInput, ...) (*CreateStarterMappingTemplateOutput, error)
- func (c *Client) CreateTransformer(ctx context.Context, params *CreateTransformerInput, optFns ...func(*Options)) (*CreateTransformerOutput, error)
- func (c *Client) DeleteCapability(ctx context.Context, params *DeleteCapabilityInput, optFns ...func(*Options)) (*DeleteCapabilityOutput, error)
- func (c *Client) DeletePartnership(ctx context.Context, params *DeletePartnershipInput, optFns ...func(*Options)) (*DeletePartnershipOutput, error)
- func (c *Client) DeleteProfile(ctx context.Context, params *DeleteProfileInput, optFns ...func(*Options)) (*DeleteProfileOutput, error)
- func (c *Client) DeleteTransformer(ctx context.Context, params *DeleteTransformerInput, optFns ...func(*Options)) (*DeleteTransformerOutput, error)
- func (c *Client) GenerateMapping(ctx context.Context, params *GenerateMappingInput, optFns ...func(*Options)) (*GenerateMappingOutput, error)
- func (c *Client) GetCapability(ctx context.Context, params *GetCapabilityInput, optFns ...func(*Options)) (*GetCapabilityOutput, error)
- func (c *Client) GetPartnership(ctx context.Context, params *GetPartnershipInput, optFns ...func(*Options)) (*GetPartnershipOutput, error)
- func (c *Client) GetProfile(ctx context.Context, params *GetProfileInput, optFns ...func(*Options)) (*GetProfileOutput, error)
- func (c *Client) GetTransformer(ctx context.Context, params *GetTransformerInput, optFns ...func(*Options)) (*GetTransformerOutput, error)
- func (c *Client) GetTransformerJob(ctx context.Context, params *GetTransformerJobInput, optFns ...func(*Options)) (*GetTransformerJobOutput, error)
- func (c *Client) ListCapabilities(ctx context.Context, params *ListCapabilitiesInput, optFns ...func(*Options)) (*ListCapabilitiesOutput, error)
- func (c *Client) ListPartnerships(ctx context.Context, params *ListPartnershipsInput, optFns ...func(*Options)) (*ListPartnershipsOutput, error)
- func (c *Client) ListProfiles(ctx context.Context, params *ListProfilesInput, optFns ...func(*Options)) (*ListProfilesOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, ...) (*ListTagsForResourceOutput, error)
- func (c *Client) ListTransformers(ctx context.Context, params *ListTransformersInput, optFns ...func(*Options)) (*ListTransformersOutput, error)
- func (c *Client) Options() Options
- func (c *Client) StartTransformerJob(ctx context.Context, params *StartTransformerJobInput, ...) (*StartTransformerJobOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) TestConversion(ctx context.Context, params *TestConversionInput, optFns ...func(*Options)) (*TestConversionOutput, error)
- func (c *Client) TestMapping(ctx context.Context, params *TestMappingInput, optFns ...func(*Options)) (*TestMappingOutput, error)
- func (c *Client) TestParsing(ctx context.Context, params *TestParsingInput, optFns ...func(*Options)) (*TestParsingOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateCapability(ctx context.Context, params *UpdateCapabilityInput, optFns ...func(*Options)) (*UpdateCapabilityOutput, error)
- func (c *Client) UpdatePartnership(ctx context.Context, params *UpdatePartnershipInput, optFns ...func(*Options)) (*UpdatePartnershipOutput, error)
- func (c *Client) UpdateProfile(ctx context.Context, params *UpdateProfileInput, optFns ...func(*Options)) (*UpdateProfileOutput, error)
- func (c *Client) UpdateTransformer(ctx context.Context, params *UpdateTransformerInput, optFns ...func(*Options)) (*UpdateTransformerOutput, error)
- type CreateCapabilityInput
- type CreateCapabilityOutput
- type CreatePartnershipInput
- type CreatePartnershipOutput
- type CreateProfileInput
- type CreateProfileOutput
- type CreateStarterMappingTemplateInput
- type CreateStarterMappingTemplateOutput
- type CreateTransformerInput
- type CreateTransformerOutput
- type DeleteCapabilityInput
- type DeleteCapabilityOutput
- type DeletePartnershipInput
- type DeletePartnershipOutput
- type DeleteProfileInput
- type DeleteProfileOutput
- type DeleteTransformerInput
- type DeleteTransformerOutput
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type GenerateMappingInput
- type GenerateMappingOutput
- type GetCapabilityInput
- type GetCapabilityOutput
- type GetPartnershipInput
- type GetPartnershipOutput
- type GetProfileInput
- type GetProfileOutput
- type GetTransformerInput
- type GetTransformerJobInput
- type GetTransformerJobOutput
- type GetTransformerOutput
- type HTTPClient
- type HTTPSignerV4
- type IdempotencyTokenProvider
- type ListCapabilitiesAPIClient
- type ListCapabilitiesInput
- type ListCapabilitiesOutput
- type ListCapabilitiesPaginator
- type ListCapabilitiesPaginatorOptions
- type ListPartnershipsAPIClient
- type ListPartnershipsInput
- type ListPartnershipsOutput
- type ListPartnershipsPaginator
- type ListPartnershipsPaginatorOptions
- type ListProfilesAPIClient
- type ListProfilesInput
- type ListProfilesOutput
- type ListProfilesPaginator
- type ListProfilesPaginatorOptions
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListTransformersAPIClient
- type ListTransformersInput
- type ListTransformersOutput
- type ListTransformersPaginator
- type ListTransformersPaginatorOptions
- type Options
- type ResolveEndpoint
- type StartTransformerJobInput
- type StartTransformerJobOutput
- type TagResourceInput
- type TagResourceOutput
- type TestConversionInput
- type TestConversionOutput
- type TestMappingInput
- type TestMappingOutput
- type TestParsingInput
- type TestParsingOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateCapabilityInput
- type UpdateCapabilityOutput
- type UpdatePartnershipInput
- type UpdatePartnershipOutput
- type UpdateProfileInput
- type UpdateProfileOutput
- type UpdateTransformerInput
- type UpdateTransformerOutput
Constants ¶
const ServiceAPIVersion = "2022-06-23"
const ServiceID = "b2bi"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver
deprecated
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.
To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.
func WithEndpointResolverV2 ¶
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶
WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.
func WithSigV4SigningRegion ¶
WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.
Types ¶
type AuthResolverParameters ¶
type AuthResolverParameters struct { // The name of the operation being invoked. Operation string // The region in which the operation is being invoked. Region string }
AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.
type AuthSchemeResolver ¶
type AuthSchemeResolver interface {
ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}
AuthSchemeResolver returns a set of possible authentication options for an operation.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for AWS B2B Data Interchange.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) CreateCapability ¶
func (c *Client) CreateCapability(ctx context.Context, params *CreateCapabilityInput, optFns ...func(*Options)) (*CreateCapabilityOutput, error)
Instantiates a capability based on the specified parameters. A trading capability contains the information required to transform incoming EDI documents into JSON or XML outputs.
func (*Client) CreatePartnership ¶
func (c *Client) CreatePartnership(ctx context.Context, params *CreatePartnershipInput, optFns ...func(*Options)) (*CreatePartnershipOutput, error)
Creates a partnership between a customer and a trading partner, based on the supplied parameters. A partnership represents the connection between you and your trading partner. It ties together a profile and one or more trading capabilities.
func (*Client) CreateProfile ¶
func (c *Client) CreateProfile(ctx context.Context, params *CreateProfileInput, optFns ...func(*Options)) (*CreateProfileOutput, error)
Creates a customer profile. You can have up to five customer profiles, each representing a distinct private network. A profile is the mechanism used to create the concept of a private network.
func (*Client) CreateStarterMappingTemplate ¶
func (c *Client) CreateStarterMappingTemplate(ctx context.Context, params *CreateStarterMappingTemplateInput, optFns ...func(*Options)) (*CreateStarterMappingTemplateOutput, error)
Amazon Web Services B2B Data Interchange uses a mapping template in JSONata or XSLT format to transform a customer input file into a JSON or XML file that can be converted to EDI.
If you provide a sample EDI file with the same structure as the EDI files that you wish to generate, then the service can generate a mapping template. The starter template contains placeholder values which you can replace with JSONata or XSLT expressions to take data from your input file and insert it into the JSON or XML file that is used to generate the EDI.
If you do not provide a sample EDI file, then the service can generate a mapping template based on the EDI settings in the templateDetails parameter.
Currently, we only support generating a template that can generate the input to produce an Outbound X12 EDI file.
func (*Client) CreateTransformer ¶
func (c *Client) CreateTransformer(ctx context.Context, params *CreateTransformerInput, optFns ...func(*Options)) (*CreateTransformerOutput, error)
Creates a transformer. Amazon Web Services B2B Data Interchange currently supports two scenarios:
Inbound EDI: the Amazon Web Services customer receives an EDI file from their trading partner. Amazon Web Services B2B Data Interchange converts this EDI file into a JSON or XML file with a service-defined structure. A mapping template provided by the customer, in JSONata or XSLT format, is optionally applied to this file to produce a JSON or XML file with the structure the customer requires.
Outbound EDI: the Amazon Web Services customer has a JSON or XML file containing data that they wish to use in an EDI file. A mapping template, provided by the customer (in either JSONata or XSLT format) is applied to this file to generate a JSON or XML file in the service-defined structure. This file is then converted to an EDI file.
The following fields are provided for backwards compatibility only: fileFormat , mappingTemplate , ediType , and sampleDocument .
Use the mapping data type in place of mappingTemplate and fileFormat
Use the sampleDocuments data type in place of sampleDocument
Use either the inputConversion or outputConversion in place of ediType
func (*Client) DeleteCapability ¶
func (c *Client) DeleteCapability(ctx context.Context, params *DeleteCapabilityInput, optFns ...func(*Options)) (*DeleteCapabilityOutput, error)
Deletes the specified capability. A trading capability contains the information required to transform incoming EDI documents into JSON or XML outputs.
func (*Client) DeletePartnership ¶
func (c *Client) DeletePartnership(ctx context.Context, params *DeletePartnershipInput, optFns ...func(*Options)) (*DeletePartnershipOutput, error)
Deletes the specified partnership. A partnership represents the connection between you and your trading partner. It ties together a profile and one or more trading capabilities.
func (*Client) DeleteProfile ¶
func (c *Client) DeleteProfile(ctx context.Context, params *DeleteProfileInput, optFns ...func(*Options)) (*DeleteProfileOutput, error)
Deletes the specified profile. A profile is the mechanism used to create the concept of a private network.
func (*Client) DeleteTransformer ¶
func (c *Client) DeleteTransformer(ctx context.Context, params *DeleteTransformerInput, optFns ...func(*Options)) (*DeleteTransformerOutput, error)
Deletes the specified transformer. A transformer can take an EDI file as input and transform it into a JSON-or XML-formatted document. Alternatively, a transformer can take a JSON-or XML-formatted document as input and transform it into an EDI file.
func (*Client) GenerateMapping ¶
func (c *Client) GenerateMapping(ctx context.Context, params *GenerateMappingInput, optFns ...func(*Options)) (*GenerateMappingOutput, error)
Takes sample input and output documents and uses Amazon Bedrock to generate a mapping automatically. Depending on the accuracy and other factors, you can then edit the mapping for your needs.
Before you can use the AI-assisted feature for Amazon Web Services B2B Data Interchange you must enable models in Amazon Bedrock. For details, see AI-assisted template mapping prerequisitesin the Amazon Web Services B2B Data Interchange User guide.
func (*Client) GetCapability ¶
func (c *Client) GetCapability(ctx context.Context, params *GetCapabilityInput, optFns ...func(*Options)) (*GetCapabilityOutput, error)
Retrieves the details for the specified capability. A trading capability contains the information required to transform incoming EDI documents into JSON or XML outputs.
func (*Client) GetPartnership ¶
func (c *Client) GetPartnership(ctx context.Context, params *GetPartnershipInput, optFns ...func(*Options)) (*GetPartnershipOutput, error)
Retrieves the details for a partnership, based on the partner and profile IDs specified. A partnership represents the connection between you and your trading partner. It ties together a profile and one or more trading capabilities.
func (*Client) GetProfile ¶
func (c *Client) GetProfile(ctx context.Context, params *GetProfileInput, optFns ...func(*Options)) (*GetProfileOutput, error)
Retrieves the details for the profile specified by the profile ID. A profile is the mechanism used to create the concept of a private network.
func (*Client) GetTransformer ¶
func (c *Client) GetTransformer(ctx context.Context, params *GetTransformerInput, optFns ...func(*Options)) (*GetTransformerOutput, error)
Retrieves the details for the transformer specified by the transformer ID. A transformer can take an EDI file as input and transform it into a JSON-or XML-formatted document. Alternatively, a transformer can take a JSON-or XML-formatted document as input and transform it into an EDI file.
func (*Client) GetTransformerJob ¶
func (c *Client) GetTransformerJob(ctx context.Context, params *GetTransformerJobInput, optFns ...func(*Options)) (*GetTransformerJobOutput, error)
Returns the details of the transformer run, based on the Transformer job ID.
func (*Client) ListCapabilities ¶
func (c *Client) ListCapabilities(ctx context.Context, params *ListCapabilitiesInput, optFns ...func(*Options)) (*ListCapabilitiesOutput, error)
Lists the capabilities associated with your Amazon Web Services account for your current or specified region. A trading capability contains the information required to transform incoming EDI documents into JSON or XML outputs.
func (*Client) ListPartnerships ¶
func (c *Client) ListPartnerships(ctx context.Context, params *ListPartnershipsInput, optFns ...func(*Options)) (*ListPartnershipsOutput, error)
Lists the partnerships associated with your Amazon Web Services account for your current or specified region. A partnership represents the connection between you and your trading partner. It ties together a profile and one or more trading capabilities.
func (*Client) ListProfiles ¶
func (c *Client) ListProfiles(ctx context.Context, params *ListProfilesInput, optFns ...func(*Options)) (*ListProfilesOutput, error)
Lists the profiles associated with your Amazon Web Services account for your current or specified region. A profile is the mechanism used to create the concept of a private network.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify. The resource can be a capability, partnership, profile, or transformer.
func (*Client) ListTransformers ¶
func (c *Client) ListTransformers(ctx context.Context, params *ListTransformersInput, optFns ...func(*Options)) (*ListTransformersOutput, error)
Lists the available transformers. A transformer can take an EDI file as input and transform it into a JSON-or XML-formatted document. Alternatively, a transformer can take a JSON-or XML-formatted document as input and transform it into an EDI file.
func (*Client) Options ¶
Options returns a copy of the client configuration.
Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.
func (*Client) StartTransformerJob ¶
func (c *Client) StartTransformerJob(ctx context.Context, params *StartTransformerJobInput, optFns ...func(*Options)) (*StartTransformerJobOutput, error)
Runs a job, using a transformer, to parse input EDI (electronic data interchange) file into the output structures used by Amazon Web Services B2B Data Interchange.
If you only want to transform EDI (electronic data interchange) documents, you don't need to create profiles, partnerships or capabilities. Just create and configure a transformer, and then run the StartTransformerJob API to process your files.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN). Resources are capability, partnership, profile, transformers and other entities.
There is no response returned from this call.
func (*Client) TestConversion ¶
func (c *Client) TestConversion(ctx context.Context, params *TestConversionInput, optFns ...func(*Options)) (*TestConversionOutput, error)
This operation mimics the latter half of a typical Outbound EDI request. It takes an input JSON/XML in the B2Bi shape as input, converts it to an X12 EDI string, and return that string.
func (*Client) TestMapping ¶
func (c *Client) TestMapping(ctx context.Context, params *TestMappingInput, optFns ...func(*Options)) (*TestMappingOutput, error)
Maps the input file according to the provided template file. The API call downloads the file contents from the Amazon S3 location, and passes the contents in as a string, to the inputFileContent parameter.
func (*Client) TestParsing ¶
func (c *Client) TestParsing(ctx context.Context, params *TestParsingInput, optFns ...func(*Options)) (*TestParsingOutput, error)
Parses the input EDI (electronic data interchange) file. The input file has a file size limit of 250 KB.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Detaches a key-value pair from the specified resource, as identified by its Amazon Resource Name (ARN). Resources are capability, partnership, profile, transformers and other entities.
func (*Client) UpdateCapability ¶
func (c *Client) UpdateCapability(ctx context.Context, params *UpdateCapabilityInput, optFns ...func(*Options)) (*UpdateCapabilityOutput, error)
Updates some of the parameters for a capability, based on the specified parameters. A trading capability contains the information required to transform incoming EDI documents into JSON or XML outputs.
func (*Client) UpdatePartnership ¶
func (c *Client) UpdatePartnership(ctx context.Context, params *UpdatePartnershipInput, optFns ...func(*Options)) (*UpdatePartnershipOutput, error)
Updates some of the parameters for a partnership between a customer and trading partner. A partnership represents the connection between you and your trading partner. It ties together a profile and one or more trading capabilities.
func (*Client) UpdateProfile ¶
func (c *Client) UpdateProfile(ctx context.Context, params *UpdateProfileInput, optFns ...func(*Options)) (*UpdateProfileOutput, error)
Updates the specified parameters for a profile. A profile is the mechanism used to create the concept of a private network.
func (*Client) UpdateTransformer ¶
func (c *Client) UpdateTransformer(ctx context.Context, params *UpdateTransformerInput, optFns ...func(*Options)) (*UpdateTransformerOutput, error)
Updates the specified parameters for a transformer. A transformer can take an EDI file as input and transform it into a JSON-or XML-formatted document. Alternatively, a transformer can take a JSON-or XML-formatted document as input and transform it into an EDI file.
type CreateCapabilityInput ¶
type CreateCapabilityInput struct { // Specifies a structure that contains the details for a capability. // // This member is required. Configuration types.CapabilityConfiguration // Specifies the name of the capability, used to identify it. // // This member is required. Name *string // Specifies the type of the capability. Currently, only edi is supported. // // This member is required. Type types.CapabilityType // Reserved for future use. ClientToken *string // Specifies one or more locations in Amazon S3, each specifying an EDI document // that can be used with this capability. Each item contains the name of the bucket // and the key, to identify the document's location. InstructionsDocuments []types.S3Location // Specifies the key-value pairs assigned to ARNs that you can use to group and // search for resources by type. You can attach this metadata to resources // (capabilities, partnerships, and so on) for any purpose. Tags []types.Tag // contains filtered or unexported fields }
type CreateCapabilityOutput ¶
type CreateCapabilityOutput struct { // Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services // resource, such as a capability, partnership, profile, or transformer. // // This member is required. CapabilityArn *string // Returns a system-assigned unique identifier for the capability. // // This member is required. CapabilityId *string // Returns a structure that contains the details for a capability. // // This member is required. Configuration types.CapabilityConfiguration // Returns a timestamp for creation date and time of the capability. // // This member is required. CreatedAt *time.Time // Returns the name of the capability used to identify it. // // This member is required. Name *string // Returns the type of the capability. Currently, only edi is supported. // // This member is required. Type types.CapabilityType // Returns one or more locations in Amazon S3, each specifying an EDI document // that can be used with this capability. Each item contains the name of the bucket // and the key, to identify the document's location. InstructionsDocuments []types.S3Location // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreatePartnershipInput ¶
type CreatePartnershipInput struct { // Specifies a list of the capabilities associated with this partnership. // // This member is required. Capabilities []string // Specifies the email address associated with this trading partner. // // This member is required. Email *string // Specifies a descriptive name for the partnership. // // This member is required. Name *string // Specifies the unique, system-generated identifier for the profile connected to // this partnership. // // This member is required. ProfileId *string // Specify the structure that contains the details for the associated capabilities. CapabilityOptions *types.CapabilityOptions // Reserved for future use. ClientToken *string // Specifies the phone number associated with the partnership. Phone *string // Specifies the key-value pairs assigned to ARNs that you can use to group and // search for resources by type. You can attach this metadata to resources // (capabilities, partnerships, and so on) for any purpose. Tags []types.Tag // contains filtered or unexported fields }
type CreatePartnershipOutput ¶
type CreatePartnershipOutput struct { // Returns a timestamp for creation date and time of the partnership. // // This member is required. CreatedAt *time.Time // Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services // resource, such as a capability, partnership, profile, or transformer. // // This member is required. PartnershipArn *string // Returns the unique, system-generated identifier for a partnership. // // This member is required. PartnershipId *string // Returns the unique, system-generated identifier for the profile connected to // this partnership. // // This member is required. ProfileId *string // Returns one or more capabilities associated with this partnership. Capabilities []string // Returns the structure that contains the details for the associated capabilities. CapabilityOptions *types.CapabilityOptions // Returns the email address associated with this trading partner. Email *string // Returns a descriptive name for the partnership. Name *string // Returns the phone number associated with the partnership. Phone *string // Returns the unique, system-generated identifier for a trading partner. TradingPartnerId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateProfileInput ¶
type CreateProfileInput struct { // Specifies the name for the business associated with this profile. // // This member is required. BusinessName *string // Specifies whether or not logging is enabled for this profile. // // This member is required. Logging types.Logging // Specifies the name of the profile. // // This member is required. Name *string // Specifies the phone number associated with the profile. // // This member is required. Phone *string // Reserved for future use. ClientToken *string // Specifies the email address associated with this customer profile. Email *string // Specifies the key-value pairs assigned to ARNs that you can use to group and // search for resources by type. You can attach this metadata to resources // (capabilities, partnerships, and so on) for any purpose. Tags []types.Tag // contains filtered or unexported fields }
type CreateProfileOutput ¶
type CreateProfileOutput struct { // Returns the name for the business associated with this profile. // // This member is required. BusinessName *string // Returns a timestamp representing the time the profile was created. // // This member is required. CreatedAt *time.Time // Returns the name of the profile, used to identify it. // // This member is required. Name *string // Returns the phone number associated with the profile. // // This member is required. Phone *string // Returns an Amazon Resource Name (ARN) for the profile. // // This member is required. ProfileArn *string // Returns the unique, system-generated identifier for the profile. // // This member is required. ProfileId *string // Returns the email address associated with this customer profile. Email *string // Returns the name of the logging group. LogGroupName *string // Returns whether or not logging is turned on for this profile. Logging types.Logging // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateStarterMappingTemplateInput ¶
type CreateStarterMappingTemplateInput struct { // Specify the format for the mapping template: either JSONATA or XSLT. // // This member is required. MappingType types.MappingType // Describes the details needed for generating the template. Specify the X12 // transaction set and version for which the template is used: currently, we only // support X12. // // This member is required. TemplateDetails types.TemplateDetails // Specify the location of the sample EDI file that is used to generate the // mapping template. OutputSampleLocation *types.S3Location // contains filtered or unexported fields }
type CreateStarterMappingTemplateOutput ¶
type CreateStarterMappingTemplateOutput struct { // Returns a string that represents the mapping template. // // This member is required. MappingTemplate *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateTransformerInput ¶
type CreateTransformerInput struct { // Specifies the name of the transformer, used to identify it. // // This member is required. Name *string // Reserved for future use. ClientToken *string // Specifies the details for the EDI standard that is being used for the // transformer. Currently, only X12 is supported. X12 is a set of standards and // corresponding messages that define specific business documents. // // Deprecated: This is a legacy trait. Please use input-conversion or // output-conversion. EdiType types.EdiType // Specifies that the currently supported file formats for EDI transformations are // JSON and XML . // // Deprecated: This is a legacy trait. Please use input-conversion or // output-conversion. FileFormat types.FileFormat // Specify the InputConversion object, which contains the format options for the // inbound transformation. InputConversion *types.InputConversion // Specify the structure that contains the mapping template and its language // (either XSLT or JSONATA). Mapping *types.Mapping // Specifies the mapping template for the transformer. This template is used to // map the parsed EDI file using JSONata or XSLT. // // This parameter is available for backwards compatibility. Use the [Mapping] data type // instead. // // [Mapping]: https://docs.aws.amazon.com/b2bi/latest/APIReference/API_Mapping.html // // Deprecated: This is a legacy trait. Please use input-conversion or // output-conversion. MappingTemplate *string // A structure that contains the OutputConversion object, which contains the // format options for the outbound transformation. OutputConversion *types.OutputConversion // Specifies a sample EDI document that is used by a transformer as a guide for // processing the EDI data. // // Deprecated: This is a legacy trait. Please use input-conversion or // output-conversion. SampleDocument *string // Specify a structure that contains the Amazon S3 bucket and an array of the // corresponding keys used to identify the location for your sample documents. SampleDocuments *types.SampleDocuments // Specifies the key-value pairs assigned to ARNs that you can use to group and // search for resources by type. You can attach this metadata to resources // (capabilities, partnerships, and so on) for any purpose. Tags []types.Tag // contains filtered or unexported fields }
type CreateTransformerOutput ¶
type CreateTransformerOutput struct { // Returns a timestamp for creation date and time of the transformer. // // This member is required. CreatedAt *time.Time // Returns the name of the transformer, used to identify it. // // This member is required. Name *string // Returns the state of the newly created transformer. The transformer can be // either active or inactive . For the transformer to be used in a capability, its // status must active . // // This member is required. Status types.TransformerStatus // Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services // resource, such as a capability, partnership, profile, or transformer. // // This member is required. TransformerArn *string // Returns the system-assigned unique identifier for the transformer. // // This member is required. TransformerId *string // Returns the details for the EDI standard that is being used for the // transformer. Currently, only X12 is supported. X12 is a set of standards and // corresponding messages that define specific business documents. // // Deprecated: This is a legacy trait. Please use input-conversion or // output-conversion. EdiType types.EdiType // Returns that the currently supported file formats for EDI transformations are // JSON and XML . // // Deprecated: This is a legacy trait. Please use input-conversion or // output-conversion. FileFormat types.FileFormat // Returns the InputConversion object, which contains the format options for the // inbound transformation. InputConversion *types.InputConversion // Returns the structure that contains the mapping template and its language // (either XSLT or JSONATA). Mapping *types.Mapping // Returns the mapping template for the transformer. This template is used to map // the parsed EDI file using JSONata or XSLT. // // Deprecated: This is a legacy trait. Please use input-conversion or // output-conversion. MappingTemplate *string // Returns the OutputConversion object, which contains the format options for the // outbound transformation. OutputConversion *types.OutputConversion // Returns a sample EDI document that is used by a transformer as a guide for // processing the EDI data. // // Deprecated: This is a legacy trait. Please use input-conversion or // output-conversion. SampleDocument *string // Returns a structure that contains the Amazon S3 bucket and an array of the // corresponding keys used to identify the location for your sample documents. SampleDocuments *types.SampleDocuments // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteCapabilityInput ¶
type DeleteCapabilityInput struct { // Specifies a system-assigned unique identifier for the capability. // // This member is required. CapabilityId *string // contains filtered or unexported fields }
type DeleteCapabilityOutput ¶
type DeleteCapabilityOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeletePartnershipInput ¶
type DeletePartnershipInput struct { // Specifies the unique, system-generated identifier for a partnership. // // This member is required. PartnershipId *string // contains filtered or unexported fields }
type DeletePartnershipOutput ¶
type DeletePartnershipOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteProfileInput ¶
type DeleteProfileInput struct { // Specifies the unique, system-generated identifier for the profile. // // This member is required. ProfileId *string // contains filtered or unexported fields }
type DeleteProfileOutput ¶
type DeleteProfileOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteTransformerInput ¶
type DeleteTransformerInput struct { // Specifies the system-assigned unique identifier for the transformer. // // This member is required. TransformerId *string // contains filtered or unexported fields }
type DeleteTransformerOutput ¶
type DeleteTransformerOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointParameters ¶
type EndpointParameters struct { // The AWS region used to dispatch the request. // // Parameter is // required. // // AWS::Region Region *string // When true, use the dual-stack endpoint. If the configured endpoint does not // support dual-stack, dispatching the request MAY return an error. // // Defaults to // false if no value is provided. // // AWS::UseDualStack UseDualStack *bool // When true, send this request to the FIPS-compliant regional endpoint. If the // configured endpoint does not have a FIPS compliant endpoint, dispatching the // request will return an error. // // Defaults to false if no value is // provided. // // AWS::UseFIPS UseFIPS *bool // Override the endpoint used to send this request // // Parameter is // required. // // SDK::Endpoint Endpoint *string }
EndpointParameters provides the parameters that influence how endpoints are resolved.
func (EndpointParameters) ValidateRequired ¶
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type EndpointResolverV2 ¶
type EndpointResolverV2 interface { // ResolveEndpoint attempts to resolve the endpoint with the provided options, // returning the endpoint if found. Otherwise an error is returned. ResolveEndpoint(ctx context.Context, params EndpointParameters) ( smithyendpoints.Endpoint, error, ) }
EndpointResolverV2 provides the interface for resolving service endpoints.
func NewDefaultEndpointResolverV2 ¶
func NewDefaultEndpointResolverV2() EndpointResolverV2
type GenerateMappingInput ¶
type GenerateMappingInput struct { // Provide the contents of a sample X12 EDI file (for inbound EDI) or JSON/XML // file (for outbound EDI) to use as a starting point for the mapping. // // This member is required. InputFileContent *string // Specify the mapping type: either JSONATA or XSLT. // // This member is required. MappingType types.MappingType // Provide the contents of a sample X12 EDI file (for outbound EDI) or JSON/XML // file (for inbound EDI) to use as a target for the mapping. // // This member is required. OutputFileContent *string // contains filtered or unexported fields }
type GenerateMappingOutput ¶
type GenerateMappingOutput struct { // Returns a mapping template based on your inputs. // // This member is required. MappingTemplate *string // Returns a percentage that estimates the accuracy of the generated mapping. MappingAccuracy *float32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetCapabilityInput ¶
type GetCapabilityInput struct { // Specifies a system-assigned unique identifier for the capability. // // This member is required. CapabilityId *string // contains filtered or unexported fields }
type GetCapabilityOutput ¶
type GetCapabilityOutput struct { // Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services // resource, such as a capability, partnership, profile, or transformer. // // This member is required. CapabilityArn *string // Returns a system-assigned unique identifier for the capability. // // This member is required. CapabilityId *string // Returns a structure that contains the details for a capability. // // This member is required. Configuration types.CapabilityConfiguration // Returns a timestamp for creation date and time of the capability. // // This member is required. CreatedAt *time.Time // Returns the name of the capability, used to identify it. // // This member is required. Name *string // Returns the type of the capability. Currently, only edi is supported. // // This member is required. Type types.CapabilityType // Returns one or more locations in Amazon S3, each specifying an EDI document // that can be used with this capability. Each item contains the name of the bucket // and the key, to identify the document's location. InstructionsDocuments []types.S3Location // Returns a timestamp for last time the capability was modified. ModifiedAt *time.Time // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetPartnershipInput ¶
type GetPartnershipInput struct { // Specifies the unique, system-generated identifier for a partnership. // // This member is required. PartnershipId *string // contains filtered or unexported fields }
type GetPartnershipOutput ¶
type GetPartnershipOutput struct { // Returns a timestamp for creation date and time of the partnership. // // This member is required. CreatedAt *time.Time // Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services // resource, such as a capability, partnership, profile, or transformer. // // This member is required. PartnershipArn *string // Returns the unique, system-generated identifier for a partnership. // // This member is required. PartnershipId *string // Returns the unique, system-generated identifier for the profile connected to // this partnership. // // This member is required. ProfileId *string // Returns one or more capabilities associated with this partnership. Capabilities []string // Contains the details for an Outbound EDI capability. CapabilityOptions *types.CapabilityOptions // Returns the email address associated with this trading partner. Email *string // Returns a timestamp that identifies the most recent date and time that the // partnership was modified. ModifiedAt *time.Time // Returns the display name of the partnership Name *string // Returns the phone number associated with the partnership. Phone *string // Returns the unique identifier for the partner for this partnership. TradingPartnerId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetProfileInput ¶
type GetProfileInput struct { // Specifies the unique, system-generated identifier for the profile. // // This member is required. ProfileId *string // contains filtered or unexported fields }
type GetProfileOutput ¶
type GetProfileOutput struct { // Returns the name for the business associated with this profile. // // This member is required. BusinessName *string // Returns a timestamp for creation date and time of the transformer. // // This member is required. CreatedAt *time.Time // Returns the name of the profile, used to identify it. // // This member is required. Name *string // Returns the phone number associated with the profile. // // This member is required. Phone *string // Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services // resource, such as a capability, partnership, profile, or transformer. // // This member is required. ProfileArn *string // Returns the unique, system-generated identifier for the profile. // // This member is required. ProfileId *string // Returns the email address associated with this customer profile. Email *string // Returns the name of the logging group. LogGroupName *string // Returns whether or not logging is enabled for this profile. Logging types.Logging // Returns a timestamp for last time the profile was modified. ModifiedAt *time.Time // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetTransformerInput ¶
type GetTransformerInput struct { // Specifies the system-assigned unique identifier for the transformer. // // This member is required. TransformerId *string // contains filtered or unexported fields }
type GetTransformerJobInput ¶
type GetTransformerJobInput struct { // Specifies the system-assigned unique identifier for the transformer. // // This member is required. TransformerId *string // Specifies the unique, system-generated identifier for a transformer run. // // This member is required. TransformerJobId *string // contains filtered or unexported fields }
type GetTransformerJobOutput ¶
type GetTransformerJobOutput struct { // Returns the current state of the transformer job, either running , succeeded , // or failed . // // This member is required. Status types.TransformerJobStatus // Returns an optional error message, which gets populated when the job is not run // successfully. Message *string // Returns the location for the output files. If the caller specified a directory // for the output, then this contains the full path to the output file, including // the file name generated by the service. OutputFiles []types.S3Location // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetTransformerOutput ¶
type GetTransformerOutput struct { // Returns a timestamp for creation date and time of the transformer. // // This member is required. CreatedAt *time.Time // Returns the name of the transformer, used to identify it. // // This member is required. Name *string // Returns the state of the newly created transformer. The transformer can be // either active or inactive . For the transformer to be used in a capability, its // status must active . // // This member is required. Status types.TransformerStatus // Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services // resource, such as a capability, partnership, profile, or transformer. // // This member is required. TransformerArn *string // Returns the system-assigned unique identifier for the transformer. // // This member is required. TransformerId *string // Returns the details for the EDI standard that is being used for the // transformer. Currently, only X12 is supported. X12 is a set of standards and // corresponding messages that define specific business documents. // // Deprecated: This is a legacy trait. Please use input-conversion or // output-conversion. EdiType types.EdiType // Returns that the currently supported file formats for EDI transformations are // JSON and XML . // // Deprecated: This is a legacy trait. Please use input-conversion or // output-conversion. FileFormat types.FileFormat // Returns the InputConversion object, which contains the format options for the // inbound transformation. InputConversion *types.InputConversion // Returns the structure that contains the mapping template and its language // (either XSLT or JSONATA). Mapping *types.Mapping // Returns the mapping template for the transformer. This template is used to map // the parsed EDI file using JSONata or XSLT. // // Deprecated: This is a legacy trait. Please use input-conversion or // output-conversion. MappingTemplate *string // Returns a timestamp for last time the transformer was modified. ModifiedAt *time.Time // Returns the OutputConversion object, which contains the format options for the // outbound transformation. OutputConversion *types.OutputConversion // Returns a sample EDI document that is used by a transformer as a guide for // processing the EDI data. // // Deprecated: This is a legacy trait. Please use input-conversion or // output-conversion. SampleDocument *string // Returns a structure that contains the Amazon S3 bucket and an array of the // corresponding keys used to identify the location for your sample documents. SampleDocuments *types.SampleDocuments // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type HTTPSignerV4 ¶
type IdempotencyTokenProvider ¶
IdempotencyTokenProvider interface for providing idempotency token
type ListCapabilitiesAPIClient ¶
type ListCapabilitiesAPIClient interface {
ListCapabilities(context.Context, *ListCapabilitiesInput, ...func(*Options)) (*ListCapabilitiesOutput, error)
}
ListCapabilitiesAPIClient is a client that implements the ListCapabilities operation.
type ListCapabilitiesInput ¶
type ListCapabilitiesInput struct { // Specifies the maximum number of capabilities to return. MaxResults *int32 // When additional results are obtained from the command, a NextToken parameter is // returned in the output. You can then pass the NextToken parameter in a // subsequent command to continue listing additional resources. NextToken *string // contains filtered or unexported fields }
type ListCapabilitiesOutput ¶
type ListCapabilitiesOutput struct { // Returns one or more capabilities associated with this partnership. // // This member is required. Capabilities []types.CapabilitySummary // When additional results are obtained from the command, a NextToken parameter is // returned in the output. You can then pass the NextToken parameter in a // subsequent command to continue listing additional resources. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListCapabilitiesPaginator ¶
type ListCapabilitiesPaginator struct {
// contains filtered or unexported fields
}
ListCapabilitiesPaginator is a paginator for ListCapabilities
func NewListCapabilitiesPaginator ¶
func NewListCapabilitiesPaginator(client ListCapabilitiesAPIClient, params *ListCapabilitiesInput, optFns ...func(*ListCapabilitiesPaginatorOptions)) *ListCapabilitiesPaginator
NewListCapabilitiesPaginator returns a new ListCapabilitiesPaginator
func (*ListCapabilitiesPaginator) HasMorePages ¶
func (p *ListCapabilitiesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListCapabilitiesPaginator) NextPage ¶
func (p *ListCapabilitiesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListCapabilitiesOutput, error)
NextPage retrieves the next ListCapabilities page.
type ListCapabilitiesPaginatorOptions ¶
type ListCapabilitiesPaginatorOptions struct { // Specifies the maximum number of capabilities to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListCapabilitiesPaginatorOptions is the paginator options for ListCapabilities
type ListPartnershipsAPIClient ¶
type ListPartnershipsAPIClient interface {
ListPartnerships(context.Context, *ListPartnershipsInput, ...func(*Options)) (*ListPartnershipsOutput, error)
}
ListPartnershipsAPIClient is a client that implements the ListPartnerships operation.
type ListPartnershipsInput ¶
type ListPartnershipsInput struct { // Specifies the maximum number of capabilities to return. MaxResults *int32 // When additional results are obtained from the command, a NextToken parameter is // returned in the output. You can then pass the NextToken parameter in a // subsequent command to continue listing additional resources. NextToken *string // Specifies the unique, system-generated identifier for the profile connected to // this partnership. ProfileId *string // contains filtered or unexported fields }
type ListPartnershipsOutput ¶
type ListPartnershipsOutput struct { // Specifies a list of your partnerships. // // This member is required. Partnerships []types.PartnershipSummary // When additional results are obtained from the command, a NextToken parameter is // returned in the output. You can then pass the NextToken parameter in a // subsequent command to continue listing additional resources. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListPartnershipsPaginator ¶
type ListPartnershipsPaginator struct {
// contains filtered or unexported fields
}
ListPartnershipsPaginator is a paginator for ListPartnerships
func NewListPartnershipsPaginator ¶
func NewListPartnershipsPaginator(client ListPartnershipsAPIClient, params *ListPartnershipsInput, optFns ...func(*ListPartnershipsPaginatorOptions)) *ListPartnershipsPaginator
NewListPartnershipsPaginator returns a new ListPartnershipsPaginator
func (*ListPartnershipsPaginator) HasMorePages ¶
func (p *ListPartnershipsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListPartnershipsPaginator) NextPage ¶
func (p *ListPartnershipsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListPartnershipsOutput, error)
NextPage retrieves the next ListPartnerships page.
type ListPartnershipsPaginatorOptions ¶
type ListPartnershipsPaginatorOptions struct { // Specifies the maximum number of capabilities to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListPartnershipsPaginatorOptions is the paginator options for ListPartnerships
type ListProfilesAPIClient ¶
type ListProfilesAPIClient interface {
ListProfiles(context.Context, *ListProfilesInput, ...func(*Options)) (*ListProfilesOutput, error)
}
ListProfilesAPIClient is a client that implements the ListProfiles operation.
type ListProfilesInput ¶
type ListProfilesInput struct { // Specifies the maximum number of profiles to return. MaxResults *int32 // When additional results are obtained from the command, a NextToken parameter is // returned in the output. You can then pass the NextToken parameter in a // subsequent command to continue listing additional resources. NextToken *string // contains filtered or unexported fields }
type ListProfilesOutput ¶
type ListProfilesOutput struct { // Returns an array of ProfileSummary objects. // // This member is required. Profiles []types.ProfileSummary // When additional results are obtained from the command, a NextToken parameter is // returned in the output. You can then pass the NextToken parameter in a // subsequent command to continue listing additional resources. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListProfilesPaginator ¶
type ListProfilesPaginator struct {
// contains filtered or unexported fields
}
ListProfilesPaginator is a paginator for ListProfiles
func NewListProfilesPaginator ¶
func NewListProfilesPaginator(client ListProfilesAPIClient, params *ListProfilesInput, optFns ...func(*ListProfilesPaginatorOptions)) *ListProfilesPaginator
NewListProfilesPaginator returns a new ListProfilesPaginator
func (*ListProfilesPaginator) HasMorePages ¶
func (p *ListProfilesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListProfilesPaginator) NextPage ¶
func (p *ListProfilesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListProfilesOutput, error)
NextPage retrieves the next ListProfiles page.
type ListProfilesPaginatorOptions ¶
type ListProfilesPaginatorOptions struct { // Specifies the maximum number of profiles to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListProfilesPaginatorOptions is the paginator options for ListProfiles
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // Requests the tags associated with a particular Amazon Resource Name (ARN). An // ARN is an identifier for a specific Amazon Web Services resource, such as a // capability, partnership, profile, or transformer. // // This member is required. ResourceARN *string // contains filtered or unexported fields }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // Returns the key-value pairs assigned to ARNs that you can use to group and // search for resources by type. You can attach this metadata to resources // (capabilities, partnerships, and so on) for any purpose. Tags []types.Tag // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListTransformersAPIClient ¶
type ListTransformersAPIClient interface {
ListTransformers(context.Context, *ListTransformersInput, ...func(*Options)) (*ListTransformersOutput, error)
}
ListTransformersAPIClient is a client that implements the ListTransformers operation.
type ListTransformersInput ¶
type ListTransformersInput struct { // Specifies the number of items to return for the API response. MaxResults *int32 // When additional results are obtained from the command, a NextToken parameter is // returned in the output. You can then pass the NextToken parameter in a // subsequent command to continue listing additional resources. NextToken *string // contains filtered or unexported fields }
type ListTransformersOutput ¶
type ListTransformersOutput struct { // Returns an array of one or more transformer objects. // // For each transformer, a TransformerSummary object is returned. The // TransformerSummary contains all the details for a specific transformer. // // This member is required. Transformers []types.TransformerSummary // When additional results are obtained from the command, a NextToken parameter is // returned in the output. You can then pass the NextToken parameter in a // subsequent command to continue listing additional resources. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListTransformersPaginator ¶
type ListTransformersPaginator struct {
// contains filtered or unexported fields
}
ListTransformersPaginator is a paginator for ListTransformers
func NewListTransformersPaginator ¶
func NewListTransformersPaginator(client ListTransformersAPIClient, params *ListTransformersInput, optFns ...func(*ListTransformersPaginatorOptions)) *ListTransformersPaginator
NewListTransformersPaginator returns a new ListTransformersPaginator
func (*ListTransformersPaginator) HasMorePages ¶
func (p *ListTransformersPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListTransformersPaginator) NextPage ¶
func (p *ListTransformersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListTransformersOutput, error)
NextPage retrieves the next ListTransformers page.
type ListTransformersPaginatorOptions ¶
type ListTransformersPaginatorOptions struct { // Specifies the number of items to return for the API response. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListTransformersPaginatorOptions is the paginator options for ListTransformers
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The optional application specific identifier appended to the User-Agent header. AppID string // This endpoint will be given as input to an EndpointResolverV2. It is used for // providing a custom base endpoint that is subject to modifications by the // processing EndpointResolverV2. BaseEndpoint *string // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. // // Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a // value for this field will likely prevent you from using any endpoint-related // service features released after the introduction of EndpointResolverV2 and // BaseEndpoint. // // To migrate an EndpointResolver implementation that uses a custom endpoint, set // the client option BaseEndpoint instead. EndpointResolver EndpointResolver // Resolves the endpoint used for a particular service operation. This should be // used over the deprecated EndpointResolver. EndpointResolverV2 EndpointResolverV2 // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // Provides idempotency tokens values that will be automatically populated into // idempotent API operations. IdempotencyTokenProvider IdempotencyTokenProvider // The logger writer interface to write logging messages to. Logger logging.Logger // The client meter provider. MeterProvider metrics.MeterProvider // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. // // If specified in an operation call's functional options with a value that is // different than the constructed client's Options, the Client's Retryer will be // wrapped to use the operation's specific RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. // // When creating a new API Clients this member will only be used if the Retryer // Options member is nil. This value will be ignored if Retryer is not nil. // // Currently does not support per operation call overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The client tracer provider. TracerProvider tracing.TracerProvider // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // The auth scheme resolver which determines how to authenticate for each // operation. AuthSchemeResolver AuthSchemeResolver // The list of auth schemes supported by the client. AuthSchemes []smithyhttp.AuthScheme // contains filtered or unexported fields }
func (Options) GetIdentityResolver ¶
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type StartTransformerJobInput ¶
type StartTransformerJobInput struct { // Specifies the location of the input file for the transformation. The location // consists of an Amazon S3 bucket and prefix. // // This member is required. InputFile *types.S3Location // Specifies the location of the output file for the transformation. The location // consists of an Amazon S3 bucket and prefix. // // This member is required. OutputLocation *types.S3Location // Specifies the system-assigned unique identifier for the transformer. // // This member is required. TransformerId *string // Reserved for future use. ClientToken *string // contains filtered or unexported fields }
type StartTransformerJobOutput ¶
type StartTransformerJobOutput struct { // Returns the unique, system-generated identifier for a transformer run. // // This member is required. TransformerJobId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type TagResourceInput ¶
type TagResourceInput struct { // Specifies an Amazon Resource Name (ARN) for a specific Amazon Web Services // resource, such as a capability, partnership, profile, or transformer. // // This member is required. ResourceARN *string // Specifies the key-value pairs assigned to ARNs that you can use to group and // search for resources by type. You can attach this metadata to resources // (capabilities, partnerships, and so on) for any purpose. // // This member is required. Tags []types.Tag // contains filtered or unexported fields }
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type TestConversionInput ¶
type TestConversionInput struct { // Specify the source file for an outbound EDI request. // // This member is required. Source *types.ConversionSource // Specify the format (X12 is the only currently supported format), and other // details for the conversion target. // // This member is required. Target *types.ConversionTarget // contains filtered or unexported fields }
type TestConversionOutput ¶
type TestConversionOutput struct { // Returns the converted file content. // // This member is required. ConvertedFileContent *string // Returns an array of strings, each containing a message that Amazon Web Services // B2B Data Interchange generates during the conversion. ValidationMessages []string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type TestMappingInput ¶
type TestMappingInput struct { // Specifies that the currently supported file formats for EDI transformations are // JSON and XML . // // This member is required. FileFormat types.FileFormat // Specify the contents of the EDI (electronic data interchange) XML or JSON file // that is used as input for the transform. // // This member is required. InputFileContent *string // Specifies the mapping template for the transformer. This template is used to // map the parsed EDI file using JSONata or XSLT. // // This parameter is available for backwards compatibility. Use the [Mapping] data type // instead. // // [Mapping]: https://docs.aws.amazon.com/b2bi/latest/APIReference/API_Mapping.html // // This member is required. MappingTemplate *string // contains filtered or unexported fields }
type TestMappingOutput ¶
type TestMappingOutput struct { // Returns a string for the mapping that can be used to identify the mapping. // Similar to a fingerprint // // This member is required. MappedFileContent *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type TestParsingInput ¶
type TestParsingInput struct { // Specifies the details for the EDI standard that is being used for the // transformer. Currently, only X12 is supported. X12 is a set of standards and // corresponding messages that define specific business documents. // // This member is required. EdiType types.EdiType // Specifies that the currently supported file formats for EDI transformations are // JSON and XML . // // This member is required. FileFormat types.FileFormat // Specifies an S3Location object, which contains the Amazon S3 bucket and prefix // for the location of the input file. // // This member is required. InputFile *types.S3Location // contains filtered or unexported fields }
type TestParsingOutput ¶
type TestParsingOutput struct { // Returns the contents of the input file being tested, parsed according to the // specified EDI (electronic data interchange) type. // // This member is required. ParsedFileContent *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UntagResourceInput ¶
type UntagResourceInput struct { // Specifies an Amazon Resource Name (ARN) for a specific Amazon Web Services // resource, such as a capability, partnership, profile, or transformer. // // This member is required. ResourceARN *string // Specifies the key-value pairs assigned to ARNs that you can use to group and // search for resources by type. You can attach this metadata to resources // (capabilities, partnerships, and so on) for any purpose. // // This member is required. TagKeys []string // contains filtered or unexported fields }
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateCapabilityInput ¶
type UpdateCapabilityInput struct { // Specifies a system-assigned unique identifier for the capability. // // This member is required. CapabilityId *string // Specifies a structure that contains the details for a capability. Configuration types.CapabilityConfiguration // Specifies one or more locations in Amazon S3, each specifying an EDI document // that can be used with this capability. Each item contains the name of the bucket // and the key, to identify the document's location. InstructionsDocuments []types.S3Location // Specifies a new name for the capability, to replace the existing name. Name *string // contains filtered or unexported fields }
type UpdateCapabilityOutput ¶
type UpdateCapabilityOutput struct { // Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services // resource, such as a capability, partnership, profile, or transformer. // // This member is required. CapabilityArn *string // Returns a system-assigned unique identifier for the capability. // // This member is required. CapabilityId *string // Returns a structure that contains the details for a capability. // // This member is required. Configuration types.CapabilityConfiguration // Returns a timestamp for creation date and time of the capability. // // This member is required. CreatedAt *time.Time // Returns the name of the capability, used to identify it. // // This member is required. Name *string // Returns the type of the capability. Currently, only edi is supported. // // This member is required. Type types.CapabilityType // Returns one or more locations in Amazon S3, each specifying an EDI document // that can be used with this capability. Each item contains the name of the bucket // and the key, to identify the document's location. InstructionsDocuments []types.S3Location // Returns a timestamp for last time the capability was modified. ModifiedAt *time.Time // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdatePartnershipInput ¶
type UpdatePartnershipInput struct { // Specifies the unique, system-generated identifier for a partnership. // // This member is required. PartnershipId *string // List of the capabilities associated with this partnership. Capabilities []string // To update, specify the structure that contains the details for the associated // capabilities. CapabilityOptions *types.CapabilityOptions // The name of the partnership, used to identify it. Name *string // contains filtered or unexported fields }
type UpdatePartnershipOutput ¶
type UpdatePartnershipOutput struct { // Returns a timestamp that identifies the most recent date and time that the // partnership was modified. // // This member is required. CreatedAt *time.Time // Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services // resource, such as a capability, partnership, profile, or transformer. // // This member is required. PartnershipArn *string // Returns the unique, system-generated identifier for a partnership. // // This member is required. PartnershipId *string // Returns the unique, system-generated identifier for the profile connected to // this partnership. // // This member is required. ProfileId *string // Returns one or more capabilities associated with this partnership. Capabilities []string // Returns the structure that contains the details for the associated capabilities. CapabilityOptions *types.CapabilityOptions // Returns the email address associated with this trading partner. Email *string // Returns a timestamp that identifies the most recent date and time that the // partnership was modified. ModifiedAt *time.Time // The name of the partnership, used to identify it. Name *string // Returns the phone number associated with the partnership. Phone *string // Returns the unique, system-generated identifier for a trading partner. TradingPartnerId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateProfileInput ¶
type UpdateProfileInput struct { // Specifies the unique, system-generated identifier for the profile. // // This member is required. ProfileId *string // Specifies the name for the business associated with this profile. BusinessName *string // Specifies the email address associated with this customer profile. Email *string // The name of the profile, used to identify it. Name *string // Specifies the phone number associated with the profile. Phone *string // contains filtered or unexported fields }
type UpdateProfileOutput ¶
type UpdateProfileOutput struct { // Returns the name for the business associated with this profile. // // This member is required. BusinessName *string // Returns a timestamp for creation date and time of the profile. // // This member is required. CreatedAt *time.Time // Returns the name of the profile. // // This member is required. Name *string // Returns the phone number associated with the profile. // // This member is required. Phone *string // Returns an Amazon Resource Name (ARN) for the profile. // // This member is required. ProfileArn *string // Returns the unique, system-generated identifier for the profile. // // This member is required. ProfileId *string // Returns the email address associated with this customer profile. Email *string // Returns the name of the logging group. LogGroupName *string // Specifies whether or not logging is enabled for this profile. Logging types.Logging // Returns a timestamp for last time the profile was modified. ModifiedAt *time.Time // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateTransformerInput ¶
type UpdateTransformerInput struct { // Specifies the system-assigned unique identifier for the transformer. // // This member is required. TransformerId *string // Specifies the details for the EDI standard that is being used for the // transformer. Currently, only X12 is supported. X12 is a set of standards and // corresponding messages that define specific business documents. // // Deprecated: This is a legacy trait. Please use input-conversion or // output-conversion. EdiType types.EdiType // Specifies that the currently supported file formats for EDI transformations are // JSON and XML . // // Deprecated: This is a legacy trait. Please use input-conversion or // output-conversion. FileFormat types.FileFormat // To update, specify the InputConversion object, which contains the format // options for the inbound transformation. InputConversion *types.InputConversion // Specify the structure that contains the mapping template and its language // (either XSLT or JSONATA). Mapping *types.Mapping // Specifies the mapping template for the transformer. This template is used to // map the parsed EDI file using JSONata or XSLT. // // This parameter is available for backwards compatibility. Use the [Mapping] data type // instead. // // [Mapping]: https://docs.aws.amazon.com/b2bi/latest/APIReference/API_Mapping.html // // Deprecated: This is a legacy trait. Please use input-conversion or // output-conversion. MappingTemplate *string // Specify a new name for the transformer, if you want to update it. Name *string // To update, specify the OutputConversion object, which contains the format // options for the outbound transformation. OutputConversion *types.OutputConversion // Specifies a sample EDI document that is used by a transformer as a guide for // processing the EDI data. // // Deprecated: This is a legacy trait. Please use input-conversion or // output-conversion. SampleDocument *string // Specify a structure that contains the Amazon S3 bucket and an array of the // corresponding keys used to identify the location for your sample documents. SampleDocuments *types.SampleDocuments // Specifies the transformer's status. You can update the state of the transformer // from inactive to active . Status types.TransformerStatus // contains filtered or unexported fields }
type UpdateTransformerOutput ¶
type UpdateTransformerOutput struct { // Returns a timestamp for creation date and time of the transformer. // // This member is required. CreatedAt *time.Time // Returns a timestamp for last time the transformer was modified. // // This member is required. ModifiedAt *time.Time // Returns the name of the transformer. // // This member is required. Name *string // Returns the state of the newly created transformer. The transformer can be // either active or inactive . For the transformer to be used in a capability, its // status must active . // // This member is required. Status types.TransformerStatus // Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services // resource, such as a capability, partnership, profile, or transformer. // // This member is required. TransformerArn *string // Returns the system-assigned unique identifier for the transformer. // // This member is required. TransformerId *string // Returns the details for the EDI standard that is being used for the // transformer. Currently, only X12 is supported. X12 is a set of standards and // corresponding messages that define specific business documents. // // Deprecated: This is a legacy trait. Please use input-conversion or // output-conversion. EdiType types.EdiType // Returns that the currently supported file formats for EDI transformations are // JSON and XML . // // Deprecated: This is a legacy trait. Please use input-conversion or // output-conversion. FileFormat types.FileFormat // Returns the InputConversion object, which contains the format options for the // inbound transformation. InputConversion *types.InputConversion // Returns the structure that contains the mapping template and its language // (either XSLT or JSONATA). Mapping *types.Mapping // Returns the mapping template for the transformer. This template is used to map // the parsed EDI file using JSONata or XSLT. // // Deprecated: This is a legacy trait. Please use input-conversion or // output-conversion. MappingTemplate *string // Returns the OutputConversion object, which contains the format options for the // outbound transformation. OutputConversion *types.OutputConversion // Returns a sample EDI document that is used by a transformer as a guide for // processing the EDI data. // // Deprecated: This is a legacy trait. Please use input-conversion or // output-conversion. SampleDocument *string // Returns a structure that contains the Amazon S3 bucket and an array of the // corresponding keys used to identify the location for your sample documents. SampleDocuments *types.SampleDocuments // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files ¶
- api_client.go
- api_op_CreateCapability.go
- api_op_CreatePartnership.go
- api_op_CreateProfile.go
- api_op_CreateStarterMappingTemplate.go
- api_op_CreateTransformer.go
- api_op_DeleteCapability.go
- api_op_DeletePartnership.go
- api_op_DeleteProfile.go
- api_op_DeleteTransformer.go
- api_op_GenerateMapping.go
- api_op_GetCapability.go
- api_op_GetPartnership.go
- api_op_GetProfile.go
- api_op_GetTransformer.go
- api_op_GetTransformerJob.go
- api_op_ListCapabilities.go
- api_op_ListPartnerships.go
- api_op_ListProfiles.go
- api_op_ListTagsForResource.go
- api_op_ListTransformers.go
- api_op_StartTransformerJob.go
- api_op_TagResource.go
- api_op_TestConversion.go
- api_op_TestMapping.go
- api_op_TestParsing.go
- api_op_UntagResource.go
- api_op_UpdateCapability.go
- api_op_UpdatePartnership.go
- api_op_UpdateProfile.go
- api_op_UpdateTransformer.go
- auth.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- serializers.go
- validators.go