aws-sdk-redshiftserverless 1.13.0 → 1.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-redshiftserverless/client.rb +71 -1
- data/lib/aws-sdk-redshiftserverless/client_api.rb +10 -0
- data/lib/aws-sdk-redshiftserverless/types.rb +74 -0
- data/lib/aws-sdk-redshiftserverless.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a235f174c3b7d36c79c01453ddf9699cc306d9bed1f421db82f325748da060f9
|
4
|
+
data.tar.gz: ca283ee6862af2a5323da576b2e85f6dbf76246914e2b727b47894447bc4b47f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94b34489d55093ea46a41e1e84f6ec6ae72c97cc326849bce94ba4ffdfb6a28e051bbf062246696afda43d55343eca70187461a46a2eb75dcb4c32086a737e21
|
7
|
+
data.tar.gz: bc7b6dce693e8dd949554dfb7afc705c7db6fa6492db620103803ab4daf762e74f660203400ae2b6826a8cce50a75ee6bc93fe8f6d2ab7a1ab8872752046c46d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.15.0 (2023-10-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added support for managing credentials of serverless namespace admin using AWS Secrets Manager.
|
8
|
+
|
9
|
+
1.14.0 (2023-09-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.13.0 (2023-09-19)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.15.0
|
@@ -447,6 +447,8 @@ module Aws::RedshiftServerless
|
|
447
447
|
# resp.snapshot.accounts_with_restore_access #=> Array
|
448
448
|
# resp.snapshot.accounts_with_restore_access[0] #=> String
|
449
449
|
# resp.snapshot.actual_incremental_backup_size_in_mega_bytes #=> Float
|
450
|
+
# resp.snapshot.admin_password_secret_arn #=> String
|
451
|
+
# resp.snapshot.admin_password_secret_kms_key_id #=> String
|
450
452
|
# resp.snapshot.admin_username #=> String
|
451
453
|
# resp.snapshot.backup_progress_in_mega_bytes #=> Float
|
452
454
|
# resp.snapshot.current_backup_rate_in_mega_bytes_per_second #=> Float
|
@@ -540,10 +542,17 @@ module Aws::RedshiftServerless
|
|
540
542
|
|
541
543
|
# Creates a namespace in Amazon Redshift Serverless.
|
542
544
|
#
|
545
|
+
# @option params [String] :admin_password_secret_kms_key_id
|
546
|
+
# The ID of the Key Management Service (KMS) key used to encrypt and
|
547
|
+
# store the namespace's admin credentials secret. You can only use this
|
548
|
+
# parameter if `manageAdminPassword` is true.
|
549
|
+
#
|
543
550
|
# @option params [String] :admin_user_password
|
544
551
|
# The password of the administrator for the first database created in
|
545
552
|
# the namespace.
|
546
553
|
#
|
554
|
+
# You can't use `adminUserPassword` if `manageAdminPassword` is true.
|
555
|
+
#
|
547
556
|
# @option params [String] :admin_username
|
548
557
|
# The username of the administrator for the first database created in
|
549
558
|
# the namespace.
|
@@ -566,6 +575,13 @@ module Aws::RedshiftServerless
|
|
566
575
|
# The types of logs the namespace can export. Available export types are
|
567
576
|
# `userlog`, `connectionlog`, and `useractivitylog`.
|
568
577
|
#
|
578
|
+
# @option params [Boolean] :manage_admin_password
|
579
|
+
# If `true`, Amazon Redshift uses Secrets Manager to manage the
|
580
|
+
# namespace's admin credentials. You can't use `adminUserPassword` if
|
581
|
+
# `manageAdminPassword` is true. If `manageAdminPassword` is false or
|
582
|
+
# not set, Amazon Redshift uses `adminUserPassword` for the admin user
|
583
|
+
# account's password.
|
584
|
+
#
|
569
585
|
# @option params [required, String] :namespace_name
|
570
586
|
# The name of the namespace.
|
571
587
|
#
|
@@ -579,6 +595,7 @@ module Aws::RedshiftServerless
|
|
579
595
|
# @example Request syntax with placeholder values
|
580
596
|
#
|
581
597
|
# resp = client.create_namespace({
|
598
|
+
# admin_password_secret_kms_key_id: "KmsKeyId",
|
582
599
|
# admin_user_password: "DbPassword",
|
583
600
|
# admin_username: "DbUser",
|
584
601
|
# db_name: "String",
|
@@ -586,6 +603,7 @@ module Aws::RedshiftServerless
|
|
586
603
|
# iam_roles: ["IamRoleArn"],
|
587
604
|
# kms_key_id: "String",
|
588
605
|
# log_exports: ["useractivitylog"], # accepts useractivitylog, userlog, connectionlog
|
606
|
+
# manage_admin_password: false,
|
589
607
|
# namespace_name: "NamespaceName", # required
|
590
608
|
# tags: [
|
591
609
|
# {
|
@@ -597,6 +615,8 @@ module Aws::RedshiftServerless
|
|
597
615
|
#
|
598
616
|
# @example Response structure
|
599
617
|
#
|
618
|
+
# resp.namespace.admin_password_secret_arn #=> String
|
619
|
+
# resp.namespace.admin_password_secret_kms_key_id #=> String
|
600
620
|
# resp.namespace.admin_username #=> String
|
601
621
|
# resp.namespace.creation_date #=> Time
|
602
622
|
# resp.namespace.db_name #=> String
|
@@ -669,6 +689,8 @@ module Aws::RedshiftServerless
|
|
669
689
|
# resp.snapshot.accounts_with_restore_access #=> Array
|
670
690
|
# resp.snapshot.accounts_with_restore_access[0] #=> String
|
671
691
|
# resp.snapshot.actual_incremental_backup_size_in_mega_bytes #=> Float
|
692
|
+
# resp.snapshot.admin_password_secret_arn #=> String
|
693
|
+
# resp.snapshot.admin_password_secret_kms_key_id #=> String
|
672
694
|
# resp.snapshot.admin_username #=> String
|
673
695
|
# resp.snapshot.backup_progress_in_mega_bytes #=> Float
|
674
696
|
# resp.snapshot.current_backup_rate_in_mega_bytes_per_second #=> Float
|
@@ -944,6 +966,8 @@ module Aws::RedshiftServerless
|
|
944
966
|
#
|
945
967
|
# @example Response structure
|
946
968
|
#
|
969
|
+
# resp.namespace.admin_password_secret_arn #=> String
|
970
|
+
# resp.namespace.admin_password_secret_kms_key_id #=> String
|
947
971
|
# resp.namespace.admin_username #=> String
|
948
972
|
# resp.namespace.creation_date #=> Time
|
949
973
|
# resp.namespace.db_name #=> String
|
@@ -1011,6 +1035,8 @@ module Aws::RedshiftServerless
|
|
1011
1035
|
# resp.snapshot.accounts_with_restore_access #=> Array
|
1012
1036
|
# resp.snapshot.accounts_with_restore_access[0] #=> String
|
1013
1037
|
# resp.snapshot.actual_incremental_backup_size_in_mega_bytes #=> Float
|
1038
|
+
# resp.snapshot.admin_password_secret_arn #=> String
|
1039
|
+
# resp.snapshot.admin_password_secret_kms_key_id #=> String
|
1014
1040
|
# resp.snapshot.admin_username #=> String
|
1015
1041
|
# resp.snapshot.backup_progress_in_mega_bytes #=> Float
|
1016
1042
|
# resp.snapshot.current_backup_rate_in_mega_bytes_per_second #=> Float
|
@@ -1257,6 +1283,8 @@ module Aws::RedshiftServerless
|
|
1257
1283
|
#
|
1258
1284
|
# @example Response structure
|
1259
1285
|
#
|
1286
|
+
# resp.namespace.admin_password_secret_arn #=> String
|
1287
|
+
# resp.namespace.admin_password_secret_kms_key_id #=> String
|
1260
1288
|
# resp.namespace.admin_username #=> String
|
1261
1289
|
# resp.namespace.creation_date #=> Time
|
1262
1290
|
# resp.namespace.db_name #=> String
|
@@ -1373,6 +1401,8 @@ module Aws::RedshiftServerless
|
|
1373
1401
|
# resp.snapshot.accounts_with_restore_access #=> Array
|
1374
1402
|
# resp.snapshot.accounts_with_restore_access[0] #=> String
|
1375
1403
|
# resp.snapshot.actual_incremental_backup_size_in_mega_bytes #=> Float
|
1404
|
+
# resp.snapshot.admin_password_secret_arn #=> String
|
1405
|
+
# resp.snapshot.admin_password_secret_kms_key_id #=> String
|
1376
1406
|
# resp.snapshot.admin_username #=> String
|
1377
1407
|
# resp.snapshot.backup_progress_in_mega_bytes #=> Float
|
1378
1408
|
# resp.snapshot.current_backup_rate_in_mega_bytes_per_second #=> Float
|
@@ -1626,6 +1656,8 @@ module Aws::RedshiftServerless
|
|
1626
1656
|
# @example Response structure
|
1627
1657
|
#
|
1628
1658
|
# resp.namespaces #=> Array
|
1659
|
+
# resp.namespaces[0].admin_password_secret_arn #=> String
|
1660
|
+
# resp.namespaces[0].admin_password_secret_kms_key_id #=> String
|
1629
1661
|
# resp.namespaces[0].admin_username #=> String
|
1630
1662
|
# resp.namespaces[0].creation_date #=> Time
|
1631
1663
|
# resp.namespaces[0].db_name #=> String
|
@@ -1768,6 +1800,8 @@ module Aws::RedshiftServerless
|
|
1768
1800
|
# resp.snapshots[0].accounts_with_restore_access #=> Array
|
1769
1801
|
# resp.snapshots[0].accounts_with_restore_access[0] #=> String
|
1770
1802
|
# resp.snapshots[0].actual_incremental_backup_size_in_mega_bytes #=> Float
|
1803
|
+
# resp.snapshots[0].admin_password_secret_arn #=> String
|
1804
|
+
# resp.snapshots[0].admin_password_secret_kms_key_id #=> String
|
1771
1805
|
# resp.snapshots[0].admin_username #=> String
|
1772
1806
|
# resp.snapshots[0].backup_progress_in_mega_bytes #=> Float
|
1773
1807
|
# resp.snapshots[0].current_backup_rate_in_mega_bytes_per_second #=> Float
|
@@ -2080,6 +2114,8 @@ module Aws::RedshiftServerless
|
|
2080
2114
|
#
|
2081
2115
|
# @example Response structure
|
2082
2116
|
#
|
2117
|
+
# resp.namespace.admin_password_secret_arn #=> String
|
2118
|
+
# resp.namespace.admin_password_secret_kms_key_id #=> String
|
2083
2119
|
# resp.namespace.admin_username #=> String
|
2084
2120
|
# resp.namespace.creation_date #=> Time
|
2085
2121
|
# resp.namespace.db_name #=> String
|
@@ -2106,6 +2142,16 @@ module Aws::RedshiftServerless
|
|
2106
2142
|
|
2107
2143
|
# Restores a namespace from a snapshot.
|
2108
2144
|
#
|
2145
|
+
# @option params [String] :admin_password_secret_kms_key_id
|
2146
|
+
# The ID of the Key Management Service (KMS) key used to encrypt and
|
2147
|
+
# store the namespace's admin credentials secret.
|
2148
|
+
#
|
2149
|
+
# @option params [Boolean] :manage_admin_password
|
2150
|
+
# If `true`, Amazon Redshift uses Secrets Manager to manage the restored
|
2151
|
+
# snapshot's admin credentials. If `MmanageAdminPassword` is false or
|
2152
|
+
# not set, Amazon Redshift uses the admin credentials that the namespace
|
2153
|
+
# or cluster had at the time the snapshot was taken.
|
2154
|
+
#
|
2109
2155
|
# @option params [required, String] :namespace_name
|
2110
2156
|
# The name of the namespace to restore the snapshot to.
|
2111
2157
|
#
|
@@ -2136,6 +2182,8 @@ module Aws::RedshiftServerless
|
|
2136
2182
|
# @example Request syntax with placeholder values
|
2137
2183
|
#
|
2138
2184
|
# resp = client.restore_from_snapshot({
|
2185
|
+
# admin_password_secret_kms_key_id: "KmsKeyId",
|
2186
|
+
# manage_admin_password: false,
|
2139
2187
|
# namespace_name: "NamespaceName", # required
|
2140
2188
|
# owner_account: "String",
|
2141
2189
|
# snapshot_arn: "String",
|
@@ -2145,6 +2193,8 @@ module Aws::RedshiftServerless
|
|
2145
2193
|
#
|
2146
2194
|
# @example Response structure
|
2147
2195
|
#
|
2196
|
+
# resp.namespace.admin_password_secret_arn #=> String
|
2197
|
+
# resp.namespace.admin_password_secret_kms_key_id #=> String
|
2148
2198
|
# resp.namespace.admin_username #=> String
|
2149
2199
|
# resp.namespace.creation_date #=> Time
|
2150
2200
|
# resp.namespace.db_name #=> String
|
@@ -2371,11 +2421,18 @@ module Aws::RedshiftServerless
|
|
2371
2421
|
# either field, but you can't update both `kmsKeyId` and `logExports`
|
2372
2422
|
# in a single request.
|
2373
2423
|
#
|
2424
|
+
# @option params [String] :admin_password_secret_kms_key_id
|
2425
|
+
# The ID of the Key Management Service (KMS) key used to encrypt and
|
2426
|
+
# store the namespace's admin credentials secret. You can only use this
|
2427
|
+
# parameter if `manageAdminPassword` is true.
|
2428
|
+
#
|
2374
2429
|
# @option params [String] :admin_user_password
|
2375
2430
|
# The password of the administrator for the first database created in
|
2376
2431
|
# the namespace. This parameter must be updated together with
|
2377
2432
|
# `adminUsername`.
|
2378
2433
|
#
|
2434
|
+
# You can't use `adminUserPassword` if `manageAdminPassword` is true.
|
2435
|
+
#
|
2379
2436
|
# @option params [String] :admin_username
|
2380
2437
|
# The username of the administrator for the first database created in
|
2381
2438
|
# the namespace. This parameter must be updated together with
|
@@ -2398,6 +2455,13 @@ module Aws::RedshiftServerless
|
|
2398
2455
|
# The types of logs the namespace can export. The export types are
|
2399
2456
|
# `userlog`, `connectionlog`, and `useractivitylog`.
|
2400
2457
|
#
|
2458
|
+
# @option params [Boolean] :manage_admin_password
|
2459
|
+
# If `true`, Amazon Redshift uses Secrets Manager to manage the
|
2460
|
+
# namespace's admin credentials. You can't use `adminUserPassword` if
|
2461
|
+
# `manageAdminPassword` is true. If `manageAdminPassword` is false or
|
2462
|
+
# not set, Amazon Redshift uses `adminUserPassword` for the admin user
|
2463
|
+
# account's password.
|
2464
|
+
#
|
2401
2465
|
# @option params [required, String] :namespace_name
|
2402
2466
|
# The name of the namespace to update. You can't update the name of a
|
2403
2467
|
# namespace once it is created.
|
@@ -2409,17 +2473,21 @@ module Aws::RedshiftServerless
|
|
2409
2473
|
# @example Request syntax with placeholder values
|
2410
2474
|
#
|
2411
2475
|
# resp = client.update_namespace({
|
2476
|
+
# admin_password_secret_kms_key_id: "KmsKeyId",
|
2412
2477
|
# admin_user_password: "DbPassword",
|
2413
2478
|
# admin_username: "DbUser",
|
2414
2479
|
# default_iam_role_arn: "String",
|
2415
2480
|
# iam_roles: ["IamRoleArn"],
|
2416
2481
|
# kms_key_id: "String",
|
2417
2482
|
# log_exports: ["useractivitylog"], # accepts useractivitylog, userlog, connectionlog
|
2483
|
+
# manage_admin_password: false,
|
2418
2484
|
# namespace_name: "NamespaceName", # required
|
2419
2485
|
# })
|
2420
2486
|
#
|
2421
2487
|
# @example Response structure
|
2422
2488
|
#
|
2489
|
+
# resp.namespace.admin_password_secret_arn #=> String
|
2490
|
+
# resp.namespace.admin_password_secret_kms_key_id #=> String
|
2423
2491
|
# resp.namespace.admin_username #=> String
|
2424
2492
|
# resp.namespace.creation_date #=> Time
|
2425
2493
|
# resp.namespace.db_name #=> String
|
@@ -2469,6 +2537,8 @@ module Aws::RedshiftServerless
|
|
2469
2537
|
# resp.snapshot.accounts_with_restore_access #=> Array
|
2470
2538
|
# resp.snapshot.accounts_with_restore_access[0] #=> String
|
2471
2539
|
# resp.snapshot.actual_incremental_backup_size_in_mega_bytes #=> Float
|
2540
|
+
# resp.snapshot.admin_password_secret_arn #=> String
|
2541
|
+
# resp.snapshot.admin_password_secret_kms_key_id #=> String
|
2472
2542
|
# resp.snapshot.admin_username #=> String
|
2473
2543
|
# resp.snapshot.backup_progress_in_mega_bytes #=> Float
|
2474
2544
|
# resp.snapshot.current_backup_rate_in_mega_bytes_per_second #=> Float
|
@@ -2662,7 +2732,7 @@ module Aws::RedshiftServerless
|
|
2662
2732
|
params: params,
|
2663
2733
|
config: config)
|
2664
2734
|
context[:gem_name] = 'aws-sdk-redshiftserverless'
|
2665
|
-
context[:gem_version] = '1.
|
2735
|
+
context[:gem_version] = '1.15.0'
|
2666
2736
|
Seahorse::Client::Request.new(handlers, context)
|
2667
2737
|
end
|
2668
2738
|
|
@@ -207,6 +207,7 @@ module Aws::RedshiftServerless
|
|
207
207
|
CreateEndpointAccessResponse.add_member(:endpoint, Shapes::ShapeRef.new(shape: EndpointAccess, location_name: "endpoint"))
|
208
208
|
CreateEndpointAccessResponse.struct_class = Types::CreateEndpointAccessResponse
|
209
209
|
|
210
|
+
CreateNamespaceRequest.add_member(:admin_password_secret_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "adminPasswordSecretKmsKeyId"))
|
210
211
|
CreateNamespaceRequest.add_member(:admin_user_password, Shapes::ShapeRef.new(shape: DbPassword, location_name: "adminUserPassword"))
|
211
212
|
CreateNamespaceRequest.add_member(:admin_username, Shapes::ShapeRef.new(shape: DbUser, location_name: "adminUsername"))
|
212
213
|
CreateNamespaceRequest.add_member(:db_name, Shapes::ShapeRef.new(shape: String, location_name: "dbName"))
|
@@ -214,6 +215,7 @@ module Aws::RedshiftServerless
|
|
214
215
|
CreateNamespaceRequest.add_member(:iam_roles, Shapes::ShapeRef.new(shape: IamRoleArnList, location_name: "iamRoles"))
|
215
216
|
CreateNamespaceRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
|
216
217
|
CreateNamespaceRequest.add_member(:log_exports, Shapes::ShapeRef.new(shape: LogExportList, location_name: "logExports"))
|
218
|
+
CreateNamespaceRequest.add_member(:manage_admin_password, Shapes::ShapeRef.new(shape: Boolean, location_name: "manageAdminPassword"))
|
217
219
|
CreateNamespaceRequest.add_member(:namespace_name, Shapes::ShapeRef.new(shape: NamespaceName, required: true, location_name: "namespaceName"))
|
218
220
|
CreateNamespaceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
219
221
|
CreateNamespaceRequest.struct_class = Types::CreateNamespaceRequest
|
@@ -462,6 +464,8 @@ module Aws::RedshiftServerless
|
|
462
464
|
|
463
465
|
LogExportList.member = Shapes::ShapeRef.new(shape: LogExport)
|
464
466
|
|
467
|
+
Namespace.add_member(:admin_password_secret_arn, Shapes::ShapeRef.new(shape: String, location_name: "adminPasswordSecretArn"))
|
468
|
+
Namespace.add_member(:admin_password_secret_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "adminPasswordSecretKmsKeyId"))
|
465
469
|
Namespace.add_member(:admin_username, Shapes::ShapeRef.new(shape: DbUser, location_name: "adminUsername"))
|
466
470
|
Namespace.add_member(:creation_date, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "creationDate"))
|
467
471
|
Namespace.add_member(:db_name, Shapes::ShapeRef.new(shape: String, location_name: "dbName"))
|
@@ -519,6 +523,8 @@ module Aws::RedshiftServerless
|
|
519
523
|
RestoreFromRecoveryPointResponse.add_member(:recovery_point_id, Shapes::ShapeRef.new(shape: String, location_name: "recoveryPointId"))
|
520
524
|
RestoreFromRecoveryPointResponse.struct_class = Types::RestoreFromRecoveryPointResponse
|
521
525
|
|
526
|
+
RestoreFromSnapshotRequest.add_member(:admin_password_secret_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "adminPasswordSecretKmsKeyId"))
|
527
|
+
RestoreFromSnapshotRequest.add_member(:manage_admin_password, Shapes::ShapeRef.new(shape: Boolean, location_name: "manageAdminPassword"))
|
522
528
|
RestoreFromSnapshotRequest.add_member(:namespace_name, Shapes::ShapeRef.new(shape: NamespaceName, required: true, location_name: "namespaceName"))
|
523
529
|
RestoreFromSnapshotRequest.add_member(:owner_account, Shapes::ShapeRef.new(shape: String, location_name: "ownerAccount"))
|
524
530
|
RestoreFromSnapshotRequest.add_member(:snapshot_arn, Shapes::ShapeRef.new(shape: String, location_name: "snapshotArn"))
|
@@ -554,6 +560,8 @@ module Aws::RedshiftServerless
|
|
554
560
|
Snapshot.add_member(:accounts_with_provisioned_restore_access, Shapes::ShapeRef.new(shape: AccountIdList, location_name: "accountsWithProvisionedRestoreAccess"))
|
555
561
|
Snapshot.add_member(:accounts_with_restore_access, Shapes::ShapeRef.new(shape: AccountIdList, location_name: "accountsWithRestoreAccess"))
|
556
562
|
Snapshot.add_member(:actual_incremental_backup_size_in_mega_bytes, Shapes::ShapeRef.new(shape: Double, location_name: "actualIncrementalBackupSizeInMegaBytes"))
|
563
|
+
Snapshot.add_member(:admin_password_secret_arn, Shapes::ShapeRef.new(shape: String, location_name: "adminPasswordSecretArn"))
|
564
|
+
Snapshot.add_member(:admin_password_secret_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "adminPasswordSecretKmsKeyId"))
|
557
565
|
Snapshot.add_member(:admin_username, Shapes::ShapeRef.new(shape: String, location_name: "adminUsername"))
|
558
566
|
Snapshot.add_member(:backup_progress_in_mega_bytes, Shapes::ShapeRef.new(shape: Double, location_name: "backupProgressInMegaBytes"))
|
559
567
|
Snapshot.add_member(:current_backup_rate_in_mega_bytes_per_second, Shapes::ShapeRef.new(shape: Double, location_name: "currentBackupRateInMegaBytesPerSecond"))
|
@@ -631,12 +639,14 @@ module Aws::RedshiftServerless
|
|
631
639
|
UpdateEndpointAccessResponse.add_member(:endpoint, Shapes::ShapeRef.new(shape: EndpointAccess, location_name: "endpoint"))
|
632
640
|
UpdateEndpointAccessResponse.struct_class = Types::UpdateEndpointAccessResponse
|
633
641
|
|
642
|
+
UpdateNamespaceRequest.add_member(:admin_password_secret_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "adminPasswordSecretKmsKeyId"))
|
634
643
|
UpdateNamespaceRequest.add_member(:admin_user_password, Shapes::ShapeRef.new(shape: DbPassword, location_name: "adminUserPassword"))
|
635
644
|
UpdateNamespaceRequest.add_member(:admin_username, Shapes::ShapeRef.new(shape: DbUser, location_name: "adminUsername"))
|
636
645
|
UpdateNamespaceRequest.add_member(:default_iam_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "defaultIamRoleArn"))
|
637
646
|
UpdateNamespaceRequest.add_member(:iam_roles, Shapes::ShapeRef.new(shape: IamRoleArnList, location_name: "iamRoles"))
|
638
647
|
UpdateNamespaceRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
|
639
648
|
UpdateNamespaceRequest.add_member(:log_exports, Shapes::ShapeRef.new(shape: LogExportList, location_name: "logExports"))
|
649
|
+
UpdateNamespaceRequest.add_member(:manage_admin_password, Shapes::ShapeRef.new(shape: Boolean, location_name: "manageAdminPassword"))
|
640
650
|
UpdateNamespaceRequest.add_member(:namespace_name, Shapes::ShapeRef.new(shape: NamespaceName, required: true, location_name: "namespaceName"))
|
641
651
|
UpdateNamespaceRequest.struct_class = Types::UpdateNamespaceRequest
|
642
652
|
|
@@ -158,9 +158,17 @@ module Aws::RedshiftServerless
|
|
158
158
|
include Aws::Structure
|
159
159
|
end
|
160
160
|
|
161
|
+
# @!attribute [rw] admin_password_secret_kms_key_id
|
162
|
+
# The ID of the Key Management Service (KMS) key used to encrypt and
|
163
|
+
# store the namespace's admin credentials secret. You can only use
|
164
|
+
# this parameter if `manageAdminPassword` is true.
|
165
|
+
# @return [String]
|
166
|
+
#
|
161
167
|
# @!attribute [rw] admin_user_password
|
162
168
|
# The password of the administrator for the first database created in
|
163
169
|
# the namespace.
|
170
|
+
#
|
171
|
+
# You can't use `adminUserPassword` if `manageAdminPassword` is true.
|
164
172
|
# @return [String]
|
165
173
|
#
|
166
174
|
# @!attribute [rw] admin_username
|
@@ -191,6 +199,14 @@ module Aws::RedshiftServerless
|
|
191
199
|
# are `userlog`, `connectionlog`, and `useractivitylog`.
|
192
200
|
# @return [Array<String>]
|
193
201
|
#
|
202
|
+
# @!attribute [rw] manage_admin_password
|
203
|
+
# If `true`, Amazon Redshift uses Secrets Manager to manage the
|
204
|
+
# namespace's admin credentials. You can't use `adminUserPassword`
|
205
|
+
# if `manageAdminPassword` is true. If `manageAdminPassword` is false
|
206
|
+
# or not set, Amazon Redshift uses `adminUserPassword` for the admin
|
207
|
+
# user account's password.
|
208
|
+
# @return [Boolean]
|
209
|
+
#
|
194
210
|
# @!attribute [rw] namespace_name
|
195
211
|
# The name of the namespace.
|
196
212
|
# @return [String]
|
@@ -202,6 +218,7 @@ module Aws::RedshiftServerless
|
|
202
218
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/CreateNamespaceRequest AWS API Documentation
|
203
219
|
#
|
204
220
|
class CreateNamespaceRequest < Struct.new(
|
221
|
+
:admin_password_secret_kms_key_id,
|
205
222
|
:admin_user_password,
|
206
223
|
:admin_username,
|
207
224
|
:db_name,
|
@@ -209,6 +226,7 @@ module Aws::RedshiftServerless
|
|
209
226
|
:iam_roles,
|
210
227
|
:kms_key_id,
|
211
228
|
:log_exports,
|
229
|
+
:manage_admin_password,
|
212
230
|
:namespace_name,
|
213
231
|
:tags)
|
214
232
|
SENSITIVE = [:admin_user_password, :admin_username]
|
@@ -1361,6 +1379,16 @@ module Aws::RedshiftServerless
|
|
1361
1379
|
|
1362
1380
|
# A collection of database objects and users.
|
1363
1381
|
#
|
1382
|
+
# @!attribute [rw] admin_password_secret_arn
|
1383
|
+
# The Amazon Resource Name (ARN) for the namespace's admin user
|
1384
|
+
# credentials secret.
|
1385
|
+
# @return [String]
|
1386
|
+
#
|
1387
|
+
# @!attribute [rw] admin_password_secret_kms_key_id
|
1388
|
+
# The ID of the Key Management Service (KMS) key used to encrypt and
|
1389
|
+
# store the namespace's admin credentials secret.
|
1390
|
+
# @return [String]
|
1391
|
+
#
|
1364
1392
|
# @!attribute [rw] admin_username
|
1365
1393
|
# The username of the administrator for the first database created in
|
1366
1394
|
# the namespace.
|
@@ -1419,6 +1447,8 @@ module Aws::RedshiftServerless
|
|
1419
1447
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/Namespace AWS API Documentation
|
1420
1448
|
#
|
1421
1449
|
class Namespace < Struct.new(
|
1450
|
+
:admin_password_secret_arn,
|
1451
|
+
:admin_password_secret_kms_key_id,
|
1422
1452
|
:admin_username,
|
1423
1453
|
:creation_date,
|
1424
1454
|
:db_name,
|
@@ -1619,6 +1649,18 @@ module Aws::RedshiftServerless
|
|
1619
1649
|
include Aws::Structure
|
1620
1650
|
end
|
1621
1651
|
|
1652
|
+
# @!attribute [rw] admin_password_secret_kms_key_id
|
1653
|
+
# The ID of the Key Management Service (KMS) key used to encrypt and
|
1654
|
+
# store the namespace's admin credentials secret.
|
1655
|
+
# @return [String]
|
1656
|
+
#
|
1657
|
+
# @!attribute [rw] manage_admin_password
|
1658
|
+
# If `true`, Amazon Redshift uses Secrets Manager to manage the
|
1659
|
+
# restored snapshot's admin credentials. If `MmanageAdminPassword` is
|
1660
|
+
# false or not set, Amazon Redshift uses the admin credentials that
|
1661
|
+
# the namespace or cluster had at the time the snapshot was taken.
|
1662
|
+
# @return [Boolean]
|
1663
|
+
#
|
1622
1664
|
# @!attribute [rw] namespace_name
|
1623
1665
|
# The name of the namespace to restore the snapshot to.
|
1624
1666
|
# @return [String]
|
@@ -1649,6 +1691,8 @@ module Aws::RedshiftServerless
|
|
1649
1691
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/RestoreFromSnapshotRequest AWS API Documentation
|
1650
1692
|
#
|
1651
1693
|
class RestoreFromSnapshotRequest < Struct.new(
|
1694
|
+
:admin_password_secret_kms_key_id,
|
1695
|
+
:manage_admin_password,
|
1652
1696
|
:namespace_name,
|
1653
1697
|
:owner_account,
|
1654
1698
|
:snapshot_arn,
|
@@ -1784,6 +1828,16 @@ module Aws::RedshiftServerless
|
|
1784
1828
|
# The size of the incremental backup in megabytes.
|
1785
1829
|
# @return [Float]
|
1786
1830
|
#
|
1831
|
+
# @!attribute [rw] admin_password_secret_arn
|
1832
|
+
# The Amazon Resource Name (ARN) for the namespace's admin user
|
1833
|
+
# credentials secret.
|
1834
|
+
# @return [String]
|
1835
|
+
#
|
1836
|
+
# @!attribute [rw] admin_password_secret_kms_key_id
|
1837
|
+
# The ID of the Key Management Service (KMS) key used to encrypt and
|
1838
|
+
# store the namespace's admin credentials secret.
|
1839
|
+
# @return [String]
|
1840
|
+
#
|
1787
1841
|
# @!attribute [rw] admin_username
|
1788
1842
|
# The username of the database within a snapshot.
|
1789
1843
|
# @return [String]
|
@@ -1862,6 +1916,8 @@ module Aws::RedshiftServerless
|
|
1862
1916
|
:accounts_with_provisioned_restore_access,
|
1863
1917
|
:accounts_with_restore_access,
|
1864
1918
|
:actual_incremental_backup_size_in_mega_bytes,
|
1919
|
+
:admin_password_secret_arn,
|
1920
|
+
:admin_password_secret_kms_key_id,
|
1865
1921
|
:admin_username,
|
1866
1922
|
:backup_progress_in_mega_bytes,
|
1867
1923
|
:current_backup_rate_in_mega_bytes_per_second,
|
@@ -2101,10 +2157,18 @@ module Aws::RedshiftServerless
|
|
2101
2157
|
include Aws::Structure
|
2102
2158
|
end
|
2103
2159
|
|
2160
|
+
# @!attribute [rw] admin_password_secret_kms_key_id
|
2161
|
+
# The ID of the Key Management Service (KMS) key used to encrypt and
|
2162
|
+
# store the namespace's admin credentials secret. You can only use
|
2163
|
+
# this parameter if `manageAdminPassword` is true.
|
2164
|
+
# @return [String]
|
2165
|
+
#
|
2104
2166
|
# @!attribute [rw] admin_user_password
|
2105
2167
|
# The password of the administrator for the first database created in
|
2106
2168
|
# the namespace. This parameter must be updated together with
|
2107
2169
|
# `adminUsername`.
|
2170
|
+
#
|
2171
|
+
# You can't use `adminUserPassword` if `manageAdminPassword` is true.
|
2108
2172
|
# @return [String]
|
2109
2173
|
#
|
2110
2174
|
# @!attribute [rw] admin_username
|
@@ -2134,6 +2198,14 @@ module Aws::RedshiftServerless
|
|
2134
2198
|
# `userlog`, `connectionlog`, and `useractivitylog`.
|
2135
2199
|
# @return [Array<String>]
|
2136
2200
|
#
|
2201
|
+
# @!attribute [rw] manage_admin_password
|
2202
|
+
# If `true`, Amazon Redshift uses Secrets Manager to manage the
|
2203
|
+
# namespace's admin credentials. You can't use `adminUserPassword`
|
2204
|
+
# if `manageAdminPassword` is true. If `manageAdminPassword` is false
|
2205
|
+
# or not set, Amazon Redshift uses `adminUserPassword` for the admin
|
2206
|
+
# user account's password.
|
2207
|
+
# @return [Boolean]
|
2208
|
+
#
|
2137
2209
|
# @!attribute [rw] namespace_name
|
2138
2210
|
# The name of the namespace to update. You can't update the name of a
|
2139
2211
|
# namespace once it is created.
|
@@ -2142,12 +2214,14 @@ module Aws::RedshiftServerless
|
|
2142
2214
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UpdateNamespaceRequest AWS API Documentation
|
2143
2215
|
#
|
2144
2216
|
class UpdateNamespaceRequest < Struct.new(
|
2217
|
+
:admin_password_secret_kms_key_id,
|
2145
2218
|
:admin_user_password,
|
2146
2219
|
:admin_username,
|
2147
2220
|
:default_iam_role_arn,
|
2148
2221
|
:iam_roles,
|
2149
2222
|
:kms_key_id,
|
2150
2223
|
:log_exports,
|
2224
|
+
:manage_admin_password,
|
2151
2225
|
:namespace_name)
|
2152
2226
|
SENSITIVE = [:admin_user_password, :admin_username]
|
2153
2227
|
include Aws::Structure
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-redshiftserverless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.15.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: 2023-
|
11
|
+
date: 2023-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.184.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.184.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|