Skip to content

Commit 1db79a0

Browse files
AWS Site-to-Site VPN now supports IPv6 addresses on outer tunnel IPs, making it easier for customers to build or transition to IPv6-only networks.
Added support for directory bucket creation with tags and bucket ARN retrieval in CreateBucket, ListDirectoryBuckets, and HeadBucket operations This release adds DeleteCase and DeleteRelatedItem APIs, which enable deleting cases and comments, undoing contact association, and removing service level agreements (SLAs) from cases. Contact center admins can use these APIs to delete cases when requested by customers and correct agent errors. Added TagResource, UntagResource, and ListTagsForResource support for directory bucket
1 parent 175a3bf commit 1db79a0

File tree

61 files changed

+3945
-2025
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+3945
-2025
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.600
1+
1.11.601

generated/src/aws-cpp-sdk-connectcases/include/aws/connectcases/ConnectCasesClient.h

Lines changed: 65 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ namespace ConnectCases
168168
}
169169

170170
/**
171-
* <p>If you provide a value for <code>PerformedBy.UserArn</code> you must
172-
* also have <a
171+
* <p> <p>If you provide a value for <code>PerformedBy.UserArn</code> you
172+
* must also have <a
173173
* href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribeUser.html">connect:DescribeUser</a>
174174
* permission on the User ARN resource that you provide</p> <p>Creates a
175175
* case in the specified Cases domain. Case system and custom fields are taken as
@@ -178,7 +178,7 @@ namespace ConnectCases
178178
* You must provide the full customer profile ARN in this format:
179179
* <code>arn:aws:profile:your_AWS_Region:your_AWS_account
180180
* ID:domains/your_profiles_domain_name/profiles/profile_ID</code> </p> </li> <li>
181-
* <p> <code>title</code> </p> </li> </ul><p><h3>See Also:</h3> <a
181+
* <p> <code>title</code> </p> </li> </ul></p><p><h3>See Also:</h3> <a
182182
* href="http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CreateCase">AWS
183183
* API Reference</a></p>
184184
*/
@@ -396,6 +396,36 @@ namespace ConnectCases
396396
return SubmitAsync(&ConnectCasesClient::CreateTemplate, request, handler, context);
397397
}
398398

