Struct aws_sdk_lightsail::client::Client[][src]

pub struct Client<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description

Client for Amazon Lightsail

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

Examples

Constructing a client and invoking an operation

    // create a shared configuration. This can be used & shared between multiple service clients.
    let shared_config = aws_config::load_from_env().await;
    let client = aws_sdk_lightsail::Client::new(&shared_config);
    // invoke an operation
    /* let rsp = client
        .<operationname>().
        .<param>("some value")
        .send().await; */

Constructing a client with custom configuration

use aws_config::RetryConfig;
    let shared_config = aws_config::load_from_env().await;
    let config = aws_sdk_lightsail::config::Builder::from(&shared_config)
        .retry_config(RetryConfig::disabled())
        .build();
    let client = aws_sdk_lightsail::Client::from_conf(config);

Implementations

Creates a client with the given service configuration.

Returns the client’s configuration.

Constructs a fluent builder for the AllocateStaticIp operation.

See AllocateStaticIp for more information about the operation and its arguments.

Constructs a fluent builder for the AttachCertificateToDistribution operation.

See AttachCertificateToDistribution for more information about the operation and its arguments.

Constructs a fluent builder for the AttachDisk operation.

See AttachDisk for more information about the operation and its arguments.

Constructs a fluent builder for the AttachInstancesToLoadBalancer operation.

See AttachInstancesToLoadBalancer for more information about the operation and its arguments.

Constructs a fluent builder for the AttachLoadBalancerTlsCertificate operation.

See AttachLoadBalancerTlsCertificate for more information about the operation and its arguments.

Constructs a fluent builder for the AttachStaticIp operation.

See AttachStaticIp for more information about the operation and its arguments.

Constructs a fluent builder for the CloseInstancePublicPorts operation.

See CloseInstancePublicPorts for more information about the operation and its arguments.

Constructs a fluent builder for the CopySnapshot operation.

See CopySnapshot for more information about the operation and its arguments.

Constructs a fluent builder for the CreateBucket operation.

See CreateBucket for more information about the operation and its arguments.

Constructs a fluent builder for the CreateBucketAccessKey operation.

See CreateBucketAccessKey for more information about the operation and its arguments.

Constructs a fluent builder for the CreateCertificate operation.

See CreateCertificate for more information about the operation and its arguments.

Constructs a fluent builder for the CreateCloudFormationStack operation.

See CreateCloudFormationStack for more information about the operation and its arguments.

Constructs a fluent builder for the CreateContactMethod operation.

See CreateContactMethod for more information about the operation and its arguments.

Constructs a fluent builder for the CreateContainerService operation.

See CreateContainerService for more information about the operation and its arguments.

Constructs a fluent builder for the CreateContainerServiceDeployment operation.

See CreateContainerServiceDeployment for more information about the operation and its arguments.

Constructs a fluent builder for the CreateContainerServiceRegistryLogin operation.

See CreateContainerServiceRegistryLogin for more information about the operation and its arguments.

Constructs a fluent builder for the CreateDisk operation.

See CreateDisk for more information about the operation and its arguments.

Constructs a fluent builder for the CreateDiskFromSnapshot operation.

See CreateDiskFromSnapshot for more information about the operation and its arguments.

Constructs a fluent builder for the CreateDiskSnapshot operation.

See CreateDiskSnapshot for more information about the operation and its arguments.

Constructs a fluent builder for the CreateDistribution operation.

See CreateDistribution for more information about the operation and its arguments.

Constructs a fluent builder for the CreateDomain operation.

See CreateDomain for more information about the operation and its arguments.

pub fn create_domain_entry(&self) -> CreateDomainEntry<C, M, R>

Constructs a fluent builder for the CreateDomainEntry operation.

See CreateDomainEntry for more information about the operation and its arguments.

Constructs a fluent builder for the CreateInstances operation.

See CreateInstances for more information about the operation and its arguments.

Constructs a fluent builder for the CreateInstancesFromSnapshot operation.

See CreateInstancesFromSnapshot for more information about the operation and its arguments.

Constructs a fluent builder for the CreateInstanceSnapshot operation.

See CreateInstanceSnapshot for more information about the operation and its arguments.

Constructs a fluent builder for the CreateKeyPair operation.

See CreateKeyPair for more information about the operation and its arguments.

Constructs a fluent builder for the CreateLoadBalancer operation.

See CreateLoadBalancer for more information about the operation and its arguments.

Constructs a fluent builder for the CreateLoadBalancerTlsCertificate operation.

See CreateLoadBalancerTlsCertificate for more information about the operation and its arguments.

Constructs a fluent builder for the CreateRelationalDatabase operation.

See CreateRelationalDatabase for more information about the operation and its arguments.

