Skip to content

Commit

Permalink
This release includes support for creating I-frame only video segment…
Browse files Browse the repository at this point in the history
…s for DASH trick play.

Doc only update for Secrets Manager
This release introduces a new feature, Usage profiles. Usage profiles allow the AWS Glue admin to create different profiles for various classes of users within the account, enforcing limits and defaults for jobs and sessions.
Add v2 smoke tests and smithy smokeTests trait for SDK testing.
Add v2 smoke tests and smithy smokeTests trait for SDK testing.
Updating SDK example for KMS DeriveSharedSecret API.
AWS CodeBuild now supports global and organization GitHub webhooks
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.
Doc-only update that adds name constraints as an allowed extension for ImportCertificateAuthorityCertificate.
  • Loading branch information
aws-sdk-cpp-automation committed Jun 17, 2024
1 parent 67f1aae commit 4aa2002
Show file tree
Hide file tree
Showing 75 changed files with 3,940 additions and 612 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.350
1.11.351
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ namespace ACMPCA
* policies for CRLs in Amazon S3</a>.</p> <p>Amazon Web Services Private
* CA assets that are stored in Amazon S3 can be protected with encryption. For
* more information, see <a
* href="https://docs.aws.amazon.com/privateca/latest/userguide/PcaCreateCa.html#crl-encryption">Encrypting
* href="https://docs.aws.amazon.com/privateca/latest/userguide/crl-planning.html#crl-encryption">Encrypting
* Your CRLs</a>.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/CreateCertificateAuthority">AWS
* API Reference</a></p>
Expand Down Expand Up @@ -631,19 +631,20 @@ 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>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
* 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
* 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 @@ -39,7 +39,7 @@ namespace Model
* bucket policy must give write permission to Amazon Web Services Private CA. </p>
* <p>Amazon Web Services Private CA assets that are stored in Amazon S3 can be
* protected with encryption. For more information, see <a
* href="https://docs.aws.amazon.com/privateca/latest/userguide/PcaCreateCa.html#crl-encryption">Encrypting
* href="https://docs.aws.amazon.com/privateca/latest/userguide/crl-planning.html#crl-encryption">Encrypting
* Your CRLs</a>.</p> <p>Your private CA uses the value in the
* <b>ExpirationInDays</b> parameter to calculate the <b>nextUpdate</b> field in
* the CRL. The CRL is refreshed prior to a certificate's expiration date or when a
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 @@ -9,6 +9,7 @@
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/codebuild/model/WebhookBuildType.h>
#include <aws/codebuild/model/ScopeConfiguration.h>
#include <aws/codebuild/model/WebhookFilter.h>
#include <utility>

Expand Down Expand Up @@ -113,6 +114,20 @@ namespace Model
inline void SetManualCreation(bool value) { m_manualCreationHasBeenSet = true; m_manualCreation = value; }
inline CreateWebhookRequest& WithManualCreation(bool value) { SetManualCreation(value); return *this;}
///@}

///@{
/**
* <p>The scope configuration for global or organization webhooks.</p>
* <p>Global or organization webhooks are only available for GitHub and Github
* Enterprise webhooks.</p>
*/
inline const ScopeConfiguration& GetScopeConfiguration() const{ return m_scopeConfiguration; }
inline bool ScopeConfigurationHasBeenSet() const { return m_scopeConfigurationHasBeenSet; }
inline void SetScopeConfiguration(const ScopeConfiguration& value) { m_scopeConfigurationHasBeenSet = true; m_scopeConfiguration = value; }
inline void SetScopeConfiguration(ScopeConfiguration&& value) { m_scopeConfigurationHasBeenSet = true; m_scopeConfiguration = std::move(value); }
inline CreateWebhookRequest& WithScopeConfiguration(const ScopeConfiguration& value) { SetScopeConfiguration(value); return *this;}
inline CreateWebhookRequest& WithScopeConfiguration(ScopeConfiguration&& value) { SetScopeConfiguration(std::move(value)); return *this;}
///@}
private:

Aws::String m_projectName;
Expand All @@ -129,6 +144,9 @@ namespace Model

bool m_manualCreation;
bool m_manualCreationHasBeenSet = false;

ScopeConfiguration m_scopeConfiguration;
bool m_scopeConfigurationHasBeenSet = false;
};

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

#pragma once
#include <aws/codebuild/CodeBuild_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/codebuild/model/WebhookScopeType.h>
#include <utility>

namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace CodeBuild
{
namespace Model
{

/**
* <p>Contains configuration information about the scope for a webhook.
* </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ScopeConfiguration">AWS
* API Reference</a></p>
*/
class ScopeConfiguration
{
public:
AWS_CODEBUILD_API ScopeConfiguration();
AWS_CODEBUILD_API ScopeConfiguration(Aws::Utils::Json::JsonView jsonValue);
AWS_CODEBUILD_API ScopeConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;


///@{
/**
* <p>The name of either the enterprise or organization that will send webhook
* events to CodeBuild, depending on if the webhook is a global or organization
* webhook respectively.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
inline ScopeConfiguration& WithName(const Aws::String& value) { SetName(value); return *this;}
inline ScopeConfiguration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
inline ScopeConfiguration& WithName(const char* value) { SetName(value); return *this;}
///@}

///@{
/**
* <p>The domain of the GitHub Enterprise organization. Note that this parameter is
* only required if your project's source type is GITHUB_ENTERPRISE</p>
*/
inline const Aws::String& GetDomain() const{ return m_domain; }
inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
inline ScopeConfiguration& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
inline ScopeConfiguration& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
inline ScopeConfiguration& WithDomain(const char* value) { SetDomain(value); return *this;}
///@}

///@{
/**
* <p>The type of scope for a GitHub webhook.</p>
*/
inline const WebhookScopeType& GetScope() const{ return m_scope; }
inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
inline void SetScope(const WebhookScopeType& value) { m_scopeHasBeenSet = true; m_scope = value; }
inline void SetScope(WebhookScopeType&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
inline ScopeConfiguration& WithScope(const WebhookScopeType& value) { SetScope(value); return *this;}
inline ScopeConfiguration& WithScope(WebhookScopeType&& value) { SetScope(std::move(value)); return *this;}
///@}
private:

Aws::String m_name;
bool m_nameHasBeenSet = false;

Aws::String m_domain;
bool m_domainHasBeenSet = false;

WebhookScopeType m_scope;
bool m_scopeHasBeenSet = false;
};

} // namespace Model
} // namespace CodeBuild
} // namespace Aws
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/codebuild/model/WebhookBuildType.h>
#include <aws/core/utils/DateTime.h>
#include <aws/codebuild/model/ScopeConfiguration.h>
#include <aws/codebuild/model/WebhookFilter.h>
#include <utility>

Expand Down Expand Up @@ -160,6 +161,20 @@ namespace Model
inline Webhook& WithLastModifiedSecret(const Aws::Utils::DateTime& value) { SetLastModifiedSecret(value); return *this;}
inline Webhook& WithLastModifiedSecret(Aws::Utils::DateTime&& value) { SetLastModifiedSecret(std::move(value)); return *this;}
///@}

///@{
/**
* <p>The scope configuration for global or organization webhooks.</p>
* <p>Global or organization webhooks are only available for GitHub and Github
* Enterprise webhooks.</p>
*/
inline const ScopeConfiguration& GetScopeConfiguration() const{ return m_scopeConfiguration; }
inline bool ScopeConfigurationHasBeenSet() const { return m_scopeConfigurationHasBeenSet; }
inline void SetScopeConfiguration(const ScopeConfiguration& value) { m_scopeConfigurationHasBeenSet = true; m_scopeConfiguration = value; }
inline void SetScopeConfiguration(ScopeConfiguration&& value) { m_scopeConfigurationHasBeenSet = true; m_scopeConfiguration = std::move(value); }
inline Webhook& WithScopeConfiguration(const ScopeConfiguration& value) { SetScopeConfiguration(value); return *this;}
inline Webhook& WithScopeConfiguration(ScopeConfiguration&& value) { SetScopeConfiguration(std::move(value)); return *this;}
///@}
private:

Aws::String m_url;
Expand All @@ -185,6 +200,9 @@ namespace Model

Aws::Utils::DateTime m_lastModifiedSecret;
bool m_lastModifiedSecretHasBeenSet = false;

ScopeConfiguration m_scopeConfiguration;
bool m_scopeConfigurationHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ namespace Model
* <p>RELEASE_NAME</p> <ul> <li> <p>A webhook triggers a build when the release
* name matches the regular expression <code>pattern</code>.</p> <p> Works
* with <code>RELEASED</code> and <code>PRERELEASED</code> events only. </p>
* </li> </ul> </li> <li> <p>WORKFLOW_NAME</p> <ul> <li> <p>A webhook
* </li> </ul> </li> <li> <p>REPOSITORY_NAME</p> <ul> <li> <p>A webhook
* triggers a build when the repository name matches the regular expression
* pattern.</p> <p> Works with GitHub global or organization webhooks only.
* </p> </li> </ul> </li> <li> <p>WORKFLOW_NAME</p> <ul> <li> <p>A webhook
* triggers a build when the workflow name matches the regular expression
* <code>pattern</code>.</p> <p> Works with <code>WORKFLOW_JOB_QUEUED</code>
* events only. </p> </li> </ul> </li> </ul>
Expand Down
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/codebuild/CodeBuild_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace Aws
{
namespace CodeBuild
{
namespace Model
{
enum class WebhookScopeType
{
NOT_SET,
GITHUB_ORGANIZATION,
GITHUB_GLOBAL
};

namespace WebhookScopeTypeMapper
{
AWS_CODEBUILD_API WebhookScopeType GetWebhookScopeTypeForName(const Aws::String& name);

AWS_CODEBUILD_API Aws::String GetNameForWebhookScopeType(WebhookScopeType value);
} // namespace WebhookScopeTypeMapper
} // namespace Model
} // namespace CodeBuild
} // namespace Aws
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ CreateWebhookRequest::CreateWebhookRequest() :
m_buildType(WebhookBuildType::NOT_SET),
m_buildTypeHasBeenSet(false),
m_manualCreation(false),
m_manualCreationHasBeenSet(false)
m_manualCreationHasBeenSet(false),
m_scopeConfigurationHasBeenSet(false)
{
}

Expand Down Expand Up @@ -66,6 +67,12 @@ Aws::String CreateWebhookRequest::SerializePayload() const

}

if(m_scopeConfigurationHasBeenSet)
{
payload.WithObject("scopeConfiguration", m_scopeConfiguration.Jsonize());

}

return payload.View().WriteReadable();
}

Expand Down
Loading

0 comments on commit 4aa2002

Please sign in to comment.