pub struct Client { /* private fields */ }
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
        .<operation_name>().
        .<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.

Constructs a fluent builder for the AssociateServiceRoleToAccount operation.

Constructs a fluent builder for the CreateConnectorDefinition operation.

Constructs a fluent builder for the CreateConnectorDefinitionVersion operation.

Constructs a fluent builder for the CreateCoreDefinition operation.

Constructs a fluent builder for the CreateCoreDefinitionVersion operation.

Constructs a fluent builder for the CreateDeployment operation.

Constructs a fluent builder for the CreateDeviceDefinition operation.

Constructs a fluent builder for the CreateDeviceDefinitionVersion operation.

Constructs a fluent builder for the CreateFunctionDefinition operation.

Constructs a fluent builder for the CreateFunctionDefinitionVersion operation.

Constructs a fluent builder for the CreateGroup operation.

Constructs a fluent builder for the CreateGroupCertificateAuthority operation.

Constructs a fluent builder for the CreateGroupVersion operation.

Constructs a fluent builder for the CreateLoggerDefinition operation.

Constructs a fluent builder for the CreateLoggerDefinitionVersion operation.

Constructs a fluent builder for the CreateResourceDefinition operation.

Constructs a fluent builder for the CreateResourceDefinitionVersion operation.

Constructs a fluent builder for the CreateSoftwareUpdateJob operation.

Constructs a fluent builder for the CreateSubscriptionDefinition operation.

Constructs a fluent builder for the CreateSubscriptionDefinitionVersion operation.

Constructs a fluent builder for the DeleteConnectorDefinition operation.

Constructs a fluent builder for the DeleteCoreDefinition operation.

Constructs a fluent builder for the DeleteDeviceDefinition operation.

Constructs a fluent builder for the DeleteFunctionDefinition operation.

Constructs a fluent builder for the DeleteGroup operation.

Constructs a fluent builder for the DeleteLoggerDefinition operation.

Constructs a fluent builder for the DeleteResourceDefinition operation.

Constructs a fluent builder for the DeleteSubscriptionDefinition operation.

Constructs a fluent builder for the DisassociateRoleFromGroup operation.

Constructs a fluent builder for the DisassociateServiceRoleFromAccount operation.

Constructs a fluent builder for the GetAssociatedRole operation.

Constructs a fluent builder for the GetBulkDeploymentStatus operation.

Constructs a fluent builder for the GetConnectivityInfo operation.

Constructs a fluent builder for the GetConnectorDefinition operation.

Constructs a fluent builder for the GetConnectorDefinitionVersion operation.

Constructs a fluent builder for the GetCoreDefinition operation.

Constructs a fluent builder for the GetCoreDefinitionVersion operation.

Constructs a fluent builder for the GetDeploymentStatus operation.

Constructs a fluent builder for the GetDeviceDefinition operation.

Constructs a fluent builder for the GetDeviceDefinitionVersion operation.

Constructs a fluent builder for the GetFunctionDefinition operation.

Constructs a fluent builder for the GetFunctionDefinitionVersion operation.

Constructs a fluent builder for the GetGroup operation.

Constructs a fluent builder for the GetGroupCertificateAuthority operation.

Constructs a fluent builder for the GetGroupCertificateConfiguration operation.

Constructs a fluent builder for the GetGroupVersion operation.

Constructs a fluent builder for the GetLoggerDefinition operation.

Constructs a fluent builder for the GetLoggerDefinitionVersion operation.

Constructs a fluent builder for the GetResourceDefinition operation.

Constructs a fluent builder for the GetResourceDefinitionVersion operation.

Constructs a fluent builder for the GetServiceRoleForAccount operation.

Constructs a fluent builder for the GetSubscriptionDefinition operation.

Constructs a fluent builder for the GetSubscriptionDefinitionVersion operation.

Constructs a fluent builder for the GetThingRuntimeConfiguration operation.

Constructs a fluent builder for the ListBulkDeploymentDetailedReports operation.

Constructs a fluent builder for the ListBulkDeployments operation.

Constructs a fluent builder for the ListConnectorDefinitions operation.

Constructs a fluent builder for the ListConnectorDefinitionVersions operation.

Constructs a fluent builder for the ListCoreDefinitions operation.

Constructs a fluent builder for the ListCoreDefinitionVersions operation.

Constructs a fluent builder for the ListDeployments operation.

Constructs a fluent builder for the ListDeviceDefinitions operation.

Constructs a fluent builder for the ListDeviceDefinitionVersions operation.

Constructs a fluent builder for the ListFunctionDefinitions operation.

Constructs a fluent builder for the ListFunctionDefinitionVersions operation.

Constructs a fluent builder for the ListGroupCertificateAuthorities operation.

Constructs a fluent builder for the ListGroups operation.

Constructs a fluent builder for the ListGroupVersions operation.

Constructs a fluent builder for the ListLoggerDefinitions operation.

Constructs a fluent builder for the ListLoggerDefinitionVersions operation.

Constructs a fluent builder for the ListResourceDefinitions operation.

Constructs a fluent builder for the ListResourceDefinitionVersions operation.

Constructs a fluent builder for the ListSubscriptionDefinitions operation.

Constructs a fluent builder for the ListSubscriptionDefinitionVersions operation.

Constructs a fluent builder for the ListTagsForResource operation.

Constructs a fluent builder for the ResetDeployments operation.

Constructs a fluent builder for the StartBulkDeployment operation.

Constructs a fluent builder for the StopBulkDeployment operation.

Constructs a fluent builder for the TagResource operation.

Constructs a fluent builder for the UntagResource operation.

Constructs a fluent builder for the UpdateConnectivityInfo operation.

Constructs a fluent builder for the UpdateConnectorDefinition operation.

Constructs a fluent builder for the UpdateCoreDefinition operation.

Constructs a fluent builder for the UpdateDeviceDefinition operation.

Constructs a fluent builder for the UpdateFunctionDefinition operation.

Constructs a fluent builder for the UpdateGroup operation.

Constructs a fluent builder for the UpdateGroupCertificateConfiguration operation.

Constructs a fluent builder for the UpdateLoggerDefinition operation.

Constructs a fluent builder for the UpdateResourceDefinition operation.

Constructs a fluent builder for the UpdateSubscriptionDefinition operation.

Constructs a fluent builder for the UpdateThingRuntimeConfiguration operation.

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

Converts to this type from the input type.

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

Returns the argument unchanged.

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

Calls U::from(self).

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

The resulting type after obtaining ownership.

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

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