Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smoke Tests Codegen Working #3155

Merged
merged 51 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
feeaccd
v1 codegen
sbera87 Oct 15, 2024
76ef3f9
updates
sbera87 Oct 16, 2024
f877902
updates
sbera87 Oct 16, 2024
ae0b5b2
codegen fixes
sbera87 Oct 16, 2024
1bba920
add service filter in configuration
sbera87 Oct 16, 2024
4dec4b3
add deps
sbera87 Oct 16, 2024
fbfb5c6
deps
sbera87 Oct 16, 2024
18f0386
projections test
sbera87 Oct 17, 2024
4b5a7f0
working codegen from script
sbera87 Oct 17, 2024
0233376
codegen script updates
sbera87 Oct 18, 2024
346c1f0
working codegen with script
sbera87 Oct 18, 2024
dc6da8d
ignore temp files for smithy codegen
sbera87 Oct 18, 2024
fb8414b
cleanup + codegen fixes
sbera87 Oct 18, 2024
872c19b
tweaks
sbera87 Oct 18, 2024
049a36d
remove temp files
sbera87 Oct 18, 2024
320e03d
remove temp files
sbera87 Oct 18, 2024
5ca8987
This release launches the CreateIntegration, DeleteIntegration, Descr…
aws-sdk-cpp-automation Oct 15, 2024
6b97b8c
Add support for the new optional bucket-region and prefix query param…
aws-sdk-cpp-automation Oct 16, 2024
785f364
Update API model
aws-sdk-cpp-automation Oct 17, 2024
1273eb9
This is an Amazon ECS documentation only update to address tickets.
aws-sdk-cpp-automation Oct 17, 2024
97e4f61
Don't continue polling input stream in case it is closed or in a bad …
SergeyRyabinin Oct 17, 2024
cbad9dc
Revert "Don't continue polling input stream in case it is closed or i…
SergeyRyabinin Oct 18, 2024
b49ca3a
Update API model
aws-sdk-cpp-automation Oct 18, 2024
ac1b079
Added converse support for custom imported models
aws-sdk-cpp-automation Oct 18, 2024
9cb4e54
codegen script updates
sbera87 Oct 18, 2024
d44f0eb
This release launches the CreateIntegration, DeleteIntegration, Descr…
aws-sdk-cpp-automation Oct 15, 2024
7a3f507
Add support for the new optional bucket-region and prefix query param…
aws-sdk-cpp-automation Oct 16, 2024
f16a2c1
merge
sbera87 Oct 20, 2024
b8bc77f
codegen fixes with cas
sbera87 Oct 21, 2024
1cf31c7
remove stray lines
sbera87 Oct 21, 2024
d3100ca
changes to get all clients to compile
sbera87 Oct 21, 2024
f9852cb
handle legacy and new service code generation
sbera87 Oct 22, 2024
5ae8434
fixes
sbera87 Oct 22, 2024
03cf379
cleanup
sbera87 Oct 22, 2024
b27da0e
cleanup
sbera87 Oct 23, 2024
31c8317
utilize importer for dependencies
sbera87 Oct 23, 2024
0c96460
handle num
sbera87 Oct 23, 2024
3f9f29b
cleanup + resolve PR comments
sbera87 Oct 24, 2024
c75a2d7
restore
sbera87 Oct 24, 2024
efa5bb4
remove helper for case conversion
sbera87 Oct 24, 2024
1be4d61
cleanup unused functions
sbera87 Oct 24, 2024
b27e018
remove commented lines
sbera87 Oct 25, 2024
e1c9608
PR comments fix
sbera87 Oct 25, 2024
febfcaf
cleanup
sbera87 Oct 25, 2024
c1a3350
cleanup
sbera87 Oct 25, 2024
aec431a
cleanup
sbera87 Oct 25, 2024
d336778
cleanup
sbera87 Oct 25, 2024
d2c23a6
formatting fixes
sbera87 Oct 25, 2024
b599f31
remove exceptions
sbera87 Oct 25, 2024
90f1772
PR feedback changes
sbera87 Oct 28, 2024
69600c5
remove catch exceptions
sbera87 Oct 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
This is an Amazon ECS documentation only update to address tickets.
Updates Amazon RDS documentation for TAZ IAM support
Add StartDashboardSnapshotJobSchedule API. RestoreAnalysis now supports restoring analysis to folders.
This release adds validation to require specifying a SecurityGroup and Subnets in the Vpc object under PipesSourceSelfManagedKafkaParameters. It also adds support for iso-e, iso-f, and other non-commercial partitions in ARN parameters.
This release adds Data Grant support, through which customers can programmatically create data grants to share with other AWS accounts and accept data grants from other AWS accounts.
Added the registrations status of REQUIRES_AUTHENTICATION
Updated the DomainName pattern for Active Directory
Removing support for topK property in PromptModelInferenceConfiguration object, Making PromptTemplateConfiguration property as required, Limiting the maximum PromptVariant to 1
  • Loading branch information
