-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This release adds an optional Duration parameter to StateManager Asso…
…ciations. This allows customers to specify how long an apply-only-on-cron association execution should run. Once the specified Duration is out all the ongoing cancellable commands or automations are cancelled. Update page size limits for GetJobRuns and GetTriggers APIs. CloudFormation IaC generator allows you to scan existing resources in your account and select resources to generate a template for a new or existing CloudFormation stack. This release enables unhealthy target draining intervals for Network Load Balancers.
- Loading branch information
1 parent
706ab12
commit c6311a1
Showing
119 changed files
with
13,078 additions
and
391 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.11.254 | ||
1.11.255 |
299 changes: 299 additions & 0 deletions
299
generated/src/aws-cpp-sdk-cloudformation/include/aws/cloudformation/CloudFormationClient.h
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
.../aws-cpp-sdk-cloudformation/include/aws/cloudformation/CloudFormationServiceClientModel.h
Large diffs are not rendered by default.
Oops, something went wrong.
250 changes: 250 additions & 0 deletions
250
...-cpp-sdk-cloudformation/include/aws/cloudformation/model/CreateGeneratedTemplateRequest.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,250 @@ | ||
/** | ||
* 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/cloudformation/CloudFormationRequest.h> | ||
#include <aws/core/utils/memory/stl/AWSVector.h> | ||
#include <aws/core/utils/memory/stl/AWSString.h> | ||
#include <aws/cloudformation/model/TemplateConfiguration.h> | ||
#include <aws/cloudformation/model/ResourceDefinition.h> | ||
#include <utility> | ||
|
||
namespace Aws | ||
{ | ||
namespace CloudFormation | ||
{ | ||
namespace Model | ||
{ | ||
|
||
/** | ||
*/ | ||
class CreateGeneratedTemplateRequest : public CloudFormationRequest | ||
{ | ||
public: | ||
AWS_CLOUDFORMATION_API CreateGeneratedTemplateRequest(); | ||
|
||
// Service request name is the Operation name which will send this request out, | ||
// each operation should has unique request name, so that we can get operation's name from this request. | ||
// Note: this is not true for response, multiple operations may have the same response name, | ||
// so we can not get operation's name from response. | ||
inline virtual const char* GetServiceRequestName() const override { return "CreateGeneratedTemplate"; } | ||
|
||
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override; | ||
|
||
protected: | ||
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; | ||
|
||
public: | ||
|
||
/** | ||
* <p>An optional list of resources to be included in the generated template.</p> | ||
* <p> If no resources are specified,the template will be created without any | ||
* resources. Resources can be added to the template using the | ||
* <code>UpdateGeneratedTemplate</code> API action.</p> | ||
*/ | ||
inline const Aws::Vector<ResourceDefinition>& GetResources() const{ return m_resources; } | ||
|
||
/** | ||
* <p>An optional list of resources to be included in the generated template.</p> | ||
* <p> If no resources are specified,the template will be created without any | ||
* resources. Resources can be added to the template using the | ||
* <code>UpdateGeneratedTemplate</code> API action.</p> | ||
*/ | ||
inline bool ResourcesHasBeenSet() const { return m_resourcesHasBeenSet; } | ||
|
||
/** | ||
* <p>An optional list of resources to be included in the generated template.</p> | ||
* <p> If no resources are specified,the template will be created without any | ||
* resources. Resources can be added to the template using the | ||
* <code>UpdateGeneratedTemplate</code> API action.</p> | ||
*/ | ||
inline void SetResources(const Aws::Vector<ResourceDefinition>& value) { m_resourcesHasBeenSet = true; m_resources = value; } | ||
|
||
/** | ||
* <p>An optional list of resources to be included in the generated template.</p> | ||
* <p> If no resources are specified,the template will be created without any | ||
* resources. Resources can be added to the template using the | ||
* <code>UpdateGeneratedTemplate</code> API action.</p> | ||
*/ | ||
inline void SetResources(Aws::Vector<ResourceDefinition>&& value) { m_resourcesHasBeenSet = true; m_resources = std::move(value); } | ||
|
||
/** | ||
* <p>An optional list of resources to be included in the generated template.</p> | ||
* <p> If no resources are specified,the template will be created without any | ||
* resources. Resources can be added to the template using the | ||
* <code>UpdateGeneratedTemplate</code> API action.</p> | ||
*/ | ||
inline CreateGeneratedTemplateRequest& WithResources(const Aws::Vector<ResourceDefinition>& value) { SetResources(value); return *this;} | ||
|
||
/** | ||
* <p>An optional list of resources to be included in the generated template.</p> | ||
* <p> If no resources are specified,the template will be created without any | ||
* resources. Resources can be added to the template using the | ||
* <code>UpdateGeneratedTemplate</code> API action.</p> | ||
*/ | ||
inline CreateGeneratedTemplateRequest& WithResources(Aws::Vector<ResourceDefinition>&& value) { SetResources(std::move(value)); return *this;} | ||
|
||
/** | ||
* <p>An optional list of resources to be included in the generated template.</p> | ||
* <p> If no resources are specified,the template will be created without any | ||
* resources. Resources can be added to the template using the | ||
* <code>UpdateGeneratedTemplate</code> API action.</p> | ||
*/ | ||
inline CreateGeneratedTemplateRequest& AddResources(const ResourceDefinition& value) { m_resourcesHasBeenSet = true; m_resources.push_back(value); return *this; } | ||
|
||
/** | ||
* <p>An optional list of resources to be included in the generated template.</p> | ||
* <p> If no resources are specified,the template will be created without any | ||
* resources. Resources can be added to the template using the | ||
* <code>UpdateGeneratedTemplate</code> API action.</p> | ||
*/ | ||
inline CreateGeneratedTemplateRequest& AddResources(ResourceDefinition&& value) { m_resourcesHasBeenSet = true; m_resources.push_back(std::move(value)); return *this; } | ||
|
||
|
||
/** | ||
* <p>The name assigned to the generated template.</p> | ||
*/ | ||
inline const Aws::String& GetGeneratedTemplateName() const{ return m_generatedTemplateName; } | ||
|
||
/** | ||
* <p>The name assigned to the generated template.</p> | ||
*/ | ||
inline bool GeneratedTemplateNameHasBeenSet() const { return m_generatedTemplateNameHasBeenSet; } | ||
|
||
/** | ||
* <p>The name assigned to the generated template.</p> | ||
*/ | ||
inline void SetGeneratedTemplateName(const Aws::String& value) { m_generatedTemplateNameHasBeenSet = true; m_generatedTemplateName = value; } | ||
|
||
/** | ||
* <p>The name assigned to the generated template.</p> | ||
*/ | ||
inline void SetGeneratedTemplateName(Aws::String&& value) { m_generatedTemplateNameHasBeenSet = true; m_generatedTemplateName = std::move(value); } | ||
|
||
/** | ||
* <p>The name assigned to the generated template.</p> | ||
*/ | ||
inline void SetGeneratedTemplateName(const char* value) { m_generatedTemplateNameHasBeenSet = true; m_generatedTemplateName.assign(value); } | ||
|
||
/** | ||
* <p>The name assigned to the generated template.</p> | ||
*/ | ||
inline CreateGeneratedTemplateRequest& WithGeneratedTemplateName(const Aws::String& value) { SetGeneratedTemplateName(value); return *this;} | ||
|
||
/** | ||
* <p>The name assigned to the generated template.</p> | ||
*/ | ||
inline CreateGeneratedTemplateRequest& WithGeneratedTemplateName(Aws::String&& value) { SetGeneratedTemplateName(std::move(value)); return *this;} | ||
|
||
/** | ||
* <p>The name assigned to the generated template.</p> | ||
*/ | ||
inline CreateGeneratedTemplateRequest& WithGeneratedTemplateName(const char* value) { SetGeneratedTemplateName(value); return *this;} | ||
|
||
|
||
/** | ||
* <p>An optional name or ARN of a stack to use as the base stack for the generated | ||
* template.</p> | ||
*/ | ||
inline const Aws::String& GetStackName() const{ return m_stackName; } | ||
|
||
/** | ||
* <p>An optional name or ARN of a stack to use as the base stack for the generated | ||
* template.</p> | ||
*/ | ||
inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; } | ||
|
||
/** | ||
* <p>An optional name or ARN of a stack to use as the base stack for the generated | ||
* template.</p> | ||
*/ | ||
inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; } | ||
|
||
/** | ||
* <p>An optional name or ARN of a stack to use as the base stack for the generated | ||
* template.</p> | ||
*/ | ||
inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); } | ||
|
||
/** | ||
* <p>An optional name or ARN of a stack to use as the base stack for the generated | ||
* template.</p> | ||
*/ | ||
inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); } | ||
|
||
/** | ||
* <p>An optional name or ARN of a stack to use as the base stack for the generated | ||
* template.</p> | ||
*/ | ||
inline CreateGeneratedTemplateRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;} | ||
|
||
/** | ||
* <p>An optional name or ARN of a stack to use as the base stack for the generated | ||
* template.</p> | ||
*/ | ||
inline CreateGeneratedTemplateRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;} | ||
|
||
/** | ||
* <p>An optional name or ARN of a stack to use as the base stack for the generated | ||
* template.</p> | ||
*/ | ||
inline CreateGeneratedTemplateRequest& WithStackName(const char* value) { SetStackName(value); return *this;} | ||
|
||
|
||
/** | ||
* <p>The configuration details of the generated template, including the | ||
* <code>DeletionPolicy</code> and <code>UpdateReplacePolicy</code>.</p> | ||
*/ | ||
inline const TemplateConfiguration& GetTemplateConfiguration() const{ return m_templateConfiguration; } | ||
|
||
/** | ||
* <p>The configuration details of the generated template, including the | ||
* <code>DeletionPolicy</code> and <code>UpdateReplacePolicy</code>.</p> | ||
*/ | ||
inline bool TemplateConfigurationHasBeenSet() const { return m_templateConfigurationHasBeenSet; } | ||
|
||
/** | ||
* <p>The configuration details of the generated template, including the | ||
* <code>DeletionPolicy</code> and <code>UpdateReplacePolicy</code>.</p> | ||
*/ | ||
inline void SetTemplateConfiguration(const TemplateConfiguration& value) { m_templateConfigurationHasBeenSet = true; m_templateConfiguration = value; } | ||
|
||
/** | ||
* <p>The configuration details of the generated template, including the | ||
* <code>DeletionPolicy</code> and <code>UpdateReplacePolicy</code>.</p> | ||
*/ | ||
inline void SetTemplateConfiguration(TemplateConfiguration&& value) { m_templateConfigurationHasBeenSet = true; m_templateConfiguration = std::move(value); } | ||
|
||
/** | ||
* <p>The configuration details of the generated template, including the | ||
* <code>DeletionPolicy</code> and <code>UpdateReplacePolicy</code>.</p> | ||
*/ | ||
inline CreateGeneratedTemplateRequest& WithTemplateConfiguration(const TemplateConfiguration& value) { SetTemplateConfiguration(value); return *this;} | ||
|
||
/** | ||
* <p>The configuration details of the generated template, including the | ||
* <code>DeletionPolicy</code> and <code>UpdateReplacePolicy</code>.</p> | ||
*/ | ||
inline CreateGeneratedTemplateRequest& WithTemplateConfiguration(TemplateConfiguration&& value) { SetTemplateConfiguration(std::move(value)); return *this;} | ||
|
||
private: | ||
|
||
Aws::Vector<ResourceDefinition> m_resources; | ||
bool m_resourcesHasBeenSet = false; | ||
|
||
Aws::String m_generatedTemplateName; | ||
bool m_generatedTemplateNameHasBeenSet = false; | ||
|
||
Aws::String m_stackName; | ||
bool m_stackNameHasBeenSet = false; | ||
|
||
TemplateConfiguration m_templateConfiguration; | ||
bool m_templateConfigurationHasBeenSet = false; | ||
}; | ||
|
||
} // namespace Model | ||
} // namespace CloudFormation | ||
} // namespace Aws |
96 changes: 96 additions & 0 deletions
96
...s-cpp-sdk-cloudformation/include/aws/cloudformation/model/CreateGeneratedTemplateResult.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
/** | ||
* 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/AWSString.h> | ||
#include <aws/cloudformation/model/ResponseMetadata.h> | ||
#include <utility> | ||
|
||
namespace Aws | ||
{ | ||
template<typename RESULT_TYPE> | ||
class AmazonWebServiceResult; | ||
|
||
namespace Utils | ||
{ | ||
namespace Xml | ||
{ | ||
class XmlDocument; | ||
} // namespace Xml | ||
} // namespace Utils | ||
namespace CloudFormation | ||
{ | ||
namespace Model | ||
{ | ||
class CreateGeneratedTemplateResult | ||
{ | ||
public: | ||
AWS_CLOUDFORMATION_API CreateGeneratedTemplateResult(); | ||
AWS_CLOUDFORMATION_API CreateGeneratedTemplateResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); | ||
AWS_CLOUDFORMATION_API CreateGeneratedTemplateResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); | ||
|
||
|
||
/** | ||
* <p>The ID of the generated template.</p> | ||
*/ | ||
inline const Aws::String& GetGeneratedTemplateId() const{ return m_generatedTemplateId; } | ||
|
||
/** | ||
* <p>The ID of the generated template.</p> | ||
*/ | ||
inline void SetGeneratedTemplateId(const Aws::String& value) { m_generatedTemplateId = value; } | ||
|
||
/** | ||
* <p>The ID of the generated template.</p> | ||
*/ | ||
inline void SetGeneratedTemplateId(Aws::String&& value) { m_generatedTemplateId = std::move(value); } | ||
|
||
/** | ||
* <p>The ID of the generated template.</p> | ||
*/ | ||
inline void SetGeneratedTemplateId(const char* value) { m_generatedTemplateId.assign(value); } | ||
|
||
/** | ||
* <p>The ID of the generated template.</p> | ||
*/ | ||
inline CreateGeneratedTemplateResult& WithGeneratedTemplateId(const Aws::String& value) { SetGeneratedTemplateId(value); return *this;} | ||
|
||
/** | ||
* <p>The ID of the generated template.</p> | ||
*/ | ||
inline CreateGeneratedTemplateResult& WithGeneratedTemplateId(Aws::String&& value) { SetGeneratedTemplateId(std::move(value)); return *this;} | ||
|
||
/** | ||
* <p>The ID of the generated template.</p> | ||
*/ | ||
inline CreateGeneratedTemplateResult& WithGeneratedTemplateId(const char* value) { SetGeneratedTemplateId(value); return *this;} | ||
|
||
|
||
|
||
inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } | ||
|
||
|
||
inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } | ||
|
||
|
||
inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } | ||
|
||
|
||
inline CreateGeneratedTemplateResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} | ||
|
||
|
||
inline CreateGeneratedTemplateResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} | ||
|
||
private: | ||
|
||
Aws::String m_generatedTemplateId; | ||
|
||
ResponseMetadata m_responseMetadata; | ||
}; | ||
|
||
} // namespace Model | ||
} // namespace CloudFormation | ||
} // namespace Aws |
Oops, something went wrong.