Skip to content

Commit

Permalink
This release introduces APIs to manage DbClusters and adds support fo…
Browse files Browse the repository at this point in the history
…r read replicas

Support replicationConfigArn in DMS DescribeApplicableIndividualAssessments API.
Add ComputeRoleArn to CreateApp, UpdateApp, CreateBranch, and UpdateBranch, allowing caller to specify a role to be assumed by Amplify Hosting for server-side rendered applications.
  • Loading branch information
aws-sdk-cpp-automation committed Feb 17, 2025
1 parent 5c80a17 commit b667af2
Show file tree
Hide file tree
Showing 67 changed files with 5,941 additions and 830 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.507
1.11.508
26 changes: 24 additions & 2 deletions generated/src/aws-cpp-sdk-amplify/include/aws/amplify/model/App.h
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,27 @@ namespace Model

///@{
/**
* <p>The AWS Identity and Access Management (IAM) service role for the Amazon
* Resource Name (ARN) of the Amplify app. </p>
* <p>The Amazon Resource Name (ARN) of the IAM role for an SSR app. The Compute
* role allows the Amplify Hosting compute service to securely access specific
* Amazon Web Services resources based on the role's permissions. For more
* information about the SSR Compute role, see <a
* href="https://docs.aws.amazon.com/latest/userguide/amplify-SSR-compute-role.html">Adding
* an SSR Compute role</a> in the <i>Amplify User Guide</i>.</p>
*/
inline const Aws::String& GetComputeRoleArn() const{ return m_computeRoleArn; }
inline bool ComputeRoleArnHasBeenSet() const { return m_computeRoleArnHasBeenSet; }
inline void SetComputeRoleArn(const Aws::String& value) { m_computeRoleArnHasBeenSet = true; m_computeRoleArn = value; }
inline void SetComputeRoleArn(Aws::String&& value) { m_computeRoleArnHasBeenSet = true; m_computeRoleArn = std::move(value); }
inline void SetComputeRoleArn(const char* value) { m_computeRoleArnHasBeenSet = true; m_computeRoleArn.assign(value); }
inline App& WithComputeRoleArn(const Aws::String& value) { SetComputeRoleArn(value); return *this;}
inline App& WithComputeRoleArn(Aws::String&& value) { SetComputeRoleArn(std::move(value)); return *this;}
inline App& WithComputeRoleArn(const char* value) { SetComputeRoleArn(value); return *this;}
///@}

///@{
/**
* <p>The Amazon Resource Name (ARN) of the IAM service role for the Amplify
* app.</p>
*/
inline const Aws::String& GetIamServiceRoleArn() const{ return m_iamServiceRoleArn; }
inline bool IamServiceRoleArnHasBeenSet() const { return m_iamServiceRoleArnHasBeenSet; }
Expand Down Expand Up @@ -455,6 +474,9 @@ namespace Model
Aws::Utils::DateTime m_updateTime;
bool m_updateTimeHasBeenSet = false;

Aws::String m_computeRoleArn;
bool m_computeRoleArnHasBeenSet = false;

Aws::String m_iamServiceRoleArn;
bool m_iamServiceRoleArnHasBeenSet = false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,25 @@ namespace Model
inline Branch& WithBackend(const Backend& value) { SetBackend(value); return *this;}
inline Branch& WithBackend(Backend&& value) { SetBackend(std::move(value)); return *this;}
///@}