aws-sdk-cpp-automation authored and sbera87 committed Oct 20, 2024
commit 1273eb97e5ea9f9748d2a0ac910e0f52951f4751
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.428
1.11.429
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ namespace BedrockAgent

/**
* <p>Gets information about a data ingestion job. Data sources are ingested into
* your knowledge base so that Large Lanaguage Models (LLMs) can use your
* your knowledge base so that Large Language Models (LLMs) can use your
* data.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetIngestionJob">AWS
* API Reference</a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,17 +78,6 @@ namespace Model
inline PromptModelInferenceConfiguration& WithTemperature(double value) { SetTemperature(value); return *this;}
///@}

///@{
/**
* <p>The number of most-likely candidates that the model considers for the next
* token during generation.</p>
*/
inline int GetTopK() const{ return m_topK; }
inline bool TopKHasBeenSet() const { return m_topKHasBeenSet; }
inline void SetTopK(int value) { m_topKHasBeenSet = true; m_topK = value; }
inline PromptModelInferenceConfiguration& WithTopK(int value) { SetTopK(value); return *this;}
///@}

///@{
/**
* <p>The percentage of most-likely candidates that the model considers for the
Expand All @@ -110,9 +99,6 @@ namespace Model
double m_temperature;
bool m_temperatureHasBeenSet = false;

int m_topK;
bool m_topKHasBeenSet = false;

double m_topP;
bool m_topPHasBeenSet = false;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ PromptModelInferenceConfiguration::PromptModelInferenceConfiguration() :
m_stopSequencesHasBeenSet(false),
m_temperature(0.0),
m_temperatureHasBeenSet(false),
m_topK(0),
m_topKHasBeenSet(false),
m_topP(0.0),
m_topPHasBeenSet(false)
{
Expand Down Expand Up @@ -63,13 +61,6 @@ PromptModelInferenceConfiguration& PromptModelInferenceConfiguration::operator =
m_temperatureHasBeenSet = true;
}

if(jsonValue.ValueExists("topK"))
{
m_topK = jsonValue.GetInteger("topK");

m_topKHasBeenSet = true;
}

if(jsonValue.ValueExists("topP"))
{
m_topP = jsonValue.GetDouble("topP");
Expand Down Expand Up @@ -107,12 +98,6 @@ JsonValue PromptModelInferenceConfiguration::Jsonize() const

}

if(m_topKHasBeenSet)
{
payload.WithInteger("topK", m_topK);

}

if(m_topPHasBeenSet)
{
payload.WithDouble("topP", m_topP);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,31 @@ namespace DataExchange
/* End of legacy constructors due deprecation */
virtual ~DataExchangeClient();

/**
* <p>This operation accepts a data grant.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/AcceptDataGrant">AWS
* API Reference</a></p>
*/
virtual Model::AcceptDataGrantOutcome AcceptDataGrant(const Model::AcceptDataGrantRequest& request) const;

/**
* A Callable wrapper for AcceptDataGrant that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename AcceptDataGrantRequestT = Model::AcceptDataGrantRequest>
Model::AcceptDataGrantOutcomeCallable AcceptDataGrantCallable(const AcceptDataGrantRequestT& request) const
{
return SubmitCallable(&DataExchangeClient::AcceptDataGrant, request);
}

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

/**
* <p>This operation cancels a job. Jobs can be cancelled only when they are in the
* WAITING state.</p><p><h3>See Also:</h3> <a
Expand All @@ -119,6 +144,31 @@ namespace DataExchange
return SubmitAsync(&DataExchangeClient::CancelJob, request, handler, context);
}

/**
* <p>This operation creates a data grant.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateDataGrant">AWS
* API Reference</a></p>
*/
virtual Model::CreateDataGrantOutcome CreateDataGrant(const Model::CreateDataGrantRequest& request) const;

/**
* A Callable wrapper for CreateDataGrant that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename CreateDataGrantRequestT = Model::CreateDataGrantRequest>
Model::CreateDataGrantOutcomeCallable CreateDataGrantCallable(const CreateDataGrantRequestT& request) const
{
return SubmitCallable(&DataExchangeClient::CreateDataGrant, request);
}

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

/**
* <p>This operation creates a data set.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateDataSet">AWS
Expand Down Expand Up @@ -245,6 +295,31 @@ namespace DataExchange
return SubmitAsync(&DataExchangeClient::DeleteAsset, request, handler, context);
}

/**
* <p>This operation deletes a data grant.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeleteDataGrant">AWS
* API Reference</a></p>
*/
virtual Model::DeleteDataGrantOutcome DeleteDataGrant(const Model::DeleteDataGrantRequest& request) const;

