Skip to content

Commit a72b841

Browse files
author
aws-sdk-cpp-automation
committed
The release fixes the incorrect permissions called out in the documentation - DESCRIBE_TAG, ASSOCIATE_TAG, DELETE_TAG, ALTER_TAG. This trebuchet release fixes the corresponding SDK and documentation.
Amazon Location Service now includes a MaxResults parameter for GetDevicePositionHistory requests. Added three new APIs to support tagging and resource-level authorization on Cost Explorer resources: TagResource, UntagResource, ListTagsForResource. Added optional parameters to CreateCostCategoryDefinition, CreateAnomalySubscription and CreateAnomalyMonitor APIs to support Tag On Create. Documentation only update to address tickets Amazon Polly adds new Catalan voice - Arlet. Arlet is available as Neural voice only.
1 parent c06e533 commit a72b841

File tree

47 files changed

+2712
-143
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2712
-143
lines changed

aws-cpp-sdk-ce/include/aws/ce/CostExplorerClient.h

Lines changed: 123 additions & 3 deletions
Large diffs are not rendered by default.

aws-cpp-sdk-ce/include/aws/ce/CostExplorerErrors.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ enum class CostExplorerErrors
5353
LIMIT_EXCEEDED,
5454
REQUEST_CHANGED,
5555
SERVICE_QUOTA_EXCEEDED,
56+
TOO_MANY_TAGS,
5657
UNKNOWN_MONITOR,
5758
UNKNOWN_SUBSCRIPTION,
5859
UNRESOLVABLE_USAGE_UNIT

aws-cpp-sdk-ce/include/aws/ce/model/CreateAnomalyMonitorRequest.h

Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
#include <aws/ce/CostExplorer_EXPORTS.h>
88
#include <aws/ce/CostExplorerRequest.h>
99
#include <aws/ce/model/AnomalyMonitor.h>
10+
#include <aws/core/utils/memory/stl/AWSVector.h>
11+
#include <aws/ce/model/ResourceTag.h>
1012
#include <utility>
1113

1214
namespace Aws
@@ -64,10 +66,166 @@ namespace Model
6466
*/
6567
inline CreateAnomalyMonitorRequest& WithAnomalyMonitor(AnomalyMonitor&& value) { SetAnomalyMonitor(std::move(value)); return *this;}
6668

