aws-sdk-finspacedata 1.13.0 → 1.14.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.
@@ -15,6 +15,9 @@ module Aws::FinSpaceData
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
17
  AliasString = Shapes::StringShape.new(name: 'AliasString')
18
+ ApiAccess = Shapes::StringShape.new(name: 'ApiAccess')
19
+ ApplicationPermission = Shapes::StringShape.new(name: 'ApplicationPermission')
20
+ ApplicationPermissionList = Shapes::ListShape.new(name: 'ApplicationPermissionList')
18
21
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
19
22
  ChangeType = Shapes::StringShape.new(name: 'ChangeType')
20
23
  ChangesetArn = Shapes::StringShape.new(name: 'ChangesetArn')
@@ -36,6 +39,10 @@ module Aws::FinSpaceData
36
39
  CreateDataViewResponse = Shapes::StructureShape.new(name: 'CreateDataViewResponse')
37
40
  CreateDatasetRequest = Shapes::StructureShape.new(name: 'CreateDatasetRequest')
38
41
  CreateDatasetResponse = Shapes::StructureShape.new(name: 'CreateDatasetResponse')
42
+ CreatePermissionGroupRequest = Shapes::StructureShape.new(name: 'CreatePermissionGroupRequest')
43
+ CreatePermissionGroupResponse = Shapes::StructureShape.new(name: 'CreatePermissionGroupResponse')
44
+ CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest')
45
+ CreateUserResponse = Shapes::StructureShape.new(name: 'CreateUserResponse')
39
46
  Credentials = Shapes::StructureShape.new(name: 'Credentials')
40
47
  DataViewArn = Shapes::StringShape.new(name: 'DataViewArn')
41
48
  DataViewDestinationType = Shapes::StringShape.new(name: 'DataViewDestinationType')
@@ -56,10 +63,17 @@ module Aws::FinSpaceData
56
63
  DatasetTitle = Shapes::StringShape.new(name: 'DatasetTitle')
57
64
  DeleteDatasetRequest = Shapes::StructureShape.new(name: 'DeleteDatasetRequest')
58
65
  DeleteDatasetResponse = Shapes::StructureShape.new(name: 'DeleteDatasetResponse')
66
+ DeletePermissionGroupRequest = Shapes::StructureShape.new(name: 'DeletePermissionGroupRequest')
67
+ DeletePermissionGroupResponse = Shapes::StructureShape.new(name: 'DeletePermissionGroupResponse')
68
+ DisableUserRequest = Shapes::StructureShape.new(name: 'DisableUserRequest')
69
+ DisableUserResponse = Shapes::StructureShape.new(name: 'DisableUserResponse')
59
70
  Email = Shapes::StringShape.new(name: 'Email')
71
+ EnableUserRequest = Shapes::StructureShape.new(name: 'EnableUserRequest')
72
+ EnableUserResponse = Shapes::StructureShape.new(name: 'EnableUserResponse')
60
73
  ErrorCategory = Shapes::StringShape.new(name: 'ErrorCategory')
61
74
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
62
75
  ExportFileFormat = Shapes::StringShape.new(name: 'ExportFileFormat')
76
+ FirstName = Shapes::StringShape.new(name: 'FirstName')
63
77
  FormatParams = Shapes::MapShape.new(name: 'FormatParams')
64
78
  GetChangesetRequest = Shapes::StructureShape.new(name: 'GetChangesetRequest')
65
79
  GetChangesetResponse = Shapes::StructureShape.new(name: 'GetChangesetResponse')
@@ -69,11 +83,14 @@ module Aws::FinSpaceData
69
83
  GetDatasetResponse = Shapes::StructureShape.new(name: 'GetDatasetResponse')
70
84
  GetProgrammaticAccessCredentialsRequest = Shapes::StructureShape.new(name: 'GetProgrammaticAccessCredentialsRequest')
71
85
  GetProgrammaticAccessCredentialsResponse = Shapes::StructureShape.new(name: 'GetProgrammaticAccessCredentialsResponse')
86
+ GetUserRequest = Shapes::StructureShape.new(name: 'GetUserRequest')
87
+ GetUserResponse = Shapes::StructureShape.new(name: 'GetUserResponse')
72
88
  GetWorkingLocationRequest = Shapes::StructureShape.new(name: 'GetWorkingLocationRequest')
