Struct Client

Source
pub struct Client { /* private fields */ }
Expand description

Client for Amazon Redshift

Client for invoking operations on Amazon Redshift. Each operation on Amazon Redshift is a method on this this struct. .send() MUST be invoked on the generated operations to dispatch the request to the service.

§Constructing a Client

A Config is required to construct a client. For most use cases, the aws-config crate should be used to automatically resolve this config using aws_config::load_from_env(), since this will resolve an SdkConfig which can be shared across multiple different AWS SDK clients. This config resolution process can be customized by calling aws_config::from_env() instead, which returns a ConfigLoader that uses the builder pattern to customize the default config.

In the simplest case, creating a client looks as follows:

let config = aws_config::load_from_env().await;
let client = aws_sdk_redshift::Client::new(&config);

Occasionally, SDKs may have additional service-specific values that can be set on the Config that is absent from SdkConfig, or slightly different settings for a specific client may be desired. The Builder struct implements From<&SdkConfig>, so setting these specific settings can be done as follows:

let sdk_config = ::aws_config::load_from_env().await;
let config = aws_sdk_redshift::config::Builder::from(&sdk_config)
    .some_service_specific_setting("value")
    .build();

See the aws-config docs and Config for more information on customizing configuration.

Note: Client construction is expensive due to connection thread pool initialization, and should be done once at application start-up.

§Using the Client

A client has a function for every operation that can be performed by the service. For example, the AcceptReservedNodeExchange operation has a Client::accept_reserved_node_exchange, function which returns a builder for that operation. The fluent builder ultimately has a send() function that returns an async future that returns a result, as illustrated below:

let result = client.accept_reserved_node_exchange()
    .reserved_node_id("example")
    .send()
    .await;

The underlying HTTP requests that get made by this can be modified with the customize_operation function on the fluent builder. See the customize module for more information.

§Waiters

This client provides wait_until methods behind the Waiters trait. To use them, simply import the trait, and then call one of the wait_until methods. This will return a waiter fluent builder that takes various parameters, which are documented on the builder type. Once parameters have been provided, the wait method can be called to initiate waiting.

For example, if there was a wait_until_thing method, it could look like:

let result = client.wait_until_thing()
    .thing_id("someId")
    .wait(Duration::from_secs(120))
    .await;

Implementations§

Source§

impl Client

Source

pub fn accept_reserved_node_exchange( &self, ) -> AcceptReservedNodeExchangeFluentBuilder

Constructs a fluent builder for the AcceptReservedNodeExchange operation.

Source§

impl Client

Source

pub fn add_partner(&self) -> AddPartnerFluentBuilder

Constructs a fluent builder for the AddPartner operation.

Source§

impl Client

Source

pub fn associate_data_share_consumer( &self, ) -> AssociateDataShareConsumerFluentBuilder

Constructs a fluent builder for the AssociateDataShareConsumer operation.

Source§

impl Client

Source

pub fn authorize_cluster_security_group_ingress( &self, ) -> AuthorizeClusterSecurityGroupIngressFluentBuilder

Constructs a fluent builder for the AuthorizeClusterSecurityGroupIngress operation.

Source§

impl Client

Source

pub fn authorize_data_share(&self) -> AuthorizeDataShareFluentBuilder

Constructs a fluent builder for the AuthorizeDataShare operation.

Source§

impl Client

Source

pub fn authorize_endpoint_access(&self) -> AuthorizeEndpointAccessFluentBuilder

Constructs a fluent builder for the AuthorizeEndpointAccess operation.

Source§

impl Client

Source

pub fn authorize_snapshot_access(&self) -> AuthorizeSnapshotAccessFluentBuilder

Constructs a fluent builder for the AuthorizeSnapshotAccess operation.

Source§

impl Client

Source

pub fn batch_delete_cluster_snapshots( &self, ) -> BatchDeleteClusterSnapshotsFluentBuilder

Constructs a fluent builder for the BatchDeleteClusterSnapshots operation.

Source§

impl Client

Source

pub fn batch_modify_cluster_snapshots( &self, ) -> BatchModifyClusterSnapshotsFluentBuilder

Constructs a fluent builder for the BatchModifyClusterSnapshots operation.

Source§

impl Client

Source

pub fn cancel_resize(&self) -> CancelResizeFluentBuilder

Constructs a fluent builder for the CancelResize operation.

Source§

impl Client

Source

pub fn copy_cluster_snapshot(&self) -> CopyClusterSnapshotFluentBuilder

Constructs a fluent builder for the CopyClusterSnapshot operation.

Source§

impl Client

Source

pub fn create_authentication_profile( &self, ) -> CreateAuthenticationProfileFluentBuilder

Constructs a fluent builder for the CreateAuthenticationProfile operation.

Source§

impl Client

Source

pub fn create_cluster(&self) -> CreateClusterFluentBuilder

Constructs a fluent builder for the CreateCluster operation.

Source§

impl Client

Source

pub fn create_cluster_parameter_group( &self, ) -> CreateClusterParameterGroupFluentBuilder

Constructs a fluent builder for the CreateClusterParameterGroup operation.

Source§

impl Client

Source

pub fn create_cluster_security_group( &self, ) -> CreateClusterSecurityGroupFluentBuilder

Constructs a fluent builder for the CreateClusterSecurityGroup operation.

Source§

impl Client

Source

pub fn create_cluster_snapshot(&self) -> CreateClusterSnapshotFluentBuilder

Constructs a fluent builder for the CreateClusterSnapshot operation.

Source§

impl Client

Source

pub fn create_cluster_subnet_group( &self, ) -> CreateClusterSubnetGroupFluentBuilder

Constructs a fluent builder for the CreateClusterSubnetGroup operation.

Source§

impl Client

Source

pub fn create_custom_domain_association( &self, ) -> CreateCustomDomainAssociationFluentBuilder

Constructs a fluent builder for the CreateCustomDomainAssociation operation.

Source§

impl Client

Source

pub fn create_endpoint_access(&self) -> CreateEndpointAccessFluentBuilder

Constructs a fluent builder for the CreateEndpointAccess operation.

Source§

impl Client

Source

pub fn create_event_subscription(&self) -> CreateEventSubscriptionFluentBuilder

Constructs a fluent builder for the CreateEventSubscription operation.

Source§

impl Client

Source

pub fn create_hsm_client_certificate( &self, ) -> CreateHsmClientCertificateFluentBuilder

Constructs a fluent builder for the CreateHsmClientCertificate operation.

Source§

impl Client

Source

pub fn create_hsm_configuration(&self) -> CreateHsmConfigurationFluentBuilder

Constructs a fluent builder for the CreateHsmConfiguration operation.

Source§

impl Client

Source

pub fn create_integration(&self) -> CreateIntegrationFluentBuilder

Constructs a fluent builder for the CreateIntegration operation.

Source§

impl Client

Source

pub fn create_redshift_idc_application( &self, ) -> CreateRedshiftIdcApplicationFluentBuilder

Constructs a fluent builder for the CreateRedshiftIdcApplication operation.

Source§

impl Client

Source

pub fn create_scheduled_action(&self) -> CreateScheduledActionFluentBuilder

Constructs a fluent builder for the CreateScheduledAction operation.

Source§

impl Client

Source

pub fn create_snapshot_copy_grant(&self) -> CreateSnapshotCopyGrantFluentBuilder

Constructs a fluent builder for the CreateSnapshotCopyGrant operation.

Source§

impl Client

Source

pub fn create_snapshot_schedule(&self) -> CreateSnapshotScheduleFluentBuilder

Constructs a fluent builder for the CreateSnapshotSchedule operation.

Source§

impl Client

Source

pub fn create_tags(&self) -> CreateTagsFluentBuilder

Constructs a fluent builder for the CreateTags operation.

  • The fluent builder is configurable:
    • resource_name(impl Into<String>) / set_resource_name(Option<String>):
      required: true

      The Amazon Resource Name (ARN) to which you want to add the tag or tags. For example, arn:aws:redshift:us-east-2:123456789:cluster:t1.


    • tags(Tag) / set_tags(Option<Vec::<Tag>>):
      required: true

      One or more name/value pairs to add as tags to the specified resource. Each tag name is passed in with the parameter Key and the corresponding value is passed in with the parameter Value. The Key and Value parameters are separated by a comma (,). Separate multiple tags with a space. For example, –tags “Key”=“owner”,“Value”=“admin” “Key”=“environment”,“Value”=“test” “Key”=“version”,“Value”=“1.0”.


  • On success, responds with CreateTagsOutput
  • On failure, responds with SdkError<CreateTagsError>
Source§

impl Client

Source

pub fn create_usage_limit(&self) -> CreateUsageLimitFluentBuilder

Constructs a fluent builder for the CreateUsageLimit operation.

Source§

impl Client

Source

pub fn deauthorize_data_share(&self) -> DeauthorizeDataShareFluentBuilder

Constructs a fluent builder for the DeauthorizeDataShare operation.

Source§

impl Client

Source

pub fn delete_authentication_profile( &self, ) -> DeleteAuthenticationProfileFluentBuilder

Constructs a fluent builder for the DeleteAuthenticationProfile operation.

Source§

impl Client

Source

pub fn delete_cluster(&self) -> DeleteClusterFluentBuilder