Constructs a fluent builder for the CreateRelationalDatabaseFromSnapshot operation.

See CreateRelationalDatabaseFromSnapshot for more information about the operation and its arguments.

Constructs a fluent builder for the CreateRelationalDatabaseSnapshot operation.

See CreateRelationalDatabaseSnapshot for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteAlarm operation.

See DeleteAlarm for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteAutoSnapshot operation.

See DeleteAutoSnapshot for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteBucket operation.

See DeleteBucket for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteBucketAccessKey operation.

See DeleteBucketAccessKey for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteCertificate operation.

See DeleteCertificate for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteContactMethod operation.

See DeleteContactMethod for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteContainerImage operation.

See DeleteContainerImage for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteContainerService operation.

See DeleteContainerService for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteDisk operation.

See DeleteDisk for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteDiskSnapshot operation.

See DeleteDiskSnapshot for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteDistribution operation.

See DeleteDistribution for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteDomain operation.

See DeleteDomain for more information about the operation and its arguments.

pub fn delete_domain_entry(&self) -> DeleteDomainEntry<C, M, R>

Constructs a fluent builder for the DeleteDomainEntry operation.

See DeleteDomainEntry for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteInstance operation.

See DeleteInstance for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteInstanceSnapshot operation.

See DeleteInstanceSnapshot for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteKeyPair operation.

See DeleteKeyPair for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteKnownHostKeys operation.

See DeleteKnownHostKeys for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteLoadBalancer operation.

See DeleteLoadBalancer for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteLoadBalancerTlsCertificate operation.

See DeleteLoadBalancerTlsCertificate for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteRelationalDatabase operation.

See DeleteRelationalDatabase for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteRelationalDatabaseSnapshot operation.

See DeleteRelationalDatabaseSnapshot for more information about the operation and its arguments.

Constructs a fluent builder for the DetachCertificateFromDistribution operation.

See DetachCertificateFromDistribution for more information about the operation and its arguments.

Constructs a fluent builder for the DetachDisk operation.

See DetachDisk for more information about the operation and its arguments.

Constructs a fluent builder for the DetachInstancesFromLoadBalancer operation.

See DetachInstancesFromLoadBalancer for more information about the operation and its arguments.

Constructs a fluent builder for the DetachStaticIp operation.

See DetachStaticIp for more information about the operation and its arguments.

Constructs a fluent builder for the DisableAddOn operation.

See DisableAddOn for more information about the operation and its arguments.

Constructs a fluent builder for the DownloadDefaultKeyPair operation.

See DownloadDefaultKeyPair for more information about the operation and its arguments.

Constructs a fluent builder for the EnableAddOn operation.

See EnableAddOn for more information about the operation and its arguments.

Constructs a fluent builder for the ExportSnapshot operation.

See ExportSnapshot for more information about the operation and its arguments.

Constructs a fluent builder for the GetActiveNames operation.

See GetActiveNames for more information about the operation and its arguments.

Constructs a fluent builder for the GetAlarms operation.

See GetAlarms for more information about the operation and its arguments.

Constructs a fluent builder for the GetAutoSnapshots operation.

See GetAutoSnapshots for more information about the operation and its arguments.

Constructs a fluent builder for the GetBlueprints operation.

See GetBlueprints for more information about the operation and its arguments.

Constructs a fluent builder for the GetBucketAccessKeys operation.

See GetBucketAccessKeys for more information about the operation and its arguments.

Constructs a fluent builder for the GetBucketBundles operation.

See GetBucketBundles for more information about the operation and its arguments.

Constructs a fluent builder for the GetBucketMetricData operation.

See GetBucketMetricData for more information about the operation and its arguments.

Constructs a fluent builder for the GetBuckets operation.

See GetBuckets for more information about the operation and its arguments.

Constructs a fluent builder for the GetBundles operation.

See GetBundles for more information about the operation and its arguments.

Constructs a fluent builder for the GetCertificates operation.

See GetCertificates for more information about the operation and its arguments.

Constructs a fluent builder for the GetCloudFormationStackRecords operation.

See GetCloudFormationStackRecords for more information about the operation and its arguments.

Constructs a fluent builder for the GetContactMethods operation.

See GetContactMethods for more information about the operation and its arguments.

Constructs a fluent builder for the GetContainerAPIMetadata operation.

See GetContainerAPIMetadata for more information about the operation and its arguments.

Constructs a fluent builder for the GetContainerImages operation.

See GetContainerImages for more information about the operation and its arguments.

Constructs a fluent builder for the GetContainerLog operation.

See GetContainerLog for more information about the operation and its arguments.

Constructs a fluent builder for the GetContainerServiceDeployments operation.

See GetContainerServiceDeployments for more information about the operation and its arguments.

