greengrass – github.com/aws/aws-sdk-go-v2/service/greengrass Index | Files | Directories

package greengrass

import "github.com/aws/aws-sdk-go-v2/service/greengrass"

Index

Constants

const ServiceAPIVersion = "2017-06-07"
const ServiceID = "Greengrass"

Functions

func AddResolveEndpointMiddleware

func AddResolveEndpointMiddleware(stack *middleware.Stack, options ResolveEndpointMiddlewareOptions)

func NewDefaultEndpointResolver

func NewDefaultEndpointResolver() *internalendpoints.Resolver

NewDefaultEndpointResolver constructs a new service endpoint resolver

func RemoveResolveEndpointMiddleware

func RemoveResolveEndpointMiddleware(stack *middleware.Stack) error

Types

type AssociateRoleToGroupInput

type AssociateRoleToGroupInput struct {
	// The ID of the Greengrass group.
	GroupId *string
	// The ARN of the role you wish to associate with this group. The existence of the
	// role is not validated.
	RoleArn *string
}

type AssociateRoleToGroupOutput

type AssociateRoleToGroupOutput struct {
	// The time, in milliseconds since the epoch, when the role ARN was associated with
	// the group.
	AssociatedAt *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type AssociateServiceRoleToAccountInput

type AssociateServiceRoleToAccountInput struct {
	// The ARN of the service role you wish to associate with your account.
	RoleArn *string
}

type AssociateServiceRoleToAccountOutput

type AssociateServiceRoleToAccountOutput struct {
	// The time when the service role was associated with the account.
	AssociatedAt *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type Client

type Client struct {
	// contains filtered or unexported fields
}

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.

func New

func New(options Options, optFns ...func(*Options)) *Client

New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.

func NewFromConfig

func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client

NewFromConfig returns a new client from the provided config.

func (*Client) AssociateRoleToGroup

func (c *Client) AssociateRoleToGroup(ctx context.Context, params *AssociateRoleToGroupInput, optFns ...func(*Options)) (*AssociateRoleToGroupOutput, error)

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.

func (*Client) AssociateServiceRoleToAccount

func (c *Client) AssociateServiceRoleToAccount(ctx context.Context, params *AssociateServiceRoleToAccountInput, optFns ...func(*Options)) (*AssociateServiceRoleToAccountOutput, error)

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

func (*Client) CreateConnectorDefinition

func (c *Client) CreateConnectorDefinition(ctx context.Context, params *CreateConnectorDefinitionInput, optFns ...func(*Options)) (*CreateConnectorDefinitionOutput, error)

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

func (*Client) CreateConnectorDefinitionVersion

func (c *Client) CreateConnectorDefinitionVersion(ctx context.Context, params *CreateConnectorDefinitionVersionInput, optFns ...func(*Options)) (*CreateConnectorDefinitionVersionOutput, error)

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

func (*Client) CreateCoreDefinition

func (c *Client) CreateCoreDefinition(ctx context.Context, params *CreateCoreDefinitionInput, optFns ...func(*Options)) (*CreateCoreDefinitionOutput, error)

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.

func (*Client) CreateCoreDefinitionVersion

func (c *Client) CreateCoreDefinitionVersion(ctx context.Context, params *CreateCoreDefinitionVersionInput, optFns ...func(*Options)) (*CreateCoreDefinitionVersionOutput, error)

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

func (*Client) CreateDeployment

func (c *Client) CreateDeployment(ctx context.Context, params *CreateDeploymentInput, optFns ...func(*Options)) (*CreateDeploymentOutput, error)

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

func (*Client) CreateDeviceDefinition

func (c *Client) CreateDeviceDefinition(ctx context.Context, params *CreateDeviceDefinitionInput, optFns ...func(*Options)) (*CreateDeviceDefinitionOutput, error)

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

func (*Client) CreateDeviceDefinitionVersion

func (c *Client) CreateDeviceDefinitionVersion(ctx context.Context, params *CreateDeviceDefinitionVersionInput, optFns ...func(*Options)) (*CreateDeviceDefinitionVersionOutput, error)

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

func (*Client) CreateFunctionDefinition

func (c *Client) CreateFunctionDefinition(ctx context.Context, params *CreateFunctionDefinitionInput, optFns ...func(*Options)) (*CreateFunctionDefinitionOutput, error)

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.

func (*Client) CreateFunctionDefinitionVersion

func (c *Client) CreateFunctionDefinitionVersion(ctx context.Context, params *CreateFunctionDefinitionVersionInput, optFns ...func(*Options)) (*CreateFunctionDefinitionVersionOutput, error)

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

func (*Client) CreateGroup

func (c *Client) CreateGroup(ctx context.Context, params *CreateGroupInput, optFns ...func(*Options)) (*CreateGroupOutput, error)

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.

func (*Client) CreateGroupCertificateAuthority

func (c *Client) CreateGroupCertificateAuthority(ctx context.Context, params *CreateGroupCertificateAuthorityInput, optFns ...func(*Options)) (*CreateGroupCertificateAuthorityOutput, error)

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

func (*Client) CreateGroupVersion

func (c *Client) CreateGroupVersion(ctx context.Context, params *CreateGroupVersionInput, optFns ...func(*Options)) (*CreateGroupVersionOutput, error)

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

func (*Client) CreateLoggerDefinition

func (c *Client) CreateLoggerDefinition(ctx context.Context, params *CreateLoggerDefinitionInput, optFns ...func(*Options)) (*CreateLoggerDefinitionOutput, error)

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

func (*Client) CreateLoggerDefinitionVersion

func (c *Client) CreateLoggerDefinitionVersion(ctx context.Context, params *CreateLoggerDefinitionVersionInput, optFns ...func(*Options)) (*CreateLoggerDefinitionVersionOutput, error)

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

func (*Client) CreateResourceDefinition

func (c *Client) CreateResourceDefinition(ctx context.Context, params *CreateResourceDefinitionInput, optFns ...func(*Options)) (*CreateResourceDefinitionOutput, error)

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.

func (*Client) CreateResourceDefinitionVersion

func (c *Client) CreateResourceDefinitionVersion(ctx context.Context, params *CreateResourceDefinitionVersionInput, optFns ...func(*Options)) (*CreateResourceDefinitionVersionOutput, error)

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

func (*Client) CreateSoftwareUpdateJob

func (c *Client) CreateSoftwareUpdateJob(ctx context.Context, params *CreateSoftwareUpdateJobInput, optFns ...func(*Options)) (*CreateSoftwareUpdateJobOutput, error)

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.

func (*Client) CreateSubscriptionDefinition

func (c *Client) CreateSubscriptionDefinition(ctx context.Context, params *CreateSubscriptionDefinitionInput, optFns ...func(*Options)) (*CreateSubscriptionDefinitionOutput, error)

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

func (*Client) CreateSubscriptionDefinitionVersion

func (c *Client) CreateSubscriptionDefinitionVersion(ctx context.Context, params *CreateSubscriptionDefinitionVersionInput, optFns ...func(*Options)) (*CreateSubscriptionDefinitionVersionOutput, error)

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

func (*Client) DeleteConnectorDefinition

func (c *Client) DeleteConnectorDefinition(ctx context.Context, params *DeleteConnectorDefinitionInput, optFns ...func(*Options)) (*DeleteConnectorDefinitionOutput, error)

Deletes a connector definition.

func (*Client) DeleteCoreDefinition

func (c *Client) DeleteCoreDefinition(ctx context.Context, params *DeleteCoreDefinitionInput, optFns ...func(*Options)) (*DeleteCoreDefinitionOutput, error)

Deletes a core definition.

func (*Client) DeleteDeviceDefinition

func (c *Client) DeleteDeviceDefinition(ctx context.Context, params *DeleteDeviceDefinitionInput, optFns ...func(*Options)) (*DeleteDeviceDefinitionOutput, error)

Deletes a device definition.

func (*Client) DeleteFunctionDefinition

func (c *Client) DeleteFunctionDefinition(ctx context.Context, params *DeleteFunctionDefinitionInput, optFns ...func(*Options)) (*DeleteFunctionDefinitionOutput, error)

Deletes a Lambda function definition.

func (*Client) DeleteGroup

func (c *Client) DeleteGroup(ctx context.Context, params *DeleteGroupInput, optFns ...func(*Options)) (*DeleteGroupOutput, error)

Deletes a group.

func (*Client) DeleteLoggerDefinition

func (c *Client) DeleteLoggerDefinition(ctx context.Context, params *DeleteLoggerDefinitionInput, optFns ...func(*Options)) (*DeleteLoggerDefinitionOutput, error)

Deletes a logger definition.

func (*Client) DeleteResourceDefinition

func (c *Client) DeleteResourceDefinition(ctx context.Context, params *DeleteResourceDefinitionInput, optFns ...func(*Options)) (*DeleteResourceDefinitionOutput, error)

Deletes a resource definition.

func (*Client) DeleteSubscriptionDefinition

func (c *Client) DeleteSubscriptionDefinition(ctx context.Context, params *DeleteSubscriptionDefinitionInput, optFns ...func(*Options)) (*DeleteSubscriptionDefinitionOutput, error)

Deletes a subscription definition.

func (*Client) DisassociateRoleFromGroup

func (c *Client) DisassociateRoleFromGroup(ctx context.Context, params *DisassociateRoleFromGroupInput, optFns ...func(*Options)) (*DisassociateRoleFromGroupOutput, error)

Disassociates the role from a group.

func (*Client) DisassociateServiceRoleFromAccount

func (c *Client) DisassociateServiceRoleFromAccount(ctx context.Context, params *DisassociateServiceRoleFromAccountInput, optFns ...func(*Options)) (*DisassociateServiceRoleFromAccountOutput, error)

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

func (*Client) GetAssociatedRole

func (c *Client) GetAssociatedRole(ctx context.Context, params *GetAssociatedRoleInput, optFns ...func(*Options)) (*GetAssociatedRoleOutput, error)

Retrieves the role associated with a particular group.

func (*Client) GetBulkDeploymentStatus

func (c *Client) GetBulkDeploymentStatus(ctx context.Context, params *GetBulkDeploymentStatusInput, optFns ...func(*Options)) (*GetBulkDeploymentStatusOutput, error)

Returns the status of a bulk deployment.

func (*Client) GetConnectivityInfo

func (c *Client) GetConnectivityInfo(ctx context.Context, params *GetConnectivityInfoInput, optFns ...func(*Options)) (*GetConnectivityInfoOutput, error)

Retrieves the connectivity information for a core.

func (*Client) GetConnectorDefinition

func (c *Client) GetConnectorDefinition(ctx context.Context, params *GetConnectorDefinitionInput, optFns ...func(*Options)) (*GetConnectorDefinitionOutput, error)

Retrieves information about a connector definition.

func (*Client) GetConnectorDefinitionVersion

func (c *Client) GetConnectorDefinitionVersion(ctx context.Context, params *GetConnectorDefinitionVersionInput, optFns ...func(*Options)) (*GetConnectorDefinitionVersionOutput, error)

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.

func (*Client) GetCoreDefinition

func (c *Client) GetCoreDefinition(ctx context.Context, params *GetCoreDefinitionInput, optFns ...func(*Options)) (*GetCoreDefinitionOutput, error)

Retrieves information about a core definition version.

func (*Client) GetCoreDefinitionVersion

func (c *Client) GetCoreDefinitionVersion(ctx context.Context, params *GetCoreDefinitionVersionInput, optFns ...func(*Options)) (*GetCoreDefinitionVersionOutput, error)

Retrieves information about a core definition version.

func (*Client) GetDeploymentStatus

func (c *Client) GetDeploymentStatus(ctx context.Context, params *GetDeploymentStatusInput, optFns ...func(*Options)) (*GetDeploymentStatusOutput, error)

Returns the status of a deployment.

func (*Client) GetDeviceDefinition

func (c *Client) GetDeviceDefinition(ctx context.Context, params *GetDeviceDefinitionInput, optFns ...func(*Options)) (*GetDeviceDefinitionOutput, error)

Retrieves information about a device definition.

func (*Client) GetDeviceDefinitionVersion

func (c *Client) GetDeviceDefinitionVersion(ctx context.Context, params *GetDeviceDefinitionVersionInput, optFns ...func(*Options)) (*GetDeviceDefinitionVersionOutput, error)

Retrieves information about a device definition version.

func (*Client) GetFunctionDefinition

func (c *Client) GetFunctionDefinition(ctx context.Context, params *GetFunctionDefinitionInput, optFns ...func(*Options)) (*GetFunctionDefinitionOutput, error)

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

func (*Client) GetFunctionDefinitionVersion

func (c *Client) GetFunctionDefinitionVersion(ctx context.Context, params *GetFunctionDefinitionVersionInput, optFns ...func(*Options)) (*GetFunctionDefinitionVersionOutput, error)

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

func (*Client) GetGroup

func (c *Client) GetGroup(ctx context.Context, params *GetGroupInput, optFns ...func(*Options)) (*GetGroupOutput, error)

Retrieves information about a group.

func (*Client) GetGroupCertificateAuthority

func (c *Client) GetGroupCertificateAuthority(ctx context.Context, params *GetGroupCertificateAuthorityInput, optFns ...func(*Options)) (*GetGroupCertificateAuthorityOutput, error)

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

func (*Client) GetGroupCertificateConfiguration

func (c *Client) GetGroupCertificateConfiguration(ctx context.Context, params *GetGroupCertificateConfigurationInput, optFns ...func(*Options)) (*GetGroupCertificateConfigurationOutput, error)

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

func (*Client) GetGroupVersion

func (c *Client) GetGroupVersion(ctx context.Context, params *GetGroupVersionInput, optFns ...func(*Options)) (*GetGroupVersionOutput, error)

Retrieves information about a group version.

func (*Client) GetLoggerDefinition

func (c *Client) GetLoggerDefinition(ctx context.Context, params *GetLoggerDefinitionInput, optFns ...func(*Options)) (*GetLoggerDefinitionOutput, error)

Retrieves information about a logger definition.

func (*Client) GetLoggerDefinitionVersion

func (c *Client) GetLoggerDefinitionVersion(ctx context.Context, params *GetLoggerDefinitionVersionInput, optFns ...func(*Options)) (*GetLoggerDefinitionVersionOutput, error)

Retrieves information about a logger definition version.

func (*Client) GetResourceDefinition

func (c *Client) GetResourceDefinition(ctx context.Context, params *GetResourceDefinitionInput, optFns ...func(*Options)) (*GetResourceDefinitionOutput, error)

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

func (*Client) GetResourceDefinitionVersion

func (c *Client) GetResourceDefinitionVersion(ctx context.Context, params *GetResourceDefinitionVersionInput, optFns ...func(*Options)) (*GetResourceDefinitionVersionOutput, error)

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

func (*Client) GetServiceRoleForAccount

func (c *Client) GetServiceRoleForAccount(ctx context.Context, params *GetServiceRoleForAccountInput, optFns ...func(*Options)) (*GetServiceRoleForAccountOutput, error)

Retrieves the service role that is attached to your account.

func (*Client) GetSubscriptionDefinition

func (c *Client) GetSubscriptionDefinition(ctx context.Context, params *GetSubscriptionDefinitionInput, optFns ...func(*Options)) (*GetSubscriptionDefinitionOutput, error)

Retrieves information about a subscription definition.

func (*Client) GetSubscriptionDefinitionVersion

func (c *Client) GetSubscriptionDefinitionVersion(ctx context.Context, params *GetSubscriptionDefinitionVersionInput, optFns ...func(*Options)) (*GetSubscriptionDefinitionVersionOutput, error)

Retrieves information about a subscription definition version.

func (*Client) ListBulkDeploymentDetailedReports

func (c *Client) ListBulkDeploymentDetailedReports(ctx context.Context, params *ListBulkDeploymentDetailedReportsInput, optFns ...func(*Options)) (*ListBulkDeploymentDetailedReportsOutput, error)

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

func (*Client) ListBulkDeployments

func (c *Client) ListBulkDeployments(ctx context.Context, params *ListBulkDeploymentsInput, optFns ...func(*Options)) (*ListBulkDeploymentsOutput, error)

Returns a list of bulk deployments.

func (*Client) ListConnectorDefinitionVersions

func (c *Client) ListConnectorDefinitionVersions(ctx context.Context, params *ListConnectorDefinitionVersionsInput, optFns ...func(*Options)) (*ListConnectorDefinitionVersionsOutput, error)

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.

func (*Client) ListConnectorDefinitions

func (c *Client) ListConnectorDefinitions(ctx context.Context, params *ListConnectorDefinitionsInput, optFns ...func(*Options)) (*ListConnectorDefinitionsOutput, error)

Retrieves a list of connector definitions.

func (*Client) ListCoreDefinitionVersions

func (c *Client) ListCoreDefinitionVersions(ctx context.Context, params *ListCoreDefinitionVersionsInput, optFns ...func(*Options)) (*ListCoreDefinitionVersionsOutput, error)

Lists the versions of a core definition.

func (*Client) ListCoreDefinitions

func (c *Client) ListCoreDefinitions(ctx context.Context, params *ListCoreDefinitionsInput, optFns ...func(*Options)) (*ListCoreDefinitionsOutput, error)

Retrieves a list of core definitions.

func (*Client) ListDeployments

func (c *Client) ListDeployments(ctx context.Context, params *ListDeploymentsInput, optFns ...func(*Options)) (*ListDeploymentsOutput, error)

Returns a history of deployments for the group.

func (*Client) ListDeviceDefinitionVersions

func (c *Client) ListDeviceDefinitionVersions(ctx context.Context, params *ListDeviceDefinitionVersionsInput, optFns ...func(*Options)) (*ListDeviceDefinitionVersionsOutput, error)

Lists the versions of a device definition.

func (*Client) ListDeviceDefinitions

func (c *Client) ListDeviceDefinitions(ctx context.Context, params *ListDeviceDefinitionsInput, optFns ...func(*Options)) (*ListDeviceDefinitionsOutput, error)

Retrieves a list of device definitions.

func (*Client) ListFunctionDefinitionVersions

func (c *Client) ListFunctionDefinitionVersions(ctx context.Context, params *ListFunctionDefinitionVersionsInput, optFns ...func(*Options)) (*ListFunctionDefinitionVersionsOutput, error)

Lists the versions of a Lambda function definition.

func (*Client) ListFunctionDefinitions

func (c *Client) ListFunctionDefinitions(ctx context.Context, params *ListFunctionDefinitionsInput, optFns ...func(*Options)) (*ListFunctionDefinitionsOutput, error)

Retrieves a list of Lambda function definitions.

func (*Client) ListGroupCertificateAuthorities

func (c *Client) ListGroupCertificateAuthorities(ctx context.Context, params *ListGroupCertificateAuthoritiesInput, optFns ...func(*Options)) (*ListGroupCertificateAuthoritiesOutput, error)

Retrieves the current CAs for a group.

func (*Client) ListGroupVersions

func (c *Client) ListGroupVersions(ctx context.Context, params *ListGroupVersionsInput, optFns ...func(*Options)) (*ListGroupVersionsOutput, error)

Lists the versions of a group.

func (*Client) ListGroups

func (c *Client) ListGroups(ctx context.Context, params *ListGroupsInput, optFns ...func(*Options)) (*ListGroupsOutput, error)

Retrieves a list of groups.

func (*Client) ListLoggerDefinitionVersions

func (c *Client) ListLoggerDefinitionVersions(ctx context.Context, params *ListLoggerDefinitionVersionsInput, optFns ...func(*Options)) (*ListLoggerDefinitionVersionsOutput, error)

Lists the versions of a logger definition.

func (*Client) ListLoggerDefinitions

func (c *Client) ListLoggerDefinitions(ctx context.Context, params *ListLoggerDefinitionsInput, optFns ...func(*Options)) (*ListLoggerDefinitionsOutput, error)

Retrieves a list of logger definitions.

func (*Client) ListResourceDefinitionVersions

func (c *Client) ListResourceDefinitionVersions(ctx context.Context, params *ListResourceDefinitionVersionsInput, optFns ...func(*Options)) (*ListResourceDefinitionVersionsOutput, error)

Lists the versions of a resource definition.

func (*Client) ListResourceDefinitions

func (c *Client) ListResourceDefinitions(ctx context.Context, params *ListResourceDefinitionsInput, optFns ...func(*Options)) (*ListResourceDefinitionsOutput, error)

Retrieves a list of resource definitions.

func (*Client) ListSubscriptionDefinitionVersions

func (c *Client) ListSubscriptionDefinitionVersions(ctx context.Context, params *ListSubscriptionDefinitionVersionsInput, optFns ...func(*Options)) (*ListSubscriptionDefinitionVersionsOutput, error)

Lists the versions of a subscription definition.

func (*Client) ListSubscriptionDefinitions

func (c *Client) ListSubscriptionDefinitions(ctx context.Context, params *ListSubscriptionDefinitionsInput, optFns ...func(*Options)) (*ListSubscriptionDefinitionsOutput, error)

Retrieves a list of subscription definitions.

func (*Client) ListTagsForResource

func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)

Retrieves a list of resource tags for a resource arn.

func (*Client) ResetDeployments

func (c *Client) ResetDeployments(ctx context.Context, params *ResetDeploymentsInput, optFns ...func(*Options)) (*ResetDeploymentsOutput, error)

Resets a group's deployments.

func (*Client) StartBulkDeployment

func (c *Client) StartBulkDeployment(ctx context.Context, params *StartBulkDeploymentInput, optFns ...func(*Options)) (*StartBulkDeploymentOutput, error)

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.

func (*Client) StopBulkDeployment

func (c *Client) StopBulkDeployment(ctx context.Context, params *StopBulkDeploymentInput, optFns ...func(*Options)) (*StopBulkDeploymentOutput, error)

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.

func (*Client) TagResource

func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)

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