Constructs a fluent builder for the DeleteCluster operation.

Source§

impl Client

Source

pub fn delete_cluster_parameter_group( &self, ) -> DeleteClusterParameterGroupFluentBuilder

Constructs a fluent builder for the DeleteClusterParameterGroup operation.

Source§

impl Client

Source

pub fn delete_cluster_security_group( &self, ) -> DeleteClusterSecurityGroupFluentBuilder

Constructs a fluent builder for the DeleteClusterSecurityGroup operation.

Source§

impl Client

Source

pub fn delete_cluster_snapshot(&self) -> DeleteClusterSnapshotFluentBuilder

Constructs a fluent builder for the DeleteClusterSnapshot operation.

Source§

impl Client

Source

pub fn delete_cluster_subnet_group( &self, ) -> DeleteClusterSubnetGroupFluentBuilder

Constructs a fluent builder for the DeleteClusterSubnetGroup operation.

Source§

impl Client

Source

pub fn delete_custom_domain_association( &self, ) -> DeleteCustomDomainAssociationFluentBuilder

Constructs a fluent builder for the DeleteCustomDomainAssociation operation.

Source§

impl Client

Source

pub fn delete_endpoint_access(&self) -> DeleteEndpointAccessFluentBuilder

Constructs a fluent builder for the DeleteEndpointAccess operation.

Source§

impl Client

Source

pub fn delete_event_subscription(&self) -> DeleteEventSubscriptionFluentBuilder

Constructs a fluent builder for the DeleteEventSubscription operation.

Source§

impl Client

Source

pub fn delete_hsm_client_certificate( &self, ) -> DeleteHsmClientCertificateFluentBuilder

Constructs a fluent builder for the DeleteHsmClientCertificate operation.

Source§

impl Client

Source

pub fn delete_hsm_configuration(&self) -> DeleteHsmConfigurationFluentBuilder

Constructs a fluent builder for the DeleteHsmConfiguration operation.

Source§

impl Client

Source

pub fn delete_integration(&self) -> DeleteIntegrationFluentBuilder

Constructs a fluent builder for the DeleteIntegration operation.

Source§

impl Client

Source

pub fn delete_partner(&self) -> DeletePartnerFluentBuilder

Constructs a fluent builder for the DeletePartner operation.

Source§

impl Client

Source

pub fn delete_redshift_idc_application( &self, ) -> DeleteRedshiftIdcApplicationFluentBuilder

Constructs a fluent builder for the DeleteRedshiftIdcApplication operation.

Source§

impl Client

Source

pub fn delete_resource_policy(&self) -> DeleteResourcePolicyFluentBuilder

Constructs a fluent builder for the DeleteResourcePolicy operation.

Source§

impl Client

Source

pub fn delete_scheduled_action(&self) -> DeleteScheduledActionFluentBuilder

Constructs a fluent builder for the DeleteScheduledAction operation.

Source§

impl Client

Source

pub fn delete_snapshot_copy_grant(&self) -> DeleteSnapshotCopyGrantFluentBuilder

Constructs a fluent builder for the DeleteSnapshotCopyGrant operation.

Source§

impl Client

Source

pub fn delete_snapshot_schedule(&self) -> DeleteSnapshotScheduleFluentBuilder

Constructs a fluent builder for the DeleteSnapshotSchedule operation.

Source§

impl Client

Source

pub fn delete_tags(&self) -> DeleteTagsFluentBuilder

Constructs a fluent builder for the DeleteTags operation.

Source§

impl Client

Source

pub fn delete_usage_limit(&self) -> DeleteUsageLimitFluentBuilder

Constructs a fluent builder for the DeleteUsageLimit operation.

Source§

impl Client

Source

pub fn deregister_namespace(&self) -> DeregisterNamespaceFluentBuilder

Constructs a fluent builder for the DeregisterNamespace operation.

Source§

impl Client

Source

pub fn describe_account_attributes( &self, ) -> DescribeAccountAttributesFluentBuilder

Constructs a fluent builder for the DescribeAccountAttributes operation.

Source§

impl Client

Source

pub fn describe_authentication_profiles( &self, ) -> DescribeAuthenticationProfilesFluentBuilder

Constructs a fluent builder for the DescribeAuthenticationProfiles operation.

Source§

impl Client

Source

pub fn describe_cluster_db_revisions( &self, ) -> DescribeClusterDbRevisionsFluentBuilder

Constructs a fluent builder for the DescribeClusterDbRevisions operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • cluster_identifier(impl Into<String>) / set_cluster_identifier(Option<String>):
      required: false

      A unique identifier for a cluster whose ClusterDbRevisions you are requesting. This parameter is case sensitive. All clusters defined for an account are returned by default.


    • max_records(i32) / set_max_records(Option<i32>):
      required: false

      The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in the marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the marker parameter and retrying the request.

      Default: 100

      Constraints: minimum 20, maximum 100.


    • marker(impl Into<String>) / set_marker(Option<String>):
      required: false

      An optional parameter that specifies the starting point for returning a set of response records. When the results of a DescribeClusterDbRevisions request exceed the value specified in MaxRecords, Amazon Redshift returns a value in the marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the marker parameter and retrying the request.

      Constraints: You can specify either the ClusterIdentifier parameter, or the marker parameter, but not both.


  • On success, responds with DescribeClusterDbRevisionsOutput with field(s):
    • marker(Option<String>):

      A string representing the starting point for the next set of revisions. If a value is returned in a response, you can retrieve the next set of revisions by providing the value in the marker parameter and retrying the command. If the marker field is empty, all revisions have already been returned.

    • cluster_db_revisions(Option<Vec::<ClusterDbRevision>>):

      A list of revisions.

  • On failure, responds with SdkError<DescribeClusterDbRevisionsError>
Source§

impl Client

Source

pub fn describe_cluster_parameter_groups( &self, ) -> DescribeClusterParameterGroupsFluentBuilder

Constructs a fluent builder for the DescribeClusterParameterGroups operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • parameter_group_name(impl Into<String>) / set_parameter_group_name(Option<String>):
      required: false

      The name of a specific parameter group for which to return details. By default, details about all parameter groups and the default parameter group are returned.


    • max_records(i32) / set_max_records(Option<i32>):
      required: false

      The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

      Default: 100

      Constraints: minimum 20, maximum 100.


    • marker(impl Into<String>) / set_marker(Option<String>):
      required: false

      An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterParameterGroups request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.


    • tag_keys(impl Into<String>) / set_tag_keys(Option<Vec::<String>>):
      required: false

      A tag key or keys for which you want to return all matching cluster parameter groups that are associated with the specified key or keys. For example, suppose that you have parameter groups that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the parameter groups that have either or both of these tag keys associated with them.


    • tag_values(impl Into<String>) / set_tag_values(Option<Vec::<String>>):
      required: false

      A tag value or values for which you want to return all matching cluster parameter groups that are associated with the specified tag value or values. For example, suppose that you have parameter groups that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the parameter groups that have either or both of these tag values associated with them.


  • On success, responds with DescribeClusterParameterGroupsOutput with field(s):
    • marker(Option<String>):

      A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

    • parameter_groups(Option<Vec::<ClusterParameterGroup>>):

      A list of ClusterParameterGroup instances. Each instance describes one cluster parameter group.

  • On failure, responds with SdkError<DescribeClusterParameterGroupsError>
Source§

impl Client

Source

pub fn describe_cluster_parameters( &self, ) -> DescribeClusterParametersFluentBuilder

Constructs a fluent builder for the DescribeClusterParameters operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • parameter_group_name(impl Into<String>) / set_parameter_group_name(Option<String>):
      required: true

      The name of a cluster parameter group for which to return details.


    • source(impl Into<String>) / set_source(Option<String>):
      required: false

      The parameter types to return. Specify user to show parameters that are different form the default. Similarly, specify engine-default to show parameters that are the same as the default parameter group.

      Default: All parameter types returned.

      Valid Values: user | engine-default


    • max_records(i32) / set_max_records(Option<i32>):
      required: false

      The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

      Default: 100

      Constraints: minimum 20, maximum 100.


    • marker(impl Into<String>) / set_marker(Option<String>):
      required: false

      An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterParameters request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.


  • On success, responds with DescribeClusterParametersOutput with field(s):
    • parameters(Option<Vec::<Parameter>>):

      A list of Parameter instances. Each instance lists the parameters of one cluster parameter group.

    • marker(Option<String>):

      A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

  • On failure, responds with SdkError<DescribeClusterParametersError>
Source§

impl Client

Source

pub fn describe_cluster_security_groups( &self, ) -> DescribeClusterSecurityGroupsFluentBuilder

