Skip to content

Commit

Permalink
This release for Amazon ECR makes change to bring the SDK into sync w…
Browse files Browse the repository at this point in the history
…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
aws-sdk-cpp-automation committed Jul 5, 2024
1 parent e70eede commit c005754
Show file tree
Hide file tree
Showing 21 changed files with 613 additions and 236 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.362
1.11.363
28 changes: 15 additions & 13 deletions generated/src/aws-cpp-sdk-acm/include/aws/acm/ACMClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,12 @@ namespace ACM
}

/**
* <p>Retrieves an Amazon-issued certificate and its certificate chain. The chain
* consists of the certificate of the issuing CA and the intermediate certificates
* of any other subordinate CAs. All of the certificates are base64 encoded. You
* can use <a
* <p>Retrieves a certificate and its certificate chain. The certificate may be
* either a public or private certificate issued using the ACM
* <code>RequestCertificate</code> action, or a certificate imported into ACM using
* the <code>ImportCertificate</code> action. The chain consists of the certificate
* of the issuing CA and the intermediate certificates of any other subordinate
* CAs. All of the certificates are base64 encoded. You can use <a
* href="https://wiki.openssl.org/index.php/Command_Line_Utilities">OpenSSL</a> to
* decode the certificates and inspect individual fields.</p><p><h3>See Also:</h3>
* <a
Expand Down Expand Up @@ -288,10 +290,7 @@ namespace ACM
* enter the private key that matches the certificate you are importing.</p> </li>
* <li> <p>The private key must be unencrypted. You cannot import a private key
* that is protected by a password or a passphrase.</p> </li> <li> <p>The private
* key must be no larger than 5 KB (5,120 bytes).</p> </li> <li> <p>If the
* certificate you are importing is not self-signed, you must enter its certificate
* chain.</p> </li> <li> <p>If a certificate chain is included, the issuer must be
* the subject of one of the certificates in the chain.</p> </li> <li> <p>The
* key must be no larger than 5 KB (5,120 bytes).</p> </li> <li> <p>The
* certificate, private key, and certificate chain must be PEM-encoded.</p> </li>
* <li> <p>The current time must be between the <code>Not Before</code> and
* <code>Not After</code> certificate fields.</p> </li> <li> <p>The
Expand Down Expand Up @@ -339,11 +338,14 @@ namespace ACM
}

/**
* <p>Retrieves a list of certificate ARNs and domain names. You can request that
* only certificates that match a specific status be listed. You can also filter by
* specific attributes of the certificate. Default filtering returns only
* <code>RSA_2048</code> certificates. For more information, see
* <a>Filters</a>.</p><p><h3>See Also:</h3> <a
* <p>Retrieves a list of certificate ARNs and domain names. By default, the API
* returns RSA_2048 certificates. To return all certificates in the account,
* include the <code>keyType</code> filter with the values <code>[RSA_1024,
* RSA_2048, RSA_3072, RSA_4096, EC_prime256v1, EC_secp384r1,
* EC_secp521r1]</code>.</p> <p>In addition to <code>keyType</code>, you can also
* filter by the <code>CertificateStatuses</code>, <code>keyUsage</code>, and
* <code>extendedKeyUsage</code> attributes on the certificate. For more
* information, see <a>Filters</a>.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificates">AWS
* API Reference</a></p>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,10 @@ namespace Model
* certificate. This list contains the domain names that are bound to the public
* key that is contained in the certificate. The subject alternative names include
* the canonical domain name (CN) of the certificate and additional domain names
* that can be used to connect to the website. </p> <p>When called by <a
* href="https://docs.aws.amazon.com/acm/latestAPIReference/API_ListCertificates.html">ListCertificates</a>,
* this parameter will only return the first 100 subject alternative names included
* in the certificate. To display the full list of subject alternative names, use
* <a
* href="https://docs.aws.amazon.com/acm/latestAPIReference/API_DescribeCertificate.html">DescribeCertificate</a>.</p>
* that can be used to connect to the website. </p> <p>When called by
* <a>ListCertificates</a>, this parameter will only return the first 100 subject
* alternative names included in the certificate. To display the full list of
* subject alternative names, use <a>DescribeCertificate</a>.</p>
*/
inline const Aws::Vector<Aws::String>& GetSubjectAlternativeNameSummaries() const{ return m_subjectAlternativeNameSummaries; }
inline bool SubjectAlternativeNameSummariesHasBeenSet() const { return m_subjectAlternativeNameSummariesHasBeenSet; }
Expand All @@ -105,14 +103,12 @@ namespace Model

