Skip to content

Commit

Permalink
Added support for Automatic Time Zone Redirection on Amazon AppStream…
Browse files Browse the repository at this point in the history
… 2.0

Added raw model response and usage metrics to PreProcessing and PostProcessing Trace
WSP is being rebranded to become DCV.
Adds new Stage Health EventErrorCodes applicable to RTMP(S) broadcasts. Bug Fix: Enforces that EncoderConfiguration Video height and width must be even-number values.
This release introduces a header representing the minimum object size limit for Lifecycle transitions.
Added new fields to Amazon Bedrock Guardrails trace
Add clientToken attribute and implement idempotency for CreateSuiteDefinition.
releasing builtinlcc to public
Added and updated APIs to support outbound EDI transformations
  • Loading branch information
aws-sdk-cpp-automation committed Oct 2, 2024
1 parent 333c92c commit df7390f
Show file tree
Hide file tree
Showing 198 changed files with 7,793 additions and 960 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.417
1.11.418
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ namespace Model
FILE_DOWNLOAD,
PRINTING_TO_LOCAL_DEVICE,
DOMAIN_PASSWORD_SIGNIN,
DOMAIN_SMART_CARD_SIGNIN
DOMAIN_SMART_CARD_SIGNIN,
AUTO_TIME_ZONE_REDIRECTION
};

namespace ActionMapper
Expand Down
7 changes: 7 additions & 0 deletions generated/src/aws-cpp-sdk-appstream/source/model/Action.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ namespace Aws
static const int PRINTING_TO_LOCAL_DEVICE_HASH = HashingUtils::HashString("PRINTING_TO_LOCAL_DEVICE");
static const int DOMAIN_PASSWORD_SIGNIN_HASH = HashingUtils::HashString("DOMAIN_PASSWORD_SIGNIN");
static const int DOMAIN_SMART_CARD_SIGNIN_HASH = HashingUtils::HashString("DOMAIN_SMART_CARD_SIGNIN");
static const int AUTO_TIME_ZONE_REDIRECTION_HASH = HashingUtils::HashString("AUTO_TIME_ZONE_REDIRECTION");


Action GetActionForName(const Aws::String& name)
Expand Down Expand Up @@ -60,6 +61,10 @@ namespace Aws
{
return Action::DOMAIN_SMART_CARD_SIGNIN;
}
else if (hashCode == AUTO_TIME_ZONE_REDIRECTION_HASH)
{
return Action::AUTO_TIME_ZONE_REDIRECTION;
}
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
Expand Down Expand Up @@ -90,6 +95,8 @@ namespace Aws
return "DOMAIN_PASSWORD_SIGNIN";
case Action::DOMAIN_SMART_CARD_SIGNIN:
return "DOMAIN_SMART_CARD_SIGNIN";
case Action::AUTO_TIME_ZONE_REDIRECTION:
return "AUTO_TIME_ZONE_REDIRECTION";
default:
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
Expand Down
113 changes: 99 additions & 14 deletions generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/B2BIClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,62 @@ namespace B2BI
}

/**
* <p>Creates a transformer. A transformer describes how to process the incoming
* EDI documents and extract the necessary information to the output
* <p>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.</p> <p>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.</p> <p>If you do not provide a sample EDI file, then the service can
* generate a mapping template based on the EDI settings in the
* <code>templateDetails</code> parameter. </p> <p> Currently, we only support
* generating a template that can generate the input to produce an Outbound X12 EDI
* file.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/CreateStarterMappingTemplate">AWS
* API Reference</a></p>
*/
virtual Model::CreateStarterMappingTemplateOutcome CreateStarterMappingTemplate(const Model::CreateStarterMappingTemplateRequest& request) const;