Constructs a fluent builder for the DescribeClusterSecurityGroups operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • cluster_security_group_name(impl Into<String>) / set_cluster_security_group_name(Option<String>):
      required: false

      The name of a cluster security group for which you are requesting details. You must specify either the Marker parameter or a ClusterSecurityGroupName parameter, but not both.

      Example: securitygroup1


    • max_records(i32) / set_max_records(Option<i32>):
      required: false

      The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

      Default: 100

      Constraints: minimum 20, maximum 100.


    • marker(impl Into<String>) / set_marker(Option<String>):
      required: false

      An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterSecurityGroups request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

      Constraints: You must specify either the ClusterSecurityGroupName parameter or the Marker parameter, but not both.


    • tag_keys(impl Into<String>) / set_tag_keys(Option<Vec::<String>>):
      required: false

      A tag key or keys for which you want to return all matching cluster security groups that are associated with the specified key or keys. For example, suppose that you have security groups that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the security groups that have either or both of these tag keys associated with them.


    • tag_values(impl Into<String>) / set_tag_values(Option<Vec::<String>>):
      required: false

      A tag value or values for which you want to return all matching cluster security groups that are associated with the specified tag value or values. For example, suppose that you have security groups that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the security groups that have either or both of these tag values associated with them.


  • On success, responds with DescribeClusterSecurityGroupsOutput with field(s):
    • marker(Option<String>):

      A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

    • cluster_security_groups(Option<Vec::<ClusterSecurityGroup>>):

      A list of ClusterSecurityGroup instances.

  • On failure, responds with SdkError<DescribeClusterSecurityGroupsError>
Source§

impl Client

Source

pub fn describe_cluster_snapshots( &self, ) -> DescribeClusterSnapshotsFluentBuilder

Constructs a fluent builder for the DescribeClusterSnapshots operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • cluster_identifier(impl Into<String>) / set_cluster_identifier(Option<String>):
      required: false

      The identifier of the cluster which generated the requested snapshots.


    • snapshot_identifier(impl Into<String>) / set_snapshot_identifier(Option<String>):
      required: false

      The snapshot identifier of the snapshot about which to return information.


    • snapshot_arn(impl Into<String>) / set_snapshot_arn(Option<String>):
      required: false

      The Amazon Resource Name (ARN) of the snapshot associated with the message to describe cluster snapshots.


    • snapshot_type(impl Into<String>) / set_snapshot_type(Option<String>):
      required: false

      The type of snapshots for which you are requesting information. By default, snapshots of all types are returned.

      Valid Values: automated | manual


    • start_time(DateTime) / set_start_time(Option<DateTime>):
      required: false

      A value that requests only snapshots created at or after the specified time. The time value is specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.

      Example: 2012-07-16T18:00:00Z


    • end_time(DateTime) / set_end_time(Option<DateTime>):
      required: false

      A time value that requests only snapshots created at or before the specified time. The time value is specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.

      Example: 2012-07-16T18:00:00Z


    • max_records(i32) / set_max_records(Option<i32>):
      required: false

      The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

      Default: 100

      Constraints: minimum 20, maximum 100.


    • marker(impl Into<String>) / set_marker(Option<String>):
      required: false

      An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterSnapshots request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.


    • owner_account(impl Into<String>) / set_owner_account(Option<String>):
      required: false

      The Amazon Web Services account used to create or copy the snapshot. Use this field to filter the results to snapshots owned by a particular account. To describe snapshots you own, either specify your Amazon Web Services account, or do not specify the parameter.


    • tag_keys(impl Into<String>) / set_tag_keys(Option<Vec::<String>>):
      required: false

      A tag key or keys for which you want to return all matching cluster snapshots that are associated with the specified key or keys. For example, suppose that you have snapshots that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the snapshots that have either or both of these tag keys associated with them.


    • tag_values(impl Into<String>) / set_tag_values(Option<Vec::<String>>):
      required: false

      A tag value or values for which you want to return all matching cluster snapshots that are associated with the specified tag value or values. For example, suppose that you have snapshots that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the snapshots that have either or both of these tag values associated with them.


    • cluster_exists(bool) / set_cluster_exists(Option<bool>):
      required: false

      A value that indicates whether to return snapshots only for an existing cluster. You can perform table-level restore only by using a snapshot of an existing cluster, that is, a cluster that has not been deleted. Values for this parameter work as follows:

      • If ClusterExists is set to true, ClusterIdentifier is required.

      • If ClusterExists is set to false and ClusterIdentifier isn’t specified, all snapshots associated with deleted clusters (orphaned snapshots) are returned.

      • If ClusterExists is set to false and ClusterIdentifier is specified for a deleted cluster, snapshots associated with that cluster are returned.

      • If ClusterExists is set to false and ClusterIdentifier is specified for an existing cluster, no snapshots are returned.


    • sorting_entities(SnapshotSortingEntity) / set_sorting_entities(Option<Vec::<SnapshotSortingEntity>>):
      required: false


  • On success, responds with DescribeClusterSnapshotsOutput with field(s):
    • marker(Option<String>):

      A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

    • snapshots(Option<Vec::<Snapshot>>):

      A list of Snapshot instances.

  • On failure, responds with SdkError<DescribeClusterSnapshotsError>
Source§

impl Client

Source

pub fn describe_cluster_subnet_groups( &self, ) -> DescribeClusterSubnetGroupsFluentBuilder

Constructs a fluent builder for the DescribeClusterSubnetGroups operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • cluster_subnet_group_name(impl Into<String>) / set_cluster_subnet_group_name(Option<String>):
      required: false

      The name of the cluster subnet group for which information is requested.


    • max_records(i32) / set_max_records(Option<i32>):
      required: false

      The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

      Default: 100

      Constraints: minimum 20, maximum 100.


    • marker(impl Into<String>) / set_marker(Option<String>):
      required: false

      An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterSubnetGroups request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.


    • tag_keys(impl Into<String>) / set_tag_keys(Option<Vec::<String>>):
      required: false

      A tag key or keys for which you want to return all matching cluster subnet groups that are associated with the specified key or keys. For example, suppose that you have subnet groups that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the subnet groups that have either or both of these tag keys associated with them.


    • tag_values(impl Into<String>) / set_tag_values(Option<Vec::<String>>):
      required: false

      A tag value or values for which you want to return all matching cluster subnet groups that are associated with the specified tag value or values. For example, suppose that you have subnet groups that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the subnet groups that have either or both of these tag values associated with them.


  • On success, responds with DescribeClusterSubnetGroupsOutput with field(s):
    • marker(Option<String>):

      A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

    • cluster_subnet_groups(Option<Vec::<ClusterSubnetGroup>>):

      A list of ClusterSubnetGroup instances.

  • On failure, responds with SdkError<DescribeClusterSubnetGroupsError>
Source§

impl Client

Source

pub fn describe_cluster_tracks(&self) -> DescribeClusterTracksFluentBuilder

Constructs a fluent builder for the DescribeClusterTracks operation. This operation supports pagination; See into_paginator().

Source§

impl Client

Source

pub fn describe_cluster_versions(&self) -> DescribeClusterVersionsFluentBuilder

Constructs a fluent builder for the DescribeClusterVersions operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • cluster_version(impl Into<String>) / set_cluster_version(Option<String>):
      required: false

      The specific cluster version to return.

      Example: 1.0


    • cluster_parameter_group_family(impl Into<String>) / set_cluster_parameter_group_family(Option<String>):
      required: false

      The name of a specific cluster parameter group family to return details for.

      Constraints:

      • Must be 1 to 255 alphanumeric characters

      • First character must be a letter

      • Cannot end with a hyphen or contain two consecutive hyphens


    • max_records(i32) / set_max_records(Option<i32>):
      required: false

      The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

      Default: 100

      Constraints: minimum 20, maximum 100.


    • marker(impl Into<String>) / set_marker(Option<String>):
      required: false

      An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterVersions request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.


  • On success, responds with DescribeClusterVersionsOutput with field(s):
    • marker(Option<String>):

      A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

    • cluster_versions(Option<Vec::<ClusterVersion>>):

      A list of Version elements.

  • On failure, responds with SdkError<DescribeClusterVersionsError>
Source§

impl Client

Source

pub fn describe_clusters(&self) -> DescribeClustersFluentBuilder

Constructs a fluent builder for the DescribeClusters operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • cluster_identifier(impl Into<String>) / set_cluster_identifier(Option<String>):
      required: false

      The unique identifier of a cluster whose properties you are requesting. This parameter is case sensitive.

      The default is that all clusters defined for an account are returned.


    • max_records(i32) / set_max_records(Option<i32>):
      required: false

      The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

      Default: 100

      Constraints: minimum 20, maximum 100.


    • marker(impl Into<String>) / set_marker(Option<String>):
      required: false

      An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusters request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

      Constraints: You can specify either the ClusterIdentifier parameter or the Marker parameter, but not both.


    • tag_keys(impl Into<String>) / set_tag_keys(Option<Vec::<String>>):
      required: false

      A tag key or keys for which you want to return all matching clusters that are associated with the specified key or keys. For example, suppose that you have clusters that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the clusters that have either or both of these tag keys associated with them.


    • tag_values(impl Into<String>) / set_tag_values(Option<Vec::<String>>):
      required: false

      A tag value or values for which you want to return all matching clusters that are associated with the specified tag value or values. For example, suppose that you have clusters that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the clusters that have either or both of these tag values associated with them.


  • On success, responds with DescribeClustersOutput with field(s):
    • marker(Option<String>):

      A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

    • clusters(Option<Vec::<Cluster>>):

      A list of Cluster objects, where each object describes one cluster.

  • On failure, responds with SdkError<DescribeClustersError>
Source§

impl Client

Source

