Skip to content

Commit

Permalink
This release adds sensitive trait to some required shapes.
Browse files Browse the repository at this point in the history
Documentation update for Security Hub
This release adds support for customer managed KMS keys in Amazon EventBridge Pipe
Documentation-only update that clarifies the ValidateE911Address action of the Amazon Chime SDK Voice APIs.
  • Loading branch information
aws-sdk-cpp-automation committed Sep 10, 2024
1 parent 5913125 commit 8ff2227
Show file tree
Hide file tree
Showing 21 changed files with 187 additions and 67 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.401
1.11.402
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ namespace Model

///@{
/**
* <p>The ID of the voice tone anlysis task.</p>
* <p>The ID of the voice tone analysis task.</p>
*/
inline const Aws::String& GetVoiceToneAnalysisTaskId() const{ return m_voiceToneAnalysisTaskId; }
inline bool VoiceToneAnalysisTaskIdHasBeenSet() const { return m_voiceToneAnalysisTaskIdHasBeenSet; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ namespace Model

///@{
/**
* <p>Denotes the configration as enabled or disabled.</p>
* <p>Denotes the configuration as enabled or disabled.</p>
*/
inline bool GetDisabled() const{ return m_disabled; }
inline bool DisabledHasBeenSet() const { return m_disabledHasBeenSet; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,10 @@ namespace Model

///@{
/**
* <p>The country in the address being validated.</p>
* <p>The country in the address being validated as two-letter country code in ISO
* 3166-1 alpha-2 format, such as <code>US</code>. For more information, see <a
* href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2</a>
* in Wikipedia.</p>
*/
inline const Aws::String& GetCountry() const{ return m_country; }
inline bool CountryHasBeenSet() const { return m_countryHasBeenSet; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,13 @@ namespace Model

///@{
/**
* <p>Number indicating the result of address validation. <code>0</code> means the
* address was perfect as-is and successfully validated. <code>1</code> means the
* address was corrected. <code>2</code> means the address sent was not close
* enough and was not validated.</p>
* <p>Number indicating the result of address validation.</p> <p>Each possible
* result is defined as follows:</p> <ul> <li> <p> <code>0</code> - Address
* validation succeeded.</p> </li> <li> <p> <code>1</code> - Address validation
* succeeded. The address was a close enough match and has been corrected as part
* of the address object.</p> </li> <li> <p> <code>2</code> - Address validation
* failed. You should re-submit the validation request with candidates from the
* <code>CandidateAddressList</code> result, if it's a close match.</p> </li> </ul>
*/
inline int GetValidationResult() const{ return m_validationResult; }
inline void SetValidationResult(int value) { m_validationResult = value; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,27 @@ namespace Model
inline CreatePipeRequest& WithLogConfiguration(const PipeLogConfigurationParameters& value) { SetLogConfiguration(value); return *this;}
inline CreatePipeRequest& WithLogConfiguration(PipeLogConfigurationParameters&& value) { SetLogConfiguration(std::move(value)); return *this;}
///@}

///@{
/**
* <p>The identifier of the KMS customer managed key for EventBridge to use, if you
* choose to use a customer managed key to encrypt pipe data. The identifier can be
* the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.</p>
* <p>If you do not specify a customer managed key identifier, EventBridge uses an
* Amazon Web Services owned key to encrypt pipe data.</p> <p>For more information,
* see <a
* href="https://docs.aws.amazon.com/kms/latest/developerguide/getting-started.html">Managing
* keys</a> in the <i>Key Management Service Developer Guide</i>. </p>
*/
inline const Aws::String& GetKmsKeyIdentifier() const{ return m_kmsKeyIdentifier; }
inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
inline void SetKmsKeyIdentifier(const Aws::String& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = value; }
inline void SetKmsKeyIdentifier(Aws::String&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::move(value); }
inline void SetKmsKeyIdentifier(const char* value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier.assign(value); }
inline CreatePipeRequest& WithKmsKeyIdentifier(const Aws::String& value) { SetKmsKeyIdentifier(value); return *this;}
inline CreatePipeRequest& WithKmsKeyIdentifier(Aws::String&& value) { SetKmsKeyIdentifier(std::move(value)); return *this;}
inline CreatePipeRequest& WithKmsKeyIdentifier(const char* value) { SetKmsKeyIdentifier(value); return *this;}
///@}
private:

Aws::String m_name;
Expand Down Expand Up @@ -241,6 +262,9 @@ namespace Model

PipeLogConfigurationParameters m_logConfiguration;
bool m_logConfigurationHasBeenSet = false;

Aws::String m_kmsKeyIdentifier;
bool m_kmsKeyIdentifierHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,23 @@ namespace Model
inline DescribePipeResult& WithLogConfiguration(PipeLogConfiguration&& value) { SetLogConfiguration(std::move(value)); return *this;}
///@}

///@{
/**
* <p>The identifier of the KMS customer managed key for EventBridge to use to
* encrypt pipe data, if one has been specified.</p> <p>For more information, see
* <a
* href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption.html">Data
* encryption in EventBridge</a> in the <i>Amazon EventBridge User Guide</i>.</p>
*/
inline const Aws::String& GetKmsKeyIdentifier() const{ return m_kmsKeyIdentifier; }
inline void SetKmsKeyIdentifier(const Aws::String& value) { m_kmsKeyIdentifier = value; }
inline void SetKmsKeyIdentifier(Aws::String&& value) { m_kmsKeyIdentifier = std::move(value); }
inline void SetKmsKeyIdentifier(const char* value) { m_kmsKeyIdentifier.assign(value); }
inline DescribePipeResult& WithKmsKeyIdentifier(const Aws::String& value) { SetKmsKeyIdentifier(value); return *this;}
inline DescribePipeResult& WithKmsKeyIdentifier(Aws::String&& value) { SetKmsKeyIdentifier(std::move(value)); return *this;}
inline DescribePipeResult& WithKmsKeyIdentifier(const char* value) { SetKmsKeyIdentifier(value); return *this;}
///@}

///@{

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

PipeLogConfiguration m_logConfiguration;

Aws::String m_kmsKeyIdentifier;

Aws::String m_requestId;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,8 @@ namespace Model

///@{
/**
* <p>The format EventBridge uses for the log records.</p> <ul> <li> <p>
* <code>json</code>: JSON </p> </li> <li> <p> <code>plain</code>: Plain text</p>
* </li> <li> <p> <code>w3c</code>: <a href="https://www.w3.org/TR/WD-logfile">W3C
* extended logging file format</a> </p> </li> </ul>
* <p>The format EventBridge uses for the log records.</p> <p>EventBridge currently
* only supports <code>json</code> formatting.</p>
*/
inline const S3OutputFormat& GetOutputFormat() const{ return m_outputFormat; }
inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,8 @@ namespace Model

///@{
/**
* <p>How EventBridge should format the log records.</p> <ul> <li> <p>
* <code>json</code>: JSON </p> </li> <li> <p> <code>plain</code>: Plain text</p>
* </li> <li> <p> <code>w3c</code>: <a href="https://www.w3.org/TR/WD-logfile">W3C
* extended logging file format</a> </p> </li> </ul>
* <p>How EventBridge should format the log records.</p> <p>EventBridge currently
* only supports <code>json</code> formatting.</p>
*/
inline const S3OutputFormat& GetOutputFormat() const{ return m_outputFormat; }
inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ namespace Model
/**
* <p>Specifies the security groups associated with the stream. These security
* groups must all be in the same VPC. You can specify as many as five security
* groups. If you do not specify a security group, the default security group for
* the VPC is used.</p>
* groups.</p>
*/
inline const Aws::Vector<Aws::String>& GetSecurityGroup() const{ return m_securityGroup; }
inline bool SecurityGroupHasBeenSet() const { return m_securityGroupHasBeenSet; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,30 @@ namespace Model
inline UpdatePipeRequest& WithLogConfiguration(const PipeLogConfigurationParameters& value) { SetLogConfiguration(value); return *this;}
inline UpdatePipeRequest& WithLogConfiguration(PipeLogConfigurationParameters&& value) { SetLogConfiguration(std::move(value)); return *this;}
///@}

///@{
/**
* <p>The identifier of the KMS customer managed key for EventBridge to use, if you
* choose to use a customer managed key to encrypt pipe data. The identifier can be
* the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.</p>
* <p>To update a pipe that is using the default Amazon Web Services owned key to
* use a customer managed key instead, or update a pipe that is using a customer
* managed key to use a different customer managed key, specify a customer managed
* key identifier.</p> <p>To update a pipe that is using a customer managed key to
* use the default Amazon Web Services owned key, specify an empty string.</p>
* <p>For more information, see <a
* href="https://docs.aws.amazon.com/kms/latest/developerguide/getting-started.html">Managing
* keys</a> in the <i>Key Management Service Developer Guide</i>. </p>
*/
inline const Aws::String& GetKmsKeyIdentifier() const{ return m_kmsKeyIdentifier; }
inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
inline void SetKmsKeyIdentifier(const Aws::String& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = value; }
inline void SetKmsKeyIdentifier(Aws::String&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::move(value); }
inline void SetKmsKeyIdentifier(const char* value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier.assign(value); }
inline UpdatePipeRequest& WithKmsKeyIdentifier(const Aws::String& value) { SetKmsKeyIdentifier(value); return *this;}
inline UpdatePipeRequest& WithKmsKeyIdentifier(Aws::String&& value) { SetKmsKeyIdentifier(std::move(value)); return *this;}
inline UpdatePipeRequest& WithKmsKeyIdentifier(const char* value) { SetKmsKeyIdentifier(value); return *this;}
///@}
private:

Aws::String m_name;
Expand Down Expand Up @@ -201,6 +225,9 @@ namespace Model

PipeLogConfigurationParameters m_logConfiguration;
bool m_logConfigurationHasBeenSet = false;

Aws::String m_kmsKeyIdentifier;
bool m_kmsKeyIdentifierHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ CreatePipeRequest::CreatePipeRequest() :
m_targetParametersHasBeenSet(false),
m_roleArnHasBeenSet(false),
m_tagsHasBeenSet(false),
m_logConfigurationHasBeenSet(false)
m_logConfigurationHasBeenSet(false),
m_kmsKeyIdentifierHasBeenSet(false)
{
}

Expand Down Expand Up @@ -103,6 +104,12 @@ Aws::String CreatePipeRequest::SerializePayload() const

}

if(m_kmsKeyIdentifierHasBeenSet)
{
payload.WithString("KmsKeyIdentifier", m_kmsKeyIdentifier);

}

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,12 @@ DescribePipeResult& DescribePipeResult::operator =(const Aws::AmazonWebServiceRe

}

if(jsonValue.ValueExists("KmsKeyIdentifier"))
{
m_kmsKeyIdentifier = jsonValue.GetString("KmsKeyIdentifier");

}


const auto& headers = result.GetHeaderValueCollection();
const auto& requestIdIter = headers.find("x-amzn-requestid");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ UpdatePipeRequest::UpdatePipeRequest() :
m_targetHasBeenSet(false),
m_targetParametersHasBeenSet(false),
m_roleArnHasBeenSet(false),
m_logConfigurationHasBeenSet(false)
m_logConfigurationHasBeenSet(false),
m_kmsKeyIdentifierHasBeenSet(false)
{
}

Expand Down Expand Up @@ -84,6 +85,12 @@ Aws::String UpdatePipeRequest::SerializePayload() const

}

if(m_kmsKeyIdentifierHasBeenSet)
{
payload.WithString("KmsKeyIdentifier", m_kmsKeyIdentifier);

}

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ namespace Model

///@{
/**
* <p>Provided if <code>CallerType</code> is <code>remoteIp</code>. Provides
* <p>Provided if <code>CallerType</code> is <code>remoteip</code>. Provides
* information about the remote IP address that the API call originated from.</p>
*/
inline const ActionRemoteIpDetails& GetRemoteIpDetails() const{ return m_remoteIpDetails; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@ namespace Model
{

/**
* <p>Contains finding details that are specific to control-based findings. Only
* returned for findings generated from controls.</p><p><h3>See Also:</h3> <a
* <p>This object typically provides details about a control finding, such as
* applicable standards and the status of control checks. While finding providers
* can add custom content in <code>Compliance</code> object fields, they are
* typically used to review details of Security Hub control findings.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/Compliance">AWS
* API Reference</a></p>
*/
Expand All @@ -45,16 +48,16 @@ namespace Model

///@{
/**
* <p>The result of a standards check.</p> <p>The valid values for
* <code>Status</code> are as follows.</p> <ul> <li> <ul> <li> <p>
* <code>PASSED</code> - Standards check passed for all evaluated resources.</p>
* </li> <li> <p> <code>WARNING</code> - Some information is missing or this check
* is not supported for your configuration.</p> </li> <li> <p> <code>FAILED</code>
* - Standards check failed for at least one evaluated resource.</p> </li> <li> <p>
* <code>NOT_AVAILABLE</code> - Check could not be performed due to a service
* outage, API error, or because the result of the Config evaluation was
* <code>NOT_APPLICABLE</code>. If the Config evaluation result was
* <code>NOT_APPLICABLE</code> for a Security Hub control, Security Hub
* <p>Typically summarizes the result of a control check.</p> <p>For Security Hub
* controls, valid values for <code>Status</code> are as follows.</p> <ul> <li>
* <ul> <li> <p> <code>PASSED</code> - Standards check passed for all evaluated
* resources.</p> </li> <li> <p> <code>WARNING</code> - Some information is missing
* or this check is not supported for your configuration.</p> </li> <li> <p>
* <code>FAILED</code> - Standards check failed for at least one evaluated
* resource.</p> </li> <li> <p> <code>NOT_AVAILABLE</code> - Check could not be
* performed due to a service outage, API error, or because the result of the
* Config evaluation was <code>NOT_APPLICABLE</code>. If the Config evaluation
* result was <code>NOT_APPLICABLE</code> for a Security Hub control, Security Hub
* automatically archives the finding after 3 days.</p> </li> </ul> </li> </ul>
*/
inline const ComplianceStatus& GetStatus() const{ return m_status; }
Expand All @@ -67,8 +70,8 @@ namespace Model

///@{
/**
* <p>For a control, the industry or regulatory framework requirements that are
* related to the control. The check for that control is aligned with these
* <p>Typically provides the industry or regulatory framework requirements that are
* related to a control. The check for that control is aligned with these
* requirements.</p> <p>Array Members: Maximum number of 32 items.</p>
*/
inline const Aws::Vector<Aws::String>& GetRelatedRequirements() const{ return m_relatedRequirements; }
Expand All @@ -84,11 +87,8 @@ namespace Model

///@{
/**
* <p>For findings generated from controls, a list of reasons behind the value of
* <code>Status</code>. For the list of status reason codes and their meanings, see
* <a
* href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards-results.html#securityhub-standards-results-asff">Standards-related
* information in the ASFF</a> in the <i>Security Hub User Guide</i>. </p>
* <p>Typically used to provide a list of reasons for the value of
* <code>Status</code>.</p>
*/
inline const Aws::Vector<StatusReason>& GetStatusReasons() const{ return m_statusReasons; }
inline bool StatusReasonsHasBeenSet() const { return m_statusReasonsHasBeenSet; }
Expand All @@ -102,9 +102,9 @@ namespace Model

///@{
/**
* <p> The unique identifier of a control across standards. Values for this field
* typically consist of an Amazon Web Servicesservice and a number, such as
* APIGateway.5. </p>
* <p> Typically provides the unique identifier of a control across standards. For
* Security Hub controls, this field consists of an Amazon Web Servicesservice and
* a unique number, such as <code>APIGateway.5</code>. </p>
*/
inline const Aws::String& GetSecurityControlId() const{ return m_securityControlId; }
inline bool SecurityControlIdHasBeenSet() const { return m_securityControlIdHasBeenSet; }
Expand All @@ -118,8 +118,8 @@ namespace Model

///@{
/**
* <p>The enabled security standards in which a security control is currently
* enabled. </p>
* <p>Typically provides an array of enabled security standards in which a security
* control is currently enabled. </p>
*/
inline const Aws::Vector<AssociatedStandard>& GetAssociatedStandards() const{ return m_associatedStandards; }
inline bool AssociatedStandardsHasBeenSet() const { return m_associatedStandardsHasBeenSet; }
Expand All @@ -133,7 +133,8 @@ namespace Model

///@{
/**
* <p> An object that includes security control parameter names and values. </p>
* <p> Typically an object that includes security control parameter names and
* values. </p>
*/
inline const Aws::Vector<SecurityControlParameter>& GetSecurityControlParameters() const{ return m_securityControlParameters; }
inline bool SecurityControlParametersHasBeenSet() const { return m_securityControlParametersHasBeenSet; }
Expand Down
4 changes: 2 additions & 2 deletions src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/
#pragma once

#define AWS_SDK_VERSION_STRING "1.11.401"
#define AWS_SDK_VERSION_STRING "1.11.402"
#define AWS_SDK_VERSION_MAJOR 1
#define AWS_SDK_VERSION_MINOR 11
#define AWS_SDK_VERSION_PATCH 401
#define AWS_SDK_VERSION_PATCH 402
Loading

0 comments on commit 8ff2227

Please sign in to comment.