Skip to content

Commit 3d0cdc2

Browse files
This releases adds support for Custom Prompt Router ARN
New Service: Amazon GameLift Streams delivers low-latency game streaming from AWS global infrastructure to virtually any device with a browser at up to 1080p resolution and 60 fps. Added DeviceTypeWorkSpacesThinClient type to allow users to access their WorkSpaces through a WorkSpaces Thin Client. AWS DataSync now supports modifying ServerHostname while updating locations SMB, NFS, and ObjectStorage. This release adds floating point support for CAN/OBD signals and adds support for signed OBD signals.
1 parent 8d215a7 commit 3d0cdc2

File tree

177 files changed

+19770
-833
lines changed

Some content is hidden

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

177 files changed

+19770
-833
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.519
1+
1.11.520
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
add_project(gameliftstreams-smoke-tests
2+
"Tests for the AWS GAMELIFTSTREAMS C++ SDK"
3+
testing-resources
4+
aws-cpp-sdk-gameliftstreams
5+
aws-cpp-sdk-core
6+
)
7+
file(GLOB AWS_GAMELIFTSTREAMS_GENERATED_SMOKE_TEST_SRC
8+
"${CMAKE_CURRENT_SOURCE_DIR}/../RunTests.cpp"
9+
"${CMAKE_CURRENT_SOURCE_DIR}/*.cpp"
10+
)
11+
if(MSVC AND BUILD_SHARED_LIBS)
12+
add_definitions(-DGTEST_LINKED_AS_SHARED_LIBRARY=1)
13+
endif()
14+
15+
if (CMAKE_CROSSCOMPILING)
16+
set(AUTORUN_UNIT_TESTS OFF)
17+
endif()
18+
19+
if (AUTORUN_UNIT_TESTS)
20+
enable_testing()
21+
endif()
22+
23+
if(PLATFORM_ANDROID AND BUILD_SHARED_LIBS)
24+
add_library(${PROJECT_NAME} "${AWS_GAMELIFTSTREAMS_GENERATED_SMOKE_TEST_SRC}")
25+
else()
26+
add_executable(${PROJECT_NAME} "${AWS_GAMELIFTSTREAMS_GENERATED_SMOKE_TEST_SRC}")
27+
endif()
28+
29+
set_compiler_flags(${PROJECT_NAME})
30+
set_compiler_warnings(${PROJECT_NAME})
31+
32+
target_include_directories(${PROJECT_NAME} PUBLIC
33+
${CMAKE_CURRENT_SOURCE_DIR}/../../src/aws-cpp-sdk-gameliftstreams/include)
34+
35+
target_link_libraries(${PROJECT_NAME}
36+
${PROJECT_LIBS})
37+
38+
if(NOT CMAKE_CROSSCOMPILING)
39+
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES OUTPUT_NAME ${PROJECT_NAME})
40+
endif()
41+
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
#include <algorithm>
6+
#include <aws/core/auth/AWSCredentialsProviderChain.h>
7+
#include <aws/core/client/AsyncCallerContext.h>
8+
#include <aws/core/client/ClientConfiguration.h>
9+
#include <aws/core/client/CoreErrors.h>
10+
#include <aws/core/http/HttpTypes.h>
11+
#include <aws/core/utils/Outcome.h>
12+
#include <aws/core/utils/UnreferencedParam.h>
13+
#include <aws/core/utils/logging/LogMacros.h>
14+
#include <aws/core/utils/memory/AWSMemory.h>
15+
#include <utility>
16+
#include <aws/testing/AwsCppSdkGTestSuite.h>
17+
#include <aws/testing/AwsTestHelpers.h>
18+
#include <aws/core/utils/memory/stl/AWSString.h>
19+
#include <aws/gameliftstreams/GameLiftStreamsClient.h>
20+
#include <aws/gameliftstreams/model/GetStreamSessionRequest.h>
21+
#include <aws/gameliftstreams/model/ListStreamSessionsByAccountRequest.h>
22+
#include <aws/gameliftstreams/model/ListStreamSessionsRequest.h>
23+
#include <aws/gameliftstreams/model/ListTagsForResourceRequest.h>
24+
25+
namespace GameLiftStreamsSmokeTest{
26+
using namespace Aws::Auth;
27+
using namespace Aws::Http;
28+
using namespace Aws::Client;
29+
30+
using namespace Aws::GameLiftStreams;
31+
using namespace Aws::GameLiftStreams::Model;
32+
class GameLiftStreamsSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
33+
public:
34+
static const char ALLOCATION_TAG[];
35+
};
36+
const char GameLiftStreamsSmokeTestSuite::ALLOCATION_TAG[] = "GameLiftStreamsSmokeTest";
37+
TEST_F(GameLiftStreamsSmokeTestSuite, GetStreamSession )
38+
{
39+
Aws::GameLiftStreams::GameLiftStreamsClientConfiguration clientConfiguration;
40+
clientConfiguration.region = "us-west-2";
41+
clientConfiguration.useFIPS = false;
42+
clientConfiguration.useDualStack = false;
43+
auto clientSp = Aws::MakeShared<GameLiftStreamsClient>(ALLOCATION_TAG, clientConfiguration);
44+
//populate input params
45+
46+
GetStreamSessionRequest input;
47+
input.SetIdentifier("abcdefghi");
48+
input.SetStreamSessionIdentifier("jklmnopqr");
49+
auto outcome = clientSp->GetStreamSession(input);
50+
EXPECT_FALSE( outcome.IsSuccess());
51+
}
52+
TEST_F(GameLiftStreamsSmokeTestSuite, ListStreamSessions )
53+
{
54+
Aws::GameLiftStreams::GameLiftStreamsClientConfiguration clientConfiguration;
55+
clientConfiguration.region = "us-west-2";
56+
clientConfiguration.useFIPS = false;
57+
clientConfiguration.useDualStack = false;
58+
auto clientSp = Aws::MakeShared<GameLiftStreamsClient>(ALLOCATION_TAG, clientConfiguration);
59+
//populate input params
60+
61+
ListStreamSessionsRequest input;
62+
input.SetIdentifier("abcdefghi");
63+
auto outcome = clientSp->ListStreamSessions(input);
64+
EXPECT_FALSE( outcome.IsSuccess());
65+
}
66+
TEST_F(GameLiftStreamsSmokeTestSuite, ListStreamSessionsByAccount )
67+
{
68+
Aws::GameLiftStreams::GameLiftStreamsClientConfiguration clientConfiguration;
69+
clientConfiguration.region = "us-west-2";
70+
clientConfiguration.useFIPS = false;
71+
clientConfiguration.useDualStack = false;
72+
auto clientSp = Aws::MakeShared<GameLiftStreamsClient>(ALLOCATION_TAG, clientConfiguration);
73+
//populate input params
74+
75+
ListStreamSessionsByAccountRequest input;
76+
auto outcome = clientSp->ListStreamSessionsByAccount(input);
77+
EXPECT_TRUE( outcome.IsSuccess());
78+
}
79+
TEST_F(GameLiftStreamsSmokeTestSuite, ListTagsForResource )
80+
{
81+
Aws::GameLiftStreams::GameLiftStreamsClientConfiguration clientConfiguration;
82+
clientConfiguration.region = "us-west-2";
83+
clientConfiguration.useFIPS = false;
84+
clientConfiguration.useDualStack = false;
85+
auto clientSp = Aws::MakeShared<GameLiftStreamsClient>(ALLOCATION_TAG, clientConfiguration);
86+
//populate input params
87+
88+
ListTagsForResourceRequest input;
89+
input.SetResourceArn("arn:aws:gameliftstreams:us-west-2:012345678901:abcdefghi");
90+
auto outcome = clientSp->ListTagsForResource(input);
91+
EXPECT_FALSE( outcome.IsSuccess());
92+
}
93+
}