pub fn describe_custom_domain_associations( &self, ) -> DescribeCustomDomainAssociationsFluentBuilder

Constructs a fluent builder for the DescribeCustomDomainAssociations operation. This operation supports pagination; See into_paginator().

Source§

impl Client

Source

pub fn describe_data_shares(&self) -> DescribeDataSharesFluentBuilder

Constructs a fluent builder for the DescribeDataShares operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • data_share_arn(impl Into<String>) / set_data_share_arn(Option<String>):
      required: false

      The Amazon resource name (ARN) of the datashare to describe details of.


    • max_records(i32) / set_max_records(Option<i32>):
      required: false

      The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.


    • marker(impl Into<String>) / set_marker(Option<String>):
      required: false

      An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataShares request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.


  • On success, responds with DescribeDataSharesOutput with field(s):
    • data_shares(Option<Vec::<DataShare>>):

      The results returned from describing datashares.

    • marker(Option<String>):

      An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataShares request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

  • On failure, responds with SdkError<DescribeDataSharesError>
Source§

impl Client

Source

pub fn describe_data_shares_for_consumer( &self, ) -> DescribeDataSharesForConsumerFluentBuilder

Constructs a fluent builder for the DescribeDataSharesForConsumer operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • consumer_arn(impl Into<String>) / set_consumer_arn(Option<String>):
      required: false

      The Amazon Resource Name (ARN) of the consumer namespace that returns in the list of datashares.


    • status(DataShareStatusForConsumer) / set_status(Option<DataShareStatusForConsumer>):
      required: false

      An identifier giving the status of a datashare in the consumer cluster. If this field is specified, Amazon Redshift returns the list of datashares that have the specified status.


    • max_records(i32) / set_max_records(Option<i32>):
      required: false

      The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.


    • marker(impl Into<String>) / set_marker(Option<String>):
      required: false

      An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataSharesForConsumer request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.


  • On success, responds with DescribeDataSharesForConsumerOutput with field(s):
    • data_shares(Option<Vec::<DataShare>>):

      Shows the results of datashares available for consumers.

    • marker(Option<String>):

      An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataSharesForConsumer request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

  • On failure, responds with SdkError<DescribeDataSharesForConsumerError>
Source§

impl Client

Source

pub fn describe_data_shares_for_producer( &self, ) -> DescribeDataSharesForProducerFluentBuilder

Constructs a fluent builder for the DescribeDataSharesForProducer operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • producer_arn(impl Into<String>) / set_producer_arn(Option<String>):
      required: false

      The Amazon Resource Name (ARN) of the producer namespace that returns in the list of datashares.


    • status(DataShareStatusForProducer) / set_status(Option<DataShareStatusForProducer>):
      required: false

      An identifier giving the status of a datashare in the producer. If this field is specified, Amazon Redshift returns the list of datashares that have the specified status.


    • max_records(i32) / set_max_records(Option<i32>):
      required: false

      The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.


    • marker(impl Into<String>) / set_marker(Option<String>):
      required: false

      An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataSharesForProducer request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.


  • On success, responds with DescribeDataSharesForProducerOutput with field(s):
    • data_shares(Option<Vec::<DataShare>>):

      Shows the results of datashares available for producers.

    • marker(Option<String>):

      An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataSharesForProducer request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

  • On failure, responds with SdkError<DescribeDataSharesForProducerError>
Source§

impl Client

Source

pub fn describe_default_cluster_parameters( &self, ) -> DescribeDefaultClusterParametersFluentBuilder

Constructs a fluent builder for the DescribeDefaultClusterParameters operation. This operation supports pagination; See into_paginator().

Source§

impl Client

Source

pub fn describe_endpoint_access(&self) -> DescribeEndpointAccessFluentBuilder

Constructs a fluent builder for the DescribeEndpointAccess operation. This operation supports pagination; See into_paginator().

Source§

impl Client

Source

pub fn describe_endpoint_authorization( &self, ) -> DescribeEndpointAuthorizationFluentBuilder

Constructs a fluent builder for the DescribeEndpointAuthorization operation. This operation supports pagination; See into_paginator().

Source§

impl Client

Source

pub fn describe_event_categories(&self) -> DescribeEventCategoriesFluentBuilder

Constructs a fluent builder for the DescribeEventCategories operation.

Source§

impl Client

Source

pub fn describe_event_subscriptions( &self, ) -> DescribeEventSubscriptionsFluentBuilder

Constructs a fluent builder for the DescribeEventSubscriptions operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • subscription_name(impl Into<String>) / set_subscription_name(Option<String>):
      required: false

      The name of the Amazon Redshift event notification subscription to be described.


    • max_records(i32) / set_max_records(Option<i32>):
      required: false

      The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

      Default: 100

      Constraints: minimum 20, maximum 100.


    • marker(impl Into<String>) / set_marker(Option<String>):
      required: false

      An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeEventSubscriptions request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.


    • tag_keys(impl Into<String>) / set_tag_keys(Option<Vec::<String>>):
      required: false

      A tag key or keys for which you want to return all matching event notification subscriptions that are associated with the specified key or keys. For example, suppose that you have subscriptions that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the subscriptions that have either or both of these tag keys associated with them.


    • tag_values(impl Into<String>) / set_tag_values(Option<Vec::<String>>):
      required: false

      A tag value or values for which you want to return all matching event notification subscriptions that are associated with the specified tag value or values. For example, suppose that you have subscriptions that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the subscriptions that have either or both of these tag values associated with them.


  • On success, responds with DescribeEventSubscriptionsOutput with field(s):
    • marker(Option<String>):

      A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

    • event_subscriptions_list(Option<Vec::<EventSubscription>>):

      A list of event subscriptions.

  • On failure, responds with SdkError<DescribeEventSubscriptionsError>
Source§

impl Client

Source

pub fn describe_events(&self) -> DescribeEventsFluentBuilder

Constructs a fluent builder for the DescribeEvents operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • source_identifier(impl Into<String>) / set_source_identifier(Option<String>):
      required: false

      The identifier of the event source for which events will be returned. If this parameter is not specified, then all sources are included in the response.

      Constraints:

      If SourceIdentifier is supplied, SourceType must also be provided.

      • Specify a cluster identifier when SourceType is cluster.

      • Specify a cluster security group name when SourceType is cluster-security-group.

      • Specify a cluster parameter group name when SourceType is cluster-parameter-group.

      • Specify a cluster snapshot identifier when SourceType is cluster-snapshot.


    • source_type(SourceType) / set_source_type(Option<SourceType>):
      required: false

      The event source to retrieve events for. If no value is specified, all events are returned.

      Constraints:

      If SourceType is supplied, SourceIdentifier must also be provided.

      • Specify cluster when SourceIdentifier is a cluster identifier.

      • Specify cluster-security-group when SourceIdentifier is a cluster security group name.

      • Specify cluster-parameter-group when SourceIdentifier is a cluster parameter group name.

      • Specify cluster-snapshot when SourceIdentifier is a cluster snapshot identifier.


    • start_time(DateTime) / set_start_time(Option<DateTime>):
      required: false

      The beginning of the time interval to retrieve events for, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.

      Example: 2009-07-08T18:00Z


    • end_time(DateTime) / set_end_time(Option<DateTime>):
      required: false

      The end of the time interval for which to retrieve events, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.

      Example: 2009-07-08T18:00Z


    • duration(i32) / set_duration(Option<i32>):
      required: false

      The number of minutes prior to the time of the request for which to retrieve events. For example, if the request is sent at 18:00 and you specify a duration of 60, then only events which have occurred after 17:00 will be returned.

      Default: 60


    • max_records(i32) / set_max_records(Option<i32>):
      required: false

      The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

      Default: 100

      Constraints: minimum 20, maximum 100.


    • marker(impl Into<String>) / set_marker(Option<String>):
      required: false

      An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeEvents request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.


  • On success, responds with DescribeEventsOutput with field(s):
    • marker(Option<String>):

      A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

    • events(Option<Vec::<Event>>):

      A list of Event instances.

  • On failure, responds with SdkError<DescribeEventsError>
Source§

impl Client

Source

pub fn describe_hsm_client_certificates( &self, ) -> DescribeHsmClientCertificatesFluentBuilder

Constructs a fluent builder for the DescribeHsmClientCertificates operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • hsm_client_certificate_identifier(impl Into<String>) / set_hsm_client_certificate_identifier(Option<String>):
      required: false

      The identifier of a specific HSM client certificate for which you want information. If no identifier is specified, information is returned for all HSM client certificates owned by your Amazon Web Services account.


    • max_records(i32) / set_max_records(Option<i32>):
      required: false

      The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

      Default: 100

      Constraints: minimum 20, maximum 100.


    • marker(impl Into<String>) / set_marker(Option<String>):
      required: false

      An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeHsmClientCertificates request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.


    • tag_keys(impl Into<String>) / set_tag_keys(Option<Vec::<String>>):
      required: false

      A tag key or keys for which you want to return all matching HSM client certificates that are associated with the specified key or keys. For example, suppose that you have HSM client certificates that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the HSM client certificates that have either or both of these tag keys associated with them.


    • tag_values(impl Into<String>) / set_tag_values(Option<Vec::<String>>):
      required: false

      A tag value or values for which you want to return all matching HSM client certificates that are associated with the specified tag value or values. For example, suppose that you have HSM client certificates that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the HSM client certificates that have either or both of these tag values associated with them.


  • On success, responds with DescribeHsmClientCertificatesOutput with field(s):
    • marker(Option<String>):

      A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

    • hsm_client_certificates(Option<Vec::<HsmClientCertificate>>):

      A list of the identifiers for one or more HSM client certificates used by Amazon Redshift clusters to store and retrieve database encryption keys in an HSM.

  • On failure, responds with SdkError<DescribeHsmClientCertificatesError>
