Skip to content

Commit

Permalink
Add v2 smoke tests and smithy smokeTests trait for SDK testing.
Browse files Browse the repository at this point in the history
This feature adds exceptions to the Customer API to avoid throwing Internal Service errors
Add v2 smoke tests and smithy smokeTests trait for SDK testing.
Minor refactoring of C2J model for AWS Private CA
Vega ally control options and Support for Reviewed Answers in Topics
Adds the option to subscribe to get notifications when a zonal autoshift occurs in a region.
Add v2 smoke tests and smithy smokeTests trait for SDK testing.
Update path for CreateDBCluster resource identifier, and Add v2 smoke tests and smithy smokeTests trait for SDK testing.
Add v2 smoke tests and smithy smokeTests trait for SDK testing.
Add v2 smoke tests and smithy smokeTests trait for SDK testing.
  • Loading branch information
aws-sdk-cpp-automation committed Jul 12, 2024
1 parent 346f1a7 commit 673614e
Show file tree
Hide file tree
Showing 413 changed files with 10,663 additions and 533 deletions.
3 changes: 1 addition & 2 deletions VERSION
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
1.11.366

1.11.367
Original file line number Diff line number Diff line change
Expand Up @@ -631,20 +631,19 @@ namespace ACMPCA
* size of a certificate chain is 2 MB.</p> </li> </ul> <p> <i>Enforcement of
* Critical Constraints</i> </p> <p>Amazon Web Services Private CA allows the
* following extensions to be marked critical in the imported CA certificate or
* chain.</p> <ul> <li> <p>Authority key identifier</p> </li> <li> <p>Basic
* constraints (<i>must</i> be marked critical)</p> </li> <li> <p>Certificate
* policies</p> </li> <li> <p>Extended key usage</p> </li> <li> <p>Inhibit
* anyPolicy</p> </li> <li> <p>Issuer alternative name</p> </li> <li> <p>Key
* usage</p> </li> <li> <p>Name constraints</p> </li> <li> <p>Policy mappings</p>
* </li> <li> <p>Subject alternative name</p> </li> <li> <p>Subject directory
* attributes</p> </li> <li> <p>Subject key identifier</p> </li> <li> <p>Subject
* information access</p> </li> </ul> <p>Amazon Web Services Private CA rejects the
* following extensions when they are marked critical in an imported CA certificate
* or chain.</p> <ul> <li> <p>Authority information access</p> </li> <li> <p>CRL
* distribution points</p> </li> <li> <p>Freshest CRL</p> </li> <li> <p>Policy
* constraints</p> </li> </ul> <p>Amazon Web Services Private Certificate Authority
* will also reject any other extension marked as critical not contained on the
* preceding list of allowed extensions.</p><p><h3>See Also:</h3> <a
* chain.</p> <ul> <li> <p>Basic constraints (<i>must</i> be marked critical)</p>
* </li> <li> <p>Subject alternative names</p> </li> <li> <p>Key usage</p> </li>
* <li> <p>Extended key usage</p> </li> <li> <p>Authority key identifier</p> </li>
* <li> <p>Subject key identifier</p> </li> <li> <p>Issuer alternative name</p>
* </li> <li> <p>Subject directory attributes</p> </li> <li> <p>Subject information
* access</p> </li> <li> <p>Certificate policies</p> </li> <li> <p>Policy
* mappings</p> </li> <li> <p>Inhibit anyPolicy</p> </li> </ul> <p>Amazon Web
* Services Private CA rejects the following extensions when they are marked
* critical in an imported CA certificate or chain.</p> <ul> <li> <p>Name
* constraints</p> </li> <li> <p>Policy constraints</p> </li> <li> <p>CRL
* distribution points</p> </li> <li> <p>Authority information access</p> </li>
* <li> <p>Freshest CRL</p> </li> <li> <p>Any other extension</p> </li>
* </ul><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/ImportCertificateAuthorityCertificate">AWS
* API Reference</a></p>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ namespace Model
/**
* <p>The Amazon Resource Number (ARN) of the private CA that will have its policy
* retrieved. You can find the CA's ARN by calling the ListCertificateAuthorities
* action. </p>
* action. <pre><code> &lt;/p&gt; </code></pre>
*/
inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ namespace Model
///@{
/**
* <p>Information describing the start of the validity period of the certificate.
* This parameter sets the ��Not Before" date for the certificate.</p> <p>By
* This parameter sets the Not Before" date for the certificate.</p> <p>By
* default, when issuing a certificate, Amazon Web Services Private CA sets the
* "Not Before" date to the issuance time minus 60 minutes. This compensates for
* clock inconsistencies across computer systems. The
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,21 @@ namespace Model
AWS_ACMPCA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;


///@{
/**
* <p>Use this parameter when paginating results to specify the maximum number of
* items to return in the response on each page. If additional items exist beyond
* the number you specify, the <code>NextToken</code> element is sent in the
* response. Use this <code>NextToken</code> value in a subsequent request to
* retrieve additional items.</p> <p>Although the maximum value is 1000, the action
* only returns a maximum of 100 items.</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 ListCertificateAuthoritiesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
///@}

///@{
/**
* <p>Use this parameter when paginating results in a subsequent request after you
Expand All @@ -51,21 +66,6 @@ namespace Model
inline ListCertificateAuthoritiesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
///@}

///@{
/**
* <p>Use this parameter when paginating results to specify the maximum number of
* items to return in the response on each page. If additional items exist beyond
* the number you specify, the <code>NextToken</code> element is sent in the
* response. Use this <code>NextToken</code> value in a subsequent request to
* retrieve additional items.</p> <p>Although the maximum value is 1000, the action
* only returns a maximum of 100 items.</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 ListCertificateAuthoritiesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
///@}

///@{
/**
* <p>Use this parameter to filter the returned set of certificate authorities
Expand All @@ -80,12 +80,12 @@ namespace Model
///@}
private:

Aws::String m_nextToken;
bool m_nextTokenHasBeenSet = false;

int m_maxResults;
bool m_maxResultsHasBeenSet = false;

Aws::String m_nextToken;
bool m_nextTokenHasBeenSet = false;

ResourceOwner m_resourceOwner;
bool m_resourceOwnerHasBeenSet = false;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

#pragma once
#include <aws/acm-pca/ACMPCA_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/acm-pca/model/CertificateAuthority.h>
#include <utility>

Expand Down Expand Up @@ -34,19 +34,6 @@ namespace Model
AWS_ACMPCA_API ListCertificateAuthoritiesResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);


///@{
/**
* <p>Summary information about each certificate authority you have created.</p>
*/
inline const Aws::Vector<CertificateAuthority>& GetCertificateAuthorities() const{ return m_certificateAuthorities; }
inline void SetCertificateAuthorities(const Aws::Vector<CertificateAuthority>& value) { m_certificateAuthorities = value; }
inline void SetCertificateAuthorities(Aws::Vector<CertificateAuthority>&& value) { m_certificateAuthorities = std::move(value); }
inline ListCertificateAuthoritiesResult& WithCertificateAuthorities(const Aws::Vector<CertificateAuthority>& value) { SetCertificateAuthorities(value); return *this;}
inline ListCertificateAuthoritiesResult& WithCertificateAuthorities(Aws::Vector<CertificateAuthority>&& value) { SetCertificateAuthorities(std::move(value)); return *this;}
inline ListCertificateAuthoritiesResult& AddCertificateAuthorities(const CertificateAuthority& value) { m_certificateAuthorities.push_back(value); return *this; }
inline ListCertificateAuthoritiesResult& AddCertificateAuthorities(CertificateAuthority&& value) { m_certificateAuthorities.push_back(std::move(value)); return *this; }
///@}

