aws-sdk-finspacedata 1.14.0 → 1.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-finspacedata/client.rb +266 -4
- data/lib/aws-sdk-finspacedata/client_api.rb +184 -0
- data/lib/aws-sdk-finspacedata/types.rb +471 -9
- data/lib/aws-sdk-finspacedata.rb +2 -2
- metadata +2 -2
@@ -23,6 +23,82 @@ module Aws::FinSpaceData
|
|
23
23
|
include Aws::Structure
|
24
24
|
end
|
25
25
|
|
26
|
+
# @note When making an API call, you may pass AssociateUserToPermissionGroupRequest
|
27
|
+
# data as a hash:
|
28
|
+
#
|
29
|
+
# {
|
30
|
+
# permission_group_id: "PermissionGroupId", # required
|
31
|
+
# user_id: "UserId", # required
|
32
|
+
# client_token: "ClientToken",
|
33
|
+
# }
|
34
|
+
#
|
35
|
+
# @!attribute [rw] permission_group_id
|
36
|
+
# The unique identifier for the permission group.
|
37
|
+
# @return [String]
|
38
|
+
#
|
39
|
+
# @!attribute [rw] user_id
|
40
|
+
# The unique identifier for the user.
|
41
|
+
# @return [String]
|
42
|
+
#
|
43
|
+
# @!attribute [rw] client_token
|
44
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
45
|
+
#
|
46
|
+
# **A suitable default value is auto-generated.** You should normally
|
47
|
+
# not need to pass this option.
|
48
|
+
# @return [String]
|
49
|
+
#
|
50
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/AssociateUserToPermissionGroupRequest AWS API Documentation
|
51
|
+
#
|
52
|
+
class AssociateUserToPermissionGroupRequest < Struct.new(
|
53
|
+
:permission_group_id,
|
54
|
+
:user_id,
|
55
|
+
:client_token)
|
56
|
+
SENSITIVE = []
|
57
|
+
include Aws::Structure
|
58
|
+
end
|
59
|
+
|
60
|
+
# @!attribute [rw] status_code
|
61
|
+
# The returned status code of the response.
|
62
|
+
# @return [Integer]
|
63
|
+
#
|
64
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/AssociateUserToPermissionGroupResponse AWS API Documentation
|
65
|
+
#
|
66
|
+
class AssociateUserToPermissionGroupResponse < Struct.new(
|
67
|
+
:status_code)
|
68
|
+
SENSITIVE = []
|
69
|
+
include Aws::Structure
|
70
|
+
end
|
71
|
+
|
72
|
+
# The credentials required to access the external Dataview from the S3
|
73
|
+
# location.
|
74
|
+
#
|
75
|
+
# @!attribute [rw] access_key_id
|
76
|
+
# The unique identifier for the security credentials.
|
77
|
+
# @return [String]
|
78
|
+
#
|
79
|
+
# @!attribute [rw] secret_access_key
|
80
|
+
# The secret access key that can be used to sign requests.
|
81
|
+
# @return [String]
|
82
|
+
#
|
83
|
+
# @!attribute [rw] session_token
|
84
|
+
# The token that users must pass to use the credentials.
|
85
|
+
# @return [String]
|
86
|
+
#
|
87
|
+
# @!attribute [rw] expiration
|
88
|
+
# The Epoch time when the current credentials expire.
|
89
|
+
# @return [Integer]
|
90
|
+
#
|
91
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/AwsCredentials AWS API Documentation
|
92
|
+
#
|
93
|
+
class AwsCredentials < Struct.new(
|
94
|
+
:access_key_id,
|
95
|
+
:secret_access_key,
|
96
|
+
:session_token,
|
97
|
+
:expiration)
|
98
|
+
SENSITIVE = [:secret_access_key, :session_token]
|
99
|
+
include Aws::Structure
|
100
|
+
end
|
101
|
+
|
26
102
|
# The structure with error messages.
|
27
103
|
#
|
28
104
|
# @!attribute [rw] error_message
|
@@ -585,13 +661,20 @@ module Aws::FinSpaceData
|
|
585
661
|
# The option to indicate FinSpace application permissions that are
|
586
662
|
# granted to a specific group.
|
587
663
|
#
|
664
|
+
# When assigning application permissions, be aware that the permission
|
665
|
+
# `ManageUsersAndGroups` allows users to grant themselves or others
|
666
|
+
# access to any functionality in their FinSpace environment's
|
667
|
+
# application. It should only be granted to trusted users.
|
668
|
+
#
|
588
669
|
# * `CreateDataset` – Group members can create new datasets.
|
589
670
|
#
|
590
671
|
# * `ManageClusters` – Group members can manage Apache Spark clusters
|
591
672
|
# from FinSpace notebooks.
|
592
673
|
#
|
593
674
|
# * `ManageUsersAndGroups` – Group members can manage users and
|
594
|
-
# permission groups.
|
675
|
+
# permission groups. This is a privileged permission that allows
|
676
|
+
# users to grant themselves or others access to any functionality in
|
677
|
+
# the application. It should only be granted to trusted users.
|
595
678
|
#
|
596
679
|
# * `ManageAttributeSets` – Group members can manage attribute sets.
|
597
680
|
#
|
@@ -769,7 +852,7 @@ module Aws::FinSpaceData
|
|
769
852
|
# @return [String]
|
770
853
|
#
|
771
854
|
# @!attribute [rw] s3_destination_export_file_format
|
772
|
-
#
|
855
|
+
# Dataview export file format.
|
773
856
|
#
|
774
857
|
# * `PARQUET` – Parquet export file format.
|
775
858
|
#
|
@@ -1154,6 +1237,52 @@ module Aws::FinSpaceData
|
|
1154
1237
|
include Aws::Structure
|
1155
1238
|
end
|
1156
1239
|
|
1240
|
+
# @note When making an API call, you may pass DisassociateUserFromPermissionGroupRequest
|
1241
|
+
# data as a hash:
|
1242
|
+
#
|
1243
|
+
# {
|
1244
|
+
# permission_group_id: "PermissionGroupId", # required
|
1245
|
+
# user_id: "UserId", # required
|
1246
|
+
# client_token: "ClientToken",
|
1247
|
+
# }
|
1248
|
+
#
|
1249
|
+
# @!attribute [rw] permission_group_id
|
1250
|
+
# The unique identifier for the permission group.
|
1251
|
+
# @return [String]
|
1252
|
+
#
|
1253
|
+
# @!attribute [rw] user_id
|
1254
|
+
# The unique identifier for the user.
|
1255
|
+
# @return [String]
|
1256
|
+
#
|
1257
|
+
# @!attribute [rw] client_token
|
1258
|
+
# A token that ensures idempotency. This token expires in 10 minutes.
|
1259
|
+
#
|
1260
|
+
# **A suitable default value is auto-generated.** You should normally
|
1261
|
+
# not need to pass this option.
|
1262
|
+
# @return [String]
|
1263
|
+
#
|
1264
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/DisassociateUserFromPermissionGroupRequest AWS API Documentation
|
1265
|
+
#
|
1266
|
+
class DisassociateUserFromPermissionGroupRequest < Struct.new(
|
1267
|
+
:permission_group_id,
|
1268
|
+
:user_id,
|
1269
|
+
:client_token)
|
1270
|
+
SENSITIVE = []
|
1271
|
+
include Aws::Structure
|
1272
|
+
end
|
1273
|
+
|
1274
|
+
# @!attribute [rw] status_code
|
1275
|
+
# The returned status code of the response.
|
1276
|
+
# @return [Integer]
|
1277
|
+
#
|
1278
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/DisassociateUserFromPermissionGroupResponse AWS API Documentation
|
1279
|
+
#
|
1280
|
+
class DisassociateUserFromPermissionGroupResponse < Struct.new(
|
1281
|
+
:status_code)
|
1282
|
+
SENSITIVE = []
|
1283
|
+
include Aws::Structure
|
1284
|
+
end
|
1285
|
+
|
1157
1286
|
# @note When making an API call, you may pass EnableUserRequest
|
1158
1287
|
# data as a hash:
|
1159
1288
|
#
|
@@ -1533,6 +1662,80 @@ module Aws::FinSpaceData
|
|
1533
1662
|
include Aws::Structure
|
1534
1663
|
end
|
1535
1664
|
|
1665
|
+
# @note When making an API call, you may pass GetExternalDataViewAccessDetailsRequest
|
1666
|
+
# data as a hash:
|
1667
|
+
#
|
1668
|
+
# {
|
1669
|
+
# data_view_id: "DataViewId", # required
|
1670
|
+
# dataset_id: "DatasetId", # required
|
1671
|
+
# }
|
1672
|
+
#
|
1673
|
+
# @!attribute [rw] data_view_id
|
1674
|
+
# The unique identifier for the Dataview that you want to access.
|
1675
|
+
# @return [String]
|
1676
|
+
#
|
1677
|
+
# @!attribute [rw] dataset_id
|
1678
|
+
# The unique identifier for the Dataset.
|
1679
|
+
# @return [String]
|
1680
|
+
#
|
1681
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetExternalDataViewAccessDetailsRequest AWS API Documentation
|
1682
|
+
#
|
1683
|
+
class GetExternalDataViewAccessDetailsRequest < Struct.new(
|
1684
|
+
:data_view_id,
|
1685
|
+
:dataset_id)
|
1686
|
+
SENSITIVE = []
|
1687
|
+
include Aws::Structure
|
1688
|
+
end
|
1689
|
+
|
1690
|
+
# @!attribute [rw] credentials
|
1691
|
+
# The credentials required to access the external Dataview from the S3
|
1692
|
+
# location.
|
1693
|
+
# @return [Types::AwsCredentials]
|
1694
|
+
#
|
1695
|
+
# @!attribute [rw] s3_location
|
1696
|
+
# The location where the external Dataview is stored.
|
1697
|
+
# @return [Types::S3Location]
|
1698
|
+
#
|
1699
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetExternalDataViewAccessDetailsResponse AWS API Documentation
|
1700
|
+
#
|
1701
|
+
class GetExternalDataViewAccessDetailsResponse < Struct.new(
|
1702
|
+
:credentials,
|
1703
|
+
:s3_location)
|
1704
|
+
SENSITIVE = []
|
1705
|
+
include Aws::Structure
|
1706
|
+
end
|
1707
|
+
|
1708
|
+
# @note When making an API call, you may pass GetPermissionGroupRequest
|
1709
|
+
# data as a hash:
|
1710
|
+
#
|
1711
|
+
# {
|
1712
|
+
# permission_group_id: "PermissionGroupId", # required
|
1713
|
+
# }
|
1714
|
+
#
|
1715
|
+
# @!attribute [rw] permission_group_id
|
1716
|
+
# The unique identifier for the permission group.
|
1717
|
+
# @return [String]
|
1718
|
+
#
|
1719
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetPermissionGroupRequest AWS API Documentation
|
1720
|
+
#
|
1721
|
+
class GetPermissionGroupRequest < Struct.new(
|
1722
|
+
:permission_group_id)
|
1723
|
+
SENSITIVE = []
|
1724
|
+
include Aws::Structure
|
1725
|
+
end
|
1726
|
+
|
1727
|
+
# @!attribute [rw] permission_group
|
1728
|
+
# The structure for a permission group.
|
1729
|
+
# @return [Types::PermissionGroup]
|
1730
|
+
#
|
1731
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetPermissionGroupResponse AWS API Documentation
|
1732
|
+
#
|
1733
|
+
class GetPermissionGroupResponse < Struct.new(
|
1734
|
+
:permission_group)
|
1735
|
+
SENSITIVE = []
|
1736
|
+
include Aws::Structure
|
1737
|
+
end
|
1738
|
+
|
1536
1739
|
# Request for GetProgrammaticAccessCredentials operation
|
1537
1740
|
#
|
1538
1741
|
# @note When making an API call, you may pass GetProgrammaticAccessCredentialsRequest
|
@@ -1634,7 +1837,7 @@ module Aws::FinSpaceData
|
|
1634
1837
|
# ^
|
1635
1838
|
#
|
1636
1839
|
# * `APP_USER` – A user with specific permissions in FinSpace. The
|
1637
|
-
# users are assigned permissions by adding them to a
|
1840
|
+
# users are assigned permissions by adding them to a permission
|
1638
1841
|
# group.
|
1639
1842
|
#
|
1640
1843
|
# ^
|
@@ -1929,6 +2132,54 @@ module Aws::FinSpaceData
|
|
1929
2132
|
include Aws::Structure
|
1930
2133
|
end
|
1931
2134
|
|
2135
|
+
# @note When making an API call, you may pass ListPermissionGroupsByUserRequest
|
2136
|
+
# data as a hash:
|
2137
|
+
#
|
2138
|
+
# {
|
2139
|
+
# user_id: "UserId", # required
|
2140
|
+
# next_token: "PaginationToken",
|
2141
|
+
# max_results: 1, # required
|
2142
|
+
# }
|
2143
|
+
#
|
2144
|
+
# @!attribute [rw] user_id
|
2145
|
+
# The unique identifier for the user.
|
2146
|
+
# @return [String]
|
2147
|
+
#
|
2148
|
+
# @!attribute [rw] next_token
|
2149
|
+
# A token that indicates where a results page should begin.
|
2150
|
+
# @return [String]
|
2151
|
+
#
|
2152
|
+
# @!attribute [rw] max_results
|
2153
|
+
# The maximum number of results per page.
|
2154
|
+
# @return [Integer]
|
2155
|
+
#
|
2156
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ListPermissionGroupsByUserRequest AWS API Documentation
|
2157
|
+
#
|
2158
|
+
class ListPermissionGroupsByUserRequest < Struct.new(
|
2159
|
+
:user_id,
|
2160
|
+
:next_token,
|
2161
|
+
:max_results)
|
2162
|
+
SENSITIVE = []
|
2163
|
+
include Aws::Structure
|
2164
|
+
end
|
2165
|
+
|
2166
|
+
# @!attribute [rw] permission_groups
|
2167
|
+
# A list of returned permission groups.
|
2168
|
+
# @return [Array<Types::PermissionGroupByUser>]
|
2169
|
+
#
|
2170
|
+
# @!attribute [rw] next_token
|
2171
|
+
# A token that indicates where a results page should begin.
|
2172
|
+
# @return [String]
|
2173
|
+
#
|
2174
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ListPermissionGroupsByUserResponse AWS API Documentation
|
2175
|
+
#
|
2176
|
+
class ListPermissionGroupsByUserResponse < Struct.new(
|
2177
|
+
:permission_groups,
|
2178
|
+
:next_token)
|
2179
|
+
SENSITIVE = []
|
2180
|
+
include Aws::Structure
|
2181
|
+
end
|
2182
|
+
|
1932
2183
|
# @note When making an API call, you may pass ListPermissionGroupsRequest
|
1933
2184
|
# data as a hash:
|
1934
2185
|
#
|
@@ -1971,6 +2222,54 @@ module Aws::FinSpaceData
|
|
1971
2222
|
include Aws::Structure
|
1972
2223
|
end
|
1973
2224
|
|
2225
|
+
# @note When making an API call, you may pass ListUsersByPermissionGroupRequest
|
2226
|
+
# data as a hash:
|
2227
|
+
#
|
2228
|
+
# {
|
2229
|
+
# permission_group_id: "PermissionGroupId", # required
|
2230
|
+
# next_token: "PaginationToken",
|
2231
|
+
# max_results: 1, # required
|
2232
|
+
# }
|
2233
|
+
#
|
2234
|
+
# @!attribute [rw] permission_group_id
|
2235
|
+
# The unique identifier for the permission group.
|
2236
|
+
# @return [String]
|
2237
|
+
#
|
2238
|
+
# @!attribute [rw] next_token
|
2239
|
+
# A token that indicates where a results page should begin.
|
2240
|
+
# @return [String]
|
2241
|
+
#
|
2242
|
+
# @!attribute [rw] max_results
|
2243
|
+
# The maximum number of results per page.
|
2244
|
+
# @return [Integer]
|
2245
|
+
#
|
2246
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ListUsersByPermissionGroupRequest AWS API Documentation
|
2247
|
+
#
|
2248
|
+
class ListUsersByPermissionGroupRequest < Struct.new(
|
2249
|
+
:permission_group_id,
|
2250
|
+
:next_token,
|
2251
|
+
:max_results)
|
2252
|
+
SENSITIVE = []
|
2253
|
+
include Aws::Structure
|
2254
|
+
end
|
2255
|
+
|
2256
|
+
# @!attribute [rw] users
|
2257
|
+
# Lists details of all users in a specific permission group.
|
2258
|
+
# @return [Array<Types::UserByPermissionGroup>]
|
2259
|
+
#
|
2260
|
+
# @!attribute [rw] next_token
|
2261
|
+
# A token that indicates where a results page should begin.
|
2262
|
+
# @return [String]
|
2263
|
+
#
|
2264
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ListUsersByPermissionGroupResponse AWS API Documentation
|
2265
|
+
#
|
2266
|
+
class ListUsersByPermissionGroupResponse < Struct.new(
|
2267
|
+
:users,
|
2268
|
+
:next_token)
|
2269
|
+
SENSITIVE = []
|
2270
|
+
include Aws::Structure
|
2271
|
+
end
|
2272
|
+
|
1974
2273
|
# @note When making an API call, you may pass ListUsersRequest
|
1975
2274
|
# data as a hash:
|
1976
2275
|
#
|
@@ -2031,13 +2330,20 @@ module Aws::FinSpaceData
|
|
2031
2330
|
# Indicates the permissions that are granted to a specific group for
|
2032
2331
|
# accessing the FinSpace application.
|
2033
2332
|
#
|
2333
|
+
# When assigning application permissions, be aware that the permission
|
2334
|
+
# `ManageUsersAndGroups` allows users to grant themselves or others
|
2335
|
+
# access to any functionality in their FinSpace environment's
|
2336
|
+
# application. It should only be granted to trusted users.
|
2337
|
+
#
|
2034
2338
|
# * `CreateDataset` – Group members can create new datasets.
|
2035
2339
|
#
|
2036
2340
|
# * `ManageClusters` – Group members can manage Apache Spark clusters
|
2037
2341
|
# from FinSpace notebooks.
|
2038
2342
|
#
|
2039
2343
|
# * `ManageUsersAndGroups` – Group members can manage users and
|
2040
|
-
# permission groups.
|
2344
|
+
# permission groups. This is a privileged permission that allows
|
2345
|
+
# users to grant themselves or others access to any functionality in
|
2346
|
+
# the application. It should only be granted to trusted users.
|
2041
2347
|
#
|
2042
2348
|
# * `ManageAttributeSets` – Group members can manage attribute sets.
|
2043
2349
|
#
|
@@ -2060,6 +2366,19 @@ module Aws::FinSpaceData
|
|
2060
2366
|
# is determined as epoch time in milliseconds.
|
2061
2367
|
# @return [Integer]
|
2062
2368
|
#
|
2369
|
+
# @!attribute [rw] membership_status
|
2370
|
+
# Indicates the status of the user account within a permission group.
|
2371
|
+
#
|
2372
|
+
# * `ADDITION_IN_PROGRESS` – The user account is currently being added
|
2373
|
+
# to the permission group.
|
2374
|
+
#
|
2375
|
+
# * `ADDITION_SUCCESS` – The user account is successfully added to the
|
2376
|
+
# permission group.
|
2377
|
+
#
|
2378
|
+
# * `REMOVAL_IN_PROGRESS` – The user is currently being removed from
|
2379
|
+
# the permission group.
|
2380
|
+
# @return [String]
|
2381
|
+
#
|
2063
2382
|
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/PermissionGroup AWS API Documentation
|
2064
2383
|
#
|
2065
2384
|
class PermissionGroup < Struct.new(
|
@@ -2068,11 +2387,45 @@ module Aws::FinSpaceData
|
|
2068
2387
|
:description,
|
2069
2388
|
:application_permissions,
|
2070
2389
|
:create_time,
|
2071
|
-
:last_modified_time
|
2390
|
+
:last_modified_time,
|
2391
|
+
:membership_status)
|
2072
2392
|
SENSITIVE = [:name, :description]
|
2073
2393
|
include Aws::Structure
|
2074
2394
|
end
|
2075
2395
|
|
2396
|
+
# The structure of a permission group associated with a user account.
|
2397
|
+
#
|
2398
|
+
# @!attribute [rw] permission_group_id
|
2399
|
+
# The unique identifier for the permission group.
|
2400
|
+
# @return [String]
|
2401
|
+
#
|
2402
|
+
# @!attribute [rw] name
|
2403
|
+
# The name of the permission group.
|
2404
|
+
# @return [String]
|
2405
|
+
#
|
2406
|
+
# @!attribute [rw] membership_status
|
2407
|
+
# Indicates the status of the user account within a permission group.
|
2408
|
+
#
|
2409
|
+
# * `ADDITION_IN_PROGRESS` – The user account is currently being added
|
2410
|
+
# to the permission group.
|
2411
|
+
#
|
2412
|
+
# * `ADDITION_SUCCESS` – The user account is successfully added to the
|
2413
|
+
# permission group.
|
2414
|
+
#
|
2415
|
+
# * `REMOVAL_IN_PROGRESS` – The user is currently being removed from
|
2416
|
+
# the permission group.
|
2417
|
+
# @return [String]
|
2418
|
+
#
|
2419
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/PermissionGroupByUser AWS API Documentation
|
2420
|
+
#
|
2421
|
+
class PermissionGroupByUser < Struct.new(
|
2422
|
+
:permission_group_id,
|
2423
|
+
:name,
|
2424
|
+
:membership_status)
|
2425
|
+
SENSITIVE = [:name]
|
2426
|
+
include Aws::Structure
|
2427
|
+
end
|
2428
|
+
|
2076
2429
|
# Permission group parameters for Dataset permissions.
|
2077
2430
|
#
|
2078
2431
|
# Here is an example of how you could specify the
|
@@ -2191,7 +2544,7 @@ module Aws::FinSpaceData
|
|
2191
2544
|
#
|
2192
2545
|
# * `AddDatasetData`
|
2193
2546
|
#
|
2194
|
-
# * `
|
2547
|
+
# * `CreateDataView`
|
2195
2548
|
#
|
2196
2549
|
# * `EditDatasetMetadata`
|
2197
2550
|
#
|
@@ -2223,6 +2576,26 @@ module Aws::FinSpaceData
|
|
2223
2576
|
include Aws::Structure
|
2224
2577
|
end
|
2225
2578
|
|
2579
|
+
# The location of an external Dataview in an S3 bucket.
|
2580
|
+
#
|
2581
|
+
# @!attribute [rw] bucket
|
2582
|
+
# The name of the S3 bucket.
|
2583
|
+
# @return [String]
|
2584
|
+
#
|
2585
|
+
# @!attribute [rw] key
|
2586
|
+
# The path of the folder, within the S3 bucket that contains the
|
2587
|
+
# Dataset.
|
2588
|
+
# @return [String]
|
2589
|
+
#
|
2590
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/S3Location AWS API Documentation
|
2591
|
+
#
|
2592
|
+
class S3Location < Struct.new(
|
2593
|
+
:bucket,
|
2594
|
+
:key)
|
2595
|
+
SENSITIVE = []
|
2596
|
+
include Aws::Structure
|
2597
|
+
end
|
2598
|
+
|
2226
2599
|
# Definition for a schema on a tabular Dataset.
|
2227
2600
|
#
|
2228
2601
|
# @note When making an API call, you may pass SchemaDefinition
|
@@ -2530,13 +2903,20 @@ module Aws::FinSpaceData
|
|
2530
2903
|
# The permissions that are granted to a specific group for accessing
|
2531
2904
|
# the FinSpace application.
|
2532
2905
|
#
|
2906
|
+
# When assigning application permissions, be aware that the permission
|
2907
|
+
# `ManageUsersAndGroups` allows users to grant themselves or others
|
2908
|
+
# access to any functionality in their FinSpace environment's
|
2909
|
+
# application. It should only be granted to trusted users.
|
2910
|
+
#
|
2533
2911
|
# * `CreateDataset` – Group members can create new datasets.
|
2534
2912
|
#
|
2535
2913
|
# * `ManageClusters` – Group members can manage Apache Spark clusters
|
2536
2914
|
# from FinSpace notebooks.
|
2537
2915
|
#
|
2538
2916
|
# * `ManageUsersAndGroups` – Group members can manage users and
|
2539
|
-
# permission groups.
|
2917
|
+
# permission groups. This is a privileged permission that allows
|
2918
|
+
# users to grant themselves or others access to any functionality in
|
2919
|
+
# the application. It should only be granted to trusted users.
|
2540
2920
|
#
|
2541
2921
|
# * `ManageAttributeSets` – Group members can manage attribute sets.
|
2542
2922
|
#
|
@@ -2604,7 +2984,7 @@ module Aws::FinSpaceData
|
|
2604
2984
|
# data in FinSpace.
|
2605
2985
|
#
|
2606
2986
|
# * `APP_USER` – A user with specific permissions in FinSpace. The
|
2607
|
-
# users are assigned permissions by adding them to a
|
2987
|
+
# users are assigned permissions by adding them to a permission
|
2608
2988
|
# group.
|
2609
2989
|
# @return [String]
|
2610
2990
|
#
|
@@ -2702,7 +3082,7 @@ module Aws::FinSpaceData
|
|
2702
3082
|
# data in FinSpace.
|
2703
3083
|
#
|
2704
3084
|
# * `APP_USER` – A user with specific permissions in FinSpace. The
|
2705
|
-
# users are assigned permissions by adding them to a
|
3085
|
+
# users are assigned permissions by adding them to a permission
|
2706
3086
|
# group.
|
2707
3087
|
# @return [String]
|
2708
3088
|
#
|
@@ -2768,6 +3148,88 @@ module Aws::FinSpaceData
|
|
2768
3148
|
include Aws::Structure
|
2769
3149
|
end
|
2770
3150
|
|
3151
|
+
# The structure of a user account associated with a permission group.
|
3152
|
+
#
|
3153
|
+
# @!attribute [rw] user_id
|
3154
|
+
# The unique identifier for the user.
|
3155
|
+
# @return [String]
|
3156
|
+
#
|
3157
|
+
# @!attribute [rw] status
|
3158
|
+
# The current status of the user account.
|
3159
|
+
#
|
3160
|
+
# * `CREATING` – The user account creation is in progress.
|
3161
|
+
#
|
3162
|
+
# * `ENABLED` – The user account is created and is currently active.
|
3163
|
+
#
|
3164
|
+
# * `DISABLED` – The user account is currently inactive.
|
3165
|
+
# @return [String]
|
3166
|
+
#
|
3167
|
+
# @!attribute [rw] first_name
|
3168
|
+
# The first name of the user.
|
3169
|
+
# @return [String]
|
3170
|
+
#
|
3171
|
+
# @!attribute [rw] last_name
|
3172
|
+
# The last name of the user.
|
3173
|
+
# @return [String]
|
3174
|
+
#
|
3175
|
+
# @!attribute [rw] email_address
|
3176
|
+
# The email address of the user. The email address serves as a unique
|
3177
|
+
# identifier for each user and cannot be changed after it's created.
|
3178
|
+
# @return [String]
|
3179
|
+
#
|
3180
|
+
# @!attribute [rw] type
|
3181
|
+
# Indicates the type of user.
|
3182
|
+
#
|
3183
|
+
# * `SUPER_USER` – A user with permission to all the functionality and
|
3184
|
+
# data in FinSpace.
|
3185
|
+
#
|
3186
|
+
# * `APP_USER` – A user with specific permissions in FinSpace. The
|
3187
|
+
# users are assigned permissions by adding them to a permission
|
3188
|
+
# group.
|
3189
|
+
# @return [String]
|
3190
|
+
#
|
3191
|
+
# @!attribute [rw] api_access
|
3192
|
+
# Indicates whether the user can access FinSpace API operations.
|
3193
|
+
#
|
3194
|
+
# * `ENABLED` – The user has permissions to use the API operations.
|
3195
|
+
#
|
3196
|
+
# * `DISABLED` – The user does not have permissions to use any API
|
3197
|
+
# operations.
|
3198
|
+
# @return [String]
|
3199
|
+
#
|
3200
|
+
# @!attribute [rw] api_access_principal_arn
|
3201
|
+
# The IAM ARN identifier that is attached to FinSpace API calls.
|
3202
|
+
# @return [String]
|
3203
|
+
#
|
3204
|
+
# @!attribute [rw] membership_status
|
3205
|
+
# Indicates the status of the user account within a permission group.
|
3206
|
+
#
|
3207
|
+
# * `ADDITION_IN_PROGRESS` – The user account is currently being added
|
3208
|
+
# to the permission group.
|
3209
|
+
#
|
3210
|
+
# * `ADDITION_SUCCESS` – The user account is successfully added to the
|
3211
|
+
# permission group.
|
3212
|
+
#
|
3213
|
+
# * `REMOVAL_IN_PROGRESS` – The user is currently being removed from
|
3214
|
+
# the permission group.
|
3215
|
+
# @return [String]
|
3216
|
+
#
|
3217
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/UserByPermissionGroup AWS API Documentation
|
3218
|
+
#
|
3219
|
+
class UserByPermissionGroup < Struct.new(
|
3220
|
+
:user_id,
|
3221
|
+
:status,
|
3222
|
+
:first_name,
|
3223
|
+
:last_name,
|
3224
|
+
:email_address,
|
3225
|
+
:type,
|
3226
|
+
:api_access,
|
3227
|
+
:api_access_principal_arn,
|
3228
|
+
:membership_status)
|
3229
|
+
SENSITIVE = [:first_name, :last_name, :email_address]
|
3230
|
+
include Aws::Structure
|
3231
|
+
end
|
3232
|
+
|
2771
3233
|
# The input fails to satisfy the constraints specified by an AWS
|
2772
3234
|
# service.
|
2773
3235
|
#
|
data/lib/aws-sdk-finspacedata.rb
CHANGED
@@ -28,7 +28,7 @@ require_relative 'aws-sdk-finspacedata/customizations'
|
|
28
28
|
# structure.
|
29
29
|
#
|
30
30
|
# fin_space_data = Aws::FinSpaceData::Client.new
|
31
|
-
# resp = fin_space_data.
|
31
|
+
# resp = fin_space_data.associate_user_to_permission_group(params)
|
32
32
|
#
|
33
33
|
# See {Client} for more information.
|
34
34
|
#
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-finspacedata/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::FinSpaceData
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.17.0'
|
52
52
|
|
53
53
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-finspacedata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|