aws-sdk-redshiftserverless 1.42.0 → 1.44.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: b8dd1ad1e0ba69693670734188014c8487dbd0750fff414f76f29b2190848db2
4
- data.tar.gz: 3e461ea47c89ff5fbd3c53002f8032ad9548bae0f4d24bedd4787dcbecc7370d
3
+ metadata.gz: 370c11d27c41a367865068934d684e86a0847b6a327a20b8741388afbeb08074
4
+ data.tar.gz: 8c13d9489687db2946c424ad691e56e87a6ee7c64b50c5e353a221da02f5979e
5
5
  SHA512:
6
- metadata.gz: 1b749d62e24be630ce2747ffdae26a48d7c22f6ee97845944f125fbc8ae5809fd0c4fccab1e62dc0a188608705040e7fce83e1c8b0d5fa99efe5e8b4bff296d2
7
- data.tar.gz: c323ebadbd1abdc7cabd39a51fa575cf29a52521213e448daf9c86c9a9919af2a874a698cd4990a645e3ea307365650ea12b5ee7a1818efa8157dcd7c25a05c8
6
+ metadata.gz: 02f8b0afa3e60c16a48cbc0bef9252be11e9fc4aed84be4cda2d763fc65220d5aef56b9caef9fecd0a70f20cb786a40287950247e4debc4dc2508e7d655c6760
7
+ data.tar.gz: b857428745e3a7a0237083708833e54cac0ff172419ed77429a1ad1324de784fcbb3472f63b6c7eaba8a50109a9f48a0e4c2b6011c99ba628ea79afdd424a538
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.44.0 (2025-01-15)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.43.0 (2024-12-03)
10
+ ------------------
11
+
12
+ * Feature - Adds support for the ListManagedWorkgroups API to get an overview of existing managed workgroups.
13
+
4
14
  1.42.0 (2024-11-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.42.0
1
+ 1.44.0
@@ -257,11 +257,34 @@ module Aws::RedshiftServerless
257
257
  # Used when loading credentials from the shared credentials file
258
258
  # at HOME/.aws/credentials. When not specified, 'default' is used.
259
259
  #
260
+ # @option options [String] :request_checksum_calculation ("when_supported")
261
+ # Determines when a checksum will be calculated for request payloads. Values are:
262
+ #
263
+ # * `when_supported` - (default) When set, a checksum will be
264
+ # calculated for all request payloads of operations modeled with the
265
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
266
+ # `requestAlgorithmMember` is modeled.
267
+ # * `when_required` - When set, a checksum will only be calculated for
268
+ # request payloads of operations modeled with the `httpChecksum` trait where
269
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
270
+ # is modeled and supplied.
271
+ #
260
272
  # @option options [Integer] :request_min_compression_size_bytes (10240)
261
273
  # The minimum size in bytes that triggers compression for request
262
274
  # bodies. The value must be non-negative integer value between 0
263
275
  # and 10485780 bytes inclusive.
264
276
  #
277
+ # @option options [String] :response_checksum_validation ("when_supported")
278
+ # Determines when checksum validation will be performed on response payloads. Values are:
279
+ #
280
+ # * `when_supported` - (default) When set, checksum validation is performed on all
281
+ # response payloads of operations modeled with the `httpChecksum` trait where
282
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
283
+ # are supported.
284
+ # * `when_required` - When set, checksum validation is not performed on
285
+ # response payloads of operations unless the checksum algorithm is supported and
286
+ # the `requestValidationModeMember` member is set to `ENABLED`.
287
+ #
265
288
  # @option options [Proc] :retry_backoff
266
289
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
267
290
  # This option is only used in the `legacy` retry mode.
@@ -1069,6 +1092,26 @@ module Aws::RedshiftServerless
1069
1092
 
1070
1093
  # Creates an workgroup in Amazon Redshift Serverless.
1071
1094
  #
1095
+ # VPC Block Public Access (BPA) enables you to block resources in VPCs
1096
+ # and subnets that you own in a Region from reaching or being reached
1097
+ # from the internet through internet gateways and egress-only internet
1098
+ # gateways. If a workgroup is in an account with VPC BPA turned on, the
1099
+ # following capabilities are blocked:
1100
+ #
1101
+ # * Creating a public access workgroup
1102
+ #
1103
+ # * Modifying a private workgroup to public
1104
+ #
1105
+ # * Adding a subnet with VPC BPA turned on to the workgroup when the
1106
+ # workgroup is public
1107
+ #
1108
+ # For more information about VPC BPA, see [Block public access to VPCs
1109
+ # and subnets][1] in the *Amazon VPC User Guide*.
1110
+ #
1111
+ #
1112
+ #
1113
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html
1114
+ #
1072
1115
  # @option params [Integer] :base_capacity
1073
1116
  # The base data warehouse capacity of the workgroup in Redshift
1074
1117
  # Processing Units (RPUs).
@@ -1596,7 +1639,12 @@ module Aws::RedshiftServerless
1596
1639
  # optionally specify a duration between 900 seconds (15 minutes) and
1597
1640
  # 3600 seconds (60 minutes).
1598
1641
  #
1599
- # <p>The Identity and Access Management (IAM) user or role that runs GetCredentials must have an IAM policy attached that allows access to all necessary actions and resources.</p> <p>If the <code>DbName</code> parameter is specified, the IAM policy must allow access to the resource dbname for the specified database name.</p>
1642
+ # The Identity and Access Management (IAM) user or role that runs
1643
+ # GetCredentials must have an IAM policy attached that allows access to
1644
+ # all necessary actions and resources.
1645
+ #
1646
+ # If the `DbName` parameter is specified, the IAM policy must allow
1647
+ # access to the resource dbname for the specified database name.
1600
1648
  #
1601
1649
  # @option params [String] :custom_domain_name
1602
1650
  # The custom domain name associated with the workgroup. The custom
@@ -2224,6 +2272,57 @@ module Aws::RedshiftServerless
2224
2272
  req.send_request(options)
2225
2273
  end
2226
2274
 
2275
+ # Returns information about a list of specified managed workgroups in
2276
+ # your account.
2277
+ #
2278
+ # @option params [Integer] :max_results
2279
+ # An optional parameter that specifies the maximum number of results to
2280
+ # return. You can use nextToken to display the next page of results.
2281
+ #
2282
+ # @option params [String] :next_token
2283
+ # If your initial ListManagedWorkgroups operation returns a nextToken,
2284
+ # you can include the returned nextToken in following
2285
+ # ListManagedWorkgroups operations, which returns results in the next
2286
+ # page.
2287
+ #
2288
+ # @option params [String] :source_arn
2289
+ # The Amazon Resource Name (ARN) for the managed workgroup in the AWS
2290
+ # Glue Data Catalog.
2291
+ #
2292
+ # @return [Types::ListManagedWorkgroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2293
+ #
2294
+ # * {Types::ListManagedWorkgroupsResponse#managed_workgroups #managed_workgroups} => Array&lt;Types::ManagedWorkgroupListItem&gt;
2295
+ # * {Types::ListManagedWorkgroupsResponse#next_token #next_token} => String
2296
+ #
2297
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2298
+ #
2299
+ # @example Request syntax with placeholder values
2300
+ #
2301
+ # resp = client.list_managed_workgroups({
2302
+ # max_results: 1,
2303
+ # next_token: "PaginationToken",
2304
+ # source_arn: "SourceArn",
2305
+ # })
2306
+ #
2307
+ # @example Response structure
2308
+ #
2309
+ # resp.managed_workgroups #=> Array
2310
+ # resp.managed_workgroups[0].creation_date #=> Time
2311
+ # resp.managed_workgroups[0].managed_workgroup_id #=> String
2312
+ # resp.managed_workgroups[0].managed_workgroup_name #=> String
2313
+ # resp.managed_workgroups[0].source_arn #=> String
2314
+ # resp.managed_workgroups[0].status #=> String, one of "CREATING", "DELETING", "MODIFYING", "AVAILABLE", "NOT_AVAILABLE"
2315
+ # resp.next_token #=> String
2316
+ #
2317
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListManagedWorkgroups AWS API Documentation
2318
+ #
2319
+ # @overload list_managed_workgroups(params = {})
2320
+ # @param [Hash] params ({})
2321
+ def list_managed_workgroups(params = {}, options = {})
2322
+ req = build_request(:list_managed_workgroups, params)
2323
+ req.send_request(options)
2324
+ end
2325
+
2227
2326
  # Returns information about a list of specified namespaces.
2228
2327
  #
2229
2328
  # @option params [Integer] :max_results
@@ -3614,6 +3713,26 @@ module Aws::RedshiftServerless
3614
3713
  # update `baseCapacity` or `port` in a single request, but you can't
3615
3714
  # update both in the same request.
3616
3715
  #
3716
+ # VPC Block Public Access (BPA) enables you to block resources in VPCs
3717
+ # and subnets that you own in a Region from reaching or being reached
3718
+ # from the internet through internet gateways and egress-only internet
3719
+ # gateways. If a workgroup is in an account with VPC BPA turned on, the
3720
+ # following capabilities are blocked:
3721
+ #
3722
+ # * Creating a public access workgroup
3723
+ #
3724
+ # * Modifying a private workgroup to public
3725
+ #
3726
+ # * Adding a subnet with VPC BPA turned on to the workgroup when the
3727
+ # workgroup is public
3728
+ #
3729
+ # For more information about VPC BPA, see [Block public access to VPCs
3730
+ # and subnets][1] in the *Amazon VPC User Guide*.
3731
+ #
3732
+ #
3733
+ #
3734
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html
3735
+ #
3617
3736
  # @option params [Integer] :base_capacity
3618
3737
  # The new base data warehouse capacity in Redshift Processing Units
3619
3738
  # (RPUs).
@@ -3763,7 +3882,7 @@ module Aws::RedshiftServerless
3763
3882
  tracer: tracer
3764
3883
  )
