Skip to content

Commit bba2b1b

Browse files
EC2 Image Builder now supports invoking Lambda functions and executing Step Functions state machine through image workflows.
Removed all the value constraint (min/max) for the shape definitions (e.g. integerMin0Max3600) on the C2j models to get rid of the need to request an exemption from the SDK team whenever a shape definition (e.g. integerMin0Max3600) is changed. Adds support for granting read and write access to Amazon S3 general purpose buckets using CreateSubscriptionRequest and AcceptSubscriptionRequest APIs. Also adds search filters for SSOUser and SSOGroup to ListSubscriptions APIs and deprecates "sortBy" parameter for ListSubscriptions APIs. This release adds AvailabilityZoneId support for CreateInstanceConnectEndpoint, DescribeInstanceConnectEndpoints, and DeleteInstanceConnectEndpoint APIs.
1 parent bda4040 commit bba2b1b

File tree

59 files changed

+1712
-381
lines changed

Some content is hidden

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

59 files changed

+1712
-381
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.690
1+
1.11.691

generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AcceptSubscriptionRequestRequest.h

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include <aws/datazone/DataZoneRequest.h>
1010
#include <aws/datazone/DataZone_EXPORTS.h>
1111
#include <aws/datazone/model/AcceptedAssetScope.h>
12+
#include <aws/datazone/model/AssetPermission.h>
1213

1314
#include <utility>
1415

@@ -30,6 +31,30 @@ class AcceptSubscriptionRequestRequest : public DataZoneRequest {
3031

3132
AWS_DATAZONE_API Aws::String SerializePayload() const override;
3233

34+
///@{
35+
/**
36+
* <p>The asset permissions of the accept subscription request.</p>
37+
*/
38+
inline const Aws::Vector<AssetPermission>& GetAssetPermissions() const { return m_assetPermissions; }
39+
inline bool AssetPermissionsHasBeenSet() const { return m_assetPermissionsHasBeenSet; }
40+
template <typename AssetPermissionsT = Aws::Vector<AssetPermission>>
41+
void SetAssetPermissions(AssetPermissionsT&& value) {
42+
m_assetPermissionsHasBeenSet = true;
43+
m_assetPermissions = std::forward<AssetPermissionsT>(value);
44+
}
45+
template <typename AssetPermissionsT = Aws::Vector<AssetPermission>>
46+
AcceptSubscriptionRequestRequest& WithAssetPermissions(AssetPermissionsT&& value) {
47+
SetAssetPermissions(std::forward<AssetPermissionsT>(value));
48+
return *this;
49+
}
50+
template <typename AssetPermissionsT = AssetPermission>
51+
AcceptSubscriptionRequestRequest& AddAssetPermissions(AssetPermissionsT&& value) {
52+
m_assetPermissionsHasBeenSet = true;
53+
m_assetPermissions.emplace_back(std::forward<AssetPermissionsT>(value));
54+
return *this;
55+
}
56+
///@}
57+
3358
///@{
3459
/**
3560
* <p>The asset scopes of the accept subscription request.</p>
@@ -110,6 +135,9 @@ class AcceptSubscriptionRequestRequest : public DataZoneRequest {
110135
}
111136
///@}
112137
private:
138+
Aws::Vector<AssetPermission> m_assetPermissions;
139+
bool m_assetPermissionsHasBeenSet = false;
140+
113141
Aws::Vector<AcceptedAssetScope> m_assetScopes;
114142
bool m_assetScopesHasBeenSet = false;
115143

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
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/core/utils/memory/stl/AWSString.h>
8+
#include <aws/datazone/DataZone_EXPORTS.h>
9+
#include <aws/datazone/model/Permissions.h>
10+
11+
#include <utility>
12+
13+
namespace Aws {
14+
namespace Utils {
15+
namespace Json {
16+
class JsonValue;
17+
class JsonView;
18+
} // namespace Json
19+
} // namespace Utils
20+
namespace DataZone {
21+
namespace Model {
22+
23+
/**
24+
* <p>The asset permissions.</p><p><h3>See Also:</h3> <a
25+
* href="http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/AssetPermission">AWS
26+
* API Reference</a></p>
27+
*/
28+
class AssetPermission {
29+
public:
30+
AWS_DATAZONE_API AssetPermission() = default;
31+
AWS_DATAZONE_API AssetPermission(Aws::Utils::Json::JsonView jsonValue);
32+
AWS_DATAZONE_API AssetPermission& operator=(Aws::Utils::Json::JsonView jsonValue);
33+
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
34+
35+
///@{
36+
/**
37+
* <p>The asset ID as part of the asset permissions.</p>
38+
*/
39+
inline const Aws::String& GetAssetId() const { return m_assetId; }
40+
inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
41+
template <typename AssetIdT = Aws::String>
42+
void SetAssetId(AssetIdT&& value) {
43+
m_assetIdHasBeenSet = true;
44+
m_assetId = std::forward<AssetIdT>(value);
45+
}
46+
template <typename AssetIdT = Aws::String>
47+
AssetPermission& WithAssetId(AssetIdT&& value) {
48+
SetAssetId(std::forward<AssetIdT>(value));
49+
return *this;
50+
}
51+
///@}
52+
53+
///@{
54+
/**
55+
* <p>The details as part of the asset permissions.</p>
56+
*/
57+
inline const Permissions& GetPermissions() const { return m_permissions; }
58+
inline bool PermissionsHasBeenSet() const { return m_permissionsHasBeenSet; }
59+
template <typename PermissionsT = Permissions>
60+
void SetPermissions(PermissionsT&& value) {
61+
m_permissionsHasBeenSet = true;
62+
m_permissions = std::forward<PermissionsT>(value);
63+
}
64+
template <typename PermissionsT = Permissions>
65+
AssetPermission& WithPermissions(PermissionsT&& value) {
66+
SetPermissions(std::forward<PermissionsT>(value));
67+
return *this;
68+
}
69+
///@}
70+
private:
71+
Aws::String m_assetId;
72+
bool m_assetIdHasBeenSet = false;
73+
74+
Permissions m_permissions;
75+
bool m_permissionsHasBeenSet = false;
76+
};
77+
78+
} // namespace Model
79+
} // namespace DataZone
80+
} // namespace Aws

generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateSubscriptionGrantResult.h

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,23 @@ class CreateSubscriptionGrantResult {
106106
}
107107
///@}
108108

109+
///@{
110+
/**
111+
* <p>The environment ID for which subscription grant is created.</p>
112+
*/
113+
inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
114+
template <typename EnvironmentIdT = Aws::String>
115+
void SetEnvironmentId(EnvironmentIdT&& value) {
116+
m_environmentIdHasBeenSet = true;
117+
m_environmentId = std::forward<EnvironmentIdT>(value);
118+
}
119+
template <typename EnvironmentIdT = Aws::String>
120+
CreateSubscriptionGrantResult& WithEnvironmentId(EnvironmentIdT&& value) {
121+
SetEnvironmentId(std::forward<EnvironmentIdT>(value));
122+
return *this;
123+
}
124+
///@}
125+
109126
///@{
110127
/**
111128
* <p>The entity to which the subscription is granted.</p>
@@ -234,6 +251,9 @@ class CreateSubscriptionGrantResult {
234251
Aws::String m_domainId;
235252
bool m_domainIdHasBeenSet = false;
236253

254+
Aws::String m_environmentId;
255+
bool m_environmentIdHasBeenSet = false;
256+
237257
GrantedEntity m_grantedEntity;
238258
bool m_grantedEntityHasBeenSet = false;
239259

generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateSubscriptionRequestRequest.h

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
#include <aws/core/utils/memory/stl/AWSVector.h>
1010
#include <aws/datazone/DataZoneRequest.h>
1111
#include <aws/datazone/DataZone_EXPORTS.h>
12+
#include <aws/datazone/model/AcceptedAssetScope.h>
13+
#include <aws/datazone/model/AssetPermission.h>
1214
#include <aws/datazone/model/FormInput.h>
1315
#include <aws/datazone/model/SubscribedListingInput.h>
1416
#include <aws/datazone/model/SubscribedPrincipalInput.h>
@@ -33,6 +35,54 @@ class CreateSubscriptionRequestRequest : public DataZoneRequest {
3335

3436
AWS_DATAZONE_API Aws::String SerializePayload() const override;
3537

38+
///@{
39+
/**
40+
* <p>The asset permissions of the subscription request.</p>
41+
*/
42+
inline const Aws::Vector<AssetPermission>& GetAssetPermissions() const { return m_assetPermissions; }
43+
inline bool AssetPermissionsHasBeenSet() const { return m_assetPermissionsHasBeenSet; }
44+
template <typename AssetPermissionsT = Aws::Vector<AssetPermission>>
45+
void SetAssetPermissions(AssetPermissionsT&& value) {
46+
m_assetPermissionsHasBeenSet = true;
47+
m_assetPermissions = std::forward<AssetPermissionsT>(value);
48+
}
49+
template <typename AssetPermissionsT = Aws::Vector<AssetPermission>>
50+
CreateSubscriptionRequestRequest& WithAssetPermissions(AssetPermissionsT&& value) {
51+
SetAssetPermissions(std::forward<AssetPermissionsT>(value));
52+
return *this;
53+
}
54+
template <typename AssetPermissionsT = AssetPermission>
55+
CreateSubscriptionRequestRequest& AddAssetPermissions(AssetPermissionsT&& value) {
56+
m_assetPermissionsHasBeenSet = true;
57+
m_assetPermissions.emplace_back(std::forward<AssetPermissionsT>(value));
58+
return *this;
59+
}
60+
///@}
61+
62+
///@{
63+
/**
64+
* <p>The asset scopes of the subscription request.</p>
65+
*/
66+
inline const Aws::Vector<AcceptedAssetScope>& GetAssetScopes() const { return m_assetScopes; }
67+
inline bool AssetScopesHasBeenSet() const { return m_assetScopesHasBeenSet; }
68+
template <typename AssetScopesT = Aws::Vector<AcceptedAssetScope>>
69+
void SetAssetScopes(AssetScopesT&& value) {
70+
m_assetScopesHasBeenSet = true;
71+
m_assetScopes = std::forward<AssetScopesT>(value);
72+
}
73+
template <typename AssetScopesT = Aws::Vector<AcceptedAssetScope>>
74+
CreateSubscriptionRequestRequest& WithAssetScopes(AssetScopesT&& value) {
75+
SetAssetScopes(std::forward<AssetScopesT>(value));
76+
return *this;
77+
}
78+
template <typename AssetScopesT = AcceptedAssetScope>
79+
CreateSubscriptionRequestRequest& AddAssetScopes(AssetScopesT&& value) {
80+
m_assetScopesHasBeenSet = true;
81+
m_assetScopes.emplace_back(std::forward<AssetScopesT>(value));
82+
return *this;
83+
}
84+
///@}
85+
3686
///@{
3787
/**
3888
* <p>A unique, case-sensitive identifier that is provided to ensure the
@@ -162,6 +212,12 @@ class CreateSubscriptionRequestRequest : public DataZoneRequest {
162212
}
163213
///@}
164214
private:
215+
Aws::Vector<AssetPermission> m_assetPermissions;
216+
bool m_assetPermissionsHasBeenSet = false;
217+
218+
Aws::Vector<AcceptedAssetScope> m_assetScopes;
219+
bool m_assetScopesHasBeenSet = false;
220+
165221
Aws::String m_clientToken{Aws::Utils::UUID::PseudoRandomUUID()};
166222
bool m_clientTokenHasBeenSet = true;
167223

generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateUserProfileResult.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ class CreateUserProfileResult {
3030
AWS_DATAZONE_API CreateUserProfileResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
3131

3232
///@{
33-
33+
/**
34+
* <p>The user profile details.</p>
35+
*/
3436
inline const UserProfileDetails& GetDetails() const { return m_details; }
3537
template <typename DetailsT = UserProfileDetails>
3638
void SetDetails(DetailsT&& value) {

generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteSubscriptionGrantResult.h

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,23 @@ class DeleteSubscriptionGrantResult {
107107
}
108108
///@}
109109

110+
///@{
111+
/**
112+
* <p>The ID of the environment in which the subscription grant is deleted.</p>
113+
*/
114+
inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
115+
template <typename EnvironmentIdT = Aws::String>
116+
void SetEnvironmentId(EnvironmentIdT&& value) {
117+
m_environmentIdHasBeenSet = true;
118+
m_environmentId = std::forward<EnvironmentIdT>(value);
119+
}
120+
template <typename EnvironmentIdT = Aws::String>
121+
DeleteSubscriptionGrantResult& WithEnvironmentId(EnvironmentIdT&& value) {
122+
SetEnvironmentId(std::forward<EnvironmentIdT>(value));
123+
return *this;
124+
}
125+
///@}
126+
110127
///@{
111128
/**
112129
* <p>The entity to which the subscription is deleted.</p>
@@ -236,6 +253,9 @@ class DeleteSubscriptionGrantResult {
236253
Aws::String m_domainId;
237254
bool m_domainIdHasBeenSet = false;
238255

256+
Aws::String m_environmentId;
257+
bool m_environmentIdHasBeenSet = false;
258+
239259
GrantedEntity m_grantedEntity;
240260
bool m_grantedEntityHasBeenSet = false;
241261

generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetSubscriptionGrantResult.h

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,23 @@ class GetSubscriptionGrantResult {
106106
}
107107
///@}
108108

109+
///@{
110+
/**
111+
* <p>The environment ID of the subscription grant.</p>
112+
*/
113+
inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
114+
template <typename EnvironmentIdT = Aws::String>
115+
void SetEnvironmentId(EnvironmentIdT&& value) {
116+
m_environmentIdHasBeenSet = true;
117+
m_environmentId = std::forward<EnvironmentIdT>(value);
118+
}
119+
template <typename EnvironmentIdT = Aws::String>
120+
GetSubscriptionGrantResult& WithEnvironmentId(EnvironmentIdT&& value) {
121+
SetEnvironmentId(std::forward<EnvironmentIdT>(value));
122+
return *this;
123+
}
124+
///@}
125+
109126
///@{
110127
/**
111128
* <p>The entity to which the subscription is granted.</p>
@@ -233,6 +250,9 @@ class GetSubscriptionGrantResult {
233250
Aws::String m_domainId;
234251
bool m_domainIdHasBeenSet = false;
235252

253+
Aws::String m_environmentId;
254+
bool m_environmentIdHasBeenSet = false;
255+
236256
GrantedEntity m_grantedEntity;
237257
bool m_grantedEntityHasBeenSet = false;
238258

generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetUserProfileResult.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ class GetUserProfileResult {
3030
AWS_DATAZONE_API GetUserProfileResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
3131

3232
///@{
33-
33+
/**
34+
* <p>The user profile details.</p>
35+
*/
3436
inline const UserProfileDetails& GetDetails() const { return m_details; }
3537
template <typename DetailsT = UserProfileDetails>
3638
void SetDetails(DetailsT&& value) {

generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/IamUserProfileDetails.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ namespace DataZone {
2020
namespace Model {
2121

2222
/**
23-
* <p>The details of an IAM user profile in Amazon DataZone.</p><p><h3>See
24-
* Also:</h3> <a
23+
* <p/><p><h3>See Also:</h3> <a
2524
* href="http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/IamUserProfileDetails">AWS
2625
* API Reference</a></p>
2726
*/
@@ -34,7 +33,7 @@ class IamUserProfileDetails {
3433

3534
///@{
3635
/**
37-
* <p>The ARN of an IAM user profile in Amazon DataZone.</p>
36+
* <p>The ARN of the IAM user.</p>
3837
*/
3938
inline const Aws::String& GetArn() const { return m_arn; }
4039
inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
@@ -52,7 +51,7 @@ class IamUserProfileDetails {
5251

5352
///@{
5453
/**
55-
* <p>Principal ID of the IAM user.</p>
54+
* <p>The principal ID as part of the IAM user profile details.</p>
5655
*/
5756
inline const Aws::String& GetPrincipalId() const { return m_principalId; }
5857
inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; }

0 commit comments

Comments
 (0)