73
89
  GetWorkingLocationResponse = Shapes::StructureShape.new(name: 'GetWorkingLocationResponse')
74
90
  IdType = Shapes::StringShape.new(name: 'IdType')
75
91
  IngestionStatus = Shapes::StringShape.new(name: 'IngestionStatus')
76
92
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
93
+ LastName = Shapes::StringShape.new(name: 'LastName')
77
94
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
78
95
  ListChangesetsRequest = Shapes::StructureShape.new(name: 'ListChangesetsRequest')
79
96
  ListChangesetsResponse = Shapes::StructureShape.new(name: 'ListChangesetsResponse')
@@ -81,16 +98,28 @@ module Aws::FinSpaceData
81
98
  ListDataViewsResponse = Shapes::StructureShape.new(name: 'ListDataViewsResponse')
82
99
  ListDatasetsRequest = Shapes::StructureShape.new(name: 'ListDatasetsRequest')
83
100
  ListDatasetsResponse = Shapes::StructureShape.new(name: 'ListDatasetsResponse')
101
+ ListPermissionGroupsRequest = Shapes::StructureShape.new(name: 'ListPermissionGroupsRequest')
102
+ ListPermissionGroupsResponse = Shapes::StructureShape.new(name: 'ListPermissionGroupsResponse')
103
+ ListUsersRequest = Shapes::StructureShape.new(name: 'ListUsersRequest')
104
+ ListUsersResponse = Shapes::StructureShape.new(name: 'ListUsersResponse')
84
105
  OwnerName = Shapes::StringShape.new(name: 'OwnerName')
85
106
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
86
107
  PartitionColumnList = Shapes::ListShape.new(name: 'PartitionColumnList')
108
+ Password = Shapes::StringShape.new(name: 'Password')
109
+ PermissionGroup = Shapes::StructureShape.new(name: 'PermissionGroup')
110
+ PermissionGroupDescription = Shapes::StringShape.new(name: 'PermissionGroupDescription')
87
111
  PermissionGroupId = Shapes::StringShape.new(name: 'PermissionGroupId')
112
+ PermissionGroupList = Shapes::ListShape.new(name: 'PermissionGroupList')
113
+ PermissionGroupName = Shapes::StringShape.new(name: 'PermissionGroupName')
88
114
  PermissionGroupParams = Shapes::StructureShape.new(name: 'PermissionGroupParams')
89
115
  PhoneNumber = Shapes::StringShape.new(name: 'PhoneNumber')
116
+ ResetUserPasswordRequest = Shapes::StructureShape.new(name: 'ResetUserPasswordRequest')
117
+ ResetUserPasswordResponse = Shapes::StructureShape.new(name: 'ResetUserPasswordResponse')
90
118
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
91
119
  ResourcePermission = Shapes::StructureShape.new(name: 'ResourcePermission')
92
120
  ResourcePermissionsList = Shapes::ListShape.new(name: 'ResourcePermissionsList')
93
121
  ResultLimit = Shapes::IntegerShape.new(name: 'ResultLimit')
122
+ RoleArn = Shapes::StringShape.new(name: 'RoleArn')
94
123
  S3DestinationFormatOptions = Shapes::MapShape.new(name: 'S3DestinationFormatOptions')
95
124
  SchemaDefinition = Shapes::StructureShape.new(name: 'SchemaDefinition')
96
125
  SchemaUnion = Shapes::StructureShape.new(name: 'SchemaUnion')
@@ -107,6 +136,15 @@ module Aws::FinSpaceData
107
136
  UpdateChangesetResponse = Shapes::StructureShape.new(name: 'UpdateChangesetResponse')
108
137
  UpdateDatasetRequest = Shapes::StructureShape.new(name: 'UpdateDatasetRequest')
109
138
  UpdateDatasetResponse = Shapes::StructureShape.new(name: 'UpdateDatasetResponse')