generated/src/aws-cpp-sdk-datasync/include/aws/datasync/model/CreateLocationNfsRequest.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ namespace Model
6262

6363
///@{
6464
/**
65-
* <p>Specifies the Domain Name System (DNS) name or IP version 4 address of the
66-
* NFS file server that your DataSync agent connects to.</p>
65+
* <p>Specifies the DNS name or IP version 4 address of the NFS file server that
66+
* your DataSync agent connects to.</p>
6767
*/
6868
inline const Aws::String& GetServerHostname() const{ return m_serverHostname; }
6969
inline bool ServerHostnameHasBeenSet() const { return m_serverHostnameHasBeenSet; }

generated/src/aws-cpp-sdk-datasync/include/aws/datasync/model/CreateLocationObjectStorageRequest.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,8 @@ namespace Model
4343

4444
///@{
4545
/**
46-
* <p>Specifies the domain name or IP address of the object storage server. A
47-
* DataSync agent uses this hostname to mount the object storage server in a
48-
* network.</p>
46+
* <p>Specifies the domain name or IP version 4 (IPv4) address of the object
47+
* storage server that your DataSync agent connects to.</p>
4948
*/
5049
inline const Aws::String& GetServerHostname() const{ return m_serverHostname; }
5150
inline bool ServerHostnameHasBeenSet() const { return m_serverHostnameHasBeenSet; }