3765
3884
  context[:gem_name] = 'aws-sdk-redshiftserverless'
3766
- context[:gem_version] = '1.42.0'
3885
+ context[:gem_version] = '1.44.0'
3767
3886
  Seahorse::Client::Request.new(handlers, context)
3768
3887
  end
3769
3888
 
@@ -106,6 +106,9 @@ module Aws::RedshiftServerless
106
106
  ListEndpointAccessRequest = Shapes::StructureShape.new(name: 'ListEndpointAccessRequest')
107
107
  ListEndpointAccessRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListEndpointAccessRequestMaxResultsInteger')
108
108
  ListEndpointAccessResponse = Shapes::StructureShape.new(name: 'ListEndpointAccessResponse')
109
+ ListManagedWorkgroupsRequest = Shapes::StructureShape.new(name: 'ListManagedWorkgroupsRequest')
110
+ ListManagedWorkgroupsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListManagedWorkgroupsRequestMaxResultsInteger')
111
+ ListManagedWorkgroupsResponse = Shapes::StructureShape.new(name: 'ListManagedWorkgroupsResponse')
109
112
  ListNamespacesRequest = Shapes::StructureShape.new(name: 'ListNamespacesRequest')
110
113
  ListNamespacesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListNamespacesRequestMaxResultsInteger')
111
114
  ListNamespacesResponse = Shapes::StructureShape.new(name: 'ListNamespacesResponse')
@@ -135,6 +138,10 @@ module Aws::RedshiftServerless
135
138
  LogExport = Shapes::StringShape.new(name: 'LogExport')
136
139
  LogExportList = Shapes::ListShape.new(name: 'LogExportList')
137
140
  Long = Shapes::IntegerShape.new(name: 'Long')
141
+ ManagedWorkgroupListItem = Shapes::StructureShape.new(name: 'ManagedWorkgroupListItem')
142
+ ManagedWorkgroupName = Shapes::StringShape.new(name: 'ManagedWorkgroupName')
143
+ ManagedWorkgroupStatus = Shapes::StringShape.new(name: 'ManagedWorkgroupStatus')
144
+ ManagedWorkgroups = Shapes::ListShape.new(name: 'ManagedWorkgroups')
138
145
  Namespace = Shapes::StructureShape.new(name: 'Namespace')
139
146
  NamespaceList = Shapes::ListShape.new(name: 'NamespaceList')
140
147
  NamespaceName = Shapes::StringShape.new(name: 'NamespaceName')
@@ -178,6 +185,7 @@ module Aws::RedshiftServerless
178
185
  SnapshotList = Shapes::ListShape.new(name: 'SnapshotList')