139
+ UpdatePermissionGroupRequest = Shapes::StructureShape.new(name: 'UpdatePermissionGroupRequest')
140
+ UpdatePermissionGroupResponse = Shapes::StructureShape.new(name: 'UpdatePermissionGroupResponse')
141
+ UpdateUserRequest = Shapes::StructureShape.new(name: 'UpdateUserRequest')
142
+ UpdateUserResponse = Shapes::StructureShape.new(name: 'UpdateUserResponse')
143
+ User = Shapes::StructureShape.new(name: 'User')
144
+ UserId = Shapes::StringShape.new(name: 'UserId')
145
+ UserList = Shapes::ListShape.new(name: 'UserList')
146
+ UserStatus = Shapes::StringShape.new(name: 'UserStatus')
147
+ UserType = Shapes::StringShape.new(name: 'UserType')
110
148
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
111
149
  errorMessage = Shapes::StringShape.new(name: 'errorMessage')
112
150
  locationType = Shapes::StringShape.new(name: 'locationType')
@@ -118,6 +156,8 @@ module Aws::FinSpaceData
118
156
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
119
157
  AccessDeniedException.struct_class = Types::AccessDeniedException
120
158
 
159
+ ApplicationPermissionList.member = Shapes::ShapeRef.new(shape: ApplicationPermission)
160
+
121
161
  ChangesetErrorInfo.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "errorMessage"))
122
162
  ChangesetErrorInfo.add_member(:error_category, Shapes::ShapeRef.new(shape: ErrorCategory, location_name: "errorCategory"))
123
163
  ChangesetErrorInfo.struct_class = Types::ChangesetErrorInfo
@@ -149,6 +189,7 @@ module Aws::FinSpaceData
149
189
  ColumnNameList.member = Shapes::ShapeRef.new(shape: ColumnName)
150
190
 
151
191
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
192
+ ConflictException.add_member(:reason, Shapes::ShapeRef.new(shape: errorMessage, location_name: "reason"))
152
193
  ConflictException.struct_class = Types::ConflictException
153
194
 
154
195
  CreateChangesetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
@@ -188,6 +229,27 @@ module Aws::FinSpaceData
188
229
  CreateDatasetResponse.add_member(:dataset_id, Shapes::ShapeRef.new(shape: DatasetId, location_name: "datasetId"))
189
230
  CreateDatasetResponse.struct_class = Types::CreateDatasetResponse
190
231
 
232
+ CreatePermissionGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: PermissionGroupName, required: true, location_name: "name"))
233
+ CreatePermissionGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: PermissionGroupDescription, location_name: "description"))
234
+ CreatePermissionGroupRequest.add_member(:application_permissions, Shapes::ShapeRef.new(shape: ApplicationPermissionList, required: true, location_name: "applicationPermissions"))
235
+ CreatePermissionGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
236
+ CreatePermissionGroupRequest.struct_class = Types::CreatePermissionGroupRequest
237
+
238
+ CreatePermissionGroupResponse.add_member(:permission_group_id, Shapes::ShapeRef.new(shape: PermissionGroupId, location_name: "permissionGroupId"))
239
+ CreatePermissionGroupResponse.struct_class = Types::CreatePermissionGroupResponse
240
+
241
+ CreateUserRequest.add_member(:email_address, Shapes::ShapeRef.new(shape: Email, required: true, location_name: "emailAddress"))
242
+ CreateUserRequest.add_member(:type, Shapes::ShapeRef.new(shape: UserType, required: true, location_name: "type"))
243
+ CreateUserRequest.add_member(:first_name, Shapes::ShapeRef.new(shape: FirstName, location_name: "firstName"))
244
+ CreateUserRequest.add_member(:last_name, Shapes::ShapeRef.new(shape: LastName, location_name: "lastName"))
245
+ CreateUserRequest.add_member(:api_access, Shapes::ShapeRef.new(shape: ApiAccess, location_name: "ApiAccess"))
246
+ CreateUserRequest.add_member(:api_access_principal_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "apiAccessPrincipalArn"))
247
+ CreateUserRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
248
+ CreateUserRequest.struct_class = Types::CreateUserRequest
249
+
250
+ CreateUserResponse.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location_name: "userId"))
251
+ CreateUserResponse.struct_class = Types::CreateUserResponse
252
+
191
253
  Credentials.add_member(:access_key_id, Shapes::ShapeRef.new(shape: stringValueLength1to255, location_name: "accessKeyId"))