generated/src/aws-cpp-sdk-datasync/include/aws/datasync/model/CreateLocationSmbRequest.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ namespace Model
6666
///@{
6767
/**
6868
* <p>Specifies the domain name or IP address of the SMB file server that your
69-
* DataSync agent will mount.</p> <p>Remember the following when configuring this
69+
* DataSync agent connects to.</p> <p>Remember the following when configuring this
7070
* parameter:</p> <ul> <li> <p>You can't specify an IP version 6 (IPv6)
7171
* address.</p> </li> <li> <p>If you're using Kerberos authentication, you must
7272
* specify a domain name.</p> </li> </ul>
@@ -185,7 +185,9 @@ namespace Model
185185
/**
186186
* <p>Specifies the authentication protocol that DataSync uses to connect to your
187187
* SMB file server. DataSync supports <code>NTLM</code> (default) and
188-
* <code>KERBEROS</code> authentication.</p>
188+
* <code>KERBEROS</code> authentication.</p> <p>For more information, see <a
189+
* href="https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions">Providing
190+
* DataSync access to SMB file servers</a>.</p>
189191
*/
190192
inline const SmbAuthenticationType& GetAuthenticationType() const{ return m_authenticationType; }
191193
inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
@@ -219,7 +221,7 @@ namespace Model
219221
* <p>Specifies a Kerberos prinicpal, which is an identity in your Kerberos realm
220222
* that has permission to access the files, folders, and file metadata in your SMB
221223
* file server.</p> <p>A Kerberos principal might look like
222-
* <code>HOST/kerberosuser@EXAMPLE.COM</code>.</p> <p>Principal names are case
224+
* <code>HOST/kerberosuser@MYDOMAIN.ORG</code>.</p> <p>Principal names are case
223225
* sensitive. Your DataSync task execution will fail if the principal that you
224226
* specify for this parameter doesn’t exactly match the principal that you use to
225227
* create the keytab file.</p>

generated/src/aws-cpp-sdk-datasync/include/aws/datasync/model/UpdateLocationNfsRequest.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,21 @@ namespace Model
7070
inline UpdateLocationNfsRequest& WithSubdirectory(const char* value) { SetSubdirectory(value); return *this;}
7171
///@}
7272