/**
* A Callable wrapper for DeleteDataGrant that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename DeleteDataGrantRequestT = Model::DeleteDataGrantRequest>
Model::DeleteDataGrantOutcomeCallable DeleteDataGrantCallable(const DeleteDataGrantRequestT& request) const
{
return SubmitCallable(&DataExchangeClient::DeleteDataGrant, request);
}

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

/**
* <p>This operation deletes a data set.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeleteDataSet">AWS
Expand Down Expand Up @@ -346,6 +421,32 @@ namespace DataExchange
return SubmitAsync(&DataExchangeClient::GetAsset, request, handler, context);
}

/**
* <p>This operation returns information about a data grant.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetDataGrant">AWS
* API Reference</a></p>
*/
virtual Model::GetDataGrantOutcome GetDataGrant(const Model::GetDataGrantRequest& request) const;

/**
* A Callable wrapper for GetDataGrant that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename GetDataGrantRequestT = Model::GetDataGrantRequest>
Model::GetDataGrantOutcomeCallable GetDataGrantCallable(const GetDataGrantRequestT& request) const
{
return SubmitCallable(&DataExchangeClient::GetDataGrant, request);
}

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

/**
* <p>This operation returns information about a data set.</p><p><h3>See Also:</h3>
* <a
Expand Down Expand Up @@ -423,6 +524,32 @@ namespace DataExchange
return SubmitAsync(&DataExchangeClient::GetJob, request, handler, context);
}

/**
* <p>This operation returns information about a received data grant.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetReceivedDataGrant">AWS
* API Reference</a></p>
*/
virtual Model::GetReceivedDataGrantOutcome GetReceivedDataGrant(const Model::GetReceivedDataGrantRequest& request) const;

/**
* A Callable wrapper for GetReceivedDataGrant that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename GetReceivedDataGrantRequestT = Model::GetReceivedDataGrantRequest>
Model::GetReceivedDataGrantOutcomeCallable GetReceivedDataGrantCallable(const GetReceivedDataGrantRequestT& request) const
{
return SubmitCallable(&DataExchangeClient::GetReceivedDataGrant, request);
}

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

/**
* <p>This operation returns information about a revision.</p><p><h3>See Also:</h3>
* <a
Expand All @@ -449,6 +576,32 @@ namespace DataExchange
return SubmitAsync(&DataExchangeClient::GetRevision, request, handler, context);
}

/**
* <p>This operation returns information about all data grants.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListDataGrants">AWS
* API Reference</a></p>
*/
virtual Model::ListDataGrantsOutcome ListDataGrants(const Model::ListDataGrantsRequest& request = {}) const;

/**
* A Callable wrapper for ListDataGrants that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename ListDataGrantsRequestT = Model::ListDataGrantsRequest>
Model::ListDataGrantsOutcomeCallable ListDataGrantsCallable(const ListDataGrantsRequestT& request = {}) const
{
return SubmitCallable(&DataExchangeClient::ListDataGrants, request);
}

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

/**
* <p>This operation lists a data set's revisions sorted by CreatedAt in descending
* order.</p><p><h3>See Also:</h3> <a
Expand Down Expand Up @@ -478,8 +631,7 @@ namespace DataExchange
/**
* <p>This operation lists your data sets. When listing by origin OWNED, results
* are sorted by CreatedAt in descending order. When listing by origin ENTITLED,
* there is no order and the maxResults parameter is ignored.</p><p><h3>See
* Also:</h3> <a
* there is no order.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListDataSets">AWS
* API Reference</a></p>
*/
Expand Down Expand Up @@ -554,6 +706,32 @@ namespace DataExchange
return SubmitAsync(&DataExchangeClient::ListJobs, request, handler, context);
}

/**
* <p>This operation returns information about all received data
* grants.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListReceivedDataGrants">AWS
* API Reference</a></p>
*/
virtual Model::ListReceivedDataGrantsOutcome ListReceivedDataGrants(const Model::ListReceivedDataGrantsRequest& request = {}) const;

/**
* A Callable wrapper for ListReceivedDataGrants that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename ListReceivedDataGrantsRequestT = Model::ListReceivedDataGrantsRequest>
Model::ListReceivedDataGrantsOutcomeCallable ListReceivedDataGrantsCallable(const ListReceivedDataGrantsRequestT& request = {}) const
{
return SubmitCallable(&DataExchangeClient::ListReceivedDataGrants, request);
}

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

/**
* <p>This operation lists a revision's assets sorted alphabetically in descending
* order.</p><p><h3>See Also:</h3> <a
Expand Down
Loading