func (*Client) UntagResource

func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)

Remove resource tags from a Greengrass Resource.

func (*Client) UpdateConnectivityInfo

func (c *Client) UpdateConnectivityInfo(ctx context.Context, params *UpdateConnectivityInfoInput, optFns ...func(*Options)) (*UpdateConnectivityInfoOutput, error)

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.

func (*Client) UpdateConnectorDefinition

func (c *Client) UpdateConnectorDefinition(ctx context.Context, params *UpdateConnectorDefinitionInput, optFns ...func(*Options)) (*UpdateConnectorDefinitionOutput, error)

Updates a connector definition.

func (*Client) UpdateCoreDefinition

func (c *Client) UpdateCoreDefinition(ctx context.Context, params *UpdateCoreDefinitionInput, optFns ...func(*Options)) (*UpdateCoreDefinitionOutput, error)

Updates a core definition.

func (*Client) UpdateDeviceDefinition

func (c *Client) UpdateDeviceDefinition(ctx context.Context, params *UpdateDeviceDefinitionInput, optFns ...func(*Options)) (*UpdateDeviceDefinitionOutput, error)

Updates a device definition.

func (*Client) UpdateFunctionDefinition

func (c *Client) UpdateFunctionDefinition(ctx context.Context, params *UpdateFunctionDefinitionInput, optFns ...func(*Options)) (*UpdateFunctionDefinitionOutput, error)

