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
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
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.
pub fn create_connector_definition_version(
&self
) -> CreateConnectorDefinitionVersion<C, M, R>
pub fn create_connector_definition_version(
&self
) -> CreateConnectorDefinitionVersion<C, M, R>
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.
pub fn create_subscription_definition_version(
&self
) -> CreateSubscriptionDefinitionVersion<C, M, R>
pub fn create_subscription_definition_version(
&self
) -> CreateSubscriptionDefinitionVersion<C, M, R>
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.
pub fn disassociate_service_role_from_account(
&self
) -> DisassociateServiceRoleFromAccount<C, M, R>
pub fn disassociate_service_role_from_account(
&self
) -> DisassociateServiceRoleFromAccount<C, M, R>
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.
pub fn get_group_certificate_configuration(
&self
) -> GetGroupCertificateConfiguration<C, M, R>
pub fn get_group_certificate_configuration(
&self
) -> GetGroupCertificateConfiguration<C, M, R>
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.
pub fn get_subscription_definition_version(
&self
) -> GetSubscriptionDefinitionVersion<C, M, R>
pub fn get_subscription_definition_version(
&self
) -> GetSubscriptionDefinitionVersion<C, M, R>
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.
pub fn list_bulk_deployment_detailed_reports(
&self
) -> ListBulkDeploymentDetailedReports<C, M, R>
pub fn list_bulk_deployment_detailed_reports(
&self
) -> ListBulkDeploymentDetailedReports<C, M, R>
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.
pub fn list_subscription_definition_versions(
&self
) -> ListSubscriptionDefinitionVersions<C, M, R>
pub fn list_subscription_definition_versions(
&self
) -> ListSubscriptionDefinitionVersions<C, M, R>
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.
pub fn update_group_certificate_configuration(
&self
) -> UpdateGroupCertificateConfiguration<C, M, R>
pub fn update_group_certificate_configuration(
&self
) -> UpdateGroupCertificateConfiguration<C, M, R>
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.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for Client<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for Client<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
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