Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ea2b24c

Browse files
author
aws-sdk-cpp-automation
committed
This release resolves an issue with the DescribeHub action, changes the MasterId and InvitationId parameters for AcceptInvitation to Required, and changes the AccountIds parameter for DeleteInvitations and DeclineInvitations to Required.
This feature adds "default tier" to the AWS Systems Manager Parameter Store for parameter creation and update. AWS customers can now set the "default tier" to one of the following values: Standard (default), Advanced or Intelligent-Tiering. This allows customers to create advanced parameters or parameters in corresponding tiers with one setting rather than code change to specify parameter tiers.
1 parent d6c0cf9 commit ea2b24c

File tree

11 files changed

+417
-180
lines changed

11 files changed

+417
-180
lines changed

aws-cpp-sdk-core/include/aws/core/VersionConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
* permissions and limitations under the License.
1414
*/
1515

16-
#define AWS_SDK_VERSION_STRING "1.7.169"
16+
#define AWS_SDK_VERSION_STRING "1.7.170"

aws-cpp-sdk-securityhub/include/aws/securityhub/model/DescribeHubRequest.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121

2222
namespace Aws
2323
{
24+
namespace Http
25+
{
26+
class URI;
27+
} //namespace Http
2428
namespace SecurityHub
2529
{
2630
namespace Model
@@ -41,6 +45,8 @@ namespace Model
4145

4246
Aws::String SerializePayload() const override;
4347

48+
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
49+
4450

4551
/**
4652
* <p>The ARN of the Hub resource to retrieve.</p>

aws-cpp-sdk-securityhub/source/model/DescribeHubRequest.cpp

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,15 @@
1515

1616
#include <aws/securityhub/model/DescribeHubRequest.h>
1717
#include <aws/core/utils/json/JsonSerializer.h>
18+
#include <aws/core/http/URI.h>
19+
#include <aws/core/utils/memory/stl/AWSStringStream.h>
1820

1921
#include <utility>
2022

2123
using namespace Aws::SecurityHub::Model;
2224
using namespace Aws::Utils::Json;
2325
using namespace Aws::Utils;
26+
using namespace Aws::Http;
2427

2528
DescribeHubRequest::DescribeHubRequest() :
2629
m_hubArnHasBeenSet(false)
@@ -29,17 +32,20 @@ DescribeHubRequest::DescribeHubRequest() :
2932

3033
Aws::String DescribeHubRequest::SerializePayload() const
3134
{
32-
JsonValue payload;
33-
34-
if(m_hubArnHasBeenSet)
35-
{
36-
payload.WithString("HubArn", m_hubArn);
35+
return {};
36+
}
3737

38-
}
38+
void DescribeHubRequest::AddQueryStringParameters(URI& uri) const
39+
{
40+
Aws::StringStream ss;
41+
if(m_hubArnHasBeenSet)
42+
{
43+
ss << m_hubArn;
44+
uri.AddQueryStringParameter("HubArn", ss.str());
45+
ss.str("");
46+
}
3947

40-
return payload.View().WriteReadable();
4148
}
4249

4350

4451

45-

aws-cpp-sdk-ssm/include/aws/ssm/model/CreateAssociationRequest.h

Lines changed: 80 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -228,42 +228,90 @@ namespace Model
228228

229229

230230
/**
231-
* <p>The instance ID.</p>
231+
* <p>The instance ID.</p> <note> <p> <code>InstanceId</code> has been deprecated.
232+
* To specify an instance ID for an association, use the <code>Targets</code>
233+
* parameter. If you use the parameter <code>InstanceId</code>, you cannot use the
234+
* parameters <code>AssociationName</code>, <code>DocumentVersion</code>,
235+
* <code>MaxErrors</code>, <code>MaxConcurrency</code>,
236+
* <code>OutputLocation</code>, or <code>ScheduleExpression</code>. To use these
237+
* parameters, you must use the <code>Targets</code> parameter.</p> </note>
232238
*/
233239
inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
234240

235241
/**
236-
* <p>The instance ID.</p>
242+
* <p>The instance ID.</p> <note> <p> <code>InstanceId</code> has been deprecated.
243+
* To specify an instance ID for an association, use the <code>Targets</code>
244+
* parameter. If you use the parameter <code>InstanceId</code>, you cannot use the
245+
* parameters <code>AssociationName</code>, <code>DocumentVersion</code>,
246+
* <code>MaxErrors</code>, <code>MaxConcurrency</code>,
247+
* <code>OutputLocation</code>, or <code>ScheduleExpression</code>. To use these
248+
* parameters, you must use the <code>Targets</code> parameter.</p> </note>
237249
*/
238250
inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
239251

240252
/**
241-
* <p>The instance ID.</p>
253+
* <p>The instance ID.</p> <note> <p> <code>InstanceId</code> has been deprecated.
254+
* To specify an instance ID for an association, use the <code>Targets</code>
255+
* parameter. If you use the parameter <code>InstanceId</code>, you cannot use the
256+
* parameters <code>AssociationName</code>, <code>DocumentVersion</code>,
257+
* <code>MaxErrors</code>, <code>MaxConcurrency</code>,
258+
* <code>OutputLocation</code>, or <code>ScheduleExpression</code>. To use these
259+
* parameters, you must use the <code>Targets</code> parameter.</p> </note>
242260
*/
243261
inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
244262

245263
/**
246-
* <p>The instance ID.</p>
264+
* <p>The instance ID.</p> <note> <p> <code>InstanceId</code> has been deprecated.
265+
* To specify an instance ID for an association, use the <code>Targets</code>
266+
* parameter. If you use the parameter <code>InstanceId</code>, you cannot use the
267+
* parameters <code>AssociationName</code>, <code>DocumentVersion</code>,
268+
* <code>MaxErrors</code>, <code>MaxConcurrency</code>,
269+
* <code>OutputLocation</code>, or <code>ScheduleExpression</code>. To use these
270+
* parameters, you must use the <code>Targets</code> parameter.</p> </note>
247271
*/
248272
inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
249273

250274
/**
251-
* <p>The instance ID.</p>
275+
* <p>The instance ID.</p> <note> <p> <code>InstanceId</code> has been deprecated.
276+
* To specify an instance ID for an association, use the <code>Targets</code>
277+
* parameter. If you use the parameter <code>InstanceId</code>, you cannot use the
278+
* parameters <code>AssociationName</code>, <code>DocumentVersion</code>,
279+
* <code>MaxErrors</code>, <code>MaxConcurrency</code>,
280+
* <code>OutputLocation</code>, or <code>ScheduleExpression</code>. To use these
281+
* parameters, you must use the <code>Targets</code> parameter.</p> </note>
252282
*/
253283
inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
254284

255285
/**
256-
* <p>The instance ID.</p>
286+
* <p>The instance ID.</p> <note> <p> <code>InstanceId</code> has been deprecated.
287+
* To specify an instance ID for an association, use the <code>Targets</code>
288+
* parameter. If you use the parameter <code>InstanceId</code>, you cannot use the
289+
* parameters <code>AssociationName</code>, <code>DocumentVersion</code>,
290+
* <code>MaxErrors</code>, <code>MaxConcurrency</code>,
291+
* <code>OutputLocation</code>, or <code>ScheduleExpression</code>. To use these
292+
* parameters, you must use the <code>Targets</code> parameter.</p> </note>
257293
*/
258294
inline CreateAssociationRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
259295

260296
/**
261-
* <p>The instance ID.</p>
297+
* <p>The instance ID.</p> <note> <p> <code>InstanceId</code> has been deprecated.
298+
* To specify an instance ID for an association, use the <code>Targets</code>
299+
* parameter. If you use the parameter <code>InstanceId</code>, you cannot use the
300+
* parameters <code>AssociationName</code>, <code>DocumentVersion</code>,
301+
* <code>MaxErrors</code>, <code>MaxConcurrency</code>,
302+
* <code>OutputLocation</code>, or <code>ScheduleExpression</code>. To use these
303+
* parameters, you must use the <code>Targets</code> parameter.</p> </note>
262304
*/
263305
inline CreateAssociationRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
264306

265307
/**
266-
* <p>The instance ID.</p>
308+
* <p>The instance ID.</p> <note> <p> <code>InstanceId</code> has been deprecated.
309+
* To specify an instance ID for an association, use the <code>Targets</code>
310+
* parameter. If you use the parameter <code>InstanceId</code>, you cannot use the
311+
* parameters <code>AssociationName</code>, <code>DocumentVersion</code>,
312+
* <code>MaxErrors</code>, <code>MaxConcurrency</code>,
313+
* <code>OutputLocation</code>, or <code>ScheduleExpression</code>. To use these
314+
* parameters, you must use the <code>Targets</code> parameter.</p> </note>
267315
*/
268316
inline CreateAssociationRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
269317

@@ -330,42 +378,58 @@ namespace Model
330378

331379

332380
/**
333-
* <p>The targets (either instances or tags) for the association.</p>
381+
* <p>The targets (either instances or tags) for the association. You must specify
382+
* a value for <code>Targets</code> if you don't specify a value for
383+
* <code>InstanceId</code>.</p>
334384
*/
335385
inline const Aws::Vector<Target>& GetTargets() const{ return m_targets; }
336386

337387
/**
338-
* <p>The targets (either instances or tags) for the association.</p>
388+
* <p>The targets (either instances or tags) for the association. You must specify
389+
* a value for <code>Targets</code> if you don't specify a value for
390+
* <code>InstanceId</code>.</p>
339391
*/
340392
inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
341393

342394
/**
343-
* <p>The targets (either instances or tags) for the association.</p>
395+
* <p>The targets (either instances or tags) for the association. You must specify
396+
* a value for <code>Targets</code> if you don't specify a value for
397+
* <code>InstanceId</code>.</p>
344398
*/
345399
inline void SetTargets(const Aws::Vector<Target>& value) { m_targetsHasBeenSet = true; m_targets = value; }
346400

347401
/**
348-
* <p>The targets (either instances or tags) for the association.</p>
402+
* <p>The targets (either instances or tags) for the association. You must specify
403+
* a value for <code>Targets</code> if you don't specify a value for
404+
* <code>InstanceId</code>.</p>
349405
*/
350406
inline void SetTargets(Aws::Vector<Target>&& value) { m_targetsHasBeenSet = true; m_targets = std::move(value); }
351407

352408
/**
353-
* <p>The targets (either instances or tags) for the association.</p>
409+
* <p>The targets (either instances or tags) for the association. You must specify
410+
* a value for <code>Targets</code> if you don't specify a value for
411+
* <code>InstanceId</code>.</p>
354412
*/
355413
inline CreateAssociationRequest& WithTargets(const Aws::Vector<Target>& value) { SetTargets(value); return *this;}
356414

357415
/**
358-
* <p>The targets (either instances or tags) for the association.</p>
416+
* <p>The targets (either instances or tags) for the association. You must specify
417+
* a value for <code>Targets</code> if you don't specify a value for
418+
* <code>InstanceId</code>.</p>
359419
*/
360420
inline CreateAssociationRequest& WithTargets(Aws::Vector<Target>&& value) { SetTargets(std::move(value)); return *this;}
361421

362422
/**
363-
* <p>The targets (either instances or tags) for the association.</p>
423+
* <p>The targets (either instances or tags) for the association. You must specify
424+
* a value for <code>Targets</code> if you don't specify a value for
425+
* <code>InstanceId</code>.</p>
364426
*/
365427
inline CreateAssociationRequest& AddTargets(const Target& value) { m_targetsHasBeenSet = true; m_targets.push_back(value); return *this; }
366428

367429
/**
368-
* <p>The targets (either instances or tags) for the association.</p>
430+
* <p>The targets (either instances or tags) for the association. You must specify
431+
* a value for <code>Targets</code> if you don't specify a value for
432+
* <code>InstanceId</code>.</p>
369433
*/
370434
inline CreateAssociationRequest& AddTargets(Target&& value) { m_targetsHasBeenSet = true; m_targets.push_back(std::move(value)); return *this; }
371435

aws-cpp-sdk-ssm/include/aws/ssm/model/DescribeInstancePatchesRequest.h

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -88,58 +88,58 @@ namespace Model
8888

8989

9090
/**
91-
* <p>Each entry in the array is a structure containing:</p> <p>Key (string,
92-
* between 1 and 128 characters)</p> <p>Values (array of strings, each string
93-
* between 1 and 256 characters)</p>
91+
* <p>An array of structures. Each entry in the array is a structure containing a
92+
* Key, Value combination. Valid values for Key are <code>Classification</code> |
93+
* <code>KBId</code> | <code>Severity</code> | <code>State</code>.</p>
9494
*/
9595
inline const Aws::Vector<PatchOrchestratorFilter>& GetFilters() const{ return m_filters; }
9696

9797
/**
98-
* <p>Each entry in the array is a structure containing:</p> <p>Key (string,
99-
* between 1 and 128 characters)</p> <p>Values (array of strings, each string
100-
* between 1 and 256 characters)</p>
98+
* <p>An array of structures. Each entry in the array is a structure containing a
99+
* Key, Value combination. Valid values for Key are <code>Classification</code> |
100+
* <code>KBId</code> | <code>Severity</code> | <code>State</code>.</p>
101101
*/
102102
inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
103103

104104
/**
105-
* <p>Each entry in the array is a structure containing:</p> <p>Key (string,
106-
* between 1 and 128 characters)</p> <p>Values (array of strings, each string
107-
* between 1 and 256 characters)</p>
105+
* <p>An array of structures. Each entry in the array is a structure containing a
106+
* Key, Value combination. Valid values for Key are <code>Classification</code> |
107+
* <code>KBId</code> | <code>Severity</code> | <code>State</code>.</p>
108108
*/
109109
inline void SetFilters(const Aws::Vector<PatchOrchestratorFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
110110

111111
/**
112-
* <p>Each entry in the array is a structure containing:</p> <p>Key (string,
113-
* between 1 and 128 characters)</p> <p>Values (array of strings, each string
114-
* between 1 and 256 characters)</p>
112+
* <p>An array of structures. Each entry in the array is a structure containing a
113+
* Key, Value combination. Valid values for Key are <code>Classification</code> |
114+
* <code>KBId</code> | <code>Severity</code> | <code>State</code>.</p>
115115
*/
116116
inline void SetFilters(Aws::Vector<PatchOrchestratorFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
117117

118118
/**
119-
* <p>Each entry in the array is a structure containing:</p> <p>Key (string,
120-
* between 1 and 128 characters)</p> <p>Values (array of strings, each string
121-
* between 1 and 256 characters)</p>
119+
* <p>An array of structures. Each entry in the array is a structure containing a
120+
* Key, Value combination. Valid values for Key are <code>Classification</code> |
121+
* <code>KBId</code> | <code>Severity</code> | <code>State</code>.</p>
122122
*/
123123
inline DescribeInstancePatchesRequest& WithFilters(const Aws::Vector<PatchOrchestratorFilter>& value) { SetFilters(value); return *this;}
124124

125125
/**
126-
* <p>Each entry in the array is a structure containing:</p> <p>Key (string,
127-
* between 1 and 128 characters)</p> <p>Values (array of strings, each string
128-
* between 1 and 256 characters)</p>
126+
* <p>An array of structures. Each entry in the array is a structure containing a
127+
* Key, Value combination. Valid values for Key are <code>Classification</code> |
128+
* <code>KBId</code> | <code>Severity</code> | <code>State</code>.</p>
129129
*/
130130
inline DescribeInstancePatchesRequest& WithFilters(Aws::Vector<PatchOrchestratorFilter>&& value) { SetFilters(std::move(value)); return *this;}
131131

132132
/**
133-
* <p>Each entry in the array is a structure containing:</p> <p>Key (string,
134-
* between 1 and 128 characters)</p> <p>Values (array of strings, each string
135-
* between 1 and 256 characters)</p>
133+
* <p>An array of structures. Each entry in the array is a structure containing a
134+
* Key, Value combination. Valid values for Key are <code>Classification</code> |
135+
* <code>KBId</code> | <code>Severity</code> | <code>State</code>.</p>
136136
*/
137137
inline DescribeInstancePatchesRequest& AddFilters(const PatchOrchestratorFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
138138

139139
/**
140-
* <p>Each entry in the array is a structure containing:</p> <p>Key (string,
141-
* between 1 and 128 characters)</p> <p>Values (array of strings, each string
142-
* between 1 and 256 characters)</p>
140+
* <p>An array of structures. Each entry in the array is a structure containing a
141+
* Key, Value combination. Valid values for Key are <code>Classification</code> |
142+
* <code>KBId</code> | <code>Severity</code> | <code>State</code>.</p>
143143
*/
144144
inline DescribeInstancePatchesRequest& AddFilters(PatchOrchestratorFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
145145

aws-cpp-sdk-ssm/include/aws/ssm/model/ParameterTier.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ namespace Model
2727
{
2828
NOT_SET,
2929
Standard,
30-
Advanced
30+
Advanced,
31+
Intelligent_Tiering
3132
};
3233

3334
namespace ParameterTierMapper

0 commit comments

Comments
 (0)