aws-sdk-redshiftserverless 1.14.0 → 1.16.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d9145df9ac80bf957eb4ececc322706328f55cea62d0b0ee7a3a7922b83a6d8
4
- data.tar.gz: 91035b8b6a9b2fe9cd03b857a64e94dd947dc072d611bf49ef93280ca7c5b1e2
3
+ metadata.gz: a7f843af5c6294d5a58229787e2de8ef3db5814abea1c08389f7936475b848fe
4
+ data.tar.gz: 202a005a83da028651507f494eee61bfff2f746376253829c30a00525ce66792
5
5
  SHA512:
6
- metadata.gz: bf66da7df5a9090b58121fdc4bbfa3cc4682e49efbae707355d5398563e6f9bb6227a44e21bb83659410d8e7fda2ca866ae6716fa283cdd9d2f5c0197481c4f9
7
- data.tar.gz: e42ca3e98c620512822ccf98501ffcdb6290612d2f59b7b4c46377ecbc5b5549186589b4dbf13f8300583561ef435d7be89b61991874df2c0c14151ce62d630c
6
+ metadata.gz: aca02355bf2303df7f2a6ec2eaf7e900c2409ca7022a87ba2957b0f04513eaa21fe72747214fff13b1909eeb861a7722ec3dc6c6deed989c1f3731e7cd1a7e0d
7
+ data.tar.gz: 4588454d995d8f2f6d8a0049b1580541cb856933e467565a6e18d9430c138735e9452159127613dfb4add88b294897116c90e7a9f5b1e678b8ef3621df2ec80a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.16.0 (2023-10-23)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for customers to see the patch version and workgroup version in Amazon Redshift Serverless.
8
+
9
+ 1.15.0 (2023-10-16)
10
+ ------------------
11
+
12
+ * Feature - Added support for managing credentials of serverless namespace admin using AWS Secrets Manager.
13
+
4
14
  1.14.0 (2023-09-27)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.14.0
1
+ 1.16.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
@@ -850,6 +872,7 @@ module Aws::RedshiftServerless
850
872
  # resp.workgroup.endpoint.vpc_endpoints[0].vpc_id #=> String
851
873
  # resp.workgroup.enhanced_vpc_routing #=> Boolean
852
874
  # resp.workgroup.namespace_name #=> String
875
+ # resp.workgroup.patch_version #=> String
853
876
  # resp.workgroup.port #=> Integer
854
877
  # resp.workgroup.publicly_accessible #=> Boolean
855
878
  # resp.workgroup.security_group_ids #=> Array
@@ -860,6 +883,7 @@ module Aws::RedshiftServerless
860
883
  # resp.workgroup.workgroup_arn #=> String
861
884
  # resp.workgroup.workgroup_id #=> String
862
885
  # resp.workgroup.workgroup_name #=> String
886
+ # resp.workgroup.workgroup_version #=> String
863
887
  #
864
888
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/CreateWorkgroup AWS API Documentation
865
889
  #
@@ -944,6 +968,8 @@ module Aws::RedshiftServerless
944
968
  #
945
969
  # @example Response structure
946
970
  #
971
+ # resp.namespace.admin_password_secret_arn #=> String
972
+ # resp.namespace.admin_password_secret_kms_key_id #=> String
947
973
  # resp.namespace.admin_username #=> String
948
974
  # resp.namespace.creation_date #=> Time
949
975
  # resp.namespace.db_name #=> String
@@ -1011,6 +1037,8 @@ module Aws::RedshiftServerless
1011
1037
  # resp.snapshot.accounts_with_restore_access #=> Array
1012
1038
  # resp.snapshot.accounts_with_restore_access[0] #=> String
1013
1039
  # resp.snapshot.actual_incremental_backup_size_in_mega_bytes #=> Float
1040
+ # resp.snapshot.admin_password_secret_arn #=> String
1041
+ # resp.snapshot.admin_password_secret_kms_key_id #=> String
1014
1042
  # resp.snapshot.admin_username #=> String
1015
1043
  # resp.snapshot.backup_progress_in_mega_bytes #=> Float
1016
1044
  # resp.snapshot.current_backup_rate_in_mega_bytes_per_second #=> Float
@@ -1106,6 +1134,7 @@ module Aws::RedshiftServerless
1106
1134
  # resp.workgroup.endpoint.vpc_endpoints[0].vpc_id #=> String
1107
1135
  # resp.workgroup.enhanced_vpc_routing #=> Boolean
