aws-sdk-finspace 1.1.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.
@@ -0,0 +1,26 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::Finspace
11
+
12
+ class Resource
13
+
14
+ # @param options ({})
15
+ # @option options [Client] :client
16
+ def initialize(options = {})
17
+ @client = options[:client] || Client.new(options)
18
+ end
19
+
20
+ # @return [Client]
21
+ def client
22
+ @client
23
+ end
24
+
25
+ end
26
+ end
@@ -0,0 +1,595 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::Finspace
11
+ module Types
12
+
13
+ # You do not have sufficient access to perform this action.
14
+ #
15
+ # @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/AccessDeniedException AWS API Documentation
16
+ #
17
+ class AccessDeniedException < Aws::EmptyStructure; end
18
+
19
+ # @note When making an API call, you may pass CreateEnvironmentRequest
20
+ # data as a hash:
21
+ #
22
+ # {
23
+ # name: "EnvironmentName", # required
24
+ # description: "Description",
25
+ # kms_key_id: "KmsKeyId",
26
+ # tags: {
27
+ # "TagKey" => "TagValue",
28
+ # },
29
+ # federation_mode: "FEDERATED", # accepts FEDERATED, LOCAL
30
+ # federation_parameters: {
31
+ # saml_metadata_document: "SamlMetadataDocument",
32
+ # saml_metadata_url: "url",
33
+ # application_call_back_url: "url",
34
+ # federation_urn: "urn",
35
+ # federation_provider_name: "FederationProviderName",
36
+ # attribute_map: {
37
+ # "FederationAttributeKey" => "url",
38
+ # },
39
+ # },
40
+ # }
41
+ #
42
+ # @!attribute [rw] name
43
+ # The name of the FinSpace environment to be created.
44
+ # @return [String]
45
+ #
46
+ # @!attribute [rw] description
47
+ # The description of the FinSpace environment to be created.
48
+ # @return [String]
49
+ #
50
+ # @!attribute [rw] kms_key_id
51
+ # The KMS key id to encrypt your data in the FinSpace environment.
52
+ # @return [String]
53
+ #
54
+ # @!attribute [rw] tags
55
+ # Add tags to your FinSpace environment.
56
+ # @return [Hash<String,String>]
57
+ #
58
+ # @!attribute [rw] federation_mode
59
+ # Authentication mode for the environment.
60
+ #
61
+ # * `FEDERATED` - Users access FinSpace through Single Sign On (SSO)
62
+ # via your Identity provider.
63
+ #
64
+ # * `LOCAL` - Users access FinSpace via email and password managed
65
+ # within the FinSpace environment.
66
+ # @return [String]
67
+ #
68
+ # @!attribute [rw] federation_parameters
69
+ # Configuration information when authentication mode is FEDERATED.
70
+ # @return [Types::FederationParameters]
71
+ #
72
+ # @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/CreateEnvironmentRequest AWS API Documentation
73
+ #
74
+ class CreateEnvironmentRequest < Struct.new(
75
+ :name,
76
+ :description,
77
+ :kms_key_id,
78
+ :tags,
79
+ :federation_mode,
80
+ :federation_parameters)
81
+ SENSITIVE = []
82
+ include Aws::Structure
83
+ end
84
+
85
+ # @!attribute [rw] environment_id
86
+ # The unique identifier for FinSpace environment that you created.
87
+ # @return [String]
88
+ #
89
+ # @!attribute [rw] environment_arn
90
+ # The Amazon Resource Name (ARN) of the FinSpace environment that you
91
+ # created.
92
+ # @return [String]
93
+ #
94
+ # @!attribute [rw] environment_url
95
+ # The sign-in url for the web application of the FinSpace environment
96
+ # you created.
97
+ # @return [String]
98
+ #
99
+ # @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/CreateEnvironmentResponse AWS API Documentation
100
+ #
101
+ class CreateEnvironmentResponse < Struct.new(
102
+ :environment_id,
103
+ :environment_arn,
104
+ :environment_url)
105
+ SENSITIVE = []
106
+ include Aws::Structure
107
+ end
108
+
109
+ # @note When making an API call, you may pass DeleteEnvironmentRequest
110
+ # data as a hash:
111
+ #
112
+ # {
113
+ # environment_id: "IdType", # required
114
+ # }
115
+ #
116
+ # @!attribute [rw] environment_id
117
+ # The identifier for the FinSpace environment.
118
+ # @return [String]
119
+ #
120
+ # @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/DeleteEnvironmentRequest AWS API Documentation
121
+ #
122
+ class DeleteEnvironmentRequest < Struct.new(
123
+ :environment_id)
124
+ SENSITIVE = []
125
+ include Aws::Structure
126
+ end
127
+
128
+ # @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/DeleteEnvironmentResponse AWS API Documentation
129
+ #
130
+ class DeleteEnvironmentResponse < Aws::EmptyStructure; end
131
+
132
+ # Represents an FinSpace environment.
133
+ #
134
+ # @!attribute [rw] name
135
+ # The name of the FinSpace environment.
136
+ # @return [String]
137
+ #
138
+ # @!attribute [rw] environment_id
139
+ # The identifier of the FinSpace environment.
140
+ # @return [String]
141
+ #
142
+ # @!attribute [rw] aws_account_id
143
+ # The ID of the AWS account in which the FinSpace environment is
144
+ # created.
145
+ # @return [String]
146
+ #
147
+ # @!attribute [rw] status
148
+ # The current status of creation of the FinSpace environment.
149
+ # @return [String]
150
+ #
151
+ # @!attribute [rw] environment_url
152
+ # The sign-in url for the web application of your FinSpace
153
+ # environment.
154
+ # @return [String]
155
+ #
156
+ # @!attribute [rw] description
157
+ # The description of the FinSpace environment.
158
+ # @return [String]
159
+ #
160
+ # @!attribute [rw] environment_arn
161
+ # The Amazon Resource Name (ARN) of your FinSpace environment.
162
+ # @return [String]
163
+ #
164
+ # @!attribute [rw] sage_maker_studio_domain_url
165
+ # The url of the integrated FinSpace notebook environment in your web
166
+ # application.
167
+ # @return [String]
168
+ #
169
+ # @!attribute [rw] kms_key_id
170
+ # The KMS key id used to encrypt in the FinSpace environment.
171
+ # @return [String]
172
+ #
173
+ # @!attribute [rw] dedicated_service_account_id
174
+ # The AWS account ID of the dedicated service account associated with
175
+ # your FinSpace environment.
176
+ # @return [String]
177
+ #
178
+ # @!attribute [rw] federation_mode
179
+ # The authentication mode for the environment.
180
+ # @return [String]
181
+ #
182
+ # @!attribute [rw] federation_parameters
183
+ # Configuration information when authentication mode is FEDERATED.
184
+ # @return [Types::FederationParameters]
185
+ #
186
+ # @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/Environment AWS API Documentation
187
+ #
188
+ class Environment < Struct.new(
189
+ :name,
190
+ :environment_id,
191
+ :aws_account_id,
192
+ :status,
193
+ :environment_url,
194
+ :description,
195
+ :environment_arn,
196
+ :sage_maker_studio_domain_url,
197
+ :kms_key_id,
198
+ :dedicated_service_account_id,
199
+ :federation_mode,
200
+ :federation_parameters)
201
+ SENSITIVE = []
202
+ include Aws::Structure
203
+ end
204
+
205
+ # Configuration information when authentication mode is FEDERATED.
206
+ #
207
+ # @note When making an API call, you may pass FederationParameters
208
+ # data as a hash:
209
+ #
210
+ # {
211
+ # saml_metadata_document: "SamlMetadataDocument",
212
+ # saml_metadata_url: "url",
213
+ # application_call_back_url: "url",
214
+ # federation_urn: "urn",
215
+ # federation_provider_name: "FederationProviderName",
216
+ # attribute_map: {
217
+ # "FederationAttributeKey" => "url",
218
+ # },
219
+ # }
220
+ #
221
+ # @!attribute [rw] saml_metadata_document
222
+ # SAML 2.0 Metadata document from identity provider (IdP).
223
+ # @return [String]
224
+ #
225
+ # @!attribute [rw] saml_metadata_url
226
+ # Provide the metadata URL from your SAML 2.0 compliant identity
227
+ # provider (IdP).
228
+ # @return [String]
229
+ #
230
+ # @!attribute [rw] application_call_back_url
231
+ # The redirect or sign-in URL that should be entered into the SAML 2.0
232
+ # compliant identity provider configuration (IdP).
233
+ # @return [String]
234
+ #
235
+ # @!attribute [rw] federation_urn
236
+ # The Uniform Resource Name (URN). Also referred as Service Provider
237
+ # URN or Audience URI or Service Provider Entity ID.
238
+ # @return [String]
239
+ #
240
+ # @!attribute [rw] federation_provider_name
241
+ # Name of the identity provider (IdP).
242
+ # @return [String]
243
+ #
244
+ # @!attribute [rw] attribute_map
245
+ # SAML attribute name and value. The name must always be `Email` and
246
+ # the value should be set to the attribute definition in which user
247
+ # email is set. For example, name would be `Email` and value
248
+ # `http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress`.
249
+ # Please check your SAML 2.0 compliant identity provider (IdP)
250
+ # documentation for details.
251
+ # @return [Hash<String,String>]
252
+ #
253
+ # @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/FederationParameters AWS API Documentation
254
+ #
255
+ class FederationParameters < Struct.new(
256
+ :saml_metadata_document,
257
+ :saml_metadata_url,
258
+ :application_call_back_url,
259
+ :federation_urn,
260
+ :federation_provider_name,
261
+ :attribute_map)
262
+ SENSITIVE = []
263
+ include Aws::Structure
264
+ end
265
+
266
+ # @note When making an API call, you may pass GetEnvironmentRequest
267
+ # data as a hash:
268
+ #
269
+ # {
270
+ # environment_id: "IdType", # required
271
+ # }
272
+ #
273
+ # @!attribute [rw] environment_id
274
+ # The identifier of the FinSpace environment.
275
+ # @return [String]
276
+ #
277
+ # @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/GetEnvironmentRequest AWS API Documentation
278
+ #
279
+ class GetEnvironmentRequest < Struct.new(
280
+ :environment_id)
281
+ SENSITIVE = []
282
+ include Aws::Structure
283
+ end
284
+
285
+ # @!attribute [rw] environment
286
+ # The name of the FinSpace environment.
287
+ # @return [Types::Environment]
288
+ #
289
+ # @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/GetEnvironmentResponse AWS API Documentation
290
+ #
291
+ class GetEnvironmentResponse < Struct.new(
292
+ :environment)
293
+ SENSITIVE = []
294
+ include Aws::Structure
295
+ end
296
+
297
+ # The request processing has failed because of an unknown error,
298
+ # exception or failure.
299
+ #
300
+ # @!attribute [rw] message
301
+ # @return [String]
302
+ #
303
+ # @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/InternalServerException AWS API Documentation
304
+ #
305
+ class InternalServerException < Struct.new(
306
+ :message)
307
+ SENSITIVE = []
308
+ include Aws::Structure
309
+ end
310
+
311
+ # The request is invalid. Something is wrong with the input to the
312
+ # request.
313
+ #
314
+ # @!attribute [rw] message
315
+ # @return [String]
316
+ #
317
+ # @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/InvalidRequestException AWS API Documentation
318
+ #
319
+ class InvalidRequestException < Struct.new(
320
+ :message)
321
+ SENSITIVE = []
322
+ include Aws::Structure
323
+ end
324
+
325
+ # A service limit or quota is exceeded.
326
+ #
327
+ # @!attribute [rw] message
328
+ # @return [String]
329
+ #
330
+ # @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/LimitExceededException AWS API Documentation
331
+ #
332
+ class LimitExceededException < Struct.new(
333
+ :message)
334
+ SENSITIVE = []
335
+ include Aws::Structure
336
+ end
337
+
338
+ # @note When making an API call, you may pass ListEnvironmentsRequest
339
+ # data as a hash:
340
+ #
341
+ # {
342
+ # next_token: "PaginationToken",
343
+ # max_results: 1,
344
+ # }
345
+ #
346
+ # @!attribute [rw] next_token
347
+ # A token generated by FinSpace that specifies where to continue
348
+ # pagination if a previous request was truncated. To get the next set
349
+ # of pages, pass in the nextToken value from the response object of
350
+ # the previous page call.
351
+ # @return [String]
352
+ #
353
+ # @!attribute [rw] max_results
354
+ # The maximum number of results to return in this request.
355
+ # @return [Integer]
356
+ #
357
+ # @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListEnvironmentsRequest AWS API Documentation
358
+ #
359
+ class ListEnvironmentsRequest < Struct.new(
360
+ :next_token,
361
+ :max_results)
362
+ SENSITIVE = []
363
+ include Aws::Structure
364
+ end
365
+
366
+ # @!attribute [rw] environments
367
+ # A list of all of your FinSpace environments.
368
+ # @return [Array<Types::Environment>]
369
+ #
370
+ # @!attribute [rw] next_token
371
+ # A token that you can use in a subsequent call to retrieve the next
372
+ # set of results.
373
+ # @return [String]
374
+ #
375
+ # @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListEnvironmentsResponse AWS API Documentation
376
+ #
377
+ class ListEnvironmentsResponse < Struct.new(
378
+ :environments,
379
+ :next_token)
380
+ SENSITIVE = []
381
+ include Aws::Structure
382
+ end
383
+
384
+ # @note When making an API call, you may pass ListTagsForResourceRequest
385
+ # data as a hash:
386
+ #
387
+ # {
388
+ # resource_arn: "EnvironmentArn", # required
389
+ # }
390
+ #
391
+ # @!attribute [rw] resource_arn
392
+ # The Amazon Resource Name of the resource.
393
+ # @return [String]
394
+ #
395
+ # @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListTagsForResourceRequest AWS API Documentation
396
+ #
397
+ class ListTagsForResourceRequest < Struct.new(
398
+ :resource_arn)
399
+ SENSITIVE = []
400
+ include Aws::Structure
401
+ end
402
+
403
+ # @!attribute [rw] tags
404
+ # A list of all tags for a resource.
405
+ # @return [Hash<String,String>]
406
+ #
407
+ # @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListTagsForResourceResponse AWS API Documentation
408
+ #
409
+ class ListTagsForResourceResponse < Struct.new(
410
+ :tags)
411
+ SENSITIVE = []
412
+ include Aws::Structure
413
+ end
414
+
415
+ # One or more resources can't be found.
416
+ #
417
+ # @!attribute [rw] message
418
+ # @return [String]
419
+ #
420
+ # @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ResourceNotFoundException AWS API Documentation
421
+ #
422
+ class ResourceNotFoundException < Struct.new(
423
+ :message)
424
+ SENSITIVE = []
425
+ include Aws::Structure
426
+ end
427
+
428
+ # You have exceeded your service quota. To perform the requested action,
429
+ # remove some of the relevant resources, or use Service Quotas to
430
+ # request a service quota increase.
431
+ #
432
+ # @!attribute [rw] message
433
+ # @return [String]
434
+ #
435
+ # @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ServiceQuotaExceededException AWS API Documentation
436
+ #
437
+ class ServiceQuotaExceededException < Struct.new(
438
+ :message)
439
+ SENSITIVE = []
440
+ include Aws::Structure
441
+ end
442
+
443
+ # @note When making an API call, you may pass TagResourceRequest
444
+ # data as a hash:
445
+ #
446
+ # {
447
+ # resource_arn: "EnvironmentArn", # required
448
+ # tags: { # required
449
+ # "TagKey" => "TagValue",
450
+ # },
451
+ # }
452
+ #
453
+ # @!attribute [rw] resource_arn
454
+ # The Amazon Resource Name (ARN) for the resource.
455
+ # @return [String]
456
+ #
457
+ # @!attribute [rw] tags
458
+ # One or more tags to be assigned to the resource.
459
+ # @return [Hash<String,String>]
460
+ #
461
+ # @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/TagResourceRequest AWS API Documentation
462
+ #
463
+ class TagResourceRequest < Struct.new(
464
+ :resource_arn,
465
+ :tags)
466
+ SENSITIVE = []
467
+ include Aws::Structure
468
+ end
469
+
470
+ # @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/TagResourceResponse AWS API Documentation
471
+ #
472
+ class TagResourceResponse < Aws::EmptyStructure; end
473
+
474
+ # The request was denied due to request throttling.
475
+ #
476
+ # @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ThrottlingException AWS API Documentation
477
+ #
478
+ class ThrottlingException < Aws::EmptyStructure; end
479
+
480
+ # @note When making an API call, you may pass UntagResourceRequest
481
+ # data as a hash:
482
+ #
483
+ # {
484
+ # resource_arn: "EnvironmentArn", # required
485
+ # tag_keys: ["TagKey"], # required
486
+ # }
487
+ #
488
+ # @!attribute [rw] resource_arn
489
+ # A FinSpace resource from which you want to remove a tag or tags. The
490
+ # value for this parameter is an Amazon Resource Name (ARN).
491
+ # @return [String]
492
+ #
493
+ # @!attribute [rw] tag_keys
494
+ # The tag keys (names) of one or more tags to be removed.
495
+ # @return [Array<String>]
496
+ #
497
+ # @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/UntagResourceRequest AWS API Documentation
498
+ #
499
+ class UntagResourceRequest < Struct.new(
500
+ :resource_arn,
501
+ :tag_keys)
502
+ SENSITIVE = []
503
+ include Aws::Structure
504
+ end
505
+
506
+ # @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/UntagResourceResponse AWS API Documentation
507
+ #
508
+ class UntagResourceResponse < Aws::EmptyStructure; end
509
+
510
+ # @note When making an API call, you may pass UpdateEnvironmentRequest
511
+ # data as a hash:
512
+ #
513
+ # {
514
+ # environment_id: "IdType", # required
515
+ # name: "EnvironmentName",
516
+ # description: "Description",
517
+ # federation_mode: "FEDERATED", # accepts FEDERATED, LOCAL
518
+ # federation_parameters: {
519
+ # saml_metadata_document: "SamlMetadataDocument",
520
+ # saml_metadata_url: "url",
521
+ # application_call_back_url: "url",
522
+ # federation_urn: "urn",
523
+ # federation_provider_name: "FederationProviderName",
524
+ # attribute_map: {
525
+ # "FederationAttributeKey" => "url",
526
+ # },
527
+ # },
528
+ # }
529
+ #
530
+ # @!attribute [rw] environment_id
531
+ # The identifier of the FinSpace environment.
532
+ # @return [String]
533
+ #
534
+ # @!attribute [rw] name
535
+ # The name of the environment.
536
+ # @return [String]
537
+ #
538
+ # @!attribute [rw] description
539
+ # The description of the environment.
540
+ # @return [String]
541
+ #
542
+ # @!attribute [rw] federation_mode
543
+ # Authentication mode for the environment.
544
+ #
545
+ # * `FEDERATED` - Users access FinSpace through Single Sign On (SSO)
546
+ # via your Identity provider.
547
+ #
548
+ # * `LOCAL` - Users access FinSpace via email and password managed
549
+ # within the FinSpace environment.
550
+ # @return [String]
551
+ #
552
+ # @!attribute [rw] federation_parameters
553
+ # Configuration information when authentication mode is FEDERATED.
554
+ # @return [Types::FederationParameters]
555
+ #
556
+ # @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/UpdateEnvironmentRequest AWS API Documentation
557
+ #
558
+ class UpdateEnvironmentRequest < Struct.new(
559
+ :environment_id,
560
+ :name,
561
+ :description,
562
+ :federation_mode,
563
+ :federation_parameters)
564
+ SENSITIVE = []
565
+ include Aws::Structure
566
+ end
567
+
568
+ # @!attribute [rw] environment
569
+ # Returns the FinSpace environment object.
570
+ # @return [Types::Environment]
571
+ #
572
+ # @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/UpdateEnvironmentResponse AWS API Documentation
573
+ #
574
+ class UpdateEnvironmentResponse < Struct.new(
575
+ :environment)
576
+ SENSITIVE = []
577
+ include Aws::Structure
578
+ end
579
+
580
+ # The input fails to satisfy the constraints specified by an AWS
581
+ # service.
582
+ #
583
+ # @!attribute [rw] message
584
+ # @return [String]
585
+ #
586
+ # @see http://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ValidationException AWS API Documentation
587
+ #
588
+ class ValidationException < Struct.new(
589
+ :message)
590
+ SENSITIVE = []
591
+ include Aws::Structure
592
+ end
593
+
594
+ end
595
+ end