73+
///@{
74+
/**
75+
* <p>Specifies the DNS name or IP version 4 (IPv4) address of the NFS file server
76+
* that your DataSync agent connects to.</p>
77+
*/
78+
inline const Aws::String& GetServerHostname() const{ return m_serverHostname; }
79+
inline bool ServerHostnameHasBeenSet() const { return m_serverHostnameHasBeenSet; }
80+
inline void SetServerHostname(const Aws::String& value) { m_serverHostnameHasBeenSet = true; m_serverHostname = value; }
81+
inline void SetServerHostname(Aws::String&& value) { m_serverHostnameHasBeenSet = true; m_serverHostname = std::move(value); }
82+
inline void SetServerHostname(const char* value) { m_serverHostnameHasBeenSet = true; m_serverHostname.assign(value); }
83+
inline UpdateLocationNfsRequest& WithServerHostname(const Aws::String& value) { SetServerHostname(value); return *this;}
84+
inline UpdateLocationNfsRequest& WithServerHostname(Aws::String&& value) { SetServerHostname(std::move(value)); return *this;}
85+
inline UpdateLocationNfsRequest& WithServerHostname(const char* value) { SetServerHostname(value); return *this;}
86+
///@}
87+
7388
///@{
7489

7590
inline const OnPremConfig& GetOnPremConfig() const{ return m_onPremConfig; }
@@ -97,6 +112,9 @@ namespace Model
97112
Aws::String m_subdirectory;
98113
bool m_subdirectoryHasBeenSet = false;
99114

115+
Aws::String m_serverHostname;
116+
bool m_serverHostnameHasBeenSet = false;
117+
100118
OnPremConfig m_onPremConfig;
101119
bool m_onPremConfigHasBeenSet = false;
102120

generated/src/aws-cpp-sdk-datasync/include/aws/datasync/model/UpdateLocationObjectStorageRequest.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,21 @@ namespace Model
9292
inline UpdateLocationObjectStorageRequest& WithSubdirectory(const char* value) { SetSubdirectory(value); return *this;}
9393
///@}
9494