399+
/**
400+
* <p> The DeleteCase API permanently deletes a case and all its associated
401+
* resources from the cases data store. After a successful deletion, you
402+
* cannot:</p> <ul> <li> <p>Retrieve related items</p> </li> <li> <p>Access audit
403+
* history</p> </li> <li> <p>Perform any operations that require the CaseID</p>
404+
* </li> </ul> <p>This action is irreversible. Once you delete a case,
405+
* you cannot recover its data.</p> <p><h3>See Also:</h3> <a
406+
* href="http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteCase">AWS
407+
* API Reference</a></p>
408+
*/
409+
virtual Model::DeleteCaseOutcome DeleteCase(const Model::DeleteCaseRequest& request) const;
410+
411+
/**
412+
* A Callable wrapper for DeleteCase that returns a future to the operation so that it can be executed in parallel to other requests.
413+
*/
414+
template<typename DeleteCaseRequestT = Model::DeleteCaseRequest>
415+
Model::DeleteCaseOutcomeCallable DeleteCaseCallable(const DeleteCaseRequestT& request) const
416+
{
417+
return SubmitCallable(&ConnectCasesClient::DeleteCase, request);
418+
}
419+
420+
/**
421+
* An Async wrapper for DeleteCase that queues the request into a thread executor and triggers associated callback when operation has finished.
422+
*/
423+
template<typename DeleteCaseRequestT = Model::DeleteCaseRequest>
424+
void DeleteCaseAsync(const DeleteCaseRequestT& request, const DeleteCaseResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
425+
{
426+
return SubmitAsync(&ConnectCasesClient::DeleteCase, request, handler, context);
427+
}
428+
399429
/**
400430
* <p>Deletes a case rule. In the Amazon Connect admin website, case rules are
401431
* known as <i>case field conditions</i>. For more information about case field
@@ -535,6 +565,35 @@ namespace ConnectCases
535565
return SubmitAsync(&ConnectCasesClient::DeleteLayout, request, handler, context);
536566
}
537567

568+
/**
569+
* <p>Deletes the related item resource under a case.</p> <p>This API cannot
570+
* be used on a FILE type related attachment. To delete this type of file, use the
571+
* <a
572+
* href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteAttachedFile.html">DeleteAttachedFile</a>
573+
* API</p> <p><h3>See Also:</h3> <a
574+
* href="http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteRelatedItem">AWS
575+
* API Reference</a></p>
576+
*/
577+
virtual Model::DeleteRelatedItemOutcome DeleteRelatedItem(const Model::DeleteRelatedItemRequest& request) const;
578+
579+
/**
580+
* A Callable wrapper for DeleteRelatedItem that returns a future to the operation so that it can be executed in parallel to other requests.
581+
*/
582+
template<typename DeleteRelatedItemRequestT = Model::DeleteRelatedItemRequest>
583+
Model::DeleteRelatedItemOutcomeCallable DeleteRelatedItemCallable(const DeleteRelatedItemRequestT& request) const
584+
{
585+
return SubmitCallable(&ConnectCasesClient::DeleteRelatedItem, request);
586+
}
587+
588+
/**
589+
* An Async wrapper for DeleteRelatedItem that queues the request into a thread executor and triggers associated callback when operation has finished.
590+
*/
591+
template<typename DeleteRelatedItemRequestT = Model::DeleteRelatedItemRequest>
592+
void DeleteRelatedItemAsync(const DeleteRelatedItemRequestT& request, const DeleteRelatedItemResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
593+
{
594+
return SubmitAsync(&ConnectCasesClient::DeleteRelatedItem, request, handler, context);
595+
}
596+
538597
/**
539598
* <p>Deletes a cases template. You can delete up to 100 templates per domain.</p>
540599
* <p>After a cases template is deleted:</p> <ul> <li> <p>You can still retrieve
@@ -1082,14 +1141,14 @@ namespace ConnectCases
10821141
}
10831142

10841143
/**
1085-
* <p>If you provide a value for <code>PerformedBy.UserArn</code> you must
1086-
* also have <a
1144+
* <p> <p>If you provide a value for <code>PerformedBy.UserArn</code> you
1145+
* must also have <a
10871146
* href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribeUser.html">connect:DescribeUser</a>
10881147
* permission on the User ARN resource that you provide</p> <p>Updates the
10891148
* values of fields on a case. Fields to be updated are received as an array of
10901149
* id/value pairs identical to the <code>CreateCase</code> input .</p> <p>If the
10911150
* action is successful, the service sends back an HTTP 200 response with an empty
1092-
* HTTP body.</p><p><h3>See Also:</h3> <a
1151+
* HTTP body.</p></p><p><h3>See Also:</h3> <a
10931152
* href="http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/UpdateCase">AWS
10941153
* API Reference</a></p>
10951154
*/

generated/src/aws-cpp-sdk-connectcases/include/aws/connectcases/ConnectCasesServiceClientModel.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@
2828
#include <aws/connectcases/model/CreateLayoutResult.h>
2929
#include <aws/connectcases/model/CreateRelatedItemResult.h>
3030
#include <aws/connectcases/model/CreateTemplateResult.h>
31+
#include <aws/connectcases/model/DeleteCaseResult.h>
3132
#include <aws/connectcases/model/DeleteCaseRuleResult.h>
3233
#include <aws/connectcases/model/DeleteDomainResult.h>
3334
#include <aws/connectcases/model/DeleteFieldResult.h>
3435
#include <aws/connectcases/model/DeleteLayoutResult.h>
36+
#include <aws/connectcases/model/DeleteRelatedItemResult.h>
3537
#include <aws/connectcases/model/DeleteTemplateResult.h>
3638
#include <aws/connectcases/model/GetCaseResult.h>
3739
#include <aws/connectcases/model/GetCaseAuditEventsResult.h>
@@ -107,10 +109,12 @@ namespace Aws
107109
class CreateLayoutRequest;
108110
class CreateRelatedItemRequest;
109111
class CreateTemplateRequest;
112+
class DeleteCaseRequest;
110113
class DeleteCaseRuleRequest;
111114
class DeleteDomainRequest;
112115
class DeleteFieldRequest;
113116
class DeleteLayoutRequest;
117+
class DeleteRelatedItemRequest;
114118
class DeleteTemplateRequest;
115119
class GetCaseRequest;
116120
class GetCaseAuditEventsRequest;
@@ -149,10 +153,12 @@ namespace Aws
149153
typedef Aws::Utils::Outcome<CreateLayoutResult, ConnectCasesError> CreateLayoutOutcome;
150154
typedef Aws::Utils::Outcome<CreateRelatedItemResult, ConnectCasesError> CreateRelatedItemOutcome;
151155
typedef Aws::Utils::Outcome<CreateTemplateResult, ConnectCasesError> CreateTemplateOutcome;
156+
typedef Aws::Utils::Outcome<DeleteCaseResult, ConnectCasesError> DeleteCaseOutcome;
152157
typedef Aws::Utils::Outcome<DeleteCaseRuleResult, ConnectCasesError> DeleteCaseRuleOutcome;
153158
typedef Aws::Utils::Outcome<DeleteDomainResult, ConnectCasesError> DeleteDomainOutcome;
154159
typedef Aws::Utils::Outcome<DeleteFieldResult, ConnectCasesError> DeleteFieldOutcome;
155160
typedef Aws::Utils::Outcome<DeleteLayoutResult, ConnectCasesError> DeleteLayoutOutcome;
161+
typedef Aws::Utils::Outcome<DeleteRelatedItemResult, ConnectCasesError> DeleteRelatedItemOutcome;
156162
typedef Aws::Utils::Outcome<DeleteTemplateResult, ConnectCasesError> DeleteTemplateOutcome;
157163
typedef Aws::Utils::Outcome<GetCaseResult, ConnectCasesError> GetCaseOutcome;
158164
typedef Aws::Utils::Outcome<GetCaseAuditEventsResult, ConnectCasesError> GetCaseAuditEventsOutcome;
@@ -191,10 +197,12 @@ namespace Aws
191197
typedef std::future<CreateLayoutOutcome> CreateLayoutOutcomeCallable;
192198
typedef std::future<CreateRelatedItemOutcome> CreateRelatedItemOutcomeCallable;
193199
typedef std::future<CreateTemplateOutcome> CreateTemplateOutcomeCallable;
200+
typedef std::future<DeleteCaseOutcome> DeleteCaseOutcomeCallable;
194201
typedef std::future<DeleteCaseRuleOutcome> DeleteCaseRuleOutcomeCallable;
195202
typedef std::future<DeleteDomainOutcome> DeleteDomainOutcomeCallable;
196203
typedef std::future<DeleteFieldOutcome> DeleteFieldOutcomeCallable;
197204
typedef std::future<DeleteLayoutOutcome> DeleteLayoutOutcomeCallable;
205+
typedef std::future<DeleteRelatedItemOutcome> DeleteRelatedItemOutcomeCallable;
198206
typedef std::future<DeleteTemplateOutcome> DeleteTemplateOutcomeCallable;
199207
typedef std::future<GetCaseOutcome> GetCaseOutcomeCallable;
200208
typedef std::future<GetCaseAuditEventsOutcome> GetCaseAuditEventsOutcomeCallable;
@@ -236,10 +244,12 @@ namespace Aws
236244
typedef std::function<void(const ConnectCasesClient*, const Model::CreateLayoutRequest&, const Model::CreateLayoutOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateLayoutResponseReceivedHandler;
237245
typedef std::function<void(const ConnectCasesClient*, const Model::CreateRelatedItemRequest&, const Model::CreateRelatedItemOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateRelatedItemResponseReceivedHandler;
238246
typedef std::function<void(const ConnectCasesClient*, const Model::CreateTemplateRequest&, const Model::CreateTemplateOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateTemplateResponseReceivedHandler;
247+
typedef std::function<void(const ConnectCasesClient*, const Model::DeleteCaseRequest&, const Model::DeleteCaseOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteCaseResponseReceivedHandler;
239248
typedef std::function<void(const ConnectCasesClient*, const Model::DeleteCaseRuleRequest&, const Model::DeleteCaseRuleOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteCaseRuleResponseReceivedHandler;
240249
typedef std::function<void(const ConnectCasesClient*, const Model::DeleteDomainRequest&, const Model::DeleteDomainOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteDomainResponseReceivedHandler;
241250
typedef std::function<void(const ConnectCasesClient*, const Model::DeleteFieldRequest&, const Model::DeleteFieldOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteFieldResponseReceivedHandler;
242251
typedef std::function<void(const ConnectCasesClient*, const Model::DeleteLayoutRequest&, const Model::DeleteLayoutOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteLayoutResponseReceivedHandler;
252+
typedef std::function<void(const ConnectCasesClient*, const Model::DeleteRelatedItemRequest&, const Model::DeleteRelatedItemOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteRelatedItemResponseReceivedHandler;
243253
typedef std::function<void(const ConnectCasesClient*, const Model::DeleteTemplateRequest&, const Model::DeleteTemplateOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteTemplateResponseReceivedHandler;
244254
typedef std::function<void(const ConnectCasesClient*, const Model::GetCaseRequest&, const Model::GetCaseOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetCaseResponseReceivedHandler;
245255
typedef std::function<void(const ConnectCasesClient*, const Model::GetCaseAuditEventsRequest&, const Model::GetCaseAuditEventsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetCaseAuditEventsResponseReceivedHandler;
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#pragma once
7+
#include <aws/connectcases/ConnectCases_EXPORTS.h>
8+
#include <aws/connectcases/ConnectCasesRequest.h>
9+
#include <aws/core/utils/memory/stl/AWSString.h>
10+
#include <utility>
11+
12+
namespace Aws
13+
{
14+
namespace ConnectCases
15+
{
16+
namespace Model
17+
{
18+
19+
/**
20+
*/
21+
class DeleteCaseRequest : public ConnectCasesRequest
22+
{
23+
public:
24+
AWS_CONNECTCASES_API DeleteCaseRequest() = default;
25+
26+
// Service request name is the Operation name which will send this request out,
27+
// each operation should has unique request name, so that we can get operation's name from this request.
28+
// Note: this is not true for response, multiple operations may have the same response name,
29+
// so we can not get operation's name from response.
30+
inline virtual const char* GetServiceRequestName() const override { return "DeleteCase"; }
31+
32+
AWS_CONNECTCASES_API Aws::String SerializePayload() const override;
33+
34+
35+
///@{
36+
/**
37+
* <p>A unique identifier of the case.</p>
38+
*/
39+
inline const Aws::String& GetCaseId() const { return m_caseId; }
40+
inline bool CaseIdHasBeenSet() const { return m_caseIdHasBeenSet; }
41+
template<typename CaseIdT = Aws::String>
42+
void SetCaseId(CaseIdT&& value) { m_caseIdHasBeenSet = true; m_caseId = std::forward<CaseIdT>(value); }
43+
template<typename CaseIdT = Aws::String>
44+
DeleteCaseRequest& WithCaseId(CaseIdT&& value) { SetCaseId(std::forward<CaseIdT>(value)); return *this;}
45+
///@}
46+
47+
///@{
48+
/**
49+
* <p>A unique identifier of the Cases domain.</p>
50+
*/
51+
inline const Aws::String& GetDomainId() const { return m_domainId; }
52+
inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
53+
template<typename DomainIdT = Aws::String>
54+
void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
55+
template<typename DomainIdT = Aws::String>
56+
DeleteCaseRequest& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
57+
///@}
58+
private:
59+
60+
Aws::String m_caseId;
61+
bool m_caseIdHasBeenSet = false;
62+
63+
Aws::String m_domainId;
64+
bool m_domainIdHasBeenSet = false;
65+
};
66+
67+
} // namespace Model
68+
} // namespace ConnectCases
69+
} // namespace Aws
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#pragma once
7+
#include <aws/connectcases/ConnectCases_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
#include <utility>
10+
11+
namespace Aws
12+
{
13+
template<typename RESULT_TYPE>
14+
class AmazonWebServiceResult;
15+
16+
namespace Utils
17+
{
18+
namespace Json
19+
{
20+
class JsonValue;
21+
} // namespace Json
22+
} // namespace Utils
23+
namespace ConnectCases
24+
{
25+
namespace Model
26+
{
27+
class DeleteCaseResult
28+
{
29+
public:
30+
AWS_CONNECTCASES_API DeleteCaseResult() = default;
31+
AWS_CONNECTCASES_API DeleteCaseResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
32+
AWS_CONNECTCASES_API DeleteCaseResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
33+
34+
35+
///@{
36+
37+
inline const Aws::String& GetRequestId() const { return m_requestId; }
38+
template<typename RequestIdT = Aws::String>
39+
void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
40+
template<typename RequestIdT = Aws::String>
41+
DeleteCaseResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
42+
///@}
43+
private:
44+
45+
Aws::String m_requestId;
46+
bool m_requestIdHasBeenSet = false;
47+
};
48+
49+
} // namespace Model
50+
} // namespace ConnectCases
51+
} // namespace Aws
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#pragma once
7+
#include <aws/connectcases/ConnectCases_EXPORTS.h>
8+
#include <aws/connectcases/ConnectCasesRequest.h>
9+
#include <aws/core/utils/memory/stl/AWSString.h>
10+
#include <utility>
11+
12+
namespace Aws
13+
{
14+
namespace ConnectCases
15+
{
16+
namespace Model
17+
{
18+
19+
/**
20+
*/
21+
class DeleteRelatedItemRequest : public ConnectCasesRequest
22+
{
23+
public:
24+
AWS_CONNECTCASES_API DeleteRelatedItemRequest() = default;
25+
26+
// Service request name is the Operation name which will send this request out,
27+
// each operation should has unique request name, so that we can get operation's name from this request.
28+
// Note: this is not true for response, multiple operations may have the same response name,
29+
// so we can not get operation's name from response.
30+
inline virtual const char* GetServiceRequestName() const override { return "DeleteRelatedItem"; }
31+
32+
AWS_CONNECTCASES_API Aws::String SerializePayload() const override;
33+
34+
35+
///@{
36+
/**
37+
* <p>A unique identifier of the case.</p>
38+
*/
39+
inline const Aws::String& GetCaseId() const { return m_caseId; }
40+
inline bool CaseIdHasBeenSet() const { return m_caseIdHasBeenSet; }
41+
template<typename CaseIdT = Aws::String>
42+
void SetCaseId(CaseIdT&& value) { m_caseIdHasBeenSet = true; m_caseId = std::forward<CaseIdT>(value); }
43+
template<typename CaseIdT = Aws::String>
44+
DeleteRelatedItemRequest& WithCaseId(CaseIdT&& value) { SetCaseId(std::forward<CaseIdT>(value)); return *this;}
45+
///@}
46+
47+
///@{
48+
/**
49+
* <p>A unique identifier of the Cases domain.</p>
50+
*/
51+
inline const Aws::String& GetDomainId() const { return m_domainId; }
52+
inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
53+
template<typename DomainIdT = Aws::String>
54+
void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
55+
template<typename DomainIdT = Aws::String>
56+
DeleteRelatedItemRequest& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
57+
///@}
58+
59+
///@{
60+
/**
61+
* <p>A unique identifier of a related item.</p>
62+
*/
63+
inline const Aws::String& GetRelatedItemId() const { return m_relatedItemId; }
64+
inline bool RelatedItemIdHasBeenSet() const { return m_relatedItemIdHasBeenSet; }
65+
template<typename RelatedItemIdT = Aws::String>
66+
void SetRelatedItemId(RelatedItemIdT&& value) { m_relatedItemIdHasBeenSet = true; m_relatedItemId = std::forward<RelatedItemIdT>(value); }
67+
template<typename RelatedItemIdT = Aws::String>
68+
DeleteRelatedItemRequest& WithRelatedItemId(RelatedItemIdT&& value) { SetRelatedItemId(std::forward<RelatedItemIdT>(value)); return *this;}
69+
///@}
70+
private:
71+
72+
Aws::String m_caseId;
73+
bool m_caseIdHasBeenSet = false;
74+
75+
Aws::String m_domainId;
76+
bool m_domainIdHasBeenSet = false;
77+
78+
Aws::String m_relatedItemId;
79+
bool m_relatedItemIdHasBeenSet = false;
80+
};
81+
82+
} // namespace Model
83+
} // namespace ConnectCases
84+
} // namespace Aws

0 commit comments

Comments
 (0)