1108
1136
  # resp.workgroup.namespace_name #=> String
1137
+ # resp.workgroup.patch_version #=> String
1109
1138
  # resp.workgroup.port #=> Integer
1110
1139
  # resp.workgroup.publicly_accessible #=> Boolean
1111
1140
  # resp.workgroup.security_group_ids #=> Array
@@ -1116,6 +1145,7 @@ module Aws::RedshiftServerless
1116
1145
  # resp.workgroup.workgroup_arn #=> String
1117
1146
  # resp.workgroup.workgroup_id #=> String
1118
1147
  # resp.workgroup.workgroup_name #=> String
1148
+ # resp.workgroup.workgroup_version #=> String
1119
1149
  #
1120
1150
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/DeleteWorkgroup AWS API Documentation
1121
1151
  #
@@ -1257,6 +1287,8 @@ module Aws::RedshiftServerless
1257
1287
  #
1258
1288
  # @example Response structure
1259
1289
  #
1290
+ # resp.namespace.admin_password_secret_arn #=> String
1291
+ # resp.namespace.admin_password_secret_kms_key_id #=> String
1260
1292
  # resp.namespace.admin_username #=> String
1261
1293
  # resp.namespace.creation_date #=> Time
1262
1294
  # resp.namespace.db_name #=> String
@@ -1373,6 +1405,8 @@ module Aws::RedshiftServerless
1373
1405
  # resp.snapshot.accounts_with_restore_access #=> Array
1374
1406
  # resp.snapshot.accounts_with_restore_access[0] #=> String
1375
1407
  # resp.snapshot.actual_incremental_backup_size_in_mega_bytes #=> Float
1408
+ # resp.snapshot.admin_password_secret_arn #=> String
1409
+ # resp.snapshot.admin_password_secret_kms_key_id #=> String
1376
1410
  # resp.snapshot.admin_username #=> String
1377
1411
  # resp.snapshot.backup_progress_in_mega_bytes #=> Float
1378
1412
  # resp.snapshot.current_backup_rate_in_mega_bytes_per_second #=> Float
@@ -1510,6 +1544,7 @@ module Aws::RedshiftServerless
1510
1544
  # resp.workgroup.endpoint.vpc_endpoints[0].vpc_id #=> String
1511
1545
  # resp.workgroup.enhanced_vpc_routing #=> Boolean
1512
1546
  # resp.workgroup.namespace_name #=> String
1547
+ # resp.workgroup.patch_version #=> String
1513
1548
  # resp.workgroup.port #=> Integer
1514
1549
  # resp.workgroup.publicly_accessible #=> Boolean
1515
1550
  # resp.workgroup.security_group_ids #=> Array
@@ -1520,6 +1555,7 @@ module Aws::RedshiftServerless
1520
1555
  # resp.workgroup.workgroup_arn #=> String
1521
1556
  # resp.workgroup.workgroup_id #=> String
1522
1557
  # resp.workgroup.workgroup_name #=> String
1558
+ # resp.workgroup.workgroup_version #=> String
1523
1559
  #
1524
1560
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetWorkgroup AWS API Documentation
1525
1561
  #
@@ -1626,6 +1662,8 @@ module Aws::RedshiftServerless
1626
1662
  # @example Response structure
1627
1663
  #
1628
1664
  # resp.namespaces #=> Array
1665
+ # resp.namespaces[0].admin_password_secret_arn #=> String
1666
+ # resp.namespaces[0].admin_password_secret_kms_key_id #=> String
1629
1667
  # resp.namespaces[0].admin_username #=> String
1630
1668
  # resp.namespaces[0].creation_date #=> Time
1631
1669
  # resp.namespaces[0].db_name #=> String
@@ -1768,6 +1806,8 @@ module Aws::RedshiftServerless
1768
1806
  # resp.snapshots[0].accounts_with_restore_access #=> Array
1769
1807
  # resp.snapshots[0].accounts_with_restore_access[0] #=> String
1770
1808
  # resp.snapshots[0].actual_incremental_backup_size_in_mega_bytes #=> Float
1809
+ # resp.snapshots[0].admin_password_secret_arn #=> String
1810
+ # resp.snapshots[0].admin_password_secret_kms_key_id #=> String
1771
1811
  # resp.snapshots[0].admin_username #=> String
1772
1812
  # resp.snapshots[0].backup_progress_in_mega_bytes #=> Float
1773
1813
  # resp.snapshots[0].current_backup_rate_in_mega_bytes_per_second #=> Float