Source§

impl Client

Source

pub fn describe_hsm_configurations( &self, ) -> DescribeHsmConfigurationsFluentBuilder

Constructs a fluent builder for the DescribeHsmConfigurations operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • hsm_configuration_identifier(impl Into<String>) / set_hsm_configuration_identifier(Option<String>):
      required: false

      The identifier of a specific Amazon Redshift HSM configuration to be described. If no identifier is specified, information is returned for all HSM configurations owned by your Amazon Web Services account.


    • max_records(i32) / set_max_records(Option<i32>):
      required: false

      The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

      Default: 100

      Constraints: minimum 20, maximum 100.


    • marker(impl Into<String>) / set_marker(Option<String>):
      required: false

      An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeHsmConfigurations request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.


    • tag_keys(impl Into<String>) / set_tag_keys(Option<Vec::<String>>):
      required: false

      A tag key or keys for which you want to return all matching HSM configurations that are associated with the specified key or keys. For example, suppose that you have HSM configurations that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the HSM configurations that have either or both of these tag keys associated with them.


    • tag_values(impl Into<String>) / set_tag_values(Option<Vec::<String>>):
      required: false

      A tag value or values for which you want to return all matching HSM configurations that are associated with the specified tag value or values. For example, suppose that you have HSM configurations that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the HSM configurations that have either or both of these tag values associated with them.


  • On success, responds with DescribeHsmConfigurationsOutput with field(s):
    • marker(Option<String>):

      A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

    • hsm_configurations(Option<Vec::<HsmConfiguration>>):

      A list of HsmConfiguration objects.

  • On failure, responds with SdkError<DescribeHsmConfigurationsError>
Source§

impl Client

Source

pub fn describe_inbound_integrations( &self, ) -> DescribeInboundIntegrationsFluentBuilder

Constructs a fluent builder for the DescribeInboundIntegrations operation. This operation supports pagination; See into_paginator().

Source§

impl Client

Source

pub fn describe_integrations(&self) -> DescribeIntegrationsFluentBuilder

Constructs a fluent builder for the DescribeIntegrations operation. This operation supports pagination; See into_paginator().

Source§

impl Client

Source

pub fn describe_logging_status(&self) -> DescribeLoggingStatusFluentBuilder

Constructs a fluent builder for the DescribeLoggingStatus operation.

Source§

impl Client

Source

pub fn describe_node_configuration_options( &self, ) -> DescribeNodeConfigurationOptionsFluentBuilder

Constructs a fluent builder for the DescribeNodeConfigurationOptions operation. This operation supports pagination; See into_paginator().

Source§

impl Client

Source

pub fn describe_orderable_cluster_options( &self, ) -> DescribeOrderableClusterOptionsFluentBuilder

Constructs a fluent builder for the DescribeOrderableClusterOptions operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • cluster_version(impl Into<String>) / set_cluster_version(Option<String>):
      required: false

      The version filter value. Specify this parameter to show only the available offerings matching the specified version.

      Default: All versions.

      Constraints: Must be one of the version returned from DescribeClusterVersions.


    • node_type(impl Into<String>) / set_node_type(Option<String>):
      required: false

      The node type filter value. Specify this parameter to show only the available offerings matching the specified node type.


    • max_records(i32) / set_max_records(Option<i32>):
      required: false

      The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

      Default: 100

      Constraints: minimum 20, maximum 100.


    • marker(impl Into<String>) / set_marker(Option<String>):
      required: false

      An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeOrderableClusterOptions request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.


  • On success, responds with DescribeOrderableClusterOptionsOutput with field(s):
    • orderable_cluster_options(Option<Vec::<OrderableClusterOption>>):

      An OrderableClusterOption structure containing information about orderable options for the cluster.

    • marker(Option<String>):

      A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

  • On failure, responds with SdkError<DescribeOrderableClusterOptionsError>
Source§

impl Client

Source

pub fn describe_partners(&self) -> DescribePartnersFluentBuilder

Constructs a fluent builder for the DescribePartners operation.

Source§

impl Client

Source

pub fn describe_redshift_idc_applications( &self, ) -> DescribeRedshiftIdcApplicationsFluentBuilder

Constructs a fluent builder for the DescribeRedshiftIdcApplications operation. This operation supports pagination; See into_paginator().

Source§

impl Client

Source

pub fn describe_reserved_node_exchange_status( &self, ) -> DescribeReservedNodeExchangeStatusFluentBuilder

Constructs a fluent builder for the DescribeReservedNodeExchangeStatus operation. This operation supports pagination; See into_paginator().

Source§

impl Client

Source

pub fn describe_reserved_node_offerings( &self, ) -> DescribeReservedNodeOfferingsFluentBuilder

Constructs a fluent builder for the DescribeReservedNodeOfferings operation. This operation supports pagination; See into_paginator().

Source§

impl Client

Source

pub fn describe_reserved_nodes(&self) -> DescribeReservedNodesFluentBuilder

Constructs a fluent builder for the DescribeReservedNodes operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • reserved_node_id(impl Into<String>) / set_reserved_node_id(Option<String>):
      required: false

      Identifier for the node reservation.


    • max_records(i32) / set_max_records(Option<i32>):
      required: false

      The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

      Default: 100

      Constraints: minimum 20, maximum 100.


    • marker(impl Into<String>) / set_marker(Option<String>):
      required: false

      An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeReservedNodes request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.


  • On success, responds with DescribeReservedNodesOutput with field(s):
    • marker(Option<String>):

      A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

    • reserved_nodes(Option<Vec::<ReservedNode>>):

      The list of ReservedNode objects.

  • On failure, responds with SdkError<DescribeReservedNodesError>
Source§

impl Client

Source

pub fn describe_resize(&self) -> DescribeResizeFluentBuilder

Constructs a fluent builder for the DescribeResize operation.

Source§

impl Client

Source

pub fn describe_scheduled_actions( &self, ) -> DescribeScheduledActionsFluentBuilder

Constructs a fluent builder for the DescribeScheduledActions operation. This operation supports pagination; See into_paginator().

Source§

impl Client

Source

pub fn describe_snapshot_copy_grants( &self, ) -> DescribeSnapshotCopyGrantsFluentBuilder

Constructs a fluent builder for the DescribeSnapshotCopyGrants operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • snapshot_copy_grant_name(impl Into<String>) / set_snapshot_copy_grant_name(Option<String>):
      required: false

      The name of the snapshot copy grant.


    • max_records(i32) / set_max_records(Option<i32>):
      required: false

      The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

      Default: 100

      Constraints: minimum 20, maximum 100.


    • marker(impl Into<String>) / set_marker(Option<String>):
      required: false

      An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeSnapshotCopyGrant request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

      Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.


    • tag_keys(impl Into<String>) / set_tag_keys(Option<Vec::<String>>):
      required: false

      A tag key or keys for which you want to return all matching resources that are associated with the specified key or keys. For example, suppose that you have resources tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with all resources that have either or both of these tag keys associated with them.


    • tag_values(impl Into<String>) / set_tag_values(Option<Vec::<String>>):
      required: false

      A tag value or values for which you want to return all matching resources that are associated with the specified value or values. For example, suppose that you have resources tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with all resources that have either or both of these tag values associated with them.


  • On success, responds with DescribeSnapshotCopyGrantsOutput with field(s):
    • marker(Option<String>):

      An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeSnapshotCopyGrant request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

      Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.

    • snapshot_copy_grants(Option<Vec::<SnapshotCopyGrant>>):

      The list of SnapshotCopyGrant objects.

  • On failure, responds with SdkError<DescribeSnapshotCopyGrantsError>
Source§

impl Client

Source

pub fn describe_snapshot_schedules( &self, ) -> DescribeSnapshotSchedulesFluentBuilder

Constructs a fluent builder for the DescribeSnapshotSchedules operation. This operation supports pagination; See into_paginator().

Source§

impl Client

Source

pub fn describe_storage(&self) -> DescribeStorageFluentBuilder

Constructs a fluent builder for the DescribeStorage operation.

Source§

impl Client

Source

pub fn describe_table_restore_status( &self, ) -> DescribeTableRestoreStatusFluentBuilder

Constructs a fluent builder for the DescribeTableRestoreStatus operation. This operation supports pagination; See into_paginator().

Source§

impl Client

Source

pub fn describe_tags(&self) -> DescribeTagsFluentBuilder