192
254
  Credentials.add_member(:secret_access_key, Shapes::ShapeRef.new(shape: stringValueMaxLength1000, location_name: "secretAccessKey"))
193
255
  Credentials.add_member(:session_token, Shapes::ShapeRef.new(shape: stringValueMaxLength1000, location_name: "sessionToken"))
@@ -244,6 +306,27 @@ module Aws::FinSpaceData
244
306
  DeleteDatasetResponse.add_member(:dataset_id, Shapes::ShapeRef.new(shape: DatasetId, location_name: "datasetId"))
245
307
  DeleteDatasetResponse.struct_class = Types::DeleteDatasetResponse
246
308
 
309
+ DeletePermissionGroupRequest.add_member(:permission_group_id, Shapes::ShapeRef.new(shape: PermissionGroupId, required: true, location: "uri", location_name: "permissionGroupId"))
310
+ DeletePermissionGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
311
+ DeletePermissionGroupRequest.struct_class = Types::DeletePermissionGroupRequest
312
+
313
+ DeletePermissionGroupResponse.add_member(:permission_group_id, Shapes::ShapeRef.new(shape: PermissionGroupId, location_name: "permissionGroupId"))
314
+ DeletePermissionGroupResponse.struct_class = Types::DeletePermissionGroupResponse
315
+
316
+ DisableUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "userId"))
317
+ DisableUserRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
318
+ DisableUserRequest.struct_class = Types::DisableUserRequest
319
+
320
+ DisableUserResponse.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location_name: "userId"))
321
+ DisableUserResponse.struct_class = Types::DisableUserResponse
322
+
323
+ EnableUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "userId"))
324
+ EnableUserRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
325
+ EnableUserRequest.struct_class = Types::EnableUserRequest
326
+
327
+ EnableUserResponse.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location_name: "userId"))
328
+ EnableUserResponse.struct_class = Types::EnableUserResponse
329
+
247
330
  FormatParams.key = Shapes::ShapeRef.new(shape: StringMapKey)
248
331
  FormatParams.value = Shapes::ShapeRef.new(shape: StringMapValue)
249
332
 
@@ -307,6 +390,24 @@ module Aws::FinSpaceData
307
390
  GetProgrammaticAccessCredentialsResponse.add_member(:duration_in_minutes, Shapes::ShapeRef.new(shape: SessionDuration, location_name: "durationInMinutes"))
308
391
  GetProgrammaticAccessCredentialsResponse.struct_class = Types::GetProgrammaticAccessCredentialsResponse
309
392
 
393
+ GetUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "userId"))
394
+ GetUserRequest.struct_class = Types::GetUserRequest
395
+
396
+ GetUserResponse.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location_name: "userId"))
397
+ GetUserResponse.add_member(:status, Shapes::ShapeRef.new(shape: UserStatus, location_name: "status"))
398
+ GetUserResponse.add_member(:first_name, Shapes::ShapeRef.new(shape: FirstName, location_name: "firstName"))
399
+ GetUserResponse.add_member(:last_name, Shapes::ShapeRef.new(shape: LastName, location_name: "lastName"))
400
+ GetUserResponse.add_member(:email_address, Shapes::ShapeRef.new(shape: Email, location_name: "emailAddress"))
401
+ GetUserResponse.add_member(:type, Shapes::ShapeRef.new(shape: UserType, location_name: "type"))
402
+ GetUserResponse.add_member(:api_access, Shapes::ShapeRef.new(shape: ApiAccess, location_name: "apiAccess"))
403
+ GetUserResponse.add_member(:api_access_principal_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "apiAccessPrincipalArn"))
404
+ GetUserResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: TimestampEpoch, location_name: "createTime"))
405
+ GetUserResponse.add_member(:last_enabled_time, Shapes::ShapeRef.new(shape: TimestampEpoch, location_name: "lastEnabledTime"))
406
+ GetUserResponse.add_member(:last_disabled_time, Shapes::ShapeRef.new(shape: TimestampEpoch, location_name: "lastDisabledTime"))
407
+ GetUserResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: TimestampEpoch, location_name: "lastModifiedTime"))
408
+ GetUserResponse.add_member(:last_login_time, Shapes::ShapeRef.new(shape: TimestampEpoch, location_name: "lastLoginTime"))
409
+ GetUserResponse.struct_class = Types::GetUserResponse
410
+
310
411
  GetWorkingLocationRequest.add_member(:location_type, Shapes::ShapeRef.new(shape: locationType, location_name: "locationType"))