/**
* A Callable wrapper for CreateStarterMappingTemplate that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename CreateStarterMappingTemplateRequestT = Model::CreateStarterMappingTemplateRequest>
Model::CreateStarterMappingTemplateOutcomeCallable CreateStarterMappingTemplateCallable(const CreateStarterMappingTemplateRequestT& request) const
{
return SubmitCallable(&B2BIClient::CreateStarterMappingTemplate, request);
}

/**
* An Async wrapper for CreateStarterMappingTemplate that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template<typename CreateStarterMappingTemplateRequestT = Model::CreateStarterMappingTemplateRequest>
void CreateStarterMappingTemplateAsync(const CreateStarterMappingTemplateRequestT& request, const CreateStarterMappingTemplateResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
{
return SubmitAsync(&B2BIClient::CreateStarterMappingTemplate, request, handler, context);
}

/**
* <p>Creates a transformer. Amazon Web Services B2B Data Interchange currently
* supports two scenarios:</p> <ul> <li> <p> <i>Inbound EDI</i>: 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.</p> </li> <li> <p>
* <i>Outbound EDI</i>: 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.</p> </li> </ul> <p>The following fields
* are provided for backwards compatibility only: <code>fileFormat</code>,
* <code>mappingTemplate</code>, <code>ediType</code>, and
* <code>sampleDocument</code>.</p> <ul> <li> <p>Use the <code>mapping</code> data
* type in place of <code>mappingTemplate</code> and <code>fileFormat</code> </p>
* </li> <li> <p>Use the <code>sampleDocuments</code> data type in place of
* <code>sampleDocument</code> </p> </li> <li> <p>Use either the
* <code>inputConversion</code> or <code>outputConversion</code> in place of
* <code>ediType</code> </p> </li> </ul> <p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/CreateTransformer">AWS
* API Reference</a></p>
*/
Expand Down Expand Up @@ -278,9 +331,10 @@ namespace B2BI
}

/**
* <p>Deletes the specified transformer. A transformer describes how to process the
* incoming EDI documents and extract the necessary information to the output
* file.</p><p><h3>See Also:</h3> <a
* <p>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.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/DeleteTransformer">AWS
* API Reference</a></p>
*/
Expand Down Expand Up @@ -388,8 +442,10 @@ namespace B2BI

/**
* <p>Retrieves the details for the transformer specified by the transformer ID. A
* transformer describes how to process the incoming EDI documents and extract the
* necessary information to the output file.</p><p><h3>See Also:</h3> <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.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/GetTransformer">AWS
* API Reference</a></p>
*/
Expand Down Expand Up @@ -550,9 +606,10 @@ namespace B2BI
}

/**
* <p>Lists the available transformers. A transformer describes how to process the
* incoming EDI documents and extract the necessary information to the output
* file.</p><p><h3>See Also:</h3> <a
* <p>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.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/ListTransformers">AWS
* API Reference</a></p>
*/
Expand All @@ -578,7 +635,7 @@ namespace B2BI

/**
* <p>Runs a job, using a transformer, to parse input EDI (electronic data
* interchange) file into the output structures used by Amazon Web Services B2BI
* interchange) file into the output structures used by Amazon Web Services B2B
* Data Interchange.</p> <p>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
Expand Down Expand Up @@ -635,6 +692,33 @@ namespace B2BI
return SubmitAsync(&B2BIClient::TagResource, request, handler, context);
}

/**
* <p>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.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/TestConversion">AWS
* API Reference</a></p>
*/
virtual Model::TestConversionOutcome TestConversion(const Model::TestConversionRequest& request) const;