///@{
/**
* <p>The Amazon Resource Name (ARN) of the IAM role for a branch of an SSR app.
* The Compute role allows the Amplify Hosting compute service to securely access
* specific Amazon Web Services resources based on the role's permissions. For more
* information about the SSR Compute role, see <a
* href="https://docs.aws.amazon.com/latest/userguide/amplify-SSR-compute-role.html">Adding
* an SSR Compute role</a> in the <i>Amplify User Guide</i>.</p>
*/
inline const Aws::String& GetComputeRoleArn() const{ return m_computeRoleArn; }
inline bool ComputeRoleArnHasBeenSet() const { return m_computeRoleArnHasBeenSet; }
inline void SetComputeRoleArn(const Aws::String& value) { m_computeRoleArnHasBeenSet = true; m_computeRoleArn = value; }
inline void SetComputeRoleArn(Aws::String&& value) { m_computeRoleArnHasBeenSet = true; m_computeRoleArn = std::move(value); }
inline void SetComputeRoleArn(const char* value) { m_computeRoleArnHasBeenSet = true; m_computeRoleArn.assign(value); }
inline Branch& WithComputeRoleArn(const Aws::String& value) { SetComputeRoleArn(value); return *this;}
inline Branch& WithComputeRoleArn(Aws::String&& value) { SetComputeRoleArn(std::move(value)); return *this;}
inline Branch& WithComputeRoleArn(const char* value) { SetComputeRoleArn(value); return *this;}
///@}
private:

Aws::String m_branchArn;
Expand Down Expand Up @@ -512,6 +531,9 @@ namespace Model

Backend m_backend;
bool m_backendHasBeenSet = false;

Aws::String m_computeRoleArn;
bool m_computeRoleArnHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,27 @@ namespace Model

///@{
/**
* <p>The AWS Identity and Access Management (IAM) service role for an Amplify app.
* </p>
* <p>The Amazon Resource Name (ARN) of the IAM role to assign to an SSR app. The
* SSR Compute role allows the Amplify Hosting compute service to securely access
* specific Amazon Web Services resources based on the role's permissions. For more
* information about the SSR Compute role, see <a
* href="https://docs.aws.amazon.com/latest/userguide/amplify-SSR-compute-role.html">Adding
* an SSR Compute role</a> in the <i>Amplify User Guide</i>.</p>
*/
inline const Aws::String& GetComputeRoleArn() const{ return m_computeRoleArn; }
inline bool ComputeRoleArnHasBeenSet() const { return m_computeRoleArnHasBeenSet; }
inline void SetComputeRoleArn(const Aws::String& value) { m_computeRoleArnHasBeenSet = true; m_computeRoleArn = value; }
inline void SetComputeRoleArn(Aws::String&& value) { m_computeRoleArnHasBeenSet = true; m_computeRoleArn = std::move(value); }
inline void SetComputeRoleArn(const char* value) { m_computeRoleArnHasBeenSet = true; m_computeRoleArn.assign(value); }
inline CreateAppRequest& WithComputeRoleArn(const Aws::String& value) { SetComputeRoleArn(value); return *this;}
inline CreateAppRequest& WithComputeRoleArn(Aws::String&& value) { SetComputeRoleArn(std::move(value)); return *this;}
inline CreateAppRequest& WithComputeRoleArn(const char* value) { SetComputeRoleArn(value); return *this;}
///@}

///@{
/**
* <p>The Amazon Resource Name (ARN) of the IAM service role for the Amplify
* app.</p>
*/
inline const Aws::String& GetIamServiceRoleArn() const{ return m_iamServiceRoleArn; }
inline bool IamServiceRoleArnHasBeenSet() const { return m_iamServiceRoleArnHasBeenSet; }
Expand Down Expand Up @@ -367,6 +386,9 @@ namespace Model
Platform m_platform;
bool m_platformHasBeenSet = false;

Aws::String m_computeRoleArn;
bool m_computeRoleArnHasBeenSet = false;

Aws::String m_iamServiceRoleArn;
bool m_iamServiceRoleArnHasBeenSet = false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,25 @@ namespace Model
inline CreateBranchRequest& WithBackend(const Backend& value) { SetBackend(value); return *this;}
inline CreateBranchRequest& WithBackend(Backend&& value) { SetBackend(std::move(value)); return *this;}
///@}