179
186
  SnapshotNamePrefix = Shapes::StringShape.new(name: 'SnapshotNamePrefix')
180
187
  SnapshotStatus = Shapes::StringShape.new(name: 'SnapshotStatus')
188
+ SourceArn = Shapes::StringShape.new(name: 'SourceArn')
181
189
  State = Shapes::StringShape.new(name: 'State')
182
190
  String = Shapes::StringShape.new(name: 'String')
183
191
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
@@ -536,7 +544,7 @@ module Aws::RedshiftServerless
536
544
 
537
545
  ListCustomDomainAssociationsRequest.add_member(:custom_domain_certificate_arn, Shapes::ShapeRef.new(shape: CustomDomainCertificateArnString, location_name: "customDomainCertificateArn"))
538
546
  ListCustomDomainAssociationsRequest.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: CustomDomainName, location_name: "customDomainName"))
539
- ListCustomDomainAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListCustomDomainAssociationsRequestMaxResultsInteger, location_name: "maxResults", metadata: {"box"=>true}))
547
+ ListCustomDomainAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListCustomDomainAssociationsRequestMaxResultsInteger, location_name: "maxResults"))
540
548
  ListCustomDomainAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
541
549
  ListCustomDomainAssociationsRequest.struct_class = Types::ListCustomDomainAssociationsRequest
542
550
 
@@ -544,7 +552,7 @@ module Aws::RedshiftServerless
544
552
  ListCustomDomainAssociationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
545
553
  ListCustomDomainAssociationsResponse.struct_class = Types::ListCustomDomainAssociationsResponse
546
554
 
547
- ListEndpointAccessRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListEndpointAccessRequestMaxResultsInteger, location_name: "maxResults", metadata: {"box"=>true}))
555
+ ListEndpointAccessRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListEndpointAccessRequestMaxResultsInteger, location_name: "maxResults"))
548
556
  ListEndpointAccessRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
549
557
  ListEndpointAccessRequest.add_member(:owner_account, Shapes::ShapeRef.new(shape: OwnerAccount, location_name: "ownerAccount"))
550
558
  ListEndpointAccessRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
@@ -555,7 +563,16 @@ module Aws::RedshiftServerless
555
563
  ListEndpointAccessResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
556
564
  ListEndpointAccessResponse.struct_class = Types::ListEndpointAccessResponse
557
565
 
558
- ListNamespacesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListNamespacesRequestMaxResultsInteger, location_name: "maxResults", metadata: {"box"=>true}))
566
+ ListManagedWorkgroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListManagedWorkgroupsRequestMaxResultsInteger, location_name: "maxResults"))
567
+ ListManagedWorkgroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
568
+ ListManagedWorkgroupsRequest.add_member(:source_arn, Shapes::ShapeRef.new(shape: SourceArn, location_name: "sourceArn"))
569
+ ListManagedWorkgroupsRequest.struct_class = Types::ListManagedWorkgroupsRequest
570
+
571
+ ListManagedWorkgroupsResponse.add_member(:managed_workgroups, Shapes::ShapeRef.new(shape: ManagedWorkgroups, location_name: "managedWorkgroups"))
572
+ ListManagedWorkgroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
573
+ ListManagedWorkgroupsResponse.struct_class = Types::ListManagedWorkgroupsResponse
574
+
575
+ ListNamespacesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListNamespacesRequestMaxResultsInteger, location_name: "maxResults"))
559
576
  ListNamespacesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
560
577
  ListNamespacesRequest.struct_class = Types::ListNamespacesRequest
561
578
 
@@ -564,7 +581,7 @@ module Aws::RedshiftServerless
564
581
  ListNamespacesResponse.struct_class = Types::ListNamespacesResponse
565
582
 
566
583
  ListRecoveryPointsRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
