Struct aws_sdk_greengrass::client::Client[][src]

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

Client for AWS Greengrass

Client for invoking operations on AWS Greengrass. Each operation on AWS Greengrass 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_greengrass::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_greengrass::config::Builder::from(&shared_config)
        .retry_config(RetryConfig::disabled())
        .build();
    let client = aws_sdk_greengrass::Client::from_conf(config);

Implementations

Creates a client with the given service configuration.

Returns the client’s configuration.

Constructs a fluent builder for the AssociateRoleToGroup operation.

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

Constructs a fluent builder for the AssociateServiceRoleToAccount operation.

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

Constructs a fluent builder for the CreateConnectorDefinition operation.

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

Constructs a fluent builder for the CreateConnectorDefinitionVersion operation.

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

Constructs a fluent builder for the CreateCoreDefinition operation.

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

Constructs a fluent builder for the CreateCoreDefinitionVersion operation.

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

Constructs a fluent builder for the CreateDeployment operation.

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

Constructs a fluent builder for the CreateDeviceDefinition operation.

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

Constructs a fluent builder for the CreateDeviceDefinitionVersion operation.

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

Constructs a fluent builder for the CreateFunctionDefinition operation.

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

Constructs a fluent builder for the CreateFunctionDefinitionVersion operation.

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

Constructs a fluent builder for the CreateGroup operation.

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

Constructs a fluent builder for the CreateGroupCertificateAuthority operation.

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

Constructs a fluent builder for the CreateGroupVersion operation.

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

Constructs a fluent builder for the CreateLoggerDefinition operation.

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

Constructs a fluent builder for the CreateLoggerDefinitionVersion operation.

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

Constructs a fluent builder for the CreateResourceDefinition operation.

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

Constructs a fluent builder for the CreateResourceDefinitionVersion operation.

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

Constructs a fluent builder for the CreateSoftwareUpdateJob operation.

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

Constructs a fluent builder for the CreateSubscriptionDefinition operation.

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

Constructs a fluent builder for the CreateSubscriptionDefinitionVersion operation.

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

Constructs a fluent builder for the DeleteConnectorDefinition operation.

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

Constructs a fluent builder for the DeleteCoreDefinition operation.

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

Constructs a fluent builder for the DeleteDeviceDefinition operation.

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

Constructs a fluent builder for the DeleteFunctionDefinition operation.

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

Constructs a fluent builder for the DeleteGroup operation.

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

Constructs a fluent builder for the DeleteLoggerDefinition operation.

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

Constructs a fluent builder for the DeleteResourceDefinition operation.

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

Constructs a fluent builder for the DeleteSubscriptionDefinition operation.

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

Constructs a fluent builder for the DisassociateRoleFromGroup operation.

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

Constructs a fluent builder for the DisassociateServiceRoleFromAccount operation.

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

Constructs a fluent builder for the GetAssociatedRole operation.

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

Constructs a fluent builder for the GetBulkDeploymentStatus operation.

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

Constructs a fluent builder for the GetConnectivityInfo operation.

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

Constructs a fluent builder for the GetConnectorDefinition operation.

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

Constructs a fluent builder for the GetConnectorDefinitionVersion operation.

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

Constructs a fluent builder for the GetCoreDefinition operation.

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

Constructs a fluent builder for the GetCoreDefinitionVersion operation.

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

Constructs a fluent builder for the GetDeploymentStatus operation.

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

Constructs a fluent builder for the GetDeviceDefinition operation.

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

Constructs a fluent builder for the GetDeviceDefinitionVersion operation.

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

Constructs a fluent builder for the GetFunctionDefinition operation.

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

Constructs a fluent builder for the GetFunctionDefinitionVersion operation.

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

Constructs a fluent builder for the GetGroup operation.

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

Constructs a fluent builder for the GetGroupCertificateAuthority operation.

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

Constructs a fluent builder for the GetGroupCertificateConfiguration operation.

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

Constructs a fluent builder for the GetGroupVersion operation.

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

Constructs a fluent builder for the GetLoggerDefinition operation.

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

Constructs a fluent builder for the GetLoggerDefinitionVersion operation.

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

Constructs a fluent builder for the GetResourceDefinition operation.

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

Constructs a fluent builder for the GetResourceDefinitionVersion operation.

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

Constructs a fluent builder for the GetServiceRoleForAccount operation.

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

Constructs a fluent builder for the GetSubscriptionDefinition operation.

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

Constructs a fluent builder for the GetSubscriptionDefinitionVersion operation.

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

Constructs a fluent builder for the GetThingRuntimeConfiguration operation.

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

Constructs a fluent builder for the ListBulkDeploymentDetailedReports operation.

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

Constructs a fluent builder for the ListBulkDeployments operation.

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

Constructs a fluent builder for the ListConnectorDefinitions operation.

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

Constructs a fluent builder for the ListConnectorDefinitionVersions operation.

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

Constructs a fluent builder for the ListCoreDefinitions operation.

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

Constructs a fluent builder for the ListCoreDefinitionVersions operation.

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

Constructs a fluent builder for the ListDeployments operation.

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

Constructs a fluent builder for the ListDeviceDefinitions operation.

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

Constructs a fluent builder for the ListDeviceDefinitionVersions operation.

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

Constructs a fluent builder for the ListFunctionDefinitions operation.

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

Constructs a fluent builder for the ListFunctionDefinitionVersions operation.

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

Constructs a fluent builder for the ListGroupCertificateAuthorities operation.

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

Constructs a fluent builder for the ListGroups operation.

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

Constructs a fluent builder for the ListGroupVersions operation.

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

Constructs a fluent builder for the ListLoggerDefinitions operation.

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

Constructs a fluent builder for the ListLoggerDefinitionVersions operation.

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

Constructs a fluent builder for the ListResourceDefinitions operation.

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

Constructs a fluent builder for the ListResourceDefinitionVersions operation.

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

Constructs a fluent builder for the ListSubscriptionDefinitions operation.

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

Constructs a fluent builder for the ListSubscriptionDefinitionVersions operation.

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

Constructs a fluent builder for the ListTagsForResource operation.

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

Constructs a fluent builder for the ResetDeployments operation.

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

Constructs a fluent builder for the StartBulkDeployment operation.

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

Constructs a fluent builder for the StopBulkDeployment operation.

See StopBulkDeployment 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 UntagResource operation.

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

Constructs a fluent builder for the UpdateConnectivityInfo operation.

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

Constructs a fluent builder for the UpdateConnectorDefinition operation.

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

Constructs a fluent builder for the UpdateCoreDefinition operation.

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

Constructs a fluent builder for the UpdateDeviceDefinition operation.

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

Constructs a fluent builder for the UpdateFunctionDefinition operation.

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

Constructs a fluent builder for the UpdateGroup operation.

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

Constructs a fluent builder for the UpdateGroupCertificateConfiguration operation.

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

Constructs a fluent builder for the UpdateLoggerDefinition operation.

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

Constructs a fluent builder for the UpdateResourceDefinition operation.

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

Constructs a fluent builder for the UpdateSubscriptionDefinition operation.

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

Constructs a fluent builder for the UpdateThingRuntimeConfiguration operation.

See UpdateThingRuntimeConfiguration 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