Constructs a fluent builder for the GetContainerServiceMetricData operation.

See GetContainerServiceMetricData for more information about the operation and its arguments.

Constructs a fluent builder for the GetContainerServicePowers operation.

See GetContainerServicePowers for more information about the operation and its arguments.

Constructs a fluent builder for the GetContainerServices operation.

See GetContainerServices for more information about the operation and its arguments.

Constructs a fluent builder for the GetDisk operation.

See GetDisk for more information about the operation and its arguments.

Constructs a fluent builder for the GetDisks operation.

See GetDisks for more information about the operation and its arguments.

Constructs a fluent builder for the GetDiskSnapshot operation.

See GetDiskSnapshot for more information about the operation and its arguments.

Constructs a fluent builder for the GetDiskSnapshots operation.

See GetDiskSnapshots for more information about the operation and its arguments.

Constructs a fluent builder for the GetDistributionBundles operation.

See GetDistributionBundles for more information about the operation and its arguments.

Constructs a fluent builder for the GetDistributionLatestCacheReset operation.

See GetDistributionLatestCacheReset for more information about the operation and its arguments.

Constructs a fluent builder for the GetDistributionMetricData operation.

See GetDistributionMetricData for more information about the operation and its arguments.

Constructs a fluent builder for the GetDistributions operation.

See GetDistributions for more information about the operation and its arguments.

Constructs a fluent builder for the GetDomain operation.

See GetDomain for more information about the operation and its arguments.

Constructs a fluent builder for the GetDomains operation.

See GetDomains for more information about the operation and its arguments.

Constructs a fluent builder for the GetExportSnapshotRecords operation.

See GetExportSnapshotRecords for more information about the operation and its arguments.

Constructs a fluent builder for the GetInstance operation.

See GetInstance for more information about the operation and its arguments.

Constructs a fluent builder for the GetInstanceAccessDetails operation.

See GetInstanceAccessDetails for more information about the operation and its arguments.

Constructs a fluent builder for the GetInstanceMetricData operation.

See GetInstanceMetricData for more information about the operation and its arguments.

Constructs a fluent builder for the GetInstancePortStates operation.

See GetInstancePortStates for more information about the operation and its arguments.

Constructs a fluent builder for the GetInstances operation.

See GetInstances for more information about the operation and its arguments.

Constructs a fluent builder for the GetInstanceSnapshot operation.

See GetInstanceSnapshot for more information about the operation and its arguments.

Constructs a fluent builder for the GetInstanceSnapshots operation.

See GetInstanceSnapshots for more information about the operation and its arguments.

Constructs a fluent builder for the GetInstanceState operation.

See GetInstanceState for more information about the operation and its arguments.

Constructs a fluent builder for the GetKeyPair operation.

See GetKeyPair for more information about the operation and its arguments.

Constructs a fluent builder for the GetKeyPairs operation.

See GetKeyPairs for more information about the operation and its arguments.

Constructs a fluent builder for the GetLoadBalancer operation.

See GetLoadBalancer for more information about the operation and its arguments.

Constructs a fluent builder for the GetLoadBalancerMetricData operation.

See GetLoadBalancerMetricData for more information about the operation and its arguments.

Constructs a fluent builder for the GetLoadBalancers operation.

See GetLoadBalancers for more information about the operation and its arguments.

Constructs a fluent builder for the GetLoadBalancerTlsCertificates operation.

See GetLoadBalancerTlsCertificates for more information about the operation and its arguments.

Constructs a fluent builder for the GetOperation operation.

See GetOperation for more information about the operation and its arguments.

Constructs a fluent builder for the GetOperations operation.

See GetOperations for more information about the operation and its arguments.

Constructs a fluent builder for the GetOperationsForResource operation.

See GetOperationsForResource for more information about the operation and its arguments.

Constructs a fluent builder for the GetRegions operation.

See GetRegions for more information about the operation and its arguments.

Constructs a fluent builder for the GetRelationalDatabase operation.

See GetRelationalDatabase for more information about the operation and its arguments.

Constructs a fluent builder for the GetRelationalDatabaseBlueprints operation.

See GetRelationalDatabaseBlueprints for more information about the operation and its arguments.

Constructs a fluent builder for the GetRelationalDatabaseBundles operation.

See GetRelationalDatabaseBundles for more information about the operation and its arguments.

Constructs a fluent builder for the GetRelationalDatabaseEvents operation.

See GetRelationalDatabaseEvents for more information about the operation and its arguments.

Constructs a fluent builder for the GetRelationalDatabaseLogEvents operation.

See GetRelationalDatabaseLogEvents for more information about the operation and its arguments.

Constructs a fluent builder for the GetRelationalDatabaseLogStreams operation.

See GetRelationalDatabaseLogStreams for more information about the operation and its arguments.

Constructs a fluent builder for the GetRelationalDatabaseMasterUserPassword operation.

See GetRelationalDatabaseMasterUserPassword for more information about the operation and its arguments.

Constructs a fluent builder for the GetRelationalDatabaseMetricData operation.

See GetRelationalDatabaseMetricData for more information about the operation and its arguments.

Constructs a fluent builder for the GetRelationalDatabaseParameters operation.

See GetRelationalDatabaseParameters for more information about the operation and its arguments.

Constructs a fluent builder for the GetRelationalDatabases operation.

See GetRelationalDatabases for more information about the operation and its arguments.

Constructs a fluent builder for the GetRelationalDatabaseSnapshot operation.

See GetRelationalDatabaseSnapshot for more information about the operation and its arguments.

Constructs a fluent builder for the GetRelationalDatabaseSnapshots operation.

See GetRelationalDatabaseSnapshots for more information about the operation and its arguments.

Constructs a fluent builder for the GetStaticIp operation.

See GetStaticIp for more information about the operation and its arguments.

Constructs a fluent builder for the GetStaticIps operation.

See GetStaticIps for more information about the operation and its arguments.

Constructs a fluent builder for the ImportKeyPair operation.

See ImportKeyPair for more information about the operation and its arguments.

Constructs a fluent builder for the IsVpcPeered operation.

See IsVpcPeered for more information about the operation and its arguments.

Constructs a fluent builder for the OpenInstancePublicPorts operation.

See OpenInstancePublicPorts for more information about the operation and its arguments.

Constructs a fluent builder for the PeerVpc operation.

See PeerVpc for more information about the operation and its arguments.

Constructs a fluent builder for the PutAlarm operation.

See PutAlarm for more information about the operation and its arguments.

Constructs a fluent builder for the PutInstancePublicPorts operation.

See PutInstancePublicPorts for more information about the operation and its arguments.

Constructs a fluent builder for the RebootInstance operation.

See RebootInstance for more information about the operation and its arguments.

Constructs a fluent builder for the RebootRelationalDatabase operation.

See RebootRelationalDatabase for more information about the operation and its arguments.

Constructs a fluent builder for the RegisterContainerImage operation.

See RegisterContainerImage for more information about the operation and its arguments.

Constructs a fluent builder for the ReleaseStaticIp operation.

See ReleaseStaticIp for more information about the operation and its arguments.

Constructs a fluent builder for the ResetDistributionCache operation.

See ResetDistributionCache for more information about the operation and its arguments.

Constructs a fluent builder for the SendContactMethodVerification operation.

See SendContactMethodVerification for more information about the operation and its arguments.

Constructs a fluent builder for the SetIpAddressType operation.

See SetIpAddressType for more information about the operation and its arguments.

Constructs a fluent builder for the SetResourceAccessForBucket operation.

See SetResourceAccessForBucket for more information about the operation and its arguments.

Constructs a fluent builder for the StartInstance operation.

See StartInstance for more information about the operation and its arguments.

Constructs a fluent builder for the StartRelationalDatabase operation.

See StartRelationalDatabase for more information about the operation and its arguments.

Constructs a fluent builder for the StopInstance operation.

See StopInstance for more information about the operation and its arguments.

Constructs a fluent builder for the StopRelationalDatabase operation.

See StopRelationalDatabase for more information about the operation and its arguments.

Constructs a fluent builder for the TagResource operation.

See TagResource for more information about the operation and its arguments.

Constructs a fluent builder for the TestAlarm operation.

See TestAlarm for more information about the operation and its arguments.

Constructs a fluent builder for the UnpeerVpc operation.

See UnpeerVpc for more information about the operation and its arguments.

Constructs a fluent builder for the UntagResource operation.

See UntagResource for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateBucket operation.

See UpdateBucket for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateBucketBundle operation.

See UpdateBucketBundle for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateContainerService operation.

See UpdateContainerService for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateDistribution operation.

See UpdateDistribution for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateDistributionBundle operation.

See UpdateDistributionBundle for more information about the operation and its arguments.

pub fn update_domain_entry(&self) -> UpdateDomainEntry<C, M, R>

Constructs a fluent builder for the UpdateDomainEntry operation.

See UpdateDomainEntry for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateLoadBalancerAttribute operation.

See UpdateLoadBalancerAttribute for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateRelationalDatabase operation.

See UpdateRelationalDatabase for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateRelationalDatabaseParameters operation.

See UpdateRelationalDatabaseParameters for more information about the operation and its arguments.

Creates a client with the given service config and connector override.

Creates a new client from a shared config.

Creates a new client from the service Config.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

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

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

Performs the conversion.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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

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