95+
///@{
96+
/**
97+
* <p>Specifies the domain name or IP version 4 (IPv4) address of the object
98+
* storage server that your DataSync agent connects to.</p>
99+
*/
100+
inline const Aws::String& GetServerHostname() const{ return m_serverHostname; }
101+
inline bool ServerHostnameHasBeenSet() const { return m_serverHostnameHasBeenSet; }
102+
inline void SetServerHostname(const Aws::String& value) { m_serverHostnameHasBeenSet = true; m_serverHostname = value; }
103+
inline void SetServerHostname(Aws::String&& value) { m_serverHostnameHasBeenSet = true; m_serverHostname = std::move(value); }
104+
inline void SetServerHostname(const char* value) { m_serverHostnameHasBeenSet = true; m_serverHostname.assign(value); }
105+
inline UpdateLocationObjectStorageRequest& WithServerHostname(const Aws::String& value) { SetServerHostname(value); return *this;}
106+
inline UpdateLocationObjectStorageRequest& WithServerHostname(Aws::String&& value) { SetServerHostname(std::move(value)); return *this;}
107+
inline UpdateLocationObjectStorageRequest& WithServerHostname(const char* value) { SetServerHostname(value); return *this;}
108+
///@}
109+
95110
///@{
96111
/**
97112
* <p>Specifies the access key (for example, a user name) if credentials are
@@ -179,6 +194,9 @@ namespace Model
179194
Aws::String m_subdirectory;
180195
bool m_subdirectoryHasBeenSet = false;
181196

197+
Aws::String m_serverHostname;
198+
bool m_serverHostnameHasBeenSet = false;
199+
182200
Aws::String m_accessKey;
183201
bool m_accessKeyHasBeenSet = false;
184202

generated/src/aws-cpp-sdk-datasync/include/aws/datasync/model/UpdateLocationSmbRequest.h

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,24 @@ namespace Model
7373
inline UpdateLocationSmbRequest& WithSubdirectory(const char* value) { SetSubdirectory(value); return *this;}
7474
///@}
7575

76+
///@{
77+
/**
78+
* <p>Specifies the domain name or IP address of the SMB file server that your
79+
* DataSync agent connects to.</p> <p>Remember the following when configuring this
80+
* parameter:</p> <ul> <li> <p>You can't specify an IP version 6 (IPv6)
81+
* address.</p> </li> <li> <p>If you're using Kerberos authentication, you must
82+
* specify a domain name.</p> </li> </ul>
83+
*/
84+
inline const Aws::String& GetServerHostname() const{ return m_serverHostname; }
85+
inline bool ServerHostnameHasBeenSet() const { return m_serverHostnameHasBeenSet; }
86+
inline void SetServerHostname(const Aws::String& value) { m_serverHostnameHasBeenSet = true; m_serverHostname = value; }
87+
inline void SetServerHostname(Aws::String&& value) { m_serverHostnameHasBeenSet = true; m_serverHostname = std::move(value); }
88+
inline void SetServerHostname(const char* value) { m_serverHostnameHasBeenSet = true; m_serverHostname.assign(value); }
89+
inline UpdateLocationSmbRequest& WithServerHostname(const Aws::String& value) { SetServerHostname(value); return *this;}
90+
inline UpdateLocationSmbRequest& WithServerHostname(Aws::String&& value) { SetServerHostname(std::move(value)); return *this;}
91+
inline UpdateLocationSmbRequest& WithServerHostname(const char* value) { SetServerHostname(value); return *this;}
92+
///@}
93+
7694
///@{
7795
/**
7896
* <p>Specifies the user name that can mount your SMB file server and has
@@ -158,7 +176,9 @@ namespace Model
158176
/**
159177
* <p>Specifies the authentication protocol that DataSync uses to connect to your
160178
* SMB file server. DataSync supports <code>NTLM</code> (default) and
161-
* <code>KERBEROS</code> authentication.</p>
179+
* <code>KERBEROS</code> authentication.</p> <p>For more information, see <a
180+
* href="https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions">Providing
181+
* DataSync access to SMB file servers</a>.</p>
162182
*/
163183
inline const SmbAuthenticationType& GetAuthenticationType() const{ return m_authenticationType; }
164184
inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
@@ -192,7 +212,7 @@ namespace Model
192212
* <p>Specifies a Kerberos prinicpal, which is an identity in your Kerberos realm
193213
* that has permission to access the files, folders, and file metadata in your SMB
194214
* file server.</p> <p>A Kerberos principal might look like
195-
* <code>HOST/kerberosuser@EXAMPLE.COM</code>.</p> <p>Principal names are case
215+
* <code>HOST/kerberosuser@MYDOMAIN.ORG</code>.</p> <p>Principal names are case
196216
* sensitive. Your DataSync task execution will fail if the principal that you
197217
* specify for this parameter doesn’t exactly match the principal that you use to
198218
* create the keytab file.</p>
@@ -245,6 +265,9 @@ namespace Model
245265
Aws::String m_subdirectory;
246266
bool m_subdirectoryHasBeenSet = false;
247267

268+
Aws::String m_serverHostname;
269+
bool m_serverHostnameHasBeenSet = false;
270+
248271
Aws::String m_user;
249272
bool m_userHasBeenSet = false;
250273

generated/src/aws-cpp-sdk-datasync/source/model/UpdateLocationNfsRequest.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ using namespace Aws::Utils;
1515
UpdateLocationNfsRequest::UpdateLocationNfsRequest() :
1616
m_locationArnHasBeenSet(false),
1717
m_subdirectoryHasBeenSet(false),
18+
m_serverHostnameHasBeenSet(false),
1819
m_onPremConfigHasBeenSet(false),
1920
m_mountOptionsHasBeenSet(false)
2021
{
@@ -36,6 +37,12 @@ Aws::String UpdateLocationNfsRequest::SerializePayload() const
3637

3738
}
3839

40+
if(m_serverHostnameHasBeenSet)
41+
{
42+
payload.WithString("ServerHostname", m_serverHostname);
43+
44+
}
45+
3946
if(m_onPremConfigHasBeenSet)
4047
{
4148
payload.WithObject("OnPremConfig", m_onPremConfig.Jsonize());

0 commit comments

Comments
 (0)