@@ -1992,6 +2032,7 @@ module Aws::RedshiftServerless
1992
2032
  # resp.workgroups[0].endpoint.vpc_endpoints[0].vpc_id #=> String
1993
2033
  # resp.workgroups[0].enhanced_vpc_routing #=> Boolean
1994
2034
  # resp.workgroups[0].namespace_name #=> String
2035
+ # resp.workgroups[0].patch_version #=> String
1995
2036
  # resp.workgroups[0].port #=> Integer
1996
2037
  # resp.workgroups[0].publicly_accessible #=> Boolean
1997
2038
  # resp.workgroups[0].security_group_ids #=> Array
@@ -2002,6 +2043,7 @@ module Aws::RedshiftServerless
2002
2043
  # resp.workgroups[0].workgroup_arn #=> String
2003
2044
  # resp.workgroups[0].workgroup_id #=> String
2004
2045
  # resp.workgroups[0].workgroup_name #=> String
2046
+ # resp.workgroups[0].workgroup_version #=> String
2005
2047
  #
2006
2048
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListWorkgroups AWS API Documentation
2007
2049
  #
@@ -2080,6 +2122,8 @@ module Aws::RedshiftServerless
2080
2122
  #
2081
2123
  # @example Response structure
2082
2124
  #
2125
+ # resp.namespace.admin_password_secret_arn #=> String
2126
+ # resp.namespace.admin_password_secret_kms_key_id #=> String
2083
2127
  # resp.namespace.admin_username #=> String
2084
2128
  # resp.namespace.creation_date #=> Time
2085
2129
  # resp.namespace.db_name #=> String
@@ -2106,6 +2150,16 @@ module Aws::RedshiftServerless
2106
2150
 
2107
2151
  # Restores a namespace from a snapshot.
2108
2152
  #
2153
+ # @option params [String] :admin_password_secret_kms_key_id
2154
+ # The ID of the Key Management Service (KMS) key used to encrypt and
2155
+ # store the namespace's admin credentials secret.
2156
+ #
2157
+ # @option params [Boolean] :manage_admin_password
2158
+ # If `true`, Amazon Redshift uses Secrets Manager to manage the restored
2159
+ # snapshot's admin credentials. If `MmanageAdminPassword` is false or
2160
+ # not set, Amazon Redshift uses the admin credentials that the namespace
2161
+ # or cluster had at the time the snapshot was taken.
2162
+ #
2109
2163
  # @option params [required, String] :namespace_name
2110
2164
  # The name of the namespace to restore the snapshot to.
2111
2165
  #
@@ -2136,6 +2190,8 @@ module Aws::RedshiftServerless
2136
2190
  # @example Request syntax with placeholder values
2137
2191
  #
2138
2192
  # resp = client.restore_from_snapshot({
2193
+ # admin_password_secret_kms_key_id: "KmsKeyId",
2194
+ # manage_admin_password: false,
2139
2195
  # namespace_name: "NamespaceName", # required
2140
2196
  # owner_account: "String",
2141
2197
  # snapshot_arn: "String",
@@ -2145,6 +2201,8 @@ module Aws::RedshiftServerless
2145
2201
  #
2146
2202
  # @example Response structure
2147
2203
  #
2204
+ # resp.namespace.admin_password_secret_arn #=> String
2205
+ # resp.namespace.admin_password_secret_kms_key_id #=> String
2148
2206
  # resp.namespace.admin_username #=> String
2149
2207
  # resp.namespace.creation_date #=> Time
2150
2208
  # resp.namespace.db_name #=> String
@@ -2371,11 +2429,18 @@ module Aws::RedshiftServerless
2371
2429
  # either field, but you can't update both `kmsKeyId` and `logExports`
2372
2430
  # in a single request.
2373
2431
  #
2432
+ # @option params [String] :admin_password_secret_kms_key_id
2433
+ # The ID of the Key Management Service (KMS) key used to encrypt and
2434
+ # store the namespace's admin credentials secret. You can only use this
2435
+ # parameter if `manageAdminPassword` is true.
2436
+ #
2374
2437
  # @option params [String] :admin_user_password
2375
2438
  # The password of the administrator for the first database created in
2376
2439
  # the namespace. This parameter must be updated together with
2377
2440
  # `adminUsername`.
2378
2441
  #
2442
+ # You can't use `adminUserPassword` if `manageAdminPassword` is true.
2443
+ #
2379
2444
  # @option params [String] :admin_username
