Struct aws_sdk_greengrass::Client
source · [−]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
sourceimpl Client
impl Client
sourcepub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
pub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
Creates a client with the given service configuration.
sourceimpl Client
impl Client
sourcepub fn associate_role_to_group(&self) -> AssociateRoleToGroup
pub fn associate_role_to_group(&self) -> AssociateRoleToGroup
Constructs a fluent builder for the AssociateRoleToGroup
operation.
- The fluent builder is configurable:
group_id(impl Into<String>)
/set_group_id(Option<String>)
: The ID of the Greengrass group.role_arn(impl Into<String>)
/set_role_arn(Option<String>)
: The ARN of the role you wish to associate with this group. The existence of the role is not validated.
- On success, responds with
AssociateRoleToGroupOutput
with field(s):associated_at(Option<String>)
: The time, in milliseconds since the epoch, when the role ARN was associated with the group.
- On failure, responds with
SdkError<AssociateRoleToGroupError>
sourcepub fn associate_service_role_to_account(&self) -> AssociateServiceRoleToAccount
pub fn associate_service_role_to_account(&self) -> AssociateServiceRoleToAccount
Constructs a fluent builder for the AssociateServiceRoleToAccount
operation.
- The fluent builder is configurable:
role_arn(impl Into<String>)
/set_role_arn(Option<String>)
: The ARN of the service role you wish to associate with your account.
- On success, responds with
AssociateServiceRoleToAccountOutput
with field(s):associated_at(Option<String>)
: The time when the service role was associated with the account.
- On failure, responds with
SdkError<AssociateServiceRoleToAccountError>
sourcepub fn create_connector_definition(&self) -> CreateConnectorDefinition
pub fn create_connector_definition(&self) -> CreateConnectorDefinition
Constructs a fluent builder for the CreateConnectorDefinition
operation.
- The fluent builder is configurable:
amzn_client_token(impl Into<String>)
/set_amzn_client_token(Option<String>)
: A client token used to correlate requests and responses.initial_version(ConnectorDefinitionVersion)
/set_initial_version(Option<ConnectorDefinitionVersion>)
: Information about the initial version of the connector definition.name(impl Into<String>)
/set_name(Option<String>)
: The name of the connector definition.tags(HashMap<String, String>)
/set_tags(Option<HashMap<String, String>>)
: Tag(s) to add to the new resource.
- On success, responds with
CreateConnectorDefinitionOutput
with field(s):arn(Option<String>)
: The ARN of the definition.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was created.id(Option<String>)
: The ID of the definition.last_updated_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was last updated.latest_version(Option<String>)
: The ID of the latest version associated with the definition.latest_version_arn(Option<String>)
: The ARN of the latest version associated with the definition.name(Option<String>)
: The name of the definition.
- On failure, responds with
SdkError<CreateConnectorDefinitionError>
sourcepub fn create_connector_definition_version(
&self
) -> CreateConnectorDefinitionVersion
pub fn create_connector_definition_version(
&self
) -> CreateConnectorDefinitionVersion
Constructs a fluent builder for the CreateConnectorDefinitionVersion
operation.
- The fluent builder is configurable:
amzn_client_token(impl Into<String>)
/set_amzn_client_token(Option<String>)
: A client token used to correlate requests and responses.connector_definition_id(impl Into<String>)
/set_connector_definition_id(Option<String>)
: The ID of the connector definition.connectors(Vec<Connector>)
/set_connectors(Option<Vec<Connector>>)
: A list of references to connectors in this version, with their corresponding configuration settings.
- On success, responds with
CreateConnectorDefinitionVersionOutput
with field(s):arn(Option<String>)
: The ARN of the version.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the version was created.id(Option<String>)
: The ID of the parent definition that the version is associated with.version(Option<String>)
: The ID of the version.
- On failure, responds with
SdkError<CreateConnectorDefinitionVersionError>
sourcepub fn create_core_definition(&self) -> CreateCoreDefinition
pub fn create_core_definition(&self) -> CreateCoreDefinition
Constructs a fluent builder for the CreateCoreDefinition
operation.
- The fluent builder is configurable:
amzn_client_token(impl Into<String>)
/set_amzn_client_token(Option<String>)
: A client token used to correlate requests and responses.initial_version(CoreDefinitionVersion)
/set_initial_version(Option<CoreDefinitionVersion>)
: Information about the initial version of the core definition.name(impl Into<String>)
/set_name(Option<String>)
: The name of the core definition.tags(HashMap<String, String>)
/set_tags(Option<HashMap<String, String>>)
: Tag(s) to add to the new resource.
- On success, responds with
CreateCoreDefinitionOutput
with field(s):arn(Option<String>)
: The ARN of the definition.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was created.id(Option<String>)
: The ID of the definition.last_updated_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was last updated.latest_version(Option<String>)
: The ID of the latest version associated with the definition.latest_version_arn(Option<String>)
: The ARN of the latest version associated with the definition.name(Option<String>)
: The name of the definition.
- On failure, responds with
SdkError<CreateCoreDefinitionError>
sourcepub fn create_core_definition_version(&self) -> CreateCoreDefinitionVersion
pub fn create_core_definition_version(&self) -> CreateCoreDefinitionVersion
Constructs a fluent builder for the CreateCoreDefinitionVersion
operation.
- The fluent builder is configurable:
amzn_client_token(impl Into<String>)
/set_amzn_client_token(Option<String>)
: A client token used to correlate requests and responses.core_definition_id(impl Into<String>)
/set_core_definition_id(Option<String>)
: The ID of the core definition.cores(Vec<Core>)
/set_cores(Option<Vec<Core>>)
: A list of cores in the core definition version.
- On success, responds with
CreateCoreDefinitionVersionOutput
with field(s):arn(Option<String>)
: The ARN of the version.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the version was created.id(Option<String>)
: The ID of the parent definition that the version is associated with.version(Option<String>)
: The ID of the version.
- On failure, responds with
SdkError<CreateCoreDefinitionVersionError>
sourcepub fn create_deployment(&self) -> CreateDeployment
pub fn create_deployment(&self) -> CreateDeployment
Constructs a fluent builder for the CreateDeployment
operation.
- The fluent builder is configurable:
amzn_client_token(impl Into<String>)
/set_amzn_client_token(Option<String>)
: A client token used to correlate requests and responses.deployment_id(impl Into<String>)
/set_deployment_id(Option<String>)
: The ID of the deployment if you wish to redeploy a previous deployment.deployment_type(DeploymentType)
/set_deployment_type(Option<DeploymentType>)
: The type of deployment. When used for ’‘CreateDeployment’’, only ’‘NewDeployment’’ and ’‘Redeployment’’ are valid.group_id(impl Into<String>)
/set_group_id(Option<String>)
: The ID of the Greengrass group.group_version_id(impl Into<String>)
/set_group_version_id(Option<String>)
: The ID of the group version to be deployed.
- On success, responds with
CreateDeploymentOutput
with field(s):deployment_arn(Option<String>)
: The ARN of the deployment.deployment_id(Option<String>)
: The ID of the deployment.
- On failure, responds with
SdkError<CreateDeploymentError>
sourcepub fn create_device_definition(&self) -> CreateDeviceDefinition
pub fn create_device_definition(&self) -> CreateDeviceDefinition
Constructs a fluent builder for the CreateDeviceDefinition
operation.
- The fluent builder is configurable:
amzn_client_token(impl Into<String>)
/set_amzn_client_token(Option<String>)
: A client token used to correlate requests and responses.initial_version(DeviceDefinitionVersion)
/set_initial_version(Option<DeviceDefinitionVersion>)
: Information about the initial version of the device definition.name(impl Into<String>)
/set_name(Option<String>)
: The name of the device definition.tags(HashMap<String, String>)
/set_tags(Option<HashMap<String, String>>)
: Tag(s) to add to the new resource.
- On success, responds with
CreateDeviceDefinitionOutput
with field(s):arn(Option<String>)
: The ARN of the definition.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was created.id(Option<String>)
: The ID of the definition.last_updated_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was last updated.latest_version(Option<String>)
: The ID of the latest version associated with the definition.latest_version_arn(Option<String>)
: The ARN of the latest version associated with the definition.name(Option<String>)
: The name of the definition.
- On failure, responds with
SdkError<CreateDeviceDefinitionError>
sourcepub fn create_device_definition_version(&self) -> CreateDeviceDefinitionVersion
pub fn create_device_definition_version(&self) -> CreateDeviceDefinitionVersion
Constructs a fluent builder for the CreateDeviceDefinitionVersion
operation.
- The fluent builder is configurable:
amzn_client_token(impl Into<String>)
/set_amzn_client_token(Option<String>)
: A client token used to correlate requests and responses.device_definition_id(impl Into<String>)
/set_device_definition_id(Option<String>)
: The ID of the device definition.devices(Vec<Device>)
/set_devices(Option<Vec<Device>>)
: A list of devices in the definition version.
- On success, responds with
CreateDeviceDefinitionVersionOutput
with field(s):arn(Option<String>)
: The ARN of the version.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the version was created.id(Option<String>)
: The ID of the parent definition that the version is associated with.version(Option<String>)
: The ID of the version.
- On failure, responds with
SdkError<CreateDeviceDefinitionVersionError>
sourcepub fn create_function_definition(&self) -> CreateFunctionDefinition
pub fn create_function_definition(&self) -> CreateFunctionDefinition
Constructs a fluent builder for the CreateFunctionDefinition
operation.
- The fluent builder is configurable:
amzn_client_token(impl Into<String>)
/set_amzn_client_token(Option<String>)
: A client token used to correlate requests and responses.initial_version(FunctionDefinitionVersion)
/set_initial_version(Option<FunctionDefinitionVersion>)
: Information about the initial version of the function definition.name(impl Into<String>)
/set_name(Option<String>)
: The name of the function definition.tags(HashMap<String, String>)
/set_tags(Option<HashMap<String, String>>)
: Tag(s) to add to the new resource.
- On success, responds with
CreateFunctionDefinitionOutput
with field(s):arn(Option<String>)
: The ARN of the definition.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was created.id(Option<String>)
: The ID of the definition.last_updated_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was last updated.latest_version(Option<String>)
: The ID of the latest version associated with the definition.latest_version_arn(Option<String>)
: The ARN of the latest version associated with the definition.name(Option<String>)
: The name of the definition.
- On failure, responds with
SdkError<CreateFunctionDefinitionError>
sourcepub fn create_function_definition_version(
&self
) -> CreateFunctionDefinitionVersion
pub fn create_function_definition_version(
&self
) -> CreateFunctionDefinitionVersion
Constructs a fluent builder for the CreateFunctionDefinitionVersion
operation.
- The fluent builder is configurable:
amzn_client_token(impl Into<String>)
/set_amzn_client_token(Option<String>)
: A client token used to correlate requests and responses.default_config(FunctionDefaultConfig)
/set_default_config(Option<FunctionDefaultConfig>)
: The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings.function_definition_id(impl Into<String>)
/set_function_definition_id(Option<String>)
: The ID of the Lambda function definition.functions(Vec<Function>)
/set_functions(Option<Vec<Function>>)
: A list of Lambda functions in this function definition version.
- On success, responds with
CreateFunctionDefinitionVersionOutput
with field(s):arn(Option<String>)
: The ARN of the version.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the version was created.id(Option<String>)
: The ID of the parent definition that the version is associated with.version(Option<String>)
: The ID of the version.
- On failure, responds with
SdkError<CreateFunctionDefinitionVersionError>
sourcepub fn create_group(&self) -> CreateGroup
pub fn create_group(&self) -> CreateGroup
Constructs a fluent builder for the CreateGroup
operation.
- The fluent builder is configurable:
amzn_client_token(impl Into<String>)
/set_amzn_client_token(Option<String>)
: A client token used to correlate requests and responses.initial_version(GroupVersion)
/set_initial_version(Option<GroupVersion>)
: Information about the initial version of the group.name(impl Into<String>)
/set_name(Option<String>)
: The name of the group.tags(HashMap<String, String>)
/set_tags(Option<HashMap<String, String>>)
: Tag(s) to add to the new resource.
- On success, responds with
CreateGroupOutput
with field(s):arn(Option<String>)
: The ARN of the definition.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was created.id(Option<String>)
: The ID of the definition.last_updated_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was last updated.latest_version(Option<String>)
: The ID of the latest version associated with the definition.latest_version_arn(Option<String>)
: The ARN of the latest version associated with the definition.name(Option<String>)
: The name of the definition.
- On failure, responds with
SdkError<CreateGroupError>
Constructs a fluent builder for the CreateGroupCertificateAuthority
operation.
- The fluent builder is configurable:
amzn_client_token(impl Into<String>)
/set_amzn_client_token(Option<String>)
: A client token used to correlate requests and responses.group_id(impl Into<String>)
/set_group_id(Option<String>)
: The ID of the Greengrass group.
- On success, responds with
CreateGroupCertificateAuthorityOutput
with field(s):group_certificate_authority_arn(Option<String>)
: The ARN of the group certificate authority.
- On failure, responds with
SdkError<CreateGroupCertificateAuthorityError>
sourcepub fn create_group_version(&self) -> CreateGroupVersion
pub fn create_group_version(&self) -> CreateGroupVersion
Constructs a fluent builder for the CreateGroupVersion
operation.
- The fluent builder is configurable:
amzn_client_token(impl Into<String>)
/set_amzn_client_token(Option<String>)
: A client token used to correlate requests and responses.connector_definition_version_arn(impl Into<String>)
/set_connector_definition_version_arn(Option<String>)
: The ARN of the connector definition version for this group.core_definition_version_arn(impl Into<String>)
/set_core_definition_version_arn(Option<String>)
: The ARN of the core definition version for this group.device_definition_version_arn(impl Into<String>)
/set_device_definition_version_arn(Option<String>)
: The ARN of the device definition version for this group.function_definition_version_arn(impl Into<String>)
/set_function_definition_version_arn(Option<String>)
: The ARN of the function definition version for this group.group_id(impl Into<String>)
/set_group_id(Option<String>)
: The ID of the Greengrass group.logger_definition_version_arn(impl Into<String>)
/set_logger_definition_version_arn(Option<String>)
: The ARN of the logger definition version for this group.resource_definition_version_arn(impl Into<String>)
/set_resource_definition_version_arn(Option<String>)
: The ARN of the resource definition version for this group.subscription_definition_version_arn(impl Into<String>)
/set_subscription_definition_version_arn(Option<String>)
: The ARN of the subscription definition version for this group.
- On success, responds with
CreateGroupVersionOutput
with field(s):arn(Option<String>)
: The ARN of the version.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the version was created.id(Option<String>)
: The ID of the parent definition that the version is associated with.version(Option<String>)
: The ID of the version.
- On failure, responds with
SdkError<CreateGroupVersionError>
sourcepub fn create_logger_definition(&self) -> CreateLoggerDefinition
pub fn create_logger_definition(&self) -> CreateLoggerDefinition
Constructs a fluent builder for the CreateLoggerDefinition
operation.
- The fluent builder is configurable:
amzn_client_token(impl Into<String>)
/set_amzn_client_token(Option<String>)
: A client token used to correlate requests and responses.initial_version(LoggerDefinitionVersion)
/set_initial_version(Option<LoggerDefinitionVersion>)
: Information about the initial version of the logger definition.name(impl Into<String>)
/set_name(Option<String>)
: The name of the logger definition.tags(HashMap<String, String>)
/set_tags(Option<HashMap<String, String>>)
: Tag(s) to add to the new resource.
- On success, responds with
CreateLoggerDefinitionOutput
with field(s):arn(Option<String>)
: The ARN of the definition.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was created.id(Option<String>)
: The ID of the definition.last_updated_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was last updated.latest_version(Option<String>)
: The ID of the latest version associated with the definition.latest_version_arn(Option<String>)
: The ARN of the latest version associated with the definition.name(Option<String>)
: The name of the definition.
- On failure, responds with
SdkError<CreateLoggerDefinitionError>
sourcepub fn create_logger_definition_version(&self) -> CreateLoggerDefinitionVersion
pub fn create_logger_definition_version(&self) -> CreateLoggerDefinitionVersion
Constructs a fluent builder for the CreateLoggerDefinitionVersion
operation.
- The fluent builder is configurable:
amzn_client_token(impl Into<String>)
/set_amzn_client_token(Option<String>)
: A client token used to correlate requests and responses.logger_definition_id(impl Into<String>)
/set_logger_definition_id(Option<String>)
: The ID of the logger definition.loggers(Vec<Logger>)
/set_loggers(Option<Vec<Logger>>)
: A list of loggers.
- On success, responds with
CreateLoggerDefinitionVersionOutput
with field(s):arn(Option<String>)
: The ARN of the version.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the version was created.id(Option<String>)
: The ID of the parent definition that the version is associated with.version(Option<String>)
: The ID of the version.
- On failure, responds with
SdkError<CreateLoggerDefinitionVersionError>
sourcepub fn create_resource_definition(&self) -> CreateResourceDefinition
pub fn create_resource_definition(&self) -> CreateResourceDefinition
Constructs a fluent builder for the CreateResourceDefinition
operation.
- The fluent builder is configurable:
amzn_client_token(impl Into<String>)
/set_amzn_client_token(Option<String>)
: A client token used to correlate requests and responses.initial_version(ResourceDefinitionVersion)
/set_initial_version(Option<ResourceDefinitionVersion>)
: Information about the initial version of the resource definition.name(impl Into<String>)
/set_name(Option<String>)
: The name of the resource definition.tags(HashMap<String, String>)
/set_tags(Option<HashMap<String, String>>)
: Tag(s) to add to the new resource.
- On success, responds with
CreateResourceDefinitionOutput
with field(s):arn(Option<String>)
: The ARN of the definition.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was created.id(Option<String>)
: The ID of the definition.last_updated_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was last updated.latest_version(Option<String>)
: The ID of the latest version associated with the definition.latest_version_arn(Option<String>)
: The ARN of the latest version associated with the definition.name(Option<String>)
: The name of the definition.
- On failure, responds with
SdkError<CreateResourceDefinitionError>
sourcepub fn create_resource_definition_version(
&self
) -> CreateResourceDefinitionVersion
pub fn create_resource_definition_version(
&self
) -> CreateResourceDefinitionVersion
Constructs a fluent builder for the CreateResourceDefinitionVersion
operation.
- The fluent builder is configurable:
amzn_client_token(impl Into<String>)
/set_amzn_client_token(Option<String>)
: A client token used to correlate requests and responses.resource_definition_id(impl Into<String>)
/set_resource_definition_id(Option<String>)
: The ID of the resource definition.resources(Vec<Resource>)
/set_resources(Option<Vec<Resource>>)
: A list of resources.
- On success, responds with
CreateResourceDefinitionVersionOutput
with field(s):arn(Option<String>)
: The ARN of the version.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the version was created.id(Option<String>)
: The ID of the parent definition that the version is associated with.version(Option<String>)
: The ID of the version.
- On failure, responds with
SdkError<CreateResourceDefinitionVersionError>
sourcepub fn create_software_update_job(&self) -> CreateSoftwareUpdateJob
pub fn create_software_update_job(&self) -> CreateSoftwareUpdateJob
Constructs a fluent builder for the CreateSoftwareUpdateJob
operation.
- The fluent builder is configurable:
amzn_client_token(impl Into<String>)
/set_amzn_client_token(Option<String>)
: A client token used to correlate requests and responses.s3_url_signer_role(impl Into<String>)
/set_s3_url_signer_role(Option<String>)
: The IAM Role that Greengrass will use to create pre-signed URLs pointing towards the update artifact.software_to_update(SoftwareToUpdate)
/set_software_to_update(Option<SoftwareToUpdate>)
: The piece of software on the Greengrass core that will be updated.update_agent_log_level(UpdateAgentLogLevel)
/set_update_agent_log_level(Option<UpdateAgentLogLevel>)
: The minimum level of log statements that should be logged by the OTA Agent during an update.update_targets(Vec<String>)
/set_update_targets(Option<Vec<String>>)
: The ARNs of the targets (IoT things or IoT thing groups) that this update will be applied to.update_targets_architecture(UpdateTargetsArchitecture)
/set_update_targets_architecture(Option<UpdateTargetsArchitecture>)
: The architecture of the cores which are the targets of an update.update_targets_operating_system(UpdateTargetsOperatingSystem)
/set_update_targets_operating_system(Option<UpdateTargetsOperatingSystem>)
: The operating system of the cores which are the targets of an update.
- On success, responds with
CreateSoftwareUpdateJobOutput
with field(s):iot_job_arn(Option<String>)
: The IoT Job ARN corresponding to this update.iot_job_id(Option<String>)
: The IoT Job Id corresponding to this update.platform_software_version(Option<String>)
: The software version installed on the device or devices after the update.
- On failure, responds with
SdkError<CreateSoftwareUpdateJobError>
sourcepub fn create_subscription_definition(&self) -> CreateSubscriptionDefinition
pub fn create_subscription_definition(&self) -> CreateSubscriptionDefinition
Constructs a fluent builder for the CreateSubscriptionDefinition
operation.
- The fluent builder is configurable:
amzn_client_token(impl Into<String>)
/set_amzn_client_token(Option<String>)
: A client token used to correlate requests and responses.initial_version(SubscriptionDefinitionVersion)
/set_initial_version(Option<SubscriptionDefinitionVersion>)
: Information about the initial version of the subscription definition.name(impl Into<String>)
/set_name(Option<String>)
: The name of the subscription definition.tags(HashMap<String, String>)
/set_tags(Option<HashMap<String, String>>)
: Tag(s) to add to the new resource.
- On success, responds with
CreateSubscriptionDefinitionOutput
with field(s):arn(Option<String>)
: The ARN of the definition.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was created.id(Option<String>)
: The ID of the definition.last_updated_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was last updated.latest_version(Option<String>)
: The ID of the latest version associated with the definition.latest_version_arn(Option<String>)
: The ARN of the latest version associated with the definition.name(Option<String>)
: The name of the definition.
- On failure, responds with
SdkError<CreateSubscriptionDefinitionError>
sourcepub fn create_subscription_definition_version(
&self
) -> CreateSubscriptionDefinitionVersion
pub fn create_subscription_definition_version(
&self
) -> CreateSubscriptionDefinitionVersion
Constructs a fluent builder for the CreateSubscriptionDefinitionVersion
operation.
- The fluent builder is configurable:
amzn_client_token(impl Into<String>)
/set_amzn_client_token(Option<String>)
: A client token used to correlate requests and responses.subscription_definition_id(impl Into<String>)
/set_subscription_definition_id(Option<String>)
: The ID of the subscription definition.subscriptions(Vec<Subscription>)
/set_subscriptions(Option<Vec<Subscription>>)
: A list of subscriptions.
- On success, responds with
CreateSubscriptionDefinitionVersionOutput
with field(s):arn(Option<String>)
: The ARN of the version.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the version was created.id(Option<String>)
: The ID of the parent definition that the version is associated with.version(Option<String>)
: The ID of the version.
- On failure, responds with
SdkError<CreateSubscriptionDefinitionVersionError>
sourcepub fn delete_connector_definition(&self) -> DeleteConnectorDefinition
pub fn delete_connector_definition(&self) -> DeleteConnectorDefinition
Constructs a fluent builder for the DeleteConnectorDefinition
operation.
- The fluent builder is configurable:
connector_definition_id(impl Into<String>)
/set_connector_definition_id(Option<String>)
: The ID of the connector definition.
- On success, responds with
DeleteConnectorDefinitionOutput
- On failure, responds with
SdkError<DeleteConnectorDefinitionError>
sourcepub fn delete_core_definition(&self) -> DeleteCoreDefinition
pub fn delete_core_definition(&self) -> DeleteCoreDefinition
Constructs a fluent builder for the DeleteCoreDefinition
operation.
- The fluent builder is configurable:
core_definition_id(impl Into<String>)
/set_core_definition_id(Option<String>)
: The ID of the core definition.
- On success, responds with
DeleteCoreDefinitionOutput
- On failure, responds with
SdkError<DeleteCoreDefinitionError>
sourcepub fn delete_device_definition(&self) -> DeleteDeviceDefinition
pub fn delete_device_definition(&self) -> DeleteDeviceDefinition
Constructs a fluent builder for the DeleteDeviceDefinition
operation.
- The fluent builder is configurable:
device_definition_id(impl Into<String>)
/set_device_definition_id(Option<String>)
: The ID of the device definition.
- On success, responds with
DeleteDeviceDefinitionOutput
- On failure, responds with
SdkError<DeleteDeviceDefinitionError>
sourcepub fn delete_function_definition(&self) -> DeleteFunctionDefinition
pub fn delete_function_definition(&self) -> DeleteFunctionDefinition
Constructs a fluent builder for the DeleteFunctionDefinition
operation.
- The fluent builder is configurable:
function_definition_id(impl Into<String>)
/set_function_definition_id(Option<String>)
: The ID of the Lambda function definition.
- On success, responds with
DeleteFunctionDefinitionOutput
- On failure, responds with
SdkError<DeleteFunctionDefinitionError>
sourcepub fn delete_group(&self) -> DeleteGroup
pub fn delete_group(&self) -> DeleteGroup
Constructs a fluent builder for the DeleteGroup
operation.
- The fluent builder is configurable:
group_id(impl Into<String>)
/set_group_id(Option<String>)
: The ID of the Greengrass group.
- On success, responds with
DeleteGroupOutput
- On failure, responds with
SdkError<DeleteGroupError>
sourcepub fn delete_logger_definition(&self) -> DeleteLoggerDefinition
pub fn delete_logger_definition(&self) -> DeleteLoggerDefinition
Constructs a fluent builder for the DeleteLoggerDefinition
operation.
- The fluent builder is configurable:
logger_definition_id(impl Into<String>)
/set_logger_definition_id(Option<String>)
: The ID of the logger definition.
- On success, responds with
DeleteLoggerDefinitionOutput
- On failure, responds with
SdkError<DeleteLoggerDefinitionError>
sourcepub fn delete_resource_definition(&self) -> DeleteResourceDefinition
pub fn delete_resource_definition(&self) -> DeleteResourceDefinition
Constructs a fluent builder for the DeleteResourceDefinition
operation.
- The fluent builder is configurable:
resource_definition_id(impl Into<String>)
/set_resource_definition_id(Option<String>)
: The ID of the resource definition.
- On success, responds with
DeleteResourceDefinitionOutput
- On failure, responds with
SdkError<DeleteResourceDefinitionError>
sourcepub fn delete_subscription_definition(&self) -> DeleteSubscriptionDefinition
pub fn delete_subscription_definition(&self) -> DeleteSubscriptionDefinition
Constructs a fluent builder for the DeleteSubscriptionDefinition
operation.
- The fluent builder is configurable:
subscription_definition_id(impl Into<String>)
/set_subscription_definition_id(Option<String>)
: The ID of the subscription definition.
- On success, responds with
DeleteSubscriptionDefinitionOutput
- On failure, responds with
SdkError<DeleteSubscriptionDefinitionError>
sourcepub fn disassociate_role_from_group(&self) -> DisassociateRoleFromGroup
pub fn disassociate_role_from_group(&self) -> DisassociateRoleFromGroup
Constructs a fluent builder for the DisassociateRoleFromGroup
operation.
- The fluent builder is configurable:
group_id(impl Into<String>)
/set_group_id(Option<String>)
: The ID of the Greengrass group.
- On success, responds with
DisassociateRoleFromGroupOutput
with field(s):disassociated_at(Option<String>)
: The time, in milliseconds since the epoch, when the role was disassociated from the group.
- On failure, responds with
SdkError<DisassociateRoleFromGroupError>
sourcepub fn disassociate_service_role_from_account(
&self
) -> DisassociateServiceRoleFromAccount
pub fn disassociate_service_role_from_account(
&self
) -> DisassociateServiceRoleFromAccount
Constructs a fluent builder for the DisassociateServiceRoleFromAccount
operation.
- The fluent builder takes no input, just
send
it. - On success, responds with
DisassociateServiceRoleFromAccountOutput
with field(s):disassociated_at(Option<String>)
: The time when the service role was disassociated from the account.
- On failure, responds with
SdkError<DisassociateServiceRoleFromAccountError>
sourcepub fn get_associated_role(&self) -> GetAssociatedRole
pub fn get_associated_role(&self) -> GetAssociatedRole
Constructs a fluent builder for the GetAssociatedRole
operation.
- The fluent builder is configurable:
group_id(impl Into<String>)
/set_group_id(Option<String>)
: The ID of the Greengrass group.
- On success, responds with
GetAssociatedRoleOutput
with field(s):associated_at(Option<String>)
: The time when the role was associated with the group.role_arn(Option<String>)
: The ARN of the role that is associated with the group.
- On failure, responds with
SdkError<GetAssociatedRoleError>
sourcepub fn get_bulk_deployment_status(&self) -> GetBulkDeploymentStatus
pub fn get_bulk_deployment_status(&self) -> GetBulkDeploymentStatus
Constructs a fluent builder for the GetBulkDeploymentStatus
operation.
- The fluent builder is configurable:
bulk_deployment_id(impl Into<String>)
/set_bulk_deployment_id(Option<String>)
: The ID of the bulk deployment.
- On success, responds with
GetBulkDeploymentStatusOutput
with field(s):bulk_deployment_metrics(Option<BulkDeploymentMetrics>)
: Relevant metrics on input records processed during bulk deployment.bulk_deployment_status(Option<BulkDeploymentStatus>)
: The status of the bulk deployment.created_at(Option<String>)
: The time, in ISO format, when the deployment was created.error_details(Option<Vec<ErrorDetail>>)
: Error detailserror_message(Option<String>)
: Error messagetags(Option<HashMap<String, String>>)
: Tag(s) attached to the resource arn.
- On failure, responds with
SdkError<GetBulkDeploymentStatusError>
sourcepub fn get_connectivity_info(&self) -> GetConnectivityInfo
pub fn get_connectivity_info(&self) -> GetConnectivityInfo
Constructs a fluent builder for the GetConnectivityInfo
operation.
- The fluent builder is configurable:
thing_name(impl Into<String>)
/set_thing_name(Option<String>)
: The thing name.
- On success, responds with
GetConnectivityInfoOutput
with field(s):connectivity_info(Option<Vec<ConnectivityInfo>>)
: Connectivity info list.message(Option<String>)
: A message about the connectivity info request.
- On failure, responds with
SdkError<GetConnectivityInfoError>
sourcepub fn get_connector_definition(&self) -> GetConnectorDefinition
pub fn get_connector_definition(&self) -> GetConnectorDefinition
Constructs a fluent builder for the GetConnectorDefinition
operation.
- The fluent builder is configurable:
connector_definition_id(impl Into<String>)
/set_connector_definition_id(Option<String>)
: The ID of the connector definition.
- On success, responds with
GetConnectorDefinitionOutput
with field(s):arn(Option<String>)
: The ARN of the definition.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was created.id(Option<String>)
: The ID of the definition.last_updated_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was last updated.latest_version(Option<String>)
: The ID of the latest version associated with the definition.latest_version_arn(Option<String>)
: The ARN of the latest version associated with the definition.name(Option<String>)
: The name of the definition.tags(Option<HashMap<String, String>>)
: Tag(s) attached to the resource arn.
- On failure, responds with
SdkError<GetConnectorDefinitionError>
sourcepub fn get_connector_definition_version(&self) -> GetConnectorDefinitionVersion
pub fn get_connector_definition_version(&self) -> GetConnectorDefinitionVersion
Constructs a fluent builder for the GetConnectorDefinitionVersion
operation.
- The fluent builder is configurable:
connector_definition_id(impl Into<String>)
/set_connector_definition_id(Option<String>)
: The ID of the connector definition.connector_definition_version_id(impl Into<String>)
/set_connector_definition_version_id(Option<String>)
: The ID of the connector definition version. This value maps to the ’‘Version’’ property of the corresponding ’‘VersionInformation’’ object, which is returned by ’‘ListConnectorDefinitionVersions’’ requests. If the version is the last one that was associated with a connector definition, the value also maps to the ’‘LatestVersion’’ property of the corresponding ’‘DefinitionInformation’’ object.next_token(impl Into<String>)
/set_next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On success, responds with
GetConnectorDefinitionVersionOutput
with field(s):arn(Option<String>)
: The ARN of the connector definition version.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the connector definition version was created.definition(Option<ConnectorDefinitionVersion>)
: Information about the connector definition version.id(Option<String>)
: The ID of the connector definition version.next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.version(Option<String>)
: The version of the connector definition version.
- On failure, responds with
SdkError<GetConnectorDefinitionVersionError>
sourcepub fn get_core_definition(&self) -> GetCoreDefinition
pub fn get_core_definition(&self) -> GetCoreDefinition
Constructs a fluent builder for the GetCoreDefinition
operation.
- The fluent builder is configurable:
core_definition_id(impl Into<String>)
/set_core_definition_id(Option<String>)
: The ID of the core definition.
- On success, responds with
GetCoreDefinitionOutput
with field(s):arn(Option<String>)
: The ARN of the definition.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was created.id(Option<String>)
: The ID of the definition.last_updated_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was last updated.latest_version(Option<String>)
: The ID of the latest version associated with the definition.latest_version_arn(Option<String>)
: The ARN of the latest version associated with the definition.name(Option<String>)
: The name of the definition.tags(Option<HashMap<String, String>>)
: Tag(s) attached to the resource arn.
- On failure, responds with
SdkError<GetCoreDefinitionError>
sourcepub fn get_core_definition_version(&self) -> GetCoreDefinitionVersion
pub fn get_core_definition_version(&self) -> GetCoreDefinitionVersion
Constructs a fluent builder for the GetCoreDefinitionVersion
operation.
- The fluent builder is configurable:
core_definition_id(impl Into<String>)
/set_core_definition_id(Option<String>)
: The ID of the core definition.core_definition_version_id(impl Into<String>)
/set_core_definition_version_id(Option<String>)
: The ID of the core definition version. This value maps to the ’‘Version’’ property of the corresponding ’‘VersionInformation’’ object, which is returned by ’‘ListCoreDefinitionVersions’’ requests. If the version is the last one that was associated with a core definition, the value also maps to the ’‘LatestVersion’’ property of the corresponding ’‘DefinitionInformation’’ object.
- On success, responds with
GetCoreDefinitionVersionOutput
with field(s):arn(Option<String>)
: The ARN of the core definition version.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the core definition version was created.definition(Option<CoreDefinitionVersion>)
: Information about the core definition version.id(Option<String>)
: The ID of the core definition version.next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.version(Option<String>)
: The version of the core definition version.
- On failure, responds with
SdkError<GetCoreDefinitionVersionError>
sourcepub fn get_deployment_status(&self) -> GetDeploymentStatus
pub fn get_deployment_status(&self) -> GetDeploymentStatus
Constructs a fluent builder for the GetDeploymentStatus
operation.
- The fluent builder is configurable:
deployment_id(impl Into<String>)
/set_deployment_id(Option<String>)
: The ID of the deployment.group_id(impl Into<String>)
/set_group_id(Option<String>)
: The ID of the Greengrass group.
- On success, responds with
GetDeploymentStatusOutput
with field(s):deployment_status(Option<String>)
: The status of the deployment: ’‘InProgress’’, ’‘Building’’, ’‘Success’’, or ’‘Failure’’.deployment_type(Option<DeploymentType>)
: The type of the deployment.error_details(Option<Vec<ErrorDetail>>)
: Error detailserror_message(Option<String>)
: Error messageupdated_at(Option<String>)
: The time, in milliseconds since the epoch, when the deployment status was updated.
- On failure, responds with
SdkError<GetDeploymentStatusError>
sourcepub fn get_device_definition(&self) -> GetDeviceDefinition
pub fn get_device_definition(&self) -> GetDeviceDefinition
Constructs a fluent builder for the GetDeviceDefinition
operation.
- The fluent builder is configurable:
device_definition_id(impl Into<String>)
/set_device_definition_id(Option<String>)
: The ID of the device definition.
- On success, responds with
GetDeviceDefinitionOutput
with field(s):arn(Option<String>)
: The ARN of the definition.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was created.id(Option<String>)
: The ID of the definition.last_updated_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was last updated.latest_version(Option<String>)
: The ID of the latest version associated with the definition.latest_version_arn(Option<String>)
: The ARN of the latest version associated with the definition.name(Option<String>)
: The name of the definition.tags(Option<HashMap<String, String>>)
: Tag(s) attached to the resource arn.
- On failure, responds with
SdkError<GetDeviceDefinitionError>
sourcepub fn get_device_definition_version(&self) -> GetDeviceDefinitionVersion
pub fn get_device_definition_version(&self) -> GetDeviceDefinitionVersion
Constructs a fluent builder for the GetDeviceDefinitionVersion
operation.
- The fluent builder is configurable:
device_definition_id(impl Into<String>)
/set_device_definition_id(Option<String>)
: The ID of the device definition.device_definition_version_id(impl Into<String>)
/set_device_definition_version_id(Option<String>)
: The ID of the device definition version. This value maps to the ’‘Version’’ property of the corresponding ’‘VersionInformation’’ object, which is returned by ’‘ListDeviceDefinitionVersions’’ requests. If the version is the last one that was associated with a device definition, the value also maps to the ’‘LatestVersion’’ property of the corresponding ’‘DefinitionInformation’’ object.next_token(impl Into<String>)
/set_next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On success, responds with
GetDeviceDefinitionVersionOutput
with field(s):arn(Option<String>)
: The ARN of the device definition version.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the device definition version was created.definition(Option<DeviceDefinitionVersion>)
: Information about the device definition version.id(Option<String>)
: The ID of the device definition version.next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.version(Option<String>)
: The version of the device definition version.
- On failure, responds with
SdkError<GetDeviceDefinitionVersionError>
sourcepub fn get_function_definition(&self) -> GetFunctionDefinition
pub fn get_function_definition(&self) -> GetFunctionDefinition
Constructs a fluent builder for the GetFunctionDefinition
operation.
- The fluent builder is configurable:
function_definition_id(impl Into<String>)
/set_function_definition_id(Option<String>)
: The ID of the Lambda function definition.
- On success, responds with
GetFunctionDefinitionOutput
with field(s):arn(Option<String>)
: The ARN of the definition.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was created.id(Option<String>)
: The ID of the definition.last_updated_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was last updated.latest_version(Option<String>)
: The ID of the latest version associated with the definition.latest_version_arn(Option<String>)
: The ARN of the latest version associated with the definition.name(Option<String>)
: The name of the definition.tags(Option<HashMap<String, String>>)
: Tag(s) attached to the resource arn.
- On failure, responds with
SdkError<GetFunctionDefinitionError>
sourcepub fn get_function_definition_version(&self) -> GetFunctionDefinitionVersion
pub fn get_function_definition_version(&self) -> GetFunctionDefinitionVersion
Constructs a fluent builder for the GetFunctionDefinitionVersion
operation.
- The fluent builder is configurable:
function_definition_id(impl Into<String>)
/set_function_definition_id(Option<String>)
: The ID of the Lambda function definition.function_definition_version_id(impl Into<String>)
/set_function_definition_version_id(Option<String>)
: The ID of the function definition version. This value maps to the ’‘Version’’ property of the corresponding ’‘VersionInformation’’ object, which is returned by ’‘ListFunctionDefinitionVersions’’ requests. If the version is the last one that was associated with a function definition, the value also maps to the ’‘LatestVersion’’ property of the corresponding ’‘DefinitionInformation’’ object.next_token(impl Into<String>)
/set_next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On success, responds with
GetFunctionDefinitionVersionOutput
with field(s):arn(Option<String>)
: The ARN of the function definition version.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the function definition version was created.definition(Option<FunctionDefinitionVersion>)
: Information on the definition.id(Option<String>)
: The ID of the function definition version.next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.version(Option<String>)
: The version of the function definition version.
- On failure, responds with
SdkError<GetFunctionDefinitionVersionError>
sourcepub fn get_group(&self) -> GetGroup
pub fn get_group(&self) -> GetGroup
Constructs a fluent builder for the GetGroup
operation.
- The fluent builder is configurable:
group_id(impl Into<String>)
/set_group_id(Option<String>)
: The ID of the Greengrass group.
- On success, responds with
GetGroupOutput
with field(s):arn(Option<String>)
: The ARN of the definition.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was created.id(Option<String>)
: The ID of the definition.last_updated_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was last updated.latest_version(Option<String>)
: The ID of the latest version associated with the definition.latest_version_arn(Option<String>)
: The ARN of the latest version associated with the definition.name(Option<String>)
: The name of the definition.tags(Option<HashMap<String, String>>)
: Tag(s) attached to the resource arn.
- On failure, responds with
SdkError<GetGroupError>
Constructs a fluent builder for the GetGroupCertificateAuthority
operation.
- The fluent builder is configurable:
certificate_authority_id(impl Into<String>)
/set_certificate_authority_id(Option<String>)
: The ID of the certificate authority.group_id(impl Into<String>)
/set_group_id(Option<String>)
: The ID of the Greengrass group.
- On success, responds with
GetGroupCertificateAuthorityOutput
with field(s):group_certificate_authority_arn(Option<String>)
: The ARN of the certificate authority for the group.group_certificate_authority_id(Option<String>)
: The ID of the certificate authority for the group.pem_encoded_certificate(Option<String>)
: The PEM encoded certificate for the group.
- On failure, responds with
SdkError<GetGroupCertificateAuthorityError>
sourcepub fn get_group_certificate_configuration(
&self
) -> GetGroupCertificateConfiguration
pub fn get_group_certificate_configuration(
&self
) -> GetGroupCertificateConfiguration
Constructs a fluent builder for the GetGroupCertificateConfiguration
operation.
- The fluent builder is configurable:
group_id(impl Into<String>)
/set_group_id(Option<String>)
: The ID of the Greengrass group.
- On success, responds with
GetGroupCertificateConfigurationOutput
with field(s):certificate_authority_expiry_in_milliseconds(Option<String>)
: The amount of time remaining before the certificate authority expires, in milliseconds.certificate_expiry_in_milliseconds(Option<String>)
: The amount of time remaining before the certificate expires, in milliseconds.group_id(Option<String>)
: The ID of the group certificate configuration.
- On failure, responds with
SdkError<GetGroupCertificateConfigurationError>
sourcepub fn get_group_version(&self) -> GetGroupVersion
pub fn get_group_version(&self) -> GetGroupVersion
Constructs a fluent builder for the GetGroupVersion
operation.
- The fluent builder is configurable:
group_id(impl Into<String>)
/set_group_id(Option<String>)
: The ID of the Greengrass group.group_version_id(impl Into<String>)
/set_group_version_id(Option<String>)
: The ID of the group version. This value maps to the ’‘Version’’ property of the corresponding ’‘VersionInformation’’ object, which is returned by ’‘ListGroupVersions’’ requests. If the version is the last one that was associated with a group, the value also maps to the ’‘LatestVersion’’ property of the corresponding ’‘GroupInformation’’ object.
- On success, responds with
GetGroupVersionOutput
with field(s):arn(Option<String>)
: The ARN of the group version.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the group version was created.definition(Option<GroupVersion>)
: Information about the group version definition.id(Option<String>)
: The ID of the group that the version is associated with.version(Option<String>)
: The ID of the group version.
- On failure, responds with
SdkError<GetGroupVersionError>
sourcepub fn get_logger_definition(&self) -> GetLoggerDefinition
pub fn get_logger_definition(&self) -> GetLoggerDefinition
Constructs a fluent builder for the GetLoggerDefinition
operation.
- The fluent builder is configurable:
logger_definition_id(impl Into<String>)
/set_logger_definition_id(Option<String>)
: The ID of the logger definition.
- On success, responds with
GetLoggerDefinitionOutput
with field(s):arn(Option<String>)
: The ARN of the definition.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was created.id(Option<String>)
: The ID of the definition.last_updated_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was last updated.latest_version(Option<String>)
: The ID of the latest version associated with the definition.latest_version_arn(Option<String>)
: The ARN of the latest version associated with the definition.name(Option<String>)
: The name of the definition.tags(Option<HashMap<String, String>>)
: Tag(s) attached to the resource arn.
- On failure, responds with
SdkError<GetLoggerDefinitionError>
sourcepub fn get_logger_definition_version(&self) -> GetLoggerDefinitionVersion
pub fn get_logger_definition_version(&self) -> GetLoggerDefinitionVersion
Constructs a fluent builder for the GetLoggerDefinitionVersion
operation.
- The fluent builder is configurable:
logger_definition_id(impl Into<String>)
/set_logger_definition_id(Option<String>)
: The ID of the logger definition.logger_definition_version_id(impl Into<String>)
/set_logger_definition_version_id(Option<String>)
: The ID of the logger definition version. This value maps to the ’‘Version’’ property of the corresponding ’‘VersionInformation’’ object, which is returned by ’‘ListLoggerDefinitionVersions’’ requests. If the version is the last one that was associated with a logger definition, the value also maps to the ’‘LatestVersion’’ property of the corresponding ’‘DefinitionInformation’’ object.next_token(impl Into<String>)
/set_next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On success, responds with
GetLoggerDefinitionVersionOutput
with field(s):arn(Option<String>)
: The ARN of the logger definition version.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the logger definition version was created.definition(Option<LoggerDefinitionVersion>)
: Information about the logger definition version.id(Option<String>)
: The ID of the logger definition version.version(Option<String>)
: The version of the logger definition version.
- On failure, responds with
SdkError<GetLoggerDefinitionVersionError>
sourcepub fn get_resource_definition(&self) -> GetResourceDefinition
pub fn get_resource_definition(&self) -> GetResourceDefinition
Constructs a fluent builder for the GetResourceDefinition
operation.
- The fluent builder is configurable:
resource_definition_id(impl Into<String>)
/set_resource_definition_id(Option<String>)
: The ID of the resource definition.
- On success, responds with
GetResourceDefinitionOutput
with field(s):arn(Option<String>)
: The ARN of the definition.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was created.id(Option<String>)
: The ID of the definition.last_updated_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was last updated.latest_version(Option<String>)
: The ID of the latest version associated with the definition.latest_version_arn(Option<String>)
: The ARN of the latest version associated with the definition.name(Option<String>)
: The name of the definition.tags(Option<HashMap<String, String>>)
: Tag(s) attached to the resource arn.
- On failure, responds with
SdkError<GetResourceDefinitionError>
sourcepub fn get_resource_definition_version(&self) -> GetResourceDefinitionVersion
pub fn get_resource_definition_version(&self) -> GetResourceDefinitionVersion
Constructs a fluent builder for the GetResourceDefinitionVersion
operation.
- The fluent builder is configurable:
resource_definition_id(impl Into<String>)
/set_resource_definition_id(Option<String>)
: The ID of the resource definition.resource_definition_version_id(impl Into<String>)
/set_resource_definition_version_id(Option<String>)
: The ID of the resource definition version. This value maps to the ’‘Version’’ property of the corresponding ’‘VersionInformation’’ object, which is returned by ’‘ListResourceDefinitionVersions’’ requests. If the version is the last one that was associated with a resource definition, the value also maps to the ’‘LatestVersion’’ property of the corresponding ’‘DefinitionInformation’’ object.
- On success, responds with
GetResourceDefinitionVersionOutput
with field(s):arn(Option<String>)
: Arn of the resource definition version.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the resource definition version was created.definition(Option<ResourceDefinitionVersion>)
: Information about the definition.id(Option<String>)
: The ID of the resource definition version.version(Option<String>)
: The version of the resource definition version.
- On failure, responds with
SdkError<GetResourceDefinitionVersionError>
sourcepub fn get_service_role_for_account(&self) -> GetServiceRoleForAccount
pub fn get_service_role_for_account(&self) -> GetServiceRoleForAccount
Constructs a fluent builder for the GetServiceRoleForAccount
operation.
- The fluent builder takes no input, just
send
it. - On success, responds with
GetServiceRoleForAccountOutput
with field(s):associated_at(Option<String>)
: The time when the service role was associated with the account.role_arn(Option<String>)
: The ARN of the role which is associated with the account.
- On failure, responds with
SdkError<GetServiceRoleForAccountError>
sourcepub fn get_subscription_definition(&self) -> GetSubscriptionDefinition
pub fn get_subscription_definition(&self) -> GetSubscriptionDefinition
Constructs a fluent builder for the GetSubscriptionDefinition
operation.
- The fluent builder is configurable:
subscription_definition_id(impl Into<String>)
/set_subscription_definition_id(Option<String>)
: The ID of the subscription definition.
- On success, responds with
GetSubscriptionDefinitionOutput
with field(s):arn(Option<String>)
: The ARN of the definition.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was created.id(Option<String>)
: The ID of the definition.last_updated_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the definition was last updated.latest_version(Option<String>)
: The ID of the latest version associated with the definition.latest_version_arn(Option<String>)
: The ARN of the latest version associated with the definition.name(Option<String>)
: The name of the definition.tags(Option<HashMap<String, String>>)
: Tag(s) attached to the resource arn.
- On failure, responds with
SdkError<GetSubscriptionDefinitionError>
sourcepub fn get_subscription_definition_version(
&self
) -> GetSubscriptionDefinitionVersion
pub fn get_subscription_definition_version(
&self
) -> GetSubscriptionDefinitionVersion
Constructs a fluent builder for the GetSubscriptionDefinitionVersion
operation.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.subscription_definition_id(impl Into<String>)
/set_subscription_definition_id(Option<String>)
: The ID of the subscription definition.subscription_definition_version_id(impl Into<String>)
/set_subscription_definition_version_id(Option<String>)
: The ID of the subscription definition version. This value maps to the ’‘Version’’ property of the corresponding ’‘VersionInformation’’ object, which is returned by ’‘ListSubscriptionDefinitionVersions’’ requests. If the version is the last one that was associated with a subscription definition, the value also maps to the ’‘LatestVersion’’ property of the corresponding ’‘DefinitionInformation’’ object.
- On success, responds with
GetSubscriptionDefinitionVersionOutput
with field(s):arn(Option<String>)
: The ARN of the subscription definition version.creation_timestamp(Option<String>)
: The time, in milliseconds since the epoch, when the subscription definition version was created.definition(Option<SubscriptionDefinitionVersion>)
: Information about the subscription definition version.id(Option<String>)
: The ID of the subscription definition version.next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.version(Option<String>)
: The version of the subscription definition version.
- On failure, responds with
SdkError<GetSubscriptionDefinitionVersionError>
sourcepub fn get_thing_runtime_configuration(&self) -> GetThingRuntimeConfiguration
pub fn get_thing_runtime_configuration(&self) -> GetThingRuntimeConfiguration
Constructs a fluent builder for the GetThingRuntimeConfiguration
operation.
- The fluent builder is configurable:
thing_name(impl Into<String>)
/set_thing_name(Option<String>)
: The thing name.
- On success, responds with
GetThingRuntimeConfigurationOutput
with field(s):runtime_configuration(Option<RuntimeConfiguration>)
: Runtime configuration for a thing.
- On failure, responds with
SdkError<GetThingRuntimeConfigurationError>
sourcepub fn list_bulk_deployment_detailed_reports(
&self
) -> ListBulkDeploymentDetailedReports
pub fn list_bulk_deployment_detailed_reports(
&self
) -> ListBulkDeploymentDetailedReports
Constructs a fluent builder for the ListBulkDeploymentDetailedReports
operation.
- The fluent builder is configurable:
bulk_deployment_id(impl Into<String>)
/set_bulk_deployment_id(Option<String>)
: The ID of the bulk deployment.max_results(impl Into<String>)
/set_max_results(Option<String>)
: The maximum number of results to be returned per request.next_token(impl Into<String>)
/set_next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On success, responds with
ListBulkDeploymentDetailedReportsOutput
with field(s):deployments(Option<Vec<BulkDeploymentResult>>)
: A list of the individual group deployments in the bulk deployment operation.next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On failure, responds with
SdkError<ListBulkDeploymentDetailedReportsError>
sourcepub fn list_bulk_deployments(&self) -> ListBulkDeployments
pub fn list_bulk_deployments(&self) -> ListBulkDeployments
Constructs a fluent builder for the ListBulkDeployments
operation.
- The fluent builder is configurable:
max_results(impl Into<String>)
/set_max_results(Option<String>)
: The maximum number of results to be returned per request.next_token(impl Into<String>)
/set_next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On success, responds with
ListBulkDeploymentsOutput
with field(s):bulk_deployments(Option<Vec<BulkDeployment>>)
: A list of bulk deployments.next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On failure, responds with
SdkError<ListBulkDeploymentsError>
sourcepub fn list_connector_definitions(&self) -> ListConnectorDefinitions
pub fn list_connector_definitions(&self) -> ListConnectorDefinitions
Constructs a fluent builder for the ListConnectorDefinitions
operation.
- The fluent builder is configurable:
max_results(impl Into<String>)
/set_max_results(Option<String>)
: The maximum number of results to be returned per request.next_token(impl Into<String>)
/set_next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On success, responds with
ListConnectorDefinitionsOutput
with field(s):definitions(Option<Vec<DefinitionInformation>>)
: Information about a definition.next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On failure, responds with
SdkError<ListConnectorDefinitionsError>
sourcepub fn list_connector_definition_versions(
&self
) -> ListConnectorDefinitionVersions
pub fn list_connector_definition_versions(
&self
) -> ListConnectorDefinitionVersions
Constructs a fluent builder for the ListConnectorDefinitionVersions
operation.
- The fluent builder is configurable:
connector_definition_id(impl Into<String>)
/set_connector_definition_id(Option<String>)
: The ID of the connector definition.max_results(impl Into<String>)
/set_max_results(Option<String>)
: The maximum number of results to be returned per request.next_token(impl Into<String>)
/set_next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On success, responds with
ListConnectorDefinitionVersionsOutput
with field(s):next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.versions(Option<Vec<VersionInformation>>)
: Information about a version.
- On failure, responds with
SdkError<ListConnectorDefinitionVersionsError>
sourcepub fn list_core_definitions(&self) -> ListCoreDefinitions
pub fn list_core_definitions(&self) -> ListCoreDefinitions
Constructs a fluent builder for the ListCoreDefinitions
operation.
- The fluent builder is configurable:
max_results(impl Into<String>)
/set_max_results(Option<String>)
: The maximum number of results to be returned per request.next_token(impl Into<String>)
/set_next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On success, responds with
ListCoreDefinitionsOutput
with field(s):definitions(Option<Vec<DefinitionInformation>>)
: Information about a definition.next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On failure, responds with
SdkError<ListCoreDefinitionsError>
sourcepub fn list_core_definition_versions(&self) -> ListCoreDefinitionVersions
pub fn list_core_definition_versions(&self) -> ListCoreDefinitionVersions
Constructs a fluent builder for the ListCoreDefinitionVersions
operation.
- The fluent builder is configurable:
core_definition_id(impl Into<String>)
/set_core_definition_id(Option<String>)
: The ID of the core definition.max_results(impl Into<String>)
/set_max_results(Option<String>)
: The maximum number of results to be returned per request.next_token(impl Into<String>)
/set_next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On success, responds with
ListCoreDefinitionVersionsOutput
with field(s):next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.versions(Option<Vec<VersionInformation>>)
: Information about a version.
- On failure, responds with
SdkError<ListCoreDefinitionVersionsError>
sourcepub fn list_deployments(&self) -> ListDeployments
pub fn list_deployments(&self) -> ListDeployments
Constructs a fluent builder for the ListDeployments
operation.
- The fluent builder is configurable:
group_id(impl Into<String>)
/set_group_id(Option<String>)
: The ID of the Greengrass group.max_results(impl Into<String>)
/set_max_results(Option<String>)
: The maximum number of results to be returned per request.next_token(impl Into<String>)
/set_next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On success, responds with
ListDeploymentsOutput
with field(s):deployments(Option<Vec<Deployment>>)
: A list of deployments for the requested groups.next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On failure, responds with
SdkError<ListDeploymentsError>
sourcepub fn list_device_definitions(&self) -> ListDeviceDefinitions
pub fn list_device_definitions(&self) -> ListDeviceDefinitions
Constructs a fluent builder for the ListDeviceDefinitions
operation.
- The fluent builder is configurable:
max_results(impl Into<String>)
/set_max_results(Option<String>)
: The maximum number of results to be returned per request.next_token(impl Into<String>)
/set_next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On success, responds with
ListDeviceDefinitionsOutput
with field(s):definitions(Option<Vec<DefinitionInformation>>)
: Information about a definition.next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On failure, responds with
SdkError<ListDeviceDefinitionsError>
sourcepub fn list_device_definition_versions(&self) -> ListDeviceDefinitionVersions
pub fn list_device_definition_versions(&self) -> ListDeviceDefinitionVersions
Constructs a fluent builder for the ListDeviceDefinitionVersions
operation.
- The fluent builder is configurable:
device_definition_id(impl Into<String>)
/set_device_definition_id(Option<String>)
: The ID of the device definition.max_results(impl Into<String>)
/set_max_results(Option<String>)
: The maximum number of results to be returned per request.next_token(impl Into<String>)
/set_next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On success, responds with
ListDeviceDefinitionVersionsOutput
with field(s):next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.versions(Option<Vec<VersionInformation>>)
: Information about a version.
- On failure, responds with
SdkError<ListDeviceDefinitionVersionsError>
sourcepub fn list_function_definitions(&self) -> ListFunctionDefinitions
pub fn list_function_definitions(&self) -> ListFunctionDefinitions
Constructs a fluent builder for the ListFunctionDefinitions
operation.
- The fluent builder is configurable:
max_results(impl Into<String>)
/set_max_results(Option<String>)
: The maximum number of results to be returned per request.next_token(impl Into<String>)
/set_next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On success, responds with
ListFunctionDefinitionsOutput
with field(s):definitions(Option<Vec<DefinitionInformation>>)
: Information about a definition.next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On failure, responds with
SdkError<ListFunctionDefinitionsError>
sourcepub fn list_function_definition_versions(
&self
) -> ListFunctionDefinitionVersions
pub fn list_function_definition_versions(
&self
) -> ListFunctionDefinitionVersions
Constructs a fluent builder for the ListFunctionDefinitionVersions
operation.
- The fluent builder is configurable:
function_definition_id(impl Into<String>)
/set_function_definition_id(Option<String>)
: The ID of the Lambda function definition.max_results(impl Into<String>)
/set_max_results(Option<String>)
: The maximum number of results to be returned per request.next_token(impl Into<String>)
/set_next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On success, responds with
ListFunctionDefinitionVersionsOutput
with field(s):next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.versions(Option<Vec<VersionInformation>>)
: Information about a version.
- On failure, responds with
SdkError<ListFunctionDefinitionVersionsError>
Constructs a fluent builder for the ListGroupCertificateAuthorities
operation.
- The fluent builder is configurable:
group_id(impl Into<String>)
/set_group_id(Option<String>)
: The ID of the Greengrass group.
- On success, responds with
ListGroupCertificateAuthoritiesOutput
with field(s):group_certificate_authorities(Option<Vec<GroupCertificateAuthorityProperties>>)
: A list of certificate authorities associated with the group.
- On failure, responds with
SdkError<ListGroupCertificateAuthoritiesError>
sourcepub fn list_groups(&self) -> ListGroups
pub fn list_groups(&self) -> ListGroups
Constructs a fluent builder for the ListGroups
operation.
- The fluent builder is configurable:
max_results(impl Into<String>)
/set_max_results(Option<String>)
: The maximum number of results to be returned per request.next_token(impl Into<String>)
/set_next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On success, responds with
ListGroupsOutput
with field(s):groups(Option<Vec<GroupInformation>>)
: Information about a group.next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On failure, responds with
SdkError<ListGroupsError>
sourcepub fn list_group_versions(&self) -> ListGroupVersions
pub fn list_group_versions(&self) -> ListGroupVersions
Constructs a fluent builder for the ListGroupVersions
operation.
- The fluent builder is configurable:
group_id(impl Into<String>)
/set_group_id(Option<String>)
: The ID of the Greengrass group.max_results(impl Into<String>)
/set_max_results(Option<String>)
: The maximum number of results to be returned per request.next_token(impl Into<String>)
/set_next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On success, responds with
ListGroupVersionsOutput
with field(s):next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.versions(Option<Vec<VersionInformation>>)
: Information about a version.
- On failure, responds with
SdkError<ListGroupVersionsError>
sourcepub fn list_logger_definitions(&self) -> ListLoggerDefinitions
pub fn list_logger_definitions(&self) -> ListLoggerDefinitions
Constructs a fluent builder for the ListLoggerDefinitions
operation.
- The fluent builder is configurable:
max_results(impl Into<String>)
/set_max_results(Option<String>)
: The maximum number of results to be returned per request.next_token(impl Into<String>)
/set_next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On success, responds with
ListLoggerDefinitionsOutput
with field(s):definitions(Option<Vec<DefinitionInformation>>)
: Information about a definition.next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On failure, responds with
SdkError<ListLoggerDefinitionsError>
sourcepub fn list_logger_definition_versions(&self) -> ListLoggerDefinitionVersions
pub fn list_logger_definition_versions(&self) -> ListLoggerDefinitionVersions
Constructs a fluent builder for the ListLoggerDefinitionVersions
operation.
- The fluent builder is configurable:
logger_definition_id(impl Into<String>)
/set_logger_definition_id(Option<String>)
: The ID of the logger definition.max_results(impl Into<String>)
/set_max_results(Option<String>)
: The maximum number of results to be returned per request.next_token(impl Into<String>)
/set_next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On success, responds with
ListLoggerDefinitionVersionsOutput
with field(s):next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.versions(Option<Vec<VersionInformation>>)
: Information about a version.
- On failure, responds with
SdkError<ListLoggerDefinitionVersionsError>
sourcepub fn list_resource_definitions(&self) -> ListResourceDefinitions
pub fn list_resource_definitions(&self) -> ListResourceDefinitions
Constructs a fluent builder for the ListResourceDefinitions
operation.
- The fluent builder is configurable:
max_results(impl Into<String>)
/set_max_results(Option<String>)
: The maximum number of results to be returned per request.next_token(impl Into<String>)
/set_next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On success, responds with
ListResourceDefinitionsOutput
with field(s):definitions(Option<Vec<DefinitionInformation>>)
: Information about a definition.next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On failure, responds with
SdkError<ListResourceDefinitionsError>
sourcepub fn list_resource_definition_versions(
&self
) -> ListResourceDefinitionVersions
pub fn list_resource_definition_versions(
&self
) -> ListResourceDefinitionVersions
Constructs a fluent builder for the ListResourceDefinitionVersions
operation.
- The fluent builder is configurable:
max_results(impl Into<String>)
/set_max_results(Option<String>)
: The maximum number of results to be returned per request.next_token(impl Into<String>)
/set_next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.resource_definition_id(impl Into<String>)
/set_resource_definition_id(Option<String>)
: The ID of the resource definition.
- On success, responds with
ListResourceDefinitionVersionsOutput
with field(s):next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.versions(Option<Vec<VersionInformation>>)
: Information about a version.
- On failure, responds with
SdkError<ListResourceDefinitionVersionsError>
sourcepub fn list_subscription_definitions(&self) -> ListSubscriptionDefinitions
pub fn list_subscription_definitions(&self) -> ListSubscriptionDefinitions
Constructs a fluent builder for the ListSubscriptionDefinitions
operation.
- The fluent builder is configurable:
max_results(impl Into<String>)
/set_max_results(Option<String>)
: The maximum number of results to be returned per request.next_token(impl Into<String>)
/set_next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On success, responds with
ListSubscriptionDefinitionsOutput
with field(s):definitions(Option<Vec<DefinitionInformation>>)
: Information about a definition.next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.
- On failure, responds with
SdkError<ListSubscriptionDefinitionsError>
sourcepub fn list_subscription_definition_versions(
&self
) -> ListSubscriptionDefinitionVersions
pub fn list_subscription_definition_versions(
&self
) -> ListSubscriptionDefinitionVersions
Constructs a fluent builder for the ListSubscriptionDefinitionVersions
operation.
- The fluent builder is configurable:
max_results(impl Into<String>)
/set_max_results(Option<String>)
: The maximum number of results to be returned per request.next_token(impl Into<String>)
/set_next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.subscription_definition_id(impl Into<String>)
/set_subscription_definition_id(Option<String>)
: The ID of the subscription definition.
- On success, responds with
ListSubscriptionDefinitionVersionsOutput
with field(s):next_token(Option<String>)
: The token for the next set of results, or ’‘null’’ if there are no additional results.versions(Option<Vec<VersionInformation>>)
: Information about a version.
- On failure, responds with
SdkError<ListSubscriptionDefinitionVersionsError>
Constructs a fluent builder for the ListTagsForResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
: The Amazon Resource Name (ARN) of the resource.
- On success, responds with
ListTagsForResourceOutput
with field(s):tags(Option<HashMap<String, String>>)
: The key-value pair for the resource tag.
- On failure, responds with
SdkError<ListTagsForResourceError>
sourcepub fn reset_deployments(&self) -> ResetDeployments
pub fn reset_deployments(&self) -> ResetDeployments
Constructs a fluent builder for the ResetDeployments
operation.
- The fluent builder is configurable:
amzn_client_token(impl Into<String>)
/set_amzn_client_token(Option<String>)
: A client token used to correlate requests and responses.force(bool)
/set_force(bool)
: If true, performs a best-effort only core reset.group_id(impl Into<String>)
/set_group_id(Option<String>)
: The ID of the Greengrass group.
- On success, responds with
ResetDeploymentsOutput
with field(s):deployment_arn(Option<String>)
: The ARN of the deployment.deployment_id(Option<String>)
: The ID of the deployment.
- On failure, responds with
SdkError<ResetDeploymentsError>
sourcepub fn start_bulk_deployment(&self) -> StartBulkDeployment
pub fn start_bulk_deployment(&self) -> StartBulkDeployment
Constructs a fluent builder for the StartBulkDeployment
operation.
- The fluent builder is configurable:
amzn_client_token(impl Into<String>)
/set_amzn_client_token(Option<String>)
: A client token used to correlate requests and responses.execution_role_arn(impl Into<String>)
/set_execution_role_arn(Option<String>)
: The ARN of the execution role to associate with the bulk deployment operation. This IAM role must allow the ’‘greengrass:CreateDeployment’’ action for all group versions that are listed in the input file. This IAM role must have access to the S3 bucket containing the input file.input_file_uri(impl Into<String>)
/set_input_file_uri(Option<String>)
: The URI of the input file contained in the S3 bucket. The execution role must have ’‘getObject’’ permissions on this bucket to access the input file. The input file is a JSON-serialized, line delimited file with UTF-8 encoding that provides a list of group and version IDs and the deployment type. This file must be less than 100 MB. Currently, AWS IoT Greengrass supports only ’‘NewDeployment’’ deployment types.tags(HashMap<String, String>)
/set_tags(Option<HashMap<String, String>>)
: Tag(s) to add to the new resource.
- On success, responds with
StartBulkDeploymentOutput
with field(s):bulk_deployment_arn(Option<String>)
: The ARN of the bulk deployment.bulk_deployment_id(Option<String>)
: The ID of the bulk deployment.
- On failure, responds with
SdkError<StartBulkDeploymentError>
sourcepub fn stop_bulk_deployment(&self) -> StopBulkDeployment
pub fn stop_bulk_deployment(&self) -> StopBulkDeployment
Constructs a fluent builder for the StopBulkDeployment
operation.
- The fluent builder is configurable:
bulk_deployment_id(impl Into<String>)
/set_bulk_deployment_id(Option<String>)
: The ID of the bulk deployment.
- On success, responds with
StopBulkDeploymentOutput
- On failure, responds with
SdkError<StopBulkDeploymentError>
sourcepub fn tag_resource(&self) -> TagResource
pub fn tag_resource(&self) -> TagResource
Constructs a fluent builder for the TagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
: The Amazon Resource Name (ARN) of the resource.tags(HashMap<String, String>)
/set_tags(Option<HashMap<String, String>>)
: The key-value pair for the resource tag.
- On success, responds with
TagResourceOutput
- On failure, responds with
SdkError<TagResourceError>
sourcepub fn untag_resource(&self) -> UntagResource
pub fn untag_resource(&self) -> UntagResource
Constructs a fluent builder for the UntagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
: The Amazon Resource Name (ARN) of the resource.tag_keys(Vec<String>)
/set_tag_keys(Option<Vec<String>>)
: An array of tag keys to delete
- On success, responds with
UntagResourceOutput
- On failure, responds with
SdkError<UntagResourceError>
sourcepub fn update_connectivity_info(&self) -> UpdateConnectivityInfo
pub fn update_connectivity_info(&self) -> UpdateConnectivityInfo
Constructs a fluent builder for the UpdateConnectivityInfo
operation.
- The fluent builder is configurable:
connectivity_info(Vec<ConnectivityInfo>)
/set_connectivity_info(Option<Vec<ConnectivityInfo>>)
: A list of connectivity info.thing_name(impl Into<String>)
/set_thing_name(Option<String>)
: The thing name.
- On success, responds with
UpdateConnectivityInfoOutput
with field(s):message(Option<String>)
: A message about the connectivity info update request.version(Option<String>)
: The new version of the connectivity info.
- On failure, responds with
SdkError<UpdateConnectivityInfoError>
sourcepub fn update_connector_definition(&self) -> UpdateConnectorDefinition
pub fn update_connector_definition(&self) -> UpdateConnectorDefinition
Constructs a fluent builder for the UpdateConnectorDefinition
operation.
- The fluent builder is configurable:
connector_definition_id(impl Into<String>)
/set_connector_definition_id(Option<String>)
: The ID of the connector definition.name(impl Into<String>)
/set_name(Option<String>)
: The name of the definition.
- On success, responds with
UpdateConnectorDefinitionOutput
- On failure, responds with
SdkError<UpdateConnectorDefinitionError>
sourcepub fn update_core_definition(&self) -> UpdateCoreDefinition
pub fn update_core_definition(&self) -> UpdateCoreDefinition
Constructs a fluent builder for the UpdateCoreDefinition
operation.
- The fluent builder is configurable:
core_definition_id(impl Into<String>)
/set_core_definition_id(Option<String>)
: The ID of the core definition.name(impl Into<String>)
/set_name(Option<String>)
: The name of the definition.
- On success, responds with
UpdateCoreDefinitionOutput
- On failure, responds with
SdkError<UpdateCoreDefinitionError>
sourcepub fn update_device_definition(&self) -> UpdateDeviceDefinition
pub fn update_device_definition(&self) -> UpdateDeviceDefinition
Constructs a fluent builder for the UpdateDeviceDefinition
operation.
- The fluent builder is configurable:
device_definition_id(impl Into<String>)
/set_device_definition_id(Option<String>)
: The ID of the device definition.name(impl Into<String>)
/set_name(Option<String>)
: The name of the definition.
- On success, responds with
UpdateDeviceDefinitionOutput
- On failure, responds with
SdkError<UpdateDeviceDefinitionError>
sourcepub fn update_function_definition(&self) -> UpdateFunctionDefinition
pub fn update_function_definition(&self) -> UpdateFunctionDefinition
Constructs a fluent builder for the UpdateFunctionDefinition
operation.
- The fluent builder is configurable:
function_definition_id(impl Into<String>)
/set_function_definition_id(Option<String>)
: The ID of the Lambda function definition.name(impl Into<String>)
/set_name(Option<String>)
: The name of the definition.
- On success, responds with
UpdateFunctionDefinitionOutput
- On failure, responds with
SdkError<UpdateFunctionDefinitionError>
sourcepub fn update_group(&self) -> UpdateGroup
pub fn update_group(&self) -> UpdateGroup
Constructs a fluent builder for the UpdateGroup
operation.
- The fluent builder is configurable:
group_id(impl Into<String>)
/set_group_id(Option<String>)
: The ID of the Greengrass group.name(impl Into<String>)
/set_name(Option<String>)
: The name of the definition.
- On success, responds with
UpdateGroupOutput
- On failure, responds with
SdkError<UpdateGroupError>
sourcepub fn update_group_certificate_configuration(
&self
) -> UpdateGroupCertificateConfiguration
pub fn update_group_certificate_configuration(
&self
) -> UpdateGroupCertificateConfiguration
Constructs a fluent builder for the UpdateGroupCertificateConfiguration
operation.
- The fluent builder is configurable:
certificate_expiry_in_milliseconds(impl Into<String>)
/set_certificate_expiry_in_milliseconds(Option<String>)
: The amount of time remaining before the certificate expires, in milliseconds.group_id(impl Into<String>)
/set_group_id(Option<String>)
: The ID of the Greengrass group.
- On success, responds with
UpdateGroupCertificateConfigurationOutput
with field(s):certificate_authority_expiry_in_milliseconds(Option<String>)
: The amount of time remaining before the certificate authority expires, in milliseconds.certificate_expiry_in_milliseconds(Option<String>)
: The amount of time remaining before the certificate expires, in milliseconds.group_id(Option<String>)
: The ID of the group certificate configuration.
- On failure, responds with
SdkError<UpdateGroupCertificateConfigurationError>
sourcepub fn update_logger_definition(&self) -> UpdateLoggerDefinition
pub fn update_logger_definition(&self) -> UpdateLoggerDefinition
Constructs a fluent builder for the UpdateLoggerDefinition
operation.
- The fluent builder is configurable:
logger_definition_id(impl Into<String>)
/set_logger_definition_id(Option<String>)
: The ID of the logger definition.name(impl Into<String>)
/set_name(Option<String>)
: The name of the definition.
- On success, responds with
UpdateLoggerDefinitionOutput
- On failure, responds with
SdkError<UpdateLoggerDefinitionError>
sourcepub fn update_resource_definition(&self) -> UpdateResourceDefinition
pub fn update_resource_definition(&self) -> UpdateResourceDefinition
Constructs a fluent builder for the UpdateResourceDefinition
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
: The name of the definition.resource_definition_id(impl Into<String>)
/set_resource_definition_id(Option<String>)
: The ID of the resource definition.
- On success, responds with
UpdateResourceDefinitionOutput
- On failure, responds with
SdkError<UpdateResourceDefinitionError>
sourcepub fn update_subscription_definition(&self) -> UpdateSubscriptionDefinition
pub fn update_subscription_definition(&self) -> UpdateSubscriptionDefinition
Constructs a fluent builder for the UpdateSubscriptionDefinition
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
: The name of the definition.subscription_definition_id(impl Into<String>)
/set_subscription_definition_id(Option<String>)
: The ID of the subscription definition.
- On success, responds with
UpdateSubscriptionDefinitionOutput
- On failure, responds with
SdkError<UpdateSubscriptionDefinitionError>
sourcepub fn update_thing_runtime_configuration(
&self
) -> UpdateThingRuntimeConfiguration
pub fn update_thing_runtime_configuration(
&self
) -> UpdateThingRuntimeConfiguration
Constructs a fluent builder for the UpdateThingRuntimeConfiguration
operation.
- The fluent builder is configurable:
telemetry_configuration(TelemetryConfigurationUpdate)
/set_telemetry_configuration(Option<TelemetryConfigurationUpdate>)
: Configuration for telemetry service.thing_name(impl Into<String>)
/set_thing_name(Option<String>)
: The thing name.
- On success, responds with
UpdateThingRuntimeConfigurationOutput
- On failure, responds with
SdkError<UpdateThingRuntimeConfigurationError>
sourceimpl Client
impl Client
sourcepub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
pub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
Creates a client with the given service config and connector override.
Trait Implementations
sourceimpl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
impl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
sourcefn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
fn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more