Updates a Lambda function definition.

func (*Client) UpdateGroup

func (c *Client) UpdateGroup(ctx context.Context, params *UpdateGroupInput, optFns ...func(*Options)) (*UpdateGroupOutput, error)

Updates a group.

func (*Client) UpdateGroupCertificateConfiguration

func (c *Client) UpdateGroupCertificateConfiguration(ctx context.Context, params *UpdateGroupCertificateConfigurationInput, optFns ...func(*Options)) (*UpdateGroupCertificateConfigurationOutput, error)

Updates the Certificate expiry time for a group.

func (*Client) UpdateLoggerDefinition

func (c *Client) UpdateLoggerDefinition(ctx context.Context, params *UpdateLoggerDefinitionInput, optFns ...func(*Options)) (*UpdateLoggerDefinitionOutput, error)

Updates a logger definition.

func (*Client) UpdateResourceDefinition

func (c *Client) UpdateResourceDefinition(ctx context.Context, params *UpdateResourceDefinitionInput, optFns ...func(*Options)) (*UpdateResourceDefinitionOutput, error)

Updates a resource definition.

func (*Client) UpdateSubscriptionDefinition

func (c *Client) UpdateSubscriptionDefinition(ctx context.Context, params *UpdateSubscriptionDefinitionInput, optFns ...func(*Options)) (*UpdateSubscriptionDefinitionOutput, error)

Updates a subscription definition.

type CreateConnectorDefinitionInput

type CreateConnectorDefinitionInput struct {
	// The name of the connector definition.
	Name *string
	// Tag(s) to add to the new resource.
	Tags map[string]*string
	// Information about the initial version of the connector definition.
	InitialVersion *types.ConnectorDefinitionVersion
	// A client token used to correlate requests and responses.
	AmznClientToken *string
}

type CreateConnectorDefinitionOutput