311
412
  GetWorkingLocationRequest.struct_class = Types::GetWorkingLocationRequest
312
413
 
@@ -347,13 +448,48 @@ module Aws::FinSpaceData
347
448
  ListDatasetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
348
449
  ListDatasetsResponse.struct_class = Types::ListDatasetsResponse
349
450
 
451
+ ListPermissionGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
452
+ ListPermissionGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ResultLimit, required: true, location: "querystring", location_name: "maxResults"))
453
+ ListPermissionGroupsRequest.struct_class = Types::ListPermissionGroupsRequest
454
+
455
+ ListPermissionGroupsResponse.add_member(:permission_groups, Shapes::ShapeRef.new(shape: PermissionGroupList, location_name: "permissionGroups"))
456
+ ListPermissionGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
457
+ ListPermissionGroupsResponse.struct_class = Types::ListPermissionGroupsResponse
458
+
459
+ ListUsersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
460
+ ListUsersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ResultLimit, required: true, location: "querystring", location_name: "maxResults"))
461
+ ListUsersRequest.struct_class = Types::ListUsersRequest
462
+
463
+ ListUsersResponse.add_member(:users, Shapes::ShapeRef.new(shape: UserList, location_name: "users"))
464
+ ListUsersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
465
+ ListUsersResponse.struct_class = Types::ListUsersResponse
466
+
350
467
  PartitionColumnList.member = Shapes::ShapeRef.new(shape: StringValueLength1to255)
351
468
 
469
+ PermissionGroup.add_member(:permission_group_id, Shapes::ShapeRef.new(shape: PermissionGroupId, location_name: "permissionGroupId"))
470
+ PermissionGroup.add_member(:name, Shapes::ShapeRef.new(shape: PermissionGroupName, location_name: "name"))
471
+ PermissionGroup.add_member(:description, Shapes::ShapeRef.new(shape: PermissionGroupDescription, location_name: "description"))
472
+ PermissionGroup.add_member(:application_permissions, Shapes::ShapeRef.new(shape: ApplicationPermissionList, location_name: "applicationPermissions"))
473
+ PermissionGroup.add_member(:create_time, Shapes::ShapeRef.new(shape: TimestampEpoch, location_name: "createTime"))
474
+ PermissionGroup.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: TimestampEpoch, location_name: "lastModifiedTime"))
475
+ PermissionGroup.struct_class = Types::PermissionGroup
476
+
477
+ PermissionGroupList.member = Shapes::ShapeRef.new(shape: PermissionGroup)
478
+
352
479
  PermissionGroupParams.add_member(:permission_group_id, Shapes::ShapeRef.new(shape: PermissionGroupId, location_name: "permissionGroupId"))
353
480
  PermissionGroupParams.add_member(:dataset_permissions, Shapes::ShapeRef.new(shape: ResourcePermissionsList, location_name: "datasetPermissions"))
354
481
  PermissionGroupParams.struct_class = Types::PermissionGroupParams
355
482
 
483
+ ResetUserPasswordRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "userId"))
484
+ ResetUserPasswordRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
485
+ ResetUserPasswordRequest.struct_class = Types::ResetUserPasswordRequest
486
+
487
+ ResetUserPasswordResponse.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location_name: "userId"))
488
+ ResetUserPasswordResponse.add_member(:temporary_password, Shapes::ShapeRef.new(shape: Password, location_name: "temporaryPassword"))
489
+ ResetUserPasswordResponse.struct_class = Types::ResetUserPasswordResponse
490
+
356
491
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
492
+ ResourceNotFoundException.add_member(:reason, Shapes::ShapeRef.new(shape: errorMessage, location_name: "reason"))
357
493
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
358
494
 
359
495
  ResourcePermission.add_member(:permission, Shapes::ShapeRef.new(shape: StringValueLength1to250, location_name: "permission"))
