Struct aws_sdk_panorama::Client
source · [−]pub struct Client { /* private fields */ }Expand description
Client for AWS Panorama
Client for invoking operations on AWS Panorama. Each operation on AWS Panorama 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_panorama::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_panorama::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_panorama::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 create_application_instance(&self) -> CreateApplicationInstance
pub fn create_application_instance(&self) -> CreateApplicationInstance
Constructs a fluent builder for the CreateApplicationInstance operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):A name for the application instance.
description(impl Into<String>)/set_description(Option<String>):A description for the application instance.
manifest_payload(ManifestPayload)/set_manifest_payload(Option<ManifestPayload>):The application’s manifest document.
manifest_overrides_payload(ManifestOverridesPayload)/set_manifest_overrides_payload(Option<ManifestOverridesPayload>):Setting overrides for the application manifest.
application_instance_id_to_replace(impl Into<String>)/set_application_instance_id_to_replace(Option<String>):The ID of an application instance to replace with the new instance.
runtime_role_arn(impl Into<String>)/set_runtime_role_arn(Option<String>):The ARN of a runtime role for the application instance.
default_runtime_context_device(impl Into<String>)/set_default_runtime_context_device(Option<String>):A device’s ID.
tags(HashMap<String, String>)/set_tags(Option<HashMap<String, String>>):Tags for the application instance.
- On success, responds with
CreateApplicationInstanceOutputwith field(s):application_instance_id(Option<String>):The application instance’s ID.
- On failure, responds with
SdkError<CreateApplicationInstanceError>
sourcepub fn create_job_for_devices(&self) -> CreateJobForDevices
pub fn create_job_for_devices(&self) -> CreateJobForDevices
Constructs a fluent builder for the CreateJobForDevices operation.
- The fluent builder is configurable:
device_ids(Vec<String>)/set_device_ids(Option<Vec<String>>):IDs of target devices.
device_job_config(DeviceJobConfig)/set_device_job_config(Option<DeviceJobConfig>):Configuration settings for the job.
job_type(JobType)/set_job_type(Option<JobType>):The type of job to run.
- On success, responds with
CreateJobForDevicesOutputwith field(s):jobs(Option<Vec<Job>>):A list of jobs.
- On failure, responds with
SdkError<CreateJobForDevicesError>
sourcepub fn create_node_from_template_job(&self) -> CreateNodeFromTemplateJob
pub fn create_node_from_template_job(&self) -> CreateNodeFromTemplateJob
Constructs a fluent builder for the CreateNodeFromTemplateJob operation.
- The fluent builder is configurable:
template_type(TemplateType)/set_template_type(Option<TemplateType>):The type of node.
output_package_name(impl Into<String>)/set_output_package_name(Option<String>):An output package name for the node.
output_package_version(impl Into<String>)/set_output_package_version(Option<String>):An output package version for the node.
node_name(impl Into<String>)/set_node_name(Option<String>):A name for the node.
node_description(impl Into<String>)/set_node_description(Option<String>):A description for the node.
template_parameters(HashMap<String, String>)/set_template_parameters(Option<HashMap<String, String>>):Template parameters for the node.
job_tags(Vec<JobResourceTags>)/set_job_tags(Option<Vec<JobResourceTags>>):Tags for the job.
- On success, responds with
CreateNodeFromTemplateJobOutputwith field(s):job_id(Option<String>):The job’s ID.
- On failure, responds with
SdkError<CreateNodeFromTemplateJobError>
sourcepub fn create_package(&self) -> CreatePackage
pub fn create_package(&self) -> CreatePackage
Constructs a fluent builder for the CreatePackage operation.
- The fluent builder is configurable:
package_name(impl Into<String>)/set_package_name(Option<String>):A name for the package.
tags(HashMap<String, String>)/set_tags(Option<HashMap<String, String>>):Tags for the package.
- On success, responds with
CreatePackageOutputwith field(s):package_id(Option<String>):The package’s ID.
arn(Option<String>):The package’s ARN.
storage_location(Option<StorageLocation>):The package’s storage location.
- On failure, responds with
SdkError<CreatePackageError>
sourcepub fn create_package_import_job(&self) -> CreatePackageImportJob
pub fn create_package_import_job(&self) -> CreatePackageImportJob
Constructs a fluent builder for the CreatePackageImportJob operation.
- The fluent builder is configurable:
job_type(PackageImportJobType)/set_job_type(Option<PackageImportJobType>):A job type for the package import job.
input_config(PackageImportJobInputConfig)/set_input_config(Option<PackageImportJobInputConfig>):An input config for the package import job.
output_config(PackageImportJobOutputConfig)/set_output_config(Option<PackageImportJobOutputConfig>):An output config for the package import job.
client_token(impl Into<String>)/set_client_token(Option<String>):A client token for the package import job.
job_tags(Vec<JobResourceTags>)/set_job_tags(Option<Vec<JobResourceTags>>):Tags for the package import job.
- On success, responds with
CreatePackageImportJobOutputwith field(s):job_id(Option<String>):The job’s ID.
- On failure, responds with
SdkError<CreatePackageImportJobError>
sourcepub fn delete_device(&self) -> DeleteDevice
pub fn delete_device(&self) -> DeleteDevice
Constructs a fluent builder for the DeleteDevice operation.
- The fluent builder is configurable:
device_id(impl Into<String>)/set_device_id(Option<String>):The device’s ID.
- On success, responds with
DeleteDeviceOutputwith field(s):device_id(Option<String>):The device’s ID.
- On failure, responds with
SdkError<DeleteDeviceError>
sourcepub fn delete_package(&self) -> DeletePackage
pub fn delete_package(&self) -> DeletePackage
Constructs a fluent builder for the DeletePackage operation.
- The fluent builder is configurable:
package_id(impl Into<String>)/set_package_id(Option<String>):The package’s ID.
force_delete(bool)/set_force_delete(bool):Delete the package even if it has artifacts stored in its access point. Deletes the package’s artifacts from Amazon S3.
- On success, responds with
DeletePackageOutput - On failure, responds with
SdkError<DeletePackageError>
sourcepub fn deregister_package_version(&self) -> DeregisterPackageVersion
pub fn deregister_package_version(&self) -> DeregisterPackageVersion
Constructs a fluent builder for the DeregisterPackageVersion operation.
- The fluent builder is configurable:
owner_account(impl Into<String>)/set_owner_account(Option<String>):An owner account.
package_id(impl Into<String>)/set_package_id(Option<String>):A package ID.
package_version(impl Into<String>)/set_package_version(Option<String>):A package version.
patch_version(impl Into<String>)/set_patch_version(Option<String>):A patch version.
updated_latest_patch_version(impl Into<String>)/set_updated_latest_patch_version(Option<String>):If the version was marked latest, the new version to maker as latest.
- On success, responds with
DeregisterPackageVersionOutput - On failure, responds with
SdkError<DeregisterPackageVersionError>
sourcepub fn describe_application_instance(&self) -> DescribeApplicationInstance
pub fn describe_application_instance(&self) -> DescribeApplicationInstance
Constructs a fluent builder for the DescribeApplicationInstance operation.
- The fluent builder is configurable:
application_instance_id(impl Into<String>)/set_application_instance_id(Option<String>):The application instance’s ID.
- On success, responds with
DescribeApplicationInstanceOutputwith field(s):name(Option<String>):The application instance’s name.
description(Option<String>):The application instance’s description.
default_runtime_context_device(Option<String>):The device’s ID.
default_runtime_context_device_name(Option<String>):The device’s bane.
application_instance_id_to_replace(Option<String>):The ID of the application instance that this instance replaced.
runtime_role_arn(Option<String>):The application instance’s runtime role ARN.
status(Option<ApplicationInstanceStatus>):The application instance’s status.
health_status(Option<ApplicationInstanceHealthStatus>):The application instance’s health status.
status_description(Option<String>):The application instance’s status description.
created_time(Option<DateTime>):When the application instance was created.
last_updated_time(Option<DateTime>):The application instance was updated.
application_instance_id(Option<String>):The application instance’s ID.
arn(Option<String>):The application instance’s ARN.
tags(Option<HashMap<String, String>>):The application instance’s tags.
- On failure, responds with
SdkError<DescribeApplicationInstanceError>
sourcepub fn describe_application_instance_details(
&self
) -> DescribeApplicationInstanceDetails
pub fn describe_application_instance_details(
&self
) -> DescribeApplicationInstanceDetails
Constructs a fluent builder for the DescribeApplicationInstanceDetails operation.
- The fluent builder is configurable:
application_instance_id(impl Into<String>)/set_application_instance_id(Option<String>):The application instance’s ID.
- On success, responds with
DescribeApplicationInstanceDetailsOutputwith field(s):name(Option<String>):The application instance’s name.
description(Option<String>):The application instance’s description.
default_runtime_context_device(Option<String>):The application instance’s default runtime context device.
manifest_payload(Option<ManifestPayload>):The application instance’s configuration manifest.
manifest_overrides_payload(Option<ManifestOverridesPayload>):Parameter overrides for the configuration manifest.
application_instance_id_to_replace(Option<String>):The ID of the application instance that this instance replaced.
created_time(Option<DateTime>):When the application instance was created.
application_instance_id(Option<String>):The application instance’s ID.
- On failure, responds with
SdkError<DescribeApplicationInstanceDetailsError>
sourcepub fn describe_device(&self) -> DescribeDevice
pub fn describe_device(&self) -> DescribeDevice
Constructs a fluent builder for the DescribeDevice operation.
- The fluent builder is configurable:
device_id(impl Into<String>)/set_device_id(Option<String>):The device’s ID.
- On success, responds with
DescribeDeviceOutputwith field(s):device_id(Option<String>):The device’s ID.
name(Option<String>):The device’s name.
arn(Option<String>):The device’s ARN.
description(Option<String>):The device’s description.
r#type(Option<DeviceType>):The device’s type.
device_connection_status(Option<DeviceConnectionStatus>):The device’s connection status.
created_time(Option<DateTime>):When the device was created.
provisioning_status(Option<DeviceStatus>):The device’s provisioning status.
latest_software(Option<String>):The latest software version available for the device.
current_software(Option<String>):The device’s current software version.
serial_number(Option<String>):The device’s serial number.
tags(Option<HashMap<String, String>>):The device’s tags.
networking_configuration(Option<NetworkPayload>):The device’s networking configuration.
current_networking_status(Option<NetworkStatus>):The device’s networking status.
lease_expiration_time(Option<DateTime>):The device’s lease expiration time.
alternate_softwares(Option<Vec<AlternateSoftwareMetadata>>):Beta software releases available for the device.
latest_alternate_software(Option<String>):The most recent beta software release.
- On failure, responds with
SdkError<DescribeDeviceError>
sourcepub fn describe_device_job(&self) -> DescribeDeviceJob
pub fn describe_device_job(&self) -> DescribeDeviceJob
Constructs a fluent builder for the DescribeDeviceJob operation.
- The fluent builder is configurable:
job_id(impl Into<String>)/set_job_id(Option<String>):The job’s ID.
- On success, responds with
DescribeDeviceJobOutputwith field(s):job_id(Option<String>):The job’s ID.
device_id(Option<String>):The device’s ID.
device_arn(Option<String>):The device’s ARN.
device_name(Option<String>):The device’s name.
device_type(Option<DeviceType>):The device’s type.
image_version(Option<String>):For an OTA job, the target version of the device software.
status(Option<UpdateProgress>):The job’s status.
created_time(Option<DateTime>):When the job was created.
- On failure, responds with
SdkError<DescribeDeviceJobError>
sourcepub fn describe_node(&self) -> DescribeNode
pub fn describe_node(&self) -> DescribeNode
Constructs a fluent builder for the DescribeNode operation.
- The fluent builder is configurable:
node_id(impl Into<String>)/set_node_id(Option<String>):The node’s ID.
owner_account(impl Into<String>)/set_owner_account(Option<String>):The account ID of the node’s owner.
- On success, responds with
DescribeNodeOutputwith field(s):node_id(Option<String>):The node’s ID.
name(Option<String>):The node’s name.
category(Option<NodeCategory>):The node’s category.
owner_account(Option<String>):The account ID of the node’s owner.
package_name(Option<String>):The node’s package name.
package_id(Option<String>):The node’s package ID.
package_arn(Option<String>):The node’s ARN.
package_version(Option<String>):The node’s package version.
patch_version(Option<String>):The node’s patch version.
node_interface(Option<NodeInterface>):The node’s interface.
asset_name(Option<String>):The node’s asset name.
description(Option<String>):The node’s description.
created_time(Option<DateTime>):When the node was created.
last_updated_time(Option<DateTime>):When the node was updated.
- On failure, responds with
SdkError<DescribeNodeError>
sourcepub fn describe_node_from_template_job(&self) -> DescribeNodeFromTemplateJob
pub fn describe_node_from_template_job(&self) -> DescribeNodeFromTemplateJob
Constructs a fluent builder for the DescribeNodeFromTemplateJob operation.
- The fluent builder is configurable:
job_id(impl Into<String>)/set_job_id(Option<String>):The job’s ID.
- On success, responds with
DescribeNodeFromTemplateJobOutputwith field(s):job_id(Option<String>):The job’s ID.
status(Option<NodeFromTemplateJobStatus>):The job’s status.
status_message(Option<String>):The job’s status message.
created_time(Option<DateTime>):When the job was created.
last_updated_time(Option<DateTime>):When the job was updated.
output_package_name(Option<String>):The job’s output package name.
output_package_version(Option<String>):The job’s output package version.
node_name(Option<String>):The node’s name.
node_description(Option<String>):The node’s description.
template_type(Option<TemplateType>):The job’s template type.
template_parameters(Option<HashMap<String, String>>):The job’s template parameters.
job_tags(Option<Vec<JobResourceTags>>):The job’s tags.
- On failure, responds with
SdkError<DescribeNodeFromTemplateJobError>
sourcepub fn describe_package(&self) -> DescribePackage
pub fn describe_package(&self) -> DescribePackage
Constructs a fluent builder for the DescribePackage operation.
- The fluent builder is configurable:
package_id(impl Into<String>)/set_package_id(Option<String>):The package’s ID.
- On success, responds with
DescribePackageOutputwith field(s):package_id(Option<String>):The package’s ID.
package_name(Option<String>):The package’s name.
arn(Option<String>):The package’s ARN.
storage_location(Option<StorageLocation>):The package’s storage location.
read_access_principal_arns(Option<Vec<String>>):ARNs of accounts that have read access to the package.
write_access_principal_arns(Option<Vec<String>>):ARNs of accounts that have write access to the package.
created_time(Option<DateTime>):When the package was created.
tags(Option<HashMap<String, String>>):The package’s tags.
- On failure, responds with
SdkError<DescribePackageError>
sourcepub fn describe_package_import_job(&self) -> DescribePackageImportJob
pub fn describe_package_import_job(&self) -> DescribePackageImportJob
Constructs a fluent builder for the DescribePackageImportJob operation.
- The fluent builder is configurable:
job_id(impl Into<String>)/set_job_id(Option<String>):The job’s ID.
- On success, responds with
DescribePackageImportJobOutputwith field(s):job_id(Option<String>):The job’s ID.
client_token(Option<String>):The job’s client token.
job_type(Option<PackageImportJobType>):The job’s type.
input_config(Option<PackageImportJobInputConfig>):The job’s input config.
output_config(Option<PackageImportJobOutputConfig>):The job’s output config.
output(Option<PackageImportJobOutput>):The job’s output.
created_time(Option<DateTime>):When the job was created.
last_updated_time(Option<DateTime>):When the job was updated.
status(Option<PackageImportJobStatus>):The job’s status.
status_message(Option<String>):The job’s status message.
job_tags(Option<Vec<JobResourceTags>>):The job’s tags.
- On failure, responds with
SdkError<DescribePackageImportJobError>
sourcepub fn describe_package_version(&self) -> DescribePackageVersion
pub fn describe_package_version(&self) -> DescribePackageVersion
Constructs a fluent builder for the DescribePackageVersion operation.
- The fluent builder is configurable:
owner_account(impl Into<String>)/set_owner_account(Option<String>):The version’s owner account.
package_id(impl Into<String>)/set_package_id(Option<String>):The version’s ID.
package_version(impl Into<String>)/set_package_version(Option<String>):The version’s version.
patch_version(impl Into<String>)/set_patch_version(Option<String>):The version’s patch version.
- On success, responds with
DescribePackageVersionOutputwith field(s):owner_account(Option<String>):The account ID of the version’s owner.
package_id(Option<String>):The version’s ID.
package_arn(Option<String>):The ARN of the package.
package_name(Option<String>):The version’s name.
package_version(Option<String>):The version’s version.
patch_version(Option<String>):The version’s patch version.
is_latest_patch(bool):Whether the version is the latest available.
status(Option<PackageVersionStatus>):The version’s status.
status_description(Option<String>):The version’s status description.
registered_time(Option<DateTime>):The version’s registered time.
- On failure, responds with
SdkError<DescribePackageVersionError>
sourcepub fn list_application_instance_dependencies(
&self
) -> ListApplicationInstanceDependencies
pub fn list_application_instance_dependencies(
&self
) -> ListApplicationInstanceDependencies
Constructs a fluent builder for the ListApplicationInstanceDependencies operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
application_instance_id(impl Into<String>)/set_application_instance_id(Option<String>):The application instance’s ID.
max_results(i32)/set_max_results(i32):The maximum number of application instance dependencies to return in one page of results.
next_token(impl Into<String>)/set_next_token(Option<String>):Specify the pagination token from a previous request to retrieve the next page of results.
- On success, responds with
ListApplicationInstanceDependenciesOutputwith field(s):package_objects(Option<Vec<PackageObject>>):A list of package objects.
next_token(Option<String>):A pagination token that’s included if more results are available.
- On failure, responds with
SdkError<ListApplicationInstanceDependenciesError>
sourcepub fn list_application_instance_node_instances(
&self
) -> ListApplicationInstanceNodeInstances
pub fn list_application_instance_node_instances(
&self
) -> ListApplicationInstanceNodeInstances
Constructs a fluent builder for the ListApplicationInstanceNodeInstances operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
application_instance_id(impl Into<String>)/set_application_instance_id(Option<String>):The node instances’ application instance ID.
max_results(i32)/set_max_results(i32):The maximum number of node instances to return in one page of results.
next_token(impl Into<String>)/set_next_token(Option<String>):Specify the pagination token from a previous request to retrieve the next page of results.
- On success, responds with
ListApplicationInstanceNodeInstancesOutputwith field(s):node_instances(Option<Vec<NodeInstance>>):A list of node instances.
next_token(Option<String>):A pagination token that’s included if more results are available.
- On failure, responds with
SdkError<ListApplicationInstanceNodeInstancesError>
sourcepub fn list_application_instances(&self) -> ListApplicationInstances
pub fn list_application_instances(&self) -> ListApplicationInstances
Constructs a fluent builder for the ListApplicationInstances operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
device_id(impl Into<String>)/set_device_id(Option<String>):The application instances’ device ID.
status_filter(StatusFilter)/set_status_filter(Option<StatusFilter>):Only include instances with a specific status.
max_results(i32)/set_max_results(i32):The maximum number of application instances to return in one page of results.
next_token(impl Into<String>)/set_next_token(Option<String>):Specify the pagination token from a previous request to retrieve the next page of results.
- On success, responds with
ListApplicationInstancesOutputwith field(s):application_instances(Option<Vec<ApplicationInstance>>):A list of application instances.
next_token(Option<String>):A pagination token that’s included if more results are available.
- On failure, responds with
SdkError<ListApplicationInstancesError>
sourcepub fn list_devices(&self) -> ListDevices
pub fn list_devices(&self) -> ListDevices
Constructs a fluent builder for the ListDevices operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
next_token(impl Into<String>)/set_next_token(Option<String>):Specify the pagination token from a previous request to retrieve the next page of results.
max_results(i32)/set_max_results(i32):The maximum number of devices to return in one page of results.
- On success, responds with
ListDevicesOutputwith field(s):devices(Option<Vec<Device>>):A list of devices.
next_token(Option<String>):A pagination token that’s included if more results are available.
- On failure, responds with
SdkError<ListDevicesError>
sourcepub fn list_devices_jobs(&self) -> ListDevicesJobs
pub fn list_devices_jobs(&self) -> ListDevicesJobs
Constructs a fluent builder for the ListDevicesJobs operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
device_id(impl Into<String>)/set_device_id(Option<String>):Filter results by the job’s target device ID.
next_token(impl Into<String>)/set_next_token(Option<String>):Specify the pagination token from a previous request to retrieve the next page of results.
max_results(i32)/set_max_results(i32):The maximum number of device jobs to return in one page of results.
- On success, responds with
ListDevicesJobsOutputwith field(s):device_jobs(Option<Vec<DeviceJob>>):A list of jobs.
next_token(Option<String>):A pagination token that’s included if more results are available.
- On failure, responds with
SdkError<ListDevicesJobsError>
sourcepub fn list_node_from_template_jobs(&self) -> ListNodeFromTemplateJobs
pub fn list_node_from_template_jobs(&self) -> ListNodeFromTemplateJobs
Constructs a fluent builder for the ListNodeFromTemplateJobs operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
next_token(impl Into<String>)/set_next_token(Option<String>):Specify the pagination token from a previous request to retrieve the next page of results.
max_results(i32)/set_max_results(i32):The maximum number of node from template jobs to return in one page of results.
- On success, responds with
ListNodeFromTemplateJobsOutputwith field(s):node_from_template_jobs(Option<Vec<NodeFromTemplateJob>>):A list of jobs.
next_token(Option<String>):A pagination token that’s included if more results are available.
- On failure, responds with
SdkError<ListNodeFromTemplateJobsError>
sourcepub fn list_nodes(&self) -> ListNodes
pub fn list_nodes(&self) -> ListNodes
Constructs a fluent builder for the ListNodes operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
category(NodeCategory)/set_category(Option<NodeCategory>):Search for nodes by category.
owner_account(impl Into<String>)/set_owner_account(Option<String>):Search for nodes by the account ID of the nodes’ owner.
package_name(impl Into<String>)/set_package_name(Option<String>):Search for nodes by name.
package_version(impl Into<String>)/set_package_version(Option<String>):Search for nodes by version.
patch_version(impl Into<String>)/set_patch_version(Option<String>):Search for nodes by patch version.
next_token(impl Into<String>)/set_next_token(Option<String>):Specify the pagination token from a previous request to retrieve the next page of results.
max_results(i32)/set_max_results(i32):The maximum number of nodes to return in one page of results.
- On success, responds with
ListNodesOutputwith field(s):nodes(Option<Vec<Node>>):A list of nodes.
next_token(Option<String>):A pagination token that’s included if more results are available.
- On failure, responds with
SdkError<ListNodesError>
sourcepub fn list_package_import_jobs(&self) -> ListPackageImportJobs
pub fn list_package_import_jobs(&self) -> ListPackageImportJobs
Constructs a fluent builder for the ListPackageImportJobs operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
next_token(impl Into<String>)/set_next_token(Option<String>):Specify the pagination token from a previous request to retrieve the next page of results.
max_results(i32)/set_max_results(i32):The maximum number of package import jobs to return in one page of results.
- On success, responds with
ListPackageImportJobsOutputwith field(s):package_import_jobs(Option<Vec<PackageImportJob>>):A list of package import jobs.
next_token(Option<String>):A pagination token that’s included if more results are available.
- On failure, responds with
SdkError<ListPackageImportJobsError>
sourcepub fn list_packages(&self) -> ListPackages
pub fn list_packages(&self) -> ListPackages
Constructs a fluent builder for the ListPackages operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(i32):The maximum number of packages to return in one page of results.
next_token(impl Into<String>)/set_next_token(Option<String>):Specify the pagination token from a previous request to retrieve the next page of results.
- On success, responds with
ListPackagesOutputwith field(s):packages(Option<Vec<PackageListItem>>):A list of packages.
next_token(Option<String>):A pagination token that’s included if more results are available.
- On failure, responds with
SdkError<ListPackagesError>
Constructs a fluent builder for the ListTagsForResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):The resource’s ARN.
- On success, responds with
ListTagsForResourceOutputwith field(s):tags(Option<HashMap<String, String>>):A list of tags.
- On failure, responds with
SdkError<ListTagsForResourceError>
sourcepub fn provision_device(&self) -> ProvisionDevice
pub fn provision_device(&self) -> ProvisionDevice
Constructs a fluent builder for the ProvisionDevice operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):A name for the device.
description(impl Into<String>)/set_description(Option<String>):A description for the device.
tags(HashMap<String, String>)/set_tags(Option<HashMap<String, String>>):Tags for the device.
networking_configuration(NetworkPayload)/set_networking_configuration(Option<NetworkPayload>):A networking configuration for the device.
- On success, responds with
ProvisionDeviceOutputwith field(s):device_id(Option<String>):The device’s ID.
arn(Option<String>):The device’s ARN.
status(Option<DeviceStatus>):The device’s status.
certificates(Option<Blob>):The device’s configuration bundle.
iot_thing_name(Option<String>):The device’s IoT thing name.
- On failure, responds with
SdkError<ProvisionDeviceError>
sourcepub fn register_package_version(&self) -> RegisterPackageVersion
pub fn register_package_version(&self) -> RegisterPackageVersion
Constructs a fluent builder for the RegisterPackageVersion operation.
- The fluent builder is configurable:
owner_account(impl Into<String>)/set_owner_account(Option<String>):An owner account.
package_id(impl Into<String>)/set_package_id(Option<String>):A package ID.
package_version(impl Into<String>)/set_package_version(Option<String>):A package version.
patch_version(impl Into<String>)/set_patch_version(Option<String>):A patch version.
mark_latest(bool)/set_mark_latest(bool):Whether to mark the new version as the latest version.
- On success, responds with
RegisterPackageVersionOutput - On failure, responds with
SdkError<RegisterPackageVersionError>
sourcepub fn remove_application_instance(&self) -> RemoveApplicationInstance
pub fn remove_application_instance(&self) -> RemoveApplicationInstance
Constructs a fluent builder for the RemoveApplicationInstance operation.
- The fluent builder is configurable:
application_instance_id(impl Into<String>)/set_application_instance_id(Option<String>):An application instance ID.
- On success, responds with
RemoveApplicationInstanceOutput - On failure, responds with
SdkError<RemoveApplicationInstanceError>
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 resource’s ARN.
tags(HashMap<String, String>)/set_tags(Option<HashMap<String, String>>):Tags for the resource.
- 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 resource’s ARN.
tag_keys(Vec<String>)/set_tag_keys(Option<Vec<String>>):Tag keys to remove.
- On success, responds with
UntagResourceOutput - On failure, responds with
SdkError<UntagResourceError>
sourcepub fn update_device_metadata(&self) -> UpdateDeviceMetadata
pub fn update_device_metadata(&self) -> UpdateDeviceMetadata
Constructs a fluent builder for the UpdateDeviceMetadata operation.
- The fluent builder is configurable:
device_id(impl Into<String>)/set_device_id(Option<String>):The device’s ID.
description(impl Into<String>)/set_description(Option<String>):A description for the device.
- On success, responds with
UpdateDeviceMetadataOutputwith field(s):device_id(Option<String>):The device’s ID.
- On failure, responds with
SdkError<UpdateDeviceMetadataError>
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
Performs the conversion.
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