567
- ListRecoveryPointsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListRecoveryPointsRequestMaxResultsInteger, location_name: "maxResults", metadata: {"box"=>true}))
584
+ ListRecoveryPointsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListRecoveryPointsRequestMaxResultsInteger, location_name: "maxResults"))
568
585
  ListRecoveryPointsRequest.add_member(:namespace_arn, Shapes::ShapeRef.new(shape: String, location_name: "namespaceArn"))
569
586
  ListRecoveryPointsRequest.add_member(:namespace_name, Shapes::ShapeRef.new(shape: NamespaceName, location_name: "namespaceName"))
570
587
  ListRecoveryPointsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
@@ -575,7 +592,7 @@ module Aws::RedshiftServerless
575
592
  ListRecoveryPointsResponse.add_member(:recovery_points, Shapes::ShapeRef.new(shape: RecoveryPointList, location_name: "recoveryPoints"))
576
593
  ListRecoveryPointsResponse.struct_class = Types::ListRecoveryPointsResponse
577
594
 
578
- ListScheduledActionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListScheduledActionsRequestMaxResultsInteger, location_name: "maxResults", metadata: {"box"=>true}))
595
+ ListScheduledActionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListScheduledActionsRequestMaxResultsInteger, location_name: "maxResults"))
579
596
  ListScheduledActionsRequest.add_member(:namespace_name, Shapes::ShapeRef.new(shape: NamespaceName, location_name: "namespaceName"))
580
597
  ListScheduledActionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
581
598
  ListScheduledActionsRequest.struct_class = Types::ListScheduledActionsRequest
@@ -584,7 +601,7 @@ module Aws::RedshiftServerless
584
601
  ListScheduledActionsResponse.add_member(:scheduled_actions, Shapes::ShapeRef.new(shape: ScheduledActionsList, location_name: "scheduledActions"))
585
602
  ListScheduledActionsResponse.struct_class = Types::ListScheduledActionsResponse
586
603
 
587
- ListSnapshotCopyConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListSnapshotCopyConfigurationsRequestMaxResultsInteger, location_name: "maxResults", metadata: {"box"=>true}))
604
+ ListSnapshotCopyConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListSnapshotCopyConfigurationsRequestMaxResultsInteger, location_name: "maxResults"))
588
605
  ListSnapshotCopyConfigurationsRequest.add_member(:namespace_name, Shapes::ShapeRef.new(shape: NamespaceName, location_name: "namespaceName"))
589
606
  ListSnapshotCopyConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
590
607
  ListSnapshotCopyConfigurationsRequest.struct_class = Types::ListSnapshotCopyConfigurationsRequest
@@ -594,7 +611,7 @@ module Aws::RedshiftServerless
594
611
  ListSnapshotCopyConfigurationsResponse.struct_class = Types::ListSnapshotCopyConfigurationsResponse
595
612
 
596
613
  ListSnapshotsRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
597
- ListSnapshotsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListSnapshotsRequestMaxResultsInteger, location_name: "maxResults", metadata: {"box"=>true}))
614
+ ListSnapshotsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListSnapshotsRequestMaxResultsInteger, location_name: "maxResults"))
598
615
  ListSnapshotsRequest.add_member(:namespace_arn, Shapes::ShapeRef.new(shape: String, location_name: "namespaceArn"))
599
616
  ListSnapshotsRequest.add_member(:namespace_name, Shapes::ShapeRef.new(shape: String, location_name: "namespaceName"))
600
617
  ListSnapshotsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
@@ -606,7 +623,7 @@ module Aws::RedshiftServerless
606
623
  ListSnapshotsResponse.add_member(:snapshots, Shapes::ShapeRef.new(shape: SnapshotList, location_name: "snapshots"))
607
624
  ListSnapshotsResponse.struct_class = Types::ListSnapshotsResponse
608
625
 
609
- ListTableRestoreStatusRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListTableRestoreStatusRequestMaxResultsInteger, location_name: "maxResults", metadata: {"box"=>true}))
626
+ ListTableRestoreStatusRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListTableRestoreStatusRequestMaxResultsInteger, location_name: "maxResults"))
610
627
  ListTableRestoreStatusRequest.add_member(:namespace_name, Shapes::ShapeRef.new(shape: String, location_name: "namespaceName"))
611
628
  ListTableRestoreStatusRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