@@ -401,7 +537,47 @@ module Aws::FinSpaceData
401
537
  UpdateDatasetResponse.add_member(:dataset_id, Shapes::ShapeRef.new(shape: DatasetId, location_name: "datasetId"))
402
538
  UpdateDatasetResponse.struct_class = Types::UpdateDatasetResponse
403
539
 
540
+ UpdatePermissionGroupRequest.add_member(:permission_group_id, Shapes::ShapeRef.new(shape: PermissionGroupId, required: true, location: "uri", location_name: "permissionGroupId"))
541
+ UpdatePermissionGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: PermissionGroupName, location_name: "name"))
542
+ UpdatePermissionGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: PermissionGroupDescription, location_name: "description"))
543
+ UpdatePermissionGroupRequest.add_member(:application_permissions, Shapes::ShapeRef.new(shape: ApplicationPermissionList, location_name: "applicationPermissions"))
544
+ UpdatePermissionGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
545
+ UpdatePermissionGroupRequest.struct_class = Types::UpdatePermissionGroupRequest
546
+
547
+ UpdatePermissionGroupResponse.add_member(:permission_group_id, Shapes::ShapeRef.new(shape: PermissionGroupId, location_name: "permissionGroupId"))
548
+ UpdatePermissionGroupResponse.struct_class = Types::UpdatePermissionGroupResponse
549
+
550
+ UpdateUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "userId"))
551
+ UpdateUserRequest.add_member(:type, Shapes::ShapeRef.new(shape: UserType, location_name: "type"))
552
+ UpdateUserRequest.add_member(:first_name, Shapes::ShapeRef.new(shape: FirstName, location_name: "firstName"))
553
+ UpdateUserRequest.add_member(:last_name, Shapes::ShapeRef.new(shape: LastName, location_name: "lastName"))
554
+ UpdateUserRequest.add_member(:api_access, Shapes::ShapeRef.new(shape: ApiAccess, location_name: "apiAccess"))
555
+ UpdateUserRequest.add_member(:api_access_principal_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "apiAccessPrincipalArn"))
556
+ UpdateUserRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
557
+ UpdateUserRequest.struct_class = Types::UpdateUserRequest
558
+
559
+ UpdateUserResponse.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location_name: "userId"))
560
+ UpdateUserResponse.struct_class = Types::UpdateUserResponse
561
+
562
+ User.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location_name: "userId"))
563
+ User.add_member(:status, Shapes::ShapeRef.new(shape: UserStatus, location_name: "status"))
564
+ User.add_member(:first_name, Shapes::ShapeRef.new(shape: FirstName, location_name: "firstName"))
565
+ User.add_member(:last_name, Shapes::ShapeRef.new(shape: LastName, location_name: "lastName"))
566
+ User.add_member(:email_address, Shapes::ShapeRef.new(shape: Email, location_name: "emailAddress"))
567
+ User.add_member(:type, Shapes::ShapeRef.new(shape: UserType, location_name: "type"))
568
+ User.add_member(:api_access, Shapes::ShapeRef.new(shape: ApiAccess, location_name: "apiAccess"))
569
+ User.add_member(:api_access_principal_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "apiAccessPrincipalArn"))
570
+ User.add_member(:create_time, Shapes::ShapeRef.new(shape: TimestampEpoch, location_name: "createTime"))
571
+ User.add_member(:last_enabled_time, Shapes::ShapeRef.new(shape: TimestampEpoch, location_name: "lastEnabledTime"))
572
+ User.add_member(:last_disabled_time, Shapes::ShapeRef.new(shape: TimestampEpoch, location_name: "lastDisabledTime"))
573
+ User.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: TimestampEpoch, location_name: "lastModifiedTime"))
574
+ User.add_member(:last_login_time, Shapes::ShapeRef.new(shape: TimestampEpoch, location_name: "lastLoginTime"))
575
+ User.struct_class = Types::User
576
+
577
+ UserList.member = Shapes::ShapeRef.new(shape: User)
578
+
404
579
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
580
+ ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: errorMessage, location_name: "reason"))
405
581
  ValidationException.struct_class = Types::ValidationException
406
582
 
407
583
 
@@ -467,6 +643,34 @@ module Aws::FinSpaceData
467
643
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
468
644
  end)