///@{
/**
* <p>The Amazon Resource Name (ARN) of the IAM role to assign to a branch of an
* SSR app. The SSR Compute role allows the Amplify Hosting compute service to
* securely access specific Amazon Web Services resources based on the role's
* permissions. For more information about the SSR Compute role, see <a
* href="https://docs.aws.amazon.com/latest/userguide/amplify-SSR-compute-role.html">Adding
* an SSR Compute role</a> in the <i>Amplify User Guide</i>.</p>
*/
inline const Aws::String& GetComputeRoleArn() const{ return m_computeRoleArn; }
inline bool ComputeRoleArnHasBeenSet() const { return m_computeRoleArnHasBeenSet; }
inline void SetComputeRoleArn(const Aws::String& value) { m_computeRoleArnHasBeenSet = true; m_computeRoleArn = value; }
inline void SetComputeRoleArn(Aws::String&& value) { m_computeRoleArnHasBeenSet = true; m_computeRoleArn = std::move(value); }
inline void SetComputeRoleArn(const char* value) { m_computeRoleArnHasBeenSet = true; m_computeRoleArn.assign(value); }
inline CreateBranchRequest& WithComputeRoleArn(const Aws::String& value) { SetComputeRoleArn(value); return *this;}
inline CreateBranchRequest& WithComputeRoleArn(Aws::String&& value) { SetComputeRoleArn(std::move(value)); return *this;}
inline CreateBranchRequest& WithComputeRoleArn(const char* value) { SetComputeRoleArn(value); return *this;}
///@}
private:

Aws::String m_appId;
Expand Down Expand Up @@ -360,6 +379,9 @@ namespace Model

Backend m_backend;
bool m_backendHasBeenSet = false;

Aws::String m_computeRoleArn;
bool m_computeRoleArnHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,27 @@ namespace Model

///@{
/**
* <p>The AWS Identity and Access Management (IAM) service role for an Amplify app.
* </p>
* <p>The Amazon Resource Name (ARN) of the IAM role to assign to an SSR app. The
* SSR Compute role allows the Amplify Hosting compute service to securely access
* specific Amazon Web Services resources based on the role's permissions. For more
* information about the SSR Compute role, see <a
* href="https://docs.aws.amazon.com/latest/userguide/amplify-SSR-compute-role.html">Adding
* an SSR Compute role</a> in the <i>Amplify User Guide</i>.</p>
*/
inline const Aws::String& GetComputeRoleArn() const{ return m_computeRoleArn; }
inline bool ComputeRoleArnHasBeenSet() const { return m_computeRoleArnHasBeenSet; }
inline void SetComputeRoleArn(const Aws::String& value) { m_computeRoleArnHasBeenSet = true; m_computeRoleArn = value; }
inline void SetComputeRoleArn(Aws::String&& value) { m_computeRoleArnHasBeenSet = true; m_computeRoleArn = std::move(value); }
inline void SetComputeRoleArn(const char* value) { m_computeRoleArnHasBeenSet = true; m_computeRoleArn.assign(value); }
inline UpdateAppRequest& WithComputeRoleArn(const Aws::String& value) { SetComputeRoleArn(value); return *this;}
inline UpdateAppRequest& WithComputeRoleArn(Aws::String&& value) { SetComputeRoleArn(std::move(value)); return *this;}
inline UpdateAppRequest& WithComputeRoleArn(const char* value) { SetComputeRoleArn(value); return *this;}
///@}

///@{
/**
* <p>The Amazon Resource Name (ARN) of the IAM service role for the Amplify
* app.</p>
*/
inline const Aws::String& GetIamServiceRoleArn() const{ return m_iamServiceRoleArn; }
inline bool IamServiceRoleArnHasBeenSet() const { return m_iamServiceRoleArnHasBeenSet; }
Expand Down Expand Up @@ -354,6 +373,9 @@ namespace Model
Platform m_platform;
bool m_platformHasBeenSet = false;

Aws::String m_computeRoleArn;
bool m_computeRoleArnHasBeenSet = false;

