Skip to content

Commit

Permalink
Introduced support for G6e instance types on SageMaker Studio for Jup…
Browse files Browse the repository at this point in the history
…yterLab and CodeEditor applications.

QuickSight: 1. Add new API - ListFoldersForResource. 2. Commit mode adds visibility configuration of Apply button on multi-select controls for authors.
Tagging support for Lambda event source mapping, and code signing configuration resources.
This change is for releasing TestConnection api SDK model
This release provides support for additional DRM configurations per SPEKE Version 2.0.
Adds Bandwidth Reduction Filtering for HD AVC and HEVC encodes, multiplex container settings.
This release adds the PullRequestComment field to CreateSyncConfiguration API input, UpdateSyncConfiguration API input, GetSyncConfiguration API output and ListSyncConfiguration API output
WorkSpaces Secure Browser now enables Administrators to view and manage end-user browsing sessions via Session Management APIs.
  • Loading branch information
aws-sdk-cpp-automation committed Sep 19, 2024
1 parent e9ec9c4 commit 8ab2e71
Show file tree
Hide file tree
Showing 125 changed files with 5,933 additions and 118 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.408
1.11.409
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ namespace Model
/**
* <p>The Amazon Resource Name (ARN) of the connection. The ARN is used as the
* connection reference when the connection is shared between Amazon Web
* Services.</p> <p>The ARN is never reused if the connection is
* Servicesservices.</p> <p>The ARN is never reused if the connection is
* deleted.</p>
*/
inline const Aws::String& GetConnectionArn() const{ return m_connectionArn; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <aws/codeconnections/model/SyncConfigurationType.h>
#include <aws/codeconnections/model/PublishDeploymentStatus.h>
#include <aws/codeconnections/model/TriggerResourceUpdateOn.h>
#include <aws/codeconnections/model/PullRequestComment.h>
#include <utility>

namespace Aws
Expand Down Expand Up @@ -150,6 +151,19 @@ namespace Model
inline CreateSyncConfigurationRequest& WithTriggerResourceUpdateOn(const TriggerResourceUpdateOn& value) { SetTriggerResourceUpdateOn(value); return *this;}
inline CreateSyncConfigurationRequest& WithTriggerResourceUpdateOn(TriggerResourceUpdateOn&& value) { SetTriggerResourceUpdateOn(std::move(value)); return *this;}
///@}

///@{
/**
* <p>A toggle that specifies whether to enable or disable pull request comments
* for the sync configuration to be created.</p>
*/
inline const PullRequestComment& GetPullRequestComment() const{ return m_pullRequestComment; }
inline bool PullRequestCommentHasBeenSet() const { return m_pullRequestCommentHasBeenSet; }
inline void SetPullRequestComment(const PullRequestComment& value) { m_pullRequestCommentHasBeenSet = true; m_pullRequestComment = value; }
inline void SetPullRequestComment(PullRequestComment&& value) { m_pullRequestCommentHasBeenSet = true; m_pullRequestComment = std::move(value); }
inline CreateSyncConfigurationRequest& WithPullRequestComment(const PullRequestComment& value) { SetPullRequestComment(value); return *this;}
inline CreateSyncConfigurationRequest& WithPullRequestComment(PullRequestComment&& value) { SetPullRequestComment(std::move(value)); return *this;}
///@}
private:

Aws::String m_branch;
Expand All @@ -175,6 +189,9 @@ namespace Model

TriggerResourceUpdateOn m_triggerResourceUpdateOn;
bool m_triggerResourceUpdateOnHasBeenSet = false;

PullRequestComment m_pullRequestComment;
bool m_pullRequestCommentHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/

#pragma once
#include <aws/codeconnections/CodeConnections_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace Aws
{
namespace CodeConnections
{
namespace Model
{
enum class PullRequestComment
{
NOT_SET,
ENABLED,
DISABLED
};

namespace PullRequestCommentMapper
{
AWS_CODECONNECTIONS_API PullRequestComment GetPullRequestCommentForName(const Aws::String& name);

AWS_CODECONNECTIONS_API Aws::String GetNameForPullRequestComment(PullRequestComment value);
} // namespace PullRequestCommentMapper
} // namespace Model
} // namespace CodeConnections
} // namespace Aws
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <aws/codeconnections/model/SyncConfigurationType.h>
#include <aws/codeconnections/model/PublishDeploymentStatus.h>
#include <aws/codeconnections/model/TriggerResourceUpdateOn.h>
#include <aws/codeconnections/model/PullRequestComment.h>
#include <utility>

namespace Aws
Expand Down Expand Up @@ -195,6 +196,19 @@ namespace Model
inline SyncConfiguration& WithTriggerResourceUpdateOn(const TriggerResourceUpdateOn& value) { SetTriggerResourceUpdateOn(value); return *this;}
inline SyncConfiguration& WithTriggerResourceUpdateOn(TriggerResourceUpdateOn&& value) { SetTriggerResourceUpdateOn(std::move(value)); return *this;}
///@}

///@{
/**
* <p>A toggle that specifies whether to enable or disable pull request comments
* for the sync configuration to be created.</p>
*/
inline const PullRequestComment& GetPullRequestComment() const{ return m_pullRequestComment; }
inline bool PullRequestCommentHasBeenSet() const { return m_pullRequestCommentHasBeenSet; }
inline void SetPullRequestComment(const PullRequestComment& value) { m_pullRequestCommentHasBeenSet = true; m_pullRequestComment = value; }
inline void SetPullRequestComment(PullRequestComment&& value) { m_pullRequestCommentHasBeenSet = true; m_pullRequestComment = std::move(value); }
inline SyncConfiguration& WithPullRequestComment(const PullRequestComment& value) { SetPullRequestComment(value); return *this;}
inline SyncConfiguration& WithPullRequestComment(PullRequestComment&& value) { SetPullRequestComment(std::move(value)); return *this;}
///@}
private:

Aws::String m_branch;
Expand Down Expand Up @@ -229,6 +243,9 @@ namespace Model

TriggerResourceUpdateOn m_triggerResourceUpdateOn;
bool m_triggerResourceUpdateOnHasBeenSet = false;

PullRequestComment m_pullRequestComment;
bool m_pullRequestCommentHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <aws/codeconnections/model/SyncConfigurationType.h>
#include <aws/codeconnections/model/PublishDeploymentStatus.h>
#include <aws/codeconnections/model/TriggerResourceUpdateOn.h>
#include <aws/codeconnections/model/PullRequestComment.h>
#include <utility>

namespace Aws
Expand Down Expand Up @@ -144,6 +145,19 @@ namespace Model
inline UpdateSyncConfigurationRequest& WithTriggerResourceUpdateOn(const TriggerResourceUpdateOn& value) { SetTriggerResourceUpdateOn(value); return *this;}
inline UpdateSyncConfigurationRequest& WithTriggerResourceUpdateOn(TriggerResourceUpdateOn&& value) { SetTriggerResourceUpdateOn(std::move(value)); return *this;}
///@}

///@{
/**
* <p>TA toggle that specifies whether to enable or disable pull request comments
* for the sync configuration to be updated.</p>
*/
inline const PullRequestComment& GetPullRequestComment() const{ return m_pullRequestComment; }
inline bool PullRequestCommentHasBeenSet() const { return m_pullRequestCommentHasBeenSet; }
inline void SetPullRequestComment(const PullRequestComment& value) { m_pullRequestCommentHasBeenSet = true; m_pullRequestComment = value; }
inline void SetPullRequestComment(PullRequestComment&& value) { m_pullRequestCommentHasBeenSet = true; m_pullRequestComment = std::move(value); }
inline UpdateSyncConfigurationRequest& WithPullRequestComment(const PullRequestComment& value) { SetPullRequestComment(value); return *this;}
inline UpdateSyncConfigurationRequest& WithPullRequestComment(PullRequestComment&& value) { SetPullRequestComment(std::move(value)); return *this;}
///@}
private:

Aws::String m_branch;
Expand All @@ -169,6 +183,9 @@ namespace Model

TriggerResourceUpdateOn m_triggerResourceUpdateOn;
bool m_triggerResourceUpdateOnHasBeenSet = false;

PullRequestComment m_pullRequestComment;
bool m_pullRequestCommentHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ CreateSyncConfigurationRequest::CreateSyncConfigurationRequest() :
m_publishDeploymentStatus(PublishDeploymentStatus::NOT_SET),
m_publishDeploymentStatusHasBeenSet(false),
m_triggerResourceUpdateOn(TriggerResourceUpdateOn::NOT_SET),
m_triggerResourceUpdateOnHasBeenSet(false)
m_triggerResourceUpdateOnHasBeenSet(false),
m_pullRequestComment(PullRequestComment::NOT_SET),
m_pullRequestCommentHasBeenSet(false)
{
}

Expand Down Expand Up @@ -76,6 +78,11 @@ Aws::String CreateSyncConfigurationRequest::SerializePayload() const
payload.WithString("TriggerResourceUpdateOn", TriggerResourceUpdateOnMapper::GetNameForTriggerResourceUpdateOn(m_triggerResourceUpdateOn));
}

