Greengrass

This page documents function available when using the Greengrass module, created with @service Greengrass.

Index

Documentation

Main.Greengrass.associate_role_to_groupMethod
associate_role_to_group(group_id, role_arn)
associate_role_to_group(group_id, role_arn, params::Dict{String,<:Any})

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.

Arguments

  • group_id: The ID of the Greengrass group.
  • role_arn: The ARN of the role you wish to associate with this group. The existence of the role is not validated.
source
Main.Greengrass.associate_service_role_to_accountMethod
associate_service_role_to_account(role_arn)
associate_service_role_to_account(role_arn, params::Dict{String,<:Any})

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''.

Arguments

  • role_arn: The ARN of the service role you wish to associate with your account.
source
Main.Greengrass.create_connector_definitionMethod
create_connector_definition()
create_connector_definition(params::Dict{String,<:Any})

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

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "InitialVersion": Information about the initial version of the connector definition.
  • "Name": The name of the connector definition.
  • "X-Amzn-Client-Token": A client token used to correlate requests and responses.
  • "tags": Tag(s) to add to the new resource.
source
Main.Greengrass.create_connector_definition_versionMethod
create_connector_definition_version(connector_definition_id)
create_connector_definition_version(connector_definition_id, params::Dict{String,<:Any})

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

Arguments

  • connector_definition_id: The ID of the connector definition.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Connectors": A list of references to connectors in this version, with their corresponding configuration settings.
  • "X-Amzn-Client-Token": A client token used to correlate requests and responses.
source
Main.Greengrass.create_core_definitionMethod
create_core_definition()
create_core_definition(params::Dict{String,<:Any})

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.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "InitialVersion": Information about the initial version of the core definition.
  • "Name": The name of the core definition.
  • "X-Amzn-Client-Token": A client token used to correlate requests and responses.
  • "tags": Tag(s) to add to the new resource.
source
Main.Greengrass.create_core_definition_versionMethod
create_core_definition_version(core_definition_id)
create_core_definition_version(core_definition_id, params::Dict{String,<:Any})

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

Arguments

  • core_definition_id: The ID of the core definition.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Cores": A list of cores in the core definition version.
  • "X-Amzn-Client-Token": A client token used to correlate requests and responses.
source
Main.Greengrass.create_deploymentMethod
create_deployment(deployment_type, group_id)
create_deployment(deployment_type, group_id, params::Dict{String,<:Any})

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

Arguments

  • deployment_type: The type of deployment. When used for ''CreateDeployment'', only ''NewDeployment'' and ''Redeployment'' are valid.
  • group_id: The ID of the Greengrass group.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "DeploymentId": The ID of the deployment if you wish to redeploy a previous deployment.
  • "GroupVersionId": The ID of the group version to be deployed.
  • "X-Amzn-Client-Token": A client token used to correlate requests and responses.
source
Main.Greengrass.create_device_definitionMethod
create_device_definition()
create_device_definition(params::Dict{String,<:Any})

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

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "InitialVersion": Information about the initial version of the device definition.
  • "Name": The name of the device definition.
  • "X-Amzn-Client-Token": A client token used to correlate requests and responses.
  • "tags": Tag(s) to add to the new resource.
source
Main.Greengrass.create_device_definition_versionMethod
create_device_definition_version(device_definition_id)
create_device_definition_version(device_definition_id, params::Dict{String,<:Any})

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

Arguments

  • device_definition_id: The ID of the device definition.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Devices": A list of devices in the definition version.
  • "X-Amzn-Client-Token": A client token used to correlate requests and responses.
source
Main.Greengrass.create_function_definitionMethod
create_function_definition()
create_function_definition(params::Dict{String,<:Any})

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.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "InitialVersion": Information about the initial version of the function definition.
  • "Name": The name of the function definition.
  • "X-Amzn-Client-Token": A client token used to correlate requests and responses.
  • "tags": Tag(s) to add to the new resource.