Aws::String m_iamServiceRoleArn;
bool m_iamServiceRoleArnHasBeenSet = false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,25 @@ namespace Model
inline UpdateBranchRequest& WithBackend(const Backend& value) { SetBackend(value); return *this;}
inline UpdateBranchRequest& WithBackend(Backend&& value) { SetBackend(std::move(value)); return *this;}
///@}

///@{
/**
* <p>The Amazon Resource Name (ARN) of the IAM role to assign to a branch of an
* SSR app. The SSR Compute role allows the Amplify Hosting compute service to
* securely access specific Amazon Web Services resources based on the role's
* permissions. For more information about the SSR Compute role, see <a
* href="https://docs.aws.amazon.com/latest/userguide/amplify-SSR-compute-role.html">Adding
* an SSR Compute role</a> in the <i>Amplify User Guide</i>.</p>
*/
inline const Aws::String& GetComputeRoleArn() const{ return m_computeRoleArn; }
inline bool ComputeRoleArnHasBeenSet() const { return m_computeRoleArnHasBeenSet; }
inline void SetComputeRoleArn(const Aws::String& value) { m_computeRoleArnHasBeenSet = true; m_computeRoleArn = value; }
inline void SetComputeRoleArn(Aws::String&& value) { m_computeRoleArnHasBeenSet = true; m_computeRoleArn = std::move(value); }
inline void SetComputeRoleArn(const char* value) { m_computeRoleArnHasBeenSet = true; m_computeRoleArn.assign(value); }
inline UpdateBranchRequest& WithComputeRoleArn(const Aws::String& value) { SetComputeRoleArn(value); return *this;}
inline UpdateBranchRequest& WithComputeRoleArn(Aws::String&& value) { SetComputeRoleArn(std::move(value)); return *this;}
inline UpdateBranchRequest& WithComputeRoleArn(const char* value) { SetComputeRoleArn(value); return *this;}
///@}
private:

Aws::String m_appId;
Expand Down Expand Up @@ -338,6 +357,9 @@ namespace Model

Backend m_backend;
bool m_backendHasBeenSet = false;

Aws::String m_computeRoleArn;
bool m_computeRoleArnHasBeenSet = false;
};

} // namespace Model
Expand Down
14 changes: 14 additions & 0 deletions generated/src/aws-cpp-sdk-amplify/source/model/App.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ App::App() :
m_platformHasBeenSet(false),
m_createTimeHasBeenSet(false),
m_updateTimeHasBeenSet(false),
m_computeRoleArnHasBeenSet(false),
m_iamServiceRoleArnHasBeenSet(false),
m_environmentVariablesHasBeenSet(false),
m_defaultDomainHasBeenSet(false),
Expand Down Expand Up @@ -129,6 +130,13 @@ App& App::operator =(JsonView jsonValue)
m_updateTimeHasBeenSet = true;
}

if(jsonValue.ValueExists("computeRoleArn"))
{
m_computeRoleArn = jsonValue.GetString("computeRoleArn");

m_computeRoleArnHasBeenSet = true;
}

if(jsonValue.ValueExists("iamServiceRoleArn"))
{
m_iamServiceRoleArn = jsonValue.GetString("iamServiceRoleArn");
Expand Down Expand Up @@ -327,6 +335,12 @@ JsonValue App::Jsonize() const
payload.WithDouble("updateTime", m_updateTime.SecondsWithMSPrecision());
}

if(m_computeRoleArnHasBeenSet)
{
payload.WithString("computeRoleArn", m_computeRoleArn);

}

if(m_iamServiceRoleArnHasBeenSet)
{
payload.WithString("iamServiceRoleArn", m_iamServiceRoleArn);
Expand Down
16 changes: 15 additions & 1 deletion generated/src/aws-cpp-sdk-amplify/source/model/Branch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ Branch::Branch() :
m_destinationBranchHasBeenSet(false),
m_sourceBranchHasBeenSet(false),
m_backendEnvironmentArnHasBeenSet(false),
m_backendHasBeenSet(false)
m_backendHasBeenSet(false),
m_computeRoleArnHasBeenSet(false)
{
}

Expand Down Expand Up @@ -272,6 +273,13 @@ Branch& Branch::operator =(JsonView jsonValue)
m_backendHasBeenSet = true;
}

