aws-sdk-quicksight 1.1.0 → 1.2.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/lib/aws-sdk-quicksight.rb +1 -1
- data/lib/aws-sdk-quicksight/client.rb +50 -2
- data/lib/aws-sdk-quicksight/client_api.rb +29 -1
- data/lib/aws-sdk-quicksight/types.rb +61 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2818554e34e89e73deda09425397e6f05749f8fb
|
4
|
+
data.tar.gz: c50b85aec0c7924780d7a3c7a38e69c10cd54e02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65ebc09fe022dbd8f586a596af7388a302acd2b013a744a98f9e833568986b0cc3557e391528c47ac73f24877ef7b051417bdfcce850d990d7b95a7fac4f4a60
|
7
|
+
data.tar.gz: caf3569deca8a910011b07e972905cc27ffc774ed0c3ea6b8e53b9c8cb927833efc718e4c3645c59c8f56e57f0866cb27f3485b52eb30021082c665d4050e5e2
|
data/lib/aws-sdk-quicksight.rb
CHANGED
@@ -253,6 +253,7 @@ module Aws::QuickSight
|
|
253
253
|
# resp.group.arn #=> String
|
254
254
|
# resp.group.group_name #=> String
|
255
255
|
# resp.group.description #=> String
|
256
|
+
# resp.group.principal_id #=> String
|
256
257
|
# resp.request_id #=> String
|
257
258
|
# resp.status #=> Integer
|
258
259
|
#
|
@@ -487,6 +488,45 @@ module Aws::QuickSight
|
|
487
488
|
req.send_request(options)
|
488
489
|
end
|
489
490
|
|
491
|
+
# Deletes a user after locating the user by its principal ID.
|
492
|
+
#
|
493
|
+
# @option params [required, String] :principal_id
|
494
|
+
# The principal ID of the user.
|
495
|
+
#
|
496
|
+
# @option params [required, String] :aws_account_id
|
497
|
+
# The ID for the AWS account that the user is in. Currently, you use the
|
498
|
+
# ID for the AWS account that contains your Amazon QuickSight account.
|
499
|
+
#
|
500
|
+
# @option params [required, String] :namespace
|
501
|
+
# The namespace. Currently, you should set this to `default`.
|
502
|
+
#
|
503
|
+
# @return [Types::DeleteUserByPrincipalIdResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
504
|
+
#
|
505
|
+
# * {Types::DeleteUserByPrincipalIdResponse#request_id #request_id} => String
|
506
|
+
# * {Types::DeleteUserByPrincipalIdResponse#status #status} => Integer
|
507
|
+
#
|
508
|
+
# @example Request syntax with placeholder values
|
509
|
+
#
|
510
|
+
# resp = client.delete_user_by_principal_id({
|
511
|
+
# principal_id: "String", # required
|
512
|
+
# aws_account_id: "AwsAccountId", # required
|
513
|
+
# namespace: "Namespace", # required
|
514
|
+
# })
|
515
|
+
#
|
516
|
+
# @example Response structure
|
517
|
+
#
|
518
|
+
# resp.request_id #=> String
|
519
|
+
# resp.status #=> Integer
|
520
|
+
#
|
521
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteUserByPrincipalId AWS API Documentation
|
522
|
+
#
|
523
|
+
# @overload delete_user_by_principal_id(params = {})
|
524
|
+
# @param [Hash] params ({})
|
525
|
+
def delete_user_by_principal_id(params = {}, options = {})
|
526
|
+
req = build_request(:delete_user_by_principal_id, params)
|
527
|
+
req.send_request(options)
|
528
|
+
end
|
529
|
+
|
490
530
|
# Returns an Amazon QuickSight group's description and Amazon Resource
|
491
531
|
# Name (ARN).
|
492
532
|
#
|
@@ -531,6 +571,7 @@ module Aws::QuickSight
|
|
531
571
|
# resp.group.arn #=> String
|
532
572
|
# resp.group.group_name #=> String
|
533
573
|
# resp.group.description #=> String
|
574
|
+
# resp.group.principal_id #=> String
|
534
575
|
# resp.request_id #=> String
|
535
576
|
# resp.status #=> Integer
|
536
577
|
#
|
@@ -590,6 +631,7 @@ module Aws::QuickSight
|
|
590
631
|
# resp.user.role #=> String, one of "ADMIN", "AUTHOR", "READER", "RESTRICTED_AUTHOR", "RESTRICTED_READER"
|
591
632
|
# resp.user.identity_type #=> String, one of "IAM", "QUICKSIGHT"
|
592
633
|
# resp.user.active #=> Boolean
|
634
|
+
# resp.user.principal_id #=> String
|
593
635
|
# resp.request_id #=> String
|
594
636
|
# resp.status #=> Integer
|
595
637
|
#
|
@@ -805,6 +847,7 @@ module Aws::QuickSight
|
|
805
847
|
# resp.group_list[0].arn #=> String
|
806
848
|
# resp.group_list[0].group_name #=> String
|
807
849
|
# resp.group_list[0].description #=> String
|
850
|
+
# resp.group_list[0].principal_id #=> String
|
808
851
|
# resp.next_token #=> String
|
809
852
|
# resp.request_id #=> String
|
810
853
|
# resp.status #=> Integer
|
@@ -873,6 +916,7 @@ module Aws::QuickSight
|
|
873
916
|
# resp.group_list[0].arn #=> String
|
874
917
|
# resp.group_list[0].group_name #=> String
|
875
918
|
# resp.group_list[0].description #=> String
|
919
|
+
# resp.group_list[0].principal_id #=> String
|
876
920
|
# resp.next_token #=> String
|
877
921
|
# resp.request_id #=> String
|
878
922
|
# resp.status #=> Integer
|
@@ -939,6 +983,7 @@ module Aws::QuickSight
|
|
939
983
|
# resp.user_list[0].role #=> String, one of "ADMIN", "AUTHOR", "READER", "RESTRICTED_AUTHOR", "RESTRICTED_READER"
|
940
984
|
# resp.user_list[0].identity_type #=> String, one of "IAM", "QUICKSIGHT"
|
941
985
|
# resp.user_list[0].active #=> Boolean
|
986
|
+
# resp.user_list[0].principal_id #=> String
|
942
987
|
# resp.next_token #=> String
|
943
988
|
# resp.request_id #=> String
|
944
989
|
# resp.status #=> Integer
|
@@ -1036,7 +1081,7 @@ module Aws::QuickSight
|
|
1036
1081
|
# email: "String", # required
|
1037
1082
|
# user_role: "ADMIN", # required, accepts ADMIN, AUTHOR, READER, RESTRICTED_AUTHOR, RESTRICTED_READER
|
1038
1083
|
# iam_arn: "String",
|
1039
|
-
# session_name: "
|
1084
|
+
# session_name: "RoleSessionName",
|
1040
1085
|
# aws_account_id: "AwsAccountId", # required
|
1041
1086
|
# namespace: "Namespace", # required
|
1042
1087
|
# user_name: "UserName",
|
@@ -1050,6 +1095,7 @@ module Aws::QuickSight
|
|
1050
1095
|
# resp.user.role #=> String, one of "ADMIN", "AUTHOR", "READER", "RESTRICTED_AUTHOR", "RESTRICTED_READER"
|
1051
1096
|
# resp.user.identity_type #=> String, one of "IAM", "QUICKSIGHT"
|
1052
1097
|
# resp.user.active #=> Boolean
|
1098
|
+
# resp.user.principal_id #=> String
|
1053
1099
|
# resp.user_invitation_url #=> String
|
1054
1100
|
# resp.request_id #=> String
|
1055
1101
|
# resp.status #=> Integer
|
@@ -1111,6 +1157,7 @@ module Aws::QuickSight
|
|
1111
1157
|
# resp.group.arn #=> String
|
1112
1158
|
# resp.group.group_name #=> String
|
1113
1159
|
# resp.group.description #=> String
|
1160
|
+
# resp.group.principal_id #=> String
|
1114
1161
|
# resp.request_id #=> String
|
1115
1162
|
# resp.status #=> Integer
|
1116
1163
|
#
|
@@ -1189,6 +1236,7 @@ module Aws::QuickSight
|
|
1189
1236
|
# resp.user.role #=> String, one of "ADMIN", "AUTHOR", "READER", "RESTRICTED_AUTHOR", "RESTRICTED_READER"
|
1190
1237
|
# resp.user.identity_type #=> String, one of "IAM", "QUICKSIGHT"
|
1191
1238
|
# resp.user.active #=> Boolean
|
1239
|
+
# resp.user.principal_id #=> String
|
1192
1240
|
# resp.request_id #=> String
|
1193
1241
|
# resp.status #=> Integer
|
1194
1242
|
#
|
@@ -1214,7 +1262,7 @@ module Aws::QuickSight
|
|
1214
1262
|
params: params,
|
1215
1263
|
config: config)
|
1216
1264
|
context[:gem_name] = 'aws-sdk-quicksight'
|
1217
|
-
context[:gem_version] = '1.
|
1265
|
+
context[:gem_version] = '1.2.0'
|
1218
1266
|
Seahorse::Client::Request.new(handlers, context)
|
1219
1267
|
end
|
1220
1268
|
|
@@ -23,6 +23,8 @@ module Aws::QuickSight
|
|
23
23
|
DeleteGroupMembershipResponse = Shapes::StructureShape.new(name: 'DeleteGroupMembershipResponse')
|
24
24
|
DeleteGroupRequest = Shapes::StructureShape.new(name: 'DeleteGroupRequest')
|
25
25
|
DeleteGroupResponse = Shapes::StructureShape.new(name: 'DeleteGroupResponse')
|
26
|
+
DeleteUserByPrincipalIdRequest = Shapes::StructureShape.new(name: 'DeleteUserByPrincipalIdRequest')
|
27
|
+
DeleteUserByPrincipalIdResponse = Shapes::StructureShape.new(name: 'DeleteUserByPrincipalIdResponse')
|
26
28
|
DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
|
27
29
|
DeleteUserResponse = Shapes::StructureShape.new(name: 'DeleteUserResponse')
|
28
30
|
DescribeGroupRequest = Shapes::StructureShape.new(name: 'DescribeGroupRequest')
|
@@ -64,6 +66,7 @@ module Aws::QuickSight
|
|
64
66
|
ResourceExistsException = Shapes::StructureShape.new(name: 'ResourceExistsException')
|
65
67
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
66
68
|
ResourceUnavailableException = Shapes::StructureShape.new(name: 'ResourceUnavailableException')
|
69
|
+
RoleSessionName = Shapes::StringShape.new(name: 'RoleSessionName')
|
67
70
|
SessionLifetimeInMinutes = Shapes::IntegerShape.new(name: 'SessionLifetimeInMinutes')
|
68
71
|
SessionLifetimeInMinutesInvalidException = Shapes::StructureShape.new(name: 'SessionLifetimeInMinutesInvalidException')
|
69
72
|
StatusCode = Shapes::IntegerShape.new(name: 'StatusCode')
|
@@ -121,6 +124,15 @@ module Aws::QuickSight
|
|
121
124
|
DeleteGroupResponse.add_member(:status, Shapes::ShapeRef.new(shape: StatusCode, location: "statusCode", location_name: "Status"))
|
122
125
|
DeleteGroupResponse.struct_class = Types::DeleteGroupResponse
|
123
126
|
|
127
|
+
DeleteUserByPrincipalIdRequest.add_member(:principal_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "PrincipalId"))
|
128
|
+
DeleteUserByPrincipalIdRequest.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location: "uri", location_name: "AwsAccountId"))
|
129
|
+
DeleteUserByPrincipalIdRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: Namespace, required: true, location: "uri", location_name: "Namespace"))
|
130
|
+
DeleteUserByPrincipalIdRequest.struct_class = Types::DeleteUserByPrincipalIdRequest
|
131
|
+
|
132
|
+
DeleteUserByPrincipalIdResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
|
133
|
+
DeleteUserByPrincipalIdResponse.add_member(:status, Shapes::ShapeRef.new(shape: StatusCode, location: "statusCode", location_name: "Status"))
|
134
|
+
DeleteUserByPrincipalIdResponse.struct_class = Types::DeleteUserByPrincipalIdResponse
|
135
|
+
|
124
136
|
DeleteUserRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, required: true, location: "uri", location_name: "UserName"))
|
125
137
|
DeleteUserRequest.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location: "uri", location_name: "AwsAccountId"))
|
126
138
|
DeleteUserRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: Namespace, required: true, location: "uri", location_name: "Namespace"))
|
@@ -166,6 +178,7 @@ module Aws::QuickSight
|
|
166
178
|
Group.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
|
167
179
|
Group.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
|
168
180
|
Group.add_member(:description, Shapes::ShapeRef.new(shape: GroupDescription, location_name: "Description"))
|
181
|
+
Group.add_member(:principal_id, Shapes::ShapeRef.new(shape: String, location_name: "PrincipalId"))
|
169
182
|
Group.struct_class = Types::Group
|
170
183
|
|
171
184
|
GroupList.member = Shapes::ShapeRef.new(shape: Group)
|
@@ -230,7 +243,7 @@ module Aws::QuickSight
|
|
230
243
|
RegisterUserRequest.add_member(:email, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Email"))
|
231
244
|
RegisterUserRequest.add_member(:user_role, Shapes::ShapeRef.new(shape: UserRole, required: true, location_name: "UserRole"))
|
232
245
|
RegisterUserRequest.add_member(:iam_arn, Shapes::ShapeRef.new(shape: String, location_name: "IamArn"))
|
233
|
-
RegisterUserRequest.add_member(:session_name, Shapes::ShapeRef.new(shape:
|
246
|
+
RegisterUserRequest.add_member(:session_name, Shapes::ShapeRef.new(shape: RoleSessionName, location_name: "SessionName"))
|
234
247
|
RegisterUserRequest.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location: "uri", location_name: "AwsAccountId"))
|
235
248
|
RegisterUserRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: Namespace, required: true, location: "uri", location_name: "Namespace"))
|
236
249
|
RegisterUserRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, location_name: "UserName"))
|
@@ -271,6 +284,7 @@ module Aws::QuickSight
|
|
271
284
|
User.add_member(:role, Shapes::ShapeRef.new(shape: UserRole, location_name: "Role"))
|
272
285
|
User.add_member(:identity_type, Shapes::ShapeRef.new(shape: IdentityType, location_name: "IdentityType"))
|
273
286
|
User.add_member(:active, Shapes::ShapeRef.new(shape: Boolean, location_name: "Active"))
|
287
|
+
User.add_member(:principal_id, Shapes::ShapeRef.new(shape: String, location_name: "PrincipalId"))
|
274
288
|
User.struct_class = Types::User
|
275
289
|
|
276
290
|
UserList.member = Shapes::ShapeRef.new(shape: User)
|
@@ -368,6 +382,20 @@ module Aws::QuickSight
|
|
368
382
|
o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
|
369
383
|
end)
|
370
384
|
|
385
|
+
api.add_operation(:delete_user_by_principal_id, Seahorse::Model::Operation.new.tap do |o|
|
386
|
+
o.name = "DeleteUserByPrincipalId"
|
387
|
+
o.http_method = "DELETE"
|
388
|
+
o.http_request_uri = "/accounts/{AwsAccountId}/namespaces/{Namespace}/user-principals/{PrincipalId}"
|
389
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteUserByPrincipalIdRequest)
|
390
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteUserByPrincipalIdResponse)
|
391
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
392
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
393
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
394
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
395
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
396
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
|
397
|
+
end)
|
398
|
+
|
371
399
|
api.add_operation(:describe_group, Seahorse::Model::Operation.new.tap do |o|
|
372
400
|
o.name = "DescribeGroup"
|
373
401
|
o.http_method = "GET"
|
@@ -233,6 +233,54 @@ module Aws::QuickSight
|
|
233
233
|
include Aws::Structure
|
234
234
|
end
|
235
235
|
|
236
|
+
# @note When making an API call, you may pass DeleteUserByPrincipalIdRequest
|
237
|
+
# data as a hash:
|
238
|
+
#
|
239
|
+
# {
|
240
|
+
# principal_id: "String", # required
|
241
|
+
# aws_account_id: "AwsAccountId", # required
|
242
|
+
# namespace: "Namespace", # required
|
243
|
+
# }
|
244
|
+
#
|
245
|
+
# @!attribute [rw] principal_id
|
246
|
+
# The principal ID of the user.
|
247
|
+
# @return [String]
|
248
|
+
#
|
249
|
+
# @!attribute [rw] aws_account_id
|
250
|
+
# The ID for the AWS account that the user is in. Currently, you use
|
251
|
+
# the ID for the AWS account that contains your Amazon QuickSight
|
252
|
+
# account.
|
253
|
+
# @return [String]
|
254
|
+
#
|
255
|
+
# @!attribute [rw] namespace
|
256
|
+
# The namespace. Currently, you should set this to `default`.
|
257
|
+
# @return [String]
|
258
|
+
#
|
259
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteUserByPrincipalIdRequest AWS API Documentation
|
260
|
+
#
|
261
|
+
class DeleteUserByPrincipalIdRequest < Struct.new(
|
262
|
+
:principal_id,
|
263
|
+
:aws_account_id,
|
264
|
+
:namespace)
|
265
|
+
include Aws::Structure
|
266
|
+
end
|
267
|
+
|
268
|
+
# @!attribute [rw] request_id
|
269
|
+
# The AWS request ID for this operation.
|
270
|
+
# @return [String]
|
271
|
+
#
|
272
|
+
# @!attribute [rw] status
|
273
|
+
# The http status of the request.
|
274
|
+
# @return [Integer]
|
275
|
+
#
|
276
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteUserByPrincipalIdResponse AWS API Documentation
|
277
|
+
#
|
278
|
+
class DeleteUserByPrincipalIdResponse < Struct.new(
|
279
|
+
:request_id,
|
280
|
+
:status)
|
281
|
+
include Aws::Structure
|
282
|
+
end
|
283
|
+
|
236
284
|
# @note When making an API call, you may pass DeleteUserRequest
|
237
285
|
# data as a hash:
|
238
286
|
#
|
@@ -479,12 +527,17 @@ module Aws::QuickSight
|
|
479
527
|
# The group description.
|
480
528
|
# @return [String]
|
481
529
|
#
|
530
|
+
# @!attribute [rw] principal_id
|
531
|
+
# The principal ID of the group.
|
532
|
+
# @return [String]
|
533
|
+
#
|
482
534
|
# @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/Group AWS API Documentation
|
483
535
|
#
|
484
536
|
class Group < Struct.new(
|
485
537
|
:arn,
|
486
538
|
:group_name,
|
487
|
-
:description
|
539
|
+
:description,
|
540
|
+
:principal_id)
|
488
541
|
include Aws::Structure
|
489
542
|
end
|
490
543
|
|
@@ -783,7 +836,7 @@ module Aws::QuickSight
|
|
783
836
|
# email: "String", # required
|
784
837
|
# user_role: "ADMIN", # required, accepts ADMIN, AUTHOR, READER, RESTRICTED_AUTHOR, RESTRICTED_READER
|
785
838
|
# iam_arn: "String",
|
786
|
-
# session_name: "
|
839
|
+
# session_name: "RoleSessionName",
|
787
840
|
# aws_account_id: "AwsAccountId", # required
|
788
841
|
# namespace: "Namespace", # required
|
789
842
|
# user_name: "UserName",
|
@@ -1053,6 +1106,10 @@ module Aws::QuickSight
|
|
1053
1106
|
# they sign in and provide a password
|
1054
1107
|
# @return [Boolean]
|
1055
1108
|
#
|
1109
|
+
# @!attribute [rw] principal_id
|
1110
|
+
# The principal ID of the user.
|
1111
|
+
# @return [String]
|
1112
|
+
#
|
1056
1113
|
# @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/User AWS API Documentation
|
1057
1114
|
#
|
1058
1115
|
class User < Struct.new(
|
@@ -1061,7 +1118,8 @@ module Aws::QuickSight
|
|
1061
1118
|
:email,
|
1062
1119
|
:role,
|
1063
1120
|
:identity_type,
|
1064
|
-
:active
|
1121
|
+
:active,
|
1122
|
+
:principal_id)
|
1065
1123
|
include Aws::Structure
|
1066
1124
|
end
|
1067
1125
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-quicksight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.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:
|
11
|
+
date: 2019-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|