Skip to content

Commit

Permalink
This release adds support to retrieve the validation status when crea…
Browse files Browse the repository at this point in the history
…ting or updating Glue Data Catalog Views. Also added is support for BasicCatalogTarget partition keys.

This release fixes a regression in number of access control tags that are allowed to be added to a security profile in Amazon Connect. You can now add up to four access control tags on a single security profile.
Added support for threat protection for custom authentication in Amazon Cognito user pools.
Launch of private IPv6 addressing for VPCs and Subnets. VPC IPAM supports the planning and monitoring of private IPv6 usage.
  • Loading branch information
aws-sdk-cpp-automation committed Aug 8, 2024
1 parent 869b748 commit 538f7aa
Show file tree
Hide file tree
Showing 57 changed files with 2,313 additions and 34 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.379
1.11.380
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/

#pragma once
#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
#include <aws/cognito-idp/model/AdvancedSecurityEnabledModeType.h>
#include <utility>

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

/**
* <p>Advanced security configuration options for additional authentication types
* in your user pool, including custom authentication and refresh-token
* authentication. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdvancedSecurityAdditionalFlowsType">AWS
* API Reference</a></p>
*/
class AdvancedSecurityAdditionalFlowsType
{
public:
AWS_COGNITOIDENTITYPROVIDER_API AdvancedSecurityAdditionalFlowsType();
AWS_COGNITOIDENTITYPROVIDER_API AdvancedSecurityAdditionalFlowsType(Aws::Utils::Json::JsonView jsonValue);
AWS_COGNITOIDENTITYPROVIDER_API AdvancedSecurityAdditionalFlowsType& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_COGNITOIDENTITYPROVIDER_API Aws::Utils::Json::JsonValue Jsonize() const;


///@{
/**
* <p>The operating mode of advanced security features in custom authentication
* with <a
* href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-challenge.html">
* Custom authentication challenge Lambda triggers</a>. </p>
*/
inline const AdvancedSecurityEnabledModeType& GetCustomAuthMode() const{ return m_customAuthMode; }
inline bool CustomAuthModeHasBeenSet() const { return m_customAuthModeHasBeenSet; }
inline void SetCustomAuthMode(const AdvancedSecurityEnabledModeType& value) { m_customAuthModeHasBeenSet = true; m_customAuthMode = value; }
inline void SetCustomAuthMode(AdvancedSecurityEnabledModeType&& value) { m_customAuthModeHasBeenSet = true; m_customAuthMode = std::move(value); }
inline AdvancedSecurityAdditionalFlowsType& WithCustomAuthMode(const AdvancedSecurityEnabledModeType& value) { SetCustomAuthMode(value); return *this;}
inline AdvancedSecurityAdditionalFlowsType& WithCustomAuthMode(AdvancedSecurityEnabledModeType&& value) { SetCustomAuthMode(std::move(value)); return *this;}
///@}
private:

AdvancedSecurityEnabledModeType m_customAuthMode;
bool m_customAuthModeHasBeenSet = false;
};

} // namespace Model
} // namespace CognitoIdentityProvider
} // namespace Aws
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/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace Aws
{
namespace CognitoIdentityProvider
{
namespace Model
{
enum class AdvancedSecurityEnabledModeType
{
NOT_SET,
AUDIT,
ENFORCED
};

namespace AdvancedSecurityEnabledModeTypeMapper
{
AWS_COGNITOIDENTITYPROVIDER_API AdvancedSecurityEnabledModeType GetAdvancedSecurityEnabledModeTypeForName(const Aws::String& name);

AWS_COGNITOIDENTITYPROVIDER_API Aws::String GetNameForAdvancedSecurityEnabledModeType(AdvancedSecurityEnabledModeType value);
} // namespace AdvancedSecurityEnabledModeTypeMapper
} // namespace Model
} // namespace CognitoIdentityProvider
} // namespace Aws
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#pragma once
#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
#include <aws/cognito-idp/model/AdvancedSecurityModeType.h>
#include <aws/cognito-idp/model/AdvancedSecurityAdditionalFlowsType.h>
#include <utility>

namespace Aws
Expand Down Expand Up @@ -45,7 +46,9 @@ namespace Model

///@{
/**
* <p>The operating mode of advanced security features in your user pool.</p>
* <p>The operating mode of advanced security features for standard authentication
* types in your user pool, including username-password and secure remote password
* (SRP) authentication. </p>
*/
inline const AdvancedSecurityModeType& GetAdvancedSecurityMode() const{ return m_advancedSecurityMode; }
inline bool AdvancedSecurityModeHasBeenSet() const { return m_advancedSecurityModeHasBeenSet; }
Expand All @@ -54,10 +57,27 @@ namespace Model
inline UserPoolAddOnsType& WithAdvancedSecurityMode(const AdvancedSecurityModeType& value) { SetAdvancedSecurityMode(value); return *this;}
inline UserPoolAddOnsType& WithAdvancedSecurityMode(AdvancedSecurityModeType&& value) { SetAdvancedSecurityMode(std::move(value)); return *this;}
///@}

///@{
/**
* <p>Advanced security configuration options for additional authentication types
* in your user pool, including custom authentication and refresh-token
* authentication. </p>
*/
inline const AdvancedSecurityAdditionalFlowsType& GetAdvancedSecurityAdditionalFlows() const{ return m_advancedSecurityAdditionalFlows; }
inline bool AdvancedSecurityAdditionalFlowsHasBeenSet() const { return m_advancedSecurityAdditionalFlowsHasBeenSet; }
inline void SetAdvancedSecurityAdditionalFlows(const AdvancedSecurityAdditionalFlowsType& value) { m_advancedSecurityAdditionalFlowsHasBeenSet = true; m_advancedSecurityAdditionalFlows = value; }
inline void SetAdvancedSecurityAdditionalFlows(AdvancedSecurityAdditionalFlowsType&& value) { m_advancedSecurityAdditionalFlowsHasBeenSet = true; m_advancedSecurityAdditionalFlows = std::move(value); }
inline UserPoolAddOnsType& WithAdvancedSecurityAdditionalFlows(const AdvancedSecurityAdditionalFlowsType& value) { SetAdvancedSecurityAdditionalFlows(value); return *this;}
inline UserPoolAddOnsType& WithAdvancedSecurityAdditionalFlows(AdvancedSecurityAdditionalFlowsType&& value) { SetAdvancedSecurityAdditionalFlows(std::move(value)); return *this;}
///@}
private:

AdvancedSecurityModeType m_advancedSecurityMode;
bool m_advancedSecurityModeHasBeenSet = false;

AdvancedSecurityAdditionalFlowsType m_advancedSecurityAdditionalFlows;
bool m_advancedSecurityAdditionalFlowsHasBeenSet = false;
};

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

#include <aws/cognito-idp/model/AdvancedSecurityAdditionalFlowsType.h>
#include <aws/core/utils/json/JsonSerializer.h>

#include <utility>

using namespace Aws::Utils::Json;
using namespace Aws::Utils;

namespace Aws
{
namespace CognitoIdentityProvider
{
namespace Model
{

AdvancedSecurityAdditionalFlowsType::AdvancedSecurityAdditionalFlowsType() :
m_customAuthMode(AdvancedSecurityEnabledModeType::NOT_SET),
m_customAuthModeHasBeenSet(false)
{
}

AdvancedSecurityAdditionalFlowsType::AdvancedSecurityAdditionalFlowsType(JsonView jsonValue)
: AdvancedSecurityAdditionalFlowsType()
{
*this = jsonValue;
}

AdvancedSecurityAdditionalFlowsType& AdvancedSecurityAdditionalFlowsType::operator =(JsonView jsonValue)
{
if(jsonValue.ValueExists("CustomAuthMode"))
{
m_customAuthMode = AdvancedSecurityEnabledModeTypeMapper::GetAdvancedSecurityEnabledModeTypeForName(jsonValue.GetString("CustomAuthMode"));

m_customAuthModeHasBeenSet = true;
}

return *this;
}

JsonValue AdvancedSecurityAdditionalFlowsType::Jsonize() const
{
JsonValue payload;

if(m_customAuthModeHasBeenSet)
{
payload.WithString("CustomAuthMode", AdvancedSecurityEnabledModeTypeMapper::GetNameForAdvancedSecurityEnabledModeType(m_customAuthMode));
}

return payload;
}

} // namespace Model
} // namespace CognitoIdentityProvider
} // namespace Aws
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/cognito-idp/model/AdvancedSecurityEnabledModeType.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 CognitoIdentityProvider
{
namespace Model
{
namespace AdvancedSecurityEnabledModeTypeMapper
{

static const int AUDIT_HASH = HashingUtils::HashString("AUDIT");
static const int ENFORCED_HASH = HashingUtils::HashString("ENFORCED");


AdvancedSecurityEnabledModeType GetAdvancedSecurityEnabledModeTypeForName(const Aws::String& name)
{
int hashCode = HashingUtils::HashString(name.c_str());
if (hashCode == AUDIT_HASH)
{
return AdvancedSecurityEnabledModeType::AUDIT;
}
else if (hashCode == ENFORCED_HASH)
{
return AdvancedSecurityEnabledModeType::ENFORCED;
}
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
overflowContainer->StoreOverflow(hashCode, name);
return static_cast<AdvancedSecurityEnabledModeType>(hashCode);
}

return AdvancedSecurityEnabledModeType::NOT_SET;
}

Aws::String GetNameForAdvancedSecurityEnabledModeType(AdvancedSecurityEnabledModeType enumValue)
{
switch(enumValue)
{
case AdvancedSecurityEnabledModeType::NOT_SET:
return {};
case AdvancedSecurityEnabledModeType::AUDIT:
return "AUDIT";
case AdvancedSecurityEnabledModeType::ENFORCED:
return "ENFORCED";
default:
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
}

return {};
}
}

} // namespace AdvancedSecurityEnabledModeTypeMapper
} // namespace Model
} // namespace CognitoIdentityProvider
} // namespace Aws
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ namespace Model

UserPoolAddOnsType::UserPoolAddOnsType() :
m_advancedSecurityMode(AdvancedSecurityModeType::NOT_SET),
m_advancedSecurityModeHasBeenSet(false)
m_advancedSecurityModeHasBeenSet(false),
m_advancedSecurityAdditionalFlowsHasBeenSet(false)
{
}

Expand All @@ -39,6 +40,13 @@ UserPoolAddOnsType& UserPoolAddOnsType::operator =(JsonView jsonValue)
m_advancedSecurityModeHasBeenSet = true;
}

if(jsonValue.ValueExists("AdvancedSecurityAdditionalFlows"))
{
m_advancedSecurityAdditionalFlows = jsonValue.GetObject("AdvancedSecurityAdditionalFlows");

m_advancedSecurityAdditionalFlowsHasBeenSet = true;
}

return *this;
}

Expand All @@ -51,6 +59,12 @@ JsonValue UserPoolAddOnsType::Jsonize() const
payload.WithString("AdvancedSecurityMode", AdvancedSecurityModeTypeMapper::GetNameForAdvancedSecurityModeType(m_advancedSecurityMode));
}

if(m_advancedSecurityAdditionalFlowsHasBeenSet)
{
payload.WithObject("AdvancedSecurityAdditionalFlows", m_advancedSecurityAdditionalFlows.Jsonize());

}

return payload;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,17 @@ namespace Model
inline CreateIpamRequest& WithTier(const IpamTier& value) { SetTier(value); return *this;}
inline CreateIpamRequest& WithTier(IpamTier&& value) { SetTier(std::move(value)); return *this;}
///@}

///@{
/**
* <p>Enable this option to use your own GUA ranges as private IPv6 addresses. This
* option is disabled by default.</p>
*/
inline bool GetEnablePrivateGua() const{ return m_enablePrivateGua; }
inline bool EnablePrivateGuaHasBeenSet() const { return m_enablePrivateGuaHasBeenSet; }
inline void SetEnablePrivateGua(bool value) { m_enablePrivateGuaHasBeenSet = true; m_enablePrivateGua = value; }
inline CreateIpamRequest& WithEnablePrivateGua(bool value) { SetEnablePrivateGua(value); return *this;}
///@}
private:

bool m_dryRun;
Expand All @@ -155,6 +166,9 @@ namespace Model

IpamTier m_tier;
bool m_tierHasBeenSet = false;

bool m_enablePrivateGua;
bool m_enablePrivateGuaHasBeenSet = false;
};

} // namespace Model
Expand Down
32 changes: 32 additions & 0 deletions generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/IpSource.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/

#pragma once
#include <aws/ec2/EC2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace Aws
{
namespace EC2
{
namespace Model
{
enum class IpSource
{
NOT_SET,
amazon,
byoip,
none
};

namespace IpSourceMapper
{
AWS_EC2_API IpSource GetIpSourceForName(const Aws::String& name);

AWS_EC2_API Aws::String GetNameForIpSource(IpSource value);
} // namespace IpSourceMapper
} // namespace Model
} // namespace EC2
} // namespace Aws
Loading

0 comments on commit 538f7aa

Please sign in to comment.