if(jsonValue.ValueExists("computeRoleArn"))
{
m_computeRoleArn = jsonValue.GetString("computeRoleArn");

m_computeRoleArnHasBeenSet = true;
}

return *this;
}

Expand Down Expand Up @@ -464,6 +472,12 @@ JsonValue Branch::Jsonize() const

}

if(m_computeRoleArnHasBeenSet)
{
payload.WithString("computeRoleArn", m_computeRoleArn);

}

return payload;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ CreateAppRequest::CreateAppRequest() :
m_repositoryHasBeenSet(false),
m_platform(Platform::NOT_SET),
m_platformHasBeenSet(false),
m_computeRoleArnHasBeenSet(false),
m_iamServiceRoleArnHasBeenSet(false),
m_oauthTokenHasBeenSet(false),
m_accessTokenHasBeenSet(false),
Expand Down Expand Up @@ -68,6 +69,12 @@ Aws::String CreateAppRequest::SerializePayload() const
payload.WithString("platform", PlatformMapper::GetNameForPlatform(m_platform));
}

if(m_computeRoleArnHasBeenSet)
{
payload.WithString("computeRoleArn", m_computeRoleArn);

}

if(m_iamServiceRoleArnHasBeenSet)
{
payload.WithString("iamServiceRoleArn", m_iamServiceRoleArn);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ CreateBranchRequest::CreateBranchRequest() :
m_enablePullRequestPreviewHasBeenSet(false),
m_pullRequestEnvironmentNameHasBeenSet(false),
m_backendEnvironmentArnHasBeenSet(false),
m_backendHasBeenSet(false)
m_backendHasBeenSet(false),
m_computeRoleArnHasBeenSet(false)
{
}

Expand Down Expand Up @@ -162,6 +163,12 @@ Aws::String CreateBranchRequest::SerializePayload() const

}

if(m_computeRoleArnHasBeenSet)
{
payload.WithString("computeRoleArn", m_computeRoleArn);

}

return payload.View().WriteReadable();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ UpdateAppRequest::UpdateAppRequest() :
m_descriptionHasBeenSet(false),
m_platform(Platform::NOT_SET),
m_platformHasBeenSet(false),
m_computeRoleArnHasBeenSet(false),
m_iamServiceRoleArnHasBeenSet(false),
m_environmentVariablesHasBeenSet(false),
m_enableBranchAutoBuild(false),
Expand Down Expand Up @@ -62,6 +63,12 @@ Aws::String UpdateAppRequest::SerializePayload() const
payload.WithString("platform", PlatformMapper::GetNameForPlatform(m_platform));
}

if(m_computeRoleArnHasBeenSet)
{
payload.WithString("computeRoleArn", m_computeRoleArn);

}

if(m_iamServiceRoleArnHasBeenSet)
{
payload.WithString("iamServiceRoleArn", m_iamServiceRoleArn);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ UpdateBranchRequest::UpdateBranchRequest() :
m_enablePullRequestPreviewHasBeenSet(false),
m_pullRequestEnvironmentNameHasBeenSet(false),
m_backendEnvironmentArnHasBeenSet(false),
m_backendHasBeenSet(false)
m_backendHasBeenSet(false),
m_computeRoleArnHasBeenSet(false)
{
}

Expand Down Expand Up @@ -144,6 +145,12 @@ Aws::String UpdateBranchRequest::SerializePayload() const

}

if(m_computeRoleArnHasBeenSet)
{
payload.WithString("computeRoleArn", m_computeRoleArn);

}

return payload.View().WriteReadable();
}

Expand Down
Loading

0 comments on commit b667af2

Please sign in to comment.