Constructs a fluent builder for the DescribeTags operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • resource_name(impl Into<String>) / set_resource_name(Option<String>):
      required: false

      The Amazon Resource Name (ARN) for which you want to describe the tag or tags. For example, arn:aws:redshift:us-east-2:123456789:cluster:t1.


    • resource_type(impl Into<String>) / set_resource_type(Option<String>):
      required: false

      The type of resource with which you want to view tags. Valid resource types are:

      • Cluster

      • CIDR/IP

      • EC2 security group

      • Snapshot

      • Cluster security group

      • Subnet group

      • HSM connection

      • HSM certificate

      • Parameter group

      • Snapshot copy grant

      • Integration (zero-ETL integration or S3 event integration)

        To describe the tags associated with an integration, don’t specify ResourceType, instead specify the ResourceName of the integration.

      For more information about Amazon Redshift resource types and constructing ARNs, go to Specifying Policy Elements: Actions, Effects, Resources, and Principals in the Amazon Redshift Cluster Management Guide.


    • max_records(i32) / set_max_records(Option<i32>):
      required: false

      The maximum number or response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.


    • marker(impl Into<String>) / set_marker(Option<String>):
      required: false

      A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the marker parameter and retrying the command. If the marker field is empty, all response records have been retrieved for the request.


    • tag_keys(impl Into<String>) / set_tag_keys(Option<Vec::<String>>):
      required: false

      A tag key or keys for which you want to return all matching resources that are associated with the specified key or keys. For example, suppose that you have resources tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with all resources that have either or both of these tag keys associated with them.


    • tag_values(impl Into<String>) / set_tag_values(Option<Vec::<String>>):
      required: false

      A tag value or values for which you want to return all matching resources that are associated with the specified value or values. For example, suppose that you have resources tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with all resources that have either or both of these tag values associated with them.


  • On success, responds with DescribeTagsOutput with field(s):
    • tagged_resources(Option<Vec::<TaggedResource>>):

      A list of tags with their associated resources.

    • marker(Option<String>):

      A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

  • On failure, responds with SdkError<DescribeTagsError>
Source§

impl Client

Source

pub fn describe_usage_limits(&self) -> DescribeUsageLimitsFluentBuilder

Constructs a fluent builder for the DescribeUsageLimits operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • usage_limit_id(impl Into<String>) / set_usage_limit_id(Option<String>):
      required: false

      The identifier of the usage limit to describe.


    • cluster_identifier(impl Into<String>) / set_cluster_identifier(Option<String>):
      required: false

      The identifier of the cluster for which you want to describe usage limits.


    • feature_type(UsageLimitFeatureType) / set_feature_type(Option<UsageLimitFeatureType>):
      required: false

      The feature type for which you want to describe usage limits.


    • max_records(i32) / set_max_records(Option<i32>):
      required: false

      The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

      Default: 100

      Constraints: minimum 20, maximum 100.


    • marker(impl Into<String>) / set_marker(Option<String>):
      required: false

      An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeUsageLimits request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.


    • tag_keys(impl Into<String>) / set_tag_keys(Option<Vec::<String>>):
      required: false

      A tag key or keys for which you want to return all matching usage limit objects that are associated with the specified key or keys. For example, suppose that you have parameter groups that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the usage limit objects have either or both of these tag keys associated with them.


    • tag_values(impl Into<String>) / set_tag_values(Option<Vec::<String>>):
      required: false

      A tag value or values for which you want to return all matching usage limit objects that are associated with the specified tag value or values. For example, suppose that you have parameter groups that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the usage limit objects that have either or both of these tag values associated with them.


  • On success, responds with DescribeUsageLimitsOutput with field(s):
    • usage_limits(Option<Vec::<UsageLimit>>):

      Contains the output from the DescribeUsageLimits action.

    • marker(Option<String>):

      A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

  • On failure, responds with SdkError<DescribeUsageLimitsError>
Source§

impl Client

Source

pub fn disable_logging(&self) -> DisableLoggingFluentBuilder

Constructs a fluent builder for the DisableLogging operation.

Source§

impl Client

Source

pub fn disable_snapshot_copy(&self) -> DisableSnapshotCopyFluentBuilder

Constructs a fluent builder for the DisableSnapshotCopy operation.

Source§

impl Client

Source

pub fn disassociate_data_share_consumer( &self, ) -> DisassociateDataShareConsumerFluentBuilder

Constructs a fluent builder for the DisassociateDataShareConsumer operation.

Source§

impl Client

Source

pub fn enable_logging(&self) -> EnableLoggingFluentBuilder

Constructs a fluent builder for the EnableLogging operation.

Source§

impl Client

Source

pub fn enable_snapshot_copy(&self) -> EnableSnapshotCopyFluentBuilder

Constructs a fluent builder for the EnableSnapshotCopy operation.

Source§

impl Client

Source

pub fn failover_primary_compute(&self) -> FailoverPrimaryComputeFluentBuilder

Constructs a fluent builder for the FailoverPrimaryCompute operation.

Source§

impl Client

Source

pub fn get_cluster_credentials(&self) -> GetClusterCredentialsFluentBuilder

Constructs a fluent builder for the GetClusterCredentials operation.

  • The fluent builder is configurable:
    • db_user(impl Into<String>) / set_db_user(Option<String>):
      required: true

      The name of a database user. If a user name matching DbUser exists in the database, the temporary user credentials have the same permissions as the existing user. If DbUser doesn’t exist in the database and Autocreate is True, a new user is created using the value for DbUser with PUBLIC permissions. If a database user matching the value for DbUser doesn’t exist and Autocreate is False, then the command succeeds but the connection attempt will fail because the user doesn’t exist in the database.

      For more information, see CREATE USER in the Amazon Redshift Database Developer Guide.

      Constraints:

      • Must be 1 to 64 alphanumeric characters or hyphens. The user name can’t be PUBLIC.

      • Must contain uppercase or lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.

      • First character must be a letter.

      • Must not contain a colon ( : ) or slash ( / ).

      • Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.


    • db_name(impl Into<String>) / set_db_name(Option<String>):
      required: false

      The name of a database that DbUser is authorized to log on to. If DbName is not specified, DbUser can log on to any existing database.

      Constraints:

      • Must be 1 to 64 alphanumeric characters or hyphens

      • Must contain uppercase or lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.

      • First character must be a letter.

      • Must not contain a colon ( : ) or slash ( / ).

      • Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.


    • cluster_identifier(impl Into<String>) / set_cluster_identifier(Option<String>):
      required: false

      The unique identifier of the cluster that contains the database for which you are requesting credentials. This parameter is case sensitive.


    • duration_seconds(i32) / set_duration_seconds(Option<i32>):
      required: false

      The number of seconds until the returned temporary password expires.

      Constraint: minimum 900, maximum 3600.

      Default: 900


    • auto_create(bool) / set_auto_create(Option<bool>):
      required: false

      Create a database user with the name specified for the user named in DbUser if one does not exist.


    • db_groups(impl Into<String>) / set_db_groups(Option<Vec::<String>>):
      required: false

      A list of the names of existing database groups that the user named in DbUser will join for the current session, in addition to any group memberships for an existing user. If not specified, a new user is added only to PUBLIC.

      Database group name constraints

      • Must be 1 to 64 alphanumeric characters or hyphens

      • Must contain only lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.

      • First character must be a letter.

      • Must not contain a colon ( : ) or slash ( / ).

      • Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.


    • custom_domain_name(impl Into<String>) / set_custom_domain_name(Option<String>):
      required: false

      The custom domain name for the cluster credentials.


  • On success, responds with GetClusterCredentialsOutput with field(s):
    • db_user(Option<String>):

      A database user name that is authorized to log on to the database DbName using the password DbPassword. If the specified DbUser exists in the database, the new user name has the same database permissions as the the user named in DbUser. By default, the user is added to PUBLIC. If the DbGroups parameter is specifed, DbUser is added to the listed groups for any sessions created using these credentials.

    • db_password(Option<String>):

      A temporary password that authorizes the user name returned by DbUser to log on to the database DbName.

    • expiration(Option<DateTime>):

      The date and time the password in DbPassword expires.

  • On failure, responds with SdkError<GetClusterCredentialsError>
Source§

impl Client

Source

pub fn get_cluster_credentials_with_iam( &self, ) -> GetClusterCredentialsWithIAMFluentBuilder

Constructs a fluent builder for the GetClusterCredentialsWithIAM operation.

Source§

impl Client

Source

pub fn get_reserved_node_exchange_configuration_options( &self, ) -> GetReservedNodeExchangeConfigurationOptionsFluentBuilder

Constructs a fluent builder for the GetReservedNodeExchangeConfigurationOptions operation. This operation supports pagination; See into_paginator().

Source§

impl Client

Source

pub fn get_reserved_node_exchange_offerings( &self, ) -> GetReservedNodeExchangeOfferingsFluentBuilder

Constructs a fluent builder for the GetReservedNodeExchangeOfferings operation. This operation supports pagination; See into_paginator().

Source§

impl Client

Source

pub fn get_resource_policy(&self) -> GetResourcePolicyFluentBuilder

Constructs a fluent builder for the GetResourcePolicy operation.

Source§

impl Client

Source

pub fn list_recommendations(&self) -> ListRecommendationsFluentBuilder

