Skip to content

Commit

Permalink
This feature releases DeleteField, DeletedLayout, and DeleteTemplate …
Browse files Browse the repository at this point in the history
…API's

Updating max results limit for listing any resources (Job, Artifacts, Branch, BackendResources, DomainAssociation) to 50 with the exception of list apps that where max results can be up to 100.
Update Inspector2 to include new Agentless API parameters.
This update provides error messaging for generative call summarization in Transcribe Call Analytics
This change allows users to update and describe account settings associated with their accounts.
This release adds the BatchUpdateRecommendationResourceExclusion API to support batch updates of Recommendation Resource exclusion statuses and introduces a new exclusion status filter to the ListRecommendationResources and ListOrganizationRecommendationResources APIs.
  • Loading branch information
aws-sdk-cpp-automation committed Apr 29, 2024
1 parent 523ce92 commit c95988c
Show file tree
Hide file tree
Showing 100 changed files with 5,715 additions and 32 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.316
1.11.317
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,122 @@ namespace ConnectCases
return SubmitAsync(&ConnectCasesClient::DeleteDomain, request, handler, context);
}

/**
* <p>Deletes a field from a cases template. You can delete up to 100 fields per
* domain.</p> <p>After a field is deleted:</p> <ul> <li> <p>You can still retrieve
* the field by calling <code>BatchGetField</code>.</p> </li> <li> <p>You cannot
* update a deleted field by calling <code>UpdateField</code>; it throws a
* <code>ValidationException</code>.</p> </li> <li> <p>Deleted fields are not
* included in the <code>ListFields</code> response.</p> </li> <li> <p>Calling
* <code>CreateCase</code> with a deleted field throws a
* <code>ValidationException</code> denoting which field IDs in the request have
* been deleted.</p> </li> <li> <p>Calling <code>GetCase</code> with a deleted
* field ID returns the deleted field's value if one exists.</p> </li> <li>
* <p>Calling <code>UpdateCase</code> with a deleted field ID throws a
* <code>ValidationException</code> if the case does not already contain a value
* for the deleted field. Otherwise it succeeds, allowing you to update or remove
* (using <code>emptyValue: {}</code>) the field's value from the case.</p> </li>
* <li> <p> <code>GetTemplate</code> does not return field IDs for deleted
* fields.</p> </li> <li> <p> <code>GetLayout</code> does not return field IDs for
* deleted fields.</p> </li> <li> <p>Calling <code>SearchCases</code> with the
* deleted field ID as a filter returns any cases that have a value for the deleted
* field that matches the filter criteria.</p> </li> <li> <p>Calling
* <code>SearchCases</code> with a <code>searchTerm</code> value that matches a
* deleted field's value on a case returns the case in the response.</p> </li> <li>
* <p>Calling <code>BatchPutFieldOptions</code> with a deleted field ID throw a
* <code>ValidationException</code>.</p> </li> <li> <p>Calling
* <code>GetCaseEventConfiguration</code> does not return field IDs for deleted
* fields.</p> </li> </ul><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteField">AWS
* API Reference</a></p>
*/
virtual Model::DeleteFieldOutcome DeleteField(const Model::DeleteFieldRequest& request) const;

/**
* A Callable wrapper for DeleteField that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename DeleteFieldRequestT = Model::DeleteFieldRequest>
Model::DeleteFieldOutcomeCallable DeleteFieldCallable(const DeleteFieldRequestT& request) const
{
return SubmitCallable(&ConnectCasesClient::DeleteField, request);
}

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

/**
* <p>Deletes a layout from a cases template. You can delete up to 100 layouts per
* domain.</p> <pre><code> &lt;p&gt;After a layout is deleted:&lt;/p&gt; &lt;ul&gt;
* &lt;li&gt; &lt;p&gt;You can still retrieve the layout by calling
* &lt;code&gt;GetLayout&lt;/code&gt;.&lt;/p&gt; &lt;/li&gt; &lt;li&gt;
* &lt;p&gt;You cannot update a deleted layout by calling
* &lt;code&gt;UpdateLayout&lt;/code&gt;; it throws a
* &lt;code&gt;ValidationException&lt;/code&gt;.&lt;/p&gt; &lt;/li&gt; &lt;li&gt;
* &lt;p&gt;Deleted layouts are not included in the
* &lt;code&gt;ListLayouts&lt;/code&gt; response.&lt;/p&gt; &lt;/li&gt; &lt;/ul&gt;
* </code></pre><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteLayout">AWS
* API Reference</a></p>
*/
virtual Model::DeleteLayoutOutcome DeleteLayout(const Model::DeleteLayoutRequest& request) const;