612
629
  ListTableRestoreStatusRequest.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: String, location_name: "workgroupName"))
@@ -622,7 +639,7 @@ module Aws::RedshiftServerless
622
639
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
623
640
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
624
641
 
625
- ListUsageLimitsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListUsageLimitsRequestMaxResultsInteger, location_name: "maxResults", metadata: {"box"=>true}))
642
+ ListUsageLimitsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListUsageLimitsRequestMaxResultsInteger, location_name: "maxResults"))
626
643
  ListUsageLimitsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
627
644
  ListUsageLimitsRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "resourceArn"))
628
645
  ListUsageLimitsRequest.add_member(:usage_type, Shapes::ShapeRef.new(shape: UsageLimitUsageType, location_name: "usageType"))
@@ -632,7 +649,7 @@ module Aws::RedshiftServerless
632
649
  ListUsageLimitsResponse.add_member(:usage_limits, Shapes::ShapeRef.new(shape: UsageLimits, location_name: "usageLimits"))
633
650
  ListUsageLimitsResponse.struct_class = Types::ListUsageLimitsResponse
634
651
 
635
- ListWorkgroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListWorkgroupsRequestMaxResultsInteger, location_name: "maxResults", metadata: {"box"=>true}))
652
+ ListWorkgroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListWorkgroupsRequestMaxResultsInteger, location_name: "maxResults"))
636
653
  ListWorkgroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
637
654
  ListWorkgroupsRequest.add_member(:owner_account, Shapes::ShapeRef.new(shape: OwnerAccount, location_name: "ownerAccount"))
638
655
  ListWorkgroupsRequest.struct_class = Types::ListWorkgroupsRequest
@@ -643,6 +660,15 @@ module Aws::RedshiftServerless
643
660
 
644
661
  LogExportList.member = Shapes::ShapeRef.new(shape: LogExport)
645
662
 
663
+ ManagedWorkgroupListItem.add_member(:creation_date, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "creationDate"))
664
+ ManagedWorkgroupListItem.add_member(:managed_workgroup_id, Shapes::ShapeRef.new(shape: String, location_name: "managedWorkgroupId"))
665
+ ManagedWorkgroupListItem.add_member(:managed_workgroup_name, Shapes::ShapeRef.new(shape: ManagedWorkgroupName, location_name: "managedWorkgroupName"))
666
+ ManagedWorkgroupListItem.add_member(:source_arn, Shapes::ShapeRef.new(shape: SourceArn, location_name: "sourceArn"))
667
+ ManagedWorkgroupListItem.add_member(:status, Shapes::ShapeRef.new(shape: ManagedWorkgroupStatus, location_name: "status"))
668
+ ManagedWorkgroupListItem.struct_class = Types::ManagedWorkgroupListItem
669
+
670
+ ManagedWorkgroups.member = Shapes::ShapeRef.new(shape: ManagedWorkgroupListItem)
671
+
646
672
  Namespace.add_member(:admin_password_secret_arn, Shapes::ShapeRef.new(shape: String, location_name: "adminPasswordSecretArn"))
647
673
  Namespace.add_member(:admin_password_secret_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "adminPasswordSecretKmsKeyId"))
648
674
  Namespace.add_member(:admin_username, Shapes::ShapeRef.new(shape: DbUser, location_name: "adminUsername"))
@@ -1026,9 +1052,11 @@ module Aws::RedshiftServerless
1026
1052
 
1027
1053
  api.metadata = {
1028
1054
  "apiVersion" => "2021-04-21",
1055
+ "auth" => ["aws.auth#sigv4"],
1029
1056
  "endpointPrefix" => "redshift-serverless",
1030
1057
  "jsonVersion" => "1.1",
1031
1058
  "protocol" => "json",
1059
+ "protocols" => ["json"],
1032
1060
  "serviceFullName" => "Redshift Serverless",
1033
1061
  "serviceId" => "Redshift Serverless",
1034
1062
  "signatureVersion" => "v4",
@@ -1431,6 +1459,22 @@ module Aws::RedshiftServerless
1431
1459
  )
1432
1460
  end)
1433
1461
 
