Skip to content

Commit

Permalink
This release contains a new optional ip-addresses input field for the…
Browse files Browse the repository at this point in the history
… update accelerator and update custom routing accelerator apis. This input enables consumers to replace IPv4 addresses on existing accelerators with addresses provided in the input.

AWS Glue now supports native SaaS connectivity: Salesforce connector available now
Added new params copySource and key to copyObject API for supporting S3 Access Grants plugin. These changes will not change any of the existing S3 API functionality.
  • Loading branch information
aws-sdk-cpp-automation committed Jun 5, 2024
1 parent ea78d8f commit f067d45
Show file tree
Hide file tree
Showing 56 changed files with 9,129 additions and 6,139 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.342
1.11.343
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <aws/globalaccelerator/GlobalAcceleratorRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/globalaccelerator/model/IpAddressType.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>

namespace Aws
Expand Down Expand Up @@ -170,6 +171,52 @@ namespace Model
inline UpdateAcceleratorRequest& WithIpAddressType(IpAddressType&& value) { SetIpAddressType(std::move(value)); return *this;}


/**
* <p>The IP addresses for an accelerator.</p>
*/
inline const Aws::Vector<Aws::String>& GetIpAddresses() const{ return m_ipAddresses; }

/**
* <p>The IP addresses for an accelerator.</p>
*/
inline bool IpAddressesHasBeenSet() const { return m_ipAddressesHasBeenSet; }

/**
* <p>The IP addresses for an accelerator.</p>
*/
inline void SetIpAddresses(const Aws::Vector<Aws::String>& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses = value; }

/**
* <p>The IP addresses for an accelerator.</p>
*/
inline void SetIpAddresses(Aws::Vector<Aws::String>&& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses = std::move(value); }

/**
* <p>The IP addresses for an accelerator.</p>
*/
inline UpdateAcceleratorRequest& WithIpAddresses(const Aws::Vector<Aws::String>& value) { SetIpAddresses(value); return *this;}

/**
* <p>The IP addresses for an accelerator.</p>
*/
inline UpdateAcceleratorRequest& WithIpAddresses(Aws::Vector<Aws::String>&& value) { SetIpAddresses(std::move(value)); return *this;}

/**
* <p>The IP addresses for an accelerator.</p>
*/
inline UpdateAcceleratorRequest& AddIpAddresses(const Aws::String& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses.push_back(value); return *this; }

/**
* <p>The IP addresses for an accelerator.</p>
*/
inline UpdateAcceleratorRequest& AddIpAddresses(Aws::String&& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses.push_back(std::move(value)); return *this; }

/**
* <p>The IP addresses for an accelerator.</p>
*/
inline UpdateAcceleratorRequest& AddIpAddresses(const char* value) { m_ipAddressesHasBeenSet = true; m_ipAddresses.push_back(value); return *this; }


/**
* <p>Indicates whether an accelerator is enabled. The value is true or false. The
* default value is true. </p> <p>If the value is set to true, the accelerator
Expand Down Expand Up @@ -209,6 +256,9 @@ namespace Model
IpAddressType m_ipAddressType;
bool m_ipAddressTypeHasBeenSet = false;

Aws::Vector<Aws::String> m_ipAddresses;
bool m_ipAddressesHasBeenSet = false;

bool m_enabled;
bool m_enabledHasBeenSet = false;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <aws/globalaccelerator/GlobalAcceleratorRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/globalaccelerator/model/IpAddressType.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>

namespace Aws
Expand Down Expand Up @@ -170,6 +171,52 @@ namespace Model
inline UpdateCustomRoutingAcceleratorRequest& WithIpAddressType(IpAddressType&& value) { SetIpAddressType(std::move(value)); return *this;}


/**
* <p>The IP addresses for an accelerator.</p>
*/
inline const Aws::Vector<Aws::String>& GetIpAddresses() const{ return m_ipAddresses; }

/**
* <p>The IP addresses for an accelerator.</p>
*/
inline bool IpAddressesHasBeenSet() const { return m_ipAddressesHasBeenSet; }

/**
* <p>The IP addresses for an accelerator.</p>
*/
inline void SetIpAddresses(const Aws::Vector<Aws::String>& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses = value; }