/**
* A Callable wrapper for TestConversion that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename TestConversionRequestT = Model::TestConversionRequest>
Model::TestConversionOutcomeCallable TestConversionCallable(const TestConversionRequestT& request) const
{
return SubmitCallable(&B2BIClient::TestConversion, request);
}

/**
* An Async wrapper for TestConversion that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template<typename TestConversionRequestT = Model::TestConversionRequest>
void TestConversionAsync(const TestConversionRequestT& request, const TestConversionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
{
return SubmitAsync(&B2BIClient::TestConversion, request, handler, context);
}

/**
* <p>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
Expand Down Expand Up @@ -798,9 +882,10 @@ namespace B2BI
}

/**
* <p>Updates the specified parameters for a transformer. A transformer describes
* how to process the incoming EDI documents and extract the necessary information
* to the output file.</p><p><h3>See Also:</h3> <a
* <p>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.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/UpdateTransformer">AWS
* API Reference</a></p>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <aws/b2bi/model/CreateCapabilityResult.h>
#include <aws/b2bi/model/CreatePartnershipResult.h>
#include <aws/b2bi/model/CreateProfileResult.h>
#include <aws/b2bi/model/CreateStarterMappingTemplateResult.h>
#include <aws/b2bi/model/CreateTransformerResult.h>
#include <aws/b2bi/model/GetCapabilityResult.h>
#include <aws/b2bi/model/GetPartnershipResult.h>
Expand All @@ -33,6 +34,7 @@
#include <aws/b2bi/model/ListTagsForResourceResult.h>
#include <aws/b2bi/model/ListTransformersResult.h>
#include <aws/b2bi/model/StartTransformerJobResult.h>
#include <aws/b2bi/model/TestConversionResult.h>
#include <aws/b2bi/model/TestMappingResult.h>
#include <aws/b2bi/model/TestParsingResult.h>
#include <aws/b2bi/model/UpdateCapabilityResult.h>
Expand Down Expand Up @@ -87,6 +89,7 @@ namespace Aws
class CreateCapabilityRequest;
class CreatePartnershipRequest;
class CreateProfileRequest;
class CreateStarterMappingTemplateRequest;
class CreateTransformerRequest;
class DeleteCapabilityRequest;
class DeletePartnershipRequest;
Expand All @@ -104,6 +107,7 @@ namespace Aws
class ListTransformersRequest;
class StartTransformerJobRequest;
class TagResourceRequest;
class TestConversionRequest;
class TestMappingRequest;
class TestParsingRequest;
class UntagResourceRequest;
Expand All @@ -117,6 +121,7 @@ namespace Aws
typedef Aws::Utils::Outcome<CreateCapabilityResult, B2BIError> CreateCapabilityOutcome;
typedef Aws::Utils::Outcome<CreatePartnershipResult, B2BIError> CreatePartnershipOutcome;
typedef Aws::Utils::Outcome<CreateProfileResult, B2BIError> CreateProfileOutcome;
typedef Aws::Utils::Outcome<CreateStarterMappingTemplateResult, B2BIError> CreateStarterMappingTemplateOutcome;
typedef Aws::Utils::Outcome<CreateTransformerResult, B2BIError> CreateTransformerOutcome;
typedef Aws::Utils::Outcome<Aws::NoResult, B2BIError> DeleteCapabilityOutcome;
typedef Aws::Utils::Outcome<Aws::NoResult, B2BIError> DeletePartnershipOutcome;
Expand All @@ -134,6 +139,7 @@ namespace Aws
typedef Aws::Utils::Outcome<ListTransformersResult, B2BIError> ListTransformersOutcome;
typedef Aws::Utils::Outcome<StartTransformerJobResult, B2BIError> StartTransformerJobOutcome;
typedef Aws::Utils::Outcome<Aws::NoResult, B2BIError> TagResourceOutcome;
typedef Aws::Utils::Outcome<TestConversionResult, B2BIError> TestConversionOutcome;
typedef Aws::Utils::Outcome<TestMappingResult, B2BIError> TestMappingOutcome;
typedef Aws::Utils::Outcome<TestParsingResult, B2BIError> TestParsingOutcome;
typedef Aws::Utils::Outcome<Aws::NoResult, B2BIError> UntagResourceOutcome;
Expand All @@ -147,6 +153,7 @@ namespace Aws
typedef std::future<CreateCapabilityOutcome> CreateCapabilityOutcomeCallable;
typedef std::future<CreatePartnershipOutcome> CreatePartnershipOutcomeCallable;
typedef std::future<CreateProfileOutcome> CreateProfileOutcomeCallable;
typedef std::future<CreateStarterMappingTemplateOutcome> CreateStarterMappingTemplateOutcomeCallable;
typedef std::future<CreateTransformerOutcome> CreateTransformerOutcomeCallable;
typedef std::future<DeleteCapabilityOutcome> DeleteCapabilityOutcomeCallable;
typedef std::future<DeletePartnershipOutcome> DeletePartnershipOutcomeCallable;
Expand All @@ -164,6 +171,7 @@ namespace Aws
typedef std::future<ListTransformersOutcome> ListTransformersOutcomeCallable;
typedef std::future<StartTransformerJobOutcome> StartTransformerJobOutcomeCallable;
typedef std::future<TagResourceOutcome> TagResourceOutcomeCallable;
typedef std::future<TestConversionOutcome> TestConversionOutcomeCallable;
typedef std::future<TestMappingOutcome> TestMappingOutcomeCallable;
typedef std::future<TestParsingOutcome> TestParsingOutcomeCallable;
typedef std::future<UntagResourceOutcome> UntagResourceOutcomeCallable;
Expand All @@ -180,6 +188,7 @@ namespace Aws
typedef std::function<void(const B2BIClient*, const Model::CreateCapabilityRequest&, const Model::CreateCapabilityOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateCapabilityResponseReceivedHandler;
typedef std::function<void(const B2BIClient*, const Model::CreatePartnershipRequest&, const Model::CreatePartnershipOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreatePartnershipResponseReceivedHandler;
typedef std::function<void(const B2BIClient*, const Model::CreateProfileRequest&, const Model::CreateProfileOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateProfileResponseReceivedHandler;
typedef std::function<void(const B2BIClient*, const Model::CreateStarterMappingTemplateRequest&, const Model::CreateStarterMappingTemplateOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateStarterMappingTemplateResponseReceivedHandler;
typedef std::function<void(const B2BIClient*, const Model::CreateTransformerRequest&, const Model::CreateTransformerOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateTransformerResponseReceivedHandler;
typedef std::function<void(const B2BIClient*, const Model::DeleteCapabilityRequest&, const Model::DeleteCapabilityOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteCapabilityResponseReceivedHandler;
typedef std::function<void(const B2BIClient*, const Model::DeletePartnershipRequest&, const Model::DeletePartnershipOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeletePartnershipResponseReceivedHandler;
Expand All @@ -197,6 +206,7 @@ namespace Aws
typedef std::function<void(const B2BIClient*, const Model::ListTransformersRequest&, const Model::ListTransformersOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListTransformersResponseReceivedHandler;
typedef std::function<void(const B2BIClient*, const Model::StartTransformerJobRequest&, const Model::StartTransformerJobOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StartTransformerJobResponseReceivedHandler;
typedef std::function<void(const B2BIClient*, const Model::TagResourceRequest&, const Model::TagResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > TagResourceResponseReceivedHandler;
typedef std::function<void(const B2BIClient*, const Model::TestConversionRequest&, const Model::TestConversionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > TestConversionResponseReceivedHandler;
typedef std::function<void(const B2BIClient*, const Model::TestMappingRequest&, const Model::TestMappingOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > TestMappingResponseReceivedHandler;
typedef std::function<void(const B2BIClient*, const Model::TestParsingRequest&, const Model::TestParsingOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > TestParsingResponseReceivedHandler;
typedef std::function<void(const B2BIClient*, const Model::UntagResourceRequest&, const Model::UntagResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UntagResourceResponseReceivedHandler;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/

#pragma once
#include <aws/b2bi/B2BI_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace Aws
{
namespace B2BI
{
namespace Model
{
enum class CapabilityDirection
{
NOT_SET,
INBOUND,
OUTBOUND
};

namespace CapabilityDirectionMapper
{
AWS_B2BI_API CapabilityDirection GetCapabilityDirectionForName(const Aws::String& name);

AWS_B2BI_API Aws::String GetNameForCapabilityDirection(CapabilityDirection value);
} // namespace CapabilityDirectionMapper
} // namespace Model
} // namespace B2BI
} // namespace Aws
Loading

0 comments on commit df7390f

Please sign in to comment.