1462
+ api.add_operation(:list_managed_workgroups, Seahorse::Model::Operation.new.tap do |o|
1463
+ o.name = "ListManagedWorkgroups"
1464
+ o.http_method = "POST"
1465
+ o.http_request_uri = "/"
1466
+ o.input = Shapes::ShapeRef.new(shape: ListManagedWorkgroupsRequest)
1467
+ o.output = Shapes::ShapeRef.new(shape: ListManagedWorkgroupsResponse)
1468
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1469
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1470
+ o[:pager] = Aws::Pager.new(
1471
+ limit_key: "max_results",
1472
+ tokens: {
1473
+ "next_token" => "next_token"
1474
+ }
1475
+ )
1476
+ end)
1477
+
1434
1478
  api.add_operation(:list_namespaces, Seahorse::Model::Operation.new.tap do |o|
1435
1479
  o.name = "ListNamespaces"
1436
1480
  o.http_method = "POST"
@@ -1547,6 +1547,54 @@ module Aws::RedshiftServerless
1547
1547
  include Aws::Structure
1548
1548
  end
1549
1549
 
1550
+ # @!attribute [rw] max_results
1551
+ # An optional parameter that specifies the maximum number of results
1552
+ # to return. You can use nextToken to display the next page of
1553
+ # results.
1554
+ # @return [Integer]
1555
+ #
1556
+ # @!attribute [rw] next_token
1557
+ # If your initial ListManagedWorkgroups operation returns a nextToken,
1558
+ # you can include the returned nextToken in following
1559
+ # ListManagedWorkgroups operations, which returns results in the next
1560
+ # page.
1561
+ # @return [String]
1562
+ #
1563
+ # @!attribute [rw] source_arn
1564
+ # The Amazon Resource Name (ARN) for the managed workgroup in the AWS
1565
+ # Glue Data Catalog.
1566
+ # @return [String]
1567
+ #
1568
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListManagedWorkgroupsRequest AWS API Documentation
1569
+ #
1570
+ class ListManagedWorkgroupsRequest < Struct.new(
1571
+ :max_results,
1572
+ :next_token,
1573
+ :source_arn)
1574
+ SENSITIVE = []
1575
+ include Aws::Structure
1576
+ end
1577
+
1578
+ # @!attribute [rw] managed_workgroups
1579
+ # The returned array of managed workgroups.
1580
+ # @return [Array<Types::ManagedWorkgroupListItem>]
1581
+ #
1582
+ # @!attribute [rw] next_token
1583
+ # If nextToken is returned, there are more results available. The
1584
+ # value of nextToken is a unique pagination token for each page. To
1585
+ # retrieve the next page, make the call again using the returned
1586
+ # token.
1587
+ # @return [String]
1588
+ #
1589
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListManagedWorkgroupsResponse AWS API Documentation
1590
+ #
1591
+ class ListManagedWorkgroupsResponse < Struct.new(
1592
+ :managed_workgroups,
1593
+ :next_token)
1594
+ SENSITIVE = []
1595
+ include Aws::Structure
1596
+ end
1597
+
1550
1598
  # @!attribute [rw] max_results
1551
1599
  # An optional parameter that specifies the maximum number of results
1552
1600
  # to return. You can use `nextToken` to display the next page of
@@ -1990,6 +2038,41 @@ module Aws::RedshiftServerless
1990
2038
  include Aws::Structure
1991
2039
  end
1992
2040
 
2041
+ # A collection of Amazon Redshift compute resources managed by AWS Glue.
2042
+ #
2043
+ # @!attribute [rw] creation_date
2044
+ # The creation date of the managed workgroup.
2045
+ # @return [Time]
2046
+ #
2047
+ # @!attribute [rw] managed_workgroup_id
2048
+ # The unique identifier of the managed workgroup.
2049
+ # @return [String]
2050
+ #
2051
+ # @!attribute [rw] managed_workgroup_name
2052
+ # The name of the managed workgroup.
2053
+ # @return [String]
2054
+ #
2055
+ # @!attribute [rw] source_arn
2056
+ # The Amazon Resource Name (ARN) for the managed workgroup in the AWS
2057
+ # Glue Data Catalog.
2058
+ # @return [String]
2059
+ #
2060
+ # @!attribute [rw] status
2061
+ # The status of the managed workgroup.
2062
+ # @return [String]
2063
+ #
2064
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ManagedWorkgroupListItem AWS API Documentation
2065
+ #
2066
+ class ManagedWorkgroupListItem < Struct.new(
2067
+ :creation_date,
2068
+ :managed_workgroup_id,
2069
+ :managed_workgroup_name,
2070
+ :source_arn,
2071
+ :status)
2072
+ SENSITIVE = []
2073
+ include Aws::Structure
2074
+ end
2075
+
1993
2076
  # A collection of database objects and users.
1994
2077
  #
1995
2078
  # @!attribute [rw] admin_password_secret_arn
@@ -54,7 +54,7 @@ module Aws::RedshiftServerless
54
54
  autoload :EndpointProvider, 'aws-sdk-redshiftserverless/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-redshiftserverless/endpoints'
56
56
 
57
- GEM_VERSION = '1.42.0'
57
+ GEM_VERSION = '1.44.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
@@ -504,6 +506,19 @@ module Aws
504
506
  ) -> _ListEndpointAccessResponseSuccess
