-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This release for Amazon ECR makes change to bring the SDK into sync w…
…ith the API. Added further restrictions on logging of potentially sensitive inputs and outputs. Add personalization to Q Applications. Customers can enable or disable personalization when creating or updating a Q application with the personalization configuration. Documentation updates, including fixes for xml formatting, broken links, and ListCertificates description.
- Loading branch information
1 parent
e70eede
commit c005754
Showing
21 changed files
with
613 additions
and
236 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.11.362 | ||
1.11.363 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
...ated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/PersonalizationConfiguration.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
/** | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0. | ||
*/ | ||
|
||
#pragma once | ||
#include <aws/qbusiness/QBusiness_EXPORTS.h> | ||
#include <aws/qbusiness/model/PersonalizationControlMode.h> | ||
#include <utility> | ||
|
||
namespace Aws | ||
{ | ||
namespace Utils | ||
{ | ||
namespace Json | ||
{ | ||
class JsonValue; | ||
class JsonView; | ||
} // namespace Json | ||
} // namespace Utils | ||
namespace QBusiness | ||
{ | ||
namespace Model | ||
{ | ||
|
||
/** | ||
* <p>Configuration information about chat response personalization. For more | ||
* information, see <a | ||
* href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/personalizing-chat-responses.html">Personalizing | ||
* chat responses</a>.</p><p><h3>See Also:</h3> <a | ||
* href="http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/PersonalizationConfiguration">AWS | ||
* API Reference</a></p> | ||
*/ | ||
class PersonalizationConfiguration | ||
{ | ||
public: | ||
AWS_QBUSINESS_API PersonalizationConfiguration(); | ||
AWS_QBUSINESS_API PersonalizationConfiguration(Aws::Utils::Json::JsonView jsonValue); | ||
AWS_QBUSINESS_API PersonalizationConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); | ||
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const; | ||
|
||
|
||
///@{ | ||
/** | ||
* <p>An option to allow Amazon Q Business to customize chat responses using user | ||
* specific metadata—specifically, location and job information—in your IAM | ||
* Identity Center instance.</p> | ||
*/ | ||
inline const PersonalizationControlMode& GetPersonalizationControlMode() const{ return m_personalizationControlMode; } | ||
inline bool PersonalizationControlModeHasBeenSet() const { return m_personalizationControlModeHasBeenSet; } | ||
inline void SetPersonalizationControlMode(const PersonalizationControlMode& value) { m_personalizationControlModeHasBeenSet = true; m_personalizationControlMode = value; } | ||
inline void SetPersonalizationControlMode(PersonalizationControlMode&& value) { m_personalizationControlModeHasBeenSet = true; m_personalizationControlMode = std::move(value); } | ||
inline PersonalizationConfiguration& WithPersonalizationControlMode(const PersonalizationControlMode& value) { SetPersonalizationControlMode(value); return *this;} | ||
inline PersonalizationConfiguration& WithPersonalizationControlMode(PersonalizationControlMode&& value) { SetPersonalizationControlMode(std::move(value)); return *this;} | ||
///@} | ||
private: | ||
|
||
PersonalizationControlMode m_personalizationControlMode; | ||
bool m_personalizationControlModeHasBeenSet = false; | ||
}; | ||
|
||
} // namespace Model | ||
} // namespace QBusiness | ||
} // namespace Aws |
31 changes: 31 additions & 0 deletions
31
generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/PersonalizationControlMode.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/qbusiness/QBusiness_EXPORTS.h> | ||
#include <aws/core/utils/memory/stl/AWSString.h> | ||
|
||
namespace Aws | ||
{ | ||
namespace QBusiness | ||
{ | ||
namespace Model | ||
{ | ||
enum class PersonalizationControlMode | ||
{ | ||
NOT_SET, | ||
ENABLED, | ||
DISABLED | ||
}; | ||
|
||
namespace PersonalizationControlModeMapper | ||
{ | ||
AWS_QBUSINESS_API PersonalizationControlMode GetPersonalizationControlModeForName(const Aws::String& name); | ||
|
||
AWS_QBUSINESS_API Aws::String GetNameForPersonalizationControlMode(PersonalizationControlMode value); | ||
} // namespace PersonalizationControlModeMapper | ||
} // namespace Model | ||
} // namespace QBusiness | ||
} // namespace Aws |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.