Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Greengrass

import { Greengrass } from "https://aws-api.deno.dev/v0.4/services/greengrass.ts?docs=full";
class Greengrass {
constructor(apiFactory: client.ApiFactory);
async associateRoleToGroup(params: AssociateRoleToGroupRequest, opts?: client.RequestOptions): Promise<AssociateRoleToGroupResponse>;
async associateServiceRoleToAccount(params: AssociateServiceRoleToAccountRequest, opts?: client.RequestOptions): Promise<AssociateServiceRoleToAccountResponse>;
async createConnectorDefinition(params?: CreateConnectorDefinitionRequest, opts?: client.RequestOptions): Promise<CreateConnectorDefinitionResponse>;
async createConnectorDefinitionVersion(params: CreateConnectorDefinitionVersionRequest, opts?: client.RequestOptions): Promise<CreateConnectorDefinitionVersionResponse>;
async createCoreDefinition(params?: CreateCoreDefinitionRequest, opts?: client.RequestOptions): Promise<CreateCoreDefinitionResponse>;
async createCoreDefinitionVersion(params: CreateCoreDefinitionVersionRequest, opts?: client.RequestOptions): Promise<CreateCoreDefinitionVersionResponse>;
async createDeployment(params: CreateDeploymentRequest, opts?: client.RequestOptions): Promise<CreateDeploymentResponse>;
async createDeviceDefinition(params?: CreateDeviceDefinitionRequest, opts?: client.RequestOptions): Promise<CreateDeviceDefinitionResponse>;
async createDeviceDefinitionVersion(params: CreateDeviceDefinitionVersionRequest, opts?: client.RequestOptions): Promise<CreateDeviceDefinitionVersionResponse>;
async createFunctionDefinition(params?: CreateFunctionDefinitionRequest, opts?: client.RequestOptions): Promise<CreateFunctionDefinitionResponse>;
async createFunctionDefinitionVersion(params: CreateFunctionDefinitionVersionRequest, opts?: client.RequestOptions): Promise<CreateFunctionDefinitionVersionResponse>;
async createGroup(params: CreateGroupRequest, opts?: client.RequestOptions): Promise<CreateGroupResponse>;
async createGroupCertificateAuthority(params: CreateGroupCertificateAuthorityRequest, opts?: client.RequestOptions): Promise<CreateGroupCertificateAuthorityResponse>;
async createGroupVersion(params: CreateGroupVersionRequest, opts?: client.RequestOptions): Promise<CreateGroupVersionResponse>;
async createLoggerDefinition(params?: CreateLoggerDefinitionRequest, opts?: client.RequestOptions): Promise<CreateLoggerDefinitionResponse>;
async createLoggerDefinitionVersion(params: CreateLoggerDefinitionVersionRequest, opts?: client.RequestOptions): Promise<CreateLoggerDefinitionVersionResponse>;
async createResourceDefinition(params?: CreateResourceDefinitionRequest, opts?: client.RequestOptions): Promise<CreateResourceDefinitionResponse>;
async createResourceDefinitionVersion(params: CreateResourceDefinitionVersionRequest, opts?: client.RequestOptions): Promise<CreateResourceDefinitionVersionResponse>;
async createSoftwareUpdateJob(params: CreateSoftwareUpdateJobRequest, opts?: client.RequestOptions): Promise<CreateSoftwareUpdateJobResponse>;
async createSubscriptionDefinition(params?: CreateSubscriptionDefinitionRequest, opts?: client.RequestOptions): Promise<CreateSubscriptionDefinitionResponse>;
async createSubscriptionDefinitionVersion(params: CreateSubscriptionDefinitionVersionRequest, opts?: client.RequestOptions): Promise<CreateSubscriptionDefinitionVersionResponse>;
async deleteConnectorDefinition(params: DeleteConnectorDefinitionRequest, opts?: client.RequestOptions): Promise<void>;
async deleteCoreDefinition(params: DeleteCoreDefinitionRequest, opts?: client.RequestOptions): Promise<void>;
async deleteDeviceDefinition(params: DeleteDeviceDefinitionRequest, opts?: client.RequestOptions): Promise<void>;
async deleteFunctionDefinition(params: DeleteFunctionDefinitionRequest, opts?: client.RequestOptions): Promise<void>;
async deleteGroup(params: DeleteGroupRequest, opts?: client.RequestOptions): Promise<void>;
async deleteLoggerDefinition(params: DeleteLoggerDefinitionRequest, opts?: client.RequestOptions): Promise<void>;
async deleteResourceDefinition(params: DeleteResourceDefinitionRequest, opts?: client.RequestOptions): Promise<void>;
async deleteSubscriptionDefinition(params: DeleteSubscriptionDefinitionRequest, opts?: client.RequestOptions): Promise<void>;
async disassociateRoleFromGroup(params: DisassociateRoleFromGroupRequest, opts?: client.RequestOptions): Promise<DisassociateRoleFromGroupResponse>;
async disassociateServiceRoleFromAccount(opts?: client.RequestOptions): Promise<DisassociateServiceRoleFromAccountResponse>;
async getAssociatedRole(params: GetAssociatedRoleRequest, opts?: client.RequestOptions): Promise<GetAssociatedRoleResponse>;
async getBulkDeploymentStatus(params: GetBulkDeploymentStatusRequest, opts?: client.RequestOptions): Promise<GetBulkDeploymentStatusResponse>;
async getConnectivityInfo(params: GetConnectivityInfoRequest, opts?: client.RequestOptions): Promise<GetConnectivityInfoResponse>;
async getConnectorDefinition(params: GetConnectorDefinitionRequest, opts?: client.RequestOptions): Promise<GetConnectorDefinitionResponse>;
async getConnectorDefinitionVersion(params: GetConnectorDefinitionVersionRequest, opts?: client.RequestOptions): Promise<GetConnectorDefinitionVersionResponse>;
async getCoreDefinition(params: GetCoreDefinitionRequest, opts?: client.RequestOptions): Promise<GetCoreDefinitionResponse>;
async getCoreDefinitionVersion(params: GetCoreDefinitionVersionRequest, opts?: client.RequestOptions): Promise<GetCoreDefinitionVersionResponse>;
async getDeploymentStatus(params: GetDeploymentStatusRequest, opts?: client.RequestOptions): Promise<GetDeploymentStatusResponse>;
async getDeviceDefinition(params: GetDeviceDefinitionRequest, opts?: client.RequestOptions): Promise<GetDeviceDefinitionResponse>;
async getDeviceDefinitionVersion(params: GetDeviceDefinitionVersionRequest, opts?: client.RequestOptions): Promise<GetDeviceDefinitionVersionResponse>;
async getFunctionDefinition(params: GetFunctionDefinitionRequest, opts?: client.RequestOptions): Promise<GetFunctionDefinitionResponse>;
async getFunctionDefinitionVersion(params: GetFunctionDefinitionVersionRequest, opts?: client.RequestOptions): Promise<GetFunctionDefinitionVersionResponse>;
async getGroup(params: GetGroupRequest, opts?: client.RequestOptions): Promise<GetGroupResponse>;
async getGroupCertificateAuthority(params: GetGroupCertificateAuthorityRequest, opts?: client.RequestOptions): Promise<GetGroupCertificateAuthorityResponse>;
async getGroupCertificateConfiguration(params: GetGroupCertificateConfigurationRequest, opts?: client.RequestOptions): Promise<GetGroupCertificateConfigurationResponse>;
async getGroupVersion(params: GetGroupVersionRequest, opts?: client.RequestOptions): Promise<GetGroupVersionResponse>;
async getLoggerDefinition(params: GetLoggerDefinitionRequest, opts?: client.RequestOptions): Promise<GetLoggerDefinitionResponse>;
async getLoggerDefinitionVersion(params: GetLoggerDefinitionVersionRequest, opts?: client.RequestOptions): Promise<GetLoggerDefinitionVersionResponse>;
async getResourceDefinition(params: GetResourceDefinitionRequest, opts?: client.RequestOptions): Promise<GetResourceDefinitionResponse>;
async getResourceDefinitionVersion(params: GetResourceDefinitionVersionRequest, opts?: client.RequestOptions): Promise<GetResourceDefinitionVersionResponse>;
async getServiceRoleForAccount(opts?: client.RequestOptions): Promise<GetServiceRoleForAccountResponse>;
async getSubscriptionDefinition(params: GetSubscriptionDefinitionRequest, opts?: client.RequestOptions): Promise<GetSubscriptionDefinitionResponse>;
async getSubscriptionDefinitionVersion(params: GetSubscriptionDefinitionVersionRequest, opts?: client.RequestOptions): Promise<GetSubscriptionDefinitionVersionResponse>;
async getThingRuntimeConfiguration(params: GetThingRuntimeConfigurationRequest, opts?: client.RequestOptions): Promise<GetThingRuntimeConfigurationResponse>;
async listBulkDeploymentDetailedReports(params: ListBulkDeploymentDetailedReportsRequest, opts?: client.RequestOptions): Promise<ListBulkDeploymentDetailedReportsResponse>;
async listBulkDeployments(params?: ListBulkDeploymentsRequest, opts?: client.RequestOptions): Promise<ListBulkDeploymentsResponse>;
async listConnectorDefinitions(params?: ListConnectorDefinitionsRequest, opts?: client.RequestOptions): Promise<ListConnectorDefinitionsResponse>;
async listConnectorDefinitionVersions(params: ListConnectorDefinitionVersionsRequest, opts?: client.RequestOptions): Promise<ListConnectorDefinitionVersionsResponse>;
async listCoreDefinitions(params?: ListCoreDefinitionsRequest, opts?: client.RequestOptions): Promise<ListCoreDefinitionsResponse>;
async listCoreDefinitionVersions(params: ListCoreDefinitionVersionsRequest, opts?: client.RequestOptions): Promise<ListCoreDefinitionVersionsResponse>;
async listDeployments(params: ListDeploymentsRequest, opts?: client.RequestOptions): Promise<ListDeploymentsResponse>;
async listDeviceDefinitions(params?: ListDeviceDefinitionsRequest, opts?: client.RequestOptions): Promise<ListDeviceDefinitionsResponse>;
async listDeviceDefinitionVersions(params: ListDeviceDefinitionVersionsRequest, opts?: client.RequestOptions): Promise<ListDeviceDefinitionVersionsResponse>;
async listFunctionDefinitions(params?: ListFunctionDefinitionsRequest, opts?: client.RequestOptions): Promise<ListFunctionDefinitionsResponse>;
async listFunctionDefinitionVersions(params: ListFunctionDefinitionVersionsRequest, opts?: client.RequestOptions): Promise<ListFunctionDefinitionVersionsResponse>;
async listGroupCertificateAuthorities(params: ListGroupCertificateAuthoritiesRequest, opts?: client.RequestOptions): Promise<ListGroupCertificateAuthoritiesResponse>;
async listGroups(params?: ListGroupsRequest, opts?: client.RequestOptions): Promise<ListGroupsResponse>;
async listGroupVersions(params: ListGroupVersionsRequest, opts?: client.RequestOptions): Promise<ListGroupVersionsResponse>;
async listLoggerDefinitions(params?: ListLoggerDefinitionsRequest, opts?: client.RequestOptions): Promise<ListLoggerDefinitionsResponse>;
async listLoggerDefinitionVersions(params: ListLoggerDefinitionVersionsRequest, opts?: client.RequestOptions): Promise<ListLoggerDefinitionVersionsResponse>;
async listResourceDefinitions(params?: ListResourceDefinitionsRequest, opts?: client.RequestOptions): Promise<ListResourceDefinitionsResponse>;
async listResourceDefinitionVersions(params: ListResourceDefinitionVersionsRequest, opts?: client.RequestOptions): Promise<ListResourceDefinitionVersionsResponse>;
async listSubscriptionDefinitions(params?: ListSubscriptionDefinitionsRequest, opts?: client.RequestOptions): Promise<ListSubscriptionDefinitionsResponse>;
async listSubscriptionDefinitionVersions(params: ListSubscriptionDefinitionVersionsRequest, opts?: client.RequestOptions): Promise<ListSubscriptionDefinitionVersionsResponse>;
async listTagsForResource(params: ListTagsForResourceRequest, opts?: client.RequestOptions): Promise<ListTagsForResourceResponse>;
async resetDeployments(params: ResetDeploymentsRequest, opts?: client.RequestOptions): Promise<ResetDeploymentsResponse>;
async startBulkDeployment(params: StartBulkDeploymentRequest, opts?: client.RequestOptions): Promise<StartBulkDeploymentResponse>;
async stopBulkDeployment(params: StopBulkDeploymentRequest, opts?: client.RequestOptions): Promise<void>;
async tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async updateConnectivityInfo(params: UpdateConnectivityInfoRequest, opts?: client.RequestOptions): Promise<UpdateConnectivityInfoResponse>;
async updateConnectorDefinition(params: UpdateConnectorDefinitionRequest, opts?: client.RequestOptions): Promise<void>;
async updateCoreDefinition(params: UpdateCoreDefinitionRequest, opts?: client.RequestOptions): Promise<void>;
async updateDeviceDefinition(params: UpdateDeviceDefinitionRequest, opts?: client.RequestOptions): Promise<void>;
async updateFunctionDefinition(params: UpdateFunctionDefinitionRequest, opts?: client.RequestOptions): Promise<void>;
async updateGroup(params: UpdateGroupRequest, opts?: client.RequestOptions): Promise<void>;
async updateGroupCertificateConfiguration(params: UpdateGroupCertificateConfigurationRequest, opts?: client.RequestOptions): Promise<UpdateGroupCertificateConfigurationResponse>;
async updateLoggerDefinition(params: UpdateLoggerDefinitionRequest, opts?: client.RequestOptions): Promise<void>;
async updateResourceDefinition(params: UpdateResourceDefinitionRequest, opts?: client.RequestOptions): Promise<void>;
async updateSubscriptionDefinition(params: UpdateSubscriptionDefinitionRequest, opts?: client.RequestOptions): Promise<void>;
async updateThingRuntimeConfiguration(params: UpdateThingRuntimeConfigurationRequest, opts?: client.RequestOptions): Promise<void>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new Greengrass(apiFactory: client.ApiFactory)
[src]

§Methods

§

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.

§

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

§

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

§

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

§

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.

§

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

§

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

§

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

§

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

§

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.

§

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

§

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.

§

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

§

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

§

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

§

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

§

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.

§

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

§

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.

§

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

§

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

§
deleteConnectorDefinition(params: DeleteConnectorDefinitionRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a connector definition.

§
deleteCoreDefinition(params: DeleteCoreDefinitionRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a core definition.

§
deleteDeviceDefinition(params: DeleteDeviceDefinitionRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a device definition.

§
deleteFunctionDefinition(params: DeleteFunctionDefinitionRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a Lambda function definition.

§
deleteGroup(params: DeleteGroupRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a group.

§
deleteLoggerDefinition(params: DeleteLoggerDefinitionRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a logger definition.

§
deleteResourceDefinition(params: DeleteResourceDefinitionRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a resource definition.

§
deleteSubscriptionDefinition(params: DeleteSubscriptionDefinitionRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a subscription definition.

§

Disassociates the role from a group.

§
disassociateServiceRoleFromAccount(opts?: client.RequestOptions): Promise<DisassociateServiceRoleFromAccountResponse>
[src]

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

§

Retrieves the role associated with a particular group.

§

Returns the status of a bulk deployment.

§

Retrieves the connectivity information for a core.

§

Retrieves information about a connector definition.

§

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.

§

Retrieves information about a core definition version.

§

Retrieves information about a core definition version.

§

Returns the status of a deployment.

§

Retrieves information about a device definition.

§

Retrieves information about a device definition version.

§

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

§

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

§
getGroup(params: GetGroupRequest, opts?: client.RequestOptions): Promise<GetGroupResponse>
[src]

Retrieves information about a group.

§

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

§

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

§

Retrieves information about a group version.

§

Retrieves information about a logger definition.

§

Retrieves information about a logger definition version.

§

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

§

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

§
getServiceRoleForAccount(opts?: client.RequestOptions): Promise<GetServiceRoleForAccountResponse>
[src]

Retrieves the service role that is attached to your account.

§

Retrieves information about a subscription definition.

§

Retrieves information about a subscription definition version.

§

Get the runtime configuration of a thing.

§

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

§

Returns a list of bulk deployments.

§

Retrieves a list of connector definitions.

§

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.

§

Retrieves a list of core definitions.

§

Lists the versions of a core definition.

§

Returns a history of deployments for the group.

§

Retrieves a list of device definitions.

§

Lists the versions of a device definition.

§

Retrieves a list of Lambda function definitions.

§

Lists the versions of a Lambda function definition.

§

Retrieves the current CAs for a group.

§
listGroups(params?: ListGroupsRequest, opts?: client.RequestOptions): Promise<ListGroupsResponse>
[src]

Retrieves a list of groups.

§

Lists the versions of a group.

§

Retrieves a list of logger definitions.

§

Lists the versions of a logger definition.

§

Retrieves a list of resource definitions.

§

Lists the versions of a resource definition.

§

Retrieves a list of subscription definitions.

§

Lists the versions of a subscription definition.

§

Retrieves a list of resource tags for a resource arn.

§

Resets a group's deployments.

§

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.

§
stopBulkDeployment(params: StopBulkDeploymentRequest, opts?: client.RequestOptions): Promise<void>
[src]

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.

§
tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

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

§
untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Remove resource tags from a Greengrass Resource.

§

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.

§
updateConnectorDefinition(params: UpdateConnectorDefinitionRequest, opts?: client.RequestOptions): Promise<void>
[src]

Updates a connector definition.

§
updateCoreDefinition(params: UpdateCoreDefinitionRequest, opts?: client.RequestOptions): Promise<void>
[src]

Updates a core definition.

§
updateDeviceDefinition(params: UpdateDeviceDefinitionRequest, opts?: client.RequestOptions): Promise<void>
[src]

Updates a device definition.

§
updateFunctionDefinition(params: UpdateFunctionDefinitionRequest, opts?: client.RequestOptions): Promise<void>
[src]

Updates a Lambda function definition.

§
updateGroup(params: UpdateGroupRequest, opts?: client.RequestOptions): Promise<void>
[src]

Updates a group.

§

Updates the Certificate expiry time for a group.

§
updateLoggerDefinition(params: UpdateLoggerDefinitionRequest, opts?: client.RequestOptions): Promise<void>
[src]

Updates a logger definition.

§
updateResourceDefinition(params: UpdateResourceDefinitionRequest, opts?: client.RequestOptions): Promise<void>
[src]

Updates a resource definition.

§
updateSubscriptionDefinition(params: UpdateSubscriptionDefinitionRequest, opts?: client.RequestOptions): Promise<void>
[src]

Updates a subscription definition.

§
updateThingRuntimeConfiguration(params: UpdateThingRuntimeConfigurationRequest, opts?: client.RequestOptions): Promise<void>
[src]

Updates the runtime configuration of a thing.

§Static Properties