diff --git a/VERSION b/VERSION index 373a9d971e7..109272970ea 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.322 \ No newline at end of file +1.11.323 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/CreateTransformerRequest.h b/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/CreateTransformerRequest.h index b0e2d294cc2..f1952dd3b9b 100644 --- a/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/CreateTransformerRequest.h +++ b/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/CreateTransformerRequest.h @@ -118,50 +118,50 @@ namespace Model /** - *

Specifies the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Specifies the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline const Aws::String& GetMappingTemplate() const{ return m_mappingTemplate; } /** - *

Specifies the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Specifies the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline bool MappingTemplateHasBeenSet() const { return m_mappingTemplateHasBeenSet; } /** - *

Specifies the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Specifies the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline void SetMappingTemplate(const Aws::String& value) { m_mappingTemplateHasBeenSet = true; m_mappingTemplate = value; } /** - *

Specifies the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Specifies the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline void SetMappingTemplate(Aws::String&& value) { m_mappingTemplateHasBeenSet = true; m_mappingTemplate = std::move(value); } /** - *

Specifies the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Specifies the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline void SetMappingTemplate(const char* value) { m_mappingTemplateHasBeenSet = true; m_mappingTemplate.assign(value); } /** - *

Specifies the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Specifies the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline CreateTransformerRequest& WithMappingTemplate(const Aws::String& value) { SetMappingTemplate(value); return *this;} /** - *

Specifies the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Specifies the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline CreateTransformerRequest& WithMappingTemplate(Aws::String&& value) { SetMappingTemplate(std::move(value)); return *this;} /** - *

Specifies the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Specifies the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline CreateTransformerRequest& WithMappingTemplate(const char* value) { SetMappingTemplate(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/CreateTransformerResult.h b/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/CreateTransformerResult.h index 8e7eefe1ae9..e92051028f1 100644 --- a/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/CreateTransformerResult.h +++ b/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/CreateTransformerResult.h @@ -183,44 +183,44 @@ namespace Model /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline const Aws::String& GetMappingTemplate() const{ return m_mappingTemplate; } /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline void SetMappingTemplate(const Aws::String& value) { m_mappingTemplate = value; } /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline void SetMappingTemplate(Aws::String&& value) { m_mappingTemplate = std::move(value); } /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline void SetMappingTemplate(const char* value) { m_mappingTemplate.assign(value); } /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline CreateTransformerResult& WithMappingTemplate(const Aws::String& value) { SetMappingTemplate(value); return *this;} /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline CreateTransformerResult& WithMappingTemplate(Aws::String&& value) { SetMappingTemplate(std::move(value)); return *this;} /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline CreateTransformerResult& WithMappingTemplate(const char* value) { SetMappingTemplate(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/GetTransformerResult.h b/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/GetTransformerResult.h index 9b8d87c93e7..6a0b628775f 100644 --- a/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/GetTransformerResult.h +++ b/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/GetTransformerResult.h @@ -183,44 +183,44 @@ namespace Model /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline const Aws::String& GetMappingTemplate() const{ return m_mappingTemplate; } /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline void SetMappingTemplate(const Aws::String& value) { m_mappingTemplate = value; } /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline void SetMappingTemplate(Aws::String&& value) { m_mappingTemplate = std::move(value); } /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline void SetMappingTemplate(const char* value) { m_mappingTemplate.assign(value); } /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline GetTransformerResult& WithMappingTemplate(const Aws::String& value) { SetMappingTemplate(value); return *this;} /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline GetTransformerResult& WithMappingTemplate(Aws::String&& value) { SetMappingTemplate(std::move(value)); return *this;} /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline GetTransformerResult& WithMappingTemplate(const char* value) { SetMappingTemplate(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/TestMappingRequest.h b/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/TestMappingRequest.h index 03dca079c11..2d3bd23bc4f 100644 --- a/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/TestMappingRequest.h +++ b/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/TestMappingRequest.h @@ -85,50 +85,50 @@ namespace Model /** - *

Specifies the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Specifies the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline const Aws::String& GetMappingTemplate() const{ return m_mappingTemplate; } /** - *

Specifies the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Specifies the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline bool MappingTemplateHasBeenSet() const { return m_mappingTemplateHasBeenSet; } /** - *

Specifies the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Specifies the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline void SetMappingTemplate(const Aws::String& value) { m_mappingTemplateHasBeenSet = true; m_mappingTemplate = value; } /** - *

Specifies the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Specifies the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline void SetMappingTemplate(Aws::String&& value) { m_mappingTemplateHasBeenSet = true; m_mappingTemplate = std::move(value); } /** - *

Specifies the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Specifies the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline void SetMappingTemplate(const char* value) { m_mappingTemplateHasBeenSet = true; m_mappingTemplate.assign(value); } /** - *

Specifies the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Specifies the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline TestMappingRequest& WithMappingTemplate(const Aws::String& value) { SetMappingTemplate(value); return *this;} /** - *

Specifies the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Specifies the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline TestMappingRequest& WithMappingTemplate(Aws::String&& value) { SetMappingTemplate(std::move(value)); return *this;} /** - *

Specifies the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Specifies the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline TestMappingRequest& WithMappingTemplate(const char* value) { SetMappingTemplate(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/TransformerSummary.h b/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/TransformerSummary.h index cdeae508929..4ed8c5af1c9 100644 --- a/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/TransformerSummary.h +++ b/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/TransformerSummary.h @@ -163,50 +163,50 @@ namespace Model /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline const Aws::String& GetMappingTemplate() const{ return m_mappingTemplate; } /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline bool MappingTemplateHasBeenSet() const { return m_mappingTemplateHasBeenSet; } /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline void SetMappingTemplate(const Aws::String& value) { m_mappingTemplateHasBeenSet = true; m_mappingTemplate = value; } /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline void SetMappingTemplate(Aws::String&& value) { m_mappingTemplateHasBeenSet = true; m_mappingTemplate = std::move(value); } /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline void SetMappingTemplate(const char* value) { m_mappingTemplateHasBeenSet = true; m_mappingTemplate.assign(value); } /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline TransformerSummary& WithMappingTemplate(const Aws::String& value) { SetMappingTemplate(value); return *this;} /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline TransformerSummary& WithMappingTemplate(Aws::String&& value) { SetMappingTemplate(std::move(value)); return *this;} /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline TransformerSummary& WithMappingTemplate(const char* value) { SetMappingTemplate(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/UpdateTransformerRequest.h b/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/UpdateTransformerRequest.h index d4208d6c901..e87bafc8776 100644 --- a/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/UpdateTransformerRequest.h +++ b/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/UpdateTransformerRequest.h @@ -157,50 +157,50 @@ namespace Model /** - *

Specifies the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Specifies the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline const Aws::String& GetMappingTemplate() const{ return m_mappingTemplate; } /** - *

Specifies the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Specifies the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline bool MappingTemplateHasBeenSet() const { return m_mappingTemplateHasBeenSet; } /** - *

Specifies the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Specifies the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline void SetMappingTemplate(const Aws::String& value) { m_mappingTemplateHasBeenSet = true; m_mappingTemplate = value; } /** - *

Specifies the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Specifies the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline void SetMappingTemplate(Aws::String&& value) { m_mappingTemplateHasBeenSet = true; m_mappingTemplate = std::move(value); } /** - *

Specifies the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Specifies the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline void SetMappingTemplate(const char* value) { m_mappingTemplateHasBeenSet = true; m_mappingTemplate.assign(value); } /** - *

Specifies the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Specifies the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline UpdateTransformerRequest& WithMappingTemplate(const Aws::String& value) { SetMappingTemplate(value); return *this;} /** - *

Specifies the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Specifies the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline UpdateTransformerRequest& WithMappingTemplate(Aws::String&& value) { SetMappingTemplate(std::move(value)); return *this;} /** - *

Specifies the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Specifies the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline UpdateTransformerRequest& WithMappingTemplate(const char* value) { SetMappingTemplate(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/UpdateTransformerResult.h b/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/UpdateTransformerResult.h index e73c98e4058..47459213a8b 100644 --- a/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/UpdateTransformerResult.h +++ b/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/UpdateTransformerResult.h @@ -183,44 +183,44 @@ namespace Model /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline const Aws::String& GetMappingTemplate() const{ return m_mappingTemplate; } /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline void SetMappingTemplate(const Aws::String& value) { m_mappingTemplate = value; } /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline void SetMappingTemplate(Aws::String&& value) { m_mappingTemplate = std::move(value); } /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline void SetMappingTemplate(const char* value) { m_mappingTemplate.assign(value); } /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline UpdateTransformerResult& WithMappingTemplate(const Aws::String& value) { SetMappingTemplate(value); return *this;} /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline UpdateTransformerResult& WithMappingTemplate(Aws::String&& value) { SetMappingTemplate(std::move(value)); return *this;} /** - *

Returns the name of the mapping template for the transformer. This template - * is used to convert the input document into the correct set of objects.

+ *

Returns the mapping template for the transformer. This template is used to + * map the parsed EDI file using JSONata or XSLT.

*/ inline UpdateTransformerResult& WithMappingTemplate(const char* value) { SetMappingTemplate(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/BudgetsClient.h b/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/BudgetsClient.h index 971b295621c..1c53265cb42 100644 --- a/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/BudgetsClient.h +++ b/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/BudgetsClient.h @@ -606,6 +606,84 @@ namespace Budgets return SubmitAsync(&BudgetsClient::ExecuteBudgetAction, request, handler, context); } + /** + *

Lists tags associated with a budget or budget action resource.

See + * Also:

AWS + * API Reference

+ */ + virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest& request) const; + + /** + * A Callable wrapper for ListTagsForResource that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT& request) const + { + return SubmitCallable(&BudgetsClient::ListTagsForResource, request); + } + + /** + * An Async wrapper for ListTagsForResource that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListTagsForResourceAsync(const ListTagsForResourceRequestT& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BudgetsClient::ListTagsForResource, request, handler, context); + } + + /** + *

Creates tags for a budget or budget action resource.

See Also:

+ * AWS + * API Reference

+ */ + virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest& request) const; + + /** + * A Callable wrapper for TagResource that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT& request) const + { + return SubmitCallable(&BudgetsClient::TagResource, request); + } + + /** + * An Async wrapper for TagResource that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void TagResourceAsync(const TagResourceRequestT& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BudgetsClient::TagResource, request, handler, context); + } + + /** + *

Deletes tags associated with a budget or budget action + * resource.

See Also:

AWS + * API Reference

+ */ + virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest& request) const; + + /** + * A Callable wrapper for UntagResource that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT& request) const + { + return SubmitCallable(&BudgetsClient::UntagResource, request); + } + + /** + * An Async wrapper for UntagResource that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UntagResourceAsync(const UntagResourceRequestT& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BudgetsClient::UntagResource, request, handler, context); + } + /** *

Updates a budget. You can change every part of a budget except for the * budgetName and the calculatedSpend. When you modify a diff --git a/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/BudgetsErrors.h b/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/BudgetsErrors.h index ed4073d7867..a8c6da1e36d 100644 --- a/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/BudgetsErrors.h +++ b/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/BudgetsErrors.h @@ -54,7 +54,8 @@ enum class BudgetsErrors INVALID_NEXT_TOKEN, INVALID_PARAMETER, NOT_FOUND, - RESOURCE_LOCKED + RESOURCE_LOCKED, + SERVICE_QUOTA_EXCEEDED }; class AWS_BUDGETS_API BudgetsError : public Aws::Client::AWSError diff --git a/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/BudgetsServiceClientModel.h b/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/BudgetsServiceClientModel.h index e1290dc1ae4..4f311907f25 100644 --- a/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/BudgetsServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/BudgetsServiceClientModel.h @@ -37,6 +37,9 @@ #include #include #include +#include +#include +#include #include #include #include @@ -100,6 +103,9 @@ namespace Aws class DescribeNotificationsForBudgetRequest; class DescribeSubscribersForNotificationRequest; class ExecuteBudgetActionRequest; + class ListTagsForResourceRequest; + class TagResourceRequest; + class UntagResourceRequest; class UpdateBudgetRequest; class UpdateBudgetActionRequest; class UpdateNotificationRequest; @@ -126,6 +132,9 @@ namespace Aws typedef Aws::Utils::Outcome DescribeNotificationsForBudgetOutcome; typedef Aws::Utils::Outcome DescribeSubscribersForNotificationOutcome; typedef Aws::Utils::Outcome ExecuteBudgetActionOutcome; + typedef Aws::Utils::Outcome ListTagsForResourceOutcome; + typedef Aws::Utils::Outcome TagResourceOutcome; + typedef Aws::Utils::Outcome UntagResourceOutcome; typedef Aws::Utils::Outcome UpdateBudgetOutcome; typedef Aws::Utils::Outcome UpdateBudgetActionOutcome; typedef Aws::Utils::Outcome UpdateNotificationOutcome; @@ -152,6 +161,9 @@ namespace Aws typedef std::future DescribeNotificationsForBudgetOutcomeCallable; typedef std::future DescribeSubscribersForNotificationOutcomeCallable; typedef std::future ExecuteBudgetActionOutcomeCallable; + typedef std::future ListTagsForResourceOutcomeCallable; + typedef std::future TagResourceOutcomeCallable; + typedef std::future UntagResourceOutcomeCallable; typedef std::future UpdateBudgetOutcomeCallable; typedef std::future UpdateBudgetActionOutcomeCallable; typedef std::future UpdateNotificationOutcomeCallable; @@ -181,6 +193,9 @@ namespace Aws typedef std::function&) > DescribeNotificationsForBudgetResponseReceivedHandler; typedef std::function&) > DescribeSubscribersForNotificationResponseReceivedHandler; typedef std::function&) > ExecuteBudgetActionResponseReceivedHandler; + typedef std::function&) > ListTagsForResourceResponseReceivedHandler; + typedef std::function&) > TagResourceResponseReceivedHandler; + typedef std::function&) > UntagResourceResponseReceivedHandler; typedef std::function&) > UpdateBudgetResponseReceivedHandler; typedef std::function&) > UpdateBudgetActionResponseReceivedHandler; typedef std::function&) > UpdateNotificationResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/Budget.h b/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/Budget.h index e1bb33e70ce..e75fc4f7a58 100644 --- a/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/Budget.h +++ b/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/Budget.h @@ -545,8 +545,8 @@ namespace Model /** *

The cost filters, such as Region, Service, - * member account, Tag, or Cost Category, - * that are applied to a budget.

Amazon Web Services Budgets supports the + * LinkedAccount, Tag, or CostCategory, that + * are applied to a budget.

Amazon Web Services Budgets supports the * following services as a Service filter for RI budgets:

    *
  • Amazon EC2

  • Amazon Redshift

  • Amazon * Relational Database Service

  • Amazon ElastiCache

  • @@ -556,8 +556,8 @@ namespace Model /** *

    The cost filters, such as Region, Service, - * member account, Tag, or Cost Category, - * that are applied to a budget.

    Amazon Web Services Budgets supports the + * LinkedAccount, Tag, or CostCategory, that + * are applied to a budget.

    Amazon Web Services Budgets supports the * following services as a Service filter for RI budgets:

      *
    • Amazon EC2

    • Amazon Redshift

    • Amazon * Relational Database Service

    • Amazon ElastiCache

    • @@ -567,8 +567,8 @@ namespace Model /** *

      The cost filters, such as Region, Service, - * member account, Tag, or Cost Category, - * that are applied to a budget.

      Amazon Web Services Budgets supports the + * LinkedAccount, Tag, or CostCategory, that + * are applied to a budget.

      Amazon Web Services Budgets supports the * following services as a Service filter for RI budgets:

        *
      • Amazon EC2

      • Amazon Redshift

      • Amazon * Relational Database Service

      • Amazon ElastiCache

      • @@ -578,8 +578,8 @@ namespace Model /** *

        The cost filters, such as Region, Service, - * member account, Tag, or Cost Category, - * that are applied to a budget.

        Amazon Web Services Budgets supports the + * LinkedAccount, Tag, or CostCategory, that + * are applied to a budget.

        Amazon Web Services Budgets supports the * following services as a Service filter for RI budgets:

          *
        • Amazon EC2

        • Amazon Redshift

        • Amazon * Relational Database Service

        • Amazon ElastiCache

        • @@ -589,8 +589,8 @@ namespace Model /** *

          The cost filters, such as Region, Service, - * member account, Tag, or Cost Category, - * that are applied to a budget.

          Amazon Web Services Budgets supports the + * LinkedAccount, Tag, or CostCategory, that + * are applied to a budget.

          Amazon Web Services Budgets supports the * following services as a Service filter for RI budgets:

            *
          • Amazon EC2

          • Amazon Redshift

          • Amazon * Relational Database Service

          • Amazon ElastiCache

          • @@ -600,8 +600,8 @@ namespace Model /** *

            The cost filters, such as Region, Service, - * member account, Tag, or Cost Category, - * that are applied to a budget.

            Amazon Web Services Budgets supports the + * LinkedAccount, Tag, or CostCategory, that + * are applied to a budget.

            Amazon Web Services Budgets supports the * following services as a Service filter for RI budgets:

              *
            • Amazon EC2

            • Amazon Redshift

            • Amazon * Relational Database Service

            • Amazon ElastiCache

            • @@ -611,8 +611,8 @@ namespace Model /** *

              The cost filters, such as Region, Service, - * member account, Tag, or Cost Category, - * that are applied to a budget.

              Amazon Web Services Budgets supports the + * LinkedAccount, Tag, or CostCategory, that + * are applied to a budget.

              Amazon Web Services Budgets supports the * following services as a Service filter for RI budgets:

                *
              • Amazon EC2

              • Amazon Redshift

              • Amazon * Relational Database Service

              • Amazon ElastiCache

              • @@ -622,8 +622,8 @@ namespace Model /** *

                The cost filters, such as Region, Service, - * member account, Tag, or Cost Category, - * that are applied to a budget.

                Amazon Web Services Budgets supports the + * LinkedAccount, Tag, or CostCategory, that + * are applied to a budget.

                Amazon Web Services Budgets supports the * following services as a Service filter for RI budgets:

                  *
                • Amazon EC2

                • Amazon Redshift

                • Amazon * Relational Database Service

                • Amazon ElastiCache

                • @@ -633,8 +633,8 @@ namespace Model /** *

                  The cost filters, such as Region, Service, - * member account, Tag, or Cost Category, - * that are applied to a budget.

                  Amazon Web Services Budgets supports the + * LinkedAccount, Tag, or CostCategory, that + * are applied to a budget.

                  Amazon Web Services Budgets supports the * following services as a Service filter for RI budgets:

                    *
                  • Amazon EC2

                  • Amazon Redshift

                  • Amazon * Relational Database Service

                  • Amazon ElastiCache

                  • @@ -644,8 +644,8 @@ namespace Model /** *

                    The cost filters, such as Region, Service, - * member account, Tag, or Cost Category, - * that are applied to a budget.

                    Amazon Web Services Budgets supports the + * LinkedAccount, Tag, or CostCategory, that + * are applied to a budget.

                    Amazon Web Services Budgets supports the * following services as a Service filter for RI budgets:

                      *
                    • Amazon EC2

                    • Amazon Redshift

                    • Amazon * Relational Database Service

                    • Amazon ElastiCache

                    • @@ -655,8 +655,8 @@ namespace Model /** *

                      The cost filters, such as Region, Service, - * member account, Tag, or Cost Category, - * that are applied to a budget.

                      Amazon Web Services Budgets supports the + * LinkedAccount, Tag, or CostCategory, that + * are applied to a budget.

                      Amazon Web Services Budgets supports the * following services as a Service filter for RI budgets:

                        *
                      • Amazon EC2

                      • Amazon Redshift

                      • Amazon * Relational Database Service

                      • Amazon ElastiCache

                      • @@ -666,8 +666,8 @@ namespace Model /** *

                        The cost filters, such as Region, Service, - * member account, Tag, or Cost Category, - * that are applied to a budget.

                        Amazon Web Services Budgets supports the + * LinkedAccount, Tag, or CostCategory, that + * are applied to a budget.

                        Amazon Web Services Budgets supports the * following services as a Service filter for RI budgets:

                          *
                        • Amazon EC2

                        • Amazon Redshift

                        • Amazon * Relational Database Service

                        • Amazon ElastiCache

                        • diff --git a/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/CreateBudgetActionRequest.h b/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/CreateBudgetActionRequest.h index 8972384cf8f..bb326fdfcf3 100644 --- a/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/CreateBudgetActionRequest.h +++ b/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/CreateBudgetActionRequest.h @@ -14,6 +14,7 @@ #include #include #include +#include #include namespace Aws @@ -289,6 +290,63 @@ namespace Model inline CreateBudgetActionRequest& AddSubscribers(Subscriber&& value) { m_subscribersHasBeenSet = true; m_subscribers.push_back(std::move(value)); return *this; } + + /** + *

                          An optional list of tags to associate with the specified budget action. Each + * tag consists of a key and a value, and each key must be unique for the + * resource.

                          + */ + inline const Aws::Vector& GetResourceTags() const{ return m_resourceTags; } + + /** + *

                          An optional list of tags to associate with the specified budget action. Each + * tag consists of a key and a value, and each key must be unique for the + * resource.

                          + */ + inline bool ResourceTagsHasBeenSet() const { return m_resourceTagsHasBeenSet; } + + /** + *

                          An optional list of tags to associate with the specified budget action. Each + * tag consists of a key and a value, and each key must be unique for the + * resource.

                          + */ + inline void SetResourceTags(const Aws::Vector& value) { m_resourceTagsHasBeenSet = true; m_resourceTags = value; } + + /** + *

                          An optional list of tags to associate with the specified budget action. Each + * tag consists of a key and a value, and each key must be unique for the + * resource.

                          + */ + inline void SetResourceTags(Aws::Vector&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags = std::move(value); } + + /** + *

                          An optional list of tags to associate with the specified budget action. Each + * tag consists of a key and a value, and each key must be unique for the + * resource.

                          + */ + inline CreateBudgetActionRequest& WithResourceTags(const Aws::Vector& value) { SetResourceTags(value); return *this;} + + /** + *

                          An optional list of tags to associate with the specified budget action. Each + * tag consists of a key and a value, and each key must be unique for the + * resource.

                          + */ + inline CreateBudgetActionRequest& WithResourceTags(Aws::Vector&& value) { SetResourceTags(std::move(value)); return *this;} + + /** + *

                          An optional list of tags to associate with the specified budget action. Each + * tag consists of a key and a value, and each key must be unique for the + * resource.

                          + */ + inline CreateBudgetActionRequest& AddResourceTags(const ResourceTag& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.push_back(value); return *this; } + + /** + *

                          An optional list of tags to associate with the specified budget action. Each + * tag consists of a key and a value, and each key must be unique for the + * resource.

                          + */ + inline CreateBudgetActionRequest& AddResourceTags(ResourceTag&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.push_back(std::move(value)); return *this; } + private: Aws::String m_accountId; @@ -317,6 +375,9 @@ namespace Model Aws::Vector m_subscribers; bool m_subscribersHasBeenSet = false; + + Aws::Vector m_resourceTags; + bool m_resourceTagsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/CreateBudgetRequest.h b/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/CreateBudgetRequest.h index 2f3da3c804c..b41b9bb86da 100644 --- a/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/CreateBudgetRequest.h +++ b/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/CreateBudgetRequest.h @@ -10,6 +10,7 @@ #include #include #include +#include #include namespace Aws @@ -184,6 +185,55 @@ namespace Model */ inline CreateBudgetRequest& AddNotificationsWithSubscribers(NotificationWithSubscribers&& value) { m_notificationsWithSubscribersHasBeenSet = true; m_notificationsWithSubscribers.push_back(std::move(value)); return *this; } + + /** + *

                          An optional list of tags to associate with the specified budget. Each tag + * consists of a key and a value, and each key must be unique for the resource.

                          + */ + inline const Aws::Vector& GetResourceTags() const{ return m_resourceTags; } + + /** + *

                          An optional list of tags to associate with the specified budget. Each tag + * consists of a key and a value, and each key must be unique for the resource.

                          + */ + inline bool ResourceTagsHasBeenSet() const { return m_resourceTagsHasBeenSet; } + + /** + *

                          An optional list of tags to associate with the specified budget. Each tag + * consists of a key and a value, and each key must be unique for the resource.

                          + */ + inline void SetResourceTags(const Aws::Vector& value) { m_resourceTagsHasBeenSet = true; m_resourceTags = value; } + + /** + *

                          An optional list of tags to associate with the specified budget. Each tag + * consists of a key and a value, and each key must be unique for the resource.

                          + */ + inline void SetResourceTags(Aws::Vector&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags = std::move(value); } + + /** + *

                          An optional list of tags to associate with the specified budget. Each tag + * consists of a key and a value, and each key must be unique for the resource.

                          + */ + inline CreateBudgetRequest& WithResourceTags(const Aws::Vector& value) { SetResourceTags(value); return *this;} + + /** + *

                          An optional list of tags to associate with the specified budget. Each tag + * consists of a key and a value, and each key must be unique for the resource.

                          + */ + inline CreateBudgetRequest& WithResourceTags(Aws::Vector&& value) { SetResourceTags(std::move(value)); return *this;} + + /** + *

                          An optional list of tags to associate with the specified budget. Each tag + * consists of a key and a value, and each key must be unique for the resource.

                          + */ + inline CreateBudgetRequest& AddResourceTags(const ResourceTag& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.push_back(value); return *this; } + + /** + *

                          An optional list of tags to associate with the specified budget. Each tag + * consists of a key and a value, and each key must be unique for the resource.

                          + */ + inline CreateBudgetRequest& AddResourceTags(ResourceTag&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.push_back(std::move(value)); return *this; } + private: Aws::String m_accountId; @@ -194,6 +244,9 @@ namespace Model Aws::Vector m_notificationsWithSubscribers; bool m_notificationsWithSubscribersHasBeenSet = false; + + Aws::Vector m_resourceTags; + bool m_resourceTagsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/ListTagsForResourceRequest.h b/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/ListTagsForResourceRequest.h new file mode 100644 index 00000000000..32a5aa7e83b --- /dev/null +++ b/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/ListTagsForResourceRequest.h @@ -0,0 +1,85 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Budgets +{ +namespace Model +{ + + /** + */ + class ListTagsForResourceRequest : public BudgetsRequest + { + public: + AWS_BUDGETS_API ListTagsForResourceRequest(); + + // 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 "ListTagsForResource"; } + + AWS_BUDGETS_API Aws::String SerializePayload() const override; + + AWS_BUDGETS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

                          The unique identifier for the resource.

                          + */ + inline const Aws::String& GetResourceARN() const{ return m_resourceARN; } + + /** + *

                          The unique identifier for the resource.

                          + */ + inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; } + + /** + *

                          The unique identifier for the resource.

                          + */ + inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; } + + /** + *

                          The unique identifier for the resource.

                          + */ + inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); } + + /** + *

                          The unique identifier for the resource.

                          + */ + inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); } + + /** + *

                          The unique identifier for the resource.

                          + */ + inline ListTagsForResourceRequest& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;} + + /** + *

                          The unique identifier for the resource.

                          + */ + inline ListTagsForResourceRequest& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;} + + /** + *

                          The unique identifier for the resource.

                          + */ + inline ListTagsForResourceRequest& WithResourceARN(const char* value) { SetResourceARN(value); return *this;} + + private: + + Aws::String m_resourceARN; + bool m_resourceARNHasBeenSet = false; + }; + +} // namespace Model +} // namespace Budgets +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/ListTagsForResourceResult.h b/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/ListTagsForResourceResult.h new file mode 100644 index 00000000000..2679faa0187 --- /dev/null +++ b/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/ListTagsForResourceResult.h @@ -0,0 +1,103 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Budgets +{ +namespace Model +{ + class ListTagsForResourceResult + { + public: + AWS_BUDGETS_API ListTagsForResourceResult(); + AWS_BUDGETS_API ListTagsForResourceResult(const Aws::AmazonWebServiceResult& result); + AWS_BUDGETS_API ListTagsForResourceResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

                          The tags associated with the resource.

                          + */ + inline const Aws::Vector& GetResourceTags() const{ return m_resourceTags; } + + /** + *

                          The tags associated with the resource.

                          + */ + inline void SetResourceTags(const Aws::Vector& value) { m_resourceTags = value; } + + /** + *

                          The tags associated with the resource.

                          + */ + inline void SetResourceTags(Aws::Vector&& value) { m_resourceTags = std::move(value); } + + /** + *

                          The tags associated with the resource.

                          + */ + inline ListTagsForResourceResult& WithResourceTags(const Aws::Vector& value) { SetResourceTags(value); return *this;} + + /** + *

                          The tags associated with the resource.

                          + */ + inline ListTagsForResourceResult& WithResourceTags(Aws::Vector&& value) { SetResourceTags(std::move(value)); return *this;} + + /** + *

                          The tags associated with the resource.

                          + */ + inline ListTagsForResourceResult& AddResourceTags(const ResourceTag& value) { m_resourceTags.push_back(value); return *this; } + + /** + *

                          The tags associated with the resource.

                          + */ + inline ListTagsForResourceResult& AddResourceTags(ResourceTag&& value) { m_resourceTags.push_back(std::move(value)); return *this; } + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListTagsForResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListTagsForResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListTagsForResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_resourceTags; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Budgets +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/ResourceTag.h b/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/ResourceTag.h new file mode 100644 index 00000000000..dca7d54a2d5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/ResourceTag.h @@ -0,0 +1,133 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Budgets +{ +namespace Model +{ + + /** + *

                          The tag structure that contains a tag key and value.

                          See Also:

                          + * AWS + * API Reference

                          + */ + class ResourceTag + { + public: + AWS_BUDGETS_API ResourceTag(); + AWS_BUDGETS_API ResourceTag(Aws::Utils::Json::JsonView jsonValue); + AWS_BUDGETS_API ResourceTag& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

                          The key that's associated with the tag.

                          + */ + inline const Aws::String& GetKey() const{ return m_key; } + + /** + *

                          The key that's associated with the tag.

                          + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** + *

                          The key that's associated with the tag.

                          + */ + inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } + + /** + *

                          The key that's associated with the tag.

                          + */ + inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } + + /** + *

                          The key that's associated with the tag.

                          + */ + inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } + + /** + *

                          The key that's associated with the tag.

                          + */ + inline ResourceTag& WithKey(const Aws::String& value) { SetKey(value); return *this;} + + /** + *

                          The key that's associated with the tag.

                          + */ + inline ResourceTag& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} + + /** + *

                          The key that's associated with the tag.

                          + */ + inline ResourceTag& WithKey(const char* value) { SetKey(value); return *this;} + + + /** + *

                          The value that's associated with the tag.

                          + */ + inline const Aws::String& GetValue() const{ return m_value; } + + /** + *

                          The value that's associated with the tag.

                          + */ + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + + /** + *

                          The value that's associated with the tag.

                          + */ + inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } + + /** + *

                          The value that's associated with the tag.

                          + */ + inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + + /** + *

                          The value that's associated with the tag.

                          + */ + inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } + + /** + *

                          The value that's associated with the tag.

                          + */ + inline ResourceTag& WithValue(const Aws::String& value) { SetValue(value); return *this;} + + /** + *

                          The value that's associated with the tag.

                          + */ + inline ResourceTag& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} + + /** + *

                          The value that's associated with the tag.

                          + */ + inline ResourceTag& WithValue(const char* value) { SetValue(value); return *this;} + + private: + + Aws::String m_key; + bool m_keyHasBeenSet = false; + + Aws::String m_value; + bool m_valueHasBeenSet = false; + }; + +} // namespace Model +} // namespace Budgets +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/TagResourceRequest.h b/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/TagResourceRequest.h new file mode 100644 index 00000000000..fc023f487de --- /dev/null +++ b/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/TagResourceRequest.h @@ -0,0 +1,131 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Budgets +{ +namespace Model +{ + + /** + */ + class TagResourceRequest : public BudgetsRequest + { + public: + AWS_BUDGETS_API TagResourceRequest(); + + // 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 "TagResource"; } + + AWS_BUDGETS_API Aws::String SerializePayload() const override; + + AWS_BUDGETS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

                          The unique identifier for the resource.

                          + */ + inline const Aws::String& GetResourceARN() const{ return m_resourceARN; } + + /** + *

                          The unique identifier for the resource.

                          + */ + inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; } + + /** + *

                          The unique identifier for the resource.

                          + */ + inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; } + + /** + *

                          The unique identifier for the resource.

                          + */ + inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); } + + /** + *

                          The unique identifier for the resource.

                          + */ + inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); } + + /** + *

                          The unique identifier for the resource.

                          + */ + inline TagResourceRequest& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;} + + /** + *

                          The unique identifier for the resource.

                          + */ + inline TagResourceRequest& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;} + + /** + *

                          The unique identifier for the resource.

                          + */ + inline TagResourceRequest& WithResourceARN(const char* value) { SetResourceARN(value); return *this;} + + + /** + *

                          The tags associated with the resource.

                          + */ + inline const Aws::Vector& GetResourceTags() const{ return m_resourceTags; } + + /** + *

                          The tags associated with the resource.

                          + */ + inline bool ResourceTagsHasBeenSet() const { return m_resourceTagsHasBeenSet; } + + /** + *

                          The tags associated with the resource.

                          + */ + inline void SetResourceTags(const Aws::Vector& value) { m_resourceTagsHasBeenSet = true; m_resourceTags = value; } + + /** + *

                          The tags associated with the resource.

                          + */ + inline void SetResourceTags(Aws::Vector&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags = std::move(value); } + + /** + *

                          The tags associated with the resource.

                          + */ + inline TagResourceRequest& WithResourceTags(const Aws::Vector& value) { SetResourceTags(value); return *this;} + + /** + *

                          The tags associated with the resource.

                          + */ + inline TagResourceRequest& WithResourceTags(Aws::Vector&& value) { SetResourceTags(std::move(value)); return *this;} + + /** + *

                          The tags associated with the resource.

                          + */ + inline TagResourceRequest& AddResourceTags(const ResourceTag& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.push_back(value); return *this; } + + /** + *

                          The tags associated with the resource.

                          + */ + inline TagResourceRequest& AddResourceTags(ResourceTag&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.push_back(std::move(value)); return *this; } + + private: + + Aws::String m_resourceARN; + bool m_resourceARNHasBeenSet = false; + + Aws::Vector m_resourceTags; + bool m_resourceTagsHasBeenSet = false; + }; + +} // namespace Model +} // namespace Budgets +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/TagResourceResult.h b/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/TagResourceResult.h new file mode 100644 index 00000000000..298321de2f8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/TagResourceResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Budgets +{ +namespace Model +{ + class TagResourceResult + { + public: + AWS_BUDGETS_API TagResourceResult(); + AWS_BUDGETS_API TagResourceResult(const Aws::AmazonWebServiceResult& result); + AWS_BUDGETS_API TagResourceResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline TagResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline TagResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline TagResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Budgets +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/UntagResourceRequest.h b/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/UntagResourceRequest.h new file mode 100644 index 00000000000..32703c085fc --- /dev/null +++ b/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/UntagResourceRequest.h @@ -0,0 +1,135 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Budgets +{ +namespace Model +{ + + /** + */ + class UntagResourceRequest : public BudgetsRequest + { + public: + AWS_BUDGETS_API UntagResourceRequest(); + + // 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 "UntagResource"; } + + AWS_BUDGETS_API Aws::String SerializePayload() const override; + + AWS_BUDGETS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

                          The unique identifier for the resource.

                          + */ + inline const Aws::String& GetResourceARN() const{ return m_resourceARN; } + + /** + *

                          The unique identifier for the resource.

                          + */ + inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; } + + /** + *

                          The unique identifier for the resource.

                          + */ + inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; } + + /** + *

                          The unique identifier for the resource.

                          + */ + inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); } + + /** + *

                          The unique identifier for the resource.

                          + */ + inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); } + + /** + *

                          The unique identifier for the resource.

                          + */ + inline UntagResourceRequest& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;} + + /** + *

                          The unique identifier for the resource.

                          + */ + inline UntagResourceRequest& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;} + + /** + *

                          The unique identifier for the resource.

                          + */ + inline UntagResourceRequest& WithResourceARN(const char* value) { SetResourceARN(value); return *this;} + + + /** + *

                          The key that's associated with the tag.

                          + */ + inline const Aws::Vector& GetResourceTagKeys() const{ return m_resourceTagKeys; } + + /** + *

                          The key that's associated with the tag.

                          + */ + inline bool ResourceTagKeysHasBeenSet() const { return m_resourceTagKeysHasBeenSet; } + + /** + *

                          The key that's associated with the tag.

                          + */ + inline void SetResourceTagKeys(const Aws::Vector& value) { m_resourceTagKeysHasBeenSet = true; m_resourceTagKeys = value; } + + /** + *

                          The key that's associated with the tag.

                          + */ + inline void SetResourceTagKeys(Aws::Vector&& value) { m_resourceTagKeysHasBeenSet = true; m_resourceTagKeys = std::move(value); } + + /** + *

                          The key that's associated with the tag.

                          + */ + inline UntagResourceRequest& WithResourceTagKeys(const Aws::Vector& value) { SetResourceTagKeys(value); return *this;} + + /** + *

                          The key that's associated with the tag.

                          + */ + inline UntagResourceRequest& WithResourceTagKeys(Aws::Vector&& value) { SetResourceTagKeys(std::move(value)); return *this;} + + /** + *

                          The key that's associated with the tag.

                          + */ + inline UntagResourceRequest& AddResourceTagKeys(const Aws::String& value) { m_resourceTagKeysHasBeenSet = true; m_resourceTagKeys.push_back(value); return *this; } + + /** + *

                          The key that's associated with the tag.

                          + */ + inline UntagResourceRequest& AddResourceTagKeys(Aws::String&& value) { m_resourceTagKeysHasBeenSet = true; m_resourceTagKeys.push_back(std::move(value)); return *this; } + + /** + *

                          The key that's associated with the tag.

                          + */ + inline UntagResourceRequest& AddResourceTagKeys(const char* value) { m_resourceTagKeysHasBeenSet = true; m_resourceTagKeys.push_back(value); return *this; } + + private: + + Aws::String m_resourceARN; + bool m_resourceARNHasBeenSet = false; + + Aws::Vector m_resourceTagKeys; + bool m_resourceTagKeysHasBeenSet = false; + }; + +} // namespace Model +} // namespace Budgets +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/UntagResourceResult.h b/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/UntagResourceResult.h new file mode 100644 index 00000000000..4bc5b693573 --- /dev/null +++ b/generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/UntagResourceResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Budgets +{ +namespace Model +{ + class UntagResourceResult + { + public: + AWS_BUDGETS_API UntagResourceResult(); + AWS_BUDGETS_API UntagResourceResult(const Aws::AmazonWebServiceResult& result); + AWS_BUDGETS_API UntagResourceResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline UntagResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline UntagResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline UntagResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Budgets +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-budgets/source/BudgetsClient.cpp b/generated/src/aws-cpp-sdk-budgets/source/BudgetsClient.cpp index 9cfe93ca3c3..46307429926 100644 --- a/generated/src/aws-cpp-sdk-budgets/source/BudgetsClient.cpp +++ b/generated/src/aws-cpp-sdk-budgets/source/BudgetsClient.cpp @@ -40,6 +40,9 @@ #include #include #include +#include +#include +#include #include #include #include @@ -679,6 +682,84 @@ ExecuteBudgetActionOutcome BudgetsClient::ExecuteBudgetAction(const ExecuteBudge {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListTagsForResourceOutcome BudgetsClient::ListTagsForResource(const ListTagsForResourceRequest& request) const +{ + AWS_OPERATION_GUARD(ListTagsForResource); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListTagsForResource, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListTagsForResource, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListTagsForResource, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListTagsForResource", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListTagsForResourceOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListTagsForResource, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return ListTagsForResourceOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +TagResourceOutcome BudgetsClient::TagResource(const TagResourceRequest& request) const +{ + AWS_OPERATION_GUARD(TagResource); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, TagResource, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, TagResource, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, TagResource, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".TagResource", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> TagResourceOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, TagResource, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return TagResourceOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +UntagResourceOutcome BudgetsClient::UntagResource(const UntagResourceRequest& request) const +{ + AWS_OPERATION_GUARD(UntagResource); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UntagResource, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UntagResource, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UntagResource, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UntagResource", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> UntagResourceOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, UntagResource, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return UntagResourceOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + UpdateBudgetOutcome BudgetsClient::UpdateBudget(const UpdateBudgetRequest& request) const { AWS_OPERATION_GUARD(UpdateBudget); diff --git a/generated/src/aws-cpp-sdk-budgets/source/BudgetsEndpointRules.cpp b/generated/src/aws-cpp-sdk-budgets/source/BudgetsEndpointRules.cpp index 4a2e84e3b66..dd965f3c9ae 100644 --- a/generated/src/aws-cpp-sdk-budgets/source/BudgetsEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-budgets/source/BudgetsEndpointRules.cpp @@ -51,140 +51,140 @@ static constexpr RulesBlobT RulesBlob = {{ ',','"','t','y','p','e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s', '"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', 'i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n', -'d','p','o','i','n','t','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', -',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', -'{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', -'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r', -'u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o', -'n','f','i','g','u','r','a','t','i','o','n',':',' ','F','I','P','S',' ','a','n','d',' ','c','u','s', -'t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p', -'o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e', -'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', -'"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"', -'e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a', -'t','i','o','n',':',' ','D','u','a','l','s','t','a','c','k',' ','a','n','d',' ','c','u','s','t','o', -'m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p','o','r', -'t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"','c','o', -'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', -'"','u','r','l','"',':','{','"','r','e','f','"',':','"','E','n','d','p','o','i','n','t','"','}',',', -'"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"', -':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}', +'d','p','o','i','n','t','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', +'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', +'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':', +'"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','F', +'I','P','S',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a', +'r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':', +'"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', +'"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g', +'v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"', +'}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i', +'d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l','s','t','a','c', +'k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e', +' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e', +'r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', +'e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e','f','"',':','"', +'E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{', +'}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e', +'n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}', ',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', 'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', -'o','n','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u', -'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', -'"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',','"','a','r','g','v','"',':', -'[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']',',','"','a','s','s','i','g', -'n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',']',',','"','t', -'y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o', -'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','s','t','r','i','n','g','E', -'q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','f','n','"',':','"','g','e','t', -'A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r', -'t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','n','a','m','e','"',']','}',',','"', -'a','w','s','"',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a', -'l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I', -'P','S','"','}',',','f','a','l','s','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e', -'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', -'"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','f','a','l','s','e',']','}',']',',', -'"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':', -'/','/','b','u','d','g','e','t','s','.','a','m','a','z','o','n','a','w','s','.','c','o','m','"',',', -'"','p','r','o','p','e','r','t','i','e','s','"',':','{','"','a','u','t','h','S','c','h','e','m','e', -'s','"',':','[','{','"','n','a','m','e','"',':','"','s','i','g','v','4','"',',','"','s','i','g','n', -'i','n','g','N','a','m','e','"',':','"','b','u','d','g','e','t','s','"',',','"','s','i','g','n','i', -'n','g','R','e','g','i','o','n','"',':','"','u','s','-','e','a','s','t','-','1','"','}',']','}',',', -'"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d', -'p','o','i','n','t','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', -'f','n','"',':','"','s','t','r','i','n','g','E','q','u','a','l','s','"',',','"','a','r','g','v','"', -':','[','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':', -'[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"', -'}',',','"','n','a','m','e','"',']','}',',','"','a','w','s','-','c','n','"',']','}',',','{','"','f', -'n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"', -':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','f','a','l','s','e', -']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',', -'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t', -'a','c','k','"','}',',','f','a','l','s','e',']','}',']',',','"','e','n','d','p','o','i','n','t','"', -':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','b','u','d','g','e','t','s','.', -'a','m','a','z','o','n','a','w','s','.','c','o','m','.','c','n','"',',','"','p','r','o','p','e','r', -'t','i','e','s','"',':','{','"','a','u','t','h','S','c','h','e','m','e','s','"',':','[','{','"','n', -'a','m','e','"',':','"','s','i','g','v','4','"',',','"','s','i','g','n','i','n','g','N','a','m','e', -'"',':','"','b','u','d','g','e','t','s','"',',','"','s','i','g','n','i','n','g','R','e','g','i','o', -'n','"',':','"','c','n','-','n','o','r','t','h','w','e','s','t','-','1','"','}',']','}',',','"','h', -'e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o', -'i','n','t','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', -'"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':', -'[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}', -',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a', -'r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c', -'k','"','}',',','t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', -',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', +'o','n','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t', +'i','o','n','s','"',':','[','{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i', +'o','n','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o', +'n','"','}',']',',','"','a','s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','"','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','s','t','r','i','n','g','E','q','u','a', +'l','s','"',',','"','a','r','g','v','"',':','[','{','"','f','n','"',':','"','g','e','t','A','t','t', +'r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t', +'i','o','n','R','e','s','u','l','t','"','}',',','"','n','a','m','e','"',']','}',',','"','a','w','s', +'"',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"', +',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"', +'}',',','f','a','l','s','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E', +'q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s', +'e','D','u','a','l','S','t','a','c','k','"','}',',','f','a','l','s','e',']','}',']',',','"','e','n', +'d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','b', +'u','d','g','e','t','s','.','a','m','a','z','o','n','a','w','s','.','c','o','m','"',',','"','p','r', +'o','p','e','r','t','i','e','s','"',':','{','"','a','u','t','h','S','c','h','e','m','e','s','"',':', +'[','{','"','n','a','m','e','"',':','"','s','i','g','v','4','"',',','"','s','i','g','n','i','n','g', +'N','a','m','e','"',':','"','b','u','d','g','e','t','s','"',',','"','s','i','g','n','i','n','g','R', +'e','g','i','o','n','"',':','"','u','s','-','e','a','s','t','-','1','"','}',']','}',',','"','h','e', +'a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i', +'n','t','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"', +':','"','s','t','r','i','n','g','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{', +'"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"', +'r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"', +'n','a','m','e','"',']','}',',','"','a','w','s','-','c','n','"',']','}',',','{','"','f','n','"',':', +'"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{', +'"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','f','a','l','s','e',']','}',',', '{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', -'g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"', -',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o', -'n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']', -'}',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"', -',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A', +'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k', +'"','}',',','f','a','l','s','e',']','}',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"', +'u','r','l','"',':','"','h','t','t','p','s',':','/','/','b','u','d','g','e','t','s','.','a','m','a', +'z','o','n','a','w','s','.','c','o','m','.','c','n','"',',','"','p','r','o','p','e','r','t','i','e', +'s','"',':','{','"','a','u','t','h','S','c','h','e','m','e','s','"',':','[','{','"','n','a','m','e', +'"',':','"','s','i','g','v','4','"',',','"','s','i','g','n','i','n','g','N','a','m','e','"',':','"', +'b','u','d','g','e','t','s','"',',','"','s','i','g','n','i','n','g','R','e','g','i','o','n','"',':', +'"','c','n','-','n','o','r','t','h','w','e','s','t','-','1','"','}',']','}',',','"','h','e','a','d', +'e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t', +'"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', +'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"', +'r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',',','{','"', +'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', +'"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}', +',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u', +'a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"', +'g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"', +'P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r', +'t','s','F','I','P','S','"',']','}',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a', +'n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f', +'n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e', +'f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u', +'p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','r','u', +'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e', +'n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/', +'b','u','d','g','e','t','s','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a', +'r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n', +'s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}', +',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n', +'d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',', +'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':', +'"','F','I','P','S',' ','a','n','d',' ','D','u','a','l','S','t','a','c','k',' ','a','r','e',' ','e', +'n','a','b','l','e','d',',',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o', +'n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','o','n','e',' ','o','r', +' ','b','o','t','h','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"', +'t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n', +'s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"', +',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"', +'}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d', +'i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q', +'u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','f','n','"',':','"','g','e','t','A', 't','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t', -'i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u', -'a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e', -'e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"', -':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t', -'t','p','s',':','/','/','b','u','d','g','e','t','s','-','f','i','p','s','.','{','R','e','g','i','o', -'n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S', -'t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i', -'e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p', -'e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',',','{','"','c','o','n','d','i','t', -'i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','a','n', -'d',' ','D','u','a','l','S','t','a','c','k',' ','a','r','e',' ','e','n','a','b','l','e','d',',',' ', +'i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I', +'P','S','"',']','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"', +'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"', +':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','b','u','d','g','e','t','s','-', +'f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r', +'t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t', +'y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':', +'"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',', +'"','e','r','r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ', 'b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n', -'o','t',' ','s','u','p','p','o','r','t',' ','o','n','e',' ','o','r',' ','b','o','t','h','"',',','"', -'t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t', -'i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a', -'l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I', -'P','S','"','}',',','t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e', -'"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':', -'[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a', -'r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r', -'"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i', -'o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"', -']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e', -'s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d', -'p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','b','u', -'d','g','e','t','s','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t', -'i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"', -'p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':', -'{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',',', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':', -'"','F','I','P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s', -' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o', -'r','t',' ','F','I','P','S','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']', -'}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b', -'o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r', -'e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']', -'}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':', -'[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o', -'o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e', -',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[', -'{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}', -',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}',']','}',']', -',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{', -'"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t', -'"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','b','u','d','g','e','t','s', -'.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l', -'t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p', +'o','t',' ','s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"','t','y','p','e','"',':','"', +'e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{', +'"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l', +'e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"', +':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',', +'"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', +'"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g', +'v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',', +'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n', +'R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a', +'c','k','"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r', +'l','"',':','"','h','t','t','p','s',':','/','/','b','u','d','g','e','t','s','.','{','R','e','g','i', +'o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l', +'S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t', +'i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y', +'p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"', +'t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', +'e','r','r','o','r','"',':','"','D','u','a','l','S','t','a','c','k',' ','i','s',' ','e','n','a','b', +'l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o', +'e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','D','u','a','l','S','t','a','c','k','"', +',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':', +'"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',', +'"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':', +'/','/','b','u','d','g','e','t','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i', +'t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p', 'r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{', -'}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',',','{', -'"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"', -'D','u','a','l','S','t','a','c','k',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ', -'t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s', -'u','p','p','o','r','t',' ','D','u','a','l','S','t','a','c','k','"',',','"','t','y','p','e','"',':', -'"','e','r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', -'[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t', -'p','s',':','/','/','b','u','d','g','e','t','s','.','{','R','e','g','i','o','n','}','.','{','P','a', -'r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"', -',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s', -'"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']', -'}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r', +'}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t', +'y','p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e', +'e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r', 'o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o', 'n',':',' ','M','i','s','s','i','n','g',' ','R','e','g','i','o','n','"',',','"','t','y','p','e','"', ':','"','e','r','r','o','r','"','}',']','}','\0' diff --git a/generated/src/aws-cpp-sdk-budgets/source/BudgetsErrors.cpp b/generated/src/aws-cpp-sdk-budgets/source/BudgetsErrors.cpp index 221c853e15c..7f8a582a3a4 100644 --- a/generated/src/aws-cpp-sdk-budgets/source/BudgetsErrors.cpp +++ b/generated/src/aws-cpp-sdk-budgets/source/BudgetsErrors.cpp @@ -19,6 +19,7 @@ namespace BudgetsErrorMapper { static const int INTERNAL_ERROR_HASH = HashingUtils::HashString("InternalErrorException"); +static const int SERVICE_QUOTA_EXCEEDED_HASH = HashingUtils::HashString("ServiceQuotaExceededException"); static const int NOT_FOUND_HASH = HashingUtils::HashString("NotFoundException"); static const int RESOURCE_LOCKED_HASH = HashingUtils::HashString("ResourceLockedException"); static const int INVALID_PARAMETER_HASH = HashingUtils::HashString("InvalidParameterException"); @@ -36,6 +37,10 @@ AWSError GetErrorForName(const char* errorName) { return AWSError(static_cast(BudgetsErrors::INTERNAL_ERROR), RetryableType::NOT_RETRYABLE); } + else if (hashCode == SERVICE_QUOTA_EXCEEDED_HASH) + { + return AWSError(static_cast(BudgetsErrors::SERVICE_QUOTA_EXCEEDED), RetryableType::NOT_RETRYABLE); + } else if (hashCode == NOT_FOUND_HASH) { return AWSError(static_cast(BudgetsErrors::NOT_FOUND), RetryableType::NOT_RETRYABLE); diff --git a/generated/src/aws-cpp-sdk-budgets/source/model/CreateBudgetActionRequest.cpp b/generated/src/aws-cpp-sdk-budgets/source/model/CreateBudgetActionRequest.cpp index d083d8d185d..06c8e04b01e 100644 --- a/generated/src/aws-cpp-sdk-budgets/source/model/CreateBudgetActionRequest.cpp +++ b/generated/src/aws-cpp-sdk-budgets/source/model/CreateBudgetActionRequest.cpp @@ -24,7 +24,8 @@ CreateBudgetActionRequest::CreateBudgetActionRequest() : m_executionRoleArnHasBeenSet(false), m_approvalModel(ApprovalModel::NOT_SET), m_approvalModelHasBeenSet(false), - m_subscribersHasBeenSet(false) + m_subscribersHasBeenSet(false), + m_resourceTagsHasBeenSet(false) { } @@ -88,6 +89,17 @@ Aws::String CreateBudgetActionRequest::SerializePayload() const } + if(m_resourceTagsHasBeenSet) + { + Aws::Utils::Array resourceTagsJsonList(m_resourceTags.size()); + for(unsigned resourceTagsIndex = 0; resourceTagsIndex < resourceTagsJsonList.GetLength(); ++resourceTagsIndex) + { + resourceTagsJsonList[resourceTagsIndex].AsObject(m_resourceTags[resourceTagsIndex].Jsonize()); + } + payload.WithArray("ResourceTags", std::move(resourceTagsJsonList)); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-budgets/source/model/CreateBudgetRequest.cpp b/generated/src/aws-cpp-sdk-budgets/source/model/CreateBudgetRequest.cpp index 49526da668a..33786ebf332 100644 --- a/generated/src/aws-cpp-sdk-budgets/source/model/CreateBudgetRequest.cpp +++ b/generated/src/aws-cpp-sdk-budgets/source/model/CreateBudgetRequest.cpp @@ -15,7 +15,8 @@ using namespace Aws::Utils; CreateBudgetRequest::CreateBudgetRequest() : m_accountIdHasBeenSet(false), m_budgetHasBeenSet(false), - m_notificationsWithSubscribersHasBeenSet(false) + m_notificationsWithSubscribersHasBeenSet(false), + m_resourceTagsHasBeenSet(false) { } @@ -46,6 +47,17 @@ Aws::String CreateBudgetRequest::SerializePayload() const } + if(m_resourceTagsHasBeenSet) + { + Aws::Utils::Array resourceTagsJsonList(m_resourceTags.size()); + for(unsigned resourceTagsIndex = 0; resourceTagsIndex < resourceTagsJsonList.GetLength(); ++resourceTagsIndex) + { + resourceTagsJsonList[resourceTagsIndex].AsObject(m_resourceTags[resourceTagsIndex].Jsonize()); + } + payload.WithArray("ResourceTags", std::move(resourceTagsJsonList)); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-budgets/source/model/ListTagsForResourceRequest.cpp b/generated/src/aws-cpp-sdk-budgets/source/model/ListTagsForResourceRequest.cpp new file mode 100644 index 00000000000..4f62a60944c --- /dev/null +++ b/generated/src/aws-cpp-sdk-budgets/source/model/ListTagsForResourceRequest.cpp @@ -0,0 +1,43 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Budgets::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +ListTagsForResourceRequest::ListTagsForResourceRequest() : + m_resourceARNHasBeenSet(false) +{ +} + +Aws::String ListTagsForResourceRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_resourceARNHasBeenSet) + { + payload.WithString("ResourceARN", m_resourceARN); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection ListTagsForResourceRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSBudgetServiceGateway.ListTagsForResource")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-budgets/source/model/ListTagsForResourceResult.cpp b/generated/src/aws-cpp-sdk-budgets/source/model/ListTagsForResourceResult.cpp new file mode 100644 index 00000000000..d67ba34328a --- /dev/null +++ b/generated/src/aws-cpp-sdk-budgets/source/model/ListTagsForResourceResult.cpp @@ -0,0 +1,51 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Budgets::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListTagsForResourceResult::ListTagsForResourceResult() +{ +} + +ListTagsForResourceResult::ListTagsForResourceResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListTagsForResourceResult& ListTagsForResourceResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("ResourceTags")) + { + Aws::Utils::Array resourceTagsJsonList = jsonValue.GetArray("ResourceTags"); + for(unsigned resourceTagsIndex = 0; resourceTagsIndex < resourceTagsJsonList.GetLength(); ++resourceTagsIndex) + { + m_resourceTags.push_back(resourceTagsJsonList[resourceTagsIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-budgets/source/model/ResourceTag.cpp b/generated/src/aws-cpp-sdk-budgets/source/model/ResourceTag.cpp new file mode 100644 index 00000000000..065cf91d2f4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-budgets/source/model/ResourceTag.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Budgets +{ +namespace Model +{ + +ResourceTag::ResourceTag() : + m_keyHasBeenSet(false), + m_valueHasBeenSet(false) +{ +} + +ResourceTag::ResourceTag(JsonView jsonValue) : + m_keyHasBeenSet(false), + m_valueHasBeenSet(false) +{ + *this = jsonValue; +} + +ResourceTag& ResourceTag::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Key")) + { + m_key = jsonValue.GetString("Key"); + + m_keyHasBeenSet = true; + } + + if(jsonValue.ValueExists("Value")) + { + m_value = jsonValue.GetString("Value"); + + m_valueHasBeenSet = true; + } + + return *this; +} + +JsonValue ResourceTag::Jsonize() const +{ + JsonValue payload; + + if(m_keyHasBeenSet) + { + payload.WithString("Key", m_key); + + } + + if(m_valueHasBeenSet) + { + payload.WithString("Value", m_value); + + } + + return payload; +} + +} // namespace Model +} // namespace Budgets +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-budgets/source/model/TagResourceRequest.cpp b/generated/src/aws-cpp-sdk-budgets/source/model/TagResourceRequest.cpp new file mode 100644 index 00000000000..c7bc55fee83 --- /dev/null +++ b/generated/src/aws-cpp-sdk-budgets/source/model/TagResourceRequest.cpp @@ -0,0 +1,55 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Budgets::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +TagResourceRequest::TagResourceRequest() : + m_resourceARNHasBeenSet(false), + m_resourceTagsHasBeenSet(false) +{ +} + +Aws::String TagResourceRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_resourceARNHasBeenSet) + { + payload.WithString("ResourceARN", m_resourceARN); + + } + + if(m_resourceTagsHasBeenSet) + { + Aws::Utils::Array resourceTagsJsonList(m_resourceTags.size()); + for(unsigned resourceTagsIndex = 0; resourceTagsIndex < resourceTagsJsonList.GetLength(); ++resourceTagsIndex) + { + resourceTagsJsonList[resourceTagsIndex].AsObject(m_resourceTags[resourceTagsIndex].Jsonize()); + } + payload.WithArray("ResourceTags", std::move(resourceTagsJsonList)); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection TagResourceRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSBudgetServiceGateway.TagResource")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-budgets/source/model/TagResourceResult.cpp b/generated/src/aws-cpp-sdk-budgets/source/model/TagResourceResult.cpp new file mode 100644 index 00000000000..9edc2c052be --- /dev/null +++ b/generated/src/aws-cpp-sdk-budgets/source/model/TagResourceResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Budgets::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +TagResourceResult::TagResourceResult() +{ +} + +TagResourceResult::TagResourceResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +TagResourceResult& TagResourceResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-budgets/source/model/UntagResourceRequest.cpp b/generated/src/aws-cpp-sdk-budgets/source/model/UntagResourceRequest.cpp new file mode 100644 index 00000000000..afa0d42e89a --- /dev/null +++ b/generated/src/aws-cpp-sdk-budgets/source/model/UntagResourceRequest.cpp @@ -0,0 +1,55 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Budgets::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UntagResourceRequest::UntagResourceRequest() : + m_resourceARNHasBeenSet(false), + m_resourceTagKeysHasBeenSet(false) +{ +} + +Aws::String UntagResourceRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_resourceARNHasBeenSet) + { + payload.WithString("ResourceARN", m_resourceARN); + + } + + if(m_resourceTagKeysHasBeenSet) + { + Aws::Utils::Array resourceTagKeysJsonList(m_resourceTagKeys.size()); + for(unsigned resourceTagKeysIndex = 0; resourceTagKeysIndex < resourceTagKeysJsonList.GetLength(); ++resourceTagKeysIndex) + { + resourceTagKeysJsonList[resourceTagKeysIndex].AsString(m_resourceTagKeys[resourceTagKeysIndex]); + } + payload.WithArray("ResourceTagKeys", std::move(resourceTagKeysJsonList)); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection UntagResourceRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSBudgetServiceGateway.UntagResource")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-budgets/source/model/UntagResourceResult.cpp b/generated/src/aws-cpp-sdk-budgets/source/model/UntagResourceResult.cpp new file mode 100644 index 00000000000..54c97ceec54 --- /dev/null +++ b/generated/src/aws-cpp-sdk-budgets/source/model/UntagResourceResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Budgets::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UntagResourceResult::UntagResourceResult() +{ +} + +UntagResourceResult::UntagResourceResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UntagResourceResult& UntagResourceResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/ResilienceHubClient.h b/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/ResilienceHubClient.h index 1e2cb5ebd2c..529bd03dae9 100644 --- a/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/ResilienceHubClient.h +++ b/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/ResilienceHubClient.h @@ -821,6 +821,32 @@ namespace ResilienceHub return SubmitAsync(&ResilienceHubClient::ListAppAssessmentComplianceDrifts, request, handler, context); } + /** + *

                          Indicates the list of resource drifts that were detected while running an + * assessment.

                          See Also:

                          AWS + * API Reference

                          + */ + virtual Model::ListAppAssessmentResourceDriftsOutcome ListAppAssessmentResourceDrifts(const Model::ListAppAssessmentResourceDriftsRequest& request) const; + + /** + * A Callable wrapper for ListAppAssessmentResourceDrifts that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListAppAssessmentResourceDriftsOutcomeCallable ListAppAssessmentResourceDriftsCallable(const ListAppAssessmentResourceDriftsRequestT& request) const + { + return SubmitCallable(&ResilienceHubClient::ListAppAssessmentResourceDrifts, request); + } + + /** + * An Async wrapper for ListAppAssessmentResourceDrifts that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListAppAssessmentResourceDriftsAsync(const ListAppAssessmentResourceDriftsRequestT& request, const ListAppAssessmentResourceDriftsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&ResilienceHubClient::ListAppAssessmentResourceDrifts, request, handler, context); + } + /** *

                          Lists the assessments for an Resilience Hub application. You can use request * parameters to refine the results for the response object.

                          See diff --git a/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/ResilienceHubServiceClientModel.h b/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/ResilienceHubServiceClientModel.h index 55930028ce1..1dadc17bcc5 100644 --- a/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/ResilienceHubServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/ResilienceHubServiceClientModel.h @@ -44,6 +44,7 @@ #include #include #include +#include #include #include #include @@ -138,6 +139,7 @@ namespace Aws class ImportResourcesToDraftAppVersionRequest; class ListAlarmRecommendationsRequest; class ListAppAssessmentComplianceDriftsRequest; + class ListAppAssessmentResourceDriftsRequest; class ListAppAssessmentsRequest; class ListAppComponentCompliancesRequest; class ListAppComponentRecommendationsRequest; @@ -195,6 +197,7 @@ namespace Aws typedef Aws::Utils::Outcome ImportResourcesToDraftAppVersionOutcome; typedef Aws::Utils::Outcome ListAlarmRecommendationsOutcome; typedef Aws::Utils::Outcome ListAppAssessmentComplianceDriftsOutcome; + typedef Aws::Utils::Outcome ListAppAssessmentResourceDriftsOutcome; typedef Aws::Utils::Outcome ListAppAssessmentsOutcome; typedef Aws::Utils::Outcome ListAppComponentCompliancesOutcome; typedef Aws::Utils::Outcome ListAppComponentRecommendationsOutcome; @@ -252,6 +255,7 @@ namespace Aws typedef std::future ImportResourcesToDraftAppVersionOutcomeCallable; typedef std::future ListAlarmRecommendationsOutcomeCallable; typedef std::future ListAppAssessmentComplianceDriftsOutcomeCallable; + typedef std::future ListAppAssessmentResourceDriftsOutcomeCallable; typedef std::future ListAppAssessmentsOutcomeCallable; typedef std::future ListAppComponentCompliancesOutcomeCallable; typedef std::future ListAppComponentRecommendationsOutcomeCallable; @@ -312,6 +316,7 @@ namespace Aws typedef std::function&) > ImportResourcesToDraftAppVersionResponseReceivedHandler; typedef std::function&) > ListAlarmRecommendationsResponseReceivedHandler; typedef std::function&) > ListAppAssessmentComplianceDriftsResponseReceivedHandler; + typedef std::function&) > ListAppAssessmentResourceDriftsResponseReceivedHandler; typedef std::function&) > ListAppAssessmentsResponseReceivedHandler; typedef std::function&) > ListAppComponentCompliancesResponseReceivedHandler; typedef std::function&) > ListAppComponentRecommendationsResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/DifferenceType.h b/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/DifferenceType.h index 18a23bd1d7a..ff0ff91fb9a 100644 --- a/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/DifferenceType.h +++ b/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/DifferenceType.h @@ -16,7 +16,9 @@ namespace Model enum class DifferenceType { NOT_SET, - NotEqual + NotEqual, + Added, + Removed }; namespace DifferenceTypeMapper diff --git a/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/DriftType.h b/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/DriftType.h index 96df6ad1702..383dcd2f293 100644 --- a/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/DriftType.h +++ b/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/DriftType.h @@ -16,7 +16,8 @@ namespace Model enum class DriftType { NOT_SET, - ApplicationCompliance + ApplicationCompliance, + AppComponentResiliencyComplianceStatus }; namespace DriftTypeMapper diff --git a/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/ListAppAssessmentResourceDriftsRequest.h b/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/ListAppAssessmentResourceDriftsRequest.h new file mode 100644 index 00000000000..b6797e5d2f7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/ListAppAssessmentResourceDriftsRequest.h @@ -0,0 +1,199 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace ResilienceHub +{ +namespace Model +{ + + /** + */ + class ListAppAssessmentResourceDriftsRequest : public ResilienceHubRequest + { + public: + AWS_RESILIENCEHUB_API ListAppAssessmentResourceDriftsRequest(); + + // 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 "ListAppAssessmentResourceDrifts"; } + + AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override; + + + /** + *

                          Amazon Resource Name (ARN) of the assessment. The format for this ARN is: + * arn:partition:resiliencehub:region:account:app-assessment/app-id. + * For more information about ARNs, see + * Amazon Resource Names (ARNs) in the Amazon Web Services General + * Reference guide.

                          + */ + inline const Aws::String& GetAssessmentArn() const{ return m_assessmentArn; } + + /** + *

                          Amazon Resource Name (ARN) of the assessment. The format for this ARN is: + * arn:partition:resiliencehub:region:account:app-assessment/app-id. + * For more information about ARNs, see + * Amazon Resource Names (ARNs) in the Amazon Web Services General + * Reference guide.

                          + */ + inline bool AssessmentArnHasBeenSet() const { return m_assessmentArnHasBeenSet; } + + /** + *

                          Amazon Resource Name (ARN) of the assessment. The format for this ARN is: + * arn:partition:resiliencehub:region:account:app-assessment/app-id. + * For more information about ARNs, see + * Amazon Resource Names (ARNs) in the Amazon Web Services General + * Reference guide.

                          + */ + inline void SetAssessmentArn(const Aws::String& value) { m_assessmentArnHasBeenSet = true; m_assessmentArn = value; } + + /** + *

                          Amazon Resource Name (ARN) of the assessment. The format for this ARN is: + * arn:partition:resiliencehub:region:account:app-assessment/app-id. + * For more information about ARNs, see + * Amazon Resource Names (ARNs) in the Amazon Web Services General + * Reference guide.

                          + */ + inline void SetAssessmentArn(Aws::String&& value) { m_assessmentArnHasBeenSet = true; m_assessmentArn = std::move(value); } + + /** + *

                          Amazon Resource Name (ARN) of the assessment. The format for this ARN is: + * arn:partition:resiliencehub:region:account:app-assessment/app-id. + * For more information about ARNs, see + * Amazon Resource Names (ARNs) in the Amazon Web Services General + * Reference guide.

                          + */ + inline void SetAssessmentArn(const char* value) { m_assessmentArnHasBeenSet = true; m_assessmentArn.assign(value); } + + /** + *

                          Amazon Resource Name (ARN) of the assessment. The format for this ARN is: + * arn:partition:resiliencehub:region:account:app-assessment/app-id. + * For more information about ARNs, see + * Amazon Resource Names (ARNs) in the Amazon Web Services General + * Reference guide.

                          + */ + inline ListAppAssessmentResourceDriftsRequest& WithAssessmentArn(const Aws::String& value) { SetAssessmentArn(value); return *this;} + + /** + *

                          Amazon Resource Name (ARN) of the assessment. The format for this ARN is: + * arn:partition:resiliencehub:region:account:app-assessment/app-id. + * For more information about ARNs, see + * Amazon Resource Names (ARNs) in the Amazon Web Services General + * Reference guide.

                          + */ + inline ListAppAssessmentResourceDriftsRequest& WithAssessmentArn(Aws::String&& value) { SetAssessmentArn(std::move(value)); return *this;} + + /** + *

                          Amazon Resource Name (ARN) of the assessment. The format for this ARN is: + * arn:partition:resiliencehub:region:account:app-assessment/app-id. + * For more information about ARNs, see + * Amazon Resource Names (ARNs) in the Amazon Web Services General + * Reference guide.

                          + */ + inline ListAppAssessmentResourceDriftsRequest& WithAssessmentArn(const char* value) { SetAssessmentArn(value); return *this;} + + + /** + *

                          Indicates the maximum number of drift results to include in the response. If + * more results exist than the specified MaxResults value, a token is + * included in the response so that the remaining results can be retrieved.

                          + */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

                          Indicates the maximum number of drift results to include in the response. If + * more results exist than the specified MaxResults value, a token is + * included in the response so that the remaining results can be retrieved.

                          + */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

                          Indicates the maximum number of drift results to include in the response. If + * more results exist than the specified MaxResults value, a token is + * included in the response so that the remaining results can be retrieved.

                          + */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

                          Indicates the maximum number of drift results to include in the response. If + * more results exist than the specified MaxResults value, a token is + * included in the response so that the remaining results can be retrieved.

                          + */ + inline ListAppAssessmentResourceDriftsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

                          Null, or the token from a previous call to get the next set of results.

                          + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

                          Null, or the token from a previous call to get the next set of results.

                          + */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

                          Null, or the token from a previous call to get the next set of results.

                          + */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

                          Null, or the token from a previous call to get the next set of results.

                          + */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

                          Null, or the token from a previous call to get the next set of results.

                          + */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

                          Null, or the token from a previous call to get the next set of results.

                          + */ + inline ListAppAssessmentResourceDriftsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

                          Null, or the token from a previous call to get the next set of results.

                          + */ + inline ListAppAssessmentResourceDriftsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

                          Null, or the token from a previous call to get the next set of results.

                          + */ + inline ListAppAssessmentResourceDriftsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + private: + + Aws::String m_assessmentArn; + bool m_assessmentArnHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace ResilienceHub +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/ListAppAssessmentResourceDriftsResult.h b/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/ListAppAssessmentResourceDriftsResult.h new file mode 100644 index 00000000000..d5832c4df39 --- /dev/null +++ b/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/ListAppAssessmentResourceDriftsResult.h @@ -0,0 +1,141 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace ResilienceHub +{ +namespace Model +{ + class ListAppAssessmentResourceDriftsResult + { + public: + AWS_RESILIENCEHUB_API ListAppAssessmentResourceDriftsResult(); + AWS_RESILIENCEHUB_API ListAppAssessmentResourceDriftsResult(const Aws::AmazonWebServiceResult& result); + AWS_RESILIENCEHUB_API ListAppAssessmentResourceDriftsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

                          Null, or the token from a previous call to get the next set of results.

                          + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

                          Null, or the token from a previous call to get the next set of results.

                          + */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

                          Null, or the token from a previous call to get the next set of results.

                          + */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

                          Null, or the token from a previous call to get the next set of results.

                          + */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

                          Null, or the token from a previous call to get the next set of results.

                          + */ + inline ListAppAssessmentResourceDriftsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

                          Null, or the token from a previous call to get the next set of results.

                          + */ + inline ListAppAssessmentResourceDriftsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

                          Null, or the token from a previous call to get the next set of results.

                          + */ + inline ListAppAssessmentResourceDriftsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

                          Indicates all the resource drifts detected for an assessed entity.

                          + */ + inline const Aws::Vector& GetResourceDrifts() const{ return m_resourceDrifts; } + + /** + *

                          Indicates all the resource drifts detected for an assessed entity.

                          + */ + inline void SetResourceDrifts(const Aws::Vector& value) { m_resourceDrifts = value; } + + /** + *

                          Indicates all the resource drifts detected for an assessed entity.

                          + */ + inline void SetResourceDrifts(Aws::Vector&& value) { m_resourceDrifts = std::move(value); } + + /** + *

                          Indicates all the resource drifts detected for an assessed entity.

                          + */ + inline ListAppAssessmentResourceDriftsResult& WithResourceDrifts(const Aws::Vector& value) { SetResourceDrifts(value); return *this;} + + /** + *

                          Indicates all the resource drifts detected for an assessed entity.

                          + */ + inline ListAppAssessmentResourceDriftsResult& WithResourceDrifts(Aws::Vector&& value) { SetResourceDrifts(std::move(value)); return *this;} + + /** + *

                          Indicates all the resource drifts detected for an assessed entity.

                          + */ + inline ListAppAssessmentResourceDriftsResult& AddResourceDrifts(const ResourceDrift& value) { m_resourceDrifts.push_back(value); return *this; } + + /** + *

                          Indicates all the resource drifts detected for an assessed entity.

                          + */ + inline ListAppAssessmentResourceDriftsResult& AddResourceDrifts(ResourceDrift&& value) { m_resourceDrifts.push_back(std::move(value)); return *this; } + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListAppAssessmentResourceDriftsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListAppAssessmentResourceDriftsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListAppAssessmentResourceDriftsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_nextToken; + + Aws::Vector m_resourceDrifts; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace ResilienceHub +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/PhysicalResource.h b/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/PhysicalResource.h index 965befa145d..161530e6dd5 100644 --- a/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/PhysicalResource.h +++ b/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/PhysicalResource.h @@ -409,42 +409,42 @@ namespace Model /** - *

                          The type of resource.

                          + *

                          Type of resource.

                          */ inline const Aws::String& GetResourceType() const{ return m_resourceType; } /** - *

                          The type of resource.

                          + *

                          Type of resource.

                          */ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** - *

                          The type of resource.

                          + *

                          Type of resource.

                          */ inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** - *

                          The type of resource.

                          + *

                          Type of resource.

                          */ inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** - *

                          The type of resource.

                          + *

                          Type of resource.

                          */ inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } /** - *

                          The type of resource.

                          + *

                          Type of resource.

                          */ inline PhysicalResource& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} /** - *

                          The type of resource.

                          + *

                          Type of resource.

                          */ inline PhysicalResource& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} /** - *

                          The type of resource.

                          + *

                          Type of resource.

                          */ inline PhysicalResource& WithResourceType(const char* value) { SetResourceType(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/ResourceDrift.h b/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/ResourceDrift.h new file mode 100644 index 00000000000..013e4e76e66 --- /dev/null +++ b/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/ResourceDrift.h @@ -0,0 +1,295 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace ResilienceHub +{ +namespace Model +{ + + /** + *

                          Indicates the resources that have drifted in the current application + * version.

                          See Also:

                          AWS + * API Reference

                          + */ + class ResourceDrift + { + public: + AWS_RESILIENCEHUB_API ResourceDrift(); + AWS_RESILIENCEHUB_API ResourceDrift(Aws::Utils::Json::JsonView jsonValue); + AWS_RESILIENCEHUB_API ResourceDrift& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

                          Amazon Resource Name (ARN) of the application whose resources have drifted. + * The format for this ARN is: + * arn:partition:resiliencehub:region:account:app-assessment/app-id. + * For more information about ARNs, see + * Amazon Resource Names (ARNs) in the Amazon Web Services General + * Reference guide.

                          + */ + inline const Aws::String& GetAppArn() const{ return m_appArn; } + + /** + *

                          Amazon Resource Name (ARN) of the application whose resources have drifted. + * The format for this ARN is: + * arn:partition:resiliencehub:region:account:app-assessment/app-id. + * For more information about ARNs, see + * Amazon Resource Names (ARNs) in the Amazon Web Services General + * Reference guide.

                          + */ + inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; } + + /** + *

                          Amazon Resource Name (ARN) of the application whose resources have drifted. + * The format for this ARN is: + * arn:partition:resiliencehub:region:account:app-assessment/app-id. + * For more information about ARNs, see + * Amazon Resource Names (ARNs) in the Amazon Web Services General + * Reference guide.

                          + */ + inline void SetAppArn(const Aws::String& value) { m_appArnHasBeenSet = true; m_appArn = value; } + + /** + *

                          Amazon Resource Name (ARN) of the application whose resources have drifted. + * The format for this ARN is: + * arn:partition:resiliencehub:region:account:app-assessment/app-id. + * For more information about ARNs, see + * Amazon Resource Names (ARNs) in the Amazon Web Services General + * Reference guide.

                          + */ + inline void SetAppArn(Aws::String&& value) { m_appArnHasBeenSet = true; m_appArn = std::move(value); } + + /** + *

                          Amazon Resource Name (ARN) of the application whose resources have drifted. + * The format for this ARN is: + * arn:partition:resiliencehub:region:account:app-assessment/app-id. + * For more information about ARNs, see + * Amazon Resource Names (ARNs) in the Amazon Web Services General + * Reference guide.

                          + */ + inline void SetAppArn(const char* value) { m_appArnHasBeenSet = true; m_appArn.assign(value); } + + /** + *

                          Amazon Resource Name (ARN) of the application whose resources have drifted. + * The format for this ARN is: + * arn:partition:resiliencehub:region:account:app-assessment/app-id. + * For more information about ARNs, see + * Amazon Resource Names (ARNs) in the Amazon Web Services General + * Reference guide.

                          + */ + inline ResourceDrift& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;} + + /** + *

                          Amazon Resource Name (ARN) of the application whose resources have drifted. + * The format for this ARN is: + * arn:partition:resiliencehub:region:account:app-assessment/app-id. + * For more information about ARNs, see + * Amazon Resource Names (ARNs) in the Amazon Web Services General + * Reference guide.

                          + */ + inline ResourceDrift& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;} + + /** + *

                          Amazon Resource Name (ARN) of the application whose resources have drifted. + * The format for this ARN is: + * arn:partition:resiliencehub:region:account:app-assessment/app-id. + * For more information about ARNs, see + * Amazon Resource Names (ARNs) in the Amazon Web Services General + * Reference guide.

                          + */ + inline ResourceDrift& WithAppArn(const char* value) { SetAppArn(value); return *this;} + + + /** + *

                          Version of the application whose resources have drifted.

                          + */ + inline const Aws::String& GetAppVersion() const{ return m_appVersion; } + + /** + *

                          Version of the application whose resources have drifted.

                          + */ + inline bool AppVersionHasBeenSet() const { return m_appVersionHasBeenSet; } + + /** + *

                          Version of the application whose resources have drifted.

                          + */ + inline void SetAppVersion(const Aws::String& value) { m_appVersionHasBeenSet = true; m_appVersion = value; } + + /** + *

                          Version of the application whose resources have drifted.

                          + */ + inline void SetAppVersion(Aws::String&& value) { m_appVersionHasBeenSet = true; m_appVersion = std::move(value); } + + /** + *

                          Version of the application whose resources have drifted.

                          + */ + inline void SetAppVersion(const char* value) { m_appVersionHasBeenSet = true; m_appVersion.assign(value); } + + /** + *

                          Version of the application whose resources have drifted.

                          + */ + inline ResourceDrift& WithAppVersion(const Aws::String& value) { SetAppVersion(value); return *this;} + + /** + *

                          Version of the application whose resources have drifted.

                          + */ + inline ResourceDrift& WithAppVersion(Aws::String&& value) { SetAppVersion(std::move(value)); return *this;} + + /** + *

                          Version of the application whose resources have drifted.

                          + */ + inline ResourceDrift& WithAppVersion(const char* value) { SetAppVersion(value); return *this;} + + + /** + *

                          Indicates if the resource was added or removed.

                          + */ + inline const DifferenceType& GetDiffType() const{ return m_diffType; } + + /** + *

                          Indicates if the resource was added or removed.

                          + */ + inline bool DiffTypeHasBeenSet() const { return m_diffTypeHasBeenSet; } + + /** + *

                          Indicates if the resource was added or removed.

                          + */ + inline void SetDiffType(const DifferenceType& value) { m_diffTypeHasBeenSet = true; m_diffType = value; } + + /** + *

                          Indicates if the resource was added or removed.

                          + */ + inline void SetDiffType(DifferenceType&& value) { m_diffTypeHasBeenSet = true; m_diffType = std::move(value); } + + /** + *

                          Indicates if the resource was added or removed.

                          + */ + inline ResourceDrift& WithDiffType(const DifferenceType& value) { SetDiffType(value); return *this;} + + /** + *

                          Indicates if the resource was added or removed.

                          + */ + inline ResourceDrift& WithDiffType(DifferenceType&& value) { SetDiffType(std::move(value)); return *this;} + + + /** + *

                          Reference identifier of the resource drift.

                          + */ + inline const Aws::String& GetReferenceId() const{ return m_referenceId; } + + /** + *

                          Reference identifier of the resource drift.

                          + */ + inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; } + + /** + *

                          Reference identifier of the resource drift.

                          + */ + inline void SetReferenceId(const Aws::String& value) { m_referenceIdHasBeenSet = true; m_referenceId = value; } + + /** + *

                          Reference identifier of the resource drift.

                          + */ + inline void SetReferenceId(Aws::String&& value) { m_referenceIdHasBeenSet = true; m_referenceId = std::move(value); } + + /** + *

                          Reference identifier of the resource drift.

                          + */ + inline void SetReferenceId(const char* value) { m_referenceIdHasBeenSet = true; m_referenceId.assign(value); } + + /** + *

                          Reference identifier of the resource drift.

                          + */ + inline ResourceDrift& WithReferenceId(const Aws::String& value) { SetReferenceId(value); return *this;} + + /** + *

                          Reference identifier of the resource drift.

                          + */ + inline ResourceDrift& WithReferenceId(Aws::String&& value) { SetReferenceId(std::move(value)); return *this;} + + /** + *

                          Reference identifier of the resource drift.

                          + */ + inline ResourceDrift& WithReferenceId(const char* value) { SetReferenceId(value); return *this;} + + + /** + *

                          Identifier of the drifted resource.

                          + */ + inline const ResourceIdentifier& GetResourceIdentifier() const{ return m_resourceIdentifier; } + + /** + *

                          Identifier of the drifted resource.

                          + */ + inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; } + + /** + *

                          Identifier of the drifted resource.

                          + */ + inline void SetResourceIdentifier(const ResourceIdentifier& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; } + + /** + *

                          Identifier of the drifted resource.

                          + */ + inline void SetResourceIdentifier(ResourceIdentifier&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); } + + /** + *

                          Identifier of the drifted resource.

                          + */ + inline ResourceDrift& WithResourceIdentifier(const ResourceIdentifier& value) { SetResourceIdentifier(value); return *this;} + + /** + *

                          Identifier of the drifted resource.

                          + */ + inline ResourceDrift& WithResourceIdentifier(ResourceIdentifier&& value) { SetResourceIdentifier(std::move(value)); return *this;} + + private: + + Aws::String m_appArn; + bool m_appArnHasBeenSet = false; + + Aws::String m_appVersion; + bool m_appVersionHasBeenSet = false; + + DifferenceType m_diffType; + bool m_diffTypeHasBeenSet = false; + + Aws::String m_referenceId; + bool m_referenceIdHasBeenSet = false; + + ResourceIdentifier m_resourceIdentifier; + bool m_resourceIdentifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace ResilienceHub +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/ResourceIdentifier.h b/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/ResourceIdentifier.h new file mode 100644 index 00000000000..5b8b01ba3af --- /dev/null +++ b/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/ResourceIdentifier.h @@ -0,0 +1,124 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace ResilienceHub +{ +namespace Model +{ + + /** + *

                          Defines a resource identifier for the drifted resource.

                          See + * Also:

                          AWS + * API Reference

                          + */ + class ResourceIdentifier + { + public: + AWS_RESILIENCEHUB_API ResourceIdentifier(); + AWS_RESILIENCEHUB_API ResourceIdentifier(Aws::Utils::Json::JsonView jsonValue); + AWS_RESILIENCEHUB_API ResourceIdentifier& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

                          Logical identifier of the drifted resource.

                          + */ + inline const LogicalResourceId& GetLogicalResourceId() const{ return m_logicalResourceId; } + + /** + *

                          Logical identifier of the drifted resource.

                          + */ + inline bool LogicalResourceIdHasBeenSet() const { return m_logicalResourceIdHasBeenSet; } + + /** + *

                          Logical identifier of the drifted resource.

                          + */ + inline void SetLogicalResourceId(const LogicalResourceId& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = value; } + + /** + *

                          Logical identifier of the drifted resource.

                          + */ + inline void SetLogicalResourceId(LogicalResourceId&& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = std::move(value); } + + /** + *

                          Logical identifier of the drifted resource.

                          + */ + inline ResourceIdentifier& WithLogicalResourceId(const LogicalResourceId& value) { SetLogicalResourceId(value); return *this;} + + /** + *

                          Logical identifier of the drifted resource.

                          + */ + inline ResourceIdentifier& WithLogicalResourceId(LogicalResourceId&& value) { SetLogicalResourceId(std::move(value)); return *this;} + + + /** + *

                          Type of the drifted resource.

                          + */ + inline const Aws::String& GetResourceType() const{ return m_resourceType; } + + /** + *

                          Type of the drifted resource.

                          + */ + inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } + + /** + *

                          Type of the drifted resource.

                          + */ + inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } + + /** + *

                          Type of the drifted resource.

                          + */ + inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } + + /** + *

                          Type of the drifted resource.

                          + */ + inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } + + /** + *

                          Type of the drifted resource.

                          + */ + inline ResourceIdentifier& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} + + /** + *

                          Type of the drifted resource.

                          + */ + inline ResourceIdentifier& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} + + /** + *

                          Type of the drifted resource.

                          + */ + inline ResourceIdentifier& WithResourceType(const char* value) { SetResourceType(value); return *this;} + + private: + + LogicalResourceId m_logicalResourceId; + bool m_logicalResourceIdHasBeenSet = false; + + Aws::String m_resourceType; + bool m_resourceTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace ResilienceHub +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/ResourceMapping.h b/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/ResourceMapping.h index 9b62f1ae067..190bb653c3b 100644 --- a/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/ResourceMapping.h +++ b/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/ResourceMapping.h @@ -40,225 +40,195 @@ namespace Model /** - *

                          The name of the application this resource is mapped to.

                          + *

                          Name of the application this resource is mapped to when the + * mappingType is AppRegistryApp.

                          */ inline const Aws::String& GetAppRegistryAppName() const{ return m_appRegistryAppName; } /** - *

                          The name of the application this resource is mapped to.

                          + *

                          Name of the application this resource is mapped to when the + * mappingType is AppRegistryApp.

                          */ inline bool AppRegistryAppNameHasBeenSet() const { return m_appRegistryAppNameHasBeenSet; } /** - *

                          The name of the application this resource is mapped to.

                          + *

                          Name of the application this resource is mapped to when the + * mappingType is AppRegistryApp.

                          */ inline void SetAppRegistryAppName(const Aws::String& value) { m_appRegistryAppNameHasBeenSet = true; m_appRegistryAppName = value; } /** - *

                          The name of the application this resource is mapped to.

                          + *

                          Name of the application this resource is mapped to when the + * mappingType is AppRegistryApp.

                          */ inline void SetAppRegistryAppName(Aws::String&& value) { m_appRegistryAppNameHasBeenSet = true; m_appRegistryAppName = std::move(value); } /** - *

                          The name of the application this resource is mapped to.

                          + *

                          Name of the application this resource is mapped to when the + * mappingType is AppRegistryApp.

                          */ inline void SetAppRegistryAppName(const char* value) { m_appRegistryAppNameHasBeenSet = true; m_appRegistryAppName.assign(value); } /** - *

                          The name of the application this resource is mapped to.

                          + *

                          Name of the application this resource is mapped to when the + * mappingType is AppRegistryApp.

                          */ inline ResourceMapping& WithAppRegistryAppName(const Aws::String& value) { SetAppRegistryAppName(value); return *this;} /** - *

                          The name of the application this resource is mapped to.

                          + *

                          Name of the application this resource is mapped to when the + * mappingType is AppRegistryApp.

                          */ inline ResourceMapping& WithAppRegistryAppName(Aws::String&& value) { SetAppRegistryAppName(std::move(value)); return *this;} /** - *

                          The name of the application this resource is mapped to.

                          + *

                          Name of the application this resource is mapped to when the + * mappingType is AppRegistryApp.

                          */ inline ResourceMapping& WithAppRegistryAppName(const char* value) { SetAppRegistryAppName(value); return *this;} /** - *

                          Name of the Amazon Elastic Kubernetes Service cluster and namespace this - * resource belongs to.

                          This parameter accepts values in - * "eks-cluster/namespace" format.

                          + *

                          Name of the Amazon Elastic Kubernetes Service cluster and namespace that this + * resource is mapped to when the mappingType is EKS.

                          + *

                          This parameter accepts values in "eks-cluster/namespace" format.

                          + * */ inline const Aws::String& GetEksSourceName() const{ return m_eksSourceName; } /** - *

                          Name of the Amazon Elastic Kubernetes Service cluster and namespace this - * resource belongs to.

                          This parameter accepts values in - * "eks-cluster/namespace" format.

                          + *

                          Name of the Amazon Elastic Kubernetes Service cluster and namespace that this + * resource is mapped to when the mappingType is EKS.

                          + *

                          This parameter accepts values in "eks-cluster/namespace" format.

                          + * */ inline bool EksSourceNameHasBeenSet() const { return m_eksSourceNameHasBeenSet; } /** - *

                          Name of the Amazon Elastic Kubernetes Service cluster and namespace this - * resource belongs to.

                          This parameter accepts values in - * "eks-cluster/namespace" format.

                          + *

                          Name of the Amazon Elastic Kubernetes Service cluster and namespace that this + * resource is mapped to when the mappingType is EKS.

                          + *

                          This parameter accepts values in "eks-cluster/namespace" format.

                          + * */ inline void SetEksSourceName(const Aws::String& value) { m_eksSourceNameHasBeenSet = true; m_eksSourceName = value; } /** - *

                          Name of the Amazon Elastic Kubernetes Service cluster and namespace this - * resource belongs to.

                          This parameter accepts values in - * "eks-cluster/namespace" format.

                          + *

                          Name of the Amazon Elastic Kubernetes Service cluster and namespace that this + * resource is mapped to when the mappingType is EKS.

                          + *

                          This parameter accepts values in "eks-cluster/namespace" format.

                          + * */ inline void SetEksSourceName(Aws::String&& value) { m_eksSourceNameHasBeenSet = true; m_eksSourceName = std::move(value); } /** - *

                          Name of the Amazon Elastic Kubernetes Service cluster and namespace this - * resource belongs to.

                          This parameter accepts values in - * "eks-cluster/namespace" format.

                          + *

                          Name of the Amazon Elastic Kubernetes Service cluster and namespace that this + * resource is mapped to when the mappingType is EKS.

                          + *

                          This parameter accepts values in "eks-cluster/namespace" format.

                          + * */ inline void SetEksSourceName(const char* value) { m_eksSourceNameHasBeenSet = true; m_eksSourceName.assign(value); } /** - *

                          Name of the Amazon Elastic Kubernetes Service cluster and namespace this - * resource belongs to.

                          This parameter accepts values in - * "eks-cluster/namespace" format.

                          + *

                          Name of the Amazon Elastic Kubernetes Service cluster and namespace that this + * resource is mapped to when the mappingType is EKS.

                          + *

                          This parameter accepts values in "eks-cluster/namespace" format.

                          + * */ inline ResourceMapping& WithEksSourceName(const Aws::String& value) { SetEksSourceName(value); return *this;} /** - *

                          Name of the Amazon Elastic Kubernetes Service cluster and namespace this - * resource belongs to.

                          This parameter accepts values in - * "eks-cluster/namespace" format.

                          + *

                          Name of the Amazon Elastic Kubernetes Service cluster and namespace that this + * resource is mapped to when the mappingType is EKS.

                          + *

                          This parameter accepts values in "eks-cluster/namespace" format.

                          + * */ inline ResourceMapping& WithEksSourceName(Aws::String&& value) { SetEksSourceName(std::move(value)); return *this;} /** - *

                          Name of the Amazon Elastic Kubernetes Service cluster and namespace this - * resource belongs to.

                          This parameter accepts values in - * "eks-cluster/namespace" format.

                          + *

                          Name of the Amazon Elastic Kubernetes Service cluster and namespace that this + * resource is mapped to when the mappingType is EKS.

                          + *

                          This parameter accepts values in "eks-cluster/namespace" format.

                          + * */ inline ResourceMapping& WithEksSourceName(const char* value) { SetEksSourceName(value); return *this;} /** - *

                          The name of the CloudFormation stack this resource is mapped to.

                          + *

                          Name of the CloudFormation stack this resource is mapped to when the + * mappingType is CfnStack.

                          */ inline const Aws::String& GetLogicalStackName() const{ return m_logicalStackName; } /** - *

                          The name of the CloudFormation stack this resource is mapped to.

                          + *

                          Name of the CloudFormation stack this resource is mapped to when the + * mappingType is CfnStack.

                          */ inline bool LogicalStackNameHasBeenSet() const { return m_logicalStackNameHasBeenSet; } /** - *

                          The name of the CloudFormation stack this resource is mapped to.

                          + *

                          Name of the CloudFormation stack this resource is mapped to when the + * mappingType is CfnStack.

                          */ inline void SetLogicalStackName(const Aws::String& value) { m_logicalStackNameHasBeenSet = true; m_logicalStackName = value; } /** - *

                          The name of the CloudFormation stack this resource is mapped to.

                          + *

                          Name of the CloudFormation stack this resource is mapped to when the + * mappingType is CfnStack.

                          */ inline void SetLogicalStackName(Aws::String&& value) { m_logicalStackNameHasBeenSet = true; m_logicalStackName = std::move(value); } /** - *

                          The name of the CloudFormation stack this resource is mapped to.

                          + *

                          Name of the CloudFormation stack this resource is mapped to when the + * mappingType is CfnStack.

                          */ inline void SetLogicalStackName(const char* value) { m_logicalStackNameHasBeenSet = true; m_logicalStackName.assign(value); } /** - *

                          The name of the CloudFormation stack this resource is mapped to.

                          + *

                          Name of the CloudFormation stack this resource is mapped to when the + * mappingType is CfnStack.

                          */ inline ResourceMapping& WithLogicalStackName(const Aws::String& value) { SetLogicalStackName(value); return *this;} /** - *

                          The name of the CloudFormation stack this resource is mapped to.

                          + *

                          Name of the CloudFormation stack this resource is mapped to when the + * mappingType is CfnStack.

                          */ inline ResourceMapping& WithLogicalStackName(Aws::String&& value) { SetLogicalStackName(std::move(value)); return *this;} /** - *

                          The name of the CloudFormation stack this resource is mapped to.

                          + *

                          Name of the CloudFormation stack this resource is mapped to when the + * mappingType is CfnStack.

                          */ inline ResourceMapping& WithLogicalStackName(const char* value) { SetLogicalStackName(value); return *this;} /** - *

                          Specifies the type of resource mapping.

                          AppRegistryApp
                          - *

                          The resource is mapped to another application. The name of the application is - * contained in the appRegistryAppName property.

                          - *
                          CfnStack

                          The resource is mapped to a CloudFormation stack. The - * name of the CloudFormation stack is contained in the - * logicalStackName property.

                          Resource

                          The - * resource is mapped to another resource. The name of the resource is contained in - * the resourceName property.

                          ResourceGroup
                          - *

                          The resource is mapped to Resource Groups. The name of the resource group is - * contained in the resourceGroupName property.

                          + *

                          Specifies the type of resource mapping.

                          */ inline const ResourceMappingType& GetMappingType() const{ return m_mappingType; } /** - *

                          Specifies the type of resource mapping.

                          AppRegistryApp
                          - *

                          The resource is mapped to another application. The name of the application is - * contained in the appRegistryAppName property.

                          - *
                          CfnStack

                          The resource is mapped to a CloudFormation stack. The - * name of the CloudFormation stack is contained in the - * logicalStackName property.

                          Resource

                          The - * resource is mapped to another resource. The name of the resource is contained in - * the resourceName property.

                          ResourceGroup
                          - *

                          The resource is mapped to Resource Groups. The name of the resource group is - * contained in the resourceGroupName property.

                          + *

                          Specifies the type of resource mapping.

                          */ inline bool MappingTypeHasBeenSet() const { return m_mappingTypeHasBeenSet; } /** - *

                          Specifies the type of resource mapping.

                          AppRegistryApp
                          - *

                          The resource is mapped to another application. The name of the application is - * contained in the appRegistryAppName property.

                          - *
                          CfnStack

                          The resource is mapped to a CloudFormation stack. The - * name of the CloudFormation stack is contained in the - * logicalStackName property.

                          Resource

                          The - * resource is mapped to another resource. The name of the resource is contained in - * the resourceName property.

                          ResourceGroup
                          - *

                          The resource is mapped to Resource Groups. The name of the resource group is - * contained in the resourceGroupName property.

                          + *

                          Specifies the type of resource mapping.

                          */ inline void SetMappingType(const ResourceMappingType& value) { m_mappingTypeHasBeenSet = true; m_mappingType = value; } /** - *

                          Specifies the type of resource mapping.

                          AppRegistryApp
                          - *

                          The resource is mapped to another application. The name of the application is - * contained in the appRegistryAppName property.

                          - *
                          CfnStack

                          The resource is mapped to a CloudFormation stack. The - * name of the CloudFormation stack is contained in the - * logicalStackName property.

                          Resource

                          The - * resource is mapped to another resource. The name of the resource is contained in - * the resourceName property.

                          ResourceGroup
                          - *

                          The resource is mapped to Resource Groups. The name of the resource group is - * contained in the resourceGroupName property.

                          + *

                          Specifies the type of resource mapping.

                          */ inline void SetMappingType(ResourceMappingType&& value) { m_mappingTypeHasBeenSet = true; m_mappingType = std::move(value); } /** - *

                          Specifies the type of resource mapping.

                          AppRegistryApp
                          - *

                          The resource is mapped to another application. The name of the application is - * contained in the appRegistryAppName property.

                          - *
                          CfnStack

                          The resource is mapped to a CloudFormation stack. The - * name of the CloudFormation stack is contained in the - * logicalStackName property.

                          Resource

                          The - * resource is mapped to another resource. The name of the resource is contained in - * the resourceName property.

                          ResourceGroup
                          - *

                          The resource is mapped to Resource Groups. The name of the resource group is - * contained in the resourceGroupName property.

                          + *

                          Specifies the type of resource mapping.

                          */ inline ResourceMapping& WithMappingType(const ResourceMappingType& value) { SetMappingType(value); return *this;} /** - *

                          Specifies the type of resource mapping.

                          AppRegistryApp
                          - *

                          The resource is mapped to another application. The name of the application is - * contained in the appRegistryAppName property.

                          - *
                          CfnStack

                          The resource is mapped to a CloudFormation stack. The - * name of the CloudFormation stack is contained in the - * logicalStackName property.

                          Resource

                          The - * resource is mapped to another resource. The name of the resource is contained in - * the resourceName property.

                          ResourceGroup
                          - *

                          The resource is mapped to Resource Groups. The name of the resource group is - * contained in the resourceGroupName property.

                          + *

                          Specifies the type of resource mapping.

                          */ inline ResourceMapping& WithMappingType(ResourceMappingType&& value) { SetMappingType(std::move(value)); return *this;} @@ -295,124 +265,148 @@ namespace Model /** - *

                          Name of the resource group that the resource is mapped to.

                          + *

                          Name of the Resource Groups that this resource is mapped to when the + * mappingType is ResourceGroup.

                          */ inline const Aws::String& GetResourceGroupName() const{ return m_resourceGroupName; } /** - *

                          Name of the resource group that the resource is mapped to.

                          + *

                          Name of the Resource Groups that this resource is mapped to when the + * mappingType is ResourceGroup.

                          */ inline bool ResourceGroupNameHasBeenSet() const { return m_resourceGroupNameHasBeenSet; } /** - *

                          Name of the resource group that the resource is mapped to.

                          + *

                          Name of the Resource Groups that this resource is mapped to when the + * mappingType is ResourceGroup.

                          */ inline void SetResourceGroupName(const Aws::String& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = value; } /** - *

                          Name of the resource group that the resource is mapped to.

                          + *

                          Name of the Resource Groups that this resource is mapped to when the + * mappingType is ResourceGroup.

                          */ inline void SetResourceGroupName(Aws::String&& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = std::move(value); } /** - *

                          Name of the resource group that the resource is mapped to.

                          + *

                          Name of the Resource Groups that this resource is mapped to when the + * mappingType is ResourceGroup.

                          */ inline void SetResourceGroupName(const char* value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName.assign(value); } /** - *

                          Name of the resource group that the resource is mapped to.

                          + *

                          Name of the Resource Groups that this resource is mapped to when the + * mappingType is ResourceGroup.

                          */ inline ResourceMapping& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;} /** - *

                          Name of the resource group that the resource is mapped to.

                          + *

                          Name of the Resource Groups that this resource is mapped to when the + * mappingType is ResourceGroup.

                          */ inline ResourceMapping& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;} /** - *

                          Name of the resource group that the resource is mapped to.

                          + *

                          Name of the Resource Groups that this resource is mapped to when the + * mappingType is ResourceGroup.

                          */ inline ResourceMapping& WithResourceGroupName(const char* value) { SetResourceGroupName(value); return *this;} /** - *

                          Name of the resource that the resource is mapped to.

                          + *

                          Name of the resource that this resource is mapped to when the + * mappingType is Resource.

                          */ inline const Aws::String& GetResourceName() const{ return m_resourceName; } /** - *

                          Name of the resource that the resource is mapped to.

                          + *

                          Name of the resource that this resource is mapped to when the + * mappingType is Resource.

                          */ inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; } /** - *

                          Name of the resource that the resource is mapped to.

                          + *

                          Name of the resource that this resource is mapped to when the + * mappingType is Resource.

                          */ inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; } /** - *

                          Name of the resource that the resource is mapped to.

                          + *

                          Name of the resource that this resource is mapped to when the + * mappingType is Resource.

                          */ inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); } /** - *

                          Name of the resource that the resource is mapped to.

                          + *

                          Name of the resource that this resource is mapped to when the + * mappingType is Resource.

                          */ inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); } /** - *

                          Name of the resource that the resource is mapped to.

                          + *

                          Name of the resource that this resource is mapped to when the + * mappingType is Resource.

                          */ inline ResourceMapping& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;} /** - *

                          Name of the resource that the resource is mapped to.

                          + *

                          Name of the resource that this resource is mapped to when the + * mappingType is Resource.

                          */ inline ResourceMapping& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;} /** - *

                          Name of the resource that the resource is mapped to.

                          + *

                          Name of the resource that this resource is mapped to when the + * mappingType is Resource.

                          */ inline ResourceMapping& WithResourceName(const char* value) { SetResourceName(value); return *this;} /** - *

                          The short name of the Terraform source.

                          + *

                          Name of the Terraform source that this resource is mapped to when the + * mappingType is Terraform.

                          */ inline const Aws::String& GetTerraformSourceName() const{ return m_terraformSourceName; } /** - *

                          The short name of the Terraform source.

                          + *

                          Name of the Terraform source that this resource is mapped to when the + * mappingType is Terraform.

                          */ inline bool TerraformSourceNameHasBeenSet() const { return m_terraformSourceNameHasBeenSet; } /** - *

                          The short name of the Terraform source.

                          + *

                          Name of the Terraform source that this resource is mapped to when the + * mappingType is Terraform.

                          */ inline void SetTerraformSourceName(const Aws::String& value) { m_terraformSourceNameHasBeenSet = true; m_terraformSourceName = value; } /** - *

                          The short name of the Terraform source.

                          + *

                          Name of the Terraform source that this resource is mapped to when the + * mappingType is Terraform.

                          */ inline void SetTerraformSourceName(Aws::String&& value) { m_terraformSourceNameHasBeenSet = true; m_terraformSourceName = std::move(value); } /** - *

                          The short name of the Terraform source.

                          + *

                          Name of the Terraform source that this resource is mapped to when the + * mappingType is Terraform.

                          */ inline void SetTerraformSourceName(const char* value) { m_terraformSourceNameHasBeenSet = true; m_terraformSourceName.assign(value); } /** - *

                          The short name of the Terraform source.

                          + *

                          Name of the Terraform source that this resource is mapped to when the + * mappingType is Terraform.

                          */ inline ResourceMapping& WithTerraformSourceName(const Aws::String& value) { SetTerraformSourceName(value); return *this;} /** - *

                          The short name of the Terraform source.

                          + *

                          Name of the Terraform source that this resource is mapped to when the + * mappingType is Terraform.

                          */ inline ResourceMapping& WithTerraformSourceName(Aws::String&& value) { SetTerraformSourceName(std::move(value)); return *this;} /** - *

                          The short name of the Terraform source.

                          + *

                          Name of the Terraform source that this resource is mapped to when the + * mappingType is Terraform.

                          */ inline ResourceMapping& WithTerraformSourceName(const char* value) { SetTerraformSourceName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/ScoringComponentResiliencyScore.h b/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/ScoringComponentResiliencyScore.h index 950e2f38610..76b6cc90343 100644 --- a/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/ScoringComponentResiliencyScore.h +++ b/generated/src/aws-cpp-sdk-resiliencehub/include/aws/resiliencehub/model/ScoringComponentResiliencyScore.h @@ -40,132 +40,136 @@ namespace Model /** *

                          Number of recommendations that were excluded from the assessment.

                          For - * example, if the Excluded count for Resilience Hub recommended - * Amazon CloudWatch alarms is 7, it indicates that 7 Amazon CloudWatch alarms are - * excluded from the assessment.

                          + * example, if the excludedCount for Alarms coverage scoring component + * is 7, it indicates that 7 Amazon CloudWatch alarms are excluded from the + * assessment.

                          */ inline long long GetExcludedCount() const{ return m_excludedCount; } /** *

                          Number of recommendations that were excluded from the assessment.

                          For - * example, if the Excluded count for Resilience Hub recommended - * Amazon CloudWatch alarms is 7, it indicates that 7 Amazon CloudWatch alarms are - * excluded from the assessment.

                          + * example, if the excludedCount for Alarms coverage scoring component + * is 7, it indicates that 7 Amazon CloudWatch alarms are excluded from the + * assessment.

                          */ inline bool ExcludedCountHasBeenSet() const { return m_excludedCountHasBeenSet; } /** *

                          Number of recommendations that were excluded from the assessment.

                          For - * example, if the Excluded count for Resilience Hub recommended - * Amazon CloudWatch alarms is 7, it indicates that 7 Amazon CloudWatch alarms are - * excluded from the assessment.

                          + * example, if the excludedCount for Alarms coverage scoring component + * is 7, it indicates that 7 Amazon CloudWatch alarms are excluded from the + * assessment.

                          */ inline void SetExcludedCount(long long value) { m_excludedCountHasBeenSet = true; m_excludedCount = value; } /** *

                          Number of recommendations that were excluded from the assessment.

                          For - * example, if the Excluded count for Resilience Hub recommended - * Amazon CloudWatch alarms is 7, it indicates that 7 Amazon CloudWatch alarms are - * excluded from the assessment.

                          + * example, if the excludedCount for Alarms coverage scoring component + * is 7, it indicates that 7 Amazon CloudWatch alarms are excluded from the + * assessment.

                          */ inline ScoringComponentResiliencyScore& WithExcludedCount(long long value) { SetExcludedCount(value); return *this;} /** - *

                          Number of issues that must be resolved to obtain the maximum possible score - * for the scoring component. For SOPs, alarms, and FIS experiments, these are the - * number of recommendations that must be implemented. For compliance, it is the - * number of Application Components that has breached the resiliency policy.

                          - *

                          For example, if the Outstanding count for Resilience Hub - * recommended Amazon CloudWatch alarms is 5, it indicates that 5 Amazon CloudWatch - * alarms must be fixed to achieve the maximum possible score.

                          + *

                          Number of recommendations that must be implemented to obtain the maximum + * possible score for the scoring component. For SOPs, alarms, and tests, these are + * the number of recommendations that must be implemented. For compliance, these + * are the number of Application Components that have breached the resiliency + * policy.

                          For example, if the outstandingCount for Alarms + * coverage scoring component is 5, it indicates that 5 Amazon CloudWatch alarms + * need to be implemented to achieve the maximum possible score.

                          */ inline long long GetOutstandingCount() const{ return m_outstandingCount; } /** - *

                          Number of issues that must be resolved to obtain the maximum possible score - * for the scoring component. For SOPs, alarms, and FIS experiments, these are the - * number of recommendations that must be implemented. For compliance, it is the - * number of Application Components that has breached the resiliency policy.

                          - *

                          For example, if the Outstanding count for Resilience Hub - * recommended Amazon CloudWatch alarms is 5, it indicates that 5 Amazon CloudWatch - * alarms must be fixed to achieve the maximum possible score.

                          + *

                          Number of recommendations that must be implemented to obtain the maximum + * possible score for the scoring component. For SOPs, alarms, and tests, these are + * the number of recommendations that must be implemented. For compliance, these + * are the number of Application Components that have breached the resiliency + * policy.

                          For example, if the outstandingCount for Alarms + * coverage scoring component is 5, it indicates that 5 Amazon CloudWatch alarms + * need to be implemented to achieve the maximum possible score.

                          */ inline bool OutstandingCountHasBeenSet() const { return m_outstandingCountHasBeenSet; } /** - *

                          Number of issues that must be resolved to obtain the maximum possible score - * for the scoring component. For SOPs, alarms, and FIS experiments, these are the - * number of recommendations that must be implemented. For compliance, it is the - * number of Application Components that has breached the resiliency policy.

                          - *

                          For example, if the Outstanding count for Resilience Hub - * recommended Amazon CloudWatch alarms is 5, it indicates that 5 Amazon CloudWatch - * alarms must be fixed to achieve the maximum possible score.

                          + *

                          Number of recommendations that must be implemented to obtain the maximum + * possible score for the scoring component. For SOPs, alarms, and tests, these are + * the number of recommendations that must be implemented. For compliance, these + * are the number of Application Components that have breached the resiliency + * policy.

                          For example, if the outstandingCount for Alarms + * coverage scoring component is 5, it indicates that 5 Amazon CloudWatch alarms + * need to be implemented to achieve the maximum possible score.

                          */ inline void SetOutstandingCount(long long value) { m_outstandingCountHasBeenSet = true; m_outstandingCount = value; } /** - *

                          Number of issues that must be resolved to obtain the maximum possible score - * for the scoring component. For SOPs, alarms, and FIS experiments, these are the - * number of recommendations that must be implemented. For compliance, it is the - * number of Application Components that has breached the resiliency policy.

                          - *

                          For example, if the Outstanding count for Resilience Hub - * recommended Amazon CloudWatch alarms is 5, it indicates that 5 Amazon CloudWatch - * alarms must be fixed to achieve the maximum possible score.

                          + *

                          Number of recommendations that must be implemented to obtain the maximum + * possible score for the scoring component. For SOPs, alarms, and tests, these are + * the number of recommendations that must be implemented. For compliance, these + * are the number of Application Components that have breached the resiliency + * policy.

                          For example, if the outstandingCount for Alarms + * coverage scoring component is 5, it indicates that 5 Amazon CloudWatch alarms + * need to be implemented to achieve the maximum possible score.

                          */ inline ScoringComponentResiliencyScore& WithOutstandingCount(long long value) { SetOutstandingCount(value); return *this;} /** - *

                          Maximum possible score that can be obtained for the scoring component. If the - * Possible score is 20 points, it indicates the maximum possible - * score you can achieve for your application when you run a new assessment after - * implementing all the Resilience Hub recommendations.

                          + *

                          Maximum possible score that can be obtained for the scoring component.

                          + *

                          For example, if the possibleScore is 20 points, it indicates the + * maximum possible score you can achieve for the scoring component when you run a + * new assessment after implementing all the Resilience Hub recommendations.

                          */ inline double GetPossibleScore() const{ return m_possibleScore; } /** - *

                          Maximum possible score that can be obtained for the scoring component. If the - * Possible score is 20 points, it indicates the maximum possible - * score you can achieve for your application when you run a new assessment after - * implementing all the Resilience Hub recommendations.

                          + *

                          Maximum possible score that can be obtained for the scoring component.

                          + *

                          For example, if the possibleScore is 20 points, it indicates the + * maximum possible score you can achieve for the scoring component when you run a + * new assessment after implementing all the Resilience Hub recommendations.

                          */ inline bool PossibleScoreHasBeenSet() const { return m_possibleScoreHasBeenSet; } /** - *

                          Maximum possible score that can be obtained for the scoring component. If the - * Possible score is 20 points, it indicates the maximum possible - * score you can achieve for your application when you run a new assessment after - * implementing all the Resilience Hub recommendations.

                          + *

                          Maximum possible score that can be obtained for the scoring component.

                          + *

                          For example, if the possibleScore is 20 points, it indicates the + * maximum possible score you can achieve for the scoring component when you run a + * new assessment after implementing all the Resilience Hub recommendations.

                          */ inline void SetPossibleScore(double value) { m_possibleScoreHasBeenSet = true; m_possibleScore = value; } /** - *

                          Maximum possible score that can be obtained for the scoring component. If the - * Possible score is 20 points, it indicates the maximum possible - * score you can achieve for your application when you run a new assessment after - * implementing all the Resilience Hub recommendations.

                          + *

                          Maximum possible score that can be obtained for the scoring component.

                          + *

                          For example, if the possibleScore is 20 points, it indicates the + * maximum possible score you can achieve for the scoring component when you run a + * new assessment after implementing all the Resilience Hub recommendations.

                          */ inline ScoringComponentResiliencyScore& WithPossibleScore(double value) { SetPossibleScore(value); return *this;} /** - *

                          Resiliency score of your application.

                          + *

                          Resiliency score points given for the scoring component. The score is always + * less than or equal to the possibleScore.

                          */ inline double GetScore() const{ return m_score; } /** - *

                          Resiliency score of your application.

                          + *

                          Resiliency score points given for the scoring component. The score is always + * less than or equal to the possibleScore.

                          */ inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; } /** - *

                          Resiliency score of your application.

                          + *

                          Resiliency score points given for the scoring component. The score is always + * less than or equal to the possibleScore.

                          */ inline void SetScore(double value) { m_scoreHasBeenSet = true; m_score = value; } /** - *

                          Resiliency score of your application.

                          + *

                          Resiliency score points given for the scoring component. The score is always + * less than or equal to the possibleScore.

                          */ inline ScoringComponentResiliencyScore& WithScore(double value) { SetScore(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-resiliencehub/source/ResilienceHubClient.cpp b/generated/src/aws-cpp-sdk-resiliencehub/source/ResilienceHubClient.cpp index aadadc5dccf..736744037f9 100644 --- a/generated/src/aws-cpp-sdk-resiliencehub/source/ResilienceHubClient.cpp +++ b/generated/src/aws-cpp-sdk-resiliencehub/source/ResilienceHubClient.cpp @@ -47,6 +47,7 @@ #include #include #include +#include #include #include #include @@ -918,6 +919,33 @@ ListAppAssessmentComplianceDriftsOutcome ResilienceHubClient::ListAppAssessmentC {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListAppAssessmentResourceDriftsOutcome ResilienceHubClient::ListAppAssessmentResourceDrifts(const ListAppAssessmentResourceDriftsRequest& request) const +{ + AWS_OPERATION_GUARD(ListAppAssessmentResourceDrifts); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListAppAssessmentResourceDrifts, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListAppAssessmentResourceDrifts, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListAppAssessmentResourceDrifts, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListAppAssessmentResourceDrifts", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListAppAssessmentResourceDriftsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListAppAssessmentResourceDrifts, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/list-app-assessment-resource-drifts"); + return ListAppAssessmentResourceDriftsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + ListAppAssessmentsOutcome ResilienceHubClient::ListAppAssessments(const ListAppAssessmentsRequest& request) const { AWS_OPERATION_GUARD(ListAppAssessments); @@ -1165,11 +1193,6 @@ ListRecommendationTemplatesOutcome ResilienceHubClient::ListRecommendationTempla { AWS_OPERATION_GUARD(ListRecommendationTemplates); AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListRecommendationTemplates, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.AssessmentArnHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("ListRecommendationTemplates", "Required field: AssessmentArn, is not set"); - return ListRecommendationTemplatesOutcome(Aws::Client::AWSError(ResilienceHubErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AssessmentArn]", false)); - } AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListRecommendationTemplates, CoreErrors, CoreErrors::NOT_INITIALIZED); auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); diff --git a/generated/src/aws-cpp-sdk-resiliencehub/source/model/DifferenceType.cpp b/generated/src/aws-cpp-sdk-resiliencehub/source/model/DifferenceType.cpp index fb34a6a059e..703e8832cca 100644 --- a/generated/src/aws-cpp-sdk-resiliencehub/source/model/DifferenceType.cpp +++ b/generated/src/aws-cpp-sdk-resiliencehub/source/model/DifferenceType.cpp @@ -21,6 +21,8 @@ namespace Aws { static const int NotEqual_HASH = HashingUtils::HashString("NotEqual"); + static const int Added_HASH = HashingUtils::HashString("Added"); + static const int Removed_HASH = HashingUtils::HashString("Removed"); DifferenceType GetDifferenceTypeForName(const Aws::String& name) @@ -30,6 +32,14 @@ namespace Aws { return DifferenceType::NotEqual; } + else if (hashCode == Added_HASH) + { + return DifferenceType::Added; + } + else if (hashCode == Removed_HASH) + { + return DifferenceType::Removed; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -48,6 +58,10 @@ namespace Aws return {}; case DifferenceType::NotEqual: return "NotEqual"; + case DifferenceType::Added: + return "Added"; + case DifferenceType::Removed: + return "Removed"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-resiliencehub/source/model/DriftType.cpp b/generated/src/aws-cpp-sdk-resiliencehub/source/model/DriftType.cpp index a98d471e445..0e0aab803c2 100644 --- a/generated/src/aws-cpp-sdk-resiliencehub/source/model/DriftType.cpp +++ b/generated/src/aws-cpp-sdk-resiliencehub/source/model/DriftType.cpp @@ -21,6 +21,7 @@ namespace Aws { static const int ApplicationCompliance_HASH = HashingUtils::HashString("ApplicationCompliance"); + static const int AppComponentResiliencyComplianceStatus_HASH = HashingUtils::HashString("AppComponentResiliencyComplianceStatus"); DriftType GetDriftTypeForName(const Aws::String& name) @@ -30,6 +31,10 @@ namespace Aws { return DriftType::ApplicationCompliance; } + else if (hashCode == AppComponentResiliencyComplianceStatus_HASH) + { + return DriftType::AppComponentResiliencyComplianceStatus; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -48,6 +53,8 @@ namespace Aws return {}; case DriftType::ApplicationCompliance: return "ApplicationCompliance"; + case DriftType::AppComponentResiliencyComplianceStatus: + return "AppComponentResiliencyComplianceStatus"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-resiliencehub/source/model/ListAppAssessmentResourceDriftsRequest.cpp b/generated/src/aws-cpp-sdk-resiliencehub/source/model/ListAppAssessmentResourceDriftsRequest.cpp new file mode 100644 index 00000000000..0eac7d2e0b1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-resiliencehub/source/model/ListAppAssessmentResourceDriftsRequest.cpp @@ -0,0 +1,50 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::ResilienceHub::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +ListAppAssessmentResourceDriftsRequest::ListAppAssessmentResourceDriftsRequest() : + m_assessmentArnHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false) +{ +} + +Aws::String ListAppAssessmentResourceDriftsRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_assessmentArnHasBeenSet) + { + payload.WithString("assessmentArn", m_assessmentArn); + + } + + if(m_maxResultsHasBeenSet) + { + payload.WithInteger("maxResults", m_maxResults); + + } + + if(m_nextTokenHasBeenSet) + { + payload.WithString("nextToken", m_nextToken); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-resiliencehub/source/model/ListAppAssessmentResourceDriftsResult.cpp b/generated/src/aws-cpp-sdk-resiliencehub/source/model/ListAppAssessmentResourceDriftsResult.cpp new file mode 100644 index 00000000000..d9649b99326 --- /dev/null +++ b/generated/src/aws-cpp-sdk-resiliencehub/source/model/ListAppAssessmentResourceDriftsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::ResilienceHub::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListAppAssessmentResourceDriftsResult::ListAppAssessmentResourceDriftsResult() +{ +} + +ListAppAssessmentResourceDriftsResult::ListAppAssessmentResourceDriftsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListAppAssessmentResourceDriftsResult& ListAppAssessmentResourceDriftsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + if(jsonValue.ValueExists("resourceDrifts")) + { + Aws::Utils::Array resourceDriftsJsonList = jsonValue.GetArray("resourceDrifts"); + for(unsigned resourceDriftsIndex = 0; resourceDriftsIndex < resourceDriftsJsonList.GetLength(); ++resourceDriftsIndex) + { + m_resourceDrifts.push_back(resourceDriftsJsonList[resourceDriftsIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-resiliencehub/source/model/ResourceDrift.cpp b/generated/src/aws-cpp-sdk-resiliencehub/source/model/ResourceDrift.cpp new file mode 100644 index 00000000000..47a4c169581 --- /dev/null +++ b/generated/src/aws-cpp-sdk-resiliencehub/source/model/ResourceDrift.cpp @@ -0,0 +1,120 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace ResilienceHub +{ +namespace Model +{ + +ResourceDrift::ResourceDrift() : + m_appArnHasBeenSet(false), + m_appVersionHasBeenSet(false), + m_diffType(DifferenceType::NOT_SET), + m_diffTypeHasBeenSet(false), + m_referenceIdHasBeenSet(false), + m_resourceIdentifierHasBeenSet(false) +{ +} + +ResourceDrift::ResourceDrift(JsonView jsonValue) : + m_appArnHasBeenSet(false), + m_appVersionHasBeenSet(false), + m_diffType(DifferenceType::NOT_SET), + m_diffTypeHasBeenSet(false), + m_referenceIdHasBeenSet(false), + m_resourceIdentifierHasBeenSet(false) +{ + *this = jsonValue; +} + +ResourceDrift& ResourceDrift::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("appArn")) + { + m_appArn = jsonValue.GetString("appArn"); + + m_appArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("appVersion")) + { + m_appVersion = jsonValue.GetString("appVersion"); + + m_appVersionHasBeenSet = true; + } + + if(jsonValue.ValueExists("diffType")) + { + m_diffType = DifferenceTypeMapper::GetDifferenceTypeForName(jsonValue.GetString("diffType")); + + m_diffTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("referenceId")) + { + m_referenceId = jsonValue.GetString("referenceId"); + + m_referenceIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("resourceIdentifier")) + { + m_resourceIdentifier = jsonValue.GetObject("resourceIdentifier"); + + m_resourceIdentifierHasBeenSet = true; + } + + return *this; +} + +JsonValue ResourceDrift::Jsonize() const +{ + JsonValue payload; + + if(m_appArnHasBeenSet) + { + payload.WithString("appArn", m_appArn); + + } + + if(m_appVersionHasBeenSet) + { + payload.WithString("appVersion", m_appVersion); + + } + + if(m_diffTypeHasBeenSet) + { + payload.WithString("diffType", DifferenceTypeMapper::GetNameForDifferenceType(m_diffType)); + } + + if(m_referenceIdHasBeenSet) + { + payload.WithString("referenceId", m_referenceId); + + } + + if(m_resourceIdentifierHasBeenSet) + { + payload.WithObject("resourceIdentifier", m_resourceIdentifier.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace ResilienceHub +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-resiliencehub/source/model/ResourceIdentifier.cpp b/generated/src/aws-cpp-sdk-resiliencehub/source/model/ResourceIdentifier.cpp new file mode 100644 index 00000000000..64890e153d2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-resiliencehub/source/model/ResourceIdentifier.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace ResilienceHub +{ +namespace Model +{ + +ResourceIdentifier::ResourceIdentifier() : + m_logicalResourceIdHasBeenSet(false), + m_resourceTypeHasBeenSet(false) +{ +} + +ResourceIdentifier::ResourceIdentifier(JsonView jsonValue) : + m_logicalResourceIdHasBeenSet(false), + m_resourceTypeHasBeenSet(false) +{ + *this = jsonValue; +} + +ResourceIdentifier& ResourceIdentifier::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("logicalResourceId")) + { + m_logicalResourceId = jsonValue.GetObject("logicalResourceId"); + + m_logicalResourceIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("resourceType")) + { + m_resourceType = jsonValue.GetString("resourceType"); + + m_resourceTypeHasBeenSet = true; + } + + return *this; +} + +JsonValue ResourceIdentifier::Jsonize() const +{ + JsonValue payload; + + if(m_logicalResourceIdHasBeenSet) + { + payload.WithObject("logicalResourceId", m_logicalResourceId.Jsonize()); + + } + + if(m_resourceTypeHasBeenSet) + { + payload.WithString("resourceType", m_resourceType); + + } + + return payload; +} + +} // namespace Model +} // namespace ResilienceHub +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-route53profiles/include/aws/route53profiles/Route53ProfilesClient.h b/generated/src/aws-cpp-sdk-route53profiles/include/aws/route53profiles/Route53ProfilesClient.h index 233266581bd..a8b538a3db1 100644 --- a/generated/src/aws-cpp-sdk-route53profiles/include/aws/route53profiles/Route53ProfilesClient.h +++ b/generated/src/aws-cpp-sdk-route53profiles/include/aws/route53profiles/Route53ProfilesClient.h @@ -79,8 +79,10 @@ namespace Route53Profiles /** *

                          Associates a Route 53 Profiles profile with a VPC. A VPC can have only one - * Profile associated with it, but a Profile can be associated with up to 5000 - * VPCs.

                          See Also:

                          https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html#limits-api-entities. + *

                          See Also:

                          AWS * API Reference

                          */ diff --git a/generated/src/aws-cpp-sdk-route53profiles/include/aws/route53profiles/model/AssociateResourceToProfileRequest.h b/generated/src/aws-cpp-sdk-route53profiles/include/aws/route53profiles/model/AssociateResourceToProfileRequest.h index 8532da96634..f5e6eb5159f 100644 --- a/generated/src/aws-cpp-sdk-route53profiles/include/aws/route53profiles/model/AssociateResourceToProfileRequest.h +++ b/generated/src/aws-cpp-sdk-route53profiles/include/aws/route53profiles/model/AssociateResourceToProfileRequest.h @@ -156,50 +156,66 @@ namespace Model /** - *

                          If you are adding a DNS Firewall rule group, include also a priority in this - * format:

                          Key=FirewallRuleGroupPriority,Value=100

                          + *

                          If you are adding a DNS Firewall rule group, include also a priority. The + * priority indicates the processing order for the rule groups, starting with the + * priority assinged the lowest value.

                          The allowed values for priority are + * between 100 and 9900.

                          */ inline const Aws::String& GetResourceProperties() const{ return m_resourceProperties; } /** - *

                          If you are adding a DNS Firewall rule group, include also a priority in this - * format:

                          Key=FirewallRuleGroupPriority,Value=100

                          + *

                          If you are adding a DNS Firewall rule group, include also a priority. The + * priority indicates the processing order for the rule groups, starting with the + * priority assinged the lowest value.

                          The allowed values for priority are + * between 100 and 9900.

                          */ inline bool ResourcePropertiesHasBeenSet() const { return m_resourcePropertiesHasBeenSet; } /** - *

                          If you are adding a DNS Firewall rule group, include also a priority in this - * format:

                          Key=FirewallRuleGroupPriority,Value=100

                          + *

                          If you are adding a DNS Firewall rule group, include also a priority. The + * priority indicates the processing order for the rule groups, starting with the + * priority assinged the lowest value.

                          The allowed values for priority are + * between 100 and 9900.

                          */ inline void SetResourceProperties(const Aws::String& value) { m_resourcePropertiesHasBeenSet = true; m_resourceProperties = value; } /** - *

                          If you are adding a DNS Firewall rule group, include also a priority in this - * format:

                          Key=FirewallRuleGroupPriority,Value=100

                          + *

                          If you are adding a DNS Firewall rule group, include also a priority. The + * priority indicates the processing order for the rule groups, starting with the + * priority assinged the lowest value.

                          The allowed values for priority are + * between 100 and 9900.

                          */ inline void SetResourceProperties(Aws::String&& value) { m_resourcePropertiesHasBeenSet = true; m_resourceProperties = std::move(value); } /** - *

                          If you are adding a DNS Firewall rule group, include also a priority in this - * format:

                          Key=FirewallRuleGroupPriority,Value=100

                          + *

                          If you are adding a DNS Firewall rule group, include also a priority. The + * priority indicates the processing order for the rule groups, starting with the + * priority assinged the lowest value.

                          The allowed values for priority are + * between 100 and 9900.

                          */ inline void SetResourceProperties(const char* value) { m_resourcePropertiesHasBeenSet = true; m_resourceProperties.assign(value); } /** - *

                          If you are adding a DNS Firewall rule group, include also a priority in this - * format:

                          Key=FirewallRuleGroupPriority,Value=100

                          + *

                          If you are adding a DNS Firewall rule group, include also a priority. The + * priority indicates the processing order for the rule groups, starting with the + * priority assinged the lowest value.

                          The allowed values for priority are + * between 100 and 9900.

                          */ inline AssociateResourceToProfileRequest& WithResourceProperties(const Aws::String& value) { SetResourceProperties(value); return *this;} /** - *

                          If you are adding a DNS Firewall rule group, include also a priority in this - * format:

                          Key=FirewallRuleGroupPriority,Value=100

                          + *

                          If you are adding a DNS Firewall rule group, include also a priority. The + * priority indicates the processing order for the rule groups, starting with the + * priority assinged the lowest value.

                          The allowed values for priority are + * between 100 and 9900.

                          */ inline AssociateResourceToProfileRequest& WithResourceProperties(Aws::String&& value) { SetResourceProperties(std::move(value)); return *this;} /** - *

                          If you are adding a DNS Firewall rule group, include also a priority in this - * format:

                          Key=FirewallRuleGroupPriority,Value=100

                          + *

                          If you are adding a DNS Firewall rule group, include also a priority. The + * priority indicates the processing order for the rule groups, starting with the + * priority assinged the lowest value.

                          The allowed values for priority are + * between 100 and 9900.

                          */ inline AssociateResourceToProfileRequest& WithResourceProperties(const char* value) { SetResourceProperties(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-route53profiles/include/aws/route53profiles/model/UpdateProfileResourceAssociationRequest.h b/generated/src/aws-cpp-sdk-route53profiles/include/aws/route53profiles/model/UpdateProfileResourceAssociationRequest.h index 09040965315..d8dbaf0313f 100644 --- a/generated/src/aws-cpp-sdk-route53profiles/include/aws/route53profiles/model/UpdateProfileResourceAssociationRequest.h +++ b/generated/src/aws-cpp-sdk-route53profiles/include/aws/route53profiles/model/UpdateProfileResourceAssociationRequest.h @@ -115,50 +115,66 @@ namespace Model /** - *

                          If you are adding a DNS Firewall rule group, include also a priority in this - * format:

                          Key=FirewallRuleGroupPriority,Value=100.

                          + *

                          If you are adding a DNS Firewall rule group, include also a priority. The + * priority indicates the processing order for the rule groups, starting with the + * priority assinged the lowest value.

                          The allowed values for priority are + * between 100 and 9900.

                          */ inline const Aws::String& GetResourceProperties() const{ return m_resourceProperties; } /** - *

                          If you are adding a DNS Firewall rule group, include also a priority in this - * format:

                          Key=FirewallRuleGroupPriority,Value=100.

                          + *

                          If you are adding a DNS Firewall rule group, include also a priority. The + * priority indicates the processing order for the rule groups, starting with the + * priority assinged the lowest value.

                          The allowed values for priority are + * between 100 and 9900.

                          */ inline bool ResourcePropertiesHasBeenSet() const { return m_resourcePropertiesHasBeenSet; } /** - *

                          If you are adding a DNS Firewall rule group, include also a priority in this - * format:

                          Key=FirewallRuleGroupPriority,Value=100.

                          + *

                          If you are adding a DNS Firewall rule group, include also a priority. The + * priority indicates the processing order for the rule groups, starting with the + * priority assinged the lowest value.

                          The allowed values for priority are + * between 100 and 9900.

                          */ inline void SetResourceProperties(const Aws::String& value) { m_resourcePropertiesHasBeenSet = true; m_resourceProperties = value; } /** - *

                          If you are adding a DNS Firewall rule group, include also a priority in this - * format:

                          Key=FirewallRuleGroupPriority,Value=100.

                          + *

                          If you are adding a DNS Firewall rule group, include also a priority. The + * priority indicates the processing order for the rule groups, starting with the + * priority assinged the lowest value.

                          The allowed values for priority are + * between 100 and 9900.

                          */ inline void SetResourceProperties(Aws::String&& value) { m_resourcePropertiesHasBeenSet = true; m_resourceProperties = std::move(value); } /** - *

                          If you are adding a DNS Firewall rule group, include also a priority in this - * format:

                          Key=FirewallRuleGroupPriority,Value=100.

                          + *

                          If you are adding a DNS Firewall rule group, include also a priority. The + * priority indicates the processing order for the rule groups, starting with the + * priority assinged the lowest value.

                          The allowed values for priority are + * between 100 and 9900.

                          */ inline void SetResourceProperties(const char* value) { m_resourcePropertiesHasBeenSet = true; m_resourceProperties.assign(value); } /** - *

                          If you are adding a DNS Firewall rule group, include also a priority in this - * format:

                          Key=FirewallRuleGroupPriority,Value=100.

                          + *

                          If you are adding a DNS Firewall rule group, include also a priority. The + * priority indicates the processing order for the rule groups, starting with the + * priority assinged the lowest value.

                          The allowed values for priority are + * between 100 and 9900.

                          */ inline UpdateProfileResourceAssociationRequest& WithResourceProperties(const Aws::String& value) { SetResourceProperties(value); return *this;} /** - *

                          If you are adding a DNS Firewall rule group, include also a priority in this - * format:

                          Key=FirewallRuleGroupPriority,Value=100.

                          + *

                          If you are adding a DNS Firewall rule group, include also a priority. The + * priority indicates the processing order for the rule groups, starting with the + * priority assinged the lowest value.

                          The allowed values for priority are + * between 100 and 9900.

                          */ inline UpdateProfileResourceAssociationRequest& WithResourceProperties(Aws::String&& value) { SetResourceProperties(std::move(value)); return *this;} /** - *

                          If you are adding a DNS Firewall rule group, include also a priority in this - * format:

                          Key=FirewallRuleGroupPriority,Value=100.

                          + *

                          If you are adding a DNS Firewall rule group, include also a priority. The + * priority indicates the processing order for the rule groups, starting with the + * priority assinged the lowest value.

                          The allowed values for priority are + * between 100 and 9900.

                          */ inline UpdateProfileResourceAssociationRequest& WithResourceProperties(const char* value) { SetResourceProperties(value); return *this;} diff --git a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h index 2149c0e1560..28c214f45a3 100644 --- a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h +++ b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h @@ -4,7 +4,7 @@ */ #pragma once -#define AWS_SDK_VERSION_STRING "1.11.322" +#define AWS_SDK_VERSION_STRING "1.11.323" #define AWS_SDK_VERSION_MAJOR 1 #define AWS_SDK_VERSION_MINOR 11 -#define AWS_SDK_VERSION_PATCH 322 +#define AWS_SDK_VERSION_PATCH 323 diff --git a/tools/code-generation/api-descriptions/b2bi-2022-06-23.normal.json b/tools/code-generation/api-descriptions/b2bi-2022-06-23.normal.json index 288bf8e26fc..7031d351e95 100644 --- a/tools/code-generation/api-descriptions/b2bi-2022-06-23.normal.json +++ b/tools/code-generation/api-descriptions/b2bi-2022-06-23.normal.json @@ -844,7 +844,7 @@ }, "mappingTemplate":{ "shape":"MappingTemplate", - "documentation":"

                          Specifies the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.

                          " + "documentation":"

                          Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.

                          " }, "ediType":{ "shape":"EdiType", @@ -896,7 +896,7 @@ }, "mappingTemplate":{ "shape":"MappingTemplate", - "documentation":"

                          Returns the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.

                          " + "documentation":"

                          Returns the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.

                          " }, "status":{ "shape":"TransformerStatus", @@ -1278,7 +1278,7 @@ }, "mappingTemplate":{ "shape":"MappingTemplate", - "documentation":"

                          Returns the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.

                          " + "documentation":"

                          Returns the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.

                          " }, "status":{ "shape":"TransformerStatus", @@ -1792,7 +1792,7 @@ }, "mappingTemplate":{ "shape":"MappingTemplate", - "documentation":"

                          Specifies the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.

                          " + "documentation":"

                          Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.

                          " }, "fileFormat":{ "shape":"FileFormat", @@ -1924,7 +1924,7 @@ }, "mappingTemplate":{ "shape":"MappingTemplate", - "documentation":"

                          Returns the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.

                          " + "documentation":"

                          Returns the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.

                          " }, "status":{ "shape":"TransformerStatus", @@ -2199,7 +2199,7 @@ }, "mappingTemplate":{ "shape":"MappingTemplate", - "documentation":"

                          Specifies the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.

                          " + "documentation":"

                          Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.

                          " }, "status":{ "shape":"TransformerStatus", @@ -2247,7 +2247,7 @@ }, "mappingTemplate":{ "shape":"MappingTemplate", - "documentation":"

                          Returns the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.

                          " + "documentation":"

                          Returns the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.

                          " }, "status":{ "shape":"TransformerStatus", diff --git a/tools/code-generation/api-descriptions/budgets-2016-10-20.normal.json b/tools/code-generation/api-descriptions/budgets-2016-10-20.normal.json index 19f347e9afd..e2b61ea1708 100644 --- a/tools/code-generation/api-descriptions/budgets-2016-10-20.normal.json +++ b/tools/code-generation/api-descriptions/budgets-2016-10-20.normal.json @@ -5,6 +5,7 @@ "endpointPrefix":"budgets", "jsonVersion":"1.1", "protocol":"json", + "protocols":["json"], "serviceAbbreviation":"AWSBudgets", "serviceFullName":"AWS Budgets", "serviceId":"Budgets", @@ -27,7 +28,8 @@ {"shape":"CreationLimitExceededException"}, {"shape":"DuplicateRecordException"}, {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"} + {"shape":"ThrottlingException"}, + {"shape":"ServiceQuotaExceededException"} ], "documentation":"

                          Creates a budget and, if included, notifications and subscribers.

                          Only one of BudgetLimit or PlannedBudgetLimits can be present in the syntax at one time. Use the syntax that matches your case. The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, see the Examples section.

                          " }, @@ -46,7 +48,8 @@ {"shape":"DuplicateRecordException"}, {"shape":"NotFoundException"}, {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"} + {"shape":"ThrottlingException"}, + {"shape":"ServiceQuotaExceededException"} ], "documentation":"

                          Creates a budget action.

                          " }, @@ -357,6 +360,58 @@ ], "documentation":"

                          Executes a budget action.

                          " }, + "ListTagsForResource":{ + "name":"ListTagsForResource", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListTagsForResourceRequest"}, + "output":{"shape":"ListTagsForResourceResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"NotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalErrorException"}, + {"shape":"InvalidParameterException"} + ], + "documentation":"

                          Lists tags associated with a budget or budget action resource.

                          " + }, + "TagResource":{ + "name":"TagResource", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"TagResourceRequest"}, + "output":{"shape":"TagResourceResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"NotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalErrorException"}, + {"shape":"InvalidParameterException"} + ], + "documentation":"

                          Creates tags for a budget or budget action resource.

                          " + }, + "UntagResource":{ + "name":"UntagResource", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UntagResourceRequest"}, + "output":{"shape":"UntagResourceResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"NotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalErrorException"}, + {"shape":"InvalidParameterException"} + ], + "documentation":"

                          Deletes tags associated with a budget or budget action resource.

                          " + }, "UpdateBudget":{ "name":"UpdateBudget", "http":{ @@ -600,6 +655,11 @@ "max":60, "min":1 }, + "AmazonResourceName":{ + "type":"string", + "max":1011, + "min":1 + }, "ApprovalModel":{ "type":"string", "enum":[ @@ -655,7 +715,7 @@ }, "CostFilters":{ "shape":"CostFilters", - "documentation":"

                          The cost filters, such as Region, Service, member account, Tag, or Cost Category, that are applied to a budget.

                          Amazon Web Services Budgets supports the following services as a Service filter for RI budgets:

                          • Amazon EC2

                          • Amazon Redshift

                          • Amazon Relational Database Service

                          • Amazon ElastiCache

                          • Amazon OpenSearch Service

                          " + "documentation":"

                          The cost filters, such as Region, Service, LinkedAccount, Tag, or CostCategory, that are applied to a budget.

                          Amazon Web Services Budgets supports the following services as a Service filter for RI budgets:

                          • Amazon EC2

                          • Amazon Redshift

                          • Amazon Relational Database Service

                          • Amazon ElastiCache

                          • Amazon OpenSearch Service

                          " }, "CostTypes":{ "shape":"CostTypes", @@ -693,7 +753,7 @@ "documentation":"

                          A string that represents the budget name. The \":\" and \"\\\" characters, and the \"/action/\" substring, aren't allowed.

                          ", "max":100, "min":1, - "pattern":"^(?![^:\\\\]*/action/)[^:\\\\]+$" + "pattern":"^(?![^:\\\\]*/action/|(?i).*.*)[^:\\\\]+$" }, "BudgetNotificationsForAccount":{ "type":"structure", @@ -879,7 +939,11 @@ "shape":"ApprovalModel", "documentation":"

                          This specifies if the action needs manual or automatic approval.

                          " }, - "Subscribers":{"shape":"Subscribers"} + "Subscribers":{"shape":"Subscribers"}, + "ResourceTags":{ + "shape":"ResourceTagList", + "documentation":"

                          An optional list of tags to associate with the specified budget action. Each tag consists of a key and a value, and each key must be unique for the resource.

                          " + } } }, "CreateBudgetActionResponse":{ @@ -916,6 +980,10 @@ "NotificationsWithSubscribers":{ "shape":"NotificationWithSubscribersList", "documentation":"

                          A notification that you want to associate with a budget. A budget can have up to five notifications, and each notification can have one SNS subscriber and up to 10 email subscribers. If you include notifications and subscribers in your CreateBudget call, Amazon Web Services creates the notifications and subscribers for you.

                          " + }, + "ResourceTags":{ + "shape":"ResourceTagList", + "documentation":"

                          An optional list of tags to associate with the specified budget. Each tag consists of a key and a value, and each key must be unique for the resource.

                          " } }, "documentation":"

                          Request of CreateBudget

                          " @@ -1621,6 +1689,25 @@ "documentation":"

                          An error on the client occurred. Typically, the cause is an invalid input value.

                          ", "exception":true }, + "ListTagsForResourceRequest":{ + "type":"structure", + "required":["ResourceARN"], + "members":{ + "ResourceARN":{ + "shape":"AmazonResourceName", + "documentation":"

                          The unique identifier for the resource.

                          " + } + } + }, + "ListTagsForResourceResponse":{ + "type":"structure", + "members":{ + "ResourceTags":{ + "shape":"ResourceTagList", + "documentation":"

                          The tags associated with the resource.

                          " + } + } + }, "MaxResults":{ "type":"integer", "documentation":"

                          An integer that represents how many entries a paginated response contains. The maximum is 100.

                          ", @@ -1768,9 +1855,49 @@ "members":{ "Message":{"shape":"errorMessage"} }, - "documentation":"

                          The request was received and recognized by the server, but the server rejected that particular method for the requested resource.

                          ", + "documentation":"

                          The request was received and recognized by the server, but the server rejected that particular method for the requested resource.

                          ", "exception":true }, + "ResourceTag":{ + "type":"structure", + "required":[ + "Key", + "Value" + ], + "members":{ + "Key":{ + "shape":"ResourceTagKey", + "documentation":"

                          The key that's associated with the tag.

                          " + }, + "Value":{ + "shape":"ResourceTagValue", + "documentation":"

                          The value that's associated with the tag.

                          " + } + }, + "documentation":"

                          The tag structure that contains a tag key and value.

                          " + }, + "ResourceTagKey":{ + "type":"string", + "max":128, + "min":1 + }, + "ResourceTagKeyList":{ + "type":"list", + "member":{"shape":"ResourceTagKey"}, + "max":200, + "min":0 + }, + "ResourceTagList":{ + "type":"list", + "member":{"shape":"ResourceTag"}, + "max":200, + "min":0 + }, + "ResourceTagValue":{ + "type":"string", + "max":256, + "min":0 + }, "Role":{ "type":"string", "max":576, @@ -1807,6 +1934,14 @@ }, "documentation":"

                          The service control policies (SCP) action definition details.

                          " }, + "ServiceQuotaExceededException":{ + "type":"structure", + "members":{ + "Message":{"shape":"errorMessage"} + }, + "documentation":"

                          You've reached the limit on the number of tags you can associate with a resource.

                          ", + "exception":true + }, "Spend":{ "type":"structure", "required":[ @@ -1889,6 +2024,28 @@ "EMAIL" ] }, + "TagResourceRequest":{ + "type":"structure", + "required":[ + "ResourceARN", + "ResourceTags" + ], + "members":{ + "ResourceARN":{ + "shape":"AmazonResourceName", + "documentation":"

                          The unique identifier for the resource.

                          " + }, + "ResourceTags":{ + "shape":"ResourceTagList", + "documentation":"

                          The tags associated with the resource.

                          " + } + } + }, + "TagResourceResponse":{ + "type":"structure", + "members":{ + } + }, "TargetId":{ "type":"string", "max":68, @@ -1948,6 +2105,28 @@ "min":1, "pattern":".*" }, + "UntagResourceRequest":{ + "type":"structure", + "required":[ + "ResourceARN", + "ResourceTagKeys" + ], + "members":{ + "ResourceARN":{ + "shape":"AmazonResourceName", + "documentation":"

                          The unique identifier for the resource.

                          " + }, + "ResourceTagKeys":{ + "shape":"ResourceTagKeyList", + "documentation":"

                          The key that's associated with the tag.

                          " + } + } + }, + "UntagResourceResponse":{ + "type":"structure", + "members":{ + } + }, "UpdateBudgetActionRequest":{ "type":"structure", "required":[ diff --git a/tools/code-generation/api-descriptions/resiliencehub-2020-04-30.normal.json b/tools/code-generation/api-descriptions/resiliencehub-2020-04-30.normal.json index 4d68fae1720..9c465d0eec7 100644 --- a/tools/code-generation/api-descriptions/resiliencehub-2020-04-30.normal.json +++ b/tools/code-generation/api-descriptions/resiliencehub-2020-04-30.normal.json @@ -5,6 +5,7 @@ "endpointPrefix":"resiliencehub", "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceFullName":"AWS Resilience Hub", "serviceId":"resiliencehub", "signatureVersion":"v4", @@ -498,6 +499,23 @@ ], "documentation":"

                          List of compliance drifts that were detected while running an assessment.

                          " }, + "ListAppAssessmentResourceDrifts":{ + "name":"ListAppAssessmentResourceDrifts", + "http":{ + "method":"POST", + "requestUri":"/list-app-assessment-resource-drifts", + "responseCode":200 + }, + "input":{"shape":"ListAppAssessmentResourceDriftsRequest"}, + "output":{"shape":"ListAppAssessmentResourceDriftsResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

                          Indicates the list of resource drifts that were detected while running an assessment.

                          " + }, "ListAppAssessments":{ "name":"ListAppAssessments", "http":{ @@ -2854,7 +2872,11 @@ }, "DifferenceType":{ "type":"string", - "enum":["NotEqual"] + "enum":[ + "NotEqual", + "Added", + "Removed" + ] }, "DisruptionCompliance":{ "type":"structure", @@ -2938,7 +2960,10 @@ }, "DriftType":{ "type":"string", - "enum":["ApplicationCompliance"] + "enum":[ + "ApplicationCompliance", + "AppComponentResiliencyComplianceStatus" + ] }, "EksNamespace":{ "type":"string", @@ -3249,6 +3274,38 @@ } } }, + "ListAppAssessmentResourceDriftsRequest":{ + "type":"structure", + "required":["assessmentArn"], + "members":{ + "assessmentArn":{ + "shape":"Arn", + "documentation":"

                          Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                          " + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

                          Indicates the maximum number of drift results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

                          " + }, + "nextToken":{ + "shape":"NextToken", + "documentation":"

                          Null, or the token from a previous call to get the next set of results.

                          " + } + } + }, + "ListAppAssessmentResourceDriftsResponse":{ + "type":"structure", + "required":["resourceDrifts"], + "members":{ + "nextToken":{ + "shape":"NextToken", + "documentation":"

                          Null, or the token from a previous call to get the next set of results.

                          " + }, + "resourceDrifts":{ + "shape":"ResourceDriftList", + "documentation":"

                          Indicates all the resource drifts detected for an assessed entity.

                          " + } + } + }, "ListAppAssessmentsRequest":{ "type":"structure", "members":{ @@ -3661,7 +3718,6 @@ }, "ListRecommendationTemplatesRequest":{ "type":"structure", - "required":["assessmentArn"], "members":{ "assessmentArn":{ "shape":"Arn", @@ -4036,7 +4092,7 @@ }, "resourceType":{ "shape":"String255", - "documentation":"

                          The type of resource.

                          " + "documentation":"

                          Type of resource.

                          " }, "sourceType":{ "shape":"ResourceSourceType", @@ -4512,6 +4568,36 @@ } } }, + "ResourceDrift":{ + "type":"structure", + "members":{ + "appArn":{ + "shape":"Arn", + "documentation":"

                          Amazon Resource Name (ARN) of the application whose resources have drifted. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

                          " + }, + "appVersion":{ + "shape":"EntityVersion", + "documentation":"

                          Version of the application whose resources have drifted.

                          " + }, + "diffType":{ + "shape":"DifferenceType", + "documentation":"

                          Indicates if the resource was added or removed.

                          " + }, + "referenceId":{ + "shape":"EntityId", + "documentation":"

                          Reference identifier of the resource drift.

                          " + }, + "resourceIdentifier":{ + "shape":"ResourceIdentifier", + "documentation":"

                          Identifier of the drifted resource.

                          " + } + }, + "documentation":"

                          Indicates the resources that have drifted in the current application version.

                          " + }, + "ResourceDriftList":{ + "type":"list", + "member":{"shape":"ResourceDrift"} + }, "ResourceError":{ "type":"structure", "members":{ @@ -4552,6 +4638,20 @@ "type":"string", "pattern":".*" }, + "ResourceIdentifier":{ + "type":"structure", + "members":{ + "logicalResourceId":{ + "shape":"LogicalResourceId", + "documentation":"

                          Logical identifier of the drifted resource.

                          " + }, + "resourceType":{ + "shape":"String255", + "documentation":"

                          Type of the drifted resource.

                          " + } + }, + "documentation":"

                          Defines a resource identifier for the drifted resource.

                          " + }, "ResourceImportStatusType":{ "type":"string", "enum":[ @@ -4577,19 +4677,19 @@ "members":{ "appRegistryAppName":{ "shape":"EntityName", - "documentation":"

                          The name of the application this resource is mapped to.

                          " + "documentation":"

                          Name of the application this resource is mapped to when the mappingType is AppRegistryApp.

                          " }, "eksSourceName":{ "shape":"String255", - "documentation":"

                          Name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to.

                          This parameter accepts values in \"eks-cluster/namespace\" format.

                          " + "documentation":"

                          Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when the mappingType is EKS.

                          This parameter accepts values in \"eks-cluster/namespace\" format.

                          " }, "logicalStackName":{ "shape":"String255", - "documentation":"

                          The name of the CloudFormation stack this resource is mapped to.

                          " + "documentation":"

                          Name of the CloudFormation stack this resource is mapped to when the mappingType is CfnStack.

                          " }, "mappingType":{ "shape":"ResourceMappingType", - "documentation":"

                          Specifies the type of resource mapping.

                          AppRegistryApp

                          The resource is mapped to another application. The name of the application is contained in the appRegistryAppName property.

                          CfnStack

                          The resource is mapped to a CloudFormation stack. The name of the CloudFormation stack is contained in the logicalStackName property.

                          Resource

                          The resource is mapped to another resource. The name of the resource is contained in the resourceName property.

                          ResourceGroup

                          The resource is mapped to Resource Groups. The name of the resource group is contained in the resourceGroupName property.

                          " + "documentation":"

                          Specifies the type of resource mapping.

                          " }, "physicalResourceId":{ "shape":"PhysicalResourceId", @@ -4597,15 +4697,15 @@ }, "resourceGroupName":{ "shape":"EntityName", - "documentation":"

                          Name of the resource group that the resource is mapped to.

                          " + "documentation":"

                          Name of the Resource Groups that this resource is mapped to when the mappingType is ResourceGroup.

                          " }, "resourceName":{ "shape":"EntityName", - "documentation":"

                          Name of the resource that the resource is mapped to.

                          " + "documentation":"

                          Name of the resource that this resource is mapped to when the mappingType is Resource.

                          " }, "terraformSourceName":{ "shape":"String255", - "documentation":"

                          The short name of the Terraform source.

                          " + "documentation":"

                          Name of the Terraform source that this resource is mapped to when the mappingType is Terraform.

                          " } }, "documentation":"

                          Defines a resource mapping.

                          " @@ -4694,19 +4794,19 @@ "members":{ "excludedCount":{ "shape":"Long", - "documentation":"

                          Number of recommendations that were excluded from the assessment.

                          For example, if the Excluded count for Resilience Hub recommended Amazon CloudWatch alarms is 7, it indicates that 7 Amazon CloudWatch alarms are excluded from the assessment.

                          " + "documentation":"

                          Number of recommendations that were excluded from the assessment.

                          For example, if the excludedCount for Alarms coverage scoring component is 7, it indicates that 7 Amazon CloudWatch alarms are excluded from the assessment.

                          " }, "outstandingCount":{ "shape":"Long", - "documentation":"

                          Number of issues that must be resolved to obtain the maximum possible score for the scoring component. For SOPs, alarms, and FIS experiments, these are the number of recommendations that must be implemented. For compliance, it is the number of Application Components that has breached the resiliency policy.

                          For example, if the Outstanding count for Resilience Hub recommended Amazon CloudWatch alarms is 5, it indicates that 5 Amazon CloudWatch alarms must be fixed to achieve the maximum possible score.

                          " + "documentation":"

                          Number of recommendations that must be implemented to obtain the maximum possible score for the scoring component. For SOPs, alarms, and tests, these are the number of recommendations that must be implemented. For compliance, these are the number of Application Components that have breached the resiliency policy.

                          For example, if the outstandingCount for Alarms coverage scoring component is 5, it indicates that 5 Amazon CloudWatch alarms need to be implemented to achieve the maximum possible score.

                          " }, "possibleScore":{ "shape":"Double", - "documentation":"

                          Maximum possible score that can be obtained for the scoring component. If the Possible score is 20 points, it indicates the maximum possible score you can achieve for your application when you run a new assessment after implementing all the Resilience Hub recommendations.

                          " + "documentation":"

                          Maximum possible score that can be obtained for the scoring component.

                          For example, if the possibleScore is 20 points, it indicates the maximum possible score you can achieve for the scoring component when you run a new assessment after implementing all the Resilience Hub recommendations.

                          " }, "score":{ "shape":"Double", - "documentation":"

                          Resiliency score of your application.

                          " + "documentation":"

                          Resiliency score points given for the scoring component. The score is always less than or equal to the possibleScore.

                          " } }, "documentation":"

                          Resiliency score of each scoring component. For more information about scoring component, see Calculating resiliency score.

                          " @@ -4869,7 +4969,7 @@ "type":"string", "max":128, "min":1, - "pattern":"^(?!aws:)[^\\x00-\\x1f\\x22]+$" + "pattern":"^[^\\x00-\\x1f\\x22]+$" }, "TagKeyList":{ "type":"list", diff --git a/tools/code-generation/api-descriptions/route53profiles-2018-05-10.normal.json b/tools/code-generation/api-descriptions/route53profiles-2018-05-10.normal.json index 17b8f176401..11b3bdd21a4 100644 --- a/tools/code-generation/api-descriptions/route53profiles-2018-05-10.normal.json +++ b/tools/code-generation/api-descriptions/route53profiles-2018-05-10.normal.json @@ -5,6 +5,7 @@ "endpointPrefix":"route53profiles", "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceFullName":"Route 53 Profiles", "serviceId":"Route53Profiles", "signatureVersion":"v4", @@ -31,7 +32,7 @@ {"shape":"AccessDeniedException"}, {"shape":"ConflictException"} ], - "documentation":"

                          Associates a Route 53 Profiles profile with a VPC. A VPC can have only one Profile associated with it, but a Profile can be associated with up to 5000 VPCs.

                          " + "documentation":"

                          Associates a Route 53 Profiles profile with a VPC. A VPC can have only one Profile associated with it, but a Profile can be associated with 1000 of VPCs (and you can request a higher quota). For more information, see https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html#limits-api-entities.

                          " }, "AssociateResourceToProfile":{ "name":"AssociateResourceToProfile", @@ -394,7 +395,7 @@ }, "ResourceProperties":{ "shape":"ResourceProperties", - "documentation":"

                          If you are adding a DNS Firewall rule group, include also a priority in this format:

                          Key=FirewallRuleGroupPriority,Value=100

                          " + "documentation":"

                          If you are adding a DNS Firewall rule group, include also a priority. The priority indicates the processing order for the rule groups, starting with the priority assinged the lowest value.

                          The allowed values for priority are between 100 and 9900.

                          " } } }, @@ -1131,7 +1132,7 @@ }, "ResourceProperties":{ "shape":"ResourceProperties", - "documentation":"

                          If you are adding a DNS Firewall rule group, include also a priority in this format:

                          Key=FirewallRuleGroupPriority,Value=100.

                          " + "documentation":"

                          If you are adding a DNS Firewall rule group, include also a priority. The priority indicates the processing order for the rule groups, starting with the priority assinged the lowest value.

                          The allowed values for priority are between 100 and 9900.

                          " } } }, diff --git a/tools/code-generation/endpoints/budgets-2016-10-20.endpoint-rule-set.json b/tools/code-generation/endpoints/budgets-2016-10-20.endpoint-rule-set.json index c7e70d266ca..8c740ff42f1 100644 --- a/tools/code-generation/endpoints/budgets-2016-10-20.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/budgets-2016-10-20.endpoint-rule-set.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -235,7 +233,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -270,7 +267,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -281,14 +277,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -302,14 +300,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -318,11 +314,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -333,14 +329,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -354,7 +352,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -374,7 +371,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -385,14 +381,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -403,9 +401,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [],