Skip to content

Commit 94898f5

Browse files
author
aws-sdk-cpp-automation
committed
This release adds support for the following FSx for OpenZFS features: snapshot lifecycle transition messages, force flag for deleting file systems with child resources, LZ4 data compression, custom record sizes, and unsetting volume quotas and reservations.
This release adds a new API option to enable overriding safety rules to allow routing control state updates. Add repositoryCloneMethod field for hosting an Amplify app. This field shows what authorization method is used to clone the repo: SSH, TOKEN, or SIGV4. Add new APIs for managing Users and Permission Groups. This release adds support for new AMI property 'lastLaunchedTime' AppRegistry is deprecating Application and Attribute-Group Name update feature. In this release, we are marking the name attributes for Update APIs as deprecated to give a heads up to our customers. This release adds support for updating an existing named query. We are adding the ability to configure workflows and actions for components. This release adds logging support for AWS Fault Injection Simulator experiments. Experiment templates can now be configured to send experiment activity logs to Amazon CloudWatch Logs or to an S3 bucket.
1 parent 4ffab13 commit 94898f5

File tree

210 files changed

+16724
-1586
lines changed

Some content is hidden

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

210 files changed

+16724
-1586
lines changed

aws-cpp-sdk-amplify/include/aws/amplify/model/App.h

Lines changed: 61 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include <aws/core/utils/memory/stl/AWSVector.h>
1313
#include <aws/amplify/model/ProductionBranch.h>
1414
#include <aws/amplify/model/AutoBranchCreationConfig.h>
15+
#include <aws/amplify/model/RepositoryCloneMethod.h>
1516
#include <aws/amplify/model/CustomRule.h>
1617
#include <utility>
1718

@@ -276,42 +277,42 @@ namespace Model
276277

277278

278279
/**
279-
* <p> The repository for the Amplify app. </p>
280+
* <p> The Git repository for the Amplify app. </p>
280281
*/
281282
inline const Aws::String& GetRepository() const{ return m_repository; }
282283

283284
/**
284-
* <p> The repository for the Amplify app. </p>
285+
* <p> The Git repository for the Amplify app. </p>
285286
*/
286287
inline bool RepositoryHasBeenSet() const { return m_repositoryHasBeenSet; }
287288

288289
/**
289-
* <p> The repository for the Amplify app. </p>
290+
* <p> The Git repository for the Amplify app. </p>
290291
*/
291292
inline void SetRepository(const Aws::String& value) { m_repositoryHasBeenSet = true; m_repository = value; }
292293

293294
/**
294-
* <p> The repository for the Amplify app. </p>
295+
* <p> The Git repository for the Amplify app. </p>
295296
*/
296297
inline void SetRepository(Aws::String&& value) { m_repositoryHasBeenSet = true; m_repository = std::move(value); }
297298

298299
/**
299-
* <p> The repository for the Amplify app. </p>
300+
* <p> The Git repository for the Amplify app. </p>
300301
*/
301302
inline void SetRepository(const char* value) { m_repositoryHasBeenSet = true; m_repository.assign(value); }
302303

303304
/**
304-
* <p> The repository for the Amplify app. </p>
305+
* <p> The Git repository for the Amplify app. </p>
305306
*/
306307
inline App& WithRepository(const Aws::String& value) { SetRepository(value); return *this;}
307308

308309
/**
309-
* <p> The repository for the Amplify app. </p>
310+
* <p> The Git repository for the Amplify app. </p>
310311
*/
311312
inline App& WithRepository(Aws::String&& value) { SetRepository(std::move(value)); return *this;}
312313

313314
/**
314-
* <p> The repository for the Amplify app. </p>
315+
* <p> The Git repository for the Amplify app. </p>
315316
*/
316317
inline App& WithRepository(const char* value) { SetRepository(value); return *this;}
317318

@@ -963,6 +964,55 @@ namespace Model
963964
*/
964965
inline App& WithAutoBranchCreationConfig(AutoBranchCreationConfig&& value) { SetAutoBranchCreationConfig(std::move(value)); return *this;}
965966

967+
968+
/**
969+
* <p>The authentication protocol to use to access the Git repository for an
970+
* Amplify app. For a GitHub repository, specify <code>TOKEN</code>. For an Amazon
971+
* Web Services CodeCommit repository, specify <code>SIGV4</code>. For GitLab and
972+
* Bitbucket repositories, specify <code>SSH</code>.</p>
973+
*/
974+
inline const RepositoryCloneMethod& GetRepositoryCloneMethod() const{ return m_repositoryCloneMethod; }
975+
976+
/**
977+
* <p>The authentication protocol to use to access the Git repository for an
978+
* Amplify app. For a GitHub repository, specify <code>TOKEN</code>. For an Amazon
979+
* Web Services CodeCommit repository, specify <code>SIGV4</code>. For GitLab and
980+
* Bitbucket repositories, specify <code>SSH</code>.</p>
981+
*/
982+
inline bool RepositoryCloneMethodHasBeenSet() const { return m_repositoryCloneMethodHasBeenSet; }
983+
984+
/**
985+
* <p>The authentication protocol to use to access the Git repository for an
986+
* Amplify app. For a GitHub repository, specify <code>TOKEN</code>. For an Amazon
987+
* Web Services CodeCommit repository, specify <code>SIGV4</code>. For GitLab and
988+
* Bitbucket repositories, specify <code>SSH</code>.</p>
989+
*/
990+
inline void SetRepositoryCloneMethod(const RepositoryCloneMethod& value) { m_repositoryCloneMethodHasBeenSet = true; m_repositoryCloneMethod = value; }
991+
992+
/**
993+
* <p>The authentication protocol to use to access the Git repository for an
994+
* Amplify app. For a GitHub repository, specify <code>TOKEN</code>. For an Amazon
995+
* Web Services CodeCommit repository, specify <code>SIGV4</code>. For GitLab and
996+
* Bitbucket repositories, specify <code>SSH</code>.</p>
997+
*/
998+
inline void SetRepositoryCloneMethod(RepositoryCloneMethod&& value) { m_repositoryCloneMethodHasBeenSet = true; m_repositoryCloneMethod = std::move(value); }
999+
1000+
/**
1001+
* <p>The authentication protocol to use to access the Git repository for an
1002+
* Amplify app. For a GitHub repository, specify <code>TOKEN</code>. For an Amazon
1003+
* Web Services CodeCommit repository, specify <code>SIGV4</code>. For GitLab and
1004+
* Bitbucket repositories, specify <code>SSH</code>.</p>
1005+
*/
1006+
inline App& WithRepositoryCloneMethod(const RepositoryCloneMethod& value) { SetRepositoryCloneMethod(value); return *this;}
1007+
1008+
/**
1009+
* <p>The authentication protocol to use to access the Git repository for an
1010+
* Amplify app. For a GitHub repository, specify <code>TOKEN</code>. For an Amazon
1011+
* Web Services CodeCommit repository, specify <code>SIGV4</code>. For GitLab and
1012+
* Bitbucket repositories, specify <code>SSH</code>.</p>
1013+
*/
1014+
inline App& WithRepositoryCloneMethod(RepositoryCloneMethod&& value) { SetRepositoryCloneMethod(std::move(value)); return *this;}
1015+
9661016
private:
9671017

9681018
Aws::String m_appId;
@@ -1033,6 +1083,9 @@ namespace Model
10331083

10341084
AutoBranchCreationConfig m_autoBranchCreationConfig;
10351085
bool m_autoBranchCreationConfigHasBeenSet;
1086+
1087+
RepositoryCloneMethod m_repositoryCloneMethod;
1088+
bool m_repositoryCloneMethodHasBeenSet;
10361089
};
10371090

10381091
} // namespace Model

aws-cpp-sdk-amplify/include/aws/amplify/model/Platform.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ namespace Model
1616
enum class Platform
1717
{
1818
NOT_SET,
19-
WEB
19+
WEB,
20+
WEB_DYNAMIC
2021
};
2122

2223
namespace PlatformMapper
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#pragma once
7+
#include <aws/amplify/Amplify_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
10+
namespace Aws
11+
{
12+
namespace Amplify
13+
{
14+
namespace Model
15+
{
16+
enum class RepositoryCloneMethod
17+
{
18+
NOT_SET,
19+
SSH,
20+
TOKEN,
21+
SIGV4
22+
};
23+
24+
namespace RepositoryCloneMethodMapper
25+
{
26+
AWS_AMPLIFY_API RepositoryCloneMethod GetRepositoryCloneMethodForName(const Aws::String& name);
27+
28+
AWS_AMPLIFY_API Aws::String GetNameForRepositoryCloneMethod(RepositoryCloneMethod value);
29+
} // namespace RepositoryCloneMethodMapper
30+
} // namespace Model
31+
} // namespace Amplify
32+
} // namespace Aws

aws-cpp-sdk-amplify/source/model/App.cpp

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ App::App() :
4646
m_enableAutoBranchCreation(false),
4747
m_enableAutoBranchCreationHasBeenSet(false),
4848
m_autoBranchCreationPatternsHasBeenSet(false),
49-
m_autoBranchCreationConfigHasBeenSet(false)
49+
m_autoBranchCreationConfigHasBeenSet(false),
50+
m_repositoryCloneMethod(RepositoryCloneMethod::NOT_SET),
51+
m_repositoryCloneMethodHasBeenSet(false)
5052
{
5153
}
5254

@@ -78,7 +80,9 @@ App::App(JsonView jsonValue) :
7880
m_enableAutoBranchCreation(false),
7981
m_enableAutoBranchCreationHasBeenSet(false),
8082
m_autoBranchCreationPatternsHasBeenSet(false),
81-
m_autoBranchCreationConfigHasBeenSet(false)
83+
m_autoBranchCreationConfigHasBeenSet(false),
84+
m_repositoryCloneMethod(RepositoryCloneMethod::NOT_SET),
85+
m_repositoryCloneMethodHasBeenSet(false)
8286
{
8387
*this = jsonValue;
8488
}
@@ -258,6 +262,13 @@ App& App::operator =(JsonView jsonValue)
258262
m_autoBranchCreationConfigHasBeenSet = true;
259263
}
260264

265+
if(jsonValue.ValueExists("repositoryCloneMethod"))
266+
{
267+
m_repositoryCloneMethod = RepositoryCloneMethodMapper::GetRepositoryCloneMethodForName(jsonValue.GetString("repositoryCloneMethod"));
268+
269+
m_repositoryCloneMethodHasBeenSet = true;
270+
}
271+
261272
return *this;
262273
}
263274

@@ -420,6 +431,11 @@ JsonValue App::Jsonize() const
420431

421432
}
422433

434+
if(m_repositoryCloneMethodHasBeenSet)
435+
{
436+
payload.WithString("repositoryCloneMethod", RepositoryCloneMethodMapper::GetNameForRepositoryCloneMethod(m_repositoryCloneMethod));
437+
}
438+
423439
return payload;
424440
}
425441

aws-cpp-sdk-amplify/source/model/Platform.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ namespace Aws
2121
{
2222

2323
static const int WEB_HASH = HashingUtils::HashString("WEB");
24+
static const int WEB_DYNAMIC_HASH = HashingUtils::HashString("WEB_DYNAMIC");
2425

2526

2627
Platform GetPlatformForName(const Aws::String& name)
@@ -30,6 +31,10 @@ namespace Aws
3031
{
3132
return Platform::WEB;
3233
}
34+
else if (hashCode == WEB_DYNAMIC_HASH)
35+
{
36+
return Platform::WEB_DYNAMIC;
37+
}
3338
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
3439
if(overflowContainer)
3540
{
@@ -46,6 +51,8 @@ namespace Aws
4651
{
4752
case Platform::WEB:
4853
return "WEB";
54+
case Platform::WEB_DYNAMIC:
55+
return "WEB_DYNAMIC";
4956
default:
5057
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
5158
if(overflowContainer)
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#include <aws/amplify/model/RepositoryCloneMethod.h>
7+
#include <aws/core/utils/HashingUtils.h>
8+
#include <aws/core/Globals.h>
9+
#include <aws/core/utils/EnumParseOverflowContainer.h>
10+
11+
using namespace Aws::Utils;
12+
13+
14+
namespace Aws
15+
{
16+
namespace Amplify
17+
{
18+
namespace Model
19+
{
20+
namespace RepositoryCloneMethodMapper
21+
{
22+
23+
static const int SSH_HASH = HashingUtils::HashString("SSH");
24+
static const int TOKEN_HASH = HashingUtils::HashString("TOKEN");
25+
static const int SIGV4_HASH = HashingUtils::HashString("SIGV4");
26+
27+
28+
RepositoryCloneMethod GetRepositoryCloneMethodForName(const Aws::String& name)
29+
{
30+
int hashCode = HashingUtils::HashString(name.c_str());
31+
if (hashCode == SSH_HASH)
32+
{
33+
return RepositoryCloneMethod::SSH;
34+
}
35+
else if (hashCode == TOKEN_HASH)
36+
{
37+
return RepositoryCloneMethod::TOKEN;
38+
}
39+
else if (hashCode == SIGV4_HASH)
40+
{
41+
return RepositoryCloneMethod::SIGV4;
42+
}
43+
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
44+
if(overflowContainer)
45+
{
46+
overflowContainer->StoreOverflow(hashCode, name);
47+
return static_cast<RepositoryCloneMethod>(hashCode);
48+
}
49+
50+
return RepositoryCloneMethod::NOT_SET;
51+
}
52+
53+
Aws::String GetNameForRepositoryCloneMethod(RepositoryCloneMethod enumValue)
54+
{
55+
switch(enumValue)
56+
{
57+
case RepositoryCloneMethod::SSH:
58+
return "SSH";
59+
case RepositoryCloneMethod::TOKEN:
60+
return "TOKEN";
61+
case RepositoryCloneMethod::SIGV4:
62+
return "SIGV4";
63+
default:
64+
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
65+
if(overflowContainer)
66+
{
67+
return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
68+
}
69+
70+
return {};
71+
}
72+
}
73+
74+
} // namespace RepositoryCloneMethodMapper
75+
} // namespace Model
76+
} // namespace Amplify
77+
} // namespace Aws

aws-cpp-sdk-amplifyuibuilder/include/aws/amplifyuibuilder/AmplifyUIBuilderClient.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ namespace Model
140140
* For more information about deploying an Amplify application to Amazon Web
141141
* Services, see the <a
142142
* href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify
143-
* Console User Guide</a>.</p>
143+
* User Guide</a>.</p>
144144
*/
145145
class AWS_AMPLIFYUIBUILDER_API AmplifyUIBuilderClient : public Aws::Client::AWSJsonClient
146146
{

0 commit comments

Comments
 (0)