///@{
/**
* <p>When called by <a
* href="https://docs.aws.amazon.com/acm/latestAPIReference/API_ListCertificates.html">ListCertificates</a>,
* indicates whether the full list of subject alternative names has been included
* in the response. If false, the response includes all of the subject alternative
* names included in the certificate. If true, the response only includes the first
* 100 subject alternative names included in the certificate. To display the full
* list of subject alternative names, use <a
* href="https://docs.aws.amazon.com/acm/latestAPIReference/API_DescribeCertificate.html">DescribeCertificate</a>.</p>
* <p>When called by <a>ListCertificates</a>, indicates whether the full list of
* subject alternative names has been included in the response. If false, the
* response includes all of the subject alternative names included in the
* certificate. If true, the response only includes the first 100 subject
* alternative names included in the certificate. To display the full list of
* subject alternative names, use <a>DescribeCertificate</a>.</p>
*/
inline bool GetHasAdditionalSubjectAlternativeNames() const{ return m_hasAdditionalSubjectAlternativeNames; }
inline bool HasAdditionalSubjectAlternativeNamesHasBeenSet() const { return m_hasAdditionalSubjectAlternativeNamesHasBeenSet; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ namespace Model
/**
* <p>The validation status of the domain name. This can be one of the following
* values:</p> <ul> <li> <p> <code>PENDING_VALIDATION</code> </p> </li> <li> <p>
* <code/>SUCCESS</p> </li> <li> <p> <code/>FAILED</p> </li> </ul>
* <code>SUCCESS</code> </p> </li> <li> <p> <code>FAILED</code> </p> </li> </ul>
*/
inline const DomainStatus& GetValidationStatus() const{ return m_validationStatus; }
inline bool ValidationStatusHasBeenSet() const { return m_validationStatusHasBeenSet; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,21 @@ namespace Model
* certificate uses to encrypt data. RSA is the default key algorithm for ACM
* certificates. Elliptic Curve Digital Signature Algorithm (ECDSA) keys are
* smaller, offering security comparable to RSA keys but with greater computing
* efficiency. However, ECDSA is not supported by all network clients. Some AWS
* services may require RSA keys, or only support ECDSA keys of a particular size,
* while others allow the use of either RSA and ECDSA keys to ensure that
* compatibility is not broken. Check the requirements for the AWS service where
* you plan to deploy your certificate.</p> <p>Default: RSA_2048</p>
* efficiency. However, ECDSA is not supported by all network clients. Some Amazon
* Web Services services may require RSA keys, or only support ECDSA keys of a
* particular size, while others allow the use of either RSA and ECDSA keys to
* ensure that compatibility is not broken. Check the requirements for the Amazon
* Web Services service where you plan to deploy your certificate. For more
* information about selecting an algorithm, see <a
* href="https://docs.aws.amazon.com/acm/latest/userguide/acm-certificate.html#algorithms">Key
* algorithms</a>.</p> <p>Algorithms supported for an ACM certificate
* request include: </p> <ul> <li> <p> <code>RSA_2048</code> </p> </li> <li> <p>
* <code>EC_prime256v1</code> </p> </li> <li> <p> <code>EC_secp384r1</code> </p>
* </li> </ul> <p>Other listed algorithms are for imported certificates only. </p>
* <p>When you request a private PKI certificate signed by a CA from
* Amazon Web Services Private CA, the specified signing algorithm family (RSA or
* ECDSA) must match the algorithm family of the CA's secret key.</p>
* <p>Default: RSA_2048</p>
*/
inline const KeyAlgorithm& GetKeyAlgorithm() const{ return m_keyAlgorithm; }
inline bool KeyAlgorithmHasBeenSet() const { return m_keyAlgorithmHasBeenSet; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,8 @@ namespace QBusiness
* access control permissions you need to use this API, see <a
* href="https://docs.aws.amazon.com/amazonq/latest/business-use-dg/iam-roles.html">IAM
* roles for Amazon Q Business</a> in the <i>Amazon Q Business User Guide</i>.</p>
* <p>You can use the following AWS SDKs to access Amazon Q Business APIs:</p> <ul>
* <li> <p> <a href="https://docs.aws.amazon.com/sdk-for-cpp">AWS SDK for C++</a>
* </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/sdk-for-go">AWS SDK for
* Go</a> </p> </li> <li> <p> <a
* href="https://docs.aws.amazon.com/sdk-for-java">AWS SDK for Java</a> </p> </li>
* <li> <p> <a href="https://docs.aws.amazon.com/sdk-for-javascript">AWS SDK for
* JavaScript</a> </p> </li> <li> <p> <a
* href="https://docs.aws.amazon.com/sdk-for-net">AWS SDK for .NET</a> </p> </li>
* <li> <p> <a href="https://docs.aws.amazon.com/pythonsdk">AWS SDK for Python
* (Boto3)</a> </p> </li> <li> <p> <a
* href="https://docs.aws.amazon.com/sdk-for-ruby">AWS SDK for Ruby</a> </p> </li>
* </ul> <p>The following resources provide additional information about using the
* Amazon Q Business API:</p> <ul> <li> <p> <i> <a
* <p>The following resources provide additional information about using the Amazon
* Q Business API:</p> <ul> <li> <p> <i> <a
* href="https://docs.aws.amazon.com/amazonq/latest/business-use-dg/setting-up.html">Setting
* up for Amazon Q Business</a> </i> </p> </li> <li> <p> <i> <a
* href="https://awscli.amazonaws.com/v2/documentation/api/latest/reference/qbusiness/index.html">Amazon
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/qbusiness/model/AttachmentsConfiguration.h>
#include <aws/qbusiness/model/QAppsConfiguration.h>
#include <aws/qbusiness/model/PersonalizationConfiguration.h>
#include <aws/qbusiness/model/Tag.h>
#include <utility>
#include <aws/core/utils/UUID.h>
Expand Down Expand Up @@ -165,6 +166,21 @@ namespace Model
inline CreateApplicationRequest& WithQAppsConfiguration(const QAppsConfiguration& value) { SetQAppsConfiguration(value); return *this;}
inline CreateApplicationRequest& WithQAppsConfiguration(QAppsConfiguration&& value) { SetQAppsConfiguration(std::move(value)); return *this;}
///@}

///@{
/**
* <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>
*/
inline const PersonalizationConfiguration& GetPersonalizationConfiguration() const{ return m_personalizationConfiguration; }
inline bool PersonalizationConfigurationHasBeenSet() const { return m_personalizationConfigurationHasBeenSet; }
inline void SetPersonalizationConfiguration(const PersonalizationConfiguration& value) { m_personalizationConfigurationHasBeenSet = true; m_personalizationConfiguration = value; }
inline void SetPersonalizationConfiguration(PersonalizationConfiguration&& value) { m_personalizationConfigurationHasBeenSet = true; m_personalizationConfiguration = std::move(value); }
inline CreateApplicationRequest& WithPersonalizationConfiguration(const PersonalizationConfiguration& value) { SetPersonalizationConfiguration(value); return *this;}
inline CreateApplicationRequest& WithPersonalizationConfiguration(PersonalizationConfiguration&& value) { SetPersonalizationConfiguration(std::move(value)); return *this;}
///@}
private:

Aws::String m_displayName;
Expand Down Expand Up @@ -193,6 +209,9 @@ namespace Model

QAppsConfiguration m_qAppsConfiguration;
bool m_qAppsConfigurationHasBeenSet = false;

PersonalizationConfiguration m_personalizationConfiguration;
bool m_personalizationConfigurationHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <aws/qbusiness/model/ErrorDetail.h>
#include <aws/qbusiness/model/AppliedAttachmentsConfiguration.h>
#include <aws/qbusiness/model/QAppsConfiguration.h>
#include <aws/qbusiness/model/PersonalizationConfiguration.h>
#include <utility>

namespace Aws
Expand Down Expand Up @@ -201,6 +202,20 @@ namespace Model
inline GetApplicationResult& WithQAppsConfiguration(QAppsConfiguration&& value) { SetQAppsConfiguration(std::move(value)); return *this;}
///@}

///@{
/**
* <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>
*/
inline const PersonalizationConfiguration& GetPersonalizationConfiguration() const{ return m_personalizationConfiguration; }
inline void SetPersonalizationConfiguration(const PersonalizationConfiguration& value) { m_personalizationConfiguration = value; }
inline void SetPersonalizationConfiguration(PersonalizationConfiguration&& value) { m_personalizationConfiguration = std::move(value); }
inline GetApplicationResult& WithPersonalizationConfiguration(const PersonalizationConfiguration& value) { SetPersonalizationConfiguration(value); return *this;}
inline GetApplicationResult& WithPersonalizationConfiguration(PersonalizationConfiguration&& value) { SetPersonalizationConfiguration(std::move(value)); return *this;}
///@}

///@{

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

QAppsConfiguration m_qAppsConfiguration;

PersonalizationConfiguration m_personalizationConfiguration;

Aws::String m_requestId;
};

Expand Down
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
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
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/qbusiness/model/AttachmentsConfiguration.h>
#include <aws/qbusiness/model/QAppsConfiguration.h>
#include <aws/qbusiness/model/PersonalizationConfiguration.h>
#include <utility>

namespace Aws
Expand Down Expand Up @@ -130,6 +131,21 @@ namespace Model
inline UpdateApplicationRequest& WithQAppsConfiguration(const QAppsConfiguration& value) { SetQAppsConfiguration(value); return *this;}
inline UpdateApplicationRequest& WithQAppsConfiguration(QAppsConfiguration&& value) { SetQAppsConfiguration(std::move(value)); return *this;}
///@}

///@{
/**
* <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>
*/
inline const PersonalizationConfiguration& GetPersonalizationConfiguration() const{ return m_personalizationConfiguration; }
inline bool PersonalizationConfigurationHasBeenSet() const { return m_personalizationConfigurationHasBeenSet; }
inline void SetPersonalizationConfiguration(const PersonalizationConfiguration& value) { m_personalizationConfigurationHasBeenSet = true; m_personalizationConfiguration = value; }
inline void SetPersonalizationConfiguration(PersonalizationConfiguration&& value) { m_personalizationConfigurationHasBeenSet = true; m_personalizationConfiguration = std::move(value); }
inline UpdateApplicationRequest& WithPersonalizationConfiguration(const PersonalizationConfiguration& value) { SetPersonalizationConfiguration(value); return *this;}
inline UpdateApplicationRequest& WithPersonalizationConfiguration(PersonalizationConfiguration&& value) { SetPersonalizationConfiguration(std::move(value)); return *this;}
///@}
private:

Aws::String m_applicationId;
Expand All @@ -152,6 +168,9 @@ namespace Model

QAppsConfiguration m_qAppsConfiguration;
bool m_qAppsConfigurationHasBeenSet = false;

PersonalizationConfiguration m_personalizationConfiguration;
bool m_personalizationConfigurationHasBeenSet = false;
};

} // namespace Model
Expand Down
Loading

0 comments on commit c005754

Please sign in to comment.