469
645
 
646
+ api.add_operation(:create_permission_group, Seahorse::Model::Operation.new.tap do |o|
647
+ o.name = "CreatePermissionGroup"
648
+ o.http_method = "POST"
649
+ o.http_request_uri = "/permission-group"
650
+ o.input = Shapes::ShapeRef.new(shape: CreatePermissionGroupRequest)
651
+ o.output = Shapes::ShapeRef.new(shape: CreatePermissionGroupResponse)
652
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
653
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
654
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
655
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
656
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
657
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
658
+ end)
659
+
660
+ api.add_operation(:create_user, Seahorse::Model::Operation.new.tap do |o|
661
+ o.name = "CreateUser"
662
+ o.http_method = "POST"
663
+ o.http_request_uri = "/user"
664
+ o.input = Shapes::ShapeRef.new(shape: CreateUserRequest)
665
+ o.output = Shapes::ShapeRef.new(shape: CreateUserResponse)
666
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
667
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
668
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
669
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
670
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
671
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
672
+ end)
673
+
470
674
  api.add_operation(:delete_dataset, Seahorse::Model::Operation.new.tap do |o|
471
675
  o.name = "DeleteDataset"
472
676
  o.http_method = "DELETE"
@@ -482,6 +686,50 @@ module Aws::FinSpaceData
482
686
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
483
687
  end)
484
688
 
689
+ api.add_operation(:delete_permission_group, Seahorse::Model::Operation.new.tap do |o|
690
+ o.name = "DeletePermissionGroup"
691
+ o.http_method = "DELETE"
692
+ o.http_request_uri = "/permission-group/{permissionGroupId}"
693
+ o.input = Shapes::ShapeRef.new(shape: DeletePermissionGroupRequest)
694
+ o.output = Shapes::ShapeRef.new(shape: DeletePermissionGroupResponse)
695
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
696
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
697
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
698
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
699
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
700
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
701
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
702
+ end)
703
+
704
+ api.add_operation(:disable_user, Seahorse::Model::Operation.new.tap do |o|
705
+ o.name = "DisableUser"
706
+ o.http_method = "POST"
707
+ o.http_request_uri = "/user/{userId}/disable"
708
+ o.input = Shapes::ShapeRef.new(shape: DisableUserRequest)
709
+ o.output = Shapes::ShapeRef.new(shape: DisableUserResponse)
710
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
711
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
712
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
713
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
714
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
715
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
716
+ end)
717
+
718
+ api.add_operation(:enable_user, Seahorse::Model::Operation.new.tap do |o|
719
+ o.name = "EnableUser"
720
+ o.http_method = "POST"
721
+ o.http_request_uri = "/user/{userId}/enable"
722
+ o.input = Shapes::ShapeRef.new(shape: EnableUserRequest)
723
+ o.output = Shapes::ShapeRef.new(shape: EnableUserResponse)
724
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
725
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
726
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
727
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
728
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
729
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
730
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
731
+ end)
732
+
485
733
  api.add_operation(:get_changeset, Seahorse::Model::Operation.new.tap do |o|
486
734
  o.name = "GetChangeset"
487
735
  o.http_method = "GET"
@@ -535,6 +783,19 @@ module Aws::FinSpaceData
535
783
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
536
784
  end)
537
785
 
786
+ api.add_operation(:get_user, Seahorse::Model::Operation.new.tap do |o|
787
+ o.name = "GetUser"
788
+ o.http_method = "GET"
789
+ o.http_request_uri = "/user/{userId}"
790
+ o.input = Shapes::ShapeRef.new(shape: GetUserRequest)
791
+ o.output = Shapes::ShapeRef.new(shape: GetUserResponse)
792
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
793
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
794
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
795
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
796
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
797
+ end)
798
+
538
799
  api.add_operation(:get_working_location, Seahorse::Model::Operation.new.tap do |o|
539
800
  o.name = "GetWorkingLocation"
540
801
  o.http_method = "POST"
@@ -605,6 +866,56 @@ module Aws::FinSpaceData
605
866
  )
606
867
  end)
607
868
 