if(m_pullRequestCommentHasBeenSet)
{
payload.WithString("PullRequestComment", PullRequestCommentMapper::GetNameForPullRequestComment(m_pullRequestComment));
}

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

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/

#include <aws/codeconnections/model/PullRequestComment.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>

using namespace Aws::Utils;


namespace Aws
{
namespace CodeConnections
{
namespace Model
{
namespace PullRequestCommentMapper
{

static const int ENABLED_HASH = HashingUtils::HashString("ENABLED");
static const int DISABLED_HASH = HashingUtils::HashString("DISABLED");


PullRequestComment GetPullRequestCommentForName(const Aws::String& name)
{
int hashCode = HashingUtils::HashString(name.c_str());
if (hashCode == ENABLED_HASH)
{
return PullRequestComment::ENABLED;
}
else if (hashCode == DISABLED_HASH)
{
return PullRequestComment::DISABLED;
}
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
overflowContainer->StoreOverflow(hashCode, name);
return static_cast<PullRequestComment>(hashCode);
}

return PullRequestComment::NOT_SET;
}

Aws::String GetNameForPullRequestComment(PullRequestComment enumValue)
{
switch(enumValue)
{
case PullRequestComment::NOT_SET:
return {};
case PullRequestComment::ENABLED:
return "ENABLED";
case PullRequestComment::DISABLED:
return "DISABLED";
default:
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
}

return {};
}
}

} // namespace PullRequestCommentMapper
} // namespace Model
} // namespace CodeConnections
} // namespace Aws
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ SyncConfiguration::SyncConfiguration() :
m_publishDeploymentStatus(PublishDeploymentStatus::NOT_SET),
m_publishDeploymentStatusHasBeenSet(false),
m_triggerResourceUpdateOn(TriggerResourceUpdateOn::NOT_SET),
m_triggerResourceUpdateOnHasBeenSet(false)
m_triggerResourceUpdateOnHasBeenSet(false),
m_pullRequestComment(PullRequestComment::NOT_SET),
m_pullRequestCommentHasBeenSet(false)
{
}