source
Main.Greengrass.create_function_definition_versionMethod
create_function_definition_version(function_definition_id)
create_function_definition_version(function_definition_id, params::Dict{String,<:Any})

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

Arguments

  • function_definition_id: The ID of the Lambda function definition.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "DefaultConfig": The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings.
  • "Functions": A list of Lambda functions in this function definition version.
  • "X-Amzn-Client-Token": A client token used to correlate requests and responses.
source
Main.Greengrass.create_groupMethod
create_group(name)
create_group(name, params::Dict{String,<:Any})

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

Arguments

  • name: The name of the group.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "InitialVersion": Information about the initial version of the group.
  • "X-Amzn-Client-Token": A client token used to correlate requests and responses.
  • "tags": Tag(s) to add to the new resource.
source
Main.Greengrass.create_group_certificate_authorityMethod
create_group_certificate_authority(group_id)
create_group_certificate_authority(group_id, params::Dict{String,<:Any})

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

Arguments

  • group_id: The ID of the Greengrass group.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "X-Amzn-Client-Token": A client token used to correlate requests and responses.
source
Main.Greengrass.create_group_versionMethod
create_group_version(group_id)
create_group_version(group_id, params::Dict{String,<:Any})

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

Arguments

  • group_id: The ID of the Greengrass group.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "ConnectorDefinitionVersionArn": The ARN of the connector definition version for this group.
  • "CoreDefinitionVersionArn": The ARN of the core definition version for this group.
  • "DeviceDefinitionVersionArn": The ARN of the device definition version for this group.
  • "FunctionDefinitionVersionArn": The ARN of the function definition version for this group.
  • "LoggerDefinitionVersionArn": The ARN of the logger definition version for this group.
  • "ResourceDefinitionVersionArn": The ARN of the resource definition version for this group.
  • "SubscriptionDefinitionVersionArn": The ARN of the subscription definition version for this group.
  • "X-Amzn-Client-Token": A client token used to correlate requests and responses.
source
Main.Greengrass.create_logger_definitionMethod
create_logger_definition()
create_logger_definition(params::Dict{String,<:Any})

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

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "InitialVersion": Information about the initial version of the logger definition.
  • "Name": The name of the logger definition.
  • "X-Amzn-Client-Token": A client token used to correlate requests and responses.
  • "tags": Tag(s) to add to the new resource.
source
Main.Greengrass.create_logger_definition_versionMethod
create_logger_definition_version(logger_definition_id)
create_logger_definition_version(logger_definition_id, params::Dict{String,<:Any})

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

Arguments

  • logger_definition_id: The ID of the logger definition.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Loggers": A list of loggers.
  • "X-Amzn-Client-Token": A client token used to correlate requests and responses.
source
Main.Greengrass.create_resource_definitionMethod
create_resource_definition()
create_resource_definition(params::Dict{String,<:Any})

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.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "InitialVersion": Information about the initial version of the resource definition.
  • "Name": The name of the resource definition.
  • "X-Amzn-Client-Token": A client token used to correlate requests and responses.
  • "tags": Tag(s) to add to the new resource.
source
Main.Greengrass.create_resource_definition_versionMethod
create_resource_definition_version(resource_definition_id)
create_resource_definition_version(resource_definition_id, params::Dict{String,<:Any})

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

Arguments

  • resource_definition_id: The ID of the resource definition.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Resources": A list of resources.
  • "X-Amzn-Client-Token": A client token used to correlate requests and responses.
source
Main.Greengrass.create_software_update_jobMethod
create_software_update_job(s3_url_signer_role, software_to_update, update_targets, update_targets_architecture, update_targets_operating_system)
create_software_update_job(s3_url_signer_role, software_to_update, update_targets, update_targets_architecture, update_targets_operating_system, params::Dict{String,<:Any})

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.

Arguments

  • s3_url_signer_role:
  • software_to_update:
  • update_targets:
  • update_targets_architecture:
  • update_targets_operating_system:

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "UpdateAgentLogLevel":
  • "X-Amzn-Client-Token": A client token used to correlate requests and responses.
source
Main.Greengrass.create_subscription_definitionMethod
create_subscription_definition()
create_subscription_definition(params::Dict{String,<:Any})

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

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "InitialVersion": Information about the initial version of the subscription definition.
  • "Name": The name of the subscription definition.
  • "X-Amzn-Client-Token": A client token used to correlate requests and responses.
  • "tags": Tag(s) to add to the new resource.
source
Main.Greengrass.create_subscription_definition_versionMethod
create_subscription_definition_version(subscription_definition_id)
create_subscription_definition_version(subscription_definition_id, params::Dict{String,<:Any})

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

Arguments

  • subscription_definition_id: The ID of the subscription definition.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Subscriptions": A list of subscriptions.
  • "X-Amzn-Client-Token": A client token used to correlate requests and responses.
source
Main.Greengrass.delete_connector_definitionMethod
delete_connector_definition(connector_definition_id)
delete_connector_definition(connector_definition_id, params::Dict{String,<:Any})

Deletes a connector definition.

Arguments

  • connector_definition_id: The ID of the connector definition.
source
Main.Greengrass.delete_core_definitionMethod
delete_core_definition(core_definition_id)
delete_core_definition(core_definition_id, params::Dict{String,<:Any})

Deletes a core definition.

Arguments

  • core_definition_id: The ID of the core definition.
source
Main.Greengrass.delete_device_definitionMethod
delete_device_definition(device_definition_id)
delete_device_definition(device_definition_id, params::Dict{String,<:Any})

Deletes a device definition.

Arguments

  • device_definition_id: The ID of the device definition.
source
Main.Greengrass.delete_function_definitionMethod
delete_function_definition(function_definition_id)
delete_function_definition(function_definition_id, params::Dict{String,<:Any})

Deletes a Lambda function definition.

Arguments

  • function_definition_id: The ID of the Lambda function definition.
source
Main.Greengrass.delete_groupMethod
delete_group(group_id)
delete_group(group_id, params::Dict{String,<:Any})

Deletes a group.

Arguments

  • group_id: The ID of the Greengrass group.
source
Main.Greengrass.delete_logger_definitionMethod
delete_logger_definition(logger_definition_id)
delete_logger_definition(logger_definition_id, params::Dict{String,<:Any})

Deletes a logger definition.

Arguments

  • logger_definition_id: The ID of the logger definition.
source
Main.Greengrass.delete_resource_definitionMethod
delete_resource_definition(resource_definition_id)
delete_resource_definition(resource_definition_id, params::Dict{String,<:Any})

Deletes a resource definition.

Arguments

  • resource_definition_id: The ID of the resource definition.
source
Main.Greengrass.delete_subscription_definitionMethod
delete_subscription_definition(subscription_definition_id)
delete_subscription_definition(subscription_definition_id, params::Dict{String,<:Any})

Deletes a subscription definition.

Arguments

  • subscription_definition_id: The ID of the subscription definition.
source
Main.Greengrass.disassociate_role_from_groupMethod
disassociate_role_from_group(group_id)
disassociate_role_from_group(group_id, params::Dict{String,<:Any})

Disassociates the role from a group.

Arguments

  • group_id: The ID of the Greengrass group.
source
Main.Greengrass.get_associated_roleMethod
get_associated_role(group_id)
get_associated_role(group_id, params::Dict{String,<:Any})

Retrieves the role associated with a particular group.

Arguments

  • group_id: The ID of the Greengrass group.
source
Main.Greengrass.get_bulk_deployment_statusMethod
get_bulk_deployment_status(bulk_deployment_id)
get_bulk_deployment_status(bulk_deployment_id, params::Dict{String,<:Any})

Returns the status of a bulk deployment.

Arguments

  • bulk_deployment_id: The ID of the bulk deployment.
source
Main.Greengrass.get_connectivity_infoMethod
get_connectivity_info(thing_name)
get_connectivity_info(thing_name, params::Dict{String,<:Any})

Retrieves the connectivity information for a core.

Arguments

  • thing_name: The thing name.
source
Main.Greengrass.get_connector_definitionMethod
get_connector_definition(connector_definition_id)
get_connector_definition(connector_definition_id, params::Dict{String,<:Any})

Retrieves information about a connector definition.

Arguments

  • connector_definition_id: The ID of the connector definition.
source
Main.Greengrass.get_connector_definition_versionMethod
get_connector_definition_version(connector_definition_id, connector_definition_version_id)
get_connector_definition_version(connector_definition_id, connector_definition_version_id, params::Dict{String,<:Any})

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.

Arguments

  • connector_definition_id: The ID of the connector definition.
  • connector_definition_version_id: The ID of the connector definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListConnectorDefinitionVersions'' requests. If the version is the last one that was associated with a connector definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "NextToken": The token for the next set of results, or ''null'' if there are no additional results.
source
Main.Greengrass.get_core_definitionMethod
get_core_definition(core_definition_id)
get_core_definition(core_definition_id, params::Dict{String,<:Any})

Retrieves information about a core definition version.

Arguments

  • core_definition_id: The ID of the core definition.
source
Main.Greengrass.get_core_definition_versionMethod
get_core_definition_version(core_definition_id, core_definition_version_id)
get_core_definition_version(core_definition_id, core_definition_version_id, params::Dict{String,<:Any})

Retrieves information about a core definition version.

Arguments

  • core_definition_id: The ID of the core definition.
  • core_definition_version_id: The ID of the core definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListCoreDefinitionVersions'' requests. If the version is the last one that was associated with a core definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.
source
Main.Greengrass.get_deployment_statusMethod
get_deployment_status(deployment_id, group_id)
get_deployment_status(deployment_id, group_id, params::Dict{String,<:Any})

Returns the status of a deployment.

Arguments

  • deployment_id: The ID of the deployment.
  • group_id: The ID of the Greengrass group.
source
Main.Greengrass.get_device_definitionMethod
get_device_definition(device_definition_id)
get_device_definition(device_definition_id, params::Dict{String,<:Any})

Retrieves information about a device definition.

Arguments

  • device_definition_id: The ID of the device definition.
source
Main.Greengrass.get_device_definition_versionMethod
get_device_definition_version(device_definition_id, device_definition_version_id)
get_device_definition_version(device_definition_id, device_definition_version_id, params::Dict{String,<:Any})

Retrieves information about a device definition version.

Arguments

  • device_definition_id: The ID of the device definition.
  • device_definition_version_id: The ID of the device definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListDeviceDefinitionVersions'' requests. If the version is the last one that was associated with a device definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "NextToken": The token for the next set of results, or ''null'' if there are no additional results.
source
Main.Greengrass.get_function_definitionMethod
get_function_definition(function_definition_id)
get_function_definition(function_definition_id, params::Dict{String,<:Any})

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

Arguments

  • function_definition_id: The ID of the Lambda function definition.
source
Main.Greengrass.get_function_definition_versionMethod
get_function_definition_version(function_definition_id, function_definition_version_id)
get_function_definition_version(function_definition_id, function_definition_version_id, params::Dict{String,<:Any})

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

Arguments

  • function_definition_id: The ID of the Lambda function definition.
  • function_definition_version_id: The ID of the function definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListFunctionDefinitionVersions'' requests. If the version is the last one that was associated with a function definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "NextToken": The token for the next set of results, or ''null'' if there are no additional results.
source
Main.Greengrass.get_groupMethod
get_group(group_id)
get_group(group_id, params::Dict{String,<:Any})

Retrieves information about a group.

Arguments

  • group_id: The ID of the Greengrass group.
source
Main.Greengrass.get_group_certificate_authorityMethod
get_group_certificate_authority(certificate_authority_id, group_id)
get_group_certificate_authority(certificate_authority_id, group_id, params::Dict{String,<:Any})

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

Arguments

  • certificate_authority_id: The ID of the certificate authority.
  • group_id: The ID of the Greengrass group.
source
Main.Greengrass.get_group_certificate_configurationMethod
get_group_certificate_configuration(group_id)
get_group_certificate_configuration(group_id, params::Dict{String,<:Any})

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

Arguments

  • group_id: The ID of the Greengrass group.
source
Main.Greengrass.get_group_versionMethod
get_group_version(group_id, group_version_id)
get_group_version(group_id, group_version_id, params::Dict{String,<:Any})

Retrieves information about a group version.

Arguments

  • group_id: The ID of the Greengrass group.
  • group_version_id: The ID of the group version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListGroupVersions'' requests. If the version is the last one that was associated with a group, the value also maps to the ''LatestVersion'' property of the corresponding ''GroupInformation'' object.
source
Main.Greengrass.get_logger_definitionMethod
get_logger_definition(logger_definition_id)
get_logger_definition(logger_definition_id, params::Dict{String,<:Any})

Retrieves information about a logger definition.

Arguments

  • logger_definition_id: The ID of the logger definition.
source
Main.Greengrass.get_logger_definition_versionMethod
get_logger_definition_version(logger_definition_id, logger_definition_version_id)
get_logger_definition_version(logger_definition_id, logger_definition_version_id, params::Dict{String,<:Any})

Retrieves information about a logger definition version.

Arguments

  • logger_definition_id: The ID of the logger definition.
  • logger_definition_version_id: The ID of the logger definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListLoggerDefinitionVersions'' requests. If the version is the last one that was associated with a logger definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "NextToken": The token for the next set of results, or ''null'' if there are no additional results.
source
Main.Greengrass.get_resource_definitionMethod
get_resource_definition(resource_definition_id)
get_resource_definition(resource_definition_id, params::Dict{String,<:Any})

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

Arguments

  • resource_definition_id: The ID of the resource definition.
source
Main.Greengrass.get_resource_definition_versionMethod
get_resource_definition_version(resource_definition_id, resource_definition_version_id)
get_resource_definition_version(resource_definition_id, resource_definition_version_id, params::Dict{String,<:Any})

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

Arguments

  • resource_definition_id: The ID of the resource definition.
  • resource_definition_version_id: The ID of the resource definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListResourceDefinitionVersions'' requests. If the version is the last one that was associated with a resource definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.
source
Main.Greengrass.get_subscription_definitionMethod
get_subscription_definition(subscription_definition_id)
get_subscription_definition(subscription_definition_id, params::Dict{String,<:Any})

Retrieves information about a subscription definition.

Arguments

  • subscription_definition_id: The ID of the subscription definition.
source
Main.Greengrass.get_subscription_definition_versionMethod
get_subscription_definition_version(subscription_definition_id, subscription_definition_version_id)
get_subscription_definition_version(subscription_definition_id, subscription_definition_version_id, params::Dict{String,<:Any})

Retrieves information about a subscription definition version.

Arguments

  • subscription_definition_id: The ID of the subscription definition.
  • subscription_definition_version_id: The ID of the subscription definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListSubscriptionDefinitionVersions'' requests. If the version is the last one that was associated with a subscription definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "NextToken": The token for the next set of results, or ''null'' if there are no additional results.
source
Main.Greengrass.list_bulk_deployment_detailed_reportsMethod
list_bulk_deployment_detailed_reports(bulk_deployment_id)
list_bulk_deployment_detailed_reports(bulk_deployment_id, params::Dict{String,<:Any})

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

Arguments

  • bulk_deployment_id: The ID of the bulk deployment.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of results to be returned per request.
  • "NextToken": The token for the next set of results, or ''null'' if there are no additional results.
source
Main.Greengrass.list_bulk_deploymentsMethod
list_bulk_deployments()
list_bulk_deployments(params::Dict{String,<:Any})

Returns a list of bulk deployments.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of results to be returned per request.
  • "NextToken": The token for the next set of results, or ''null'' if there are no additional results.
source
Main.Greengrass.list_connector_definition_versionsMethod
list_connector_definition_versions(connector_definition_id)
list_connector_definition_versions(connector_definition_id, params::Dict{String,<:Any})

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.

Arguments

  • connector_definition_id: The ID of the connector definition.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of results to be returned per request.
  • "NextToken": The token for the next set of results, or ''null'' if there are no additional results.
source
Main.Greengrass.list_connector_definitionsMethod
list_connector_definitions()
list_connector_definitions(params::Dict{String,<:Any})

Retrieves a list of connector definitions.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of results to be returned per request.
  • "NextToken": The token for the next set of results, or ''null'' if there are no additional results.
source
Main.Greengrass.list_core_definition_versionsMethod
list_core_definition_versions(core_definition_id)
list_core_definition_versions(core_definition_id, params::Dict{String,<:Any})

Lists the versions of a core definition.

Arguments

  • core_definition_id: The ID of the core definition.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of results to be returned per request.
  • "NextToken": The token for the next set of results, or ''null'' if there are no additional results.
source
Main.Greengrass.list_core_definitionsMethod
list_core_definitions()
list_core_definitions(params::Dict{String,<:Any})

Retrieves a list of core definitions.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of results to be returned per request.
  • "NextToken": The token for the next set of results, or ''null'' if there are no additional results.
source
Main.Greengrass.list_deploymentsMethod
list_deployments(group_id)
list_deployments(group_id, params::Dict{String,<:Any})

Returns a history of deployments for the group.

Arguments

  • group_id: The ID of the Greengrass group.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of results to be returned per request.
  • "NextToken": The token for the next set of results, or ''null'' if there are no additional results.
source
Main.Greengrass.list_device_definition_versionsMethod
list_device_definition_versions(device_definition_id)
list_device_definition_versions(device_definition_id, params::Dict{String,<:Any})

Lists the versions of a device definition.

Arguments

  • device_definition_id: The ID of the device definition.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of results to be returned per request.
  • "NextToken": The token for the next set of results, or ''null'' if there are no additional results.
source
Main.Greengrass.list_device_definitionsMethod
list_device_definitions()
list_device_definitions(params::Dict{String,<:Any})

Retrieves a list of device definitions.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of results to be returned per request.
  • "NextToken": The token for the next set of results, or ''null'' if there are no additional results.
source
Main.Greengrass.list_function_definition_versionsMethod
list_function_definition_versions(function_definition_id)
list_function_definition_versions(function_definition_id, params::Dict{String,<:Any})

Lists the versions of a Lambda function definition.

Arguments

  • function_definition_id: The ID of the Lambda function definition.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of results to be returned per request.
  • "NextToken": The token for the next set of results, or ''null'' if there are no additional results.
source
Main.Greengrass.list_function_definitionsMethod
list_function_definitions()
list_function_definitions(params::Dict{String,<:Any})

Retrieves a list of Lambda function definitions.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of results to be returned per request.
  • "NextToken": The token for the next set of results, or ''null'' if there are no additional results.
source
Main.Greengrass.list_group_versionsMethod
list_group_versions(group_id)
list_group_versions(group_id, params::Dict{String,<:Any})

Lists the versions of a group.

Arguments

  • group_id: The ID of the Greengrass group.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of results to be returned per request.
  • "NextToken": The token for the next set of results, or ''null'' if there are no additional results.
source
Main.Greengrass.list_groupsMethod
list_groups()
list_groups(params::Dict{String,<:Any})

Retrieves a list of groups.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of results to be returned per request.
  • "NextToken": The token for the next set of results, or ''null'' if there are no additional results.
source
Main.Greengrass.list_logger_definition_versionsMethod
list_logger_definition_versions(logger_definition_id)
list_logger_definition_versions(logger_definition_id, params::Dict{String,<:Any})

Lists the versions of a logger definition.

Arguments

  • logger_definition_id: The ID of the logger definition.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of results to be returned per request.
  • "NextToken": The token for the next set of results, or ''null'' if there are no additional results.
source
Main.Greengrass.list_logger_definitionsMethod
list_logger_definitions()
list_logger_definitions(params::Dict{String,<:Any})

Retrieves a list of logger definitions.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of results to be returned per request.
  • "NextToken": The token for the next set of results, or ''null'' if there are no additional results.
source
Main.Greengrass.list_resource_definition_versionsMethod
list_resource_definition_versions(resource_definition_id)
list_resource_definition_versions(resource_definition_id, params::Dict{String,<:Any})

Lists the versions of a resource definition.

Arguments

  • resource_definition_id: The ID of the resource definition.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of results to be returned per request.
  • "NextToken": The token for the next set of results, or ''null'' if there are no additional results.
source
Main.Greengrass.list_resource_definitionsMethod
list_resource_definitions()
list_resource_definitions(params::Dict{String,<:Any})

Retrieves a list of resource definitions.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of results to be returned per request.
  • "NextToken": The token for the next set of results, or ''null'' if there are no additional results.
source
Main.Greengrass.list_subscription_definition_versionsMethod
list_subscription_definition_versions(subscription_definition_id)
list_subscription_definition_versions(subscription_definition_id, params::Dict{String,<:Any})

Lists the versions of a subscription definition.

Arguments

  • subscription_definition_id: The ID of the subscription definition.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of results to be returned per request.
  • "NextToken": The token for the next set of results, or ''null'' if there are no additional results.
source
Main.Greengrass.list_subscription_definitionsMethod
list_subscription_definitions()
list_subscription_definitions(params::Dict{String,<:Any})

Retrieves a list of subscription definitions.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of results to be returned per request.
  • "NextToken": The token for the next set of results, or ''null'' if there are no additional results.
source
Main.Greengrass.list_tags_for_resourceMethod
list_tags_for_resource(resource-arn)
list_tags_for_resource(resource-arn, params::Dict{String,<:Any})

Retrieves a list of resource tags for a resource arn.

Arguments

  • resource-arn: The Amazon Resource Name (ARN) of the resource.
source
Main.Greengrass.reset_deploymentsMethod
reset_deployments(group_id)
reset_deployments(group_id, params::Dict{String,<:Any})

Resets a group's deployments.

Arguments

  • group_id: The ID of the Greengrass group.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Force": If true, performs a best-effort only core reset.
  • "X-Amzn-Client-Token": A client token used to correlate requests and responses.
source
Main.Greengrass.start_bulk_deploymentMethod
start_bulk_deployment(execution_role_arn, input_file_uri)
start_bulk_deployment(execution_role_arn, input_file_uri, params::Dict{String,<:Any})

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.

Arguments

  • execution_role_arn: The ARN of the execution role to associate with the bulk deployment operation. This IAM role must allow the ''greengrass:CreateDeployment'' action for all group versions that are listed in the input file. This IAM role must have access to the S3 bucket containing the input file.
  • input_file_uri: The URI of the input file contained in the S3 bucket. The execution role must have ''getObject'' permissions on this bucket to access the input file. The input file is a JSON-serialized, line delimited file with UTF-8 encoding that provides a list of group and version IDs and the deployment type. This file must be less than 100 MB. Currently, AWS IoT Greengrass supports only ''NewDeployment'' deployment types.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "X-Amzn-Client-Token": A client token used to correlate requests and responses.
  • "tags": Tag(s) to add to the new resource.
source
Main.Greengrass.stop_bulk_deploymentMethod
stop_bulk_deployment(bulk_deployment_id)
stop_bulk_deployment(bulk_deployment_id, params::Dict{String,<:Any})

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.

Arguments

  • bulk_deployment_id: The ID of the bulk deployment.
source
Main.Greengrass.tag_resourceMethod
tag_resource(resource-arn)
tag_resource(resource-arn, params::Dict{String,<:Any})

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

Arguments

  • resource-arn: The Amazon Resource Name (ARN) of the resource.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "tags":
source
Main.Greengrass.untag_resourceMethod
untag_resource(resource-arn, tag_keys)
untag_resource(resource-arn, tag_keys, params::Dict{String,<:Any})

Remove resource tags from a Greengrass Resource.

Arguments

  • resource-arn: The Amazon Resource Name (ARN) of the resource.
  • tag_keys: An array of tag keys to delete
source
Main.Greengrass.update_connectivity_infoMethod
update_connectivity_info(thing_name)
update_connectivity_info(thing_name, params::Dict{String,<:Any})

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.

Arguments

  • thing_name: The thing name.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "ConnectivityInfo": A list of connectivity info.
source
Main.Greengrass.update_connector_definitionMethod
update_connector_definition(connector_definition_id)
update_connector_definition(connector_definition_id, params::Dict{String,<:Any})

Updates a connector definition.

Arguments

  • connector_definition_id: The ID of the connector definition.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Name": The name of the definition.
source
Main.Greengrass.update_core_definitionMethod
update_core_definition(core_definition_id)
update_core_definition(core_definition_id, params::Dict{String,<:Any})

Updates a core definition.

Arguments

  • core_definition_id: The ID of the core definition.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Name": The name of the definition.
source
Main.Greengrass.update_device_definitionMethod
update_device_definition(device_definition_id)
update_device_definition(device_definition_id, params::Dict{String,<:Any})

Updates a device definition.

Arguments

  • device_definition_id: The ID of the device definition.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Name": The name of the definition.
source
Main.Greengrass.update_function_definitionMethod
update_function_definition(function_definition_id)
update_function_definition(function_definition_id, params::Dict{String,<:Any})

Updates a Lambda function definition.

Arguments

  • function_definition_id: The ID of the Lambda function definition.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Name": The name of the definition.
source
Main.Greengrass.update_groupMethod
update_group(group_id)
update_group(group_id, params::Dict{String,<:Any})

Updates a group.

Arguments

  • group_id: The ID of the Greengrass group.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Name": The name of the definition.
source
Main.Greengrass.update_group_certificate_configurationMethod
update_group_certificate_configuration(group_id)
update_group_certificate_configuration(group_id, params::Dict{String,<:Any})

Updates the Certificate expiry time for a group.

Arguments

  • group_id: The ID of the Greengrass group.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "CertificateExpiryInMilliseconds": The amount of time remaining before the certificate expires, in milliseconds.
source
Main.Greengrass.update_logger_definitionMethod
update_logger_definition(logger_definition_id)
update_logger_definition(logger_definition_id, params::Dict{String,<:Any})

Updates a logger definition.

Arguments

  • logger_definition_id: The ID of the logger definition.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Name": The name of the definition.
source
Main.Greengrass.update_resource_definitionMethod
update_resource_definition(resource_definition_id)
update_resource_definition(resource_definition_id, params::Dict{String,<:Any})

Updates a resource definition.

Arguments

  • resource_definition_id: The ID of the resource definition.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Name": The name of the definition.
source
Main.Greengrass.update_subscription_definitionMethod
update_subscription_definition(subscription_definition_id)
update_subscription_definition(subscription_definition_id, params::Dict{String,<:Any})

Updates a subscription definition.

Arguments

  • subscription_definition_id: The ID of the subscription definition.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Name": The name of the definition.
source
Main.Greengrass.update_thing_runtime_configurationMethod
update_thing_runtime_configuration(thing_name)
update_thing_runtime_configuration(thing_name, params::Dict{String,<:Any})

Updates the runtime configuration of a thing.

Arguments

  • thing_name: The thing name.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "TelemetryConfiguration": Configuration for telemetry service.
source