Constructs a fluent builder for the ListRecommendations operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • cluster_identifier(impl Into<String>) / set_cluster_identifier(Option<String>):
      required: false

      The unique identifier of the Amazon Redshift cluster for which the list of Advisor recommendations is returned. If the neither the cluster identifier and the cluster namespace ARN parameters are specified, then recommendations for all clusters in the account are returned.


    • namespace_arn(impl Into<String>) / set_namespace_arn(Option<String>):
      required: false

      The Amazon Redshift cluster namespace Amazon Resource Name (ARN) for which the list of Advisor recommendations is returned. If the neither the cluster identifier and the cluster namespace ARN parameters are specified, then recommendations for all clusters in the account are returned.


    • max_records(i32) / set_max_records(Option<i32>):
      required: false

      The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.


    • marker(impl Into<String>) / set_marker(Option<String>):
      required: false

      A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.


  • On success, responds with ListRecommendationsOutput with field(s):
    • recommendations(Option<Vec::<Recommendation>>):

      The Advisor recommendations for action on the Amazon Redshift cluster.

    • marker(Option<String>):

      A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

  • On failure, responds with SdkError<ListRecommendationsError>
Source§

impl Client

Source

pub fn modify_aqua_configuration(&self) -> ModifyAquaConfigurationFluentBuilder

Constructs a fluent builder for the ModifyAquaConfiguration operation.

Source§

impl Client

Source

pub fn modify_authentication_profile( &self, ) -> ModifyAuthenticationProfileFluentBuilder

Constructs a fluent builder for the ModifyAuthenticationProfile operation.

Source§

impl Client

Source

pub fn modify_cluster(&self) -> ModifyClusterFluentBuilder

Constructs a fluent builder for the ModifyCluster operation.

Source§

impl Client

Source

pub fn modify_cluster_db_revision(&self) -> ModifyClusterDbRevisionFluentBuilder

Constructs a fluent builder for the ModifyClusterDbRevision operation.

Source§

impl Client

Source

pub fn modify_cluster_iam_roles(&self) -> ModifyClusterIamRolesFluentBuilder

Constructs a fluent builder for the ModifyClusterIamRoles operation.

Source§

impl Client

Source

pub fn modify_cluster_maintenance( &self, ) -> ModifyClusterMaintenanceFluentBuilder

Constructs a fluent builder for the ModifyClusterMaintenance operation.

Source§

impl Client

Source

pub fn modify_cluster_parameter_group( &self, ) -> ModifyClusterParameterGroupFluentBuilder

Constructs a fluent builder for the ModifyClusterParameterGroup operation.

Source§

impl Client

Source

pub fn modify_cluster_snapshot(&self) -> ModifyClusterSnapshotFluentBuilder

Constructs a fluent builder for the ModifyClusterSnapshot operation.

Source§

impl Client

Source

pub fn modify_cluster_snapshot_schedule( &self, ) -> ModifyClusterSnapshotScheduleFluentBuilder

Constructs a fluent builder for the ModifyClusterSnapshotSchedule operation.

Source§

impl Client

Source

pub fn modify_cluster_subnet_group( &self, ) -> ModifyClusterSubnetGroupFluentBuilder

Constructs a fluent builder for the ModifyClusterSubnetGroup operation.

Source§

impl Client

Source

pub fn modify_custom_domain_association( &self, ) -> ModifyCustomDomainAssociationFluentBuilder

Constructs a fluent builder for the ModifyCustomDomainAssociation operation.

Source§

impl Client

Source

pub fn modify_endpoint_access(&self) -> ModifyEndpointAccessFluentBuilder

Constructs a fluent builder for the ModifyEndpointAccess operation.

Source§

impl Client

Source

pub fn modify_event_subscription(&self) -> ModifyEventSubscriptionFluentBuilder

Constructs a fluent builder for the ModifyEventSubscription operation.

Source§

impl Client

Source

pub fn modify_integration(&self) -> ModifyIntegrationFluentBuilder

Constructs a fluent builder for the ModifyIntegration operation.

Source§

impl Client

Source

pub fn modify_redshift_idc_application( &self, ) -> ModifyRedshiftIdcApplicationFluentBuilder

Constructs a fluent builder for the ModifyRedshiftIdcApplication operation.

Source§

impl Client

Source

pub fn modify_scheduled_action(&self) -> ModifyScheduledActionFluentBuilder

Constructs a fluent builder for the ModifyScheduledAction operation.

Source§

impl Client

Source

pub fn modify_snapshot_copy_retention_period( &self, ) -> ModifySnapshotCopyRetentionPeriodFluentBuilder

Constructs a fluent builder for the ModifySnapshotCopyRetentionPeriod operation.

  • The fluent builder is configurable:
    • cluster_identifier(impl Into<String>) / set_cluster_identifier(Option<String>):
      required: true

      The unique identifier of the cluster for which you want to change the retention period for either automated or manual snapshots that are copied to a destination Amazon Web Services Region.

      Constraints: Must be the valid name of an existing cluster that has cross-region snapshot copy enabled.


    • retention_period(i32) / set_retention_period(Option<i32>):
      required: true

      The number of days to retain automated snapshots in the destination Amazon Web Services Region after they are copied from the source Amazon Web Services Region.

      By default, this only changes the retention period of copied automated snapshots.

      If you decrease the retention period for automated snapshots that are copied to a destination Amazon Web Services Region, Amazon Redshift deletes any existing automated snapshots that were copied to the destination Amazon Web Services Region and that fall outside of the new retention period.

      Constraints: Must be at least 1 and no more than 35 for automated snapshots.

      If you specify the manual option, only newly copied manual snapshots will have the new retention period.

      If you specify the value of -1 newly copied manual snapshots are retained indefinitely.

      Constraints: The number of days must be either -1 or an integer between 1 and 3,653 for manual snapshots.


    • manual(bool) / set_manual(Option<bool>):
      required: false

      Indicates whether to apply the snapshot retention period to newly copied manual snapshots instead of automated snapshots.


  • On success, responds with ModifySnapshotCopyRetentionPeriodOutput with field(s):
  • On failure, responds with SdkError<ModifySnapshotCopyRetentionPeriodError>
Source§

impl Client

Source

pub fn modify_snapshot_schedule(&self) -> ModifySnapshotScheduleFluentBuilder

Constructs a fluent builder for the ModifySnapshotSchedule operation.

Source§

impl Client

Source

pub fn modify_usage_limit(&self) -> ModifyUsageLimitFluentBuilder

Constructs a fluent builder for the ModifyUsageLimit operation.

Source§

impl Client

Source

pub fn pause_cluster(&self) -> PauseClusterFluentBuilder

Constructs a fluent builder for the PauseCluster operation.

Source§

impl Client

Source

pub fn purchase_reserved_node_offering( &self, ) -> PurchaseReservedNodeOfferingFluentBuilder

Constructs a fluent builder for the PurchaseReservedNodeOffering operation.

Source§

impl Client

Source

pub fn put_resource_policy(&self) -> PutResourcePolicyFluentBuilder

Constructs a fluent builder for the PutResourcePolicy operation.

Source§

impl Client

Source

pub fn reboot_cluster(&self) -> RebootClusterFluentBuilder

Constructs a fluent builder for the RebootCluster operation.

Source§

impl Client

Source

pub fn register_namespace(&self) -> RegisterNamespaceFluentBuilder

Constructs a fluent builder for the RegisterNamespace operation.

Source§

impl Client

Source

pub fn reject_data_share(&self) -> RejectDataShareFluentBuilder

Constructs a fluent builder for the RejectDataShare operation.

Source§

impl Client

Source

pub fn reset_cluster_parameter_group( &self, ) -> ResetClusterParameterGroupFluentBuilder

Constructs a fluent builder for the ResetClusterParameterGroup operation.

Source§

impl Client

Source

pub fn resize_cluster(&self) -> ResizeClusterFluentBuilder

Constructs a fluent builder for the ResizeCluster operation.

Source§

impl Client

Source

pub fn restore_from_cluster_snapshot( &self, ) -> RestoreFromClusterSnapshotFluentBuilder

Constructs a fluent builder for the RestoreFromClusterSnapshot operation.

Source§

impl Client

Source

pub fn restore_table_from_cluster_snapshot( &self, ) -> RestoreTableFromClusterSnapshotFluentBuilder

Constructs a fluent builder for the RestoreTableFromClusterSnapshot operation.

Source§

impl Client

Source

pub fn resume_cluster(&self) -> ResumeClusterFluentBuilder

Constructs a fluent builder for the ResumeCluster operation.

Source§

impl Client

Source

pub fn revoke_cluster_security_group_ingress( &self, ) -> RevokeClusterSecurityGroupIngressFluentBuilder

Constructs a fluent builder for the RevokeClusterSecurityGroupIngress operation.

Source§

impl Client

Source

pub fn revoke_endpoint_access(&self) -> RevokeEndpointAccessFluentBuilder

Constructs a fluent builder for the RevokeEndpointAccess operation.

Source§

impl Client

Source

pub fn revoke_snapshot_access(&self) -> RevokeSnapshotAccessFluentBuilder

Constructs a fluent builder for the RevokeSnapshotAccess operation.

Source§

impl Client

Source

pub fn rotate_encryption_key(&self) -> RotateEncryptionKeyFluentBuilder

Constructs a fluent builder for the RotateEncryptionKey operation.

Source§

impl Client

Source