Expand Down Expand Up @@ -122,6 +124,13 @@ SyncConfiguration& SyncConfiguration::operator =(JsonView jsonValue)
m_triggerResourceUpdateOnHasBeenSet = true;
}

if(jsonValue.ValueExists("PullRequestComment"))
{
m_pullRequestComment = PullRequestCommentMapper::GetPullRequestCommentForName(jsonValue.GetString("PullRequestComment"));

m_pullRequestCommentHasBeenSet = true;
}

return *this;
}

Expand Down Expand Up @@ -191,6 +200,11 @@ JsonValue SyncConfiguration::Jsonize() const
payload.WithString("TriggerResourceUpdateOn", TriggerResourceUpdateOnMapper::GetNameForTriggerResourceUpdateOn(m_triggerResourceUpdateOn));
}

if(m_pullRequestCommentHasBeenSet)
{
payload.WithString("PullRequestComment", PullRequestCommentMapper::GetNameForPullRequestComment(m_pullRequestComment));
}

return payload;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ UpdateSyncConfigurationRequest::UpdateSyncConfigurationRequest() :
m_publishDeploymentStatus(PublishDeploymentStatus::NOT_SET),
m_publishDeploymentStatusHasBeenSet(false),
m_triggerResourceUpdateOn(TriggerResourceUpdateOn::NOT_SET),
m_triggerResourceUpdateOnHasBeenSet(false)
m_triggerResourceUpdateOnHasBeenSet(false),
m_pullRequestComment(PullRequestComment::NOT_SET),
m_pullRequestCommentHasBeenSet(false)
{
}

Expand Down Expand Up @@ -76,6 +78,11 @@ Aws::String UpdateSyncConfigurationRequest::SerializePayload() const
payload.WithString("TriggerResourceUpdateOn", TriggerResourceUpdateOnMapper::GetNameForTriggerResourceUpdateOn(m_triggerResourceUpdateOn));
}

if(m_pullRequestCommentHasBeenSet)
{
payload.WithString("PullRequestComment", PullRequestCommentMapper::GetNameForPullRequestComment(m_pullRequestComment));
}

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

Expand Down
30 changes: 30 additions & 0 deletions generated/src/aws-cpp-sdk-glue/include/aws/glue/GlueClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -5496,6 +5496,36 @@ namespace Glue
return SubmitAsync(&GlueClient::TagResource, request, handler, context);
}

/**
* <p>Tests a connection to a service to validate the service credentials that you
* provide.</p> <p>You can either provide an existing connection name or a
* <code>TestConnectionInput</code> for testing a non-existing connection input.
* Providing both at the same time will cause an error.</p> <p>If the action is
* successful, the service sends back an HTTP 200 response.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TestConnection">AWS
* API Reference</a></p>
*/
virtual Model::TestConnectionOutcome TestConnection(const Model::TestConnectionRequest& request = {}) const;

/**
* A Callable wrapper for TestConnection that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename TestConnectionRequestT = Model::TestConnectionRequest>
Model::TestConnectionOutcomeCallable TestConnectionCallable(const TestConnectionRequestT& request = {}) const
{
return SubmitCallable(&GlueClient::TestConnection, request);
}

/**
* An Async wrapper for TestConnection that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template<typename TestConnectionRequestT = Model::TestConnectionRequest>
void TestConnectionAsync(const TestConnectionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const TestConnectionRequestT& request = {}) const
{
return SubmitAsync(&GlueClient::TestConnection, request, handler, context);
}

/**
* <p>Removes tags from a resource.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UntagResource">AWS
Expand Down
Loading

0 comments on commit 8ab2e71

Please sign in to comment.