///@{
/**
* <p>When the list is truncated, this value is present and should be used for the
Expand All @@ -61,6 +48,19 @@ namespace Model
inline ListCertificateAuthoritiesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
///@}

///@{
/**
* <p>Summary information about each certificate authority you have created.</p>
*/
inline const Aws::Vector<CertificateAuthority>& GetCertificateAuthorities() const{ return m_certificateAuthorities; }
inline void SetCertificateAuthorities(const Aws::Vector<CertificateAuthority>& value) { m_certificateAuthorities = value; }
inline void SetCertificateAuthorities(Aws::Vector<CertificateAuthority>&& value) { m_certificateAuthorities = std::move(value); }
inline ListCertificateAuthoritiesResult& WithCertificateAuthorities(const Aws::Vector<CertificateAuthority>& value) { SetCertificateAuthorities(value); return *this;}
inline ListCertificateAuthoritiesResult& WithCertificateAuthorities(Aws::Vector<CertificateAuthority>&& value) { SetCertificateAuthorities(std::move(value)); return *this;}
inline ListCertificateAuthoritiesResult& AddCertificateAuthorities(const CertificateAuthority& value) { m_certificateAuthorities.push_back(value); return *this; }
inline ListCertificateAuthoritiesResult& AddCertificateAuthorities(CertificateAuthority&& value) { m_certificateAuthorities.push_back(std::move(value)); return *this; }
///@}

///@{

inline const Aws::String& GetRequestId() const{ return m_requestId; }
Expand All @@ -73,10 +73,10 @@ namespace Model
///@}
private:

Aws::Vector<CertificateAuthority> m_certificateAuthorities;

Aws::String m_nextToken;

Aws::Vector<CertificateAuthority> m_certificateAuthorities;

Aws::String m_requestId;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,15 @@ namespace Model