/**
* <p>The IP addresses for an accelerator.</p>
*/
inline void SetIpAddresses(Aws::Vector<Aws::String>&& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses = std::move(value); }

/**
* <p>The IP addresses for an accelerator.</p>
*/
inline UpdateCustomRoutingAcceleratorRequest& WithIpAddresses(const Aws::Vector<Aws::String>& value) { SetIpAddresses(value); return *this;}

/**
* <p>The IP addresses for an accelerator.</p>
*/
inline UpdateCustomRoutingAcceleratorRequest& WithIpAddresses(Aws::Vector<Aws::String>&& value) { SetIpAddresses(std::move(value)); return *this;}

/**
* <p>The IP addresses for an accelerator.</p>
*/
inline UpdateCustomRoutingAcceleratorRequest& AddIpAddresses(const Aws::String& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses.push_back(value); return *this; }

/**
* <p>The IP addresses for an accelerator.</p>
*/
inline UpdateCustomRoutingAcceleratorRequest& AddIpAddresses(Aws::String&& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses.push_back(std::move(value)); return *this; }

/**
* <p>The IP addresses for an accelerator.</p>
*/
inline UpdateCustomRoutingAcceleratorRequest& AddIpAddresses(const char* value) { m_ipAddressesHasBeenSet = true; m_ipAddresses.push_back(value); return *this; }


/**
* <p>Indicates whether an accelerator is enabled. The value is true or false. The
* default value is true. </p> <p>If the value is set to true, the accelerator
Expand Down Expand Up @@ -209,6 +256,9 @@ namespace Model
IpAddressType m_ipAddressType;
bool m_ipAddressTypeHasBeenSet = false;

Aws::Vector<Aws::String> m_ipAddresses;
bool m_ipAddressesHasBeenSet = false;

bool m_enabled;
bool m_enabledHasBeenSet = false;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ UpdateAcceleratorRequest::UpdateAcceleratorRequest() :
m_nameHasBeenSet(false),
m_ipAddressType(IpAddressType::NOT_SET),
m_ipAddressTypeHasBeenSet(false),
m_ipAddressesHasBeenSet(false),
m_enabled(false),
m_enabledHasBeenSet(false)
{
Expand All @@ -43,6 +44,17 @@ Aws::String UpdateAcceleratorRequest::SerializePayload() const
payload.WithString("IpAddressType", IpAddressTypeMapper::GetNameForIpAddressType(m_ipAddressType));
}

if(m_ipAddressesHasBeenSet)
{
Aws::Utils::Array<JsonValue> ipAddressesJsonList(m_ipAddresses.size());
for(unsigned ipAddressesIndex = 0; ipAddressesIndex < ipAddressesJsonList.GetLength(); ++ipAddressesIndex)
{
ipAddressesJsonList[ipAddressesIndex].AsString(m_ipAddresses[ipAddressesIndex]);
}
payload.WithArray("IpAddresses", std::move(ipAddressesJsonList));

}

if(m_enabledHasBeenSet)
{
payload.WithBool("Enabled", m_enabled);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ UpdateCustomRoutingAcceleratorRequest::UpdateCustomRoutingAcceleratorRequest() :
m_nameHasBeenSet(false),
m_ipAddressType(IpAddressType::NOT_SET),
m_ipAddressTypeHasBeenSet(false),
m_ipAddressesHasBeenSet(false),
m_enabled(false),
m_enabledHasBeenSet(false)
{
Expand All @@ -43,6 +44,17 @@ Aws::String UpdateCustomRoutingAcceleratorRequest::SerializePayload() const
payload.WithString("IpAddressType", IpAddressTypeMapper::GetNameForIpAddressType(m_ipAddressType));
}

if(m_ipAddressesHasBeenSet)
{
Aws::Utils::Array<JsonValue> ipAddressesJsonList(m_ipAddresses.size());
for(unsigned ipAddressesIndex = 0; ipAddressesIndex < ipAddressesJsonList.GetLength(); ++ipAddressesIndex)
{
ipAddressesJsonList[ipAddressesIndex].AsString(m_ipAddresses[ipAddressesIndex]);
}
payload.WithArray("IpAddresses", std::move(ipAddressesJsonList));

}

if(m_enabledHasBeenSet)
{
payload.WithBool("Enabled", m_enabled);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/

#pragma once
#include <aws/glue/Glue_EXPORTS.h>
#include <aws/glue/model/AuthenticationType.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/glue/model/OAuth2Properties.h>
#include <utility>

namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Glue
{
namespace Model
{

/**
* <p>A structure containing the authentication configuration.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/AuthenticationConfiguration">AWS
* API Reference</a></p>
*/
class AuthenticationConfiguration
{
public:
AWS_GLUE_API AuthenticationConfiguration();
AWS_GLUE_API AuthenticationConfiguration(Aws::Utils::Json::JsonView jsonValue);
AWS_GLUE_API AuthenticationConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const;


/**
* <p>A structure containing the authentication configuration.</p>
*/
inline const AuthenticationType& GetAuthenticationType() const{ return m_authenticationType; }

/**
* <p>A structure containing the authentication configuration.</p>
*/
inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }

/**
* <p>A structure containing the authentication configuration.</p>
*/
inline void SetAuthenticationType(const AuthenticationType& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }

/**
* <p>A structure containing the authentication configuration.</p>
*/
inline void SetAuthenticationType(AuthenticationType&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); }

/**
* <p>A structure containing the authentication configuration.</p>
*/
inline AuthenticationConfiguration& WithAuthenticationType(const AuthenticationType& value) { SetAuthenticationType(value); return *this;}

/**
* <p>A structure containing the authentication configuration.</p>
*/
inline AuthenticationConfiguration& WithAuthenticationType(AuthenticationType&& value) { SetAuthenticationType(std::move(value)); return *this;}


/**
* <p>The secret manager ARN to store credentials.</p>
*/
inline const Aws::String& GetSecretArn() const{ return m_secretArn; }

/**
* <p>The secret manager ARN to store credentials.</p>
*/
inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }

/**
* <p>The secret manager ARN to store credentials.</p>
*/
inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; }

/**
* <p>The secret manager ARN to store credentials.</p>
*/
inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); }

/**
* <p>The secret manager ARN to store credentials.</p>
*/
inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); }

/**
* <p>The secret manager ARN to store credentials.</p>
*/
inline AuthenticationConfiguration& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;}

/**
* <p>The secret manager ARN to store credentials.</p>
*/
inline AuthenticationConfiguration& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;}

/**
* <p>The secret manager ARN to store credentials.</p>
*/
inline AuthenticationConfiguration& WithSecretArn(const char* value) { SetSecretArn(value); return *this;}


/**
* <p>The properties for OAuth2 authentication.</p>
*/
inline const OAuth2Properties& GetOAuth2Properties() const{ return m_oAuth2Properties; }

/**
* <p>The properties for OAuth2 authentication.</p>
*/
inline bool OAuth2PropertiesHasBeenSet() const { return m_oAuth2PropertiesHasBeenSet; }

/**
* <p>The properties for OAuth2 authentication.</p>
*/
inline void SetOAuth2Properties(const OAuth2Properties& value) { m_oAuth2PropertiesHasBeenSet = true; m_oAuth2Properties = value; }

/**
* <p>The properties for OAuth2 authentication.</p>
*/
inline void SetOAuth2Properties(OAuth2Properties&& value) { m_oAuth2PropertiesHasBeenSet = true; m_oAuth2Properties = std::move(value); }

/**
* <p>The properties for OAuth2 authentication.</p>
*/
inline AuthenticationConfiguration& WithOAuth2Properties(const OAuth2Properties& value) { SetOAuth2Properties(value); return *this;}

/**
* <p>The properties for OAuth2 authentication.</p>
*/
inline AuthenticationConfiguration& WithOAuth2Properties(OAuth2Properties&& value) { SetOAuth2Properties(std::move(value)); return *this;}

private:

AuthenticationType m_authenticationType;
bool m_authenticationTypeHasBeenSet = false;

Aws::String m_secretArn;
bool m_secretArnHasBeenSet = false;

OAuth2Properties m_oAuth2Properties;
bool m_oAuth2PropertiesHasBeenSet = false;
};

} // namespace Model
} // namespace Glue
} // namespace Aws
Loading

0 comments on commit f067d45

Please sign in to comment.