Skip to content

Commit

Permalink
Documentation-only update for AWS Marketplace Reporting API.
Browse files Browse the repository at this point in the history
Add validation pattern to S3KeyPrefix on the EnableLogging API
Add support for using the template from a previous job during job creation and listing parameter definitions for a job.
This release adds support for the following capabilities: Configuration of the Gen AI system via AIAgent and AIPrompts. Integration support for Bedrock Knowledge Base.
  • Loading branch information
aws-sdk-cpp-automation committed Oct 7, 2024
1 parent 2cde9b1 commit cca7d92
Show file tree
Hide file tree
Showing 235 changed files with 18,858 additions and 131 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.420
1.11.421
Original file line number Diff line number Diff line change
Expand Up @@ -1643,6 +1643,31 @@ namespace deadline
return SubmitAsync(&DeadlineClient::ListJobMembers, request, handler, context);
}

/**
* <p>Lists parameter definitions of a job.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/ListJobParameterDefinitions">AWS
* API Reference</a></p>
*/
virtual Model::ListJobParameterDefinitionsOutcome ListJobParameterDefinitions(const Model::ListJobParameterDefinitionsRequest& request) const;

/**
* A Callable wrapper for ListJobParameterDefinitions that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename ListJobParameterDefinitionsRequestT = Model::ListJobParameterDefinitionsRequest>
Model::ListJobParameterDefinitionsOutcomeCallable ListJobParameterDefinitionsCallable(const ListJobParameterDefinitionsRequestT& request) const
{
return SubmitCallable(&DeadlineClient::ListJobParameterDefinitions, request);
}

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

/**
* <p>Lists jobs.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/ListJobs">AWS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
#include <aws/deadline/model/ListFleetMembersResult.h>
#include <aws/deadline/model/ListFleetsResult.h>
#include <aws/deadline/model/ListJobMembersResult.h>
#include <aws/deadline/model/ListJobParameterDefinitionsResult.h>
#include <aws/deadline/model/ListJobsResult.h>
#include <aws/deadline/model/ListLicenseEndpointsResult.h>
#include <aws/deadline/model/ListMeteredProductsResult.h>
Expand Down Expand Up @@ -225,6 +226,7 @@ namespace Aws
class ListFleetMembersRequest;
class ListFleetsRequest;
class ListJobMembersRequest;
class ListJobParameterDefinitionsRequest;
class ListJobsRequest;
class ListLicenseEndpointsRequest;
class ListMeteredProductsRequest;
Expand Down Expand Up @@ -330,6 +332,7 @@ namespace Aws
typedef Aws::Utils::Outcome<ListFleetMembersResult, DeadlineError> ListFleetMembersOutcome;
typedef Aws::Utils::Outcome<ListFleetsResult, DeadlineError> ListFleetsOutcome;
typedef Aws::Utils::Outcome<ListJobMembersResult, DeadlineError> ListJobMembersOutcome;
typedef Aws::Utils::Outcome<ListJobParameterDefinitionsResult, DeadlineError> ListJobParameterDefinitionsOutcome;
typedef Aws::Utils::Outcome<ListJobsResult, DeadlineError> ListJobsOutcome;
typedef Aws::Utils::Outcome<ListLicenseEndpointsResult, DeadlineError> ListLicenseEndpointsOutcome;
typedef Aws::Utils::Outcome<ListMeteredProductsResult, DeadlineError> ListMeteredProductsOutcome;
Expand Down Expand Up @@ -435,6 +438,7 @@ namespace Aws
typedef std::future<ListFleetMembersOutcome> ListFleetMembersOutcomeCallable;
typedef std::future<ListFleetsOutcome> ListFleetsOutcomeCallable;
typedef std::future<ListJobMembersOutcome> ListJobMembersOutcomeCallable;
typedef std::future<ListJobParameterDefinitionsOutcome> ListJobParameterDefinitionsOutcomeCallable;
typedef std::future<ListJobsOutcome> ListJobsOutcomeCallable;
typedef std::future<ListLicenseEndpointsOutcome> ListLicenseEndpointsOutcomeCallable;
typedef std::future<ListMeteredProductsOutcome> ListMeteredProductsOutcomeCallable;
Expand Down Expand Up @@ -543,6 +547,7 @@ namespace Aws
typedef std::function<void(const DeadlineClient*, const Model::ListFleetMembersRequest&, const Model::ListFleetMembersOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListFleetMembersResponseReceivedHandler;
typedef std::function<void(const DeadlineClient*, const Model::ListFleetsRequest&, const Model::ListFleetsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListFleetsResponseReceivedHandler;
typedef std::function<void(const DeadlineClient*, const Model::ListJobMembersRequest&, const Model::ListJobMembersOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListJobMembersResponseReceivedHandler;
typedef std::function<void(const DeadlineClient*, const Model::ListJobParameterDefinitionsRequest&, const Model::ListJobParameterDefinitionsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListJobParameterDefinitionsResponseReceivedHandler;
typedef std::function<void(const DeadlineClient*, const Model::ListJobsRequest&, const Model::ListJobsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListJobsResponseReceivedHandler;
typedef std::function<void(const DeadlineClient*, const Model::ListLicenseEndpointsRequest&, const Model::ListLicenseEndpointsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListLicenseEndpointsResponseReceivedHandler;
typedef std::function<void(const DeadlineClient*, const Model::ListMeteredProductsRequest&, const Model::ListMeteredProductsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListMeteredProductsResponseReceivedHandler;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,20 @@ namespace Model
inline void SetMaxRetriesPerTask(int value) { m_maxRetriesPerTaskHasBeenSet = true; m_maxRetriesPerTask = value; }
inline CreateJobRequest& WithMaxRetriesPerTask(int value) { SetMaxRetriesPerTask(value); return *this;}
///@}

///@{
/**
* <p>The job ID for the source job.</p>
*/
inline const Aws::String& GetSourceJobId() const{ return m_sourceJobId; }
inline bool SourceJobIdHasBeenSet() const { return m_sourceJobIdHasBeenSet; }
inline void SetSourceJobId(const Aws::String& value) { m_sourceJobIdHasBeenSet = true; m_sourceJobId = value; }
inline void SetSourceJobId(Aws::String&& value) { m_sourceJobIdHasBeenSet = true; m_sourceJobId = std::move(value); }
inline void SetSourceJobId(const char* value) { m_sourceJobIdHasBeenSet = true; m_sourceJobId.assign(value); }
inline CreateJobRequest& WithSourceJobId(const Aws::String& value) { SetSourceJobId(value); return *this;}
inline CreateJobRequest& WithSourceJobId(Aws::String&& value) { SetSourceJobId(std::move(value)); return *this;}
inline CreateJobRequest& WithSourceJobId(const char* value) { SetSourceJobId(value); return *this;}
///@}
private:

Aws::String m_farmId;
Expand Down Expand Up @@ -236,6 +250,9 @@ namespace Model

int m_maxRetriesPerTask;
bool m_maxRetriesPerTaskHasBeenSet = false;

Aws::String m_sourceJobId;
bool m_sourceJobIdHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,19 @@ namespace Model
inline GetJobResult& WithDescription(const char* value) { SetDescription(value); return *this;}
///@}

///@{
/**
* <p>The job ID for the source job.</p>
*/
inline const Aws::String& GetSourceJobId() const{ return m_sourceJobId; }
inline void SetSourceJobId(const Aws::String& value) { m_sourceJobId = value; }
inline void SetSourceJobId(Aws::String&& value) { m_sourceJobId = std::move(value); }
inline void SetSourceJobId(const char* value) { m_sourceJobId.assign(value); }
inline GetJobResult& WithSourceJobId(const Aws::String& value) { SetSourceJobId(value); return *this;}
inline GetJobResult& WithSourceJobId(Aws::String&& value) { SetSourceJobId(std::move(value)); return *this;}
inline GetJobResult& WithSourceJobId(const char* value) { SetSourceJobId(value); return *this;}
///@}

///@{

inline const Aws::String& GetRequestId() const{ return m_requestId; }
Expand Down Expand Up @@ -330,6 +343,8 @@ namespace Model

Aws::String m_description;

Aws::String m_sourceJobId;

Aws::String m_requestId;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,20 @@ namespace Model
inline JobSearchSummary& AddJobParameters(const char* key, JobParameter&& value) { m_jobParametersHasBeenSet = true; m_jobParameters.emplace(key, std::move(value)); return *this; }
inline JobSearchSummary& AddJobParameters(const char* key, const JobParameter& value) { m_jobParametersHasBeenSet = true; m_jobParameters.emplace(key, value); return *this; }
///@}

///@{
/**
* <p>The job ID for the source job.</p>
*/
inline const Aws::String& GetSourceJobId() const{ return m_sourceJobId; }
inline bool SourceJobIdHasBeenSet() const { return m_sourceJobIdHasBeenSet; }
inline void SetSourceJobId(const Aws::String& value) { m_sourceJobIdHasBeenSet = true; m_sourceJobId = value; }
inline void SetSourceJobId(Aws::String&& value) { m_sourceJobIdHasBeenSet = true; m_sourceJobId = std::move(value); }
inline void SetSourceJobId(const char* value) { m_sourceJobIdHasBeenSet = true; m_sourceJobId.assign(value); }
inline JobSearchSummary& WithSourceJobId(const Aws::String& value) { SetSourceJobId(value); return *this;}
inline JobSearchSummary& WithSourceJobId(Aws::String&& value) { SetSourceJobId(std::move(value)); return *this;}
inline JobSearchSummary& WithSourceJobId(const char* value) { SetSourceJobId(value); return *this;}
///@}
private:

Aws::String m_jobId;
Expand Down Expand Up @@ -306,6 +320,9 @@ namespace Model

Aws::Map<Aws::String, JobParameter> m_jobParameters;
bool m_jobParametersHasBeenSet = false;

Aws::String m_sourceJobId;
bool m_sourceJobIdHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,20 @@ namespace Model
inline void SetMaxRetriesPerTask(int value) { m_maxRetriesPerTaskHasBeenSet = true; m_maxRetriesPerTask = value; }
inline JobSummary& WithMaxRetriesPerTask(int value) { SetMaxRetriesPerTask(value); return *this;}
///@}

///@{
/**
* <p>The job ID for the source job.</p>
*/
inline const Aws::String& GetSourceJobId() const{ return m_sourceJobId; }
inline bool SourceJobIdHasBeenSet() const { return m_sourceJobIdHasBeenSet; }
inline void SetSourceJobId(const Aws::String& value) { m_sourceJobIdHasBeenSet = true; m_sourceJobId = value; }
inline void SetSourceJobId(Aws::String&& value) { m_sourceJobIdHasBeenSet = true; m_sourceJobId = std::move(value); }
inline void SetSourceJobId(const char* value) { m_sourceJobIdHasBeenSet = true; m_sourceJobId.assign(value); }
inline JobSummary& WithSourceJobId(const Aws::String& value) { SetSourceJobId(value); return *this;}
inline JobSummary& WithSourceJobId(Aws::String&& value) { SetSourceJobId(std::move(value)); return *this;}
inline JobSummary& WithSourceJobId(const char* value) { SetSourceJobId(value); return *this;}
///@}
private:

Aws::String m_jobId;
Expand Down Expand Up @@ -299,6 +313,9 @@ namespace Model

int m_maxRetriesPerTask;
bool m_maxRetriesPerTaskHasBeenSet = false;

Aws::String m_sourceJobId;
bool m_sourceJobIdHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/

#pragma once
#include <aws/deadline/Deadline_EXPORTS.h>
#include <aws/deadline/DeadlineRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>

namespace Aws
{
namespace Http
{
class URI;
} //namespace Http
namespace deadline
{
namespace Model
{

/**
*/
class ListJobParameterDefinitionsRequest : public DeadlineRequest
{
public:
AWS_DEADLINE_API ListJobParameterDefinitionsRequest();

// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "ListJobParameterDefinitions"; }

AWS_DEADLINE_API Aws::String SerializePayload() const override;

AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;


///@{
/**
* <p>The farm ID of the job to list.</p>
*/
inline const Aws::String& GetFarmId() const{ return m_farmId; }
inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; }
inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); }
inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); }
inline ListJobParameterDefinitionsRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
inline ListJobParameterDefinitionsRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
inline ListJobParameterDefinitionsRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;}
///@}

///@{
/**
* <p>The job ID to include on the list.</p>
*/
inline const Aws::String& GetJobId() const{ return m_jobId; }
inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
inline ListJobParameterDefinitionsRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
inline ListJobParameterDefinitionsRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
inline ListJobParameterDefinitionsRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
///@}

///@{
/**
* <p>The queue ID to include on the list.</p>
*/
inline const Aws::String& GetQueueId() const{ return m_queueId; }
inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; }
inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); }
inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); }
inline ListJobParameterDefinitionsRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
inline ListJobParameterDefinitionsRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
inline ListJobParameterDefinitionsRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;}
///@}

///@{
/**
* <p>The token for the next set of results, or <code>null</code> to start from the
* beginning.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
inline ListJobParameterDefinitionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
inline ListJobParameterDefinitionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
inline ListJobParameterDefinitionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
///@}

///@{
/**
* <p>The maximum number of results to return. Use this parameter with
* <code>NextToken</code> to get results as a set of sequential pages.</p>
*/
inline int GetMaxResults() const{ return m_maxResults; }
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
inline ListJobParameterDefinitionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
///@}
private:

Aws::String m_farmId;
bool m_farmIdHasBeenSet = false;

Aws::String m_jobId;
bool m_jobIdHasBeenSet = false;

Aws::String m_queueId;
bool m_queueIdHasBeenSet = false;

Aws::String m_nextToken;
bool m_nextTokenHasBeenSet = false;

int m_maxResults;
bool m_maxResultsHasBeenSet = false;
};

} // namespace Model
} // namespace deadline
} // namespace Aws
Loading

0 comments on commit cca7d92

Please sign in to comment.