Class: Aws::RedshiftServerless::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::RedshiftServerless::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-redshiftserverless/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.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
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_scheduled_action(params = {}) ⇒ Types::CreateScheduledActionResponse
Creates a scheduled action.
-
#create_snapshot(params = {}) ⇒ Types::CreateSnapshotResponse
Creates a snapshot of all databases in a namespace.
-
#create_snapshot_copy_configuration(params = {}) ⇒ Types::CreateSnapshotCopyConfigurationResponse
Creates a snapshot copy configuration that lets you copy snapshots to another Amazon Web Services Region.
-
#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_scheduled_action(params = {}) ⇒ Types::DeleteScheduledActionResponse
Deletes a scheduled action.
-
#delete_snapshot(params = {}) ⇒ Types::DeleteSnapshotResponse
Deletes a snapshot from Amazon Redshift Serverless.
-
#delete_snapshot_copy_configuration(params = {}) ⇒ Types::DeleteSnapshotCopyConfigurationResponse
Deletes a snapshot copy configuration.
-
#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_scheduled_action(params = {}) ⇒ Types::GetScheduledActionResponse
Returns information about a scheduled action.
-
#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_managed_workgroups(params = {}) ⇒ Types::ListManagedWorkgroupsResponse
Returns information about a list of specified managed workgroups in your account.
-
#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_scheduled_actions(params = {}) ⇒ Types::ListScheduledActionsResponse
Returns a list of scheduled actions.
-
#list_snapshot_copy_configurations(params = {}) ⇒ Types::ListSnapshotCopyConfigurationsResponse
Returns a list of snapshot copy configurations.
-
#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_recovery_point(params = {}) ⇒ Types::RestoreTableFromRecoveryPointResponse
Restores a table from a recovery point to your Amazon Redshift Serverless instance.
-
#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_scheduled_action(params = {}) ⇒ Types::UpdateScheduledActionResponse
Updates a scheduled action.
-
#update_snapshot(params = {}) ⇒ Types::UpdateSnapshotResponse
Updates a snapshot.
-
#update_snapshot_copy_configuration(params = {}) ⇒ Types::UpdateSnapshotCopyConfigurationResponse
Updates a snapshot copy configuration.
-
#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.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
451 452 453 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 451 def initialize(*args) super end |
Instance Method Details
#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.
530 531 532 533 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 530 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.
572 573 574 575 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 572 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.
642 643 644 645 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 642 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.
747 748 749 750 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 747 def create_namespace(params = {}, = {}) req = build_request(:create_namespace, params) req.send_request() end |
#create_scheduled_action(params = {}) ⇒ Types::CreateScheduledActionResponse
Creates a scheduled action. A scheduled action contains a schedule and
an Amazon Redshift API action. For example, you can create a schedule
of when to run the CreateSnapshot
API operation.
879 880 881 882 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 879 def create_scheduled_action(params = {}, = {}) req = build_request(:create_scheduled_action, 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.
957 958 959 960 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 957 def create_snapshot(params = {}, = {}) req = build_request(:create_snapshot, params) req.send_request() end |
#create_snapshot_copy_configuration(params = {}) ⇒ Types::CreateSnapshotCopyConfigurationResponse
Creates a snapshot copy configuration that lets you copy snapshots to another Amazon Web Services Region.
1006 1007 1008 1009 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 1006 def create_snapshot_copy_configuration(params = {}, = {}) req = build_request(:create_snapshot_copy_configuration, 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.
1065 1066 1067 1068 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 1065 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.
VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. If a workgroup is in an account with VPC BPA turned on, the following capabilities are blocked:
Creating a public access workgroup
Modifying a private workgroup to public
Adding a subnet with VPC BPA turned on to the workgroup when the workgroup is public
For more information about VPC BPA, see Block public access to VPCs and subnets in the Amazon VPC User Guide.
1230 1231 1232 1233 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 1230 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.
1256 1257 1258 1259 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 1256 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.
1303 1304 1305 1306 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 1303 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.
1356 1357 1358 1359 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 1356 def delete_namespace(params = {}, = {}) req = build_request(:delete_namespace, params) req.send_request() end |
#delete_resource_policy(params = {}) ⇒ Struct
Deletes the specified resource policy.
1378 1379 1380 1381 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 1378 def delete_resource_policy(params = {}, = {}) req = build_request(:delete_resource_policy, params) req.send_request() end |
#delete_scheduled_action(params = {}) ⇒ Types::DeleteScheduledActionResponse
Deletes a scheduled action.
1423 1424 1425 1426 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 1423 def delete_scheduled_action(params = {}, = {}) req = build_request(:delete_scheduled_action, params) req.send_request() end |
#delete_snapshot(params = {}) ⇒ Types::DeleteSnapshotResponse
Deletes a snapshot from Amazon Redshift Serverless.
1474 1475 1476 1477 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 1474 def delete_snapshot(params = {}, = {}) req = build_request(:delete_snapshot, params) req.send_request() end |
#delete_snapshot_copy_configuration(params = {}) ⇒ Types::DeleteSnapshotCopyConfigurationResponse
Deletes a snapshot copy configuration
1507 1508 1509 1510 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 1507 def delete_snapshot_copy_configuration(params = {}, = {}) req = build_request(:delete_snapshot_copy_configuration, params) req.send_request() end |
#delete_usage_limit(params = {}) ⇒ Types::DeleteUsageLimitResponse
Deletes a usage limit from Amazon Redshift Serverless.
1541 1542 1543 1544 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 1541 def delete_usage_limit(params = {}, = {}) req = build_request(:delete_usage_limit, params) req.send_request() end |
#delete_workgroup(params = {}) ⇒ Types::DeleteWorkgroupResponse
Deletes a workgroup.
1607 1608 1609 1610 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 1607 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).
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.
If the DbName
parameter is specified, the IAM policy must allow
access to the resource dbname for the specified database name.
1685 1686 1687 1688 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 1685 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.
1723 1724 1725 1726 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 1723 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.
1770 1771 1772 1773 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 1770 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.
1812 1813 1814 1815 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 1812 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.
1845 1846 1847 1848 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 1845 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.
1874 1875 1876 1877 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 1874 def get_resource_policy(params = {}, = {}) req = build_request(:get_resource_policy, params) req.send_request() end |
#get_scheduled_action(params = {}) ⇒ Types::GetScheduledActionResponse
Returns information about a scheduled action.
1919 1920 1921 1922 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 1919 def get_scheduled_action(params = {}, = {}) req = build_request(:get_scheduled_action, params) req.send_request() end |
#get_snapshot(params = {}) ⇒ Types::GetSnapshotResponse
Returns information about a specific snapshot.
1979 1980 1981 1982 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 1979 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.
2022 2023 2024 2025 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 2022 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.
2056 2057 2058 2059 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 2056 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.
2122 2123 2124 2125 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 2122 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.
2173 2174 2175 2176 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 2173 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.
2247 2248 2249 2250 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 2247 def list_endpoint_access(params = {}, = {}) req = build_request(:list_endpoint_access, params) req.send_request() end |
#list_managed_workgroups(params = {}) ⇒ Types::ListManagedWorkgroupsResponse
Returns information about a list of specified managed workgroups in your account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2298 2299 2300 2301 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 2298 def list_managed_workgroups(params = {}, = {}) req = build_request(:list_managed_workgroups, 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.
2352 2353 2354 2355 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 2352 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.
2415 2416 2417 2418 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 2415 def list_recovery_points(params = {}, = {}) req = build_request(:list_recovery_points, params) req.send_request() end |
#list_scheduled_actions(params = {}) ⇒ Types::ListScheduledActionsResponse
Returns a list of scheduled actions. You can use the flags to filter the list of returned scheduled actions.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2462 2463 2464 2465 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 2462 def list_scheduled_actions(params = {}, = {}) req = build_request(:list_scheduled_actions, params) req.send_request() end |
#list_snapshot_copy_configurations(params = {}) ⇒ Types::ListSnapshotCopyConfigurationsResponse
Returns a list of snapshot copy configurations.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2511 2512 2513 2514 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 2511 def list_snapshot_copy_configurations(params = {}, = {}) req = build_request(:list_snapshot_copy_configurations, 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.
2595 2596 2597 2598 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 2595 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.
2661 2662 2663 2664 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 2661 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.
2691 2692 2693 2694 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 2691 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.
2747 2748 2749 2750 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 2747 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.
2830 2831 2832 2833 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 2830 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.
2872 2873 2874 2875 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 2872 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.
2924 2925 2926 2927 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 2924 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.
3004 3005 3006 3007 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 3004 def restore_from_snapshot(params = {}, = {}) req = build_request(:restore_from_snapshot, params) req.send_request() end |
#restore_table_from_recovery_point(params = {}) ⇒ Types::RestoreTableFromRecoveryPointResponse
Restores a table from a recovery point to your Amazon Redshift Serverless instance. You can't use this operation to restore tables with interleaved sort keys.
3088 3089 3090 3091 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 3088 def restore_table_from_recovery_point(params = {}, = {}) req = build_request(:restore_table_from_recovery_point, 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.
3176 3177 3178 3179 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 3176 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.
3207 3208 3209 3210 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 3207 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.
3233 3234 3235 3236 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 3233 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.
3277 3278 3279 3280 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 3277 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.
3329 3330 3331 3332 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 3329 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.
3425 3426 3427 3428 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 3425 def update_namespace(params = {}, = {}) req = build_request(:update_namespace, params) req.send_request() end |
#update_scheduled_action(params = {}) ⇒ Types::UpdateScheduledActionResponse
Updates a scheduled action.
3543 3544 3545 3546 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 3543 def update_scheduled_action(params = {}, = {}) req = build_request(:update_scheduled_action, params) req.send_request() end |
#update_snapshot(params = {}) ⇒ Types::UpdateSnapshotResponse
Updates a snapshot.
3598 3599 3600 3601 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 3598 def update_snapshot(params = {}, = {}) req = build_request(:update_snapshot, params) req.send_request() end |
#update_snapshot_copy_configuration(params = {}) ⇒ Types::UpdateSnapshotCopyConfigurationResponse
Updates a snapshot copy configuration.
3636 3637 3638 3639 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 3636 def update_snapshot_copy_configuration(params = {}, = {}) req = build_request(:update_snapshot_copy_configuration, 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.
3683 3684 3685 3686 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 3683 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.
VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. If a workgroup is in an account with VPC BPA turned on, the following capabilities are blocked:
Creating a public access workgroup
Modifying a private workgroup to public
Adding a subnet with VPC BPA turned on to the workgroup when the workgroup is public
For more information about VPC BPA, see Block public access to VPCs and subnets in the Amazon VPC User Guide.
3839 3840 3841 3842 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb', line 3839 def update_workgroup(params = {}, = {}) req = build_request(:update_workgroup, params) req.send_request() end |