505
507
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEndpointAccessResponseSuccess
506
508
 
509
+ interface _ListManagedWorkgroupsResponseSuccess
510
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListManagedWorkgroupsResponse]
511
+ def managed_workgroups: () -> ::Array[Types::ManagedWorkgroupListItem]
512
+ def next_token: () -> ::String
513
+ end
514
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#list_managed_workgroups-instance_method
515
+ def list_managed_workgroups: (
516
+ ?max_results: ::Integer,
517
+ ?next_token: ::String,
518
+ ?source_arn: ::String
519
+ ) -> _ListManagedWorkgroupsResponseSuccess
520
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListManagedWorkgroupsResponseSuccess
521
+
507
522
  interface _ListNamespacesResponseSuccess
508
523
  include ::Seahorse::Client::_ResponseSuccess[Types::ListNamespacesResponse]
509
524
  def namespaces: () -> ::Array[Types::Namespace]
data/sig/resource.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
data/sig/types.rbs CHANGED
@@ -465,6 +465,19 @@ module Aws::RedshiftServerless
465
465
  SENSITIVE: []
466
466
  end
467
467
 
468
+ class ListManagedWorkgroupsRequest
469
+ attr_accessor max_results: ::Integer
470
+ attr_accessor next_token: ::String
471
+ attr_accessor source_arn: ::String
472
+ SENSITIVE: []
473
+ end
474
+
475
+ class ListManagedWorkgroupsResponse
476
+ attr_accessor managed_workgroups: ::Array[Types::ManagedWorkgroupListItem]
477
+ attr_accessor next_token: ::String
478
+ SENSITIVE: []
479
+ end
480
+
468
481
  class ListNamespacesRequest
469
482
  attr_accessor max_results: ::Integer
470
483
  attr_accessor next_token: ::String
@@ -587,6 +600,15 @@ module Aws::RedshiftServerless
587
600
  SENSITIVE: []
588
601
  end
589
602
 
603
+ class ManagedWorkgroupListItem
604
+ attr_accessor creation_date: ::Time
605
+ attr_accessor managed_workgroup_id: ::String
606
+ attr_accessor managed_workgroup_name: ::String
607
+ attr_accessor source_arn: ::String
608
+ attr_accessor status: ("CREATING" | "DELETING" | "MODIFYING" | "AVAILABLE" | "NOT_AVAILABLE")
609
+ SENSITIVE: []
610
+ end
611
+
590
612
  class Namespace
591
613
  attr_accessor admin_password_secret_arn: ::String
592
614
  attr_accessor admin_password_secret_kms_key_id: ::String
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.42.0
4
+ version: 1.44.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: 2024-11-06 00:00:00.000000000 Z
11
+ date: 2025-01-15 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.210.0
22
+ version: 3.216.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,21 +29,21 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.210.0
32
+ version: 3.216.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '1.1'
39
+ version: '1.5'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '1.1'
46
+ version: '1.5'
47
47
  description: Official AWS Ruby gem for Redshift Serverless. This gem is part of the
48
48
  AWS SDK for Ruby.
49
49
  email: