Package-level declarations

Types

Link copied to clipboard

AWS IoT Greengrass seamlessly extends AWS onto physical devices so they can act locally on the data they generate, while still using the cloud for management, analytics, and durable storage. AWS IoT Greengrass ensures your devices can respond quickly to local events and operate with intermittent connectivity. AWS IoT Greengrass minimizes the cost of transmitting data to the cloud by allowing you to author AWS Lambda functions that execute locally.

Properties

Link copied to clipboard
const val SdkVersion: String
Link copied to clipboard
Link copied to clipboard
const val ServiceId: String

Functions

Link copied to clipboard

Associates a role with a group. Your Greengrass core will use the role to access AWS cloud services. The role's permissions should allow Greengrass core Lambda functions to perform actions against the cloud.

Link copied to clipboard

Associates a role with your account. AWS IoT Greengrass will use the role to access your Lambda functions and AWS IoT resources. This is necessary for deployments to succeed. The role must have at least minimum permissions in the policy ''AWSGreengrassResourceAccessRolePolicy''.

Link copied to clipboard

Creates a connector definition. You may provide the initial version of the connector definition now or use ''CreateConnectorDefinitionVersion'' at a later time.

Link copied to clipboard

Creates a version of a connector definition which has already been defined.

Link copied to clipboard

Creates a core definition. You may provide the initial version of the core definition now or use ''CreateCoreDefinitionVersion'' at a later time. Greengrass groups must each contain exactly one Greengrass core.

Link copied to clipboard

Creates a version of a core definition that has already been defined. Greengrass groups must each contain exactly one Greengrass core.

Link copied to clipboard

Creates a deployment. ''CreateDeployment'' requests are idempotent with respect to the ''X-Amzn-Client-Token'' token and the request parameters.

Link copied to clipboard

Creates a device definition. You may provide the initial version of the device definition now or use ''CreateDeviceDefinitionVersion'' at a later time.

Link copied to clipboard

Creates a version of a device definition that has already been defined.

Link copied to clipboard

Creates a Lambda function definition which contains a list of Lambda functions and their configurations to be used in a group. You can create an initial version of the definition by providing a list of Lambda functions and their configurations now, or use ''CreateFunctionDefinitionVersion'' later.

Link copied to clipboard

Creates a version of a Lambda function definition that has already been defined.

Link copied to clipboard

Creates a group. You may provide the initial version of the group or use ''CreateGroupVersion'' at a later time. Tip: You can use the ''gg_group_setup'' package (https://github.com/awslabs/aws-greengrass-group-setup) as a library or command-line application to create and deploy Greengrass groups.

Link copied to clipboard

Creates a CA for the group. If a CA already exists, it will rotate the existing CA.

Link copied to clipboard

Creates a version of a group which has already been defined.

Link copied to clipboard

Creates a logger definition. You may provide the initial version of the logger definition now or use ''CreateLoggerDefinitionVersion'' at a later time.

Link copied to clipboard

Creates a version of a logger definition that has already been defined.

Link copied to clipboard

Creates a resource definition which contains a list of resources to be used in a group. You can create an initial version of the definition by providing a list of resources now, or use ''CreateResourceDefinitionVersion'' later.

Link copied to clipboard

Creates a version of a resource definition that has already been defined.

Link copied to clipboard

Creates a software update for a core or group of cores (specified as an IoT thing group.) Use this to update the OTA Agent as well as the Greengrass core software. It makes use of the IoT Jobs feature which provides additional commands to manage a Greengrass core software update job.

Link copied to clipboard

Creates a subscription definition. You may provide the initial version of the subscription definition now or use ''CreateSubscriptionDefinitionVersion'' at a later time.

Link copied to clipboard

Creates a version of a subscription definition which has already been defined.

Link copied to clipboard

Deletes a connector definition.

Link copied to clipboard

Deletes a core definition.

Link copied to clipboard

Deletes a device definition.

Link copied to clipboard

Deletes a Lambda function definition.

Link copied to clipboard

Deletes a group.

Link copied to clipboard

Deletes a logger definition.

Link copied to clipboard

Deletes a resource definition.

Link copied to clipboard
Link copied to clipboard

Disassociates the role from a group.

Link copied to clipboard

Disassociates the service role from your account. Without a service role, deployments will not work.

Link copied to clipboard

Retrieves the role associated with a particular group.

Link copied to clipboard

Returns the status of a bulk deployment.

Link copied to clipboard

Retrieves the connectivity information for a core.

Link copied to clipboard

Retrieves information about a connector definition.

Link copied to clipboard

Retrieves information about a connector definition version, including the connectors that the version contains. Connectors are prebuilt modules that interact with local infrastructure, device protocols, AWS, and other cloud services.

Link copied to clipboard

Retrieves information about a core definition version.

Link copied to clipboard

Retrieves information about a core definition version.

Link copied to clipboard

Returns the status of a deployment.

Link copied to clipboard

Retrieves information about a device definition.

Link copied to clipboard

Retrieves information about a device definition version.

Link copied to clipboard

Retrieves information about a Lambda function definition, including its creation time and latest version.

Link copied to clipboard

Retrieves information about a Lambda function definition version, including which Lambda functions are included in the version and their configurations.

Link copied to clipboard
inline suspend fun GreengrassClient.getGroup(crossinline block: GetGroupRequest.Builder.() -> Unit): GetGroupResponse

Retrieves information about a group.

Link copied to clipboard

Retreives the CA associated with a group. Returns the public key of the CA.

Link copied to clipboard

Retrieves the current configuration for the CA used by the group.

Link copied to clipboard

Retrieves information about a group version.

Link copied to clipboard

Retrieves information about a logger definition.

Link copied to clipboard

Retrieves information about a logger definition version.

Link copied to clipboard

Retrieves information about a resource definition, including its creation time and latest version.

Link copied to clipboard

Retrieves information about a resource definition version, including which resources are included in the version.

Link copied to clipboard

Retrieves the service role that is attached to your account.

Link copied to clipboard

Retrieves information about a subscription definition.

Link copied to clipboard

Retrieves information about a subscription definition version.

Link copied to clipboard

Get the runtime configuration of a thing.

Link copied to clipboard

Gets a paginated list of the deployments that have been started in a bulk deployment operation, and their current deployment status.

Link copied to clipboard

Returns a list of bulk deployments.

Link copied to clipboard

Retrieves a list of connector definitions.

Link copied to clipboard

Lists the versions of a connector definition, which are containers for connectors. Connectors run on the Greengrass core and contain built-in integration with local infrastructure, device protocols, AWS, and other cloud services.

Link copied to clipboard

Retrieves a list of core definitions.

Link copied to clipboard

Lists the versions of a core definition.

Link copied to clipboard

Returns a history of deployments for the group.

Link copied to clipboard

Retrieves a list of device definitions.

Link copied to clipboard

Lists the versions of a device definition.

Link copied to clipboard

Retrieves a list of Lambda function definitions.

Link copied to clipboard

Lists the versions of a Lambda function definition.

Link copied to clipboard
Link copied to clipboard
inline suspend fun GreengrassClient.listGroups(crossinline block: ListGroupsRequest.Builder.() -> Unit): ListGroupsResponse

Retrieves a list of groups.

Link copied to clipboard

Lists the versions of a group.

Link copied to clipboard

Retrieves a list of logger definitions.

Link copied to clipboard

Lists the versions of a logger definition.

Link copied to clipboard

Retrieves a list of resource definitions.

Link copied to clipboard

Lists the versions of a resource definition.

Link copied to clipboard

Retrieves a list of subscription definitions.

Link copied to clipboard

Lists the versions of a subscription definition.

Link copied to clipboard

Retrieves a list of resource tags for a resource arn.

Link copied to clipboard

Resets a group's deployments.

Link copied to clipboard

Deploys multiple groups in one operation. This action starts the bulk deployment of a specified set of group versions. Each group version deployment will be triggered with an adaptive rate that has a fixed upper limit. We recommend that you include an ''X-Amzn-Client-Token'' token in every ''StartBulkDeployment'' request. These requests are idempotent with respect to the token and the request parameters.

Link copied to clipboard

Stops the execution of a bulk deployment. This action returns a status of ''Stopping'' until the deployment is stopped. You cannot start a new bulk deployment while a previous deployment is in the ''Stopping'' state. This action doesn't rollback completed deployments or cancel pending deployments.

Link copied to clipboard

Adds tags to a Greengrass resource. Valid resources are 'Group', 'ConnectorDefinition', 'CoreDefinition', 'DeviceDefinition', 'FunctionDefinition', 'LoggerDefinition', 'SubscriptionDefinition', 'ResourceDefinition', and 'BulkDeployment'.

Link copied to clipboard

Remove resource tags from a Greengrass Resource.

Link copied to clipboard

Updates the connectivity information for the core. Any devices that belong to the group which has this core will receive this information in order to find the location of the core and connect to it.

Link copied to clipboard

Updates a connector definition.

Link copied to clipboard

Updates a core definition.

Link copied to clipboard

Updates a device definition.

Link copied to clipboard

Updates a Lambda function definition.

Link copied to clipboard

Updates a group.

Link copied to clipboard
Link copied to clipboard

Updates a logger definition.

Link copied to clipboard

Updates a resource definition.

Link copied to clipboard
Link copied to clipboard

Updates the runtime configuration of a thing.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.