type CreateConnectorDefinitionOutput struct {
	// The ID of the definition.
	Id *string
	// The time, in milliseconds since the epoch, when the definition was last updated.
	LastUpdatedTimestamp *string
	// The name of the definition.
	Name *string
	// The ARN of the definition.
	Arn *string
	// The time, in milliseconds since the epoch, when the definition was created.
	CreationTimestamp *string
	// The ID of the latest version associated with the definition.
	LatestVersion *string
	// The ARN of the latest version associated with the definition.
	LatestVersionArn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateConnectorDefinitionVersionInput

type CreateConnectorDefinitionVersionInput struct {
	// A list of references to connectors in this version, with their corresponding
	// configuration settings.
	Connectors []*types.Connector
	// A client token used to correlate requests and responses.
	AmznClientToken *string
	// The ID of the connector definition.
	ConnectorDefinitionId *string
}

type CreateConnectorDefinitionVersionOutput

type CreateConnectorDefinitionVersionOutput struct {
	// The time, in milliseconds since the epoch, when the version was created.
	CreationTimestamp *string
	// The ID of the version.
	Version *string
	// The ID of the parent definition that the version is associated with.
	Id *string
	// The ARN of the version.
	Arn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateCoreDefinitionInput

type CreateCoreDefinitionInput struct {
	// Information about the initial version of the core definition.
	InitialVersion *types.CoreDefinitionVersion
	// Tag(s) to add to the new resource.
	Tags map[string]*string
	// The name of the core definition.
	Name *string
	// A client token used to correlate requests and responses.
	AmznClientToken *string
}

Information needed to create a core definition.

type CreateCoreDefinitionOutput

type CreateCoreDefinitionOutput struct {
	// The ARN of the latest version associated with the definition.
	LatestVersionArn *string
	// The time, in milliseconds since the epoch, when the definition was last updated.
	LastUpdatedTimestamp *string
	// The ID of the latest version associated with the definition.
	LatestVersion *string
	// The name of the definition.
	Name *string
	// The ARN of the definition.
	Arn *string
	// The time, in milliseconds since the epoch, when the definition was created.
	CreationTimestamp *string
	// The ID of the definition.
	Id *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateCoreDefinitionVersionInput

type CreateCoreDefinitionVersionInput struct {
	// A client token used to correlate requests and responses.
	AmznClientToken *string
	// A list of cores in the core definition version.
	Cores []*types.Core
	// The ID of the core definition.
	CoreDefinitionId *string
}

type CreateCoreDefinitionVersionOutput

type CreateCoreDefinitionVersionOutput struct {
	// The ID of the parent definition that the version is associated with.
	Id *string
	// The ARN of the version.
	Arn *string
	// The time, in milliseconds since the epoch, when the version was created.
	CreationTimestamp *string
	// The ID of the version.
	Version *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateDeploymentInput

type CreateDeploymentInput struct {
	// The ID of the Greengrass group.
	GroupId *string
	// The ID of the group version to be deployed.
	GroupVersionId *string
	// The ID of the deployment if you wish to redeploy a previous deployment.
	DeploymentId *string
	// The type of deployment. When used for ''CreateDeployment'', only
	// ''NewDeployment'' and ''Redeployment'' are valid.
	DeploymentType types.DeploymentType
	// A client token used to correlate requests and responses.
	AmznClientToken *string
}

type CreateDeploymentOutput

type CreateDeploymentOutput struct {
	// The ARN of the deployment.
	DeploymentArn *string
	// The ID of the deployment.
	DeploymentId *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateDeviceDefinitionInput

type CreateDeviceDefinitionInput struct {
	// The name of the device definition.
	Name *string
	// A client token used to correlate requests and responses.
	AmznClientToken *string
	// Information about the initial version of the device definition.
	InitialVersion *types.DeviceDefinitionVersion
	// Tag(s) to add to the new resource.
	Tags map[string]*string
}

type CreateDeviceDefinitionOutput

type CreateDeviceDefinitionOutput struct {
	// The ID of the latest version associated with the definition.
	LatestVersion *string
	// The time, in milliseconds since the epoch, when the definition was last updated.
	LastUpdatedTimestamp *string
	// The ID of the definition.
	Id *string
	// The time, in milliseconds since the epoch, when the definition was created.
	CreationTimestamp *string
	// The ARN of the latest version associated with the definition.
	LatestVersionArn *string
	// The ARN of the definition.
	Arn *string
	// The name of the definition.
	Name *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateDeviceDefinitionVersionInput

type CreateDeviceDefinitionVersionInput struct {
	// The ID of the device definition.
	DeviceDefinitionId *string
	// A client token used to correlate requests and responses.
	AmznClientToken *string
	// A list of devices in the definition version.
	Devices []*types.Device
}

type CreateDeviceDefinitionVersionOutput

type CreateDeviceDefinitionVersionOutput struct {
	// The ID of the version.
	Version *string
	// The time, in milliseconds since the epoch, when the version was created.
	CreationTimestamp *string
	// The ID of the parent definition that the version is associated with.
	Id *string
	// The ARN of the version.
	Arn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateFunctionDefinitionInput

type CreateFunctionDefinitionInput struct {
	// Information about the initial version of the function definition.
	InitialVersion *types.FunctionDefinitionVersion
	// The name of the function definition.
	Name *string
	// A client token used to correlate requests and responses.
	AmznClientToken *string
	// Tag(s) to add to the new resource.
	Tags map[string]*string
}

type CreateFunctionDefinitionOutput

type CreateFunctionDefinitionOutput struct {
	// The ARN of the latest version associated with the definition.
	LatestVersionArn *string
	// The time, in milliseconds since the epoch, when the definition was last updated.
	LastUpdatedTimestamp *string
	// The ID of the latest version associated with the definition.
	LatestVersion *string
	// The name of the definition.
	Name *string
	// The ID of the definition.
	Id *string
	// The ARN of the definition.
	Arn *string
	// The time, in milliseconds since the epoch, when the definition was created.
	CreationTimestamp *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateFunctionDefinitionVersionInput

type CreateFunctionDefinitionVersionInput struct {
	// The default configuration that applies to all Lambda functions in this function
	// definition version. Individual Lambda functions can override these settings.
	DefaultConfig *types.FunctionDefaultConfig
	// The ID of the Lambda function definition.
	FunctionDefinitionId *string
	// A client token used to correlate requests and responses.
	AmznClientToken *string
	// A list of Lambda functions in this function definition version.
	Functions []*types.Function
}

Information needed to create a function definition version.

type CreateFunctionDefinitionVersionOutput

type CreateFunctionDefinitionVersionOutput struct {
	// The time, in milliseconds since the epoch, when the version was created.
	CreationTimestamp *string
	// The ARN of the version.
	Arn *string
	// The ID of the parent definition that the version is associated with.
	Id *string
	// The ID of the version.
	Version *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateGroupCertificateAuthorityInput

type CreateGroupCertificateAuthorityInput struct {
	// The ID of the Greengrass group.
	GroupId *string
	// A client token used to correlate requests and responses.
	AmznClientToken *string
}

type CreateGroupCertificateAuthorityOutput

type CreateGroupCertificateAuthorityOutput struct {
	// The ARN of the group certificate authority.
	GroupCertificateAuthorityArn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateGroupInput

type CreateGroupInput struct {
	// The name of the group.
	Name *string
	// Information about the initial version of the group.
	InitialVersion *types.GroupVersion
	// Tag(s) to add to the new resource.
	Tags map[string]*string
	// A client token used to correlate requests and responses.
	AmznClientToken *string
}

type CreateGroupOutput

type CreateGroupOutput struct {
	// The time, in milliseconds since the epoch, when the definition was last updated.
	LastUpdatedTimestamp *string
	// The ID of the definition.
	Id *string
	// The ARN of the definition.
	Arn *string
	// The ID of the latest version associated with the definition.
	LatestVersion *string
	// The name of the definition.
	Name *string
	// The ARN of the latest version associated with the definition.
	LatestVersionArn *string
	// The time, in milliseconds since the epoch, when the definition was created.
	CreationTimestamp *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateGroupVersionInput

type CreateGroupVersionInput struct {
	// The ID of the Greengrass group.
	GroupId *string
	// The ARN of the device definition version for this group.
	DeviceDefinitionVersionArn *string
	// The ARN of the core definition version for this group.
	CoreDefinitionVersionArn *string
	// A client token used to correlate requests and responses.
	AmznClientToken *string
	// The ARN of the function definition version for this group.
	FunctionDefinitionVersionArn *string
	// The ARN of the connector definition version for this group.
	ConnectorDefinitionVersionArn *string
	// The ARN of the resource definition version for this group.
	ResourceDefinitionVersionArn *string
	// The ARN of the subscription definition version for this group.
	SubscriptionDefinitionVersionArn *string
	// The ARN of the logger definition version for this group.
	LoggerDefinitionVersionArn *string
}

type CreateGroupVersionOutput

type CreateGroupVersionOutput struct {
	// The ARN of the version.
	Arn *string
	// The ID of the version.
	Version *string
	// The ID of the parent definition that the version is associated with.
	Id *string
	// The time, in milliseconds since the epoch, when the version was created.
	CreationTimestamp *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateLoggerDefinitionInput

type CreateLoggerDefinitionInput struct {
	// Information about the initial version of the logger definition.
	InitialVersion *types.LoggerDefinitionVersion
	// The name of the logger definition.
	Name *string
	// A client token used to correlate requests and responses.
	AmznClientToken *string
	// Tag(s) to add to the new resource.
	Tags map[string]*string
}

type CreateLoggerDefinitionOutput

type CreateLoggerDefinitionOutput struct {
	// The name of the definition.
	Name *string
	// The time, in milliseconds since the epoch, when the definition was last updated.
	LastUpdatedTimestamp *string
	// The ARN of the definition.
	Arn *string
	// The time, in milliseconds since the epoch, when the definition was created.
	CreationTimestamp *string
	// The ID of the definition.
	Id *string
	// The ARN of the latest version associated with the definition.
	LatestVersionArn *string
	// The ID of the latest version associated with the definition.
	LatestVersion *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateLoggerDefinitionVersionInput

type CreateLoggerDefinitionVersionInput struct {
	// The ID of the logger definition.
	LoggerDefinitionId *string
	// A list of loggers.
	Loggers []*types.Logger
	// A client token used to correlate requests and responses.
	AmznClientToken *string
}

type CreateLoggerDefinitionVersionOutput

type CreateLoggerDefinitionVersionOutput struct {
	// The ARN of the version.
	Arn *string
	// The ID of the version.
	Version *string
	// The ID of the parent definition that the version is associated with.
	Id *string
	// The time, in milliseconds since the epoch, when the version was created.
	CreationTimestamp *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateResourceDefinitionInput

type CreateResourceDefinitionInput struct {
	// The name of the resource definition.
	Name *string
	// Tag(s) to add to the new resource.
	Tags map[string]*string
	// Information about the initial version of the resource definition.
	InitialVersion *types.ResourceDefinitionVersion
	// A client token used to correlate requests and responses.
	AmznClientToken *string
}

type CreateResourceDefinitionOutput

type CreateResourceDefinitionOutput struct {
	// The time, in milliseconds since the epoch, when the definition was created.
	CreationTimestamp *string
	// The ID of the latest version associated with the definition.
	LatestVersion *string
	// The time, in milliseconds since the epoch, when the definition was last updated.
	LastUpdatedTimestamp *string
	// The ARN of the latest version associated with the definition.
	LatestVersionArn *string
	// The ID of the definition.
	Id *string
	// The name of the definition.
	Name *string
	// The ARN of the definition.
	Arn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateResourceDefinitionVersionInput

type CreateResourceDefinitionVersionInput struct {
	// A client token used to correlate requests and responses.
	AmznClientToken *string
	// The ID of the resource definition.
	ResourceDefinitionId *string
	// A list of resources.
	Resources []*types.Resource
}

type CreateResourceDefinitionVersionOutput

type CreateResourceDefinitionVersionOutput struct {
	// The ARN of the version.
	Arn *string
	// The time, in milliseconds since the epoch, when the version was created.
	CreationTimestamp *string
	// The ID of the parent definition that the version is associated with.
	Id *string
	// The ID of the version.
	Version *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateSoftwareUpdateJobInput

type CreateSoftwareUpdateJobInput struct {
	// The operating system of the cores which are the targets of an update.
	UpdateTargetsOperatingSystem types.UpdateTargetsOperatingSystem
	// The minimum level of log statements that should be logged by the OTA Agent
	// during an update.
	UpdateAgentLogLevel types.UpdateAgentLogLevel
	// A client token used to correlate requests and responses.
	AmznClientToken *string
	// The IAM Role that Greengrass will use to create pre-signed URLs pointing towards
	// the update artifact.
	S3UrlSignerRole *string
	// The ARNs of the targets (IoT things or IoT thing groups) that this update will
	// be applied to.
	UpdateTargets []*string
	// The architecture of the cores which are the targets of an update.
	UpdateTargetsArchitecture types.UpdateTargetsArchitecture
	// The piece of software on the Greengrass core that will be updated.
	SoftwareToUpdate types.SoftwareToUpdate
}

type CreateSoftwareUpdateJobOutput

type CreateSoftwareUpdateJobOutput struct {
	// The software version installed on the device or devices after the update.
	PlatformSoftwareVersion *string
	// The IoT Job ARN corresponding to this update.
	IotJobArn *string
	// The IoT Job Id corresponding to this update.
	IotJobId *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateSubscriptionDefinitionInput

type CreateSubscriptionDefinitionInput struct {
	// The name of the subscription definition.
	Name *string
	// Tag(s) to add to the new resource.
	Tags map[string]*string
	// Information about the initial version of the subscription definition.
	InitialVersion *types.SubscriptionDefinitionVersion
	// A client token used to correlate requests and responses.
	AmznClientToken *string
}

type CreateSubscriptionDefinitionOutput

type CreateSubscriptionDefinitionOutput struct {
	// The time, in milliseconds since the epoch, when the definition was created.
	CreationTimestamp *string
	// The name of the definition.
	Name *string
	// The ARN of the latest version associated with the definition.
	LatestVersionArn *string
	// The ID of the latest version associated with the definition.
	LatestVersion *string
	// The ARN of the definition.
	Arn *string
	// The ID of the definition.
	Id *string
	// The time, in milliseconds since the epoch, when the definition was last updated.
	LastUpdatedTimestamp *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateSubscriptionDefinitionVersionInput

type CreateSubscriptionDefinitionVersionInput struct {
	// A list of subscriptions.
	Subscriptions []*types.Subscription
	// The ID of the subscription definition.
	SubscriptionDefinitionId *string
	// A client token used to correlate requests and responses.
	AmznClientToken *string
}

type CreateSubscriptionDefinitionVersionOutput

type CreateSubscriptionDefinitionVersionOutput struct {
	// The ARN of the version.
	Arn *string
	// The time, in milliseconds since the epoch, when the version was created.
	CreationTimestamp *string
	// The ID of the parent definition that the version is associated with.
	Id *string
	// The ID of the version.
	Version *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteConnectorDefinitionInput

type DeleteConnectorDefinitionInput struct {
	// The ID of the connector definition.
	ConnectorDefinitionId *string
}

type DeleteConnectorDefinitionOutput

type DeleteConnectorDefinitionOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteCoreDefinitionInput

type DeleteCoreDefinitionInput struct {
	// The ID of the core definition.
	CoreDefinitionId *string
}

type DeleteCoreDefinitionOutput

type DeleteCoreDefinitionOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteDeviceDefinitionInput

type DeleteDeviceDefinitionInput struct {
	// The ID of the device definition.
	DeviceDefinitionId *string
}

type DeleteDeviceDefinitionOutput

type DeleteDeviceDefinitionOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteFunctionDefinitionInput

type DeleteFunctionDefinitionInput struct {
	// The ID of the Lambda function definition.
	FunctionDefinitionId *string
}

type DeleteFunctionDefinitionOutput

type DeleteFunctionDefinitionOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteGroupInput

type DeleteGroupInput struct {
	// The ID of the Greengrass group.
	GroupId *string
}

type DeleteGroupOutput

type DeleteGroupOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteLoggerDefinitionInput

type DeleteLoggerDefinitionInput struct {
	// The ID of the logger definition.
	LoggerDefinitionId *string
}

type DeleteLoggerDefinitionOutput

type DeleteLoggerDefinitionOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteResourceDefinitionInput

type DeleteResourceDefinitionInput struct {
	// The ID of the resource definition.
	ResourceDefinitionId *string
}

type DeleteResourceDefinitionOutput

type DeleteResourceDefinitionOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteSubscriptionDefinitionInput

type DeleteSubscriptionDefinitionInput struct {
	// The ID of the subscription definition.
	SubscriptionDefinitionId *string
}

type DeleteSubscriptionDefinitionOutput

type DeleteSubscriptionDefinitionOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DisassociateRoleFromGroupInput

type DisassociateRoleFromGroupInput struct {
	// The ID of the Greengrass group.
	GroupId *string
}

type DisassociateRoleFromGroupOutput

type DisassociateRoleFromGroupOutput struct {
	// The time, in milliseconds since the epoch, when the role was disassociated from
	// the group.
	DisassociatedAt *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DisassociateServiceRoleFromAccountInput

type DisassociateServiceRoleFromAccountInput struct {
}

type DisassociateServiceRoleFromAccountOutput

type DisassociateServiceRoleFromAccountOutput struct {
	// The time when the service role was disassociated from the account.
	DisassociatedAt *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type EndpointResolver

type EndpointResolver interface {
	ResolveEndpoint(region string, options ResolverOptions) (aws.Endpoint, error)
}

EndpointResolver interface for resolving service endpoints.

func WithEndpointResolver

func WithEndpointResolver(awsResolver aws.EndpointResolver, fallbackResolver EndpointResolver) EndpointResolver

WithEndpointResolver returns an EndpointResolver that first delegates endpoint resolution to the awsResolver. If awsResolver returns aws.EndpointNotFoundError error, the resolver will use the the provided fallbackResolver for resolution. awsResolver and fallbackResolver must not be nil

type EndpointResolverFunc

type EndpointResolverFunc func(region string, options ResolverOptions) (aws.Endpoint, error)

EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.

func (EndpointResolverFunc) ResolveEndpoint

func (fn EndpointResolverFunc) ResolveEndpoint(region string, options ResolverOptions) (endpoint aws.Endpoint, err error)

type GetAssociatedRoleInput

type GetAssociatedRoleInput struct {
	// The ID of the Greengrass group.
	GroupId *string
}

type GetAssociatedRoleOutput

type GetAssociatedRoleOutput struct {
	// The ARN of the role that is associated with the group.
	RoleArn *string
	// The time when the role was associated with the group.
	AssociatedAt *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetBulkDeploymentStatusInput

type GetBulkDeploymentStatusInput struct {
	// The ID of the bulk deployment.
	BulkDeploymentId *string
}

type GetBulkDeploymentStatusOutput

type GetBulkDeploymentStatusOutput struct {
	// Tag(s) attached to the resource arn.
	Tags map[string]*string
	// The time, in ISO format, when the deployment was created.
	CreatedAt *string
	// Error message
	ErrorMessage *string
	// The status of the bulk deployment.
	BulkDeploymentStatus types.BulkDeploymentStatus
	// Relevant metrics on input records processed during bulk deployment.
	BulkDeploymentMetrics *types.BulkDeploymentMetrics
	// Error details
	ErrorDetails []*types.ErrorDetail

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetConnectivityInfoInput

type GetConnectivityInfoInput struct {
	// The thing name.
	ThingName *string
}

type GetConnectivityInfoOutput

type GetConnectivityInfoOutput struct {
	// A message about the connectivity info request.
	Message *string
	// Connectivity info list.
	ConnectivityInfo []*types.ConnectivityInfo

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetConnectorDefinitionInput

type GetConnectorDefinitionInput struct {
	// The ID of the connector definition.
	ConnectorDefinitionId *string
}

type GetConnectorDefinitionOutput

type GetConnectorDefinitionOutput struct {
	// Tag(s) attached to the resource arn.
	Tags map[string]*string
	// The ARN of the latest version associated with the definition.
	LatestVersionArn *string
	// The time, in milliseconds since the epoch, when the definition was created.
	CreationTimestamp *string
	// The ID of the definition.
	Id *string
	// The ARN of the definition.
	Arn *string
	// The time, in milliseconds since the epoch, when the definition was last updated.
	LastUpdatedTimestamp *string
	// The name of the definition.
	Name *string
	// The ID of the latest version associated with the definition.
	LatestVersion *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetConnectorDefinitionVersionInput

type GetConnectorDefinitionVersionInput struct {
	// 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.
	ConnectorDefinitionVersionId *string
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// The ID of the connector definition.
	ConnectorDefinitionId *string
}

type GetConnectorDefinitionVersionOutput

type GetConnectorDefinitionVersionOutput struct {
	// The time, in milliseconds since the epoch, when the connector definition version
	// was created.
	CreationTimestamp *string
	// The ID of the connector definition version.
	Id *string
	// The ARN of the connector definition version.
	Arn *string
	// Information about the connector definition version.
	Definition *types.ConnectorDefinitionVersion
	// The version of the connector definition version.
	Version *string
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetCoreDefinitionInput

type GetCoreDefinitionInput struct {
	// The ID of the core definition.
	CoreDefinitionId *string
}

type GetCoreDefinitionOutput

type GetCoreDefinitionOutput struct {
	// The ARN of the definition.
	Arn *string
	// The ID of the definition.
	Id *string
	// The time, in milliseconds since the epoch, when the definition was last updated.
	LastUpdatedTimestamp *string
	// The ARN of the latest version associated with the definition.
	LatestVersionArn *string
	// The ID of the latest version associated with the definition.
	LatestVersion *string
	// The time, in milliseconds since the epoch, when the definition was created.
	CreationTimestamp *string
	// The name of the definition.
	Name *string
	// Tag(s) attached to the resource arn.
	Tags map[string]*string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetCoreDefinitionVersionInput

type GetCoreDefinitionVersionInput struct {
	// The ID of the core definition.
	CoreDefinitionId *string
	// 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.
	CoreDefinitionVersionId *string
}

type GetCoreDefinitionVersionOutput

type GetCoreDefinitionVersionOutput struct {
	// The time, in milliseconds since the epoch, when the core definition version was
	// created.
	CreationTimestamp *string
	// The ARN of the core definition version.
	Arn *string
	// Information about the core definition version.
	Definition *types.CoreDefinitionVersion
	// The version of the core definition version.
	Version *string
	// The ID of the core definition version.
	Id *string
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetDeploymentStatusInput

type GetDeploymentStatusInput struct {
	// The ID of the deployment.
	DeploymentId *string
	// The ID of the Greengrass group.
	GroupId *string
}

type GetDeploymentStatusOutput

type GetDeploymentStatusOutput struct {
	// The type of the deployment.
	DeploymentType types.DeploymentType
	// Error details
	ErrorDetails []*types.ErrorDetail
	// Error message
	ErrorMessage *string
	// The time, in milliseconds since the epoch, when the deployment status was
	// updated.
	UpdatedAt *string
	// The status of the deployment: ''InProgress'', ''Building'', ''Success'', or
	// ''Failure''.
	DeploymentStatus *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetDeviceDefinitionInput

type GetDeviceDefinitionInput struct {
	// The ID of the device definition.
	DeviceDefinitionId *string
}

type GetDeviceDefinitionOutput

type GetDeviceDefinitionOutput struct {
	// The ID of the definition.
	Id *string
	// The time, in milliseconds since the epoch, when the definition was last updated.
	LastUpdatedTimestamp *string
	// The ARN of the definition.
	Arn *string
	// The ID of the latest version associated with the definition.
	LatestVersion *string
	// The ARN of the latest version associated with the definition.
	LatestVersionArn *string
	// Tag(s) attached to the resource arn.
	Tags map[string]*string
	// The time, in milliseconds since the epoch, when the definition was created.
	CreationTimestamp *string
	// The name of the definition.
	Name *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetDeviceDefinitionVersionInput

type GetDeviceDefinitionVersionInput struct {
	// 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.
	DeviceDefinitionVersionId *string
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// The ID of the device definition.
	DeviceDefinitionId *string
}

type GetDeviceDefinitionVersionOutput

type GetDeviceDefinitionVersionOutput struct {
	// The version of the device definition version.
	Version *string
	// The ID of the device definition version.
	Id *string
	// The time, in milliseconds since the epoch, when the device definition version
	// was created.
	CreationTimestamp *string
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// Information about the device definition version.
	Definition *types.DeviceDefinitionVersion
	// The ARN of the device definition version.
	Arn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetFunctionDefinitionInput

type GetFunctionDefinitionInput struct {
	// The ID of the Lambda function definition.
	FunctionDefinitionId *string
}

type GetFunctionDefinitionOutput

type GetFunctionDefinitionOutput struct {
	// The ID of the definition.
	Id *string
	// The time, in milliseconds since the epoch, when the definition was last updated.
	LastUpdatedTimestamp *string
	// The ID of the latest version associated with the definition.
	LatestVersion *string
	// Tag(s) attached to the resource arn.
	Tags map[string]*string
	// The time, in milliseconds since the epoch, when the definition was created.
	CreationTimestamp *string
	// The ARN of the latest version associated with the definition.
	LatestVersionArn *string
	// The name of the definition.
	Name *string
	// The ARN of the definition.
	Arn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetFunctionDefinitionVersionInput

type GetFunctionDefinitionVersionInput struct {
	// 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.
	FunctionDefinitionVersionId *string
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// The ID of the Lambda function definition.
	FunctionDefinitionId *string
}

type GetFunctionDefinitionVersionOutput

type GetFunctionDefinitionVersionOutput struct {
	// The ID of the function definition version.
	Id *string
	// Information on the definition.
	Definition *types.FunctionDefinitionVersion
	// The ARN of the function definition version.
	Arn *string
	// The version of the function definition version.
	Version *string
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// The time, in milliseconds since the epoch, when the function definition version
	// was created.
	CreationTimestamp *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetGroupCertificateAuthorityInput

type GetGroupCertificateAuthorityInput struct {
	// The ID of the certificate authority.
	CertificateAuthorityId *string
	// The ID of the Greengrass group.
	GroupId *string
}

type GetGroupCertificateAuthorityOutput

type GetGroupCertificateAuthorityOutput struct {
	// The ARN of the certificate authority for the group.
	GroupCertificateAuthorityArn *string
	// The PEM encoded certificate for the group.
	PemEncodedCertificate *string
	// The ID of the certificate authority for the group.
	GroupCertificateAuthorityId *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetGroupCertificateConfigurationInput

type GetGroupCertificateConfigurationInput struct {
	// The ID of the Greengrass group.
	GroupId *string
}

type GetGroupCertificateConfigurationOutput

type GetGroupCertificateConfigurationOutput struct {
	// The amount of time remaining before the certificate expires, in milliseconds.
	CertificateExpiryInMilliseconds *string
	// The amount of time remaining before the certificate authority expires, in
	// milliseconds.
	CertificateAuthorityExpiryInMilliseconds *string
	// The ID of the group certificate configuration.
	GroupId *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetGroupInput

type GetGroupInput struct {
	// The ID of the Greengrass group.
	GroupId *string
}

type GetGroupOutput

type GetGroupOutput struct {
	// The time, in milliseconds since the epoch, when the definition was last updated.
	LastUpdatedTimestamp *string
	// The ID of the definition.
	Id *string
	// The time, in milliseconds since the epoch, when the definition was created.
	CreationTimestamp *string
	// The ARN of the latest version associated with the definition.
	LatestVersionArn *string
	// The ID of the latest version associated with the definition.
	LatestVersion *string
	// Tag(s) attached to the resource arn.
	Tags map[string]*string
	// The ARN of the definition.
	Arn *string
	// The name of the definition.
	Name *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetGroupVersionInput

type GetGroupVersionInput struct {
	// The ID of the Greengrass group.
	GroupId *string
	// 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.
	GroupVersionId *string
}

type GetGroupVersionOutput

type GetGroupVersionOutput struct {
	// The ID of the group version.
	Version *string
	// Information about the group version definition.
	Definition *types.GroupVersion
	// The ARN of the group version.
	Arn *string
	// The time, in milliseconds since the epoch, when the group version was created.
	CreationTimestamp *string
	// The ID of the group that the version is associated with.
	Id *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetLoggerDefinitionInput

type GetLoggerDefinitionInput struct {
	// The ID of the logger definition.
	LoggerDefinitionId *string
}

type GetLoggerDefinitionOutput

type GetLoggerDefinitionOutput struct {
	// The time, in milliseconds since the epoch, when the definition was created.
	CreationTimestamp *string
	// The name of the definition.
	Name *string
	// The ARN of the latest version associated with the definition.
	LatestVersionArn *string
	// Tag(s) attached to the resource arn.
	Tags map[string]*string
	// The ID of the definition.
	Id *string
	// The ARN of the definition.
	Arn *string
	// The ID of the latest version associated with the definition.
	LatestVersion *string
	// The time, in milliseconds since the epoch, when the definition was last updated.
	LastUpdatedTimestamp *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetLoggerDefinitionVersionInput

type GetLoggerDefinitionVersionInput struct {
	// The ID of the logger definition.
	LoggerDefinitionId *string
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// 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.
	LoggerDefinitionVersionId *string
}

type GetLoggerDefinitionVersionOutput

type GetLoggerDefinitionVersionOutput struct {
	// The version of the logger definition version.
	Version *string
	// The ID of the logger definition version.
	Id *string
	// The ARN of the logger definition version.
	Arn *string
	// Information about the logger definition version.
	Definition *types.LoggerDefinitionVersion
	// The time, in milliseconds since the epoch, when the logger definition version
	// was created.
	CreationTimestamp *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetResourceDefinitionInput

type GetResourceDefinitionInput struct {
	// The ID of the resource definition.
	ResourceDefinitionId *string
}

type GetResourceDefinitionOutput

type GetResourceDefinitionOutput struct {
	// The ARN of the definition.
	Arn *string
	// The ID of the latest version associated with the definition.
	LatestVersion *string
	// The ID of the definition.
	Id *string
	// The time, in milliseconds since the epoch, when the definition was last updated.
	LastUpdatedTimestamp *string
	// The ARN of the latest version associated with the definition.
	LatestVersionArn *string
	// The time, in milliseconds since the epoch, when the definition was created.
	CreationTimestamp *string
	// The name of the definition.
	Name *string
	// Tag(s) attached to the resource arn.
	Tags map[string]*string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetResourceDefinitionVersionInput

type GetResourceDefinitionVersionInput struct {
	// 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.
	ResourceDefinitionVersionId *string
	// The ID of the resource definition.
	ResourceDefinitionId *string
}

type GetResourceDefinitionVersionOutput

type GetResourceDefinitionVersionOutput struct {
	// The time, in milliseconds since the epoch, when the resource definition version
	// was created.
	CreationTimestamp *string
	// Arn of the resource definition version.
	Arn *string
	// Information about the definition.
	Definition *types.ResourceDefinitionVersion
	// The ID of the resource definition version.
	Id *string
	// The version of the resource definition version.
	Version *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetServiceRoleForAccountInput

type GetServiceRoleForAccountInput struct {
}

type GetServiceRoleForAccountOutput

type GetServiceRoleForAccountOutput struct {
	// The ARN of the role which is associated with the account.
	RoleArn *string
	// The time when the service role was associated with the account.
	AssociatedAt *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetSubscriptionDefinitionInput

type GetSubscriptionDefinitionInput struct {
	// The ID of the subscription definition.
	SubscriptionDefinitionId *string
}

type GetSubscriptionDefinitionOutput

type GetSubscriptionDefinitionOutput struct {
	// The ID of the latest version associated with the definition.
	LatestVersion *string
	// The ID of the definition.
	Id *string
	// The ARN of the latest version associated with the definition.
	LatestVersionArn *string
	// The time, in milliseconds since the epoch, when the definition was last updated.
	LastUpdatedTimestamp *string
	// The name of the definition.
	Name *string
	// The time, in milliseconds since the epoch, when the definition was created.
	CreationTimestamp *string
	// The ARN of the definition.
	Arn *string
	// Tag(s) attached to the resource arn.
	Tags map[string]*string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetSubscriptionDefinitionVersionInput

type GetSubscriptionDefinitionVersionInput struct {
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// The ID of the subscription definition.
	SubscriptionDefinitionId *string
	// 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.
	SubscriptionDefinitionVersionId *string
}

type GetSubscriptionDefinitionVersionOutput

type GetSubscriptionDefinitionVersionOutput struct {
	// The ID of the subscription definition version.
	Id *string
	// The ARN of the subscription definition version.
	Arn *string
	// Information about the subscription definition version.
	Definition *types.SubscriptionDefinitionVersion
	// The time, in milliseconds since the epoch, when the subscription definition
	// version was created.
	CreationTimestamp *string
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// The version of the subscription definition version.
	Version *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type HTTPClient

type HTTPClient interface {
	Do(*http.Request) (*http.Response, error)
}

type HTTPSignerV4

type HTTPSignerV4 interface {
	SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time) error
}

type ListBulkDeploymentDetailedReportsInput

type ListBulkDeploymentDetailedReportsInput struct {
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// The maximum number of results to be returned per request.
	MaxResults *string
	// The ID of the bulk deployment.
	BulkDeploymentId *string
}

type ListBulkDeploymentDetailedReportsOutput

type ListBulkDeploymentDetailedReportsOutput struct {
	// A list of the individual group deployments in the bulk deployment operation.
	Deployments []*types.BulkDeploymentResult
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListBulkDeploymentsInput

type ListBulkDeploymentsInput struct {
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// The maximum number of results to be returned per request.
	MaxResults *string
}

type ListBulkDeploymentsOutput

type ListBulkDeploymentsOutput struct {
	// A list of bulk deployments.
	BulkDeployments []*types.BulkDeployment
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListConnectorDefinitionVersionsInput

type ListConnectorDefinitionVersionsInput struct {
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// The ID of the connector definition.
	ConnectorDefinitionId *string
	// The maximum number of results to be returned per request.
	MaxResults *string
}

type ListConnectorDefinitionVersionsOutput

type ListConnectorDefinitionVersionsOutput struct {
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// Information about a version.
	Versions []*types.VersionInformation

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListConnectorDefinitionsInput

type ListConnectorDefinitionsInput struct {
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// The maximum number of results to be returned per request.
	MaxResults *string
}

type ListConnectorDefinitionsOutput

type ListConnectorDefinitionsOutput struct {
	// Information about a definition.
	Definitions []*types.DefinitionInformation
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListCoreDefinitionVersionsInput

type ListCoreDefinitionVersionsInput struct {
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// The maximum number of results to be returned per request.
	MaxResults *string
	// The ID of the core definition.
	CoreDefinitionId *string
}

type ListCoreDefinitionVersionsOutput

type ListCoreDefinitionVersionsOutput struct {
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// Information about a version.
	Versions []*types.VersionInformation

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListCoreDefinitionsInput

type ListCoreDefinitionsInput struct {
	// The maximum number of results to be returned per request.
	MaxResults *string
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
}

type ListCoreDefinitionsOutput

type ListCoreDefinitionsOutput struct {
	// Information about a definition.
	Definitions []*types.DefinitionInformation
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListDeploymentsInput

type ListDeploymentsInput struct {
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// The maximum number of results to be returned per request.
	MaxResults *string
	// The ID of the Greengrass group.
	GroupId *string
}

type ListDeploymentsOutput

type ListDeploymentsOutput struct {
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// A list of deployments for the requested groups.
	Deployments []*types.Deployment

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListDeviceDefinitionVersionsInput

type ListDeviceDefinitionVersionsInput struct {
	// The ID of the device definition.
	DeviceDefinitionId *string
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// The maximum number of results to be returned per request.
	MaxResults *string
}

type ListDeviceDefinitionVersionsOutput

type ListDeviceDefinitionVersionsOutput struct {
	// Information about a version.
	Versions []*types.VersionInformation
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListDeviceDefinitionsInput

type ListDeviceDefinitionsInput struct {
	// The maximum number of results to be returned per request.
	MaxResults *string
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
}

type ListDeviceDefinitionsOutput

type ListDeviceDefinitionsOutput struct {
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// Information about a definition.
	Definitions []*types.DefinitionInformation

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListFunctionDefinitionVersionsInput

type ListFunctionDefinitionVersionsInput struct {
	// The ID of the Lambda function definition.
	FunctionDefinitionId *string
	// The maximum number of results to be returned per request.
	MaxResults *string
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
}

type ListFunctionDefinitionVersionsOutput

type ListFunctionDefinitionVersionsOutput struct {
	// Information about a version.
	Versions []*types.VersionInformation
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListFunctionDefinitionsInput

type ListFunctionDefinitionsInput struct {
	// The maximum number of results to be returned per request.
	MaxResults *string
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
}

type ListFunctionDefinitionsOutput

type ListFunctionDefinitionsOutput struct {
	// Information about a definition.
	Definitions []*types.DefinitionInformation
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListGroupCertificateAuthoritiesInput

type ListGroupCertificateAuthoritiesInput struct {
	// The ID of the Greengrass group.
	GroupId *string
}

type ListGroupCertificateAuthoritiesOutput

type ListGroupCertificateAuthoritiesOutput struct {
	// A list of certificate authorities associated with the group.
	GroupCertificateAuthorities []*types.GroupCertificateAuthorityProperties

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListGroupVersionsInput

type ListGroupVersionsInput struct {
	// The ID of the Greengrass group.
	GroupId *string
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// The maximum number of results to be returned per request.
	MaxResults *string
}

type ListGroupVersionsOutput

type ListGroupVersionsOutput struct {
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// Information about a version.
	Versions []*types.VersionInformation

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListGroupsInput

type ListGroupsInput struct {
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// The maximum number of results to be returned per request.
	MaxResults *string
}

type ListGroupsOutput

type ListGroupsOutput struct {
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// Information about a group.
	Groups []*types.GroupInformation

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListLoggerDefinitionVersionsInput

type ListLoggerDefinitionVersionsInput struct {
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// The ID of the logger definition.
	LoggerDefinitionId *string
	// The maximum number of results to be returned per request.
	MaxResults *string
}

type ListLoggerDefinitionVersionsOutput

type ListLoggerDefinitionVersionsOutput struct {
	// Information about a version.
	Versions []*types.VersionInformation
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListLoggerDefinitionsInput

type ListLoggerDefinitionsInput struct {
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// The maximum number of results to be returned per request.
	MaxResults *string
}

type ListLoggerDefinitionsOutput

type ListLoggerDefinitionsOutput struct {
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// Information about a definition.
	Definitions []*types.DefinitionInformation

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListResourceDefinitionVersionsInput

type ListResourceDefinitionVersionsInput struct {
	// The maximum number of results to be returned per request.
	MaxResults *string
	// The ID of the resource definition.
	ResourceDefinitionId *string
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
}

type ListResourceDefinitionVersionsOutput

type ListResourceDefinitionVersionsOutput struct {
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// Information about a version.
	Versions []*types.VersionInformation

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListResourceDefinitionsInput

type ListResourceDefinitionsInput struct {
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// The maximum number of results to be returned per request.
	MaxResults *string
}

type ListResourceDefinitionsOutput

type ListResourceDefinitionsOutput struct {
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// Information about a definition.
	Definitions []*types.DefinitionInformation

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListSubscriptionDefinitionVersionsInput

type ListSubscriptionDefinitionVersionsInput struct {
	// The maximum number of results to be returned per request.
	MaxResults *string
	// The ID of the subscription definition.
	SubscriptionDefinitionId *string
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
}

type ListSubscriptionDefinitionVersionsOutput

type ListSubscriptionDefinitionVersionsOutput struct {
	// Information about a version.
	Versions []*types.VersionInformation
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListSubscriptionDefinitionsInput

type ListSubscriptionDefinitionsInput struct {
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string
	// The maximum number of results to be returned per request.
	MaxResults *string
}

type ListSubscriptionDefinitionsOutput

type ListSubscriptionDefinitionsOutput struct {
	// Information about a definition.
	Definitions []*types.DefinitionInformation
	// The token for the next set of results, or ''null'' if there are no additional
	// results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListTagsForResourceInput

type ListTagsForResourceInput struct {
	// The Amazon Resource Name (ARN) of the resource.
	ResourceArn *string
}

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {
	// The key-value pair for the resource tag.
	Tags map[string]*string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type Options

type Options struct {
	// Set of options to modify how an operation is invoked. These apply to all
	// operations invoked for this client. Use functional options on operation call to
	// modify this list for per operation behavior.
	APIOptions []func(*middleware.Stack) error

	// The credentials object to use when signing requests.
	Credentials aws.CredentialsProvider

	// The endpoint options to be used when attempting to resolve an endpoint.
	EndpointOptions ResolverOptions

	// The service endpoint resolver.
	EndpointResolver EndpointResolver

	// Signature Version 4 (SigV4) Signer
	HTTPSignerV4 HTTPSignerV4

	// The region to send requests to. (Required)
	Region string

	// Retryer guides how HTTP requests should be retried in case of recoverable
	// failures. When nil the API client will use a default retryer.
	Retryer retry.Retryer

	// The HTTP client to invoke API calls with. Defaults to client's default HTTP
	// implementation if nil.
	HTTPClient HTTPClient
}

func (Options) Copy

func (o Options) Copy() Options

Copy creates a clone where the APIOptions list is deep copied.

func (Options) GetCredentials

func (o Options) GetCredentials() aws.CredentialsProvider

func (Options) GetEndpointOptions

func (o Options) GetEndpointOptions() ResolverOptions

func (Options) GetEndpointResolver

func (o Options) GetEndpointResolver() EndpointResolver

func (Options) GetHTTPSignerV4

func (o Options) GetHTTPSignerV4() HTTPSignerV4

func (Options) GetRegion

func (o Options) GetRegion() string

func (Options) GetRetryer

func (o Options) GetRetryer() retry.Retryer

type ResetDeploymentsInput

type ResetDeploymentsInput struct {
	// A client token used to correlate requests and responses.
	AmznClientToken *string
	// The ID of the Greengrass group.
	GroupId *string
	// If true, performs a best-effort only core reset.
	Force *bool
}

Information needed to reset deployments.

type ResetDeploymentsOutput

type ResetDeploymentsOutput struct {
	// The ID of the deployment.
	DeploymentId *string
	// The ARN of the deployment.
	DeploymentArn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ResolveEndpoint

type ResolveEndpoint struct {
	Resolver EndpointResolver
	Options  ResolverOptions
}

func (*ResolveEndpoint) HandleSerialize

func (*ResolveEndpoint) ID

func (*ResolveEndpoint) ID() string

type ResolveEndpointMiddlewareOptions

type ResolveEndpointMiddlewareOptions interface {
	GetEndpointResolver() EndpointResolver
	GetEndpointOptions() ResolverOptions
}

type ResolverOptions

type ResolverOptions = internalendpoints.Options

ResolverOptions is the service endpoint resolver options

type StartBulkDeploymentInput

type StartBulkDeploymentInput struct {
	// 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.
	InputFileUri *string
	// Tag(s) to add to the new resource.
	Tags map[string]*string
	// 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.
	ExecutionRoleArn *string
	// A client token used to correlate requests and responses.
	AmznClientToken *string
}

type StartBulkDeploymentOutput

type StartBulkDeploymentOutput struct {
	// The ID of the bulk deployment.
	BulkDeploymentId *string
	// The ARN of the bulk deployment.
	BulkDeploymentArn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type StopBulkDeploymentInput

type StopBulkDeploymentInput struct {
	// The ID of the bulk deployment.
	BulkDeploymentId *string
}

type StopBulkDeploymentOutput

type StopBulkDeploymentOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type TagResourceInput

type TagResourceInput struct {
	// The Amazon Resource Name (ARN) of the resource.
	ResourceArn *string
	// The key-value pair for the resource tag.
	Tags map[string]*string
}

A map of the key-value pairs for the resource tag.

type TagResourceOutput

type TagResourceOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UntagResourceInput

type UntagResourceInput struct {
	// The Amazon Resource Name (ARN) of the resource.
	ResourceArn *string
	// An array of tag keys to delete
	TagKeys []*string
}

type UntagResourceOutput

type UntagResourceOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UpdateConnectivityInfoInput

type UpdateConnectivityInfoInput struct {
	// A list of connectivity info.
	ConnectivityInfo []*types.ConnectivityInfo
	// The thing name.
	ThingName *string
}

Connectivity information.

type UpdateConnectivityInfoOutput

type UpdateConnectivityInfoOutput struct {
	// The new version of the connectivity info.
	Version *string
	// A message about the connectivity info update request.
	Message *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UpdateConnectorDefinitionInput

type UpdateConnectorDefinitionInput struct {
	// The ID of the connector definition.
	ConnectorDefinitionId *string
	// The name of the definition.
	Name *string
}

type UpdateConnectorDefinitionOutput

type UpdateConnectorDefinitionOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UpdateCoreDefinitionInput

type UpdateCoreDefinitionInput struct {
	// The ID of the core definition.
	CoreDefinitionId *string
	// The name of the definition.
	Name *string
}

type UpdateCoreDefinitionOutput

type UpdateCoreDefinitionOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UpdateDeviceDefinitionInput

type UpdateDeviceDefinitionInput struct {
	// The name of the definition.
	Name *string
	// The ID of the device definition.
	DeviceDefinitionId *string
}

type UpdateDeviceDefinitionOutput

type UpdateDeviceDefinitionOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UpdateFunctionDefinitionInput

type UpdateFunctionDefinitionInput struct {
	// The ID of the Lambda function definition.
	FunctionDefinitionId *string
	// The name of the definition.
	Name *string
}

type UpdateFunctionDefinitionOutput

type UpdateFunctionDefinitionOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UpdateGroupCertificateConfigurationInput

type UpdateGroupCertificateConfigurationInput struct {
	// The amount of time remaining before the certificate expires, in milliseconds.
	CertificateExpiryInMilliseconds *string
	// The ID of the Greengrass group.
	GroupId *string
}

type UpdateGroupCertificateConfigurationOutput

type UpdateGroupCertificateConfigurationOutput struct {
	// The ID of the group certificate configuration.
	GroupId *string
	// The amount of time remaining before the certificate authority expires, in
	// milliseconds.
	CertificateAuthorityExpiryInMilliseconds *string
	// The amount of time remaining before the certificate expires, in milliseconds.
	CertificateExpiryInMilliseconds *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UpdateGroupInput

type UpdateGroupInput struct {
	// The name of the definition.
	Name *string
	// The ID of the Greengrass group.
	GroupId *string
}

type UpdateGroupOutput

type UpdateGroupOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UpdateLoggerDefinitionInput

type UpdateLoggerDefinitionInput struct {
	// The ID of the logger definition.
	LoggerDefinitionId *string
	// The name of the definition.
	Name *string
}

type UpdateLoggerDefinitionOutput

type UpdateLoggerDefinitionOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UpdateResourceDefinitionInput

type UpdateResourceDefinitionInput struct {
	// The ID of the resource definition.
	ResourceDefinitionId *string
	// The name of the definition.
	Name *string
}

type UpdateResourceDefinitionOutput

type UpdateResourceDefinitionOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UpdateSubscriptionDefinitionInput

type UpdateSubscriptionDefinitionInput struct {
	// The ID of the subscription definition.
	SubscriptionDefinitionId *string
	// The name of the definition.
	Name *string
}

type UpdateSubscriptionDefinitionOutput

type UpdateSubscriptionDefinitionOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

Source Files

api_client.go api_op_AssociateRoleToGroup.go api_op_AssociateServiceRoleToAccount.go api_op_CreateConnectorDefinition.go api_op_CreateConnectorDefinitionVersion.go api_op_CreateCoreDefinition.go api_op_CreateCoreDefinitionVersion.go api_op_CreateDeployment.go api_op_CreateDeviceDefinition.go api_op_CreateDeviceDefinitionVersion.go api_op_CreateFunctionDefinition.go api_op_CreateFunctionDefinitionVersion.go api_op_CreateGroup.go api_op_CreateGroupCertificateAuthority.go api_op_CreateGroupVersion.go api_op_CreateLoggerDefinition.go api_op_CreateLoggerDefinitionVersion.go api_op_CreateResourceDefinition.go api_op_CreateResourceDefinitionVersion.go api_op_CreateSoftwareUpdateJob.go api_op_CreateSubscriptionDefinition.go api_op_CreateSubscriptionDefinitionVersion.go api_op_DeleteConnectorDefinition.go api_op_DeleteCoreDefinition.go api_op_DeleteDeviceDefinition.go api_op_DeleteFunctionDefinition.go api_op_DeleteGroup.go api_op_DeleteLoggerDefinition.go api_op_DeleteResourceDefinition.go api_op_DeleteSubscriptionDefinition.go api_op_DisassociateRoleFromGroup.go api_op_DisassociateServiceRoleFromAccount.go api_op_GetAssociatedRole.go api_op_GetBulkDeploymentStatus.go api_op_GetConnectivityInfo.go api_op_GetConnectorDefinition.go api_op_GetConnectorDefinitionVersion.go api_op_GetCoreDefinition.go api_op_GetCoreDefinitionVersion.go api_op_GetDeploymentStatus.go api_op_GetDeviceDefinition.go api_op_GetDeviceDefinitionVersion.go api_op_GetFunctionDefinition.go api_op_GetFunctionDefinitionVersion.go api_op_GetGroup.go api_op_GetGroupCertificateAuthority.go api_op_GetGroupCertificateConfiguration.go api_op_GetGroupVersion.go api_op_GetLoggerDefinition.go api_op_GetLoggerDefinitionVersion.go api_op_GetResourceDefinition.go api_op_GetResourceDefinitionVersion.go api_op_GetServiceRoleForAccount.go api_op_GetSubscriptionDefinition.go api_op_GetSubscriptionDefinitionVersion.go api_op_ListBulkDeploymentDetailedReports.go api_op_ListBulkDeployments.go api_op_ListConnectorDefinitionVersions.go api_op_ListConnectorDefinitions.go api_op_ListCoreDefinitionVersions.go api_op_ListCoreDefinitions.go api_op_ListDeployments.go api_op_ListDeviceDefinitionVersions.go api_op_ListDeviceDefinitions.go api_op_ListFunctionDefinitionVersions.go api_op_ListFunctionDefinitions.go api_op_ListGroupCertificateAuthorities.go api_op_ListGroupVersions.go api_op_ListGroups.go api_op_ListLoggerDefinitionVersions.go api_op_ListLoggerDefinitions.go api_op_ListResourceDefinitionVersions.go api_op_ListResourceDefinitions.go api_op_ListSubscriptionDefinitionVersions.go api_op_ListSubscriptionDefinitions.go api_op_ListTagsForResource.go api_op_ResetDeployments.go api_op_StartBulkDeployment.go api_op_StopBulkDeployment.go api_op_TagResource.go api_op_UntagResource.go api_op_UpdateConnectivityInfo.go api_op_UpdateConnectorDefinition.go api_op_UpdateCoreDefinition.go api_op_UpdateDeviceDefinition.go api_op_UpdateFunctionDefinition.go api_op_UpdateGroup.go api_op_UpdateGroupCertificateConfiguration.go api_op_UpdateLoggerDefinition.go api_op_UpdateResourceDefinition.go api_op_UpdateSubscriptionDefinition.go deserializers.go endpoints.go serializers.go validators.go

Directories

PathSynopsis
internal
types
Version
v0.1.0
Published
Sep 29, 2020
Platform
js/wasm
Imports
25 packages
Last checked
now

Tools for package owners.