pub fn update_partner_status(&self) -> UpdatePartnerStatusFluentBuilder

Constructs a fluent builder for the UpdatePartnerStatus operation.

Source§

impl Client

Source

pub fn from_conf(conf: Config) -> Self

Creates a new client from the service Config.

§Panics

This method will panic in the following cases:

  • Retries or timeouts are enabled without a sleep_impl configured.
  • Identity caching is enabled without a sleep_impl and time_source configured.
  • No behavior_version is provided.

The panic message for each of these will have instructions on how to resolve them.

Source

pub fn config(&self) -> &Config

Returns the client’s configuration.

Source§

impl Client

Source

pub fn new(sdk_config: &SdkConfig) -> Self

Creates a new client from an SDK Config.

§Panics
  • This method will panic if the sdk_config is missing an async sleep implementation. If you experience this panic, set the sleep_impl on the Config passed into this function to fix it.
  • This method will panic if the sdk_config is missing an HTTP connector. If you experience this panic, set the http_connector on the Config passed into this function to fix it.
  • This method will panic if no BehaviorVersion is provided. If you experience this panic, set behavior_version on the Config or enable the behavior-version-latest Cargo feature.

Trait Implementations§

Source§

impl Clone for Client

Source§

fn clone(&self) -> Client

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Client

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Waiters for Client

Auto Trait Implementations§

§

impl Freeze for Client

§

impl !RefUnwindSafe for Client

§

impl Send for Client

§

impl Sync for Client

§

impl Unpin for Client

§

impl !UnwindSafe for Client

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

Source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
Source§

impl<T> Paint for T
where T: ?Sized,

Source§

fn fg(&self, value: Color) -> Painted<&T>

Returns a styled value derived from self with the foreground set to value.

This method should be used rarely. Instead, prefer to use color-specific builder methods like red() and green(), which have the same functionality but are pithier.

§Example

Set foreground color to white using fg():

use yansi::{Paint, Color};

painted.fg(Color::White);

Set foreground color to white using white().

use yansi::Paint;

painted.white();
Source§

fn primary(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Primary].

§Example
println!("{}", value.primary());
Source§

fn fixed(&self, color: u8) -> Painted<&T>

Returns self with the fg() set to [Color :: Fixed].

§Example
println!("{}", value.fixed(color));
Source§

fn rgb(&self, r: u8, g: u8, b: u8) -> Painted<&T>

Returns self with the fg() set to [Color :: Rgb].

§Example
println!("{}", value.rgb(r, g, b));
Source§

fn black(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Black].

§Example
println!("{}", value.black());
Source§

fn red(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Red].

§Example
println!("{}", value.red());
Source§

fn green(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Green].

§Example
println!("{}", value.green());
Source§

fn yellow(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Yellow].

§Example
println!("{}", value.yellow());
Source§

fn blue(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Blue].

§Example
println!("{}", value.blue());
Source§

fn magenta(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Magenta].

§Example
println!("{}", value.magenta());
Source§

fn cyan(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Cyan].

§Example
println!("{}", value.cyan());
Source§

fn white(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: White].

§Example
println!("{}", value.white());
Source§

fn bright_black(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightBlack].

§Example
println!("{}", value.bright_black());
Source§

fn bright_red(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightRed].

§Example
println!("{}", value.bright_red());
Source§

fn bright_green(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightGreen].

§Example
println!("{}", value.bright_green());
Source§

fn bright_yellow(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightYellow].

§Example
println!("{}", value.bright_yellow());
Source§

fn bright_blue(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightBlue].

§Example
println!("{}", value.bright_blue());
Source§

fn bright_magenta(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightMagenta].

§Example
println!("{}", value.bright_magenta());
Source§

fn bright_cyan(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightCyan].

§Example
println!("{}", value.bright_cyan());
Source§

fn bright_white(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightWhite].

§Example
println!("{}", value.bright_white());
Source§

fn bg(&self, value: Color) -> Painted<&T>

Returns a styled value derived from self with the background set to value.

This method should be used rarely. Instead, prefer to use color-specific builder methods like on_red() and on_green(), which have the same functionality but are pithier.

§Example

Set background color to red using fg():

use yansi::{Paint, Color};

painted.bg(Color::Red);

Set background color to red using on_red().

use yansi::Paint;

painted.on_red();
Source§

fn on_primary(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Primary].

§Example
println!("{}", value.on_primary());
Source§

fn on_fixed(&self, color: u8) -> Painted<&T>

Returns self with the bg() set to [Color :: Fixed].

§Example
println!("{}", value.on_fixed(color));
Source§

fn on_rgb(&self, r: u8, g: u8, b: u8) -> Painted<&T>

Returns self with the bg() set to [Color :: Rgb].

§Example
println!("{}", value.on_rgb(r, g, b));
Source§

fn on_black(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Black].

§Example
println!("{}", value.on_black());
Source§

fn on_red(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Red].

§Example
println!("{}", value.on_red());
Source§

fn on_green(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Green].

§Example
println!("{}", value.on_green());
Source§

fn on_yellow(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Yellow].

§Example
println!("{}", value.on_yellow());
Source§

fn on_blue(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Blue].

§Example
println!("{}", value.on_blue());
Source§

fn on_magenta(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Magenta].

§Example
println!("{}", value.on_magenta());
Source§

fn on_cyan(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Cyan].

§Example
println!("{}", value.on_cyan());
Source§

fn on_white(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: White].

§Example
println!("{}", value.on_white());
Source§

fn on_bright_black(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightBlack].

§Example
println!("{}", value.on_bright_black());
Source§

fn on_bright_red(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightRed].

§Example
println!("{}", value.on_bright_red());
Source§

fn on_bright_green(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightGreen].

§Example
println!("{}", value.on_bright_green());
Source§

fn on_bright_yellow(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightYellow].

§Example
println!("{}", value.on_bright_yellow());
Source§

fn on_bright_blue(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightBlue].

§Example
println!("{}", value.on_bright_blue());
Source§

fn on_bright_magenta(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightMagenta].

§Example
println!("{}", value.on_bright_magenta());
Source§

fn on_bright_cyan(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightCyan].

§Example
println!("{}", value.on_bright_cyan());
Source§

fn on_bright_white(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightWhite].

§Example
println!("{}", value.on_bright_white());
Source§

fn attr(&self, value: Attribute) -> Painted<&T>

Enables the styling Attribute value.

This method should be used rarely. Instead, prefer to use attribute-specific builder methods like bold() and underline(), which have the same functionality but are pithier.

§Example

Make text bold using attr():

use yansi::{Paint, Attribute};

painted.attr(Attribute::Bold);

Make text bold using using bold().

use yansi::Paint;

painted.bold();
Source§

fn bold(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Bold].

§Example
println!("{}", value.bold());
Source§

fn dim(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Dim].

§Example
println!("{}", value.dim());
Source§

fn italic(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Italic].

§Example
println!("{}", value.italic());
Source§

fn underline(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Underline].

§Example
println!("{}", value.underline());

Returns self with the attr() set to [Attribute :: Blink].

§Example
println!("{}", value.blink());

Returns self with the attr() set to [Attribute :: RapidBlink].

§Example
println!("{}", value.rapid_blink());
Source§

fn invert(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Invert].

§Example
println!("{}", value.invert());
Source§

fn conceal(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Conceal].

§Example
println!("{}", value.conceal());
Source§

fn strike(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Strike].

§Example
println!("{}", value.strike());
Source§

fn quirk(&self, value: Quirk) -> Painted<&T>

Enables the yansi Quirk value.

This method should be used rarely. Instead, prefer to use quirk-specific builder methods like mask() and wrap(), which have the same functionality but are pithier.

§Example

Enable wrapping using .quirk():

use yansi::{Paint, Quirk};

painted.quirk(Quirk::Wrap);

Enable wrapping using wrap().

use yansi::Paint;

painted.wrap();
Source§

fn mask(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Mask].

§Example
println!("{}", value.mask());
Source§

fn wrap(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Wrap].

§Example
println!("{}", value.wrap());
Source§

fn linger(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Linger].

§Example
println!("{}", value.linger());
Source§

fn clear(&self) -> Painted<&T>

👎Deprecated since 1.0.1: renamed to resetting() due to conflicts with Vec::clear(). The clear() method will be removed in a future release.

Returns self with the quirk() set to [Quirk :: Clear].

§Example
println!("{}", value.clear());
Source§

fn resetting(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Resetting].

§Example
println!("{}", value.resetting());
Source§

fn bright(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Bright].

§Example
println!("{}", value.bright());
Source§

fn on_bright(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: OnBright].

§Example
println!("{}", value.on_bright());
Source§

fn whenever(&self, value: Condition) -> Painted<&T>

Conditionally enable styling based on whether the Condition value applies. Replaces any previous condition.

See the crate level docs for more details.

§Example

Enable styling painted only when both stdout and stderr are TTYs:

use yansi::{Paint, Condition};

painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);
Source§

fn new(self) -> Painted<Self>
where Self: Sized,

Create a new Painted with a default Style. Read more
Source§

fn paint<S>(&self, style: S) -> Painted<&Self>
where S: Into<Style>,

Apply a style wholesale to self. Any previous style is replaced. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,