/**
* A Callable wrapper for DeleteLayout that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename DeleteLayoutRequestT = Model::DeleteLayoutRequest>
Model::DeleteLayoutOutcomeCallable DeleteLayoutCallable(const DeleteLayoutRequestT& request) const
{
return SubmitCallable(&ConnectCasesClient::DeleteLayout, request);
}

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

/**
* <p>Deletes a cases template. You can delete up to 100 templates per domain.</p>
* <pre><code> &lt;p&gt;After a cases template is deleted:&lt;/p&gt; &lt;ul&gt;
* &lt;li&gt; &lt;p&gt;You can still retrieve the template by calling
* &lt;code&gt;GetTemplate&lt;/code&gt;.&lt;/p&gt; &lt;/li&gt; &lt;li&gt;
* &lt;p&gt;You cannot update the template. &lt;/p&gt; &lt;/li&gt; &lt;li&gt;
* &lt;p&gt;You cannot create a case by using the deleted template.&lt;/p&gt;
* &lt;/li&gt; &lt;li&gt; &lt;p&gt;Deleted templates are not included in the
* &lt;code&gt;ListTemplates&lt;/code&gt; response.&lt;/p&gt; &lt;/li&gt;
* &lt;/ul&gt; </code></pre><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteTemplate">AWS
* API Reference</a></p>
*/
virtual Model::DeleteTemplateOutcome DeleteTemplate(const Model::DeleteTemplateRequest& request) const;

/**
* A Callable wrapper for DeleteTemplate that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename DeleteTemplateRequestT = Model::DeleteTemplateRequest>
Model::DeleteTemplateOutcomeCallable DeleteTemplateCallable(const DeleteTemplateRequestT& request) const
{
return SubmitCallable(&ConnectCasesClient::DeleteTemplate, request);
}

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

/**
* <p>Returns information about a specific case if it exists. </p><p><h3>See
* Also:</h3> <a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
#include <aws/connectcases/model/CreateRelatedItemResult.h>
#include <aws/connectcases/model/CreateTemplateResult.h>
#include <aws/connectcases/model/DeleteDomainResult.h>
#include <aws/connectcases/model/DeleteFieldResult.h>
#include <aws/connectcases/model/DeleteLayoutResult.h>
#include <aws/connectcases/model/DeleteTemplateResult.h>
#include <aws/connectcases/model/GetCaseResult.h>
#include <aws/connectcases/model/GetCaseAuditEventsResult.h>
#include <aws/connectcases/model/GetCaseEventConfigurationResult.h>
Expand Down Expand Up @@ -97,6 +100,9 @@ namespace Aws
class CreateRelatedItemRequest;
class CreateTemplateRequest;
class DeleteDomainRequest;
class DeleteFieldRequest;
class DeleteLayoutRequest;
class DeleteTemplateRequest;
class GetCaseRequest;
class GetCaseAuditEventsRequest;
class GetCaseEventConfigurationRequest;
Expand Down Expand Up @@ -131,6 +137,9 @@ namespace Aws
typedef Aws::Utils::Outcome<CreateRelatedItemResult, ConnectCasesError> CreateRelatedItemOutcome;
typedef Aws::Utils::Outcome<CreateTemplateResult, ConnectCasesError> CreateTemplateOutcome;
typedef Aws::Utils::Outcome<DeleteDomainResult, ConnectCasesError> DeleteDomainOutcome;
typedef Aws::Utils::Outcome<DeleteFieldResult, ConnectCasesError> DeleteFieldOutcome;
typedef Aws::Utils::Outcome<DeleteLayoutResult, ConnectCasesError> DeleteLayoutOutcome;
typedef Aws::Utils::Outcome<DeleteTemplateResult, ConnectCasesError> DeleteTemplateOutcome;
typedef Aws::Utils::Outcome<GetCaseResult, ConnectCasesError> GetCaseOutcome;
typedef Aws::Utils::Outcome<GetCaseAuditEventsResult, ConnectCasesError> GetCaseAuditEventsOutcome;
typedef Aws::Utils::Outcome<GetCaseEventConfigurationResult, ConnectCasesError> GetCaseEventConfigurationOutcome;
Expand Down Expand Up @@ -165,6 +174,9 @@ namespace Aws
typedef std::future<CreateRelatedItemOutcome> CreateRelatedItemOutcomeCallable;
typedef std::future<CreateTemplateOutcome> CreateTemplateOutcomeCallable;
typedef std::future<DeleteDomainOutcome> DeleteDomainOutcomeCallable;
typedef std::future<DeleteFieldOutcome> DeleteFieldOutcomeCallable;
typedef std::future<DeleteLayoutOutcome> DeleteLayoutOutcomeCallable;
typedef std::future<DeleteTemplateOutcome> DeleteTemplateOutcomeCallable;
typedef std::future<GetCaseOutcome> GetCaseOutcomeCallable;
typedef std::future<GetCaseAuditEventsOutcome> GetCaseAuditEventsOutcomeCallable;
typedef std::future<GetCaseEventConfigurationOutcome> GetCaseEventConfigurationOutcomeCallable;
Expand Down Expand Up @@ -202,6 +214,9 @@ namespace Aws
typedef std::function<void(const ConnectCasesClient*, const Model::CreateRelatedItemRequest&, const Model::CreateRelatedItemOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateRelatedItemResponseReceivedHandler;
typedef std::function<void(const ConnectCasesClient*, const Model::CreateTemplateRequest&, const Model::CreateTemplateOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateTemplateResponseReceivedHandler;
typedef std::function<void(const ConnectCasesClient*, const Model::DeleteDomainRequest&, const Model::DeleteDomainOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteDomainResponseReceivedHandler;
typedef std::function<void(const ConnectCasesClient*, const Model::DeleteFieldRequest&, const Model::DeleteFieldOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteFieldResponseReceivedHandler;
typedef std::function<void(const ConnectCasesClient*, const Model::DeleteLayoutRequest&, const Model::DeleteLayoutOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteLayoutResponseReceivedHandler;
typedef std::function<void(const ConnectCasesClient*, const Model::DeleteTemplateRequest&, const Model::DeleteTemplateOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteTemplateResponseReceivedHandler;
typedef std::function<void(const ConnectCasesClient*, const Model::GetCaseRequest&, const Model::GetCaseOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetCaseResponseReceivedHandler;
typedef std::function<void(const ConnectCasesClient*, const Model::GetCaseAuditEventsRequest&, const Model::GetCaseAuditEventsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetCaseAuditEventsResponseReceivedHandler;
typedef std::function<void(const ConnectCasesClient*, const Model::GetCaseEventConfigurationRequest&, const Model::GetCaseEventConfigurationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetCaseEventConfigurationResponseReceivedHandler;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ namespace Model
{

/**
* <p>Object to store union of Field values.</p> <p>This data type is a
* UNION, so only one of the following members can be specified when used or
* returned.</p> <p><h3>See Also:</h3> <a
* <p>Object to store union of Field values.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/AuditEventFieldValueUnion">AWS
* API Reference</a></p>
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/

#pragma once
#include <aws/connectcases/ConnectCases_EXPORTS.h>
#include <aws/connectcases/ConnectCasesRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>

namespace Aws
{
namespace ConnectCases
{
namespace Model
{

/**
*/
class DeleteFieldRequest : public ConnectCasesRequest
{
public:
AWS_CONNECTCASES_API DeleteFieldRequest();

// 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 "DeleteField"; }

AWS_CONNECTCASES_API Aws::String SerializePayload() const override;


/**
* <p>The unique identifier of the Cases domain. </p>
*/
inline const Aws::String& GetDomainId() const{ return m_domainId; }

/**
* <p>The unique identifier of the Cases domain. </p>
*/
inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }

/**
* <p>The unique identifier of the Cases domain. </p>
*/
inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }

/**
* <p>The unique identifier of the Cases domain. </p>
*/
inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }

/**
* <p>The unique identifier of the Cases domain. </p>
*/
inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }

/**
* <p>The unique identifier of the Cases domain. </p>
*/
inline DeleteFieldRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}

/**
* <p>The unique identifier of the Cases domain. </p>
*/
inline DeleteFieldRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}

/**
* <p>The unique identifier of the Cases domain. </p>
*/
inline DeleteFieldRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;}


/**
* <p>The unique identifier of a field.</p>
*/
inline const Aws::String& GetFieldId() const{ return m_fieldId; }

/**
* <p>The unique identifier of a field.</p>
*/
inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }

/**
* <p>The unique identifier of a field.</p>
*/
inline void SetFieldId(const Aws::String& value) { m_fieldIdHasBeenSet = true; m_fieldId = value; }

/**
* <p>The unique identifier of a field.</p>
*/
inline void SetFieldId(Aws::String&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::move(value); }

/**
* <p>The unique identifier of a field.</p>
*/
inline void SetFieldId(const char* value) { m_fieldIdHasBeenSet = true; m_fieldId.assign(value); }

/**
* <p>The unique identifier of a field.</p>
*/
inline DeleteFieldRequest& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;}

/**
* <p>The unique identifier of a field.</p>
*/
inline DeleteFieldRequest& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;}

/**
* <p>The unique identifier of a field.</p>
*/
inline DeleteFieldRequest& WithFieldId(const char* value) { SetFieldId(value); return *this;}

private:

Aws::String m_domainId;
bool m_domainIdHasBeenSet = false;

Aws::String m_fieldId;
bool m_fieldIdHasBeenSet = false;
};

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

#pragma once
#include <aws/connectcases/ConnectCases_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>

namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;

namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ConnectCases
{
namespace Model
{
class DeleteFieldResult
{
public:
AWS_CONNECTCASES_API DeleteFieldResult();
AWS_CONNECTCASES_API DeleteFieldResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AWS_CONNECTCASES_API DeleteFieldResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);



inline const Aws::String& GetRequestId() const{ return m_requestId; }


inline void SetRequestId(const Aws::String& value) { m_requestId = value; }


inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }


inline void SetRequestId(const char* value) { m_requestId.assign(value); }


inline DeleteFieldResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}


inline DeleteFieldResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}


inline DeleteFieldResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}

private:

Aws::String m_requestId;
};

} // namespace Model
} // namespace ConnectCases
} // namespace Aws
Loading

0 comments on commit c95988c

Please sign in to comment.