Class: Aws::RedshiftServerless::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::RedshiftServerless::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-redshiftserverless/client.rb
Overview
An API client for RedshiftServerless. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::RedshiftServerless::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#convert_recovery_point_to_snapshot(params = {}) ⇒ Types::ConvertRecoveryPointToSnapshotResponse
Converts a recovery point to a snapshot.
-
#create_custom_domain_association(params = {}) ⇒ Types::CreateCustomDomainAssociationResponse
Creates a custom domain association for Amazon Redshift Serverless.
-
#create_endpoint_access(params = {}) ⇒ Types::CreateEndpointAccessResponse
Creates an Amazon Redshift Serverless managed VPC endpoint.
-
#create_namespace(params = {}) ⇒ Types::CreateNamespaceResponse
Creates a namespace in Amazon Redshift Serverless.
-
#create_snapshot(params = {}) ⇒ Types::CreateSnapshotResponse
Creates a snapshot of all databases in a namespace.
-
#create_usage_limit(params = {}) ⇒ Types::CreateUsageLimitResponse
Creates a usage limit for a specified Amazon Redshift Serverless usage type.
-
#create_workgroup(params = {}) ⇒ Types::CreateWorkgroupResponse
Creates an workgroup in Amazon Redshift Serverless.
-
#delete_custom_domain_association(params = {}) ⇒ Struct
Deletes a custom domain association for Amazon Redshift Serverless.
-
#delete_endpoint_access(params = {}) ⇒ Types::DeleteEndpointAccessResponse
Deletes an Amazon Redshift Serverless managed VPC endpoint.
-
#delete_namespace(params = {}) ⇒ Types::DeleteNamespaceResponse
Deletes a namespace from Amazon Redshift Serverless.
-
#delete_resource_policy(params = {}) ⇒ Struct
Deletes the specified resource policy.
-
#delete_snapshot(params = {}) ⇒ Types::DeleteSnapshotResponse
Deletes a snapshot from Amazon Redshift Serverless.
-
#delete_usage_limit(params = {}) ⇒ Types::DeleteUsageLimitResponse
Deletes a usage limit from Amazon Redshift Serverless.
-
#delete_workgroup(params = {}) ⇒ Types::DeleteWorkgroupResponse
Deletes a workgroup.
-
#get_credentials(params = {}) ⇒ Types::GetCredentialsResponse
Returns a database user name and temporary password with temporary authorization to log in to Amazon Redshift Serverless.
-
#get_custom_domain_association(params = {}) ⇒ Types::GetCustomDomainAssociationResponse
Gets information about a specific custom domain association.
-
#get_endpoint_access(params = {}) ⇒ Types::GetEndpointAccessResponse
Returns information, such as the name, about a VPC endpoint.
-
#get_namespace(params = {}) ⇒ Types::GetNamespaceResponse
Returns information about a namespace in Amazon Redshift Serverless.
-
#get_recovery_point(params = {}) ⇒ Types::GetRecoveryPointResponse
Returns information about a recovery point.
-
#get_resource_policy(params = {}) ⇒ Types::GetResourcePolicyResponse
Returns a resource policy.
-
#get_snapshot(params = {}) ⇒ Types::GetSnapshotResponse
Returns information about a specific snapshot.
-
#get_table_restore_status(params = {}) ⇒ Types::GetTableRestoreStatusResponse
Returns information about a ‘TableRestoreStatus` object.
-
#get_usage_limit(params = {}) ⇒ Types::GetUsageLimitResponse
Returns information about a usage limit.
-
#get_workgroup(params = {}) ⇒ Types::GetWorkgroupResponse
Returns information about a specific workgroup.
-
#list_custom_domain_associations(params = {}) ⇒ Types::ListCustomDomainAssociationsResponse
Lists custom domain associations for Amazon Redshift Serverless.
-
#list_endpoint_access(params = {}) ⇒ Types::ListEndpointAccessResponse
Returns an array of ‘EndpointAccess` objects and relevant information.
-
#list_namespaces(params = {}) ⇒ Types::ListNamespacesResponse
Returns information about a list of specified namespaces.
-
#list_recovery_points(params = {}) ⇒ Types::ListRecoveryPointsResponse
Returns an array of recovery points.
-
#list_snapshots(params = {}) ⇒ Types::ListSnapshotsResponse
Returns a list of snapshots.
-
#list_table_restore_status(params = {}) ⇒ Types::ListTableRestoreStatusResponse
Returns information about an array of ‘TableRestoreStatus` objects.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags assigned to a resource.
-
#list_usage_limits(params = {}) ⇒ Types::ListUsageLimitsResponse
Lists all usage limits within Amazon Redshift Serverless.
-
#list_workgroups(params = {}) ⇒ Types::ListWorkgroupsResponse
Returns information about a list of specified workgroups.
-
#put_resource_policy(params = {}) ⇒ Types::PutResourcePolicyResponse
Creates or updates a resource policy.
-
#restore_from_recovery_point(params = {}) ⇒ Types::RestoreFromRecoveryPointResponse
Restore the data from a recovery point.
-
#restore_from_snapshot(params = {}) ⇒ Types::RestoreFromSnapshotResponse
Restores a namespace from a snapshot.
-
#restore_table_from_snapshot(params = {}) ⇒ Types::RestoreTableFromSnapshotResponse
Restores a table from a snapshot to your Amazon Redshift Serverless instance.
-
#tag_resource(params = {}) ⇒ Struct
Assigns one or more tags to a resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes a tag or set of tags from a resource.
-
#update_custom_domain_association(params = {}) ⇒ Types::UpdateCustomDomainAssociationResponse
Updates an Amazon Redshift Serverless certificate associated with a custom domain.
-
#update_endpoint_access(params = {}) ⇒ Types::UpdateEndpointAccessResponse
Updates an Amazon Redshift Serverless managed endpoint.
-
#update_namespace(params = {}) ⇒ Types::UpdateNamespaceResponse
Updates a namespace with the specified settings.
-
#update_snapshot(params = {}) ⇒ Types::UpdateSnapshotResponse
Updates a snapshot.
-
#update_usage_limit(params = {}) ⇒ Types::UpdateUsageLimitResponse
Update a usage limit in Amazon Redshift Serverless.
-
#update_workgroup(params = {}) ⇒ Types::UpdateWorkgroupResponse
Updates a workgroup with the specified configuration settings.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
395 396 397 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 395 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2999 3000 3001 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 2999 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3002 3003 3004 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 3002 def errors_module Errors end |
Instance Method Details
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 2977 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-redshiftserverless' context[:gem_version] = '1.21.0' Seahorse::Client::Request.new(handlers, context) end |
#convert_recovery_point_to_snapshot(params = {}) ⇒ Types::ConvertRecoveryPointToSnapshotResponse
Converts a recovery point to a snapshot. For more information about recovery points and snapshots, see [Working with snapshots and recovery points].
[1]: docs.aws.amazon.com/redshift/latest/mgmt/serverless-snapshots-recovery.html
474 475 476 477 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 474 def convert_recovery_point_to_snapshot(params = {}, = {}) req = build_request(:convert_recovery_point_to_snapshot, params) req.send_request() end |
#create_custom_domain_association(params = {}) ⇒ Types::CreateCustomDomainAssociationResponse
Creates a custom domain association for Amazon Redshift Serverless.
516 517 518 519 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 516 def create_custom_domain_association(params = {}, = {}) req = build_request(:create_custom_domain_association, params) req.send_request() end |
#create_endpoint_access(params = {}) ⇒ Types::CreateEndpointAccessResponse
Creates an Amazon Redshift Serverless managed VPC endpoint.
580 581 582 583 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 580 def create_endpoint_access(params = {}, = {}) req = build_request(:create_endpoint_access, params) req.send_request() end |
#create_namespace(params = {}) ⇒ Types::CreateNamespaceResponse
Creates a namespace in Amazon Redshift Serverless.
685 686 687 688 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 685 def create_namespace(params = {}, = {}) req = build_request(:create_namespace, params) req.send_request() end |
#create_snapshot(params = {}) ⇒ Types::CreateSnapshotResponse
Creates a snapshot of all databases in a namespace. For more information about snapshots, see [ Working with snapshots and recovery points].
[1]: docs.aws.amazon.com/redshift/latest/mgmt/serverless-snapshots-recovery.html
763 764 765 766 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 763 def create_snapshot(params = {}, = {}) req = build_request(:create_snapshot, params) req.send_request() end |
#create_usage_limit(params = {}) ⇒ Types::CreateUsageLimitResponse
Creates a usage limit for a specified Amazon Redshift Serverless usage type. The usage limit is identified by the returned usage limit identifier.
822 823 824 825 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 822 def create_usage_limit(params = {}, = {}) req = build_request(:create_usage_limit, params) req.send_request() end |
#create_workgroup(params = {}) ⇒ Types::CreateWorkgroupResponse
Creates an workgroup in Amazon Redshift Serverless.
948 949 950 951 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 948 def create_workgroup(params = {}, = {}) req = build_request(:create_workgroup, params) req.send_request() end |
#delete_custom_domain_association(params = {}) ⇒ Struct
Deletes a custom domain association for Amazon Redshift Serverless.
974 975 976 977 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 974 def delete_custom_domain_association(params = {}, = {}) req = build_request(:delete_custom_domain_association, params) req.send_request() end |
#delete_endpoint_access(params = {}) ⇒ Types::DeleteEndpointAccessResponse
Deletes an Amazon Redshift Serverless managed VPC endpoint.
1020 1021 1022 1023 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 1020 def delete_endpoint_access(params = {}, = {}) req = build_request(:delete_endpoint_access, params) req.send_request() end |
#delete_namespace(params = {}) ⇒ Types::DeleteNamespaceResponse
Deletes a namespace from Amazon Redshift Serverless. Before you delete the namespace, you can create a final snapshot that has all of the data within the namespace.
1073 1074 1075 1076 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 1073 def delete_namespace(params = {}, = {}) req = build_request(:delete_namespace, params) req.send_request() end |
#delete_resource_policy(params = {}) ⇒ Struct
Deletes the specified resource policy.
1095 1096 1097 1098 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 1095 def delete_resource_policy(params = {}, = {}) req = build_request(:delete_resource_policy, params) req.send_request() end |
#delete_snapshot(params = {}) ⇒ Types::DeleteSnapshotResponse
Deletes a snapshot from Amazon Redshift Serverless.
1146 1147 1148 1149 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 1146 def delete_snapshot(params = {}, = {}) req = build_request(:delete_snapshot, params) req.send_request() end |
#delete_usage_limit(params = {}) ⇒ Types::DeleteUsageLimitResponse
Deletes a usage limit from Amazon Redshift Serverless.
1180 1181 1182 1183 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 1180 def delete_usage_limit(params = {}, = {}) req = build_request(:delete_usage_limit, params) req.send_request() end |
#delete_workgroup(params = {}) ⇒ Types::DeleteWorkgroupResponse
Deletes a workgroup.
1240 1241 1242 1243 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 1240 def delete_workgroup(params = {}, = {}) req = build_request(:delete_workgroup, params) req.send_request() end |
#get_credentials(params = {}) ⇒ Types::GetCredentialsResponse
Returns a database user name and temporary password with temporary authorization to log in to Amazon Redshift Serverless.
By default, the temporary credentials expire in 900 seconds. You can optionally specify a duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes).
<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>
1313 1314 1315 1316 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 1313 def get_credentials(params = {}, = {}) req = build_request(:get_credentials, params) req.send_request() end |
#get_custom_domain_association(params = {}) ⇒ Types::GetCustomDomainAssociationResponse
Gets information about a specific custom domain association.
1351 1352 1353 1354 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 1351 def get_custom_domain_association(params = {}, = {}) req = build_request(:get_custom_domain_association, params) req.send_request() end |
#get_endpoint_access(params = {}) ⇒ Types::GetEndpointAccessResponse
Returns information, such as the name, about a VPC endpoint.
1397 1398 1399 1400 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 1397 def get_endpoint_access(params = {}, = {}) req = build_request(:get_endpoint_access, params) req.send_request() end |
#get_namespace(params = {}) ⇒ Types::GetNamespaceResponse
Returns information about a namespace in Amazon Redshift Serverless.
1439 1440 1441 1442 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 1439 def get_namespace(params = {}, = {}) req = build_request(:get_namespace, params) req.send_request() end |
#get_recovery_point(params = {}) ⇒ Types::GetRecoveryPointResponse
Returns information about a recovery point.
1472 1473 1474 1475 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 1472 def get_recovery_point(params = {}, = {}) req = build_request(:get_recovery_point, params) req.send_request() end |
#get_resource_policy(params = {}) ⇒ Types::GetResourcePolicyResponse
Returns a resource policy.
1501 1502 1503 1504 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 1501 def get_resource_policy(params = {}, = {}) req = build_request(:get_resource_policy, params) req.send_request() end |
#get_snapshot(params = {}) ⇒ Types::GetSnapshotResponse
Returns information about a specific snapshot.
1561 1562 1563 1564 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 1561 def get_snapshot(params = {}, = {}) req = build_request(:get_snapshot, params) req.send_request() end |
#get_table_restore_status(params = {}) ⇒ Types::GetTableRestoreStatusResponse
Returns information about a ‘TableRestoreStatus` object.
1603 1604 1605 1606 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 1603 def get_table_restore_status(params = {}, = {}) req = build_request(:get_table_restore_status, params) req.send_request() end |
#get_usage_limit(params = {}) ⇒ Types::GetUsageLimitResponse
Returns information about a usage limit.
1637 1638 1639 1640 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 1637 def get_usage_limit(params = {}, = {}) req = build_request(:get_usage_limit, params) req.send_request() end |
#get_workgroup(params = {}) ⇒ Types::GetWorkgroupResponse
Returns information about a specific workgroup.
1697 1698 1699 1700 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 1697 def get_workgroup(params = {}, = {}) req = build_request(:get_workgroup, params) req.send_request() end |
#list_custom_domain_associations(params = {}) ⇒ Types::ListCustomDomainAssociationsResponse
Lists custom domain associations for Amazon Redshift Serverless.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1748 1749 1750 1751 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 1748 def list_custom_domain_associations(params = {}, = {}) req = build_request(:list_custom_domain_associations, params) req.send_request() end |
#list_endpoint_access(params = {}) ⇒ Types::ListEndpointAccessResponse
Returns an array of ‘EndpointAccess` objects and relevant information.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1816 1817 1818 1819 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 1816 def list_endpoint_access(params = {}, = {}) req = build_request(:list_endpoint_access, params) req.send_request() end |
#list_namespaces(params = {}) ⇒ Types::ListNamespacesResponse
Returns information about a list of specified namespaces.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1870 1871 1872 1873 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 1870 def list_namespaces(params = {}, = {}) req = build_request(:list_namespaces, params) req.send_request() end |
#list_recovery_points(params = {}) ⇒ Types::ListRecoveryPointsResponse
Returns an array of recovery points.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1933 1934 1935 1936 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 1933 def list_recovery_points(params = {}, = {}) req = build_request(:list_recovery_points, params) req.send_request() end |
#list_snapshots(params = {}) ⇒ Types::ListSnapshotsResponse
Returns a list of snapshots.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2017 2018 2019 2020 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 2017 def list_snapshots(params = {}, = {}) req = build_request(:list_snapshots, params) req.send_request() end |
#list_table_restore_status(params = {}) ⇒ Types::ListTableRestoreStatusResponse
Returns information about an array of ‘TableRestoreStatus` objects.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2082 2083 2084 2085 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 2082 def list_table_restore_status(params = {}, = {}) req = build_request(:list_table_restore_status, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags assigned to a resource.
2112 2113 2114 2115 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 2112 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_usage_limits(params = {}) ⇒ Types::ListUsageLimitsResponse
Lists all usage limits within Amazon Redshift Serverless.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2168 2169 2170 2171 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 2168 def list_usage_limits(params = {}, = {}) req = build_request(:list_usage_limits, params) req.send_request() end |
#list_workgroups(params = {}) ⇒ Types::ListWorkgroupsResponse
Returns information about a list of specified workgroups.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2240 2241 2242 2243 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 2240 def list_workgroups(params = {}, = {}) req = build_request(:list_workgroups, params) req.send_request() end |
#put_resource_policy(params = {}) ⇒ Types::PutResourcePolicyResponse
Creates or updates a resource policy. Currently, you can use policies to share snapshots across Amazon Web Services accounts.
2282 2283 2284 2285 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 2282 def put_resource_policy(params = {}, = {}) req = build_request(:put_resource_policy, params) req.send_request() end |
#restore_from_recovery_point(params = {}) ⇒ Types::RestoreFromRecoveryPointResponse
Restore the data from a recovery point.
2334 2335 2336 2337 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 2334 def restore_from_recovery_point(params = {}, = {}) req = build_request(:restore_from_recovery_point, params) req.send_request() end |
#restore_from_snapshot(params = {}) ⇒ Types::RestoreFromSnapshotResponse
Restores a namespace from a snapshot.
2414 2415 2416 2417 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 2414 def restore_from_snapshot(params = {}, = {}) req = build_request(:restore_from_snapshot, params) req.send_request() end |
#restore_table_from_snapshot(params = {}) ⇒ Types::RestoreTableFromSnapshotResponse
Restores a table from a snapshot to your Amazon Redshift Serverless instance. You can’t use this operation to restore tables with [interleaved sort keys].
[1]: docs.aws.amazon.com/redshift/latest/dg/t_Sorting_data.html#t_Sorting_data-interleaved
2501 2502 2503 2504 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 2501 def restore_table_from_snapshot(params = {}, = {}) req = build_request(:restore_table_from_snapshot, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Assigns one or more tags to a resource.
2532 2533 2534 2535 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 2532 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes a tag or set of tags from a resource.
2558 2559 2560 2561 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 2558 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_custom_domain_association(params = {}) ⇒ Types::UpdateCustomDomainAssociationResponse
Updates an Amazon Redshift Serverless certificate associated with a custom domain.
2602 2603 2604 2605 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 2602 def update_custom_domain_association(params = {}, = {}) req = build_request(:update_custom_domain_association, params) req.send_request() end |
#update_endpoint_access(params = {}) ⇒ Types::UpdateEndpointAccessResponse
Updates an Amazon Redshift Serverless managed endpoint.
2653 2654 2655 2656 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 2653 def update_endpoint_access(params = {}, = {}) req = build_request(:update_endpoint_access, params) req.send_request() end |
#update_namespace(params = {}) ⇒ Types::UpdateNamespaceResponse
Updates a namespace with the specified settings. Unless required, you can’t update multiple parameters in one request. For example, you must specify both ‘adminUsername` and `adminUserPassword` to update either field, but you can’t update both ‘kmsKeyId` and `logExports` in a single request.
2749 2750 2751 2752 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 2749 def update_namespace(params = {}, = {}) req = build_request(:update_namespace, params) req.send_request() end |
#update_snapshot(params = {}) ⇒ Types::UpdateSnapshotResponse
Updates a snapshot.
2804 2805 2806 2807 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 2804 def update_snapshot(params = {}, = {}) req = build_request(:update_snapshot, params) req.send_request() end |
#update_usage_limit(params = {}) ⇒ Types::UpdateUsageLimitResponse
Update a usage limit in Amazon Redshift Serverless. You can’t update the usage type or period of a usage limit.
2851 2852 2853 2854 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 2851 def update_usage_limit(params = {}, = {}) req = build_request(:update_usage_limit, params) req.send_request() end |
#update_workgroup(params = {}) ⇒ Types::UpdateWorkgroupResponse
Updates a workgroup with the specified configuration settings. You can’t update multiple parameters in one request. For example, you can update ‘baseCapacity` or `port` in a single request, but you can’t update both in the same request.
2968 2969 2970 2971 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 2968 def update_workgroup(params = {}, = {}) req = build_request(:update_workgroup, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2992 2993 2994 |
# File 'lib/aws-sdk-redshiftserverless/client.rb', line 2992 def waiter_names [] end |