Skip to content

Commit 36e2244

Browse files
Add WebAppEndpointPolicy support for WebApps
Add support for updating RemoteNetworkConfig for hybrid nodes on EKS UpdateClusterConfig API Add support for Marketplace Entitlement Service dual-stack endpoints. Amazon S3 adds support for S3 Access Points for directory buckets in AWS Dedicated Local Zones Release VPC Route Server, a new feature allowing dynamic routing in VPCs. Amazon S3 adds support for S3 Access Points for directory buckets in AWS Dedicated Local Zones Enabling Asset Level Capacity Management feature, which allows customers to create a Capacity Task for a single Asset on their active Outpost. Add dual-stack support to global endpoints. With this release you can use a new field to specify the search term match type. Search term match types currently support fuzzy and contains matching. Add Prompt Caching support to Converse and ConverseStream APIs
1 parent 0b1bd89 commit 36e2244

File tree

314 files changed

+31819
-11240
lines changed

Some content is hidden

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

314 files changed

+31819
-11240
lines changed

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.536
1+
1.11.537

generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/CreateWebAppRequest.h

+25-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <aws/core/utils/memory/stl/AWSString.h>
1111
#include <aws/awstransfer/model/WebAppUnits.h>
1212
#include <aws/core/utils/memory/stl/AWSVector.h>
13+
#include <aws/awstransfer/model/WebAppEndpointPolicy.h>
1314
#include <aws/awstransfer/model/Tag.h>
1415
#include <utility>
1516

@@ -41,7 +42,10 @@ namespace Model
4142
///@{
4243
/**
4344
* <p>You can provide a structure that contains the details for the identity
44-
* provider to use with your web app.</p>
45+
* provider to use with your web app.</p> <p>For more details about this parameter,
46+
* see <a
47+
* href="https://docs.aws.amazon.com/transfer/latest/userguide/webapp-identity-center.html">Configure
48+
* your identity provider for Transfer Family web apps</a>.</p>
4549
*/
4650
inline const WebAppIdentityProviderDetails& GetIdentityProviderDetails() const { return m_identityProviderDetails; }
4751
inline bool IdentityProviderDetailsHasBeenSet() const { return m_identityProviderDetailsHasBeenSet; }
@@ -55,7 +59,10 @@ namespace Model
5559
/**
5660
* <p>The <code>AccessEndpoint</code> is the URL that you provide to your users for
5761
* them to interact with the Transfer Family web app. You can specify a custom URL
58-
* or use the default value.</p>
62+
* or use the default value.</p> <p>Before you enter a custom URL for this
63+
* parameter, follow the steps described in <a
64+
* href="https://docs.aws.amazon.com/transfer/latest/userguide/webapp-customize.html">Update
65+
* your access endpoint with a custom URL</a>.</p>
5966
*/
6067
inline const Aws::String& GetAccessEndpoint() const { return m_accessEndpoint; }
6168
inline bool AccessEndpointHasBeenSet() const { return m_accessEndpointHasBeenSet; }
@@ -91,6 +98,19 @@ namespace Model
9198
template<typename TagsT = Tag>
9299
CreateWebAppRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
93100
///@}
101+
102+
///@{
103+
/**
104+
* <p> Setting for the type of endpoint policy for the web app. The default value
105+
* is <code>STANDARD</code>. </p> <p>If you are creating the web app in an Amazon
106+
* Web Services GovCloud (US) Region, you can set this parameter to
107+
* <code>FIPS</code>.</p>
108+
*/
109+
inline WebAppEndpointPolicy GetWebAppEndpointPolicy() const { return m_webAppEndpointPolicy; }
110+
inline bool WebAppEndpointPolicyHasBeenSet() const { return m_webAppEndpointPolicyHasBeenSet; }
111+
inline void SetWebAppEndpointPolicy(WebAppEndpointPolicy value) { m_webAppEndpointPolicyHasBeenSet = true; m_webAppEndpointPolicy = value; }
112+
inline CreateWebAppRequest& WithWebAppEndpointPolicy(WebAppEndpointPolicy value) { SetWebAppEndpointPolicy(value); return *this;}
113+
///@}
94114
private:
95115

96116
WebAppIdentityProviderDetails m_identityProviderDetails;
@@ -104,6 +124,9 @@ namespace Model
104124

105125
Aws::Vector<Tag> m_tags;
106126
bool m_tagsHasBeenSet = false;
127+
128+
WebAppEndpointPolicy m_webAppEndpointPolicy{WebAppEndpointPolicy::NOT_SET};
129+
bool m_webAppEndpointPolicyHasBeenSet = false;
107130
};
108131

109132
} // namespace Model

generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/DescribedUser.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ namespace Model
176176
///@{
177177
/**
178178
* <p>Specifies the public key portion of the Secure Shell (SSH) keys stored for
179-
* the described user.</p>
179+
* the described user.</p> <p>To delete the public key body, set its value
180+
* to zero keys, as shown here:</p> <p> <code>SshPublicKeys: []</code> </p>
180181
*/
181182
inline const Aws::Vector<SshPublicKey>& GetSshPublicKeys() const { return m_sshPublicKeys; }
182183
inline bool SshPublicKeysHasBeenSet() const { return m_sshPublicKeysHasBeenSet; }

generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/DescribedWebApp.h

+17
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include <aws/awstransfer/model/DescribedWebAppIdentityProviderDetails.h>
1010
#include <aws/awstransfer/model/WebAppUnits.h>
1111
#include <aws/core/utils/memory/stl/AWSVector.h>
12+
#include <aws/awstransfer/model/WebAppEndpointPolicy.h>
1213
#include <aws/awstransfer/model/Tag.h>
1314
#include <utility>
1415

@@ -134,6 +135,19 @@ namespace Model
134135
template<typename TagsT = Tag>
135136
DescribedWebApp& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
136137
///@}
138+
139+
///@{
140+
/**
141+
* <p> Setting for the type of endpoint policy for the web app. The default value
142+
* is <code>STANDARD</code>. </p> <p>If your web app was created in an Amazon Web
143+
* Services GovCloud (US) Region, the value of this parameter can be
144+
* <code>FIPS</code>, which indicates the web app endpoint is FIPS-compliant.</p>
145+
*/
146+
inline WebAppEndpointPolicy GetWebAppEndpointPolicy() const { return m_webAppEndpointPolicy; }
147+
inline bool WebAppEndpointPolicyHasBeenSet() const { return m_webAppEndpointPolicyHasBeenSet; }
148+
inline void SetWebAppEndpointPolicy(WebAppEndpointPolicy value) { m_webAppEndpointPolicyHasBeenSet = true; m_webAppEndpointPolicy = value; }
149+
inline DescribedWebApp& WithWebAppEndpointPolicy(WebAppEndpointPolicy value) { SetWebAppEndpointPolicy(value); return *this;}
150+
///@}
137151
private:
138152

139153
Aws::String m_arn;
@@ -156,6 +170,9 @@ namespace Model
156170

157171
Aws::Vector<Tag> m_tags;
158172
bool m_tagsHasBeenSet = false;
173+
174+
WebAppEndpointPolicy m_webAppEndpointPolicy{WebAppEndpointPolicy::NOT_SET};
175+
bool m_webAppEndpointPolicyHasBeenSet = false;
159176
};
160177

161178
} // namespace Model

generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/DescribedWebAppCustomization.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ namespace Model
9090

9191
///@{
9292
/**
93-
* <p>Returns a icon file data string (in base64 encoding).</p>
93+
* <p>Returns an icon file data string (in base64 encoding).</p>
9494
*/
9595
inline const Aws::Utils::CryptoBuffer& GetFaviconFile() const { return m_faviconFile; }
9696
inline bool FaviconFileHasBeenSet() const { return m_faviconFileHasBeenSet; }

generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/UpdateWebAppCustomizationRequest.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ namespace Model
7373

7474
///@{
7575
/**
76-
* <p>Specify icon file data string (in base64 encoding).</p>
76+
* <p>Specify an icon file data string (in base64 encoding).</p>
7777
*/
7878
inline const Aws::Utils::CryptoBuffer& GetFaviconFile() const { return m_faviconFile; }
7979
inline bool FaviconFileHasBeenSet() const { return m_faviconFileHasBeenSet; }
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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/awstransfer/Transfer_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
10+
namespace Aws
11+
{
12+
namespace Transfer
13+
{
14+
namespace Model
15+
{
16+
enum class WebAppEndpointPolicy
17+
{
18+
NOT_SET,
19+
FIPS,
20+
STANDARD
21+
};
22+
23+
namespace WebAppEndpointPolicyMapper
24+
{
25+
AWS_TRANSFER_API WebAppEndpointPolicy GetWebAppEndpointPolicyForName(const Aws::String& name);
26+
27+
AWS_TRANSFER_API Aws::String GetNameForWebAppEndpointPolicy(WebAppEndpointPolicy value);
28+
} // namespace WebAppEndpointPolicyMapper
29+
} // namespace Model
30+
} // namespace Transfer
31+
} // namespace Aws

generated/src/aws-cpp-sdk-awstransfer/source/model/CreateWebAppRequest.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ Aws::String CreateWebAppRequest::SerializePayload() const
4545

4646
}
4747

48+
if(m_webAppEndpointPolicyHasBeenSet)
49+
{
50+
payload.WithString("WebAppEndpointPolicy", WebAppEndpointPolicyMapper::GetNameForWebAppEndpointPolicy(m_webAppEndpointPolicy));
51+
}
52+
4853
return payload.View().WriteReadable();
4954
}
5055

generated/src/aws-cpp-sdk-awstransfer/source/model/DescribedWebApp.cpp

+10
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ DescribedWebApp& DescribedWebApp::operator =(JsonView jsonValue)
6464
}
6565
m_tagsHasBeenSet = true;
6666
}
67+
if(jsonValue.ValueExists("WebAppEndpointPolicy"))
68+
{
69+
m_webAppEndpointPolicy = WebAppEndpointPolicyMapper::GetWebAppEndpointPolicyForName(jsonValue.GetString("WebAppEndpointPolicy"));
70+
m_webAppEndpointPolicyHasBeenSet = true;
71+
}
6772
return *this;
6873
}
6974