2380
2445
  # The username of the administrator for the first database created in
2381
2446
  # the namespace. This parameter must be updated together with
@@ -2398,6 +2463,13 @@ module Aws::RedshiftServerless
2398
2463
  # The types of logs the namespace can export. The export types are
2399
2464
  # `userlog`, `connectionlog`, and `useractivitylog`.
2400
2465
  #
2466
+ # @option params [Boolean] :manage_admin_password
2467
+ # If `true`, Amazon Redshift uses Secrets Manager to manage the
2468
+ # namespace's admin credentials. You can't use `adminUserPassword` if
2469
+ # `manageAdminPassword` is true. If `manageAdminPassword` is false or
2470
+ # not set, Amazon Redshift uses `adminUserPassword` for the admin user
2471
+ # account's password.
2472
+ #
2401
2473
  # @option params [required, String] :namespace_name
2402
2474
  # The name of the namespace to update. You can't update the name of a
2403
2475
  # namespace once it is created.
@@ -2409,17 +2481,21 @@ module Aws::RedshiftServerless
2409
2481
  # @example Request syntax with placeholder values
2410
2482
  #
2411
2483
  # resp = client.update_namespace({
2484
+ # admin_password_secret_kms_key_id: "KmsKeyId",
2412
2485
  # admin_user_password: "DbPassword",
2413
2486
  # admin_username: "DbUser",
2414
2487
  # default_iam_role_arn: "String",
2415
2488
  # iam_roles: ["IamRoleArn"],
2416
2489
  # kms_key_id: "String",
2417
2490
  # log_exports: ["useractivitylog"], # accepts useractivitylog, userlog, connectionlog
2491
+ # manage_admin_password: false,
2418
2492
  # namespace_name: "NamespaceName", # required
2419
2493
  # })
2420
2494
  #
2421
2495
  # @example Response structure
2422
2496
  #
2497
+ # resp.namespace.admin_password_secret_arn #=> String
2498
+ # resp.namespace.admin_password_secret_kms_key_id #=> String
2423
2499
  # resp.namespace.admin_username #=> String
2424
2500
  # resp.namespace.creation_date #=> Time
2425
2501
  # resp.namespace.db_name #=> String
@@ -2469,6 +2545,8 @@ module Aws::RedshiftServerless
2469
2545
  # resp.snapshot.accounts_with_restore_access #=> Array
2470
2546
  # resp.snapshot.accounts_with_restore_access[0] #=> String
2471
2547
  # resp.snapshot.actual_incremental_backup_size_in_mega_bytes #=> Float
2548
+ # resp.snapshot.admin_password_secret_arn #=> String
2549
+ # resp.snapshot.admin_password_secret_kms_key_id #=> String
2472
2550
  # resp.snapshot.admin_username #=> String
2473
2551
  # resp.snapshot.backup_progress_in_mega_bytes #=> Float
2474
2552
  # resp.snapshot.current_backup_rate_in_mega_bytes_per_second #=> Float
@@ -2629,6 +2707,7 @@ module Aws::RedshiftServerless
2629
2707
  # resp.workgroup.endpoint.vpc_endpoints[0].vpc_id #=> String
2630
2708
  # resp.workgroup.enhanced_vpc_routing #=> Boolean
2631
2709
  # resp.workgroup.namespace_name #=> String
2710
+ # resp.workgroup.patch_version #=> String
2632
2711
  # resp.workgroup.port #=> Integer
2633
2712
  # resp.workgroup.publicly_accessible #=> Boolean
2634
2713
  # resp.workgroup.security_group_ids #=> Array
@@ -2639,6 +2718,7 @@ module Aws::RedshiftServerless
2639
2718
  # resp.workgroup.workgroup_arn #=> String
2640
2719
  # resp.workgroup.workgroup_id #=> String
2641
2720
  # resp.workgroup.workgroup_name #=> String
2721
+ # resp.workgroup.workgroup_version #=> String
2642
2722
  #
2643
2723
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UpdateWorkgroup AWS API Documentation
2644
2724
  #
@@ -2662,7 +2742,7 @@ module Aws::RedshiftServerless
2662
2742
  params: params,
2663
2743
  config: config)
2664
2744
  context[:gem_name] = 'aws-sdk-redshiftserverless'
2665
- context[:gem_version] = '1.14.0'
2745
+ context[:gem_version] = '1.16.0'
2666
2746
  Seahorse::Client::Request.new(handlers, context)
2667
2747
  end
2668
2748
 