869
+ api.add_operation(:list_permission_groups, Seahorse::Model::Operation.new.tap do |o|
870
+ o.name = "ListPermissionGroups"
871
+ o.http_method = "GET"
872
+ o.http_request_uri = "/permission-group"
873
+ o.input = Shapes::ShapeRef.new(shape: ListPermissionGroupsRequest)
874
+ o.output = Shapes::ShapeRef.new(shape: ListPermissionGroupsResponse)
875
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
876
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
877
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
878
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
879
+ o[:pager] = Aws::Pager.new(
880
+ limit_key: "max_results",
881
+ tokens: {
882
+ "next_token" => "next_token"
883
+ }
884
+ )
885
+ end)
886
+
887
+ api.add_operation(:list_users, Seahorse::Model::Operation.new.tap do |o|
888
+ o.name = "ListUsers"
889
+ o.http_method = "GET"
890
+ o.http_request_uri = "/user"
891
+ o.input = Shapes::ShapeRef.new(shape: ListUsersRequest)
892
+ o.output = Shapes::ShapeRef.new(shape: ListUsersResponse)
893
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
894
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
895
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
896
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
897
+ o[:pager] = Aws::Pager.new(
898
+ limit_key: "max_results",
899
+ tokens: {
900
+ "next_token" => "next_token"
901
+ }
902
+ )
903
+ end)
904
+
905
+ api.add_operation(:reset_user_password, Seahorse::Model::Operation.new.tap do |o|
906
+ o.name = "ResetUserPassword"
907
+ o.http_method = "POST"
908
+ o.http_request_uri = "/user/{userId}/password"
909
+ o.input = Shapes::ShapeRef.new(shape: ResetUserPasswordRequest)
910
+ o.output = Shapes::ShapeRef.new(shape: ResetUserPasswordResponse)
911
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
912
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
913
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
914
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
915
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
916
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
917
+ end)
918
+
608
919
  api.add_operation(:update_changeset, Seahorse::Model::Operation.new.tap do |o|
609
920
  o.name = "UpdateChangeset"
610
921
  o.http_method = "PUT"
@@ -632,6 +943,34 @@ module Aws::FinSpaceData
632
943
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
633
944
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
634
945
  end)
946
+
947
+ api.add_operation(:update_permission_group, Seahorse::Model::Operation.new.tap do |o|
948
+ o.name = "UpdatePermissionGroup"
949
+ o.http_method = "PUT"
950
+ o.http_request_uri = "/permission-group/{permissionGroupId}"
951
+ o.input = Shapes::ShapeRef.new(shape: UpdatePermissionGroupRequest)
952
+ o.output = Shapes::ShapeRef.new(shape: UpdatePermissionGroupResponse)
953
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
954
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
955
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
956
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
957
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
958
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
959
+ end)
960
+
961
+ api.add_operation(:update_user, Seahorse::Model::Operation.new.tap do |o|
962
+ o.name = "UpdateUser"
963
+ o.http_method = "PUT"
964
+ o.http_request_uri = "/user/{userId}"
965
+ o.input = Shapes::ShapeRef.new(shape: UpdateUserRequest)
966
+ o.output = Shapes::ShapeRef.new(shape: UpdateUserResponse)
967
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
968
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
969
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
970
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
971
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
972
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
973
+ end)
635
974
  end
636
975
 
637
976
  end
@@ -69,6 +69,11 @@ module Aws::FinSpaceData
69
69
  def message
70
70
  @message || @data[:message]
71
71
  end
72
+
73
+ # @return [String]
74
+ def reason
75
+ @data[:reason]
76
+ end
72
77
  end
73
78
 
74
79
  class InternalServerException < ServiceError
@@ -114,6 +119,11 @@ module Aws::FinSpaceData
114
119
  def message
115
120
  @message || @data[:message]
116
121
  end
122
+
123
+ # @return [String]
124
+ def reason
125
+ @data[:reason]
126
+ end
117
127
  end
118
128
 
119
129
  class ThrottlingException < ServiceError
@@ -139,6 +149,11 @@ module Aws::FinSpaceData
139
149
  def message
140
150
  @message || @data[:message]
141
151
  end
152
+
153
+ # @return [String]
154
+ def reason
155
+ @data[:reason]
156
+ end
142
157
  end
143
158
 
144
159
  end