69+
70+
/**
71+
* <p> An optional list of tags to associate with the specified <a
72+
* href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalyMonitor.html">
73+
* <code>AnomalyMonitor</code> </a>. You can use resource tags to control access to
74+
* your monitor using IAM policies.</p> <p>Each tag consists of a key and a value,
75+
* and each key must be unique for the resource. The following restrictions apply
76+
* to resource tags:</p> <ul> <li> <p>Although the maximum number of array members
77+
* is 200, you can assign a maximum of 50 user-tags to one resource. The remaining
78+
* are reserved for Amazon Web Services use</p> </li> <li> <p>The maximum length of
79+
* a key is 128 characters</p> </li> <li> <p>The maximum length of a value is 256
80+
* characters</p> </li> <li> <p>Valid characters for keys and values are:
81+
* <code>A-Z</code>, <code>a-z</code>, spaces, <code>_.:/=+-</code> </p> </li> <li>
82+
* <p>Keys and values are case sensitive</p> </li> <li> <p>Keys and values are
83+
* trimmed for any leading or trailing whitespaces</p> </li> <li> <p>Don’t use
84+
* <code>aws:</code> as a prefix for your keys. This prefix is reserved for Amazon
85+
* Web Services use</p> </li> </ul>
86+
*/
87+
inline const Aws::Vector<ResourceTag>& GetResourceTags() const{ return m_resourceTags; }
88+
89+
/**
90+
* <p> An optional list of tags to associate with the specified <a
91+
* href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalyMonitor.html">
92+
* <code>AnomalyMonitor</code> </a>. You can use resource tags to control access to
93+
* your monitor using IAM policies.</p> <p>Each tag consists of a key and a value,
94+
* and each key must be unique for the resource. The following restrictions apply
95+
* to resource tags:</p> <ul> <li> <p>Although the maximum number of array members
96+
* is 200, you can assign a maximum of 50 user-tags to one resource. The remaining
97+
* are reserved for Amazon Web Services use</p> </li> <li> <p>The maximum length of
98+
* a key is 128 characters</p> </li> <li> <p>The maximum length of a value is 256
99+
* characters</p> </li> <li> <p>Valid characters for keys and values are:
100+
* <code>A-Z</code>, <code>a-z</code>, spaces, <code>_.:/=+-</code> </p> </li> <li>
101+
* <p>Keys and values are case sensitive</p> </li> <li> <p>Keys and values are
102+
* trimmed for any leading or trailing whitespaces</p> </li> <li> <p>Don’t use
103+
* <code>aws:</code> as a prefix for your keys. This prefix is reserved for Amazon
104+
* Web Services use</p> </li> </ul>
105+
*/
106+
inline bool ResourceTagsHasBeenSet() const { return m_resourceTagsHasBeenSet; }
107+
108+
/**
109+
* <p> An optional list of tags to associate with the specified <a
110+
* href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalyMonitor.html">
111+
* <code>AnomalyMonitor</code> </a>. You can use resource tags to control access to
112+
* your monitor using IAM policies.</p> <p>Each tag consists of a key and a value,
113+
* and each key must be unique for the resource. The following restrictions apply
114+
* to resource tags:</p> <ul> <li> <p>Although the maximum number of array members
115+
* is 200, you can assign a maximum of 50 user-tags to one resource. The remaining
116+
* are reserved for Amazon Web Services use</p> </li> <li> <p>The maximum length of
117+
* a key is 128 characters</p> </li> <li> <p>The maximum length of a value is 256
118+
* characters</p> </li> <li> <p>Valid characters for keys and values are:
119+
* <code>A-Z</code>, <code>a-z</code>, spaces, <code>_.:/=+-</code> </p> </li> <li>
120+
* <p>Keys and values are case sensitive</p> </li> <li> <p>Keys and values are
121+
* trimmed for any leading or trailing whitespaces</p> </li> <li> <p>Don’t use
122+
* <code>aws:</code> as a prefix for your keys. This prefix is reserved for Amazon
123+
* Web Services use</p> </li> </ul>
124+
*/
125+
inline void SetResourceTags(const Aws::Vector<ResourceTag>& value) { m_resourceTagsHasBeenSet = true; m_resourceTags = value; }
126+
127+
/**
128+
* <p> An optional list of tags to associate with the specified <a
129+
* href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalyMonitor.html">
130+
* <code>AnomalyMonitor</code> </a>. You can use resource tags to control access to
131+
* your monitor using IAM policies.</p> <p>Each tag consists of a key and a value,
132+
* and each key must be unique for the resource. The following restrictions apply
133+
* to resource tags:</p> <ul> <li> <p>Although the maximum number of array members
134+
* is 200, you can assign a maximum of 50 user-tags to one resource. The remaining
135+
* are reserved for Amazon Web Services use</p> </li> <li> <p>The maximum length of
136+
* a key is 128 characters</p> </li> <li> <p>The maximum length of a value is 256
137+
* characters</p> </li> <li> <p>Valid characters for keys and values are:
138+
* <code>A-Z</code>, <code>a-z</code>, spaces, <code>_.:/=+-</code> </p> </li> <li>
139+
* <p>Keys and values are case sensitive</p> </li> <li> <p>Keys and values are
140+
* trimmed for any leading or trailing whitespaces</p> </li> <li> <p>Don’t use
141+
* <code>aws:</code> as a prefix for your keys. This prefix is reserved for Amazon
142+
* Web Services use</p> </li> </ul>
143+
*/
144+
inline void SetResourceTags(Aws::Vector<ResourceTag>&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags = std::move(value); }
145+
146+
/**
147+
* <p> An optional list of tags to associate with the specified <a
148+
* href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalyMonitor.html">
149+
* <code>AnomalyMonitor</code> </a>. You can use resource tags to control access to
150+
* your monitor using IAM policies.</p> <p>Each tag consists of a key and a value,
151+
* and each key must be unique for the resource. The following restrictions apply
152+
* to resource tags:</p> <ul> <li> <p>Although the maximum number of array members
153+
* is 200, you can assign a maximum of 50 user-tags to one resource. The remaining
154+
* are reserved for Amazon Web Services use</p> </li> <li> <p>The maximum length of
155+
* a key is 128 characters</p> </li> <li> <p>The maximum length of a value is 256
156+
* characters</p> </li> <li> <p>Valid characters for keys and values are:
157+
* <code>A-Z</code>, <code>a-z</code>, spaces, <code>_.:/=+-</code> </p> </li> <li>
158+
* <p>Keys and values are case sensitive</p> </li> <li> <p>Keys and values are
159+
* trimmed for any leading or trailing whitespaces</p> </li> <li> <p>Don’t use
160+
* <code>aws:</code> as a prefix for your keys. This prefix is reserved for Amazon
161+
* Web Services use</p> </li> </ul>
162+
*/
163+
inline CreateAnomalyMonitorRequest& WithResourceTags(const Aws::Vector<ResourceTag>& value) { SetResourceTags(value); return *this;}
164+
165+
/**
166+
* <p> An optional list of tags to associate with the specified <a
167+
* href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalyMonitor.html">
168+
* <code>AnomalyMonitor</code> </a>. You can use resource tags to control access to
169+
* your monitor using IAM policies.</p> <p>Each tag consists of a key and a value,
170+
* and each key must be unique for the resource. The following restrictions apply
171+
* to resource tags:</p> <ul> <li> <p>Although the maximum number of array members
172+
* is 200, you can assign a maximum of 50 user-tags to one resource. The remaining
173+
* are reserved for Amazon Web Services use</p> </li> <li> <p>The maximum length of
174+
* a key is 128 characters</p> </li> <li> <p>The maximum length of a value is 256
175+
* characters</p> </li> <li> <p>Valid characters for keys and values are:
176+
* <code>A-Z</code>, <code>a-z</code>, spaces, <code>_.:/=+-</code> </p> </li> <li>
177+
* <p>Keys and values are case sensitive</p> </li> <li> <p>Keys and values are
178+
* trimmed for any leading or trailing whitespaces</p> </li> <li> <p>Don’t use
179+
* <code>aws:</code> as a prefix for your keys. This prefix is reserved for Amazon
180+
* Web Services use</p> </li> </ul>
181+
*/
182+
inline CreateAnomalyMonitorRequest& WithResourceTags(Aws::Vector<ResourceTag>&& value) { SetResourceTags(std::move(value)); return *this;}
183+
184+
/**
185+
* <p> An optional list of tags to associate with the specified <a
186+
* href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalyMonitor.html">
187+
* <code>AnomalyMonitor</code> </a>. You can use resource tags to control access to
188+
* your monitor using IAM policies.</p> <p>Each tag consists of a key and a value,
189+
* and each key must be unique for the resource. The following restrictions apply
190+
* to resource tags:</p> <ul> <li> <p>Although the maximum number of array members
191+
* is 200, you can assign a maximum of 50 user-tags to one resource. The remaining
192+
* are reserved for Amazon Web Services use</p> </li> <li> <p>The maximum length of
193+
* a key is 128 characters</p> </li> <li> <p>The maximum length of a value is 256
194+
* characters</p> </li> <li> <p>Valid characters for keys and values are:
195+
* <code>A-Z</code>, <code>a-z</code>, spaces, <code>_.:/=+-</code> </p> </li> <li>
196+
* <p>Keys and values are case sensitive</p> </li> <li> <p>Keys and values are
197+
* trimmed for any leading or trailing whitespaces</p> </li> <li> <p>Don’t use
198+
* <code>aws:</code> as a prefix for your keys. This prefix is reserved for Amazon
199+
* Web Services use</p> </li> </ul>
200+
*/
201+
inline CreateAnomalyMonitorRequest& AddResourceTags(const ResourceTag& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.push_back(value); return *this; }
202+
203+
/**
204+
* <p> An optional list of tags to associate with the specified <a
205+
* href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalyMonitor.html">
206+
* <code>AnomalyMonitor</code> </a>. You can use resource tags to control access to
207+
* your monitor using IAM policies.</p> <p>Each tag consists of a key and a value,
208+
* and each key must be unique for the resource. The following restrictions apply
209+
* to resource tags:</p> <ul> <li> <p>Although the maximum number of array members
210+
* is 200, you can assign a maximum of 50 user-tags to one resource. The remaining
211+
* are reserved for Amazon Web Services use</p> </li> <li> <p>The maximum length of
212+
* a key is 128 characters</p> </li> <li> <p>The maximum length of a value is 256
213+
* characters</p> </li> <li> <p>Valid characters for keys and values are:
214+
* <code>A-Z</code>, <code>a-z</code>, spaces, <code>_.:/=+-</code> </p> </li> <li>
215+
* <p>Keys and values are case sensitive</p> </li> <li> <p>Keys and values are
216+
* trimmed for any leading or trailing whitespaces</p> </li> <li> <p>Don’t use
217+
* <code>aws:</code> as a prefix for your keys. This prefix is reserved for Amazon
218+
* Web Services use</p> </li> </ul>
219+
*/
220+
inline CreateAnomalyMonitorRequest& AddResourceTags(ResourceTag&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.push_back(std::move(value)); return *this; }
221+
67222
private:
68223

69224
AnomalyMonitor m_anomalyMonitor;
70225
bool m_anomalyMonitorHasBeenSet;
226+
227+
Aws::Vector<ResourceTag> m_resourceTags;
228+
bool m_resourceTagsHasBeenSet;
71229
};
72230

73231
} // namespace Model

0 commit comments

Comments
 (0)