@@ -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
 
@@ -706,6 +716,7 @@ module Aws::RedshiftServerless
706
716
  Workgroup.add_member(:endpoint, Shapes::ShapeRef.new(shape: Endpoint, location_name: "endpoint"))
707
717
  Workgroup.add_member(:enhanced_vpc_routing, Shapes::ShapeRef.new(shape: Boolean, location_name: "enhancedVpcRouting"))
708
718
  Workgroup.add_member(:namespace_name, Shapes::ShapeRef.new(shape: String, location_name: "namespaceName"))
719
+ Workgroup.add_member(:patch_version, Shapes::ShapeRef.new(shape: String, location_name: "patchVersion"))
709
720
  Workgroup.add_member(:port, Shapes::ShapeRef.new(shape: Integer, location_name: "port"))
710
721
  Workgroup.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: Boolean, location_name: "publiclyAccessible"))
711
722
  Workgroup.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdList, location_name: "securityGroupIds"))
@@ -714,6 +725,7 @@ module Aws::RedshiftServerless
714
725
  Workgroup.add_member(:workgroup_arn, Shapes::ShapeRef.new(shape: String, location_name: "workgroupArn"))
715
726
  Workgroup.add_member(:workgroup_id, Shapes::ShapeRef.new(shape: String, location_name: "workgroupId"))
716
727
  Workgroup.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupName, location_name: "workgroupName"))
728
+ Workgroup.add_member(:workgroup_version, Shapes::ShapeRef.new(shape: String, location_name: "workgroupVersion"))
717
729
  Workgroup.struct_class = Types::Workgroup
718
730
 
719
731
  WorkgroupList.member = Shapes::ShapeRef.new(shape: Workgroup)
@@ -32,7 +32,7 @@ module Aws::RedshiftServerless
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://redshift-serverless-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -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
@@ -2459,6 +2533,16 @@ module Aws::RedshiftServerless
2459
2533
  # The namespace the workgroup is associated with.
2460
2534
  # @return [String]
2461
2535
  #
2536
+ # @!attribute [rw] patch_version
2537
+ # The patch version of your Amazon Redshift Serverless workgroup. For
2538
+ # more information about patch versions, see [Cluster versions for
2539
+ # Amazon Redshift][1].
2540
+ #
2541
+ #
2542
+ #
2543
+ # [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/cluster-versions.html
2544
+ # @return [String]
2545
+ #
2462
2546
  # @!attribute [rw] port
2463
2547
  # The custom port to use when connecting to a workgroup. Valid port
2464
2548
  # ranges are 5431-5455 and 8191-8215. The default is 5439.
@@ -2493,6 +2577,16 @@ module Aws::RedshiftServerless
2493
2577
  # The name of the workgroup.
2494
2578
  # @return [String]
2495
2579
  #
2580
+ # @!attribute [rw] workgroup_version
2581
+ # The Amazon Redshift Serverless version of your workgroup. For more
2582
+ # information about Amazon Redshift Serverless versions, see[Cluster
2583
+ # versions for Amazon Redshift][1].
2584
+ #
2585
+ #
2586
+ #
2587
+ # [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/cluster-versions.html
2588
+ # @return [String]
2589
+ #
2496
2590
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/Workgroup AWS API Documentation
2497
2591
  #
2498
2592
  class Workgroup < Struct.new(
@@ -2502,6 +2596,7 @@ module Aws::RedshiftServerless
2502
2596
  :endpoint,
2503
2597
  :enhanced_vpc_routing,
2504
2598
  :namespace_name,
2599
+ :patch_version,
2505
2600
  :port,
2506
2601
  :publicly_accessible,
2507
2602
  :security_group_ids,
@@ -2509,7 +2604,8 @@ module Aws::RedshiftServerless
2509
2604
  :subnet_ids,
2510
2605
  :workgroup_arn,
2511
2606
  :workgroup_id,
2512
- :workgroup_name)
2607
+ :workgroup_name,
2608
+ :workgroup_version)
2513
2609
  SENSITIVE = []
2514
2610
  include Aws::Structure
2515
2611
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-redshiftserverless/customizations'
52
52
  # @!group service
53
53
  module Aws::RedshiftServerless
54
54
 
55
- GEM_VERSION = '1.14.0'
55
+ GEM_VERSION = '1.16.0'
56
56
 
57
57
  end
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.14.0
4
+ version: 1.16.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-09-27 00:00:00.000000000 Z
11
+ date: 2023-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core