aws-sdk-redshiftserverless 1.42.0 → 1.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-redshiftserverless/client.rb +98 -2
- data/lib/aws-sdk-redshiftserverless/client_api.rb +54 -10
- data/lib/aws-sdk-redshiftserverless/types.rb +83 -0
- data/lib/aws-sdk-redshiftserverless.rb +1 -1
- data/sig/client.rbs +13 -0
- data/sig/types.rbs +22 -0
- 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: c2de824d7d7a18b6b8f3c0191e22356f75dd6c758535611025c87347e2a1099f
|
4
|
+
data.tar.gz: e43511df753183b4db68b991889b9b430606f2c7bb624270fc2d2f99068caa4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cf7ffde37070ed8eda222bba0efd020d4d7bca79dac289f1acf46fb789e2828ef6a6d315926b1b0ca177f5775aeeebb637fd436083ee807d5b86ffcac7955ae
|
7
|
+
data.tar.gz: 82b16de37c76367f6bd33f47bb30679908763ced27f2b65ee31b76947251a07874ab83f81f94e2dab90cd6f3f79cce931be54dd437581912af5dddebacb9f1c6
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.43.0
|
@@ -1069,6 +1069,26 @@ module Aws::RedshiftServerless
|
|
1069
1069
|
|
1070
1070
|
# Creates an workgroup in Amazon Redshift Serverless.
|
1071
1071
|
#
|
1072
|
+
# VPC Block Public Access (BPA) enables you to block resources in VPCs
|
1073
|
+
# and subnets that you own in a Region from reaching or being reached
|
1074
|
+
# from the internet through internet gateways and egress-only internet
|
1075
|
+
# gateways. If a workgroup is in an account with VPC BPA turned on, the
|
1076
|
+
# following capabilities are blocked:
|
1077
|
+
#
|
1078
|
+
# * Creating a public access workgroup
|
1079
|
+
#
|
1080
|
+
# * Modifying a private workgroup to public
|
1081
|
+
#
|
1082
|
+
# * Adding a subnet with VPC BPA turned on to the workgroup when the
|
1083
|
+
# workgroup is public
|
1084
|
+
#
|
1085
|
+
# For more information about VPC BPA, see [Block public access to VPCs
|
1086
|
+
# and subnets][1] in the *Amazon VPC User Guide*.
|
1087
|
+
#
|
1088
|
+
#
|
1089
|
+
#
|
1090
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html
|
1091
|
+
#
|
1072
1092
|
# @option params [Integer] :base_capacity
|
1073
1093
|
# The base data warehouse capacity of the workgroup in Redshift
|
1074
1094
|
# Processing Units (RPUs).
|
@@ -1596,7 +1616,12 @@ module Aws::RedshiftServerless
|
|
1596
1616
|
# optionally specify a duration between 900 seconds (15 minutes) and
|
1597
1617
|
# 3600 seconds (60 minutes).
|
1598
1618
|
#
|
1599
|
-
#
|
1619
|
+
# The Identity and Access Management (IAM) user or role that runs
|
1620
|
+
# GetCredentials must have an IAM policy attached that allows access to
|
1621
|
+
# all necessary actions and resources.
|
1622
|
+
#
|
1623
|
+
# If the `DbName` parameter is specified, the IAM policy must allow
|
1624
|
+
# access to the resource dbname for the specified database name.
|
1600
1625
|
#
|
1601
1626
|
# @option params [String] :custom_domain_name
|
1602
1627
|
# The custom domain name associated with the workgroup. The custom
|
@@ -2224,6 +2249,57 @@ module Aws::RedshiftServerless
|
|
2224
2249
|
req.send_request(options)
|
2225
2250
|
end
|
2226
2251
|
|
2252
|
+
# Returns information about a list of specified managed workgroups in
|
2253
|
+
# your account.
|
2254
|
+
#
|
2255
|
+
# @option params [Integer] :max_results
|
2256
|
+
# An optional parameter that specifies the maximum number of results to
|
2257
|
+
# return. You can use nextToken to display the next page of results.
|
2258
|
+
#
|
2259
|
+
# @option params [String] :next_token
|
2260
|
+
# If your initial ListManagedWorkgroups operation returns a nextToken,
|
2261
|
+
# you can include the returned nextToken in following
|
2262
|
+
# ListManagedWorkgroups operations, which returns results in the next
|
2263
|
+
# page.
|
2264
|
+
#
|
2265
|
+
# @option params [String] :source_arn
|
2266
|
+
# The Amazon Resource Name (ARN) for the managed workgroup in the AWS
|
2267
|
+
# Glue Data Catalog.
|
2268
|
+
#
|
2269
|
+
# @return [Types::ListManagedWorkgroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2270
|
+
#
|
2271
|
+
# * {Types::ListManagedWorkgroupsResponse#managed_workgroups #managed_workgroups} => Array<Types::ManagedWorkgroupListItem>
|
2272
|
+
# * {Types::ListManagedWorkgroupsResponse#next_token #next_token} => String
|
2273
|
+
#
|
2274
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2275
|
+
#
|
2276
|
+
# @example Request syntax with placeholder values
|
2277
|
+
#
|
2278
|
+
# resp = client.list_managed_workgroups({
|
2279
|
+
# max_results: 1,
|
2280
|
+
# next_token: "PaginationToken",
|
2281
|
+
# source_arn: "SourceArn",
|
2282
|
+
# })
|
2283
|
+
#
|
2284
|
+
# @example Response structure
|
2285
|
+
#
|
2286
|
+
# resp.managed_workgroups #=> Array
|
2287
|
+
# resp.managed_workgroups[0].creation_date #=> Time
|
2288
|
+
# resp.managed_workgroups[0].managed_workgroup_id #=> String
|
2289
|
+
# resp.managed_workgroups[0].managed_workgroup_name #=> String
|
2290
|
+
# resp.managed_workgroups[0].source_arn #=> String
|
2291
|
+
# resp.managed_workgroups[0].status #=> String, one of "CREATING", "DELETING", "MODIFYING", "AVAILABLE", "NOT_AVAILABLE"
|
2292
|
+
# resp.next_token #=> String
|
2293
|
+
#
|
2294
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListManagedWorkgroups AWS API Documentation
|
2295
|
+
#
|
2296
|
+
# @overload list_managed_workgroups(params = {})
|
2297
|
+
# @param [Hash] params ({})
|
2298
|
+
def list_managed_workgroups(params = {}, options = {})
|
2299
|
+
req = build_request(:list_managed_workgroups, params)
|
2300
|
+
req.send_request(options)
|
2301
|
+
end
|
2302
|
+
|
2227
2303
|
# Returns information about a list of specified namespaces.
|
2228
2304
|
#
|
2229
2305
|
# @option params [Integer] :max_results
|
@@ -3614,6 +3690,26 @@ module Aws::RedshiftServerless
|
|
3614
3690
|
# update `baseCapacity` or `port` in a single request, but you can't
|
3615
3691
|
# update both in the same request.
|
3616
3692
|
#
|
3693
|
+
# VPC Block Public Access (BPA) enables you to block resources in VPCs
|
3694
|
+
# and subnets that you own in a Region from reaching or being reached
|
3695
|
+
# from the internet through internet gateways and egress-only internet
|
3696
|
+
# gateways. If a workgroup is in an account with VPC BPA turned on, the
|
3697
|
+
# following capabilities are blocked:
|
3698
|
+
#
|
3699
|
+
# * Creating a public access workgroup
|
3700
|
+
#
|
3701
|
+
# * Modifying a private workgroup to public
|
3702
|
+
#
|
3703
|
+
# * Adding a subnet with VPC BPA turned on to the workgroup when the
|
3704
|
+
# workgroup is public
|
3705
|
+
#
|
3706
|
+
# For more information about VPC BPA, see [Block public access to VPCs
|
3707
|
+
# and subnets][1] in the *Amazon VPC User Guide*.
|
3708
|
+
#
|
3709
|
+
#
|
3710
|
+
#
|
3711
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html
|
3712
|
+
#
|
3617
3713
|
# @option params [Integer] :base_capacity
|
3618
3714
|
# The new base data warehouse capacity in Redshift Processing Units
|
3619
3715
|
# (RPUs).
|
@@ -3763,7 +3859,7 @@ module Aws::RedshiftServerless
|
|
3763
3859
|
tracer: tracer
|
3764
3860
|
)
|
3765
3861
|
context[:gem_name] = 'aws-sdk-redshiftserverless'
|
3766
|
-
context[:gem_version] = '1.
|
3862
|
+
context[:gem_version] = '1.43.0'
|
3767
3863
|
Seahorse::Client::Request.new(handlers, context)
|
3768
3864
|
end
|
3769
3865
|
|
@@ -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"
|
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"
|
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
|
-
|
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"
|
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"
|
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"
|
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"
|
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"
|
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"
|
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"
|
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
|
data/sig/client.rbs
CHANGED
@@ -504,6 +504,19 @@ module Aws
|
|
504
504
|
) -> _ListEndpointAccessResponseSuccess
|
505
505
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEndpointAccessResponseSuccess
|
506
506
|
|
507
|
+
interface _ListManagedWorkgroupsResponseSuccess
|
508
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListManagedWorkgroupsResponse]
|
509
|
+
def managed_workgroups: () -> ::Array[Types::ManagedWorkgroupListItem]
|
510
|
+
def next_token: () -> ::String
|
511
|
+
end
|
512
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#list_managed_workgroups-instance_method
|
513
|
+
def list_managed_workgroups: (
|
514
|
+
?max_results: ::Integer,
|
515
|
+
?next_token: ::String,
|
516
|
+
?source_arn: ::String
|
517
|
+
) -> _ListManagedWorkgroupsResponseSuccess
|
518
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListManagedWorkgroupsResponseSuccess
|
519
|
+
|
507
520
|
interface _ListNamespacesResponseSuccess
|
508
521
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListNamespacesResponse]
|
509
522
|
def namespaces: () -> ::Array[Types::Namespace]
|
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.
|
4
|
+
version: 1.43.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
|
+
date: 2024-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '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.
|
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:
|