Skip to content

Commit

Permalink
This release adds support for securely sharing with AWS service princ…
Browse files Browse the repository at this point in the history
…ipals.

Amazon Managed Grafana now supports grafanaVersion update for existing workspaces with UpdateWorkspaceConfiguration API. DescribeWorkspaceConfiguration API additionally returns grafanaVersion. A new ListVersions API lists available versions or, if given a workspaceId, the versions it can upgrade to.
Added the URI path to the custom aggregation keys that you can specify for a rate-based rule.
Added support for SAP Hana High Availability discovery (primary and secondary nodes) and Backint agent installation with SSM for SAP.
SDK and documentation updates for GetTemplateSummary API (unrecognized resources)
Amazon EC2 documentation updates.
General Availability (GA) release of AWS Health Imaging, enabling customers to store, transform, and analyze medical imaging data at petabyte-scale.
  • Loading branch information
aws-sdk-cpp-automation committed Jul 19, 2023
1 parent d32ba7f commit f6830d6
Show file tree
Hide file tree
Showing 293 changed files with 27,741 additions and 2,967 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.120
1.11.121
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <aws/cloudformation/CloudFormationRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/cloudformation/model/CallAs.h>
#include <aws/cloudformation/model/TemplateSummaryConfig.h>
#include <utility>

namespace Aws
Expand Down Expand Up @@ -469,6 +470,37 @@ namespace Model
*/
inline GetTemplateSummaryRequest& WithCallAs(CallAs&& value) { SetCallAs(std::move(value)); return *this;}


/**
* <p>Specifies options for the <code>GetTemplateSummary</code> API action.</p>
*/
inline const TemplateSummaryConfig& GetTemplateSummaryConfig() const{ return m_templateSummaryConfig; }

/**
* <p>Specifies options for the <code>GetTemplateSummary</code> API action.</p>
*/
inline bool TemplateSummaryConfigHasBeenSet() const { return m_templateSummaryConfigHasBeenSet; }

/**
* <p>Specifies options for the <code>GetTemplateSummary</code> API action.</p>
*/
inline void SetTemplateSummaryConfig(const TemplateSummaryConfig& value) { m_templateSummaryConfigHasBeenSet = true; m_templateSummaryConfig = value; }

/**
* <p>Specifies options for the <code>GetTemplateSummary</code> API action.</p>
*/
inline void SetTemplateSummaryConfig(TemplateSummaryConfig&& value) { m_templateSummaryConfigHasBeenSet = true; m_templateSummaryConfig = std::move(value); }

/**
* <p>Specifies options for the <code>GetTemplateSummary</code> API action.</p>
*/
inline GetTemplateSummaryRequest& WithTemplateSummaryConfig(const TemplateSummaryConfig& value) { SetTemplateSummaryConfig(value); return *this;}

/**
* <p>Specifies options for the <code>GetTemplateSummary</code> API action.</p>
*/
inline GetTemplateSummaryRequest& WithTemplateSummaryConfig(TemplateSummaryConfig&& value) { SetTemplateSummaryConfig(std::move(value)); return *this;}

private:

Aws::String m_templateBody;
Expand All @@ -485,6 +517,9 @@ namespace Model

CallAs m_callAs;
bool m_callAsHasBeenSet = false;

TemplateSummaryConfig m_templateSummaryConfig;
bool m_templateSummaryConfigHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <aws/cloudformation/CloudFormation_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/cloudformation/model/Warnings.h>
#include <aws/cloudformation/model/ResponseMetadata.h>
#include <aws/cloudformation/model/ParameterDeclaration.h>
#include <aws/cloudformation/model/Capability.h>
Expand Down Expand Up @@ -498,6 +499,32 @@ namespace Model
inline GetTemplateSummaryResult& AddResourceIdentifierSummaries(ResourceIdentifierSummary&& value) { m_resourceIdentifierSummaries.push_back(std::move(value)); return *this; }


/**
* <p>An object containing any warnings returned.</p>
*/
inline const Warnings& GetWarnings() const{ return m_warnings; }

/**
* <p>An object containing any warnings returned.</p>
*/
inline void SetWarnings(const Warnings& value) { m_warnings = value; }

/**
* <p>An object containing any warnings returned.</p>
*/
inline void SetWarnings(Warnings&& value) { m_warnings = std::move(value); }

/**
* <p>An object containing any warnings returned.</p>
*/
inline GetTemplateSummaryResult& WithWarnings(const Warnings& value) { SetWarnings(value); return *this;}

/**
* <p>An object containing any warnings returned.</p>
*/
inline GetTemplateSummaryResult& WithWarnings(Warnings&& value) { SetWarnings(std::move(value)); return *this;}



inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }

Expand Down Expand Up @@ -533,6 +560,8 @@ namespace Model

Aws::Vector<ResourceIdentifierSummary> m_resourceIdentifierSummaries;

Warnings m_warnings;

ResponseMetadata m_responseMetadata;
};

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

#pragma once
#include <aws/cloudformation/CloudFormation_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSStreamFwd.h>

namespace Aws
{
namespace Utils
{
namespace Xml
{
class XmlNode;
} // namespace Xml
} // namespace Utils
namespace CloudFormation
{
namespace Model
{

/**
* <p>Options for the <code>GetTemplateSummary</code> API action.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/TemplateSummaryConfig">AWS
* API Reference</a></p>
*/
class TemplateSummaryConfig
{
public:
AWS_CLOUDFORMATION_API TemplateSummaryConfig();
AWS_CLOUDFORMATION_API TemplateSummaryConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
AWS_CLOUDFORMATION_API TemplateSummaryConfig& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);

AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;


/**
* <p>If set to <code>True</code>, any unrecognized resource types generate
* warnings and not an error. Any unrecognized resource types are returned in the
* <code>Warnings</code> output parameter.</p>
*/
inline bool GetTreatUnrecognizedResourceTypesAsWarnings() const{ return m_treatUnrecognizedResourceTypesAsWarnings; }

/**
* <p>If set to <code>True</code>, any unrecognized resource types generate
* warnings and not an error. Any unrecognized resource types are returned in the
* <code>Warnings</code> output parameter.</p>
*/
inline bool TreatUnrecognizedResourceTypesAsWarningsHasBeenSet() const { return m_treatUnrecognizedResourceTypesAsWarningsHasBeenSet; }

/**
* <p>If set to <code>True</code>, any unrecognized resource types generate
* warnings and not an error. Any unrecognized resource types are returned in the
* <code>Warnings</code> output parameter.</p>
*/
inline void SetTreatUnrecognizedResourceTypesAsWarnings(bool value) { m_treatUnrecognizedResourceTypesAsWarningsHasBeenSet = true; m_treatUnrecognizedResourceTypesAsWarnings = value; }

/**
* <p>If set to <code>True</code>, any unrecognized resource types generate
* warnings and not an error. Any unrecognized resource types are returned in the
* <code>Warnings</code> output parameter.</p>
*/
inline TemplateSummaryConfig& WithTreatUnrecognizedResourceTypesAsWarnings(bool value) { SetTreatUnrecognizedResourceTypesAsWarnings(value); return *this;}

private:

bool m_treatUnrecognizedResourceTypesAsWarnings;
bool m_treatUnrecognizedResourceTypesAsWarningsHasBeenSet = false;
};

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

#pragma once
#include <aws/cloudformation/CloudFormation_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>

namespace Aws
{
namespace Utils
{
namespace Xml
{
class XmlNode;
} // namespace Xml
} // namespace Utils
namespace CloudFormation
{
namespace Model
{

/**
* <p>Contains any warnings returned by the <code>GetTemplateSummary</code> API
* action.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Warnings">AWS
* API Reference</a></p>
*/
class Warnings
{
public:
AWS_CLOUDFORMATION_API Warnings();
AWS_CLOUDFORMATION_API Warnings(const Aws::Utils::Xml::XmlNode& xmlNode);
AWS_CLOUDFORMATION_API Warnings& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);

AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;


/**
* <p>A list of all of the unrecognized resource types. This is only returned if
* the <code>TemplateSummaryConfig</code> parameter has the
* <code>TreatUnrecognizedResourceTypesAsWarning</code> configuration set to
* <code>True</code>.</p>
*/
inline const Aws::Vector<Aws::String>& GetUnrecognizedResourceTypes() const{ return m_unrecognizedResourceTypes; }

/**
* <p>A list of all of the unrecognized resource types. This is only returned if
* the <code>TemplateSummaryConfig</code> parameter has the
* <code>TreatUnrecognizedResourceTypesAsWarning</code> configuration set to
* <code>True</code>.</p>
*/
inline bool UnrecognizedResourceTypesHasBeenSet() const { return m_unrecognizedResourceTypesHasBeenSet; }

/**
* <p>A list of all of the unrecognized resource types. This is only returned if
* the <code>TemplateSummaryConfig</code> parameter has the
* <code>TreatUnrecognizedResourceTypesAsWarning</code> configuration set to
* <code>True</code>.</p>
*/
inline void SetUnrecognizedResourceTypes(const Aws::Vector<Aws::String>& value) { m_unrecognizedResourceTypesHasBeenSet = true; m_unrecognizedResourceTypes = value; }

/**
* <p>A list of all of the unrecognized resource types. This is only returned if
* the <code>TemplateSummaryConfig</code> parameter has the
* <code>TreatUnrecognizedResourceTypesAsWarning</code> configuration set to
* <code>True</code>.</p>
*/
inline void SetUnrecognizedResourceTypes(Aws::Vector<Aws::String>&& value) { m_unrecognizedResourceTypesHasBeenSet = true; m_unrecognizedResourceTypes = std::move(value); }

/**
* <p>A list of all of the unrecognized resource types. This is only returned if
* the <code>TemplateSummaryConfig</code> parameter has the
* <code>TreatUnrecognizedResourceTypesAsWarning</code> configuration set to
* <code>True</code>.</p>
*/
inline Warnings& WithUnrecognizedResourceTypes(const Aws::Vector<Aws::String>& value) { SetUnrecognizedResourceTypes(value); return *this;}

/**
* <p>A list of all of the unrecognized resource types. This is only returned if
* the <code>TemplateSummaryConfig</code> parameter has the
* <code>TreatUnrecognizedResourceTypesAsWarning</code> configuration set to
* <code>True</code>.</p>
*/
inline Warnings& WithUnrecognizedResourceTypes(Aws::Vector<Aws::String>&& value) { SetUnrecognizedResourceTypes(std::move(value)); return *this;}

/**
* <p>A list of all of the unrecognized resource types. This is only returned if
* the <code>TemplateSummaryConfig</code> parameter has the
* <code>TreatUnrecognizedResourceTypesAsWarning</code> configuration set to
* <code>True</code>.</p>
*/
inline Warnings& AddUnrecognizedResourceTypes(const Aws::String& value) { m_unrecognizedResourceTypesHasBeenSet = true; m_unrecognizedResourceTypes.push_back(value); return *this; }

/**
* <p>A list of all of the unrecognized resource types. This is only returned if
* the <code>TemplateSummaryConfig</code> parameter has the
* <code>TreatUnrecognizedResourceTypesAsWarning</code> configuration set to
* <code>True</code>.</p>
*/
inline Warnings& AddUnrecognizedResourceTypes(Aws::String&& value) { m_unrecognizedResourceTypesHasBeenSet = true; m_unrecognizedResourceTypes.push_back(std::move(value)); return *this; }

/**
* <p>A list of all of the unrecognized resource types. This is only returned if
* the <code>TemplateSummaryConfig</code> parameter has the
* <code>TreatUnrecognizedResourceTypesAsWarning</code> configuration set to
* <code>True</code>.</p>
*/
inline Warnings& AddUnrecognizedResourceTypes(const char* value) { m_unrecognizedResourceTypesHasBeenSet = true; m_unrecognizedResourceTypes.push_back(value); return *this; }

private:

Aws::Vector<Aws::String> m_unrecognizedResourceTypes;
bool m_unrecognizedResourceTypesHasBeenSet = false;
};

} // namespace Model
} // namespace CloudFormation
} // namespace Aws
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ GetTemplateSummaryRequest::GetTemplateSummaryRequest() :
m_stackNameHasBeenSet(false),
m_stackSetNameHasBeenSet(false),
m_callAs(CallAs::NOT_SET),
m_callAsHasBeenSet(false)
m_callAsHasBeenSet(false),
m_templateSummaryConfigHasBeenSet(false)
{
}

Expand Down Expand Up @@ -49,6 +50,11 @@ Aws::String GetTemplateSummaryRequest::SerializePayload() const
ss << "CallAs=" << CallAsMapper::GetNameForCallAs(m_callAs) << "&";
}

if(m_templateSummaryConfigHasBeenSet)
{
m_templateSummaryConfig.OutputToStream(ss, "TemplateSummaryConfig");
}

ss << "Version=2010-05-15";
return ss.str();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ GetTemplateSummaryResult& GetTemplateSummaryResult::operator =(const Aws::Amazon
}

}
XmlNode warningsNode = resultNode.FirstChild("Warnings");
if(!warningsNode.IsNull())
{
m_warnings = warningsNode;
}
}

if (!rootNode.IsNull()) {
Expand Down
Loading

0 comments on commit f6830d6

Please sign in to comment.