///@{
/**
* <p>The Amazon Resource Number (ARN) of the private CA to inspect. You can find
* the ARN by calling the <a
* href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListCertificateAuthorities.html">ListCertificateAuthorities</a>
* action. This must be of the form:
* <code>arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012</code>
* You can get a private CA's ARN by running the <a
* href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListCertificateAuthorities.html">ListCertificateAuthorities</a>
* action.</p>
* <p>When paginating results, use this parameter to specify the maximum number of
* items to return in the response. If additional items exist beyond the number you
* specify, the <b>NextToken</b> element is sent in the response. Use this
* <b>NextToken</b> value in a subsequent request to retrieve additional items.</p>
*/
inline const Aws::String& GetCertificateAuthorityArn() const{ return m_certificateAuthorityArn; }
inline bool CertificateAuthorityArnHasBeenSet() const { return m_certificateAuthorityArnHasBeenSet; }
inline void SetCertificateAuthorityArn(const Aws::String& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = value; }
inline void SetCertificateAuthorityArn(Aws::String&& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = std::move(value); }
inline void SetCertificateAuthorityArn(const char* value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn.assign(value); }
inline ListPermissionsRequest& WithCertificateAuthorityArn(const Aws::String& value) { SetCertificateAuthorityArn(value); return *this;}
inline ListPermissionsRequest& WithCertificateAuthorityArn(Aws::String&& value) { SetCertificateAuthorityArn(std::move(value)); return *this;}
inline ListPermissionsRequest& WithCertificateAuthorityArn(const char* value) { SetCertificateAuthorityArn(value); return *this;}
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 ListPermissionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
///@}

///@{
Expand All @@ -73,26 +65,34 @@ namespace Model

///@{
/**
* <p>When paginating results, use this parameter to specify the maximum number of
* items to return in the response. If additional items exist beyond the number you
* specify, the <b>NextToken</b> element is sent in the response. Use this
* <b>NextToken</b> value in a subsequent request to retrieve additional items.</p>
* <p>The Amazon Resource Number (ARN) of the private CA to inspect. You can find
* the ARN by calling the <a
* href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListCertificateAuthorities.html">ListCertificateAuthorities</a>
* action. This must be of the form:
* <code>arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012</code>
* You can get a private CA's ARN by running the <a
* href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListCertificateAuthorities.html">ListCertificateAuthorities</a>
* action.</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 ListPermissionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
inline const Aws::String& GetCertificateAuthorityArn() const{ return m_certificateAuthorityArn; }
inline bool CertificateAuthorityArnHasBeenSet() const { return m_certificateAuthorityArnHasBeenSet; }
inline void SetCertificateAuthorityArn(const Aws::String& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = value; }
inline void SetCertificateAuthorityArn(Aws::String&& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = std::move(value); }
inline void SetCertificateAuthorityArn(const char* value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn.assign(value); }
inline ListPermissionsRequest& WithCertificateAuthorityArn(const Aws::String& value) { SetCertificateAuthorityArn(value); return *this;}
inline ListPermissionsRequest& WithCertificateAuthorityArn(Aws::String&& value) { SetCertificateAuthorityArn(std::move(value)); return *this;}
inline ListPermissionsRequest& WithCertificateAuthorityArn(const char* value) { SetCertificateAuthorityArn(value); return *this;}
///@}
private:

Aws::String m_certificateAuthorityArn;
bool m_certificateAuthorityArnHasBeenSet = false;
int m_maxResults;
bool m_maxResultsHasBeenSet = false;

Aws::String m_nextToken;
bool m_nextTokenHasBeenSet = false;

int m_maxResults;
bool m_maxResultsHasBeenSet = false;
Aws::String m_certificateAuthorityArn;
bool m_certificateAuthorityArnHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

#pragma once
#include <aws/acm-pca/ACMPCA_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/acm-pca/model/Permission.h>
#include <utility>

Expand Down Expand Up @@ -34,6 +34,20 @@ namespace Model
AWS_ACMPCA_API ListPermissionsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);


///@{
/**
* <p>When the list is truncated, this value is present and should be used for the
* <b>NextToken</b> parameter in a subsequent pagination request. </p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
inline ListPermissionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
inline ListPermissionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
inline ListPermissionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
///@}

///@{
/**
* <p>Summary information about each permission assigned by the specified private
Expand All @@ -49,20 +63,6 @@ namespace Model
inline ListPermissionsResult& AddPermissions(Permission&& value) { m_permissions.push_back(std::move(value)); return *this; }
///@}

///@{
/**
* <p>When the list is truncated, this value is present and should be used for the
* <b>NextToken</b> parameter in a subsequent pagination request. </p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
inline ListPermissionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
inline ListPermissionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
inline ListPermissionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
///@}

///@{

inline const Aws::String& GetRequestId() const{ return m_requestId; }
Expand All @@ -75,10 +75,10 @@ namespace Model
///@}
private:

Aws::Vector<Permission> m_permissions;

Aws::String m_nextToken;

Aws::Vector<Permission> m_permissions;

Aws::String m_requestId;
};

Expand Down
Loading

0 comments on commit 673614e

Please sign in to comment.