@@ -118,6 +123,11 @@ JsonValue DescribedWebApp::Jsonize() const
118123

119124
}
120125

126+
if(m_webAppEndpointPolicyHasBeenSet)
127+
{
128+
payload.WithString("WebAppEndpointPolicy", WebAppEndpointPolicyMapper::GetNameForWebAppEndpointPolicy(m_webAppEndpointPolicy));
129+
}
130+
121131
return payload;
122132
}
123133

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#include <aws/awstransfer/model/WebAppEndpointPolicy.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 Transfer
17+
{
18+
namespace Model
19+
{
20+
namespace WebAppEndpointPolicyMapper
21+
{
22+
23+
static const int FIPS_HASH = HashingUtils::HashString("FIPS");
24+
static const int STANDARD_HASH = HashingUtils::HashString("STANDARD");
25+
26+
27+
WebAppEndpointPolicy GetWebAppEndpointPolicyForName(const Aws::String& name)
28+
{
29+
int hashCode = HashingUtils::HashString(name.c_str());
30+
if (hashCode == FIPS_HASH)
31+
{
32+
return WebAppEndpointPolicy::FIPS;
33+
}
34+
else if (hashCode == STANDARD_HASH)
35+
{
36+
return WebAppEndpointPolicy::STANDARD;
37+
}
38+
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
39+
if(overflowContainer)
40+
{
41+
overflowContainer->StoreOverflow(hashCode, name);
42+
return static_cast<WebAppEndpointPolicy>(hashCode);
43+
}
44+
45+
return WebAppEndpointPolicy::NOT_SET;
46+
}
47+
48+
Aws::String GetNameForWebAppEndpointPolicy(WebAppEndpointPolicy enumValue)
49+
{
50+
switch(enumValue)
51+
{
52+
case WebAppEndpointPolicy::NOT_SET:
53+
return {};
54+
case WebAppEndpointPolicy::FIPS:
55+
return "FIPS";
56+
case WebAppEndpointPolicy::STANDARD:
57+
return "STANDARD";
58+
default:
59+
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
60+
if(overflowContainer)
61+
{
62+
return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
63+
}
64+
65+
return {};
66+
}
67+
}
68+
69+
} // namespace WebAppEndpointPolicyMapper
70+
} // namespace Model
71+
} // namespace Transfer
72+
} // namespace Aws
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
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/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8+
#include <aws/bedrock-runtime/model/CachePointType.h>
9+
#include <utility>
10+
11+
namespace Aws
12+
{
13+
namespace Utils
14+
{
15+
namespace Json
16+
{
17+
class JsonValue;
18+
class JsonView;
19+
} // namespace Json
20+
} // namespace Utils
21+
namespace BedrockRuntime
22+
{
23+
namespace Model
24+
{
25+
26+
/**
27+
* <p>Defines a section of content to be cached for reuse in subsequent API
28+
* calls.</p><p><h3>See Also:</h3> <a
29+
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/CachePointBlock">AWS
30+
* API Reference</a></p>
31+
*/
32+
class CachePointBlock
33+
{
34+
public:
35+
AWS_BEDROCKRUNTIME_API CachePointBlock() = default;
36+
AWS_BEDROCKRUNTIME_API CachePointBlock(Aws::Utils::Json::JsonView jsonValue);
37+
AWS_BEDROCKRUNTIME_API CachePointBlock& operator=(Aws::Utils::Json::JsonView jsonValue);
38+
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
39+
40+
41+
///@{
42+
/**
43+
* <p>Specifies the type of cache point within the CachePointBlock.</p>
44+
*/
45+
inline CachePointType GetType() const { return m_type; }
46+
inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
47+
inline void SetType(CachePointType value) { m_typeHasBeenSet = true; m_type = value; }
48+
inline CachePointBlock& WithType(CachePointType value) { SetType(value); return *this;}
49+
///@}
50+
private:
51+
52+
CachePointType m_type{CachePointType::NOT_SET};
53+
bool m_typeHasBeenSet = false;
54+
};
55+
56+
} // namespace Model
57+
} // namespace BedrockRuntime
58+
} // namespace Aws
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
10+
namespace Aws
11+
{
12+
namespace BedrockRuntime
13+
{
14+
namespace Model
15+
{
16+
enum class CachePointType
17+
{
18+
NOT_SET,
19+
default_
20+
};
21+
22+
namespace CachePointTypeMapper
23+
{
24+
AWS_BEDROCKRUNTIME_API CachePointType GetCachePointTypeForName(const Aws::String& name);
25+
26+
AWS_BEDROCKRUNTIME_API Aws::String GetNameForCachePointType(CachePointType value);
27+
} // namespace CachePointTypeMapper
28+
} // namespace Model
29+
} // namespace BedrockRuntime
30+
} // namespace Aws

0 commit comments

Comments
 (0)