Interface IotManagedIntegrationsAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any
SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may
perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
call.
Managed integrations is a feature of AWS IoT Device Management that enables developers to quickly build innovative IoT solutions. Customers can use managed integrations to automate device setup workflows and support interoperability across many devices, regardless of device vendor or connectivity protocol. This allows developers to use a single user-interface to control, manage, and operate a range of devices.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Create a builder that can be used to configure and create aIotManagedIntegrationsAsyncClient
.create()
Create aIotManagedIntegrationsAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.createAccountAssociation
(Consumer<CreateAccountAssociationRequest.Builder> createAccountAssociationRequest) Creates a new account association via the destination id.createAccountAssociation
(CreateAccountAssociationRequest createAccountAssociationRequest) Creates a new account association via the destination id.createCloudConnector
(Consumer<CreateCloudConnectorRequest.Builder> createCloudConnectorRequest) Creates a C2C (cloud-to-cloud) connector.createCloudConnector
(CreateCloudConnectorRequest createCloudConnectorRequest) Creates a C2C (cloud-to-cloud) connector.createConnectorDestination
(Consumer<CreateConnectorDestinationRequest.Builder> createConnectorDestinationRequest) Create a connector destination for connecting a cloud-to-cloud (C2C) connector to the customer's Amazon Web Services account.createConnectorDestination
(CreateConnectorDestinationRequest createConnectorDestinationRequest) Create a connector destination for connecting a cloud-to-cloud (C2C) connector to the customer's Amazon Web Services account.createCredentialLocker
(Consumer<CreateCredentialLockerRequest.Builder> createCredentialLockerRequest) Create a product credential locker.createCredentialLocker
(CreateCredentialLockerRequest createCredentialLockerRequest) Create a product credential locker.createDestination
(Consumer<CreateDestinationRequest.Builder> createDestinationRequest) Create a destination.createDestination
(CreateDestinationRequest createDestinationRequest) Create a destination.createEventLogConfiguration
(Consumer<CreateEventLogConfigurationRequest.Builder> createEventLogConfigurationRequest) Set the event log configuration for the account, resource type, or specific resource.createEventLogConfiguration
(CreateEventLogConfigurationRequest createEventLogConfigurationRequest) Set the event log configuration for the account, resource type, or specific resource.createManagedThing
(Consumer<CreateManagedThingRequest.Builder> createManagedThingRequest) Creates a managed thing.createManagedThing
(CreateManagedThingRequest createManagedThingRequest) Creates a managed thing.createNotificationConfiguration
(Consumer<CreateNotificationConfigurationRequest.Builder> createNotificationConfigurationRequest) Creates a notification configuration.createNotificationConfiguration
(CreateNotificationConfigurationRequest createNotificationConfigurationRequest) Creates a notification configuration.default CompletableFuture
<CreateOtaTaskResponse> createOtaTask
(Consumer<CreateOtaTaskRequest.Builder> createOtaTaskRequest) Create an over-the-air (OTA) task to update a device.default CompletableFuture
<CreateOtaTaskResponse> createOtaTask
(CreateOtaTaskRequest createOtaTaskRequest) Create an over-the-air (OTA) task to update a device.createOtaTaskConfiguration
(Consumer<CreateOtaTaskConfigurationRequest.Builder> createOtaTaskConfigurationRequest) Create a configuraiton for the over-the-air (OTA) task.createOtaTaskConfiguration
(CreateOtaTaskConfigurationRequest createOtaTaskConfigurationRequest) Create a configuraiton for the over-the-air (OTA) task.createProvisioningProfile
(Consumer<CreateProvisioningProfileRequest.Builder> createProvisioningProfileRequest) Create a provisioning profile for a device to execute the provisioning flows using a provisioning template.createProvisioningProfile
(CreateProvisioningProfileRequest createProvisioningProfileRequest) Create a provisioning profile for a device to execute the provisioning flows using a provisioning template.deleteAccountAssociation
(Consumer<DeleteAccountAssociationRequest.Builder> deleteAccountAssociationRequest) Remove a third party account and related devices from an end user.deleteAccountAssociation
(DeleteAccountAssociationRequest deleteAccountAssociationRequest) Remove a third party account and related devices from an end user.deleteCloudConnector
(Consumer<DeleteCloudConnectorRequest.Builder> deleteCloudConnectorRequest) Delete a cloud connector.deleteCloudConnector
(DeleteCloudConnectorRequest deleteCloudConnectorRequest) Delete a cloud connector.deleteConnectorDestination
(Consumer<DeleteConnectorDestinationRequest.Builder> deleteConnectorDestinationRequest) Delete a connector destination for connecting a cloud-to-cloud (C2C) connector to the customer's Amazon Web Services account.deleteConnectorDestination
(DeleteConnectorDestinationRequest deleteConnectorDestinationRequest) Delete a connector destination for connecting a cloud-to-cloud (C2C) connector to the customer's Amazon Web Services account.deleteCredentialLocker
(Consumer<DeleteCredentialLockerRequest.Builder> deleteCredentialLockerRequest) Delete a credential locker.deleteCredentialLocker
(DeleteCredentialLockerRequest deleteCredentialLockerRequest) Delete a credential locker.deleteDestination
(Consumer<DeleteDestinationRequest.Builder> deleteDestinationRequest) Deletes a customer-managed destination specified by id.deleteDestination
(DeleteDestinationRequest deleteDestinationRequest) Deletes a customer-managed destination specified by id.deleteEventLogConfiguration
(Consumer<DeleteEventLogConfigurationRequest.Builder> deleteEventLogConfigurationRequest) Delete an event log configuration.deleteEventLogConfiguration
(DeleteEventLogConfigurationRequest deleteEventLogConfigurationRequest) Delete an event log configuration.deleteManagedThing
(Consumer<DeleteManagedThingRequest.Builder> deleteManagedThingRequest) Delete a managed thing.deleteManagedThing
(DeleteManagedThingRequest deleteManagedThingRequest) Delete a managed thing.deleteNotificationConfiguration
(Consumer<DeleteNotificationConfigurationRequest.Builder> deleteNotificationConfigurationRequest) Deletes a notification configuration.deleteNotificationConfiguration
(DeleteNotificationConfigurationRequest deleteNotificationConfigurationRequest) Deletes a notification configuration.default CompletableFuture
<DeleteOtaTaskResponse> deleteOtaTask
(Consumer<DeleteOtaTaskRequest.Builder> deleteOtaTaskRequest) Delete the over-the-air (OTA) task.default CompletableFuture
<DeleteOtaTaskResponse> deleteOtaTask
(DeleteOtaTaskRequest deleteOtaTaskRequest) Delete the over-the-air (OTA) task.deleteOtaTaskConfiguration
(Consumer<DeleteOtaTaskConfigurationRequest.Builder> deleteOtaTaskConfigurationRequest) Delete the over-the-air (OTA) task configuration.deleteOtaTaskConfiguration
(DeleteOtaTaskConfigurationRequest deleteOtaTaskConfigurationRequest) Delete the over-the-air (OTA) task configuration.deleteProvisioningProfile
(Consumer<DeleteProvisioningProfileRequest.Builder> deleteProvisioningProfileRequest) Delete a provisioning profile.deleteProvisioningProfile
(DeleteProvisioningProfileRequest deleteProvisioningProfileRequest) Delete a provisioning profile.deregisterAccountAssociation
(Consumer<DeregisterAccountAssociationRequest.Builder> deregisterAccountAssociationRequest) Deregisters an account association, removing the connection between a managed thing and a third-party account.deregisterAccountAssociation
(DeregisterAccountAssociationRequest deregisterAccountAssociationRequest) Deregisters an account association, removing the connection between a managed thing and a third-party account.getAccountAssociation
(Consumer<GetAccountAssociationRequest.Builder> getAccountAssociationRequest) Get an account association for an Amazon Web Services account linked to a customer-managed destination.getAccountAssociation
(GetAccountAssociationRequest getAccountAssociationRequest) Get an account association for an Amazon Web Services account linked to a customer-managed destination.getCloudConnector
(Consumer<GetCloudConnectorRequest.Builder> getCloudConnectorRequest) Gets all the information about a connector for a connector developer.getCloudConnector
(GetCloudConnectorRequest getCloudConnectorRequest) Gets all the information about a connector for a connector developer.getConnectorDestination
(Consumer<GetConnectorDestinationRequest.Builder> getConnectorDestinationRequest) Get a connector destination of a cloud-to-cloud (C2C) connector connecting to a customer's Amazon Web Services account.getConnectorDestination
(GetConnectorDestinationRequest getConnectorDestinationRequest) Get a connector destination of a cloud-to-cloud (C2C) connector connecting to a customer's Amazon Web Services account.getCredentialLocker
(Consumer<GetCredentialLockerRequest.Builder> getCredentialLockerRequest) Get information on an existing credential lockergetCredentialLocker
(GetCredentialLockerRequest getCredentialLockerRequest) Get information on an existing credential lockergetCustomEndpoint
(Consumer<GetCustomEndpointRequest.Builder> getCustomEndpointRequest) Returns the IoT managed integrations custom endpoint.getCustomEndpoint
(GetCustomEndpointRequest getCustomEndpointRequest) Returns the IoT managed integrations custom endpoint.getDefaultEncryptionConfiguration
(Consumer<GetDefaultEncryptionConfigurationRequest.Builder> getDefaultEncryptionConfigurationRequest) Retrieves information about the default encryption configuration for the Amazon Web Services account in the default or specified region.getDefaultEncryptionConfiguration
(GetDefaultEncryptionConfigurationRequest getDefaultEncryptionConfigurationRequest) Retrieves information about the default encryption configuration for the Amazon Web Services account in the default or specified region.default CompletableFuture
<GetDestinationResponse> getDestination
(Consumer<GetDestinationRequest.Builder> getDestinationRequest) Gets a destination by ID.default CompletableFuture
<GetDestinationResponse> getDestination
(GetDestinationRequest getDestinationRequest) Gets a destination by ID.getDeviceDiscovery
(Consumer<GetDeviceDiscoveryRequest.Builder> getDeviceDiscoveryRequest) Get the current state of a device discovery.getDeviceDiscovery
(GetDeviceDiscoveryRequest getDeviceDiscoveryRequest) Get the current state of a device discovery.getEventLogConfiguration
(Consumer<GetEventLogConfigurationRequest.Builder> getEventLogConfigurationRequest) Get an event log configuration.getEventLogConfiguration
(GetEventLogConfigurationRequest getEventLogConfigurationRequest) Get an event log configuration.getHubConfiguration
(Consumer<GetHubConfigurationRequest.Builder> getHubConfigurationRequest) Get a hub configuration.getHubConfiguration
(GetHubConfigurationRequest getHubConfigurationRequest) Get a hub configuration.default CompletableFuture
<GetManagedThingResponse> getManagedThing
(Consumer<GetManagedThingRequest.Builder> getManagedThingRequest) Get the attributes and capabilities associated with a managed thing.default CompletableFuture
<GetManagedThingResponse> getManagedThing
(GetManagedThingRequest getManagedThingRequest) Get the attributes and capabilities associated with a managed thing.getManagedThingCapabilities
(Consumer<GetManagedThingCapabilitiesRequest.Builder> getManagedThingCapabilitiesRequest) Get the capabilities for a managed thing using the device ID.getManagedThingCapabilities
(GetManagedThingCapabilitiesRequest getManagedThingCapabilitiesRequest) Get the capabilities for a managed thing using the device ID.getManagedThingConnectivityData
(Consumer<GetManagedThingConnectivityDataRequest.Builder> getManagedThingConnectivityDataRequest) Get the connectivity status of a managed thing.getManagedThingConnectivityData
(GetManagedThingConnectivityDataRequest getManagedThingConnectivityDataRequest) Get the connectivity status of a managed thing.getManagedThingMetaData
(Consumer<GetManagedThingMetaDataRequest.Builder> getManagedThingMetaDataRequest) Get the metadata information for a managed thing.getManagedThingMetaData
(GetManagedThingMetaDataRequest getManagedThingMetaDataRequest) Get the metadata information for a managed thing.getManagedThingState
(Consumer<GetManagedThingStateRequest.Builder> getManagedThingStateRequest) Returns the managed thing state for the given device Id.getManagedThingState
(GetManagedThingStateRequest getManagedThingStateRequest) Returns the managed thing state for the given device Id.getNotificationConfiguration
(Consumer<GetNotificationConfigurationRequest.Builder> getNotificationConfigurationRequest) Get a notification configuration.getNotificationConfiguration
(GetNotificationConfigurationRequest getNotificationConfigurationRequest) Get a notification configuration.default CompletableFuture
<GetOtaTaskResponse> getOtaTask
(Consumer<GetOtaTaskRequest.Builder> getOtaTaskRequest) Get the over-the-air (OTA) task.default CompletableFuture
<GetOtaTaskResponse> getOtaTask
(GetOtaTaskRequest getOtaTaskRequest) Get the over-the-air (OTA) task.getOtaTaskConfiguration
(Consumer<GetOtaTaskConfigurationRequest.Builder> getOtaTaskConfigurationRequest) Get a configuraiton for the over-the-air (OTA) task.getOtaTaskConfiguration
(GetOtaTaskConfigurationRequest getOtaTaskConfigurationRequest) Get a configuraiton for the over-the-air (OTA) task.getProvisioningProfile
(Consumer<GetProvisioningProfileRequest.Builder> getProvisioningProfileRequest) Get a provisioning profile by template name.getProvisioningProfile
(GetProvisioningProfileRequest getProvisioningProfileRequest) Get a provisioning profile by template name.getRuntimeLogConfiguration
(Consumer<GetRuntimeLogConfigurationRequest.Builder> getRuntimeLogConfigurationRequest) Get the runtime log configuration for a specific managed thing or for all managed things as a group.getRuntimeLogConfiguration
(GetRuntimeLogConfigurationRequest getRuntimeLogConfigurationRequest) Get the runtime log configuration for a specific managed thing or for all managed things as a group.getSchemaVersion
(Consumer<GetSchemaVersionRequest.Builder> getSchemaVersionRequest) Gets a schema version with the provided information.getSchemaVersion
(GetSchemaVersionRequest getSchemaVersionRequest) Gets a schema version with the provided information.listAccountAssociations
(Consumer<ListAccountAssociationsRequest.Builder> listAccountAssociationsRequest) Lists all account associations, with optional filtering by connector destination ID.listAccountAssociations
(ListAccountAssociationsRequest listAccountAssociationsRequest) Lists all account associations, with optional filtering by connector destination ID.default ListAccountAssociationsPublisher
listAccountAssociationsPaginator
(Consumer<ListAccountAssociationsRequest.Builder> listAccountAssociationsRequest) This is a variant oflistAccountAssociations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListAccountAssociationsRequest)
operation.default ListAccountAssociationsPublisher
listAccountAssociationsPaginator
(ListAccountAssociationsRequest listAccountAssociationsRequest) This is a variant oflistAccountAssociations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListAccountAssociationsRequest)
operation.listCloudConnectors
(Consumer<ListCloudConnectorsRequest.Builder> listCloudConnectorsRequest) Returns a list of connectors based on permissions.listCloudConnectors
(ListCloudConnectorsRequest listCloudConnectorsRequest) Returns a list of connectors based on permissions.default ListCloudConnectorsPublisher
listCloudConnectorsPaginator
(Consumer<ListCloudConnectorsRequest.Builder> listCloudConnectorsRequest) This is a variant oflistCloudConnectors(software.amazon.awssdk.services.iotmanagedintegrations.model.ListCloudConnectorsRequest)
operation.default ListCloudConnectorsPublisher
listCloudConnectorsPaginator
(ListCloudConnectorsRequest listCloudConnectorsRequest) This is a variant oflistCloudConnectors(software.amazon.awssdk.services.iotmanagedintegrations.model.ListCloudConnectorsRequest)
operation.listConnectorDestinations
(Consumer<ListConnectorDestinationsRequest.Builder> listConnectorDestinationsRequest) Lists all connector destinations, with optional filtering by cloud connector ID.listConnectorDestinations
(ListConnectorDestinationsRequest listConnectorDestinationsRequest) Lists all connector destinations, with optional filtering by cloud connector ID.listConnectorDestinationsPaginator
(Consumer<ListConnectorDestinationsRequest.Builder> listConnectorDestinationsRequest) This is a variant oflistConnectorDestinations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListConnectorDestinationsRequest)
operation.listConnectorDestinationsPaginator
(ListConnectorDestinationsRequest listConnectorDestinationsRequest) This is a variant oflistConnectorDestinations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListConnectorDestinationsRequest)
operation.listCredentialLockers
(Consumer<ListCredentialLockersRequest.Builder> listCredentialLockersRequest) List information on an existing credential locker.listCredentialLockers
(ListCredentialLockersRequest listCredentialLockersRequest) List information on an existing credential locker.default ListCredentialLockersPublisher
listCredentialLockersPaginator
(Consumer<ListCredentialLockersRequest.Builder> listCredentialLockersRequest) This is a variant oflistCredentialLockers(software.amazon.awssdk.services.iotmanagedintegrations.model.ListCredentialLockersRequest)
operation.default ListCredentialLockersPublisher
listCredentialLockersPaginator
(ListCredentialLockersRequest listCredentialLockersRequest) This is a variant oflistCredentialLockers(software.amazon.awssdk.services.iotmanagedintegrations.model.ListCredentialLockersRequest)
operation.listDestinations
(Consumer<ListDestinationsRequest.Builder> listDestinationsRequest) List all destination names under one Amazon Web Services account.listDestinations
(ListDestinationsRequest listDestinationsRequest) List all destination names under one Amazon Web Services account.default ListDestinationsPublisher
listDestinationsPaginator
(Consumer<ListDestinationsRequest.Builder> listDestinationsRequest) This is a variant oflistDestinations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListDestinationsRequest)
operation.default ListDestinationsPublisher
listDestinationsPaginator
(ListDestinationsRequest listDestinationsRequest) This is a variant oflistDestinations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListDestinationsRequest)
operation.listDeviceDiscoveries
(Consumer<ListDeviceDiscoveriesRequest.Builder> listDeviceDiscoveriesRequest) Lists all device discovery tasks, with optional filtering by type and status.listDeviceDiscoveries
(ListDeviceDiscoveriesRequest listDeviceDiscoveriesRequest) Lists all device discovery tasks, with optional filtering by type and status.default ListDeviceDiscoveriesPublisher
listDeviceDiscoveriesPaginator
(Consumer<ListDeviceDiscoveriesRequest.Builder> listDeviceDiscoveriesRequest) This is a variant oflistDeviceDiscoveries(software.amazon.awssdk.services.iotmanagedintegrations.model.ListDeviceDiscoveriesRequest)
operation.default ListDeviceDiscoveriesPublisher
listDeviceDiscoveriesPaginator
(ListDeviceDiscoveriesRequest listDeviceDiscoveriesRequest) This is a variant oflistDeviceDiscoveries(software.amazon.awssdk.services.iotmanagedintegrations.model.ListDeviceDiscoveriesRequest)
operation.listDiscoveredDevices
(Consumer<ListDiscoveredDevicesRequest.Builder> listDiscoveredDevicesRequest) Lists all devices discovered during a specific device discovery task.listDiscoveredDevices
(ListDiscoveredDevicesRequest listDiscoveredDevicesRequest) Lists all devices discovered during a specific device discovery task.default ListDiscoveredDevicesPublisher
listDiscoveredDevicesPaginator
(Consumer<ListDiscoveredDevicesRequest.Builder> listDiscoveredDevicesRequest) This is a variant oflistDiscoveredDevices(software.amazon.awssdk.services.iotmanagedintegrations.model.ListDiscoveredDevicesRequest)
operation.default ListDiscoveredDevicesPublisher
listDiscoveredDevicesPaginator
(ListDiscoveredDevicesRequest listDiscoveredDevicesRequest) This is a variant oflistDiscoveredDevices(software.amazon.awssdk.services.iotmanagedintegrations.model.ListDiscoveredDevicesRequest)
operation.listEventLogConfigurations
(Consumer<ListEventLogConfigurationsRequest.Builder> listEventLogConfigurationsRequest) List all event log configurations for an account.listEventLogConfigurations
(ListEventLogConfigurationsRequest listEventLogConfigurationsRequest) List all event log configurations for an account.listEventLogConfigurationsPaginator
(Consumer<ListEventLogConfigurationsRequest.Builder> listEventLogConfigurationsRequest) This is a variant oflistEventLogConfigurations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListEventLogConfigurationsRequest)
operation.listEventLogConfigurationsPaginator
(ListEventLogConfigurationsRequest listEventLogConfigurationsRequest) This is a variant oflistEventLogConfigurations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListEventLogConfigurationsRequest)
operation.listManagedThingAccountAssociations
(Consumer<ListManagedThingAccountAssociationsRequest.Builder> listManagedThingAccountAssociationsRequest) Lists all account associations for a specific managed thing.listManagedThingAccountAssociations
(ListManagedThingAccountAssociationsRequest listManagedThingAccountAssociationsRequest) Lists all account associations for a specific managed thing.listManagedThingAccountAssociationsPaginator
(Consumer<ListManagedThingAccountAssociationsRequest.Builder> listManagedThingAccountAssociationsRequest) listManagedThingAccountAssociationsPaginator
(ListManagedThingAccountAssociationsRequest listManagedThingAccountAssociationsRequest) listManagedThings
(Consumer<ListManagedThingsRequest.Builder> listManagedThingsRequest) Listing all managed things with provision for filters.listManagedThings
(ListManagedThingsRequest listManagedThingsRequest) Listing all managed things with provision for filters.listManagedThingSchemas
(Consumer<ListManagedThingSchemasRequest.Builder> listManagedThingSchemasRequest) List schemas associated with a managed thing.listManagedThingSchemas
(ListManagedThingSchemasRequest listManagedThingSchemasRequest) List schemas associated with a managed thing.default ListManagedThingSchemasPublisher
listManagedThingSchemasPaginator
(Consumer<ListManagedThingSchemasRequest.Builder> listManagedThingSchemasRequest) This is a variant oflistManagedThingSchemas(software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingSchemasRequest)
operation.default ListManagedThingSchemasPublisher
listManagedThingSchemasPaginator
(ListManagedThingSchemasRequest listManagedThingSchemasRequest) This is a variant oflistManagedThingSchemas(software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingSchemasRequest)
operation.default ListManagedThingsPublisher
listManagedThingsPaginator
(Consumer<ListManagedThingsRequest.Builder> listManagedThingsRequest) This is a variant oflistManagedThings(software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingsRequest)
operation.default ListManagedThingsPublisher
listManagedThingsPaginator
(ListManagedThingsRequest listManagedThingsRequest) This is a variant oflistManagedThings(software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingsRequest)
operation.listNotificationConfigurations
(Consumer<ListNotificationConfigurationsRequest.Builder> listNotificationConfigurationsRequest) List all notification configurations.listNotificationConfigurations
(ListNotificationConfigurationsRequest listNotificationConfigurationsRequest) List all notification configurations.listNotificationConfigurationsPaginator
(Consumer<ListNotificationConfigurationsRequest.Builder> listNotificationConfigurationsRequest) listNotificationConfigurationsPaginator
(ListNotificationConfigurationsRequest listNotificationConfigurationsRequest) listOtaTaskConfigurations
(Consumer<ListOtaTaskConfigurationsRequest.Builder> listOtaTaskConfigurationsRequest) List all of the over-the-air (OTA) task configurations.listOtaTaskConfigurations
(ListOtaTaskConfigurationsRequest listOtaTaskConfigurationsRequest) List all of the over-the-air (OTA) task configurations.listOtaTaskConfigurationsPaginator
(Consumer<ListOtaTaskConfigurationsRequest.Builder> listOtaTaskConfigurationsRequest) This is a variant oflistOtaTaskConfigurations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTaskConfigurationsRequest)
operation.listOtaTaskConfigurationsPaginator
(ListOtaTaskConfigurationsRequest listOtaTaskConfigurationsRequest) This is a variant oflistOtaTaskConfigurations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTaskConfigurationsRequest)
operation.listOtaTaskExecutions
(Consumer<ListOtaTaskExecutionsRequest.Builder> listOtaTaskExecutionsRequest) List all of the over-the-air (OTA) task executions.listOtaTaskExecutions
(ListOtaTaskExecutionsRequest listOtaTaskExecutionsRequest) List all of the over-the-air (OTA) task executions.default ListOtaTaskExecutionsPublisher
listOtaTaskExecutionsPaginator
(Consumer<ListOtaTaskExecutionsRequest.Builder> listOtaTaskExecutionsRequest) This is a variant oflistOtaTaskExecutions(software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTaskExecutionsRequest)
operation.default ListOtaTaskExecutionsPublisher
listOtaTaskExecutionsPaginator
(ListOtaTaskExecutionsRequest listOtaTaskExecutionsRequest) This is a variant oflistOtaTaskExecutions(software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTaskExecutionsRequest)
operation.default CompletableFuture
<ListOtaTasksResponse> listOtaTasks
(Consumer<ListOtaTasksRequest.Builder> listOtaTasksRequest) List all of the over-the-air (OTA) tasks.default CompletableFuture
<ListOtaTasksResponse> listOtaTasks
(ListOtaTasksRequest listOtaTasksRequest) List all of the over-the-air (OTA) tasks.default ListOtaTasksPublisher
listOtaTasksPaginator
(Consumer<ListOtaTasksRequest.Builder> listOtaTasksRequest) This is a variant oflistOtaTasks(software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTasksRequest)
operation.default ListOtaTasksPublisher
listOtaTasksPaginator
(ListOtaTasksRequest listOtaTasksRequest) This is a variant oflistOtaTasks(software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTasksRequest)
operation.listProvisioningProfiles
(Consumer<ListProvisioningProfilesRequest.Builder> listProvisioningProfilesRequest) List the provisioning profiles within the Amazon Web Services account.listProvisioningProfiles
(ListProvisioningProfilesRequest listProvisioningProfilesRequest) List the provisioning profiles within the Amazon Web Services account.listProvisioningProfilesPaginator
(Consumer<ListProvisioningProfilesRequest.Builder> listProvisioningProfilesRequest) This is a variant oflistProvisioningProfiles(software.amazon.awssdk.services.iotmanagedintegrations.model.ListProvisioningProfilesRequest)
operation.listProvisioningProfilesPaginator
(ListProvisioningProfilesRequest listProvisioningProfilesRequest) This is a variant oflistProvisioningProfiles(software.amazon.awssdk.services.iotmanagedintegrations.model.ListProvisioningProfilesRequest)
operation.listSchemaVersions
(Consumer<ListSchemaVersionsRequest.Builder> listSchemaVersionsRequest) Lists schema versions with the provided information.listSchemaVersions
(ListSchemaVersionsRequest listSchemaVersionsRequest) Lists schema versions with the provided information.default ListSchemaVersionsPublisher
listSchemaVersionsPaginator
(Consumer<ListSchemaVersionsRequest.Builder> listSchemaVersionsRequest) This is a variant oflistSchemaVersions(software.amazon.awssdk.services.iotmanagedintegrations.model.ListSchemaVersionsRequest)
operation.default ListSchemaVersionsPublisher
listSchemaVersionsPaginator
(ListSchemaVersionsRequest listSchemaVersionsRequest) This is a variant oflistSchemaVersions(software.amazon.awssdk.services.iotmanagedintegrations.model.ListSchemaVersionsRequest)
operation.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) List tags for the specified resource.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) List tags for the specified resource.putDefaultEncryptionConfiguration
(Consumer<PutDefaultEncryptionConfigurationRequest.Builder> putDefaultEncryptionConfigurationRequest) Sets the default encryption configuration for the Amazon Web Services account.putDefaultEncryptionConfiguration
(PutDefaultEncryptionConfigurationRequest putDefaultEncryptionConfigurationRequest) Sets the default encryption configuration for the Amazon Web Services account.putHubConfiguration
(Consumer<PutHubConfigurationRequest.Builder> putHubConfigurationRequest) Update a hub configuration.putHubConfiguration
(PutHubConfigurationRequest putHubConfigurationRequest) Update a hub configuration.putRuntimeLogConfiguration
(Consumer<PutRuntimeLogConfigurationRequest.Builder> putRuntimeLogConfigurationRequest) Set the runtime log configuration for a specific managed thing or for all managed things as a group.putRuntimeLogConfiguration
(PutRuntimeLogConfigurationRequest putRuntimeLogConfigurationRequest) Set the runtime log configuration for a specific managed thing or for all managed things as a group.registerAccountAssociation
(Consumer<RegisterAccountAssociationRequest.Builder> registerAccountAssociationRequest) Registers an account association with a managed thing, establishing a connection between a device and a third-party account.registerAccountAssociation
(RegisterAccountAssociationRequest registerAccountAssociationRequest) Registers an account association with a managed thing, establishing a connection between a device and a third-party account.registerCustomEndpoint
(Consumer<RegisterCustomEndpointRequest.Builder> registerCustomEndpointRequest) Customers can request IoT managed integrations to manage the server trust for them or bring their own external server trusts for the custom domain.registerCustomEndpoint
(RegisterCustomEndpointRequest registerCustomEndpointRequest) Customers can request IoT managed integrations to manage the server trust for them or bring their own external server trusts for the custom domain.resetRuntimeLogConfiguration
(Consumer<ResetRuntimeLogConfigurationRequest.Builder> resetRuntimeLogConfigurationRequest) Reset a runtime log configuration for a specific managed thing or for all managed things as a group.resetRuntimeLogConfiguration
(ResetRuntimeLogConfigurationRequest resetRuntimeLogConfigurationRequest) Reset a runtime log configuration for a specific managed thing or for all managed things as a group.sendConnectorEvent
(Consumer<SendConnectorEventRequest.Builder> sendConnectorEventRequest) Relays third-party device events for a connector such as a new device or a device state change event.sendConnectorEvent
(SendConnectorEventRequest sendConnectorEventRequest) Relays third-party device events for a connector such as a new device or a device state change event.sendManagedThingCommand
(Consumer<SendManagedThingCommandRequest.Builder> sendManagedThingCommandRequest) Send the command to the device represented by the managed thing.sendManagedThingCommand
(SendManagedThingCommandRequest sendManagedThingCommandRequest) Send the command to the device represented by the managed thing.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstartAccountAssociationRefresh
(Consumer<StartAccountAssociationRefreshRequest.Builder> startAccountAssociationRefreshRequest) Initiates a refresh of an existing account association to update its authorization and connection status.startAccountAssociationRefresh
(StartAccountAssociationRefreshRequest startAccountAssociationRefreshRequest) Initiates a refresh of an existing account association to update its authorization and connection status.startDeviceDiscovery
(Consumer<StartDeviceDiscoveryRequest.Builder> startDeviceDiscoveryRequest) This API is used to start device discovery for hub-connected and third-party-connected devices.startDeviceDiscovery
(StartDeviceDiscoveryRequest startDeviceDiscoveryRequest) This API is used to start device discovery for hub-connected and third-party-connected devices.default CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Add tags for the specified resource.default CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Add tags for the specified resource.default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Remove tags for the specified resource.default CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) Remove tags for the specified resource.updateAccountAssociation
(Consumer<UpdateAccountAssociationRequest.Builder> updateAccountAssociationRequest) Updates the properties of an existing account association.updateAccountAssociation
(UpdateAccountAssociationRequest updateAccountAssociationRequest) Updates the properties of an existing account association.updateCloudConnector
(Consumer<UpdateCloudConnectorRequest.Builder> updateCloudConnectorRequest) Update an existing cloud connector.updateCloudConnector
(UpdateCloudConnectorRequest updateCloudConnectorRequest) Update an existing cloud connector.updateConnectorDestination
(Consumer<UpdateConnectorDestinationRequest.Builder> updateConnectorDestinationRequest) Updates the properties of an existing connector destination.updateConnectorDestination
(UpdateConnectorDestinationRequest updateConnectorDestinationRequest) Updates the properties of an existing connector destination.updateDestination
(Consumer<UpdateDestinationRequest.Builder> updateDestinationRequest) Update a destination specified by id.updateDestination
(UpdateDestinationRequest updateDestinationRequest) Update a destination specified by id.updateEventLogConfiguration
(Consumer<UpdateEventLogConfigurationRequest.Builder> updateEventLogConfigurationRequest) Update an event log configuration by log configuration ID.updateEventLogConfiguration
(UpdateEventLogConfigurationRequest updateEventLogConfigurationRequest) Update an event log configuration by log configuration ID.updateManagedThing
(Consumer<UpdateManagedThingRequest.Builder> updateManagedThingRequest) Update the attributes and capabilities associated with a managed thing.updateManagedThing
(UpdateManagedThingRequest updateManagedThingRequest) Update the attributes and capabilities associated with a managed thing.updateNotificationConfiguration
(Consumer<UpdateNotificationConfigurationRequest.Builder> updateNotificationConfigurationRequest) Update a notification configuration.updateNotificationConfiguration
(UpdateNotificationConfigurationRequest updateNotificationConfigurationRequest) Update a notification configuration.default CompletableFuture
<UpdateOtaTaskResponse> updateOtaTask
(Consumer<UpdateOtaTaskRequest.Builder> updateOtaTaskRequest) Update an over-the-air (OTA) task.default CompletableFuture
<UpdateOtaTaskResponse> updateOtaTask
(UpdateOtaTaskRequest updateOtaTaskRequest) Update an over-the-air (OTA) task.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
createAccountAssociation
default CompletableFuture<CreateAccountAssociationResponse> createAccountAssociation(CreateAccountAssociationRequest createAccountAssociationRequest) Creates a new account association via the destination id.
- Parameters:
createAccountAssociationRequest
-- Returns:
- A Java Future containing the result of the CreateAccountAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ConflictException There is a conflict with the request.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- ResourceNotFoundException The specified resource does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAccountAssociation
default CompletableFuture<CreateAccountAssociationResponse> createAccountAssociation(Consumer<CreateAccountAssociationRequest.Builder> createAccountAssociationRequest) Creates a new account association via the destination id.
This is a convenience which creates an instance of the
CreateAccountAssociationRequest.Builder
avoiding the need to create one manually viaCreateAccountAssociationRequest.builder()
- Parameters:
createAccountAssociationRequest
- AConsumer
that will call methods onCreateAccountAssociationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateAccountAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ConflictException There is a conflict with the request.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- ResourceNotFoundException The specified resource does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createCloudConnector
default CompletableFuture<CreateCloudConnectorResponse> createCloudConnector(CreateCloudConnectorRequest createCloudConnectorRequest) Creates a C2C (cloud-to-cloud) connector.
- Parameters:
createCloudConnectorRequest
-- Returns:
- A Java Future containing the result of the CreateCloudConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ConflictException There is a conflict with the request.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createCloudConnector
default CompletableFuture<CreateCloudConnectorResponse> createCloudConnector(Consumer<CreateCloudConnectorRequest.Builder> createCloudConnectorRequest) Creates a C2C (cloud-to-cloud) connector.
This is a convenience which creates an instance of the
CreateCloudConnectorRequest.Builder
avoiding the need to create one manually viaCreateCloudConnectorRequest.builder()
- Parameters:
createCloudConnectorRequest
- AConsumer
that will call methods onCreateCloudConnectorRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateCloudConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ConflictException There is a conflict with the request.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createConnectorDestination
default CompletableFuture<CreateConnectorDestinationResponse> createConnectorDestination(CreateConnectorDestinationRequest createConnectorDestinationRequest) Create a connector destination for connecting a cloud-to-cloud (C2C) connector to the customer's Amazon Web Services account.
- Parameters:
createConnectorDestinationRequest
-- Returns:
- A Java Future containing the result of the CreateConnectorDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ConflictException There is a conflict with the request.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createConnectorDestination
default CompletableFuture<CreateConnectorDestinationResponse> createConnectorDestination(Consumer<CreateConnectorDestinationRequest.Builder> createConnectorDestinationRequest) Create a connector destination for connecting a cloud-to-cloud (C2C) connector to the customer's Amazon Web Services account.
This is a convenience which creates an instance of the
CreateConnectorDestinationRequest.Builder
avoiding the need to create one manually viaCreateConnectorDestinationRequest.builder()
- Parameters:
createConnectorDestinationRequest
- AConsumer
that will call methods onCreateConnectorDestinationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateConnectorDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ConflictException There is a conflict with the request.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createCredentialLocker
default CompletableFuture<CreateCredentialLockerResponse> createCredentialLocker(CreateCredentialLockerRequest createCredentialLockerRequest) Create a product credential locker. This operation will trigger the creation of all the manufacturing resources including the Wi-Fi setup key pair and device certificate.
- Parameters:
createCredentialLockerRequest
-- Returns:
- A Java Future containing the result of the CreateCredentialLocker operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceQuotaExceededException The service quota has been exceeded for this request.
- ConflictException There is a conflict with the request.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createCredentialLocker
default CompletableFuture<CreateCredentialLockerResponse> createCredentialLocker(Consumer<CreateCredentialLockerRequest.Builder> createCredentialLockerRequest) Create a product credential locker. This operation will trigger the creation of all the manufacturing resources including the Wi-Fi setup key pair and device certificate.
This is a convenience which creates an instance of the
CreateCredentialLockerRequest.Builder
avoiding the need to create one manually viaCreateCredentialLockerRequest.builder()
- Parameters:
createCredentialLockerRequest
- AConsumer
that will call methods onCreateCredentialLockerRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateCredentialLocker operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceQuotaExceededException The service quota has been exceeded for this request.
- ConflictException There is a conflict with the request.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDestination
default CompletableFuture<CreateDestinationResponse> createDestination(CreateDestinationRequest createDestinationRequest) Create a destination. IoT managed integrations uses the destination to determine where to deliver notifications for a device.
- Parameters:
createDestinationRequest
-- Returns:
- A Java Future containing the result of the CreateDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ConflictException There is a conflict with the request.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDestination
default CompletableFuture<CreateDestinationResponse> createDestination(Consumer<CreateDestinationRequest.Builder> createDestinationRequest) Create a destination. IoT managed integrations uses the destination to determine where to deliver notifications for a device.
This is a convenience which creates an instance of the
CreateDestinationRequest.Builder
avoiding the need to create one manually viaCreateDestinationRequest.builder()
- Parameters:
createDestinationRequest
- AConsumer
that will call methods onCreateDestinationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ConflictException There is a conflict with the request.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEventLogConfiguration
default CompletableFuture<CreateEventLogConfigurationResponse> createEventLogConfiguration(CreateEventLogConfigurationRequest createEventLogConfigurationRequest) Set the event log configuration for the account, resource type, or specific resource.
- Parameters:
createEventLogConfigurationRequest
-- Returns:
- A Java Future containing the result of the CreateEventLogConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceQuotaExceededException The service quota has been exceeded for this request.
- ConflictException There is a conflict with the request.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEventLogConfiguration
default CompletableFuture<CreateEventLogConfigurationResponse> createEventLogConfiguration(Consumer<CreateEventLogConfigurationRequest.Builder> createEventLogConfigurationRequest) Set the event log configuration for the account, resource type, or specific resource.
This is a convenience which creates an instance of the
CreateEventLogConfigurationRequest.Builder
avoiding the need to create one manually viaCreateEventLogConfigurationRequest.builder()
- Parameters:
createEventLogConfigurationRequest
- AConsumer
that will call methods onCreateEventLogConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateEventLogConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceQuotaExceededException The service quota has been exceeded for this request.
- ConflictException There is a conflict with the request.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createManagedThing
default CompletableFuture<CreateManagedThingResponse> createManagedThing(CreateManagedThingRequest createManagedThingRequest) Creates a managed thing. A managed thing contains the device identifier, protocol supported, and capabilities of the device in a protocol-specific format.
- Parameters:
createManagedThingRequest
-- Returns:
- A Java Future containing the result of the CreateManagedThing operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ConflictException There is a conflict with the request.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createManagedThing
default CompletableFuture<CreateManagedThingResponse> createManagedThing(Consumer<CreateManagedThingRequest.Builder> createManagedThingRequest) Creates a managed thing. A managed thing contains the device identifier, protocol supported, and capabilities of the device in a protocol-specific format.
This is a convenience which creates an instance of the
CreateManagedThingRequest.Builder
avoiding the need to create one manually viaCreateManagedThingRequest.builder()
- Parameters:
createManagedThingRequest
- AConsumer
that will call methods onCreateManagedThingRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateManagedThing operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ConflictException There is a conflict with the request.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createNotificationConfiguration
default CompletableFuture<CreateNotificationConfigurationResponse> createNotificationConfiguration(CreateNotificationConfigurationRequest createNotificationConfigurationRequest) Creates a notification configuration. A configuration is a connection between an event type and a destination that you have already created.
- Parameters:
createNotificationConfigurationRequest
-- Returns:
- A Java Future containing the result of the CreateNotificationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ConflictException There is a conflict with the request.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createNotificationConfiguration
default CompletableFuture<CreateNotificationConfigurationResponse> createNotificationConfiguration(Consumer<CreateNotificationConfigurationRequest.Builder> createNotificationConfigurationRequest) Creates a notification configuration. A configuration is a connection between an event type and a destination that you have already created.
This is a convenience which creates an instance of the
CreateNotificationConfigurationRequest.Builder
avoiding the need to create one manually viaCreateNotificationConfigurationRequest.builder()
- Parameters:
createNotificationConfigurationRequest
- AConsumer
that will call methods onCreateNotificationConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateNotificationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ConflictException There is a conflict with the request.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createOtaTask
default CompletableFuture<CreateOtaTaskResponse> createOtaTask(CreateOtaTaskRequest createOtaTaskRequest) Create an over-the-air (OTA) task to update a device.
- Parameters:
createOtaTaskRequest
-- Returns:
- A Java Future containing the result of the CreateOtaTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ConflictException There is a conflict with the request.
- ThrottlingException The rate exceeds the limit.
- ResourceNotFoundException The specified resource does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createOtaTask
default CompletableFuture<CreateOtaTaskResponse> createOtaTask(Consumer<CreateOtaTaskRequest.Builder> createOtaTaskRequest) Create an over-the-air (OTA) task to update a device.
This is a convenience which creates an instance of the
CreateOtaTaskRequest.Builder
avoiding the need to create one manually viaCreateOtaTaskRequest.builder()
- Parameters:
createOtaTaskRequest
- AConsumer
that will call methods onCreateOtaTaskRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateOtaTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ConflictException There is a conflict with the request.
- ThrottlingException The rate exceeds the limit.
- ResourceNotFoundException The specified resource does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createOtaTaskConfiguration
default CompletableFuture<CreateOtaTaskConfigurationResponse> createOtaTaskConfiguration(CreateOtaTaskConfigurationRequest createOtaTaskConfigurationRequest) Create a configuraiton for the over-the-air (OTA) task.
- Parameters:
createOtaTaskConfigurationRequest
-- Returns:
- A Java Future containing the result of the CreateOtaTaskConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ConflictException There is a conflict with the request.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createOtaTaskConfiguration
default CompletableFuture<CreateOtaTaskConfigurationResponse> createOtaTaskConfiguration(Consumer<CreateOtaTaskConfigurationRequest.Builder> createOtaTaskConfigurationRequest) Create a configuraiton for the over-the-air (OTA) task.
This is a convenience which creates an instance of the
CreateOtaTaskConfigurationRequest.Builder
avoiding the need to create one manually viaCreateOtaTaskConfigurationRequest.builder()
- Parameters:
createOtaTaskConfigurationRequest
- AConsumer
that will call methods onCreateOtaTaskConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateOtaTaskConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ConflictException There is a conflict with the request.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createProvisioningProfile
default CompletableFuture<CreateProvisioningProfileResponse> createProvisioningProfile(CreateProvisioningProfileRequest createProvisioningProfileRequest) Create a provisioning profile for a device to execute the provisioning flows using a provisioning template. The provisioning template is a document that defines the set of resources and policies applied to a device during the provisioning process.
- Parameters:
createProvisioningProfileRequest
-- Returns:
- A Java Future containing the result of the CreateProvisioningProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ConflictException There is a conflict with the request.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- ResourceNotFoundException The specified resource does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createProvisioningProfile
default CompletableFuture<CreateProvisioningProfileResponse> createProvisioningProfile(Consumer<CreateProvisioningProfileRequest.Builder> createProvisioningProfileRequest) Create a provisioning profile for a device to execute the provisioning flows using a provisioning template. The provisioning template is a document that defines the set of resources and policies applied to a device during the provisioning process.
This is a convenience which creates an instance of the
CreateProvisioningProfileRequest.Builder
avoiding the need to create one manually viaCreateProvisioningProfileRequest.builder()
- Parameters:
createProvisioningProfileRequest
- AConsumer
that will call methods onCreateProvisioningProfileRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateProvisioningProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ConflictException There is a conflict with the request.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- ResourceNotFoundException The specified resource does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAccountAssociation
default CompletableFuture<DeleteAccountAssociationResponse> deleteAccountAssociation(DeleteAccountAssociationRequest deleteAccountAssociationRequest) Remove a third party account and related devices from an end user.
- Parameters:
deleteAccountAssociationRequest
-- Returns:
- A Java Future containing the result of the DeleteAccountAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAccountAssociation
default CompletableFuture<DeleteAccountAssociationResponse> deleteAccountAssociation(Consumer<DeleteAccountAssociationRequest.Builder> deleteAccountAssociationRequest) Remove a third party account and related devices from an end user.
This is a convenience which creates an instance of the
DeleteAccountAssociationRequest.Builder
avoiding the need to create one manually viaDeleteAccountAssociationRequest.builder()
- Parameters:
deleteAccountAssociationRequest
- AConsumer
that will call methods onDeleteAccountAssociationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteAccountAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteCloudConnector
default CompletableFuture<DeleteCloudConnectorResponse> deleteCloudConnector(DeleteCloudConnectorRequest deleteCloudConnectorRequest) Delete a cloud connector.
- Parameters:
deleteCloudConnectorRequest
-- Returns:
- A Java Future containing the result of the DeleteCloudConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteCloudConnector
default CompletableFuture<DeleteCloudConnectorResponse> deleteCloudConnector(Consumer<DeleteCloudConnectorRequest.Builder> deleteCloudConnectorRequest) Delete a cloud connector.
This is a convenience which creates an instance of the
DeleteCloudConnectorRequest.Builder
avoiding the need to create one manually viaDeleteCloudConnectorRequest.builder()
- Parameters:
deleteCloudConnectorRequest
- AConsumer
that will call methods onDeleteCloudConnectorRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteCloudConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteConnectorDestination
default CompletableFuture<DeleteConnectorDestinationResponse> deleteConnectorDestination(DeleteConnectorDestinationRequest deleteConnectorDestinationRequest) Delete a connector destination for connecting a cloud-to-cloud (C2C) connector to the customer's Amazon Web Services account.
- Parameters:
deleteConnectorDestinationRequest
-- Returns:
- A Java Future containing the result of the DeleteConnectorDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteConnectorDestination
default CompletableFuture<DeleteConnectorDestinationResponse> deleteConnectorDestination(Consumer<DeleteConnectorDestinationRequest.Builder> deleteConnectorDestinationRequest) Delete a connector destination for connecting a cloud-to-cloud (C2C) connector to the customer's Amazon Web Services account.
This is a convenience which creates an instance of the
DeleteConnectorDestinationRequest.Builder
avoiding the need to create one manually viaDeleteConnectorDestinationRequest.builder()
- Parameters:
deleteConnectorDestinationRequest
- AConsumer
that will call methods onDeleteConnectorDestinationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteConnectorDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteCredentialLocker
default CompletableFuture<DeleteCredentialLockerResponse> deleteCredentialLocker(DeleteCredentialLockerRequest deleteCredentialLockerRequest) Delete a credential locker.
This operation can't be undone and any existing device won't be able to use IoT managed integrations.
- Parameters:
deleteCredentialLockerRequest
-- Returns:
- A Java Future containing the result of the DeleteCredentialLocker operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteCredentialLocker
default CompletableFuture<DeleteCredentialLockerResponse> deleteCredentialLocker(Consumer<DeleteCredentialLockerRequest.Builder> deleteCredentialLockerRequest) Delete a credential locker.
This operation can't be undone and any existing device won't be able to use IoT managed integrations.
This is a convenience which creates an instance of the
DeleteCredentialLockerRequest.Builder
avoiding the need to create one manually viaDeleteCredentialLockerRequest.builder()
- Parameters:
deleteCredentialLockerRequest
- AConsumer
that will call methods onDeleteCredentialLockerRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteCredentialLocker operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDestination
default CompletableFuture<DeleteDestinationResponse> deleteDestination(DeleteDestinationRequest deleteDestinationRequest) Deletes a customer-managed destination specified by id.
- Parameters:
deleteDestinationRequest
-- Returns:
- A Java Future containing the result of the DeleteDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDestination
default CompletableFuture<DeleteDestinationResponse> deleteDestination(Consumer<DeleteDestinationRequest.Builder> deleteDestinationRequest) Deletes a customer-managed destination specified by id.
This is a convenience which creates an instance of the
DeleteDestinationRequest.Builder
avoiding the need to create one manually viaDeleteDestinationRequest.builder()
- Parameters:
deleteDestinationRequest
- AConsumer
that will call methods onDeleteDestinationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEventLogConfiguration
default CompletableFuture<DeleteEventLogConfigurationResponse> deleteEventLogConfiguration(DeleteEventLogConfigurationRequest deleteEventLogConfigurationRequest) Delete an event log configuration.
- Parameters:
deleteEventLogConfigurationRequest
-- Returns:
- A Java Future containing the result of the DeleteEventLogConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEventLogConfiguration
default CompletableFuture<DeleteEventLogConfigurationResponse> deleteEventLogConfiguration(Consumer<DeleteEventLogConfigurationRequest.Builder> deleteEventLogConfigurationRequest) Delete an event log configuration.
This is a convenience which creates an instance of the
DeleteEventLogConfigurationRequest.Builder
avoiding the need to create one manually viaDeleteEventLogConfigurationRequest.builder()
- Parameters:
deleteEventLogConfigurationRequest
- AConsumer
that will call methods onDeleteEventLogConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteEventLogConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteManagedThing
default CompletableFuture<DeleteManagedThingResponse> deleteManagedThing(DeleteManagedThingRequest deleteManagedThingRequest) Delete a managed thing. If a controller is deleted, all of the devices connected to it will have their status changed to
PENDING
. It is not possible to remove a cloud device.- Parameters:
deleteManagedThingRequest
-- Returns:
- A Java Future containing the result of the DeleteManagedThing operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ConflictException There is a conflict with the request.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteManagedThing
default CompletableFuture<DeleteManagedThingResponse> deleteManagedThing(Consumer<DeleteManagedThingRequest.Builder> deleteManagedThingRequest) Delete a managed thing. If a controller is deleted, all of the devices connected to it will have their status changed to
PENDING
. It is not possible to remove a cloud device.
This is a convenience which creates an instance of the
DeleteManagedThingRequest.Builder
avoiding the need to create one manually viaDeleteManagedThingRequest.builder()
- Parameters:
deleteManagedThingRequest
- AConsumer
that will call methods onDeleteManagedThingRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteManagedThing operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ConflictException There is a conflict with the request.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteNotificationConfiguration
default CompletableFuture<DeleteNotificationConfigurationResponse> deleteNotificationConfiguration(DeleteNotificationConfigurationRequest deleteNotificationConfigurationRequest) Deletes a notification configuration.
- Parameters:
deleteNotificationConfigurationRequest
-- Returns:
- A Java Future containing the result of the DeleteNotificationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteNotificationConfiguration
default CompletableFuture<DeleteNotificationConfigurationResponse> deleteNotificationConfiguration(Consumer<DeleteNotificationConfigurationRequest.Builder> deleteNotificationConfigurationRequest) Deletes a notification configuration.
This is a convenience which creates an instance of the
DeleteNotificationConfigurationRequest.Builder
avoiding the need to create one manually viaDeleteNotificationConfigurationRequest.builder()
- Parameters:
deleteNotificationConfigurationRequest
- AConsumer
that will call methods onDeleteNotificationConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteNotificationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteOtaTask
default CompletableFuture<DeleteOtaTaskResponse> deleteOtaTask(DeleteOtaTaskRequest deleteOtaTaskRequest) Delete the over-the-air (OTA) task.
- Parameters:
deleteOtaTaskRequest
-- Returns:
- A Java Future containing the result of the DeleteOtaTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- LimitExceededException The request exceeds a service limit or quota. Adjust your request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteOtaTask
default CompletableFuture<DeleteOtaTaskResponse> deleteOtaTask(Consumer<DeleteOtaTaskRequest.Builder> deleteOtaTaskRequest) Delete the over-the-air (OTA) task.
This is a convenience which creates an instance of the
DeleteOtaTaskRequest.Builder
avoiding the need to create one manually viaDeleteOtaTaskRequest.builder()
- Parameters:
deleteOtaTaskRequest
- AConsumer
that will call methods onDeleteOtaTaskRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteOtaTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- LimitExceededException The request exceeds a service limit or quota. Adjust your request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteOtaTaskConfiguration
default CompletableFuture<DeleteOtaTaskConfigurationResponse> deleteOtaTaskConfiguration(DeleteOtaTaskConfigurationRequest deleteOtaTaskConfigurationRequest) Delete the over-the-air (OTA) task configuration.
- Parameters:
deleteOtaTaskConfigurationRequest
-- Returns:
- A Java Future containing the result of the DeleteOtaTaskConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteOtaTaskConfiguration
default CompletableFuture<DeleteOtaTaskConfigurationResponse> deleteOtaTaskConfiguration(Consumer<DeleteOtaTaskConfigurationRequest.Builder> deleteOtaTaskConfigurationRequest) Delete the over-the-air (OTA) task configuration.
This is a convenience which creates an instance of the
DeleteOtaTaskConfigurationRequest.Builder
avoiding the need to create one manually viaDeleteOtaTaskConfigurationRequest.builder()
- Parameters:
deleteOtaTaskConfigurationRequest
- AConsumer
that will call methods onDeleteOtaTaskConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteOtaTaskConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteProvisioningProfile
default CompletableFuture<DeleteProvisioningProfileResponse> deleteProvisioningProfile(DeleteProvisioningProfileRequest deleteProvisioningProfileRequest) Delete a provisioning profile.
- Parameters:
deleteProvisioningProfileRequest
-- Returns:
- A Java Future containing the result of the DeleteProvisioningProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteProvisioningProfile
default CompletableFuture<DeleteProvisioningProfileResponse> deleteProvisioningProfile(Consumer<DeleteProvisioningProfileRequest.Builder> deleteProvisioningProfileRequest) Delete a provisioning profile.
This is a convenience which creates an instance of the
DeleteProvisioningProfileRequest.Builder
avoiding the need to create one manually viaDeleteProvisioningProfileRequest.builder()
- Parameters:
deleteProvisioningProfileRequest
- AConsumer
that will call methods onDeleteProvisioningProfileRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteProvisioningProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deregisterAccountAssociation
default CompletableFuture<DeregisterAccountAssociationResponse> deregisterAccountAssociation(DeregisterAccountAssociationRequest deregisterAccountAssociationRequest) Deregisters an account association, removing the connection between a managed thing and a third-party account.
- Parameters:
deregisterAccountAssociationRequest
- Request for deregister a managed thing from account association- Returns:
- A Java Future containing the result of the DeregisterAccountAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- ResourceNotFoundException The specified resource does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deregisterAccountAssociation
default CompletableFuture<DeregisterAccountAssociationResponse> deregisterAccountAssociation(Consumer<DeregisterAccountAssociationRequest.Builder> deregisterAccountAssociationRequest) Deregisters an account association, removing the connection between a managed thing and a third-party account.
This is a convenience which creates an instance of the
DeregisterAccountAssociationRequest.Builder
avoiding the need to create one manually viaDeregisterAccountAssociationRequest.builder()
- Parameters:
deregisterAccountAssociationRequest
- AConsumer
that will call methods onDeregisterAccountAssociationRequest.Builder
to create a request. Request for deregister a managed thing from account association- Returns:
- A Java Future containing the result of the DeregisterAccountAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- ResourceNotFoundException The specified resource does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAccountAssociation
default CompletableFuture<GetAccountAssociationResponse> getAccountAssociation(GetAccountAssociationRequest getAccountAssociationRequest) Get an account association for an Amazon Web Services account linked to a customer-managed destination.
- Parameters:
getAccountAssociationRequest
-- Returns:
- A Java Future containing the result of the GetAccountAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAccountAssociation
default CompletableFuture<GetAccountAssociationResponse> getAccountAssociation(Consumer<GetAccountAssociationRequest.Builder> getAccountAssociationRequest) Get an account association for an Amazon Web Services account linked to a customer-managed destination.
This is a convenience which creates an instance of the
GetAccountAssociationRequest.Builder
avoiding the need to create one manually viaGetAccountAssociationRequest.builder()
- Parameters:
getAccountAssociationRequest
- AConsumer
that will call methods onGetAccountAssociationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetAccountAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCloudConnector
default CompletableFuture<GetCloudConnectorResponse> getCloudConnector(GetCloudConnectorRequest getCloudConnectorRequest) Gets all the information about a connector for a connector developer.
- Parameters:
getCloudConnectorRequest
-- Returns:
- A Java Future containing the result of the GetCloudConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCloudConnector
default CompletableFuture<GetCloudConnectorResponse> getCloudConnector(Consumer<GetCloudConnectorRequest.Builder> getCloudConnectorRequest) Gets all the information about a connector for a connector developer.
This is a convenience which creates an instance of the
GetCloudConnectorRequest.Builder
avoiding the need to create one manually viaGetCloudConnectorRequest.builder()
- Parameters:
getCloudConnectorRequest
- AConsumer
that will call methods onGetCloudConnectorRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetCloudConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getConnectorDestination
default CompletableFuture<GetConnectorDestinationResponse> getConnectorDestination(GetConnectorDestinationRequest getConnectorDestinationRequest) Get a connector destination of a cloud-to-cloud (C2C) connector connecting to a customer's Amazon Web Services account.
- Parameters:
getConnectorDestinationRequest
-- Returns:
- A Java Future containing the result of the GetConnectorDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getConnectorDestination
default CompletableFuture<GetConnectorDestinationResponse> getConnectorDestination(Consumer<GetConnectorDestinationRequest.Builder> getConnectorDestinationRequest) Get a connector destination of a cloud-to-cloud (C2C) connector connecting to a customer's Amazon Web Services account.
This is a convenience which creates an instance of the
GetConnectorDestinationRequest.Builder
avoiding the need to create one manually viaGetConnectorDestinationRequest.builder()
- Parameters:
getConnectorDestinationRequest
- AConsumer
that will call methods onGetConnectorDestinationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetConnectorDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCredentialLocker
default CompletableFuture<GetCredentialLockerResponse> getCredentialLocker(GetCredentialLockerRequest getCredentialLockerRequest) Get information on an existing credential locker
- Parameters:
getCredentialLockerRequest
-- Returns:
- A Java Future containing the result of the GetCredentialLocker operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCredentialLocker
default CompletableFuture<GetCredentialLockerResponse> getCredentialLocker(Consumer<GetCredentialLockerRequest.Builder> getCredentialLockerRequest) Get information on an existing credential locker
This is a convenience which creates an instance of the
GetCredentialLockerRequest.Builder
avoiding the need to create one manually viaGetCredentialLockerRequest.builder()
- Parameters:
getCredentialLockerRequest
- AConsumer
that will call methods onGetCredentialLockerRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetCredentialLocker operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCustomEndpoint
default CompletableFuture<GetCustomEndpointResponse> getCustomEndpoint(GetCustomEndpointRequest getCustomEndpointRequest) Returns the IoT managed integrations custom endpoint.
- Parameters:
getCustomEndpointRequest
-- Returns:
- A Java Future containing the result of the GetCustomEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCustomEndpoint
default CompletableFuture<GetCustomEndpointResponse> getCustomEndpoint(Consumer<GetCustomEndpointRequest.Builder> getCustomEndpointRequest) Returns the IoT managed integrations custom endpoint.
This is a convenience which creates an instance of the
GetCustomEndpointRequest.Builder
avoiding the need to create one manually viaGetCustomEndpointRequest.builder()
- Parameters:
getCustomEndpointRequest
- AConsumer
that will call methods onGetCustomEndpointRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetCustomEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDefaultEncryptionConfiguration
default CompletableFuture<GetDefaultEncryptionConfigurationResponse> getDefaultEncryptionConfiguration(GetDefaultEncryptionConfigurationRequest getDefaultEncryptionConfigurationRequest) Retrieves information about the default encryption configuration for the Amazon Web Services account in the default or specified region. For more information, see Key management in the AWS IoT SiteWise User Guide.
- Parameters:
getDefaultEncryptionConfigurationRequest
-- Returns:
- A Java Future containing the result of the GetDefaultEncryptionConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalFailureException An unexpected error has occurred.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDefaultEncryptionConfiguration
default CompletableFuture<GetDefaultEncryptionConfigurationResponse> getDefaultEncryptionConfiguration(Consumer<GetDefaultEncryptionConfigurationRequest.Builder> getDefaultEncryptionConfigurationRequest) Retrieves information about the default encryption configuration for the Amazon Web Services account in the default or specified region. For more information, see Key management in the AWS IoT SiteWise User Guide.
This is a convenience which creates an instance of the
GetDefaultEncryptionConfigurationRequest.Builder
avoiding the need to create one manually viaGetDefaultEncryptionConfigurationRequest.builder()
- Parameters:
getDefaultEncryptionConfigurationRequest
- AConsumer
that will call methods onGetDefaultEncryptionConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetDefaultEncryptionConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalFailureException An unexpected error has occurred.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDestination
default CompletableFuture<GetDestinationResponse> getDestination(GetDestinationRequest getDestinationRequest) Gets a destination by ID.
- Parameters:
getDestinationRequest
-- Returns:
- A Java Future containing the result of the GetDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDestination
default CompletableFuture<GetDestinationResponse> getDestination(Consumer<GetDestinationRequest.Builder> getDestinationRequest) Gets a destination by ID.
This is a convenience which creates an instance of the
GetDestinationRequest.Builder
avoiding the need to create one manually viaGetDestinationRequest.builder()
- Parameters:
getDestinationRequest
- AConsumer
that will call methods onGetDestinationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDeviceDiscovery
default CompletableFuture<GetDeviceDiscoveryResponse> getDeviceDiscovery(GetDeviceDiscoveryRequest getDeviceDiscoveryRequest) Get the current state of a device discovery.
- Parameters:
getDeviceDiscoveryRequest
-- Returns:
- A Java Future containing the result of the GetDeviceDiscovery operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDeviceDiscovery
default CompletableFuture<GetDeviceDiscoveryResponse> getDeviceDiscovery(Consumer<GetDeviceDiscoveryRequest.Builder> getDeviceDiscoveryRequest) Get the current state of a device discovery.
This is a convenience which creates an instance of the
GetDeviceDiscoveryRequest.Builder
avoiding the need to create one manually viaGetDeviceDiscoveryRequest.builder()
- Parameters:
getDeviceDiscoveryRequest
- AConsumer
that will call methods onGetDeviceDiscoveryRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetDeviceDiscovery operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEventLogConfiguration
default CompletableFuture<GetEventLogConfigurationResponse> getEventLogConfiguration(GetEventLogConfigurationRequest getEventLogConfigurationRequest) Get an event log configuration.
- Parameters:
getEventLogConfigurationRequest
-- Returns:
- A Java Future containing the result of the GetEventLogConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEventLogConfiguration
default CompletableFuture<GetEventLogConfigurationResponse> getEventLogConfiguration(Consumer<GetEventLogConfigurationRequest.Builder> getEventLogConfigurationRequest) Get an event log configuration.
This is a convenience which creates an instance of the
GetEventLogConfigurationRequest.Builder
avoiding the need to create one manually viaGetEventLogConfigurationRequest.builder()
- Parameters:
getEventLogConfigurationRequest
- AConsumer
that will call methods onGetEventLogConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetEventLogConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getHubConfiguration
default CompletableFuture<GetHubConfigurationResponse> getHubConfiguration(GetHubConfigurationRequest getHubConfigurationRequest) Get a hub configuration.
- Parameters:
getHubConfigurationRequest
-- Returns:
- A Java Future containing the result of the GetHubConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getHubConfiguration
default CompletableFuture<GetHubConfigurationResponse> getHubConfiguration(Consumer<GetHubConfigurationRequest.Builder> getHubConfigurationRequest) Get a hub configuration.
This is a convenience which creates an instance of the
GetHubConfigurationRequest.Builder
avoiding the need to create one manually viaGetHubConfigurationRequest.builder()
- Parameters:
getHubConfigurationRequest
- AConsumer
that will call methods onGetHubConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetHubConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getManagedThing
default CompletableFuture<GetManagedThingResponse> getManagedThing(GetManagedThingRequest getManagedThingRequest) Get the attributes and capabilities associated with a managed thing.
- Parameters:
getManagedThingRequest
-- Returns:
- A Java Future containing the result of the GetManagedThing operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getManagedThing
default CompletableFuture<GetManagedThingResponse> getManagedThing(Consumer<GetManagedThingRequest.Builder> getManagedThingRequest) Get the attributes and capabilities associated with a managed thing.
This is a convenience which creates an instance of the
GetManagedThingRequest.Builder
avoiding the need to create one manually viaGetManagedThingRequest.builder()
- Parameters:
getManagedThingRequest
- AConsumer
that will call methods onGetManagedThingRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetManagedThing operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getManagedThingCapabilities
default CompletableFuture<GetManagedThingCapabilitiesResponse> getManagedThingCapabilities(GetManagedThingCapabilitiesRequest getManagedThingCapabilitiesRequest) Get the capabilities for a managed thing using the device ID.
- Parameters:
getManagedThingCapabilitiesRequest
-- Returns:
- A Java Future containing the result of the GetManagedThingCapabilities operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getManagedThingCapabilities
default CompletableFuture<GetManagedThingCapabilitiesResponse> getManagedThingCapabilities(Consumer<GetManagedThingCapabilitiesRequest.Builder> getManagedThingCapabilitiesRequest) Get the capabilities for a managed thing using the device ID.
This is a convenience which creates an instance of the
GetManagedThingCapabilitiesRequest.Builder
avoiding the need to create one manually viaGetManagedThingCapabilitiesRequest.builder()
- Parameters:
getManagedThingCapabilitiesRequest
- AConsumer
that will call methods onGetManagedThingCapabilitiesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetManagedThingCapabilities operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getManagedThingConnectivityData
default CompletableFuture<GetManagedThingConnectivityDataResponse> getManagedThingConnectivityData(GetManagedThingConnectivityDataRequest getManagedThingConnectivityDataRequest) Get the connectivity status of a managed thing.
- Parameters:
getManagedThingConnectivityDataRequest
-- Returns:
- A Java Future containing the result of the GetManagedThingConnectivityData operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getManagedThingConnectivityData
default CompletableFuture<GetManagedThingConnectivityDataResponse> getManagedThingConnectivityData(Consumer<GetManagedThingConnectivityDataRequest.Builder> getManagedThingConnectivityDataRequest) Get the connectivity status of a managed thing.
This is a convenience which creates an instance of the
GetManagedThingConnectivityDataRequest.Builder
avoiding the need to create one manually viaGetManagedThingConnectivityDataRequest.builder()
- Parameters:
getManagedThingConnectivityDataRequest
- AConsumer
that will call methods onGetManagedThingConnectivityDataRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetManagedThingConnectivityData operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getManagedThingMetaData
default CompletableFuture<GetManagedThingMetaDataResponse> getManagedThingMetaData(GetManagedThingMetaDataRequest getManagedThingMetaDataRequest) Get the metadata information for a managed thing.
The
managedThing
metadata
parameter is used for associating attributes with amanagedThing
that can be used for grouping over-the-air (OTA) tasks. Name value pairs inmetadata
can be used in theOtaTargetQueryString
parameter for theCreateOtaTask
API operation.- Parameters:
getManagedThingMetaDataRequest
-- Returns:
- A Java Future containing the result of the GetManagedThingMetaData operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getManagedThingMetaData
default CompletableFuture<GetManagedThingMetaDataResponse> getManagedThingMetaData(Consumer<GetManagedThingMetaDataRequest.Builder> getManagedThingMetaDataRequest) Get the metadata information for a managed thing.
The
managedThing
metadata
parameter is used for associating attributes with amanagedThing
that can be used for grouping over-the-air (OTA) tasks. Name value pairs inmetadata
can be used in theOtaTargetQueryString
parameter for theCreateOtaTask
API operation.
This is a convenience which creates an instance of the
GetManagedThingMetaDataRequest.Builder
avoiding the need to create one manually viaGetManagedThingMetaDataRequest.builder()
- Parameters:
getManagedThingMetaDataRequest
- AConsumer
that will call methods onGetManagedThingMetaDataRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetManagedThingMetaData operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getManagedThingState
default CompletableFuture<GetManagedThingStateResponse> getManagedThingState(GetManagedThingStateRequest getManagedThingStateRequest) Returns the managed thing state for the given device Id.
- Parameters:
getManagedThingStateRequest
-- Returns:
- A Java Future containing the result of the GetManagedThingState operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalFailureException An unexpected error has occurred.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getManagedThingState
default CompletableFuture<GetManagedThingStateResponse> getManagedThingState(Consumer<GetManagedThingStateRequest.Builder> getManagedThingStateRequest) Returns the managed thing state for the given device Id.
This is a convenience which creates an instance of the
GetManagedThingStateRequest.Builder
avoiding the need to create one manually viaGetManagedThingStateRequest.builder()
- Parameters:
getManagedThingStateRequest
- AConsumer
that will call methods onGetManagedThingStateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetManagedThingState operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalFailureException An unexpected error has occurred.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getNotificationConfiguration
default CompletableFuture<GetNotificationConfigurationResponse> getNotificationConfiguration(GetNotificationConfigurationRequest getNotificationConfigurationRequest) Get a notification configuration.
- Parameters:
getNotificationConfigurationRequest
-- Returns:
- A Java Future containing the result of the GetNotificationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getNotificationConfiguration
default CompletableFuture<GetNotificationConfigurationResponse> getNotificationConfiguration(Consumer<GetNotificationConfigurationRequest.Builder> getNotificationConfigurationRequest) Get a notification configuration.
This is a convenience which creates an instance of the
GetNotificationConfigurationRequest.Builder
avoiding the need to create one manually viaGetNotificationConfigurationRequest.builder()
- Parameters:
getNotificationConfigurationRequest
- AConsumer
that will call methods onGetNotificationConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetNotificationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getOtaTask
Get the over-the-air (OTA) task.
- Parameters:
getOtaTaskRequest
-- Returns:
- A Java Future containing the result of the GetOtaTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getOtaTask
default CompletableFuture<GetOtaTaskResponse> getOtaTask(Consumer<GetOtaTaskRequest.Builder> getOtaTaskRequest) Get the over-the-air (OTA) task.
This is a convenience which creates an instance of the
GetOtaTaskRequest.Builder
avoiding the need to create one manually viaGetOtaTaskRequest.builder()
- Parameters:
getOtaTaskRequest
- AConsumer
that will call methods onGetOtaTaskRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetOtaTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getOtaTaskConfiguration
default CompletableFuture<GetOtaTaskConfigurationResponse> getOtaTaskConfiguration(GetOtaTaskConfigurationRequest getOtaTaskConfigurationRequest) Get a configuraiton for the over-the-air (OTA) task.
- Parameters:
getOtaTaskConfigurationRequest
-- Returns:
- A Java Future containing the result of the GetOtaTaskConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getOtaTaskConfiguration
default CompletableFuture<GetOtaTaskConfigurationResponse> getOtaTaskConfiguration(Consumer<GetOtaTaskConfigurationRequest.Builder> getOtaTaskConfigurationRequest) Get a configuraiton for the over-the-air (OTA) task.
This is a convenience which creates an instance of the
GetOtaTaskConfigurationRequest.Builder
avoiding the need to create one manually viaGetOtaTaskConfigurationRequest.builder()
- Parameters:
getOtaTaskConfigurationRequest
- AConsumer
that will call methods onGetOtaTaskConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetOtaTaskConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getProvisioningProfile
default CompletableFuture<GetProvisioningProfileResponse> getProvisioningProfile(GetProvisioningProfileRequest getProvisioningProfileRequest) Get a provisioning profile by template name.
- Parameters:
getProvisioningProfileRequest
-- Returns:
- A Java Future containing the result of the GetProvisioningProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getProvisioningProfile
default CompletableFuture<GetProvisioningProfileResponse> getProvisioningProfile(Consumer<GetProvisioningProfileRequest.Builder> getProvisioningProfileRequest) Get a provisioning profile by template name.
This is a convenience which creates an instance of the
GetProvisioningProfileRequest.Builder
avoiding the need to create one manually viaGetProvisioningProfileRequest.builder()
- Parameters:
getProvisioningProfileRequest
- AConsumer
that will call methods onGetProvisioningProfileRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetProvisioningProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRuntimeLogConfiguration
default CompletableFuture<GetRuntimeLogConfigurationResponse> getRuntimeLogConfiguration(GetRuntimeLogConfigurationRequest getRuntimeLogConfigurationRequest) Get the runtime log configuration for a specific managed thing or for all managed things as a group.
- Parameters:
getRuntimeLogConfigurationRequest
-- Returns:
- A Java Future containing the result of the GetRuntimeLogConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRuntimeLogConfiguration
default CompletableFuture<GetRuntimeLogConfigurationResponse> getRuntimeLogConfiguration(Consumer<GetRuntimeLogConfigurationRequest.Builder> getRuntimeLogConfigurationRequest) Get the runtime log configuration for a specific managed thing or for all managed things as a group.
This is a convenience which creates an instance of the
GetRuntimeLogConfigurationRequest.Builder
avoiding the need to create one manually viaGetRuntimeLogConfigurationRequest.builder()
- Parameters:
getRuntimeLogConfigurationRequest
- AConsumer
that will call methods onGetRuntimeLogConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetRuntimeLogConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSchemaVersion
default CompletableFuture<GetSchemaVersionResponse> getSchemaVersion(GetSchemaVersionRequest getSchemaVersionRequest) Gets a schema version with the provided information.
- Parameters:
getSchemaVersionRequest
-- Returns:
- A Java Future containing the result of the GetSchemaVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ConflictException There is a conflict with the request.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSchemaVersion
default CompletableFuture<GetSchemaVersionResponse> getSchemaVersion(Consumer<GetSchemaVersionRequest.Builder> getSchemaVersionRequest) Gets a schema version with the provided information.
This is a convenience which creates an instance of the
GetSchemaVersionRequest.Builder
avoiding the need to create one manually viaGetSchemaVersionRequest.builder()
- Parameters:
getSchemaVersionRequest
- AConsumer
that will call methods onGetSchemaVersionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetSchemaVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ConflictException There is a conflict with the request.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccountAssociations
default CompletableFuture<ListAccountAssociationsResponse> listAccountAssociations(ListAccountAssociationsRequest listAccountAssociationsRequest) Lists all account associations, with optional filtering by connector destination ID.
- Parameters:
listAccountAssociationsRequest
-- Returns:
- A Java Future containing the result of the ListAccountAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccountAssociations
default CompletableFuture<ListAccountAssociationsResponse> listAccountAssociations(Consumer<ListAccountAssociationsRequest.Builder> listAccountAssociationsRequest) Lists all account associations, with optional filtering by connector destination ID.
This is a convenience which creates an instance of the
ListAccountAssociationsRequest.Builder
avoiding the need to create one manually viaListAccountAssociationsRequest.builder()
- Parameters:
listAccountAssociationsRequest
- AConsumer
that will call methods onListAccountAssociationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListAccountAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccountAssociationsPaginator
default ListAccountAssociationsPublisher listAccountAssociationsPaginator(ListAccountAssociationsRequest listAccountAssociationsRequest) This is a variant of
listAccountAssociations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListAccountAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListAccountAssociationsPublisher publisher = client.listAccountAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListAccountAssociationsPublisher publisher = client.listAccountAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListAccountAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListAccountAssociationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccountAssociations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListAccountAssociationsRequest)
operation.- Parameters:
listAccountAssociationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccountAssociationsPaginator
default ListAccountAssociationsPublisher listAccountAssociationsPaginator(Consumer<ListAccountAssociationsRequest.Builder> listAccountAssociationsRequest) This is a variant of
listAccountAssociations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListAccountAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListAccountAssociationsPublisher publisher = client.listAccountAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListAccountAssociationsPublisher publisher = client.listAccountAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListAccountAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListAccountAssociationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccountAssociations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListAccountAssociationsRequest)
operation.
This is a convenience which creates an instance of the
ListAccountAssociationsRequest.Builder
avoiding the need to create one manually viaListAccountAssociationsRequest.builder()
- Parameters:
listAccountAssociationsRequest
- AConsumer
that will call methods onListAccountAssociationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCloudConnectors
default CompletableFuture<ListCloudConnectorsResponse> listCloudConnectors(ListCloudConnectorsRequest listCloudConnectorsRequest) Returns a list of connectors based on permissions.
- Parameters:
listCloudConnectorsRequest
-- Returns:
- A Java Future containing the result of the ListCloudConnectors operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCloudConnectors
default CompletableFuture<ListCloudConnectorsResponse> listCloudConnectors(Consumer<ListCloudConnectorsRequest.Builder> listCloudConnectorsRequest) Returns a list of connectors based on permissions.
This is a convenience which creates an instance of the
ListCloudConnectorsRequest.Builder
avoiding the need to create one manually viaListCloudConnectorsRequest.builder()
- Parameters:
listCloudConnectorsRequest
- AConsumer
that will call methods onListCloudConnectorsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListCloudConnectors operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCloudConnectorsPaginator
default ListCloudConnectorsPublisher listCloudConnectorsPaginator(ListCloudConnectorsRequest listCloudConnectorsRequest) This is a variant of
listCloudConnectors(software.amazon.awssdk.services.iotmanagedintegrations.model.ListCloudConnectorsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListCloudConnectorsPublisher publisher = client.listCloudConnectorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListCloudConnectorsPublisher publisher = client.listCloudConnectorsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListCloudConnectorsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListCloudConnectorsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCloudConnectors(software.amazon.awssdk.services.iotmanagedintegrations.model.ListCloudConnectorsRequest)
operation.- Parameters:
listCloudConnectorsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCloudConnectorsPaginator
default ListCloudConnectorsPublisher listCloudConnectorsPaginator(Consumer<ListCloudConnectorsRequest.Builder> listCloudConnectorsRequest) This is a variant of
listCloudConnectors(software.amazon.awssdk.services.iotmanagedintegrations.model.ListCloudConnectorsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListCloudConnectorsPublisher publisher = client.listCloudConnectorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListCloudConnectorsPublisher publisher = client.listCloudConnectorsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListCloudConnectorsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListCloudConnectorsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCloudConnectors(software.amazon.awssdk.services.iotmanagedintegrations.model.ListCloudConnectorsRequest)
operation.
This is a convenience which creates an instance of the
ListCloudConnectorsRequest.Builder
avoiding the need to create one manually viaListCloudConnectorsRequest.builder()
- Parameters:
listCloudConnectorsRequest
- AConsumer
that will call methods onListCloudConnectorsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listConnectorDestinations
default CompletableFuture<ListConnectorDestinationsResponse> listConnectorDestinations(ListConnectorDestinationsRequest listConnectorDestinationsRequest) Lists all connector destinations, with optional filtering by cloud connector ID.
- Parameters:
listConnectorDestinationsRequest
-- Returns:
- A Java Future containing the result of the ListConnectorDestinations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listConnectorDestinations
default CompletableFuture<ListConnectorDestinationsResponse> listConnectorDestinations(Consumer<ListConnectorDestinationsRequest.Builder> listConnectorDestinationsRequest) Lists all connector destinations, with optional filtering by cloud connector ID.
This is a convenience which creates an instance of the
ListConnectorDestinationsRequest.Builder
avoiding the need to create one manually viaListConnectorDestinationsRequest.builder()
- Parameters:
listConnectorDestinationsRequest
- AConsumer
that will call methods onListConnectorDestinationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListConnectorDestinations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listConnectorDestinationsPaginator
default ListConnectorDestinationsPublisher listConnectorDestinationsPaginator(ListConnectorDestinationsRequest listConnectorDestinationsRequest) This is a variant of
listConnectorDestinations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListConnectorDestinationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListConnectorDestinationsPublisher publisher = client.listConnectorDestinationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListConnectorDestinationsPublisher publisher = client.listConnectorDestinationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListConnectorDestinationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListConnectorDestinationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConnectorDestinations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListConnectorDestinationsRequest)
operation.- Parameters:
listConnectorDestinationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listConnectorDestinationsPaginator
default ListConnectorDestinationsPublisher listConnectorDestinationsPaginator(Consumer<ListConnectorDestinationsRequest.Builder> listConnectorDestinationsRequest) This is a variant of
listConnectorDestinations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListConnectorDestinationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListConnectorDestinationsPublisher publisher = client.listConnectorDestinationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListConnectorDestinationsPublisher publisher = client.listConnectorDestinationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListConnectorDestinationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListConnectorDestinationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConnectorDestinations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListConnectorDestinationsRequest)
operation.
This is a convenience which creates an instance of the
ListConnectorDestinationsRequest.Builder
avoiding the need to create one manually viaListConnectorDestinationsRequest.builder()
- Parameters:
listConnectorDestinationsRequest
- AConsumer
that will call methods onListConnectorDestinationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCredentialLockers
default CompletableFuture<ListCredentialLockersResponse> listCredentialLockers(ListCredentialLockersRequest listCredentialLockersRequest) List information on an existing credential locker.
- Parameters:
listCredentialLockersRequest
-- Returns:
- A Java Future containing the result of the ListCredentialLockers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCredentialLockers
default CompletableFuture<ListCredentialLockersResponse> listCredentialLockers(Consumer<ListCredentialLockersRequest.Builder> listCredentialLockersRequest) List information on an existing credential locker.
This is a convenience which creates an instance of the
ListCredentialLockersRequest.Builder
avoiding the need to create one manually viaListCredentialLockersRequest.builder()
- Parameters:
listCredentialLockersRequest
- AConsumer
that will call methods onListCredentialLockersRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListCredentialLockers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCredentialLockersPaginator
default ListCredentialLockersPublisher listCredentialLockersPaginator(ListCredentialLockersRequest listCredentialLockersRequest) This is a variant of
listCredentialLockers(software.amazon.awssdk.services.iotmanagedintegrations.model.ListCredentialLockersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListCredentialLockersPublisher publisher = client.listCredentialLockersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListCredentialLockersPublisher publisher = client.listCredentialLockersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListCredentialLockersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListCredentialLockersResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCredentialLockers(software.amazon.awssdk.services.iotmanagedintegrations.model.ListCredentialLockersRequest)
operation.- Parameters:
listCredentialLockersRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCredentialLockersPaginator
default ListCredentialLockersPublisher listCredentialLockersPaginator(Consumer<ListCredentialLockersRequest.Builder> listCredentialLockersRequest) This is a variant of
listCredentialLockers(software.amazon.awssdk.services.iotmanagedintegrations.model.ListCredentialLockersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListCredentialLockersPublisher publisher = client.listCredentialLockersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListCredentialLockersPublisher publisher = client.listCredentialLockersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListCredentialLockersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListCredentialLockersResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCredentialLockers(software.amazon.awssdk.services.iotmanagedintegrations.model.ListCredentialLockersRequest)
operation.
This is a convenience which creates an instance of the
ListCredentialLockersRequest.Builder
avoiding the need to create one manually viaListCredentialLockersRequest.builder()
- Parameters:
listCredentialLockersRequest
- AConsumer
that will call methods onListCredentialLockersRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDestinations
default CompletableFuture<ListDestinationsResponse> listDestinations(ListDestinationsRequest listDestinationsRequest) List all destination names under one Amazon Web Services account.
- Parameters:
listDestinationsRequest
-- Returns:
- A Java Future containing the result of the ListDestinations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDestinations
default CompletableFuture<ListDestinationsResponse> listDestinations(Consumer<ListDestinationsRequest.Builder> listDestinationsRequest) List all destination names under one Amazon Web Services account.
This is a convenience which creates an instance of the
ListDestinationsRequest.Builder
avoiding the need to create one manually viaListDestinationsRequest.builder()
- Parameters:
listDestinationsRequest
- AConsumer
that will call methods onListDestinationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListDestinations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDestinationsPaginator
default ListDestinationsPublisher listDestinationsPaginator(ListDestinationsRequest listDestinationsRequest) This is a variant of
listDestinations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListDestinationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListDestinationsPublisher publisher = client.listDestinationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListDestinationsPublisher publisher = client.listDestinationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListDestinationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListDestinationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDestinations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListDestinationsRequest)
operation.- Parameters:
listDestinationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDestinationsPaginator
default ListDestinationsPublisher listDestinationsPaginator(Consumer<ListDestinationsRequest.Builder> listDestinationsRequest) This is a variant of
listDestinations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListDestinationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListDestinationsPublisher publisher = client.listDestinationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListDestinationsPublisher publisher = client.listDestinationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListDestinationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListDestinationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDestinations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListDestinationsRequest)
operation.
This is a convenience which creates an instance of the
ListDestinationsRequest.Builder
avoiding the need to create one manually viaListDestinationsRequest.builder()
- Parameters:
listDestinationsRequest
- AConsumer
that will call methods onListDestinationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDeviceDiscoveries
default CompletableFuture<ListDeviceDiscoveriesResponse> listDeviceDiscoveries(ListDeviceDiscoveriesRequest listDeviceDiscoveriesRequest) Lists all device discovery tasks, with optional filtering by type and status.
- Parameters:
listDeviceDiscoveriesRequest
-- Returns:
- A Java Future containing the result of the ListDeviceDiscoveries operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDeviceDiscoveries
default CompletableFuture<ListDeviceDiscoveriesResponse> listDeviceDiscoveries(Consumer<ListDeviceDiscoveriesRequest.Builder> listDeviceDiscoveriesRequest) Lists all device discovery tasks, with optional filtering by type and status.
This is a convenience which creates an instance of the
ListDeviceDiscoveriesRequest.Builder
avoiding the need to create one manually viaListDeviceDiscoveriesRequest.builder()
- Parameters:
listDeviceDiscoveriesRequest
- AConsumer
that will call methods onListDeviceDiscoveriesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListDeviceDiscoveries operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDeviceDiscoveriesPaginator
default ListDeviceDiscoveriesPublisher listDeviceDiscoveriesPaginator(ListDeviceDiscoveriesRequest listDeviceDiscoveriesRequest) This is a variant of
listDeviceDiscoveries(software.amazon.awssdk.services.iotmanagedintegrations.model.ListDeviceDiscoveriesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListDeviceDiscoveriesPublisher publisher = client.listDeviceDiscoveriesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListDeviceDiscoveriesPublisher publisher = client.listDeviceDiscoveriesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListDeviceDiscoveriesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListDeviceDiscoveriesResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDeviceDiscoveries(software.amazon.awssdk.services.iotmanagedintegrations.model.ListDeviceDiscoveriesRequest)
operation.- Parameters:
listDeviceDiscoveriesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDeviceDiscoveriesPaginator
default ListDeviceDiscoveriesPublisher listDeviceDiscoveriesPaginator(Consumer<ListDeviceDiscoveriesRequest.Builder> listDeviceDiscoveriesRequest) This is a variant of
listDeviceDiscoveries(software.amazon.awssdk.services.iotmanagedintegrations.model.ListDeviceDiscoveriesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListDeviceDiscoveriesPublisher publisher = client.listDeviceDiscoveriesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListDeviceDiscoveriesPublisher publisher = client.listDeviceDiscoveriesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListDeviceDiscoveriesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListDeviceDiscoveriesResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDeviceDiscoveries(software.amazon.awssdk.services.iotmanagedintegrations.model.ListDeviceDiscoveriesRequest)
operation.
This is a convenience which creates an instance of the
ListDeviceDiscoveriesRequest.Builder
avoiding the need to create one manually viaListDeviceDiscoveriesRequest.builder()
- Parameters:
listDeviceDiscoveriesRequest
- AConsumer
that will call methods onListDeviceDiscoveriesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDiscoveredDevices
default CompletableFuture<ListDiscoveredDevicesResponse> listDiscoveredDevices(ListDiscoveredDevicesRequest listDiscoveredDevicesRequest) Lists all devices discovered during a specific device discovery task.
- Parameters:
listDiscoveredDevicesRequest
-- Returns:
- A Java Future containing the result of the ListDiscoveredDevices operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDiscoveredDevices
default CompletableFuture<ListDiscoveredDevicesResponse> listDiscoveredDevices(Consumer<ListDiscoveredDevicesRequest.Builder> listDiscoveredDevicesRequest) Lists all devices discovered during a specific device discovery task.
This is a convenience which creates an instance of the
ListDiscoveredDevicesRequest.Builder
avoiding the need to create one manually viaListDiscoveredDevicesRequest.builder()
- Parameters:
listDiscoveredDevicesRequest
- AConsumer
that will call methods onListDiscoveredDevicesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListDiscoveredDevices operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDiscoveredDevicesPaginator
default ListDiscoveredDevicesPublisher listDiscoveredDevicesPaginator(ListDiscoveredDevicesRequest listDiscoveredDevicesRequest) This is a variant of
listDiscoveredDevices(software.amazon.awssdk.services.iotmanagedintegrations.model.ListDiscoveredDevicesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListDiscoveredDevicesPublisher publisher = client.listDiscoveredDevicesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListDiscoveredDevicesPublisher publisher = client.listDiscoveredDevicesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListDiscoveredDevicesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListDiscoveredDevicesResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDiscoveredDevices(software.amazon.awssdk.services.iotmanagedintegrations.model.ListDiscoveredDevicesRequest)
operation.- Parameters:
listDiscoveredDevicesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDiscoveredDevicesPaginator
default ListDiscoveredDevicesPublisher listDiscoveredDevicesPaginator(Consumer<ListDiscoveredDevicesRequest.Builder> listDiscoveredDevicesRequest) This is a variant of
listDiscoveredDevices(software.amazon.awssdk.services.iotmanagedintegrations.model.ListDiscoveredDevicesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListDiscoveredDevicesPublisher publisher = client.listDiscoveredDevicesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListDiscoveredDevicesPublisher publisher = client.listDiscoveredDevicesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListDiscoveredDevicesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListDiscoveredDevicesResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDiscoveredDevices(software.amazon.awssdk.services.iotmanagedintegrations.model.ListDiscoveredDevicesRequest)
operation.
This is a convenience which creates an instance of the
ListDiscoveredDevicesRequest.Builder
avoiding the need to create one manually viaListDiscoveredDevicesRequest.builder()
- Parameters:
listDiscoveredDevicesRequest
- AConsumer
that will call methods onListDiscoveredDevicesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEventLogConfigurations
default CompletableFuture<ListEventLogConfigurationsResponse> listEventLogConfigurations(ListEventLogConfigurationsRequest listEventLogConfigurationsRequest) List all event log configurations for an account.
- Parameters:
listEventLogConfigurationsRequest
-- Returns:
- A Java Future containing the result of the ListEventLogConfigurations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEventLogConfigurations
default CompletableFuture<ListEventLogConfigurationsResponse> listEventLogConfigurations(Consumer<ListEventLogConfigurationsRequest.Builder> listEventLogConfigurationsRequest) List all event log configurations for an account.
This is a convenience which creates an instance of the
ListEventLogConfigurationsRequest.Builder
avoiding the need to create one manually viaListEventLogConfigurationsRequest.builder()
- Parameters:
listEventLogConfigurationsRequest
- AConsumer
that will call methods onListEventLogConfigurationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListEventLogConfigurations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEventLogConfigurationsPaginator
default ListEventLogConfigurationsPublisher listEventLogConfigurationsPaginator(ListEventLogConfigurationsRequest listEventLogConfigurationsRequest) This is a variant of
listEventLogConfigurations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListEventLogConfigurationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListEventLogConfigurationsPublisher publisher = client.listEventLogConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListEventLogConfigurationsPublisher publisher = client.listEventLogConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListEventLogConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListEventLogConfigurationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEventLogConfigurations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListEventLogConfigurationsRequest)
operation.- Parameters:
listEventLogConfigurationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEventLogConfigurationsPaginator
default ListEventLogConfigurationsPublisher listEventLogConfigurationsPaginator(Consumer<ListEventLogConfigurationsRequest.Builder> listEventLogConfigurationsRequest) This is a variant of
listEventLogConfigurations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListEventLogConfigurationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListEventLogConfigurationsPublisher publisher = client.listEventLogConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListEventLogConfigurationsPublisher publisher = client.listEventLogConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListEventLogConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListEventLogConfigurationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEventLogConfigurations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListEventLogConfigurationsRequest)
operation.
This is a convenience which creates an instance of the
ListEventLogConfigurationsRequest.Builder
avoiding the need to create one manually viaListEventLogConfigurationsRequest.builder()
- Parameters:
listEventLogConfigurationsRequest
- AConsumer
that will call methods onListEventLogConfigurationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listManagedThingAccountAssociations
default CompletableFuture<ListManagedThingAccountAssociationsResponse> listManagedThingAccountAssociations(ListManagedThingAccountAssociationsRequest listManagedThingAccountAssociationsRequest) Lists all account associations for a specific managed thing.
- Parameters:
listManagedThingAccountAssociationsRequest
-- Returns:
- A Java Future containing the result of the ListManagedThingAccountAssociations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listManagedThingAccountAssociations
default CompletableFuture<ListManagedThingAccountAssociationsResponse> listManagedThingAccountAssociations(Consumer<ListManagedThingAccountAssociationsRequest.Builder> listManagedThingAccountAssociationsRequest) Lists all account associations for a specific managed thing.
This is a convenience which creates an instance of the
ListManagedThingAccountAssociationsRequest.Builder
avoiding the need to create one manually viaListManagedThingAccountAssociationsRequest.builder()
- Parameters:
listManagedThingAccountAssociationsRequest
- AConsumer
that will call methods onListManagedThingAccountAssociationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListManagedThingAccountAssociations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listManagedThingAccountAssociationsPaginator
default ListManagedThingAccountAssociationsPublisher listManagedThingAccountAssociationsPaginator(ListManagedThingAccountAssociationsRequest listManagedThingAccountAssociationsRequest) This is a variant of
listManagedThingAccountAssociations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingAccountAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListManagedThingAccountAssociationsPublisher publisher = client.listManagedThingAccountAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListManagedThingAccountAssociationsPublisher publisher = client.listManagedThingAccountAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingAccountAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingAccountAssociationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedThingAccountAssociations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingAccountAssociationsRequest)
operation.- Parameters:
listManagedThingAccountAssociationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listManagedThingAccountAssociationsPaginator
default ListManagedThingAccountAssociationsPublisher listManagedThingAccountAssociationsPaginator(Consumer<ListManagedThingAccountAssociationsRequest.Builder> listManagedThingAccountAssociationsRequest) This is a variant of
listManagedThingAccountAssociations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingAccountAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListManagedThingAccountAssociationsPublisher publisher = client.listManagedThingAccountAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListManagedThingAccountAssociationsPublisher publisher = client.listManagedThingAccountAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingAccountAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingAccountAssociationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedThingAccountAssociations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingAccountAssociationsRequest)
operation.
This is a convenience which creates an instance of the
ListManagedThingAccountAssociationsRequest.Builder
avoiding the need to create one manually viaListManagedThingAccountAssociationsRequest.builder()
- Parameters:
listManagedThingAccountAssociationsRequest
- AConsumer
that will call methods onListManagedThingAccountAssociationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listManagedThingSchemas
default CompletableFuture<ListManagedThingSchemasResponse> listManagedThingSchemas(ListManagedThingSchemasRequest listManagedThingSchemasRequest) List schemas associated with a managed thing.
- Parameters:
listManagedThingSchemasRequest
-- Returns:
- A Java Future containing the result of the ListManagedThingSchemas operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listManagedThingSchemas
default CompletableFuture<ListManagedThingSchemasResponse> listManagedThingSchemas(Consumer<ListManagedThingSchemasRequest.Builder> listManagedThingSchemasRequest) List schemas associated with a managed thing.
This is a convenience which creates an instance of the
ListManagedThingSchemasRequest.Builder
avoiding the need to create one manually viaListManagedThingSchemasRequest.builder()
- Parameters:
listManagedThingSchemasRequest
- AConsumer
that will call methods onListManagedThingSchemasRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListManagedThingSchemas operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listManagedThingSchemasPaginator
default ListManagedThingSchemasPublisher listManagedThingSchemasPaginator(ListManagedThingSchemasRequest listManagedThingSchemasRequest) This is a variant of
listManagedThingSchemas(software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingSchemasRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListManagedThingSchemasPublisher publisher = client.listManagedThingSchemasPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListManagedThingSchemasPublisher publisher = client.listManagedThingSchemasPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingSchemasResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingSchemasResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedThingSchemas(software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingSchemasRequest)
operation.- Parameters:
listManagedThingSchemasRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listManagedThingSchemasPaginator
default ListManagedThingSchemasPublisher listManagedThingSchemasPaginator(Consumer<ListManagedThingSchemasRequest.Builder> listManagedThingSchemasRequest) This is a variant of
listManagedThingSchemas(software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingSchemasRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListManagedThingSchemasPublisher publisher = client.listManagedThingSchemasPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListManagedThingSchemasPublisher publisher = client.listManagedThingSchemasPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingSchemasResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingSchemasResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedThingSchemas(software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingSchemasRequest)
operation.
This is a convenience which creates an instance of the
ListManagedThingSchemasRequest.Builder
avoiding the need to create one manually viaListManagedThingSchemasRequest.builder()
- Parameters:
listManagedThingSchemasRequest
- AConsumer
that will call methods onListManagedThingSchemasRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listManagedThings
default CompletableFuture<ListManagedThingsResponse> listManagedThings(ListManagedThingsRequest listManagedThingsRequest) Listing all managed things with provision for filters.
- Parameters:
listManagedThingsRequest
-- Returns:
- A Java Future containing the result of the ListManagedThings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listManagedThings
default CompletableFuture<ListManagedThingsResponse> listManagedThings(Consumer<ListManagedThingsRequest.Builder> listManagedThingsRequest) Listing all managed things with provision for filters.
This is a convenience which creates an instance of the
ListManagedThingsRequest.Builder
avoiding the need to create one manually viaListManagedThingsRequest.builder()
- Parameters:
listManagedThingsRequest
- AConsumer
that will call methods onListManagedThingsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListManagedThings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listManagedThingsPaginator
default ListManagedThingsPublisher listManagedThingsPaginator(ListManagedThingsRequest listManagedThingsRequest) This is a variant of
listManagedThings(software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListManagedThingsPublisher publisher = client.listManagedThingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListManagedThingsPublisher publisher = client.listManagedThingsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedThings(software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingsRequest)
operation.- Parameters:
listManagedThingsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listManagedThingsPaginator
default ListManagedThingsPublisher listManagedThingsPaginator(Consumer<ListManagedThingsRequest.Builder> listManagedThingsRequest) This is a variant of
listManagedThings(software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListManagedThingsPublisher publisher = client.listManagedThingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListManagedThingsPublisher publisher = client.listManagedThingsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedThings(software.amazon.awssdk.services.iotmanagedintegrations.model.ListManagedThingsRequest)
operation.
This is a convenience which creates an instance of the
ListManagedThingsRequest.Builder
avoiding the need to create one manually viaListManagedThingsRequest.builder()
- Parameters:
listManagedThingsRequest
- AConsumer
that will call methods onListManagedThingsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNotificationConfigurations
default CompletableFuture<ListNotificationConfigurationsResponse> listNotificationConfigurations(ListNotificationConfigurationsRequest listNotificationConfigurationsRequest) List all notification configurations.
- Parameters:
listNotificationConfigurationsRequest
-- Returns:
- A Java Future containing the result of the ListNotificationConfigurations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNotificationConfigurations
default CompletableFuture<ListNotificationConfigurationsResponse> listNotificationConfigurations(Consumer<ListNotificationConfigurationsRequest.Builder> listNotificationConfigurationsRequest) List all notification configurations.
This is a convenience which creates an instance of the
ListNotificationConfigurationsRequest.Builder
avoiding the need to create one manually viaListNotificationConfigurationsRequest.builder()
- Parameters:
listNotificationConfigurationsRequest
- AConsumer
that will call methods onListNotificationConfigurationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListNotificationConfigurations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNotificationConfigurationsPaginator
default ListNotificationConfigurationsPublisher listNotificationConfigurationsPaginator(ListNotificationConfigurationsRequest listNotificationConfigurationsRequest) This is a variant of
listNotificationConfigurations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListNotificationConfigurationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListNotificationConfigurationsPublisher publisher = client.listNotificationConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListNotificationConfigurationsPublisher publisher = client.listNotificationConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListNotificationConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListNotificationConfigurationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNotificationConfigurations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListNotificationConfigurationsRequest)
operation.- Parameters:
listNotificationConfigurationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNotificationConfigurationsPaginator
default ListNotificationConfigurationsPublisher listNotificationConfigurationsPaginator(Consumer<ListNotificationConfigurationsRequest.Builder> listNotificationConfigurationsRequest) This is a variant of
listNotificationConfigurations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListNotificationConfigurationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListNotificationConfigurationsPublisher publisher = client.listNotificationConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListNotificationConfigurationsPublisher publisher = client.listNotificationConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListNotificationConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListNotificationConfigurationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNotificationConfigurations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListNotificationConfigurationsRequest)
operation.
This is a convenience which creates an instance of the
ListNotificationConfigurationsRequest.Builder
avoiding the need to create one manually viaListNotificationConfigurationsRequest.builder()
- Parameters:
listNotificationConfigurationsRequest
- AConsumer
that will call methods onListNotificationConfigurationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOtaTaskConfigurations
default CompletableFuture<ListOtaTaskConfigurationsResponse> listOtaTaskConfigurations(ListOtaTaskConfigurationsRequest listOtaTaskConfigurationsRequest) List all of the over-the-air (OTA) task configurations.
- Parameters:
listOtaTaskConfigurationsRequest
-- Returns:
- A Java Future containing the result of the ListOtaTaskConfigurations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOtaTaskConfigurations
default CompletableFuture<ListOtaTaskConfigurationsResponse> listOtaTaskConfigurations(Consumer<ListOtaTaskConfigurationsRequest.Builder> listOtaTaskConfigurationsRequest) List all of the over-the-air (OTA) task configurations.
This is a convenience which creates an instance of the
ListOtaTaskConfigurationsRequest.Builder
avoiding the need to create one manually viaListOtaTaskConfigurationsRequest.builder()
- Parameters:
listOtaTaskConfigurationsRequest
- AConsumer
that will call methods onListOtaTaskConfigurationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListOtaTaskConfigurations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOtaTaskConfigurationsPaginator
default ListOtaTaskConfigurationsPublisher listOtaTaskConfigurationsPaginator(ListOtaTaskConfigurationsRequest listOtaTaskConfigurationsRequest) This is a variant of
listOtaTaskConfigurations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTaskConfigurationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListOtaTaskConfigurationsPublisher publisher = client.listOtaTaskConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListOtaTaskConfigurationsPublisher publisher = client.listOtaTaskConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTaskConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTaskConfigurationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOtaTaskConfigurations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTaskConfigurationsRequest)
operation.- Parameters:
listOtaTaskConfigurationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOtaTaskConfigurationsPaginator
default ListOtaTaskConfigurationsPublisher listOtaTaskConfigurationsPaginator(Consumer<ListOtaTaskConfigurationsRequest.Builder> listOtaTaskConfigurationsRequest) This is a variant of
listOtaTaskConfigurations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTaskConfigurationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListOtaTaskConfigurationsPublisher publisher = client.listOtaTaskConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListOtaTaskConfigurationsPublisher publisher = client.listOtaTaskConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTaskConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTaskConfigurationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOtaTaskConfigurations(software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTaskConfigurationsRequest)
operation.
This is a convenience which creates an instance of the
ListOtaTaskConfigurationsRequest.Builder
avoiding the need to create one manually viaListOtaTaskConfigurationsRequest.builder()
- Parameters:
listOtaTaskConfigurationsRequest
- AConsumer
that will call methods onListOtaTaskConfigurationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOtaTaskExecutions
default CompletableFuture<ListOtaTaskExecutionsResponse> listOtaTaskExecutions(ListOtaTaskExecutionsRequest listOtaTaskExecutionsRequest) List all of the over-the-air (OTA) task executions.
- Parameters:
listOtaTaskExecutionsRequest
-- Returns:
- A Java Future containing the result of the ListOtaTaskExecutions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- ResourceNotFoundException The specified resource does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOtaTaskExecutions
default CompletableFuture<ListOtaTaskExecutionsResponse> listOtaTaskExecutions(Consumer<ListOtaTaskExecutionsRequest.Builder> listOtaTaskExecutionsRequest) List all of the over-the-air (OTA) task executions.
This is a convenience which creates an instance of the
ListOtaTaskExecutionsRequest.Builder
avoiding the need to create one manually viaListOtaTaskExecutionsRequest.builder()
- Parameters:
listOtaTaskExecutionsRequest
- AConsumer
that will call methods onListOtaTaskExecutionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListOtaTaskExecutions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- ResourceNotFoundException The specified resource does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOtaTaskExecutionsPaginator
default ListOtaTaskExecutionsPublisher listOtaTaskExecutionsPaginator(ListOtaTaskExecutionsRequest listOtaTaskExecutionsRequest) This is a variant of
listOtaTaskExecutions(software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTaskExecutionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListOtaTaskExecutionsPublisher publisher = client.listOtaTaskExecutionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListOtaTaskExecutionsPublisher publisher = client.listOtaTaskExecutionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTaskExecutionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTaskExecutionsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOtaTaskExecutions(software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTaskExecutionsRequest)
operation.- Parameters:
listOtaTaskExecutionsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- ResourceNotFoundException The specified resource does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOtaTaskExecutionsPaginator
default ListOtaTaskExecutionsPublisher listOtaTaskExecutionsPaginator(Consumer<ListOtaTaskExecutionsRequest.Builder> listOtaTaskExecutionsRequest) This is a variant of
listOtaTaskExecutions(software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTaskExecutionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListOtaTaskExecutionsPublisher publisher = client.listOtaTaskExecutionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListOtaTaskExecutionsPublisher publisher = client.listOtaTaskExecutionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTaskExecutionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTaskExecutionsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOtaTaskExecutions(software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTaskExecutionsRequest)
operation.
This is a convenience which creates an instance of the
ListOtaTaskExecutionsRequest.Builder
avoiding the need to create one manually viaListOtaTaskExecutionsRequest.builder()
- Parameters:
listOtaTaskExecutionsRequest
- AConsumer
that will call methods onListOtaTaskExecutionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- ResourceNotFoundException The specified resource does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOtaTasks
default CompletableFuture<ListOtaTasksResponse> listOtaTasks(ListOtaTasksRequest listOtaTasksRequest) List all of the over-the-air (OTA) tasks.
- Parameters:
listOtaTasksRequest
-- Returns:
- A Java Future containing the result of the ListOtaTasks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- ResourceNotFoundException The specified resource does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOtaTasks
default CompletableFuture<ListOtaTasksResponse> listOtaTasks(Consumer<ListOtaTasksRequest.Builder> listOtaTasksRequest) List all of the over-the-air (OTA) tasks.
This is a convenience which creates an instance of the
ListOtaTasksRequest.Builder
avoiding the need to create one manually viaListOtaTasksRequest.builder()
- Parameters:
listOtaTasksRequest
- AConsumer
that will call methods onListOtaTasksRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListOtaTasks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- ResourceNotFoundException The specified resource does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOtaTasksPaginator
This is a variant of
listOtaTasks(software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTasksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListOtaTasksPublisher publisher = client.listOtaTasksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListOtaTasksPublisher publisher = client.listOtaTasksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTasksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTasksResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOtaTasks(software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTasksRequest)
operation.- Parameters:
listOtaTasksRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- ResourceNotFoundException The specified resource does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOtaTasksPaginator
default ListOtaTasksPublisher listOtaTasksPaginator(Consumer<ListOtaTasksRequest.Builder> listOtaTasksRequest) This is a variant of
listOtaTasks(software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTasksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListOtaTasksPublisher publisher = client.listOtaTasksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListOtaTasksPublisher publisher = client.listOtaTasksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTasksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTasksResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOtaTasks(software.amazon.awssdk.services.iotmanagedintegrations.model.ListOtaTasksRequest)
operation.
This is a convenience which creates an instance of the
ListOtaTasksRequest.Builder
avoiding the need to create one manually viaListOtaTasksRequest.builder()
- Parameters:
listOtaTasksRequest
- AConsumer
that will call methods onListOtaTasksRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ThrottlingException The rate exceeds the limit.
- ResourceNotFoundException The specified resource does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProvisioningProfiles
default CompletableFuture<ListProvisioningProfilesResponse> listProvisioningProfiles(ListProvisioningProfilesRequest listProvisioningProfilesRequest) List the provisioning profiles within the Amazon Web Services account.
- Parameters:
listProvisioningProfilesRequest
-- Returns:
- A Java Future containing the result of the ListProvisioningProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProvisioningProfiles
default CompletableFuture<ListProvisioningProfilesResponse> listProvisioningProfiles(Consumer<ListProvisioningProfilesRequest.Builder> listProvisioningProfilesRequest) List the provisioning profiles within the Amazon Web Services account.
This is a convenience which creates an instance of the
ListProvisioningProfilesRequest.Builder
avoiding the need to create one manually viaListProvisioningProfilesRequest.builder()
- Parameters:
listProvisioningProfilesRequest
- AConsumer
that will call methods onListProvisioningProfilesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListProvisioningProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProvisioningProfilesPaginator
default ListProvisioningProfilesPublisher listProvisioningProfilesPaginator(ListProvisioningProfilesRequest listProvisioningProfilesRequest) This is a variant of
listProvisioningProfiles(software.amazon.awssdk.services.iotmanagedintegrations.model.ListProvisioningProfilesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListProvisioningProfilesPublisher publisher = client.listProvisioningProfilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListProvisioningProfilesPublisher publisher = client.listProvisioningProfilesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListProvisioningProfilesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListProvisioningProfilesResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProvisioningProfiles(software.amazon.awssdk.services.iotmanagedintegrations.model.ListProvisioningProfilesRequest)
operation.- Parameters:
listProvisioningProfilesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProvisioningProfilesPaginator
default ListProvisioningProfilesPublisher listProvisioningProfilesPaginator(Consumer<ListProvisioningProfilesRequest.Builder> listProvisioningProfilesRequest) This is a variant of
listProvisioningProfiles(software.amazon.awssdk.services.iotmanagedintegrations.model.ListProvisioningProfilesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListProvisioningProfilesPublisher publisher = client.listProvisioningProfilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListProvisioningProfilesPublisher publisher = client.listProvisioningProfilesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListProvisioningProfilesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListProvisioningProfilesResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProvisioningProfiles(software.amazon.awssdk.services.iotmanagedintegrations.model.ListProvisioningProfilesRequest)
operation.
This is a convenience which creates an instance of the
ListProvisioningProfilesRequest.Builder
avoiding the need to create one manually viaListProvisioningProfilesRequest.builder()
- Parameters:
listProvisioningProfilesRequest
- AConsumer
that will call methods onListProvisioningProfilesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSchemaVersions
default CompletableFuture<ListSchemaVersionsResponse> listSchemaVersions(ListSchemaVersionsRequest listSchemaVersionsRequest) Lists schema versions with the provided information.
- Parameters:
listSchemaVersionsRequest
-- Returns:
- A Java Future containing the result of the ListSchemaVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ConflictException There is a conflict with the request.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSchemaVersions
default CompletableFuture<ListSchemaVersionsResponse> listSchemaVersions(Consumer<ListSchemaVersionsRequest.Builder> listSchemaVersionsRequest) Lists schema versions with the provided information.
This is a convenience which creates an instance of the
ListSchemaVersionsRequest.Builder
avoiding the need to create one manually viaListSchemaVersionsRequest.builder()
- Parameters:
listSchemaVersionsRequest
- AConsumer
that will call methods onListSchemaVersionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListSchemaVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ConflictException There is a conflict with the request.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSchemaVersionsPaginator
default ListSchemaVersionsPublisher listSchemaVersionsPaginator(ListSchemaVersionsRequest listSchemaVersionsRequest) This is a variant of
listSchemaVersions(software.amazon.awssdk.services.iotmanagedintegrations.model.ListSchemaVersionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListSchemaVersionsPublisher publisher = client.listSchemaVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListSchemaVersionsPublisher publisher = client.listSchemaVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListSchemaVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListSchemaVersionsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSchemaVersions(software.amazon.awssdk.services.iotmanagedintegrations.model.ListSchemaVersionsRequest)
operation.- Parameters:
listSchemaVersionsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ConflictException There is a conflict with the request.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSchemaVersionsPaginator
default ListSchemaVersionsPublisher listSchemaVersionsPaginator(Consumer<ListSchemaVersionsRequest.Builder> listSchemaVersionsRequest) This is a variant of
listSchemaVersions(software.amazon.awssdk.services.iotmanagedintegrations.model.ListSchemaVersionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iotmanagedintegrations.paginators.ListSchemaVersionsPublisher publisher = client.listSchemaVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iotmanagedintegrations.paginators.ListSchemaVersionsPublisher publisher = client.listSchemaVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotmanagedintegrations.model.ListSchemaVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iotmanagedintegrations.model.ListSchemaVersionsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSchemaVersions(software.amazon.awssdk.services.iotmanagedintegrations.model.ListSchemaVersionsRequest)
operation.
This is a convenience which creates an instance of the
ListSchemaVersionsRequest.Builder
avoiding the need to create one manually viaListSchemaVersionsRequest.builder()
- Parameters:
listSchemaVersionsRequest
- AConsumer
that will call methods onListSchemaVersionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ConflictException There is a conflict with the request.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) List tags for the specified resource.
- Parameters:
listTagsForResourceRequest
-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- UnauthorizedException You are not authorized to perform this operation.
- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) List tags for the specified resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- UnauthorizedException You are not authorized to perform this operation.
- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putDefaultEncryptionConfiguration
default CompletableFuture<PutDefaultEncryptionConfigurationResponse> putDefaultEncryptionConfiguration(PutDefaultEncryptionConfigurationRequest putDefaultEncryptionConfigurationRequest) Sets the default encryption configuration for the Amazon Web Services account. For more information, see Key management in the AWS IoT SiteWise User Guide.
- Parameters:
putDefaultEncryptionConfigurationRequest
-- Returns:
- A Java Future containing the result of the PutDefaultEncryptionConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalFailureException An unexpected error has occurred.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- ResourceNotFoundException The specified resource does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putDefaultEncryptionConfiguration
default CompletableFuture<PutDefaultEncryptionConfigurationResponse> putDefaultEncryptionConfiguration(Consumer<PutDefaultEncryptionConfigurationRequest.Builder> putDefaultEncryptionConfigurationRequest) Sets the default encryption configuration for the Amazon Web Services account. For more information, see Key management in the AWS IoT SiteWise User Guide.
This is a convenience which creates an instance of the
PutDefaultEncryptionConfigurationRequest.Builder
avoiding the need to create one manually viaPutDefaultEncryptionConfigurationRequest.builder()
- Parameters:
putDefaultEncryptionConfigurationRequest
- AConsumer
that will call methods onPutDefaultEncryptionConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutDefaultEncryptionConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalFailureException An unexpected error has occurred.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- ResourceNotFoundException The specified resource does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putHubConfiguration
default CompletableFuture<PutHubConfigurationResponse> putHubConfiguration(PutHubConfigurationRequest putHubConfigurationRequest) Update a hub configuration.
- Parameters:
putHubConfigurationRequest
-- Returns:
- A Java Future containing the result of the PutHubConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putHubConfiguration
default CompletableFuture<PutHubConfigurationResponse> putHubConfiguration(Consumer<PutHubConfigurationRequest.Builder> putHubConfigurationRequest) Update a hub configuration.
This is a convenience which creates an instance of the
PutHubConfigurationRequest.Builder
avoiding the need to create one manually viaPutHubConfigurationRequest.builder()
- Parameters:
putHubConfigurationRequest
- AConsumer
that will call methods onPutHubConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutHubConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putRuntimeLogConfiguration
default CompletableFuture<PutRuntimeLogConfigurationResponse> putRuntimeLogConfiguration(PutRuntimeLogConfigurationRequest putRuntimeLogConfigurationRequest) Set the runtime log configuration for a specific managed thing or for all managed things as a group.
- Parameters:
putRuntimeLogConfigurationRequest
-- Returns:
- A Java Future containing the result of the PutRuntimeLogConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putRuntimeLogConfiguration
default CompletableFuture<PutRuntimeLogConfigurationResponse> putRuntimeLogConfiguration(Consumer<PutRuntimeLogConfigurationRequest.Builder> putRuntimeLogConfigurationRequest) Set the runtime log configuration for a specific managed thing or for all managed things as a group.
This is a convenience which creates an instance of the
PutRuntimeLogConfigurationRequest.Builder
avoiding the need to create one manually viaPutRuntimeLogConfigurationRequest.builder()
- Parameters:
putRuntimeLogConfigurationRequest
- AConsumer
that will call methods onPutRuntimeLogConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutRuntimeLogConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
registerAccountAssociation
default CompletableFuture<RegisterAccountAssociationResponse> registerAccountAssociation(RegisterAccountAssociationRequest registerAccountAssociationRequest) Registers an account association with a managed thing, establishing a connection between a device and a third-party account.
- Parameters:
registerAccountAssociationRequest
-- Returns:
- A Java Future containing the result of the RegisterAccountAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ConflictException There is a conflict with the request.
- ThrottlingException The rate exceeds the limit.
- ResourceNotFoundException The specified resource does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
registerAccountAssociation
default CompletableFuture<RegisterAccountAssociationResponse> registerAccountAssociation(Consumer<RegisterAccountAssociationRequest.Builder> registerAccountAssociationRequest) Registers an account association with a managed thing, establishing a connection between a device and a third-party account.
This is a convenience which creates an instance of the
RegisterAccountAssociationRequest.Builder
avoiding the need to create one manually viaRegisterAccountAssociationRequest.builder()
- Parameters:
registerAccountAssociationRequest
- AConsumer
that will call methods onRegisterAccountAssociationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the RegisterAccountAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ConflictException There is a conflict with the request.
- ThrottlingException The rate exceeds the limit.
- ResourceNotFoundException The specified resource does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
registerCustomEndpoint
default CompletableFuture<RegisterCustomEndpointResponse> registerCustomEndpoint(RegisterCustomEndpointRequest registerCustomEndpointRequest) Customers can request IoT managed integrations to manage the server trust for them or bring their own external server trusts for the custom domain. Returns an IoT managed integrations endpoint.
- Parameters:
registerCustomEndpointRequest
-- Returns:
- A Java Future containing the result of the RegisterCustomEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ConflictException There is a conflict with the request.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
registerCustomEndpoint
default CompletableFuture<RegisterCustomEndpointResponse> registerCustomEndpoint(Consumer<RegisterCustomEndpointRequest.Builder> registerCustomEndpointRequest) Customers can request IoT managed integrations to manage the server trust for them or bring their own external server trusts for the custom domain. Returns an IoT managed integrations endpoint.
This is a convenience which creates an instance of the
RegisterCustomEndpointRequest.Builder
avoiding the need to create one manually viaRegisterCustomEndpointRequest.builder()
- Parameters:
registerCustomEndpointRequest
- AConsumer
that will call methods onRegisterCustomEndpointRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the RegisterCustomEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ConflictException There is a conflict with the request.
- ServiceUnavailableException The service is temporarily unavailable.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
resetRuntimeLogConfiguration
default CompletableFuture<ResetRuntimeLogConfigurationResponse> resetRuntimeLogConfiguration(ResetRuntimeLogConfigurationRequest resetRuntimeLogConfigurationRequest) Reset a runtime log configuration for a specific managed thing or for all managed things as a group.
- Parameters:
resetRuntimeLogConfigurationRequest
-- Returns:
- A Java Future containing the result of the ResetRuntimeLogConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
resetRuntimeLogConfiguration
default CompletableFuture<ResetRuntimeLogConfigurationResponse> resetRuntimeLogConfiguration(Consumer<ResetRuntimeLogConfigurationRequest.Builder> resetRuntimeLogConfigurationRequest) Reset a runtime log configuration for a specific managed thing or for all managed things as a group.
This is a convenience which creates an instance of the
ResetRuntimeLogConfigurationRequest.Builder
avoiding the need to create one manually viaResetRuntimeLogConfigurationRequest.builder()
- Parameters:
resetRuntimeLogConfigurationRequest
- AConsumer
that will call methods onResetRuntimeLogConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ResetRuntimeLogConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
sendConnectorEvent
default CompletableFuture<SendConnectorEventResponse> sendConnectorEvent(SendConnectorEventRequest sendConnectorEventRequest) Relays third-party device events for a connector such as a new device or a device state change event.
- Parameters:
sendConnectorEventRequest
-- Returns:
- A Java Future containing the result of the SendConnectorEvent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
sendConnectorEvent
default CompletableFuture<SendConnectorEventResponse> sendConnectorEvent(Consumer<SendConnectorEventRequest.Builder> sendConnectorEventRequest) Relays third-party device events for a connector such as a new device or a device state change event.
This is a convenience which creates an instance of the
SendConnectorEventRequest.Builder
avoiding the need to create one manually viaSendConnectorEventRequest.builder()
- Parameters:
sendConnectorEventRequest
- AConsumer
that will call methods onSendConnectorEventRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the SendConnectorEvent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
sendManagedThingCommand
default CompletableFuture<SendManagedThingCommandResponse> sendManagedThingCommand(SendManagedThingCommandRequest sendManagedThingCommandRequest) Send the command to the device represented by the managed thing.
- Parameters:
sendManagedThingCommandRequest
-- Returns:
- A Java Future containing the result of the SendManagedThingCommand operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
sendManagedThingCommand
default CompletableFuture<SendManagedThingCommandResponse> sendManagedThingCommand(Consumer<SendManagedThingCommandRequest.Builder> sendManagedThingCommandRequest) Send the command to the device represented by the managed thing.
This is a convenience which creates an instance of the
SendManagedThingCommandRequest.Builder
avoiding the need to create one manually viaSendManagedThingCommandRequest.builder()
- Parameters:
sendManagedThingCommandRequest
- AConsumer
that will call methods onSendManagedThingCommandRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the SendManagedThingCommand operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startAccountAssociationRefresh
default CompletableFuture<StartAccountAssociationRefreshResponse> startAccountAssociationRefresh(StartAccountAssociationRefreshRequest startAccountAssociationRefreshRequest) Initiates a refresh of an existing account association to update its authorization and connection status.
- Parameters:
startAccountAssociationRefreshRequest
-- Returns:
- A Java Future containing the result of the StartAccountAssociationRefresh operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startAccountAssociationRefresh
default CompletableFuture<StartAccountAssociationRefreshResponse> startAccountAssociationRefresh(Consumer<StartAccountAssociationRefreshRequest.Builder> startAccountAssociationRefreshRequest) Initiates a refresh of an existing account association to update its authorization and connection status.
This is a convenience which creates an instance of the
StartAccountAssociationRefreshRequest.Builder
avoiding the need to create one manually viaStartAccountAssociationRefreshRequest.builder()
- Parameters:
startAccountAssociationRefreshRequest
- AConsumer
that will call methods onStartAccountAssociationRefreshRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartAccountAssociationRefresh operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startDeviceDiscovery
default CompletableFuture<StartDeviceDiscoveryResponse> startDeviceDiscovery(StartDeviceDiscoveryRequest startDeviceDiscoveryRequest) This API is used to start device discovery for hub-connected and third-party-connected devices. The authentication material (install code) is passed as a message to the controller telling it to start the discovery.
- Parameters:
startDeviceDiscoveryRequest
-- Returns:
- A Java Future containing the result of the StartDeviceDiscovery operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ConflictException There is a conflict with the request.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startDeviceDiscovery
default CompletableFuture<StartDeviceDiscoveryResponse> startDeviceDiscovery(Consumer<StartDeviceDiscoveryRequest.Builder> startDeviceDiscoveryRequest) This API is used to start device discovery for hub-connected and third-party-connected devices. The authentication material (install code) is passed as a message to the controller telling it to start the discovery.
This is a convenience which creates an instance of the
StartDeviceDiscoveryRequest.Builder
avoiding the need to create one manually viaStartDeviceDiscoveryRequest.builder()
- Parameters:
startDeviceDiscoveryRequest
- AConsumer
that will call methods onStartDeviceDiscoveryRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartDeviceDiscovery operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ConflictException There is a conflict with the request.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Add tags for the specified resource.
- Parameters:
tagResourceRequest
-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- UnauthorizedException You are not authorized to perform this operation.
- ConflictException There is a conflict with the request.
- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Add tags for the specified resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- UnauthorizedException You are not authorized to perform this operation.
- ConflictException There is a conflict with the request.
- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Remove tags for the specified resource.
- Parameters:
untagResourceRequest
-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- UnauthorizedException You are not authorized to perform this operation.
- ConflictException There is a conflict with the request.
- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Remove tags for the specified resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- UnauthorizedException You are not authorized to perform this operation.
- ConflictException There is a conflict with the request.
- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAccountAssociation
default CompletableFuture<UpdateAccountAssociationResponse> updateAccountAssociation(UpdateAccountAssociationRequest updateAccountAssociationRequest) Updates the properties of an existing account association.
- Parameters:
updateAccountAssociationRequest
-- Returns:
- A Java Future containing the result of the UpdateAccountAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ConflictException There is a conflict with the request.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAccountAssociation
default CompletableFuture<UpdateAccountAssociationResponse> updateAccountAssociation(Consumer<UpdateAccountAssociationRequest.Builder> updateAccountAssociationRequest) Updates the properties of an existing account association.
This is a convenience which creates an instance of the
UpdateAccountAssociationRequest.Builder
avoiding the need to create one manually viaUpdateAccountAssociationRequest.builder()
- Parameters:
updateAccountAssociationRequest
- AConsumer
that will call methods onUpdateAccountAssociationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateAccountAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ConflictException There is a conflict with the request.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateCloudConnector
default CompletableFuture<UpdateCloudConnectorResponse> updateCloudConnector(UpdateCloudConnectorRequest updateCloudConnectorRequest) Update an existing cloud connector.
- Parameters:
updateCloudConnectorRequest
-- Returns:
- A Java Future containing the result of the UpdateCloudConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateCloudConnector
default CompletableFuture<UpdateCloudConnectorResponse> updateCloudConnector(Consumer<UpdateCloudConnectorRequest.Builder> updateCloudConnectorRequest) Update an existing cloud connector.
This is a convenience which creates an instance of the
UpdateCloudConnectorRequest.Builder
avoiding the need to create one manually viaUpdateCloudConnectorRequest.builder()
- Parameters:
updateCloudConnectorRequest
- AConsumer
that will call methods onUpdateCloudConnectorRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateCloudConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateConnectorDestination
default CompletableFuture<UpdateConnectorDestinationResponse> updateConnectorDestination(UpdateConnectorDestinationRequest updateConnectorDestinationRequest) Updates the properties of an existing connector destination.
- Parameters:
updateConnectorDestinationRequest
-- Returns:
- A Java Future containing the result of the UpdateConnectorDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateConnectorDestination
default CompletableFuture<UpdateConnectorDestinationResponse> updateConnectorDestination(Consumer<UpdateConnectorDestinationRequest.Builder> updateConnectorDestinationRequest) Updates the properties of an existing connector destination.
This is a convenience which creates an instance of the
UpdateConnectorDestinationRequest.Builder
avoiding the need to create one manually viaUpdateConnectorDestinationRequest.builder()
- Parameters:
updateConnectorDestinationRequest
- AConsumer
that will call methods onUpdateConnectorDestinationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateConnectorDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateDestination
default CompletableFuture<UpdateDestinationResponse> updateDestination(UpdateDestinationRequest updateDestinationRequest) Update a destination specified by id.
- Parameters:
updateDestinationRequest
-- Returns:
- A Java Future containing the result of the UpdateDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateDestination
default CompletableFuture<UpdateDestinationResponse> updateDestination(Consumer<UpdateDestinationRequest.Builder> updateDestinationRequest) Update a destination specified by id.
This is a convenience which creates an instance of the
UpdateDestinationRequest.Builder
avoiding the need to create one manually viaUpdateDestinationRequest.builder()
- Parameters:
updateDestinationRequest
- AConsumer
that will call methods onUpdateDestinationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEventLogConfiguration
default CompletableFuture<UpdateEventLogConfigurationResponse> updateEventLogConfiguration(UpdateEventLogConfigurationRequest updateEventLogConfigurationRequest) Update an event log configuration by log configuration ID.
- Parameters:
updateEventLogConfigurationRequest
-- Returns:
- A Java Future containing the result of the UpdateEventLogConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEventLogConfiguration
default CompletableFuture<UpdateEventLogConfigurationResponse> updateEventLogConfiguration(Consumer<UpdateEventLogConfigurationRequest.Builder> updateEventLogConfigurationRequest) Update an event log configuration by log configuration ID.
This is a convenience which creates an instance of the
UpdateEventLogConfigurationRequest.Builder
avoiding the need to create one manually viaUpdateEventLogConfigurationRequest.builder()
- Parameters:
updateEventLogConfigurationRequest
- AConsumer
that will call methods onUpdateEventLogConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateEventLogConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateManagedThing
default CompletableFuture<UpdateManagedThingResponse> updateManagedThing(UpdateManagedThingRequest updateManagedThingRequest) Update the attributes and capabilities associated with a managed thing.
- Parameters:
updateManagedThingRequest
-- Returns:
- A Java Future containing the result of the UpdateManagedThing operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ConflictException There is a conflict with the request.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateManagedThing
default CompletableFuture<UpdateManagedThingResponse> updateManagedThing(Consumer<UpdateManagedThingRequest.Builder> updateManagedThingRequest) Update the attributes and capabilities associated with a managed thing.
This is a convenience which creates an instance of the
UpdateManagedThingRequest.Builder
avoiding the need to create one manually viaUpdateManagedThingRequest.builder()
- Parameters:
updateManagedThingRequest
- AConsumer
that will call methods onUpdateManagedThingRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateManagedThing operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException A validation error occurred when performing the API request.
- AccessDeniedException User is not authorized.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- UnauthorizedException You are not authorized to perform this operation.
- ConflictException There is a conflict with the request.
- ServiceUnavailableException The service is temporarily unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateNotificationConfiguration
default CompletableFuture<UpdateNotificationConfigurationResponse> updateNotificationConfiguration(UpdateNotificationConfigurationRequest updateNotificationConfigurationRequest) Update a notification configuration.
- Parameters:
updateNotificationConfigurationRequest
-- Returns:
- A Java Future containing the result of the UpdateNotificationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateNotificationConfiguration
default CompletableFuture<UpdateNotificationConfigurationResponse> updateNotificationConfiguration(Consumer<UpdateNotificationConfigurationRequest.Builder> updateNotificationConfigurationRequest) Update a notification configuration.
This is a convenience which creates an instance of the
UpdateNotificationConfigurationRequest.Builder
avoiding the need to create one manually viaUpdateNotificationConfigurationRequest.builder()
- Parameters:
updateNotificationConfigurationRequest
- AConsumer
that will call methods onUpdateNotificationConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateNotificationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateOtaTask
default CompletableFuture<UpdateOtaTaskResponse> updateOtaTask(UpdateOtaTaskRequest updateOtaTaskRequest) Update an over-the-air (OTA) task.
- Parameters:
updateOtaTaskRequest
-- Returns:
- A Java Future containing the result of the UpdateOtaTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateOtaTask
default CompletableFuture<UpdateOtaTaskResponse> updateOtaTask(Consumer<UpdateOtaTaskRequest.Builder> updateOtaTaskRequest) Update an over-the-air (OTA) task.
This is a convenience which creates an instance of the
UpdateOtaTaskRequest.Builder
avoiding the need to create one manually viaUpdateOtaTaskRequest.builder()
- Parameters:
updateOtaTaskRequest
- AConsumer
that will call methods onUpdateOtaTaskRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateOtaTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException User is not authorized.
- ValidationException A validation error occurred when performing the API request.
- InternalServerException Internal error from the service that indicates an unexpected error or that the service is unavailable.
- ResourceNotFoundException The specified resource does not exist.
- ThrottlingException The rate exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotManagedIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aIotManagedIntegrationsAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aIotManagedIntegrationsAsyncClient
.
-