Table of Contents
A low-level client representing AWS Greengrass:
import boto3
client = boto3.client('greengrass')
These are the available methods:
Associates a role with a group. Your Greengrass core will use the role to access AWS cloud services. The role's permissions should allow Greengrass core Lambda functions to perform actions against the cloud.
See also: AWS API Documentation
Request Syntax
response = client.associate_role_to_group(
GroupId='string',
RoleArn='string'
)
dict
Response Syntax
{
'AssociatedAt': 'string'
}
Response Structure
Exceptions
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''.
See also: AWS API Documentation
Request Syntax
response = client.associate_service_role_to_account(
RoleArn='string'
)
{
'AssociatedAt': 'string'
}
Response Structure
Exceptions
Check if an operation can be paginated.
Creates a connector definition. You may provide the initial version of the connector definition now or use ''CreateConnectorDefinitionVersion'' at a later time.
See also: AWS API Documentation
Request Syntax
response = client.create_connector_definition(
AmznClientToken='string',
InitialVersion={
'Connectors': [
{
'ConnectorArn': 'string',
'Id': 'string',
'Parameters': {
'string': 'string'
}
},
]
},
Name='string',
tags={
'string': 'string'
}
)
Information about the initial version of the connector definition.
Tag(s) to add to the new resource.
dict
Response Syntax
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string'
}
Response Structure
Exceptions
Creates a version of a connector definition which has already been defined.
See also: AWS API Documentation
Request Syntax
response = client.create_connector_definition_version(
AmznClientToken='string',
ConnectorDefinitionId='string',
Connectors=[
{
'ConnectorArn': 'string',
'Id': 'string',
'Parameters': {
'string': 'string'
}
},
]
)
A list of references to connectors in this version, with their corresponding configuration settings.
dict
Response Syntax
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'Version': 'string'
}
Response Structure
Exceptions
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.
See also: AWS API Documentation
Request Syntax
response = client.create_core_definition(
AmznClientToken='string',
InitialVersion={
'Cores': [
{
'CertificateArn': 'string',
'Id': 'string',
'SyncShadow': True|False,
'ThingArn': 'string'
},
]
},
Name='string',
tags={
'string': 'string'
}
)
Information about the initial version of the core definition.
Tag(s) to add to the new resource.
dict
Response Syntax
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string'
}
Response Structure
Exceptions
Creates a version of a core definition that has already been defined. Greengrass groups must each contain exactly one Greengrass core.
See also: AWS API Documentation
Request Syntax
response = client.create_core_definition_version(
AmznClientToken='string',
CoreDefinitionId='string',
Cores=[
{
'CertificateArn': 'string',
'Id': 'string',
'SyncShadow': True|False,
'ThingArn': 'string'
},
]
)
A list of cores in the core definition version.
dict
Response Syntax
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'Version': 'string'
}
Response Structure
Exceptions
Creates a deployment. ''CreateDeployment'' requests are idempotent with respect to the ''X-Amzn-Client-Token'' token and the request parameters.
See also: AWS API Documentation
Request Syntax
response = client.create_deployment(
AmznClientToken='string',
DeploymentId='string',
DeploymentType='NewDeployment'|'Redeployment'|'ResetDeployment'|'ForceResetDeployment',
GroupId='string',
GroupVersionId='string'
)
dict
Response Syntax
{
'DeploymentArn': 'string',
'DeploymentId': 'string'
}
Response Structure
Exceptions
Creates a device definition. You may provide the initial version of the device definition now or use ''CreateDeviceDefinitionVersion'' at a later time.
See also: AWS API Documentation
Request Syntax
response = client.create_device_definition(
AmznClientToken='string',
InitialVersion={
'Devices': [
{
'CertificateArn': 'string',
'Id': 'string',
'SyncShadow': True|False,
'ThingArn': 'string'
},
]
},
Name='string',
tags={
'string': 'string'
}
)
Information about the initial version of the device definition.
Tag(s) to add to the new resource.
dict
Response Syntax
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string'
}
Response Structure
Exceptions
Creates a version of a device definition that has already been defined.
See also: AWS API Documentation
Request Syntax
response = client.create_device_definition_version(
AmznClientToken='string',
DeviceDefinitionId='string',
Devices=[
{
'CertificateArn': 'string',
'Id': 'string',
'SyncShadow': True|False,
'ThingArn': 'string'
},
]
)
A list of devices in the definition version.
dict
Response Syntax
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'Version': 'string'
}
Response Structure
Exceptions
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.
See also: AWS API Documentation
Request Syntax
response = client.create_function_definition(
AmznClientToken='string',
InitialVersion={
'DefaultConfig': {
'Execution': {
'IsolationMode': 'GreengrassContainer'|'NoContainer',
'RunAs': {
'Gid': 123,
'Uid': 123
}
}
},
'Functions': [
{
'FunctionArn': 'string',
'FunctionConfiguration': {
'EncodingType': 'binary'|'json',
'Environment': {
'AccessSysfs': True|False,
'Execution': {
'IsolationMode': 'GreengrassContainer'|'NoContainer',
'RunAs': {
'Gid': 123,
'Uid': 123
}
},
'ResourceAccessPolicies': [
{
'Permission': 'ro'|'rw',
'ResourceId': 'string'
},
],
'Variables': {
'string': 'string'
}
},
'ExecArgs': 'string',
'Executable': 'string',
'MemorySize': 123,
'Pinned': True|False,
'Timeout': 123
},
'Id': 'string'
},
]
},
Name='string',
tags={
'string': 'string'
}
)
Information about the initial version of the function definition.
Tag(s) to add to the new resource.
dict
Response Syntax
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string'
}
Response Structure
Exceptions
Creates a version of a Lambda function definition that has already been defined.
See also: AWS API Documentation
Request Syntax
response = client.create_function_definition_version(
AmznClientToken='string',
DefaultConfig={
'Execution': {
'IsolationMode': 'GreengrassContainer'|'NoContainer',
'RunAs': {
'Gid': 123,
'Uid': 123
}
}
},
FunctionDefinitionId='string',
Functions=[
{
'FunctionArn': 'string',
'FunctionConfiguration': {
'EncodingType': 'binary'|'json',
'Environment': {
'AccessSysfs': True|False,
'Execution': {
'IsolationMode': 'GreengrassContainer'|'NoContainer',
'RunAs': {
'Gid': 123,
'Uid': 123
}
},
'ResourceAccessPolicies': [
{
'Permission': 'ro'|'rw',
'ResourceId': 'string'
},
],
'Variables': {
'string': 'string'
}
},
'ExecArgs': 'string',
'Executable': 'string',
'MemorySize': 123,
'Pinned': True|False,
'Timeout': 123
},
'Id': 'string'
},
]
)
The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings.
A list of Lambda functions in this function definition version.
dict
Response Syntax
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'Version': 'string'
}
Response Structure
Exceptions
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.
See also: AWS API Documentation
Request Syntax
response = client.create_group(
AmznClientToken='string',
InitialVersion={
'ConnectorDefinitionVersionArn': 'string',
'CoreDefinitionVersionArn': 'string',
'DeviceDefinitionVersionArn': 'string',
'FunctionDefinitionVersionArn': 'string',
'LoggerDefinitionVersionArn': 'string',
'ResourceDefinitionVersionArn': 'string',
'SubscriptionDefinitionVersionArn': 'string'
},
Name='string',
tags={
'string': 'string'
}
)
Information about the initial version of the group.
Tag(s) to add to the new resource.
dict
Response Syntax
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string'
}
Response Structure
Exceptions
Creates a CA for the group. If a CA already exists, it will rotate the existing CA.
See also: AWS API Documentation
Request Syntax
response = client.create_group_certificate_authority(
AmznClientToken='string',
GroupId='string'
)
dict
Response Syntax
{
'GroupCertificateAuthorityArn': 'string'
}
Response Structure
Exceptions
Creates a version of a group which has already been defined.
See also: AWS API Documentation
Request Syntax
response = client.create_group_version(
AmznClientToken='string',
ConnectorDefinitionVersionArn='string',
CoreDefinitionVersionArn='string',
DeviceDefinitionVersionArn='string',
FunctionDefinitionVersionArn='string',
GroupId='string',
LoggerDefinitionVersionArn='string',
ResourceDefinitionVersionArn='string',
SubscriptionDefinitionVersionArn='string'
)
dict
Response Syntax
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'Version': 'string'
}
Response Structure
Exceptions
Creates a logger definition. You may provide the initial version of the logger definition now or use ''CreateLoggerDefinitionVersion'' at a later time.
See also: AWS API Documentation
Request Syntax
response = client.create_logger_definition(
AmznClientToken='string',
InitialVersion={
'Loggers': [
{
'Component': 'GreengrassSystem'|'Lambda',
'Id': 'string',
'Level': 'DEBUG'|'INFO'|'WARN'|'ERROR'|'FATAL',
'Space': 123,
'Type': 'FileSystem'|'AWSCloudWatch'
},
]
},
Name='string',
tags={
'string': 'string'
}
)
Information about the initial version of the logger definition.
Tag(s) to add to the new resource.
dict
Response Syntax
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string'
}
Response Structure
Exceptions
Creates a version of a logger definition that has already been defined.
See also: AWS API Documentation
Request Syntax
response = client.create_logger_definition_version(
AmznClientToken='string',
LoggerDefinitionId='string',
Loggers=[
{
'Component': 'GreengrassSystem'|'Lambda',
'Id': 'string',
'Level': 'DEBUG'|'INFO'|'WARN'|'ERROR'|'FATAL',
'Space': 123,
'Type': 'FileSystem'|'AWSCloudWatch'
},
]
)
A list of loggers.
dict
Response Syntax
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'Version': 'string'
}
Response Structure
Exceptions
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.
See also: AWS API Documentation
Request Syntax
response = client.create_resource_definition(
AmznClientToken='string',
InitialVersion={
'Resources': [
{
'Id': 'string',
'Name': 'string',
'ResourceDataContainer': {
'LocalDeviceResourceData': {
'GroupOwnerSetting': {
'AutoAddGroupOwner': True|False,
'GroupOwner': 'string'
},
'SourcePath': 'string'
},
'LocalVolumeResourceData': {
'DestinationPath': 'string',
'GroupOwnerSetting': {
'AutoAddGroupOwner': True|False,
'GroupOwner': 'string'
},
'SourcePath': 'string'
},
'S3MachineLearningModelResourceData': {
'DestinationPath': 'string',
'OwnerSetting': {
'GroupOwner': 'string',
'GroupPermission': 'ro'|'rw'
},
'S3Uri': 'string'
},
'SageMakerMachineLearningModelResourceData': {
'DestinationPath': 'string',
'OwnerSetting': {
'GroupOwner': 'string',
'GroupPermission': 'ro'|'rw'
},
'SageMakerJobArn': 'string'
},
'SecretsManagerSecretResourceData': {
'ARN': 'string',
'AdditionalStagingLabelsToDownload': [
'string',
]
}
}
},
]
},
Name='string',
tags={
'string': 'string'
}
)
Information about the initial version of the resource definition.
Tag(s) to add to the new resource.
dict
Response Syntax
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string'
}
Response Structure
Exceptions
Creates a version of a resource definition that has already been defined.
See also: AWS API Documentation
Request Syntax
response = client.create_resource_definition_version(
AmznClientToken='string',
ResourceDefinitionId='string',
Resources=[
{
'Id': 'string',
'Name': 'string',
'ResourceDataContainer': {
'LocalDeviceResourceData': {
'GroupOwnerSetting': {
'AutoAddGroupOwner': True|False,
'GroupOwner': 'string'
},
'SourcePath': 'string'
},
'LocalVolumeResourceData': {
'DestinationPath': 'string',
'GroupOwnerSetting': {
'AutoAddGroupOwner': True|False,
'GroupOwner': 'string'
},
'SourcePath': 'string'
},
'S3MachineLearningModelResourceData': {
'DestinationPath': 'string',
'OwnerSetting': {
'GroupOwner': 'string',
'GroupPermission': 'ro'|'rw'
},
'S3Uri': 'string'
},
'SageMakerMachineLearningModelResourceData': {
'DestinationPath': 'string',
'OwnerSetting': {
'GroupOwner': 'string',
'GroupPermission': 'ro'|'rw'
},
'SageMakerJobArn': 'string'
},
'SecretsManagerSecretResourceData': {
'ARN': 'string',
'AdditionalStagingLabelsToDownload': [
'string',
]
}
}
},
]
)
A list of resources.
dict
Response Syntax
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'Version': 'string'
}
Response Structure
Exceptions
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.
See also: AWS API Documentation
Request Syntax
response = client.create_software_update_job(
AmznClientToken='string',
S3UrlSignerRole='string',
SoftwareToUpdate='core'|'ota_agent',
UpdateAgentLogLevel='NONE'|'TRACE'|'DEBUG'|'VERBOSE'|'INFO'|'WARN'|'ERROR'|'FATAL',
UpdateTargets=[
'string',
],
UpdateTargetsArchitecture='armv6l'|'armv7l'|'x86_64'|'aarch64',
UpdateTargetsOperatingSystem='ubuntu'|'raspbian'|'amazon_linux'|'openwrt'
)
[REQUIRED] The ARNs of the targets (IoT things or IoT thing groups) that this update will be applied to.
dict
Response Syntax
{
'IotJobArn': 'string',
'IotJobId': 'string',
'PlatformSoftwareVersion': 'string'
}
Response Structure
Exceptions
Creates a subscription definition. You may provide the initial version of the subscription definition now or use ''CreateSubscriptionDefinitionVersion'' at a later time.
See also: AWS API Documentation
Request Syntax
response = client.create_subscription_definition(
AmznClientToken='string',
InitialVersion={
'Subscriptions': [
{
'Id': 'string',
'Source': 'string',
'Subject': 'string',
'Target': 'string'
},
]
},
Name='string',
tags={
'string': 'string'
}
)
Information about the initial version of the subscription definition.
Tag(s) to add to the new resource.
dict
Response Syntax
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string'
}
Response Structure
Exceptions
Creates a version of a subscription definition which has already been defined.
See also: AWS API Documentation
Request Syntax
response = client.create_subscription_definition_version(
AmznClientToken='string',
SubscriptionDefinitionId='string',
Subscriptions=[
{
'Id': 'string',
'Source': 'string',
'Subject': 'string',
'Target': 'string'
},
]
)
A list of subscriptions.
dict
Response Syntax
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'Version': 'string'
}
Response Structure
Exceptions
Deletes a connector definition.
See also: AWS API Documentation
Request Syntax
response = client.delete_connector_definition(
ConnectorDefinitionId='string'
)
{}
Response Structure
Exceptions
Deletes a core definition.
See also: AWS API Documentation
Request Syntax
response = client.delete_core_definition(
CoreDefinitionId='string'
)
{}
Response Structure
Exceptions
Deletes a device definition.
See also: AWS API Documentation
Request Syntax
response = client.delete_device_definition(
DeviceDefinitionId='string'
)
{}
Response Structure
Exceptions
Deletes a Lambda function definition.
See also: AWS API Documentation
Request Syntax
response = client.delete_function_definition(
FunctionDefinitionId='string'
)
{}
Response Structure
Exceptions
Deletes a group.
See also: AWS API Documentation
Request Syntax
response = client.delete_group(
GroupId='string'
)
{}
Response Structure
Exceptions
Deletes a logger definition.
See also: AWS API Documentation
Request Syntax
response = client.delete_logger_definition(
LoggerDefinitionId='string'
)
{}
Response Structure
Exceptions
Deletes a resource definition.
See also: AWS API Documentation
Request Syntax
response = client.delete_resource_definition(
ResourceDefinitionId='string'
)
{}
Response Structure
Exceptions
Deletes a subscription definition.
See also: AWS API Documentation
Request Syntax
response = client.delete_subscription_definition(
SubscriptionDefinitionId='string'
)
{}
Response Structure
Exceptions
Disassociates the role from a group.
See also: AWS API Documentation
Request Syntax
response = client.disassociate_role_from_group(
GroupId='string'
)
{
'DisassociatedAt': 'string'
}
Response Structure
Exceptions
Disassociates the service role from your account. Without a service role, deployments will not work.
See also: AWS API Documentation
Request Syntax
response = client.disassociate_service_role_from_account()
{
'DisassociatedAt': 'string'
}
Response Structure
Exceptions
Generate a presigned url given a client, its method, and arguments
The presigned url
Retrieves the role associated with a particular group.
See also: AWS API Documentation
Request Syntax
response = client.get_associated_role(
GroupId='string'
)
{
'AssociatedAt': 'string',
'RoleArn': 'string'
}
Response Structure
Exceptions
Returns the status of a bulk deployment.
See also: AWS API Documentation
Request Syntax
response = client.get_bulk_deployment_status(
BulkDeploymentId='string'
)
{
'BulkDeploymentMetrics': {
'InvalidInputRecords': 123,
'RecordsProcessed': 123,
'RetryAttempts': 123
},
'BulkDeploymentStatus': 'Initializing'|'Running'|'Completed'|'Stopping'|'Stopped'|'Failed',
'CreatedAt': 'string',
'ErrorDetails': [
{
'DetailedErrorCode': 'string',
'DetailedErrorMessage': 'string'
},
],
'ErrorMessage': 'string',
'tags': {
'string': 'string'
}
}
Response Structure
Exceptions
Retrieves the connectivity information for a core.
See also: AWS API Documentation
Request Syntax
response = client.get_connectivity_info(
ThingName='string'
)
{
'ConnectivityInfo': [
{
'HostAddress': 'string',
'Id': 'string',
'Metadata': 'string',
'PortNumber': 123
},
],
'Message': 'string'
}
Response Structure
Exceptions
Retrieves information about a connector definition.
See also: AWS API Documentation
Request Syntax
response = client.get_connector_definition(
ConnectorDefinitionId='string'
)
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string',
'tags': {
'string': 'string'
}
}
Response Structure
Exceptions
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.
See also: AWS API Documentation
Request Syntax
response = client.get_connector_definition_version(
ConnectorDefinitionId='string',
ConnectorDefinitionVersionId='string',
NextToken='string'
)
dict
Response Syntax
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Definition': {
'Connectors': [
{
'ConnectorArn': 'string',
'Id': 'string',
'Parameters': {
'string': 'string'
}
},
]
},
'Id': 'string',
'NextToken': 'string',
'Version': 'string'
}
Response Structure
Exceptions
Retrieves information about a core definition version.
See also: AWS API Documentation
Request Syntax
response = client.get_core_definition(
CoreDefinitionId='string'
)
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string',
'tags': {
'string': 'string'
}
}
Response Structure
Exceptions
Retrieves information about a core definition version.
See also: AWS API Documentation
Request Syntax
response = client.get_core_definition_version(
CoreDefinitionId='string',
CoreDefinitionVersionId='string'
)
dict
Response Syntax
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Definition': {
'Cores': [
{
'CertificateArn': 'string',
'Id': 'string',
'SyncShadow': True|False,
'ThingArn': 'string'
},
]
},
'Id': 'string',
'NextToken': 'string',
'Version': 'string'
}
Response Structure
Exceptions
Returns the status of a deployment.
See also: AWS API Documentation
Request Syntax
response = client.get_deployment_status(
DeploymentId='string',
GroupId='string'
)
dict
Response Syntax
{
'DeploymentStatus': 'string',
'DeploymentType': 'NewDeployment'|'Redeployment'|'ResetDeployment'|'ForceResetDeployment',
'ErrorDetails': [
{
'DetailedErrorCode': 'string',
'DetailedErrorMessage': 'string'
},
],
'ErrorMessage': 'string',
'UpdatedAt': 'string'
}
Response Structure
Exceptions
Retrieves information about a device definition.
See also: AWS API Documentation
Request Syntax
response = client.get_device_definition(
DeviceDefinitionId='string'
)
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string',
'tags': {
'string': 'string'
}
}
Response Structure
Exceptions
Retrieves information about a device definition version.
See also: AWS API Documentation
Request Syntax
response = client.get_device_definition_version(
DeviceDefinitionId='string',
DeviceDefinitionVersionId='string',
NextToken='string'
)
dict
Response Syntax
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Definition': {
'Devices': [
{
'CertificateArn': 'string',
'Id': 'string',
'SyncShadow': True|False,
'ThingArn': 'string'
},
]
},
'Id': 'string',
'NextToken': 'string',
'Version': 'string'
}
Response Structure
Exceptions
Retrieves information about a Lambda function definition, including its creation time and latest version.
See also: AWS API Documentation
Request Syntax
response = client.get_function_definition(
FunctionDefinitionId='string'
)
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string',
'tags': {
'string': 'string'
}
}
Response Structure
Exceptions
Retrieves information about a Lambda function definition version, including which Lambda functions are included in the version and their configurations.
See also: AWS API Documentation
Request Syntax
response = client.get_function_definition_version(
FunctionDefinitionId='string',
FunctionDefinitionVersionId='string',
NextToken='string'
)
dict
Response Syntax
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Definition': {
'DefaultConfig': {
'Execution': {
'IsolationMode': 'GreengrassContainer'|'NoContainer',
'RunAs': {
'Gid': 123,
'Uid': 123
}
}
},
'Functions': [
{
'FunctionArn': 'string',
'FunctionConfiguration': {
'EncodingType': 'binary'|'json',
'Environment': {
'AccessSysfs': True|False,
'Execution': {
'IsolationMode': 'GreengrassContainer'|'NoContainer',
'RunAs': {
'Gid': 123,
'Uid': 123
}
},
'ResourceAccessPolicies': [
{
'Permission': 'ro'|'rw',
'ResourceId': 'string'
},
],
'Variables': {
'string': 'string'
}
},
'ExecArgs': 'string',
'Executable': 'string',
'MemorySize': 123,
'Pinned': True|False,
'Timeout': 123
},
'Id': 'string'
},
]
},
'Id': 'string',
'NextToken': 'string',
'Version': 'string'
}
Response Structure
Exceptions
Retrieves information about a group.
See also: AWS API Documentation
Request Syntax
response = client.get_group(
GroupId='string'
)
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string',
'tags': {
'string': 'string'
}
}
Response Structure
Exceptions
Retreives the CA associated with a group. Returns the public key of the CA.
See also: AWS API Documentation
Request Syntax
response = client.get_group_certificate_authority(
CertificateAuthorityId='string',
GroupId='string'
)
dict
Response Syntax
{
'GroupCertificateAuthorityArn': 'string',
'GroupCertificateAuthorityId': 'string',
'PemEncodedCertificate': 'string'
}
Response Structure
Exceptions
Retrieves the current configuration for the CA used by the group.
See also: AWS API Documentation
Request Syntax
response = client.get_group_certificate_configuration(
GroupId='string'
)
{
'CertificateAuthorityExpiryInMilliseconds': 'string',
'CertificateExpiryInMilliseconds': 'string',
'GroupId': 'string'
}
Response Structure
Exceptions
Retrieves information about a group version.
See also: AWS API Documentation
Request Syntax
response = client.get_group_version(
GroupId='string',
GroupVersionId='string'
)
dict
Response Syntax
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Definition': {
'ConnectorDefinitionVersionArn': 'string',
'CoreDefinitionVersionArn': 'string',
'DeviceDefinitionVersionArn': 'string',
'FunctionDefinitionVersionArn': 'string',
'LoggerDefinitionVersionArn': 'string',
'ResourceDefinitionVersionArn': 'string',
'SubscriptionDefinitionVersionArn': 'string'
},
'Id': 'string',
'Version': 'string'
}
Response Structure
Exceptions
Retrieves information about a logger definition.
See also: AWS API Documentation
Request Syntax
response = client.get_logger_definition(
LoggerDefinitionId='string'
)
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string',
'tags': {
'string': 'string'
}
}
Response Structure
Exceptions
Retrieves information about a logger definition version.
See also: AWS API Documentation
Request Syntax
response = client.get_logger_definition_version(
LoggerDefinitionId='string',
LoggerDefinitionVersionId='string',
NextToken='string'
)
dict
Response Syntax
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Definition': {
'Loggers': [
{
'Component': 'GreengrassSystem'|'Lambda',
'Id': 'string',
'Level': 'DEBUG'|'INFO'|'WARN'|'ERROR'|'FATAL',
'Space': 123,
'Type': 'FileSystem'|'AWSCloudWatch'
},
]
},
'Id': 'string',
'Version': 'string'
}
Response Structure
Exceptions
Create a paginator for an operation.
Retrieves information about a resource definition, including its creation time and latest version.
See also: AWS API Documentation
Request Syntax
response = client.get_resource_definition(
ResourceDefinitionId='string'
)
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string',
'tags': {
'string': 'string'
}
}
Response Structure
Exceptions
Retrieves information about a resource definition version, including which resources are included in the version.
See also: AWS API Documentation
Request Syntax
response = client.get_resource_definition_version(
ResourceDefinitionId='string',
ResourceDefinitionVersionId='string'
)
dict
Response Syntax
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Definition': {
'Resources': [
{
'Id': 'string',
'Name': 'string',
'ResourceDataContainer': {
'LocalDeviceResourceData': {
'GroupOwnerSetting': {
'AutoAddGroupOwner': True|False,
'GroupOwner': 'string'
},
'SourcePath': 'string'
},
'LocalVolumeResourceData': {
'DestinationPath': 'string',
'GroupOwnerSetting': {
'AutoAddGroupOwner': True|False,
'GroupOwner': 'string'
},
'SourcePath': 'string'
},
'S3MachineLearningModelResourceData': {
'DestinationPath': 'string',
'OwnerSetting': {
'GroupOwner': 'string',
'GroupPermission': 'ro'|'rw'
},
'S3Uri': 'string'
},
'SageMakerMachineLearningModelResourceData': {
'DestinationPath': 'string',
'OwnerSetting': {
'GroupOwner': 'string',
'GroupPermission': 'ro'|'rw'
},
'SageMakerJobArn': 'string'
},
'SecretsManagerSecretResourceData': {
'ARN': 'string',
'AdditionalStagingLabelsToDownload': [
'string',
]
}
}
},
]
},
'Id': 'string',
'Version': 'string'
}
Response Structure
Exceptions
Retrieves the service role that is attached to your account.
See also: AWS API Documentation
Request Syntax
response = client.get_service_role_for_account()
{
'AssociatedAt': 'string',
'RoleArn': 'string'
}
Response Structure
Exceptions
Retrieves information about a subscription definition.
See also: AWS API Documentation
Request Syntax
response = client.get_subscription_definition(
SubscriptionDefinitionId='string'
)
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string',
'tags': {
'string': 'string'
}
}
Response Structure
Exceptions
Retrieves information about a subscription definition version.
See also: AWS API Documentation
Request Syntax
response = client.get_subscription_definition_version(
NextToken='string',
SubscriptionDefinitionId='string',
SubscriptionDefinitionVersionId='string'
)
dict
Response Syntax
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Definition': {
'Subscriptions': [
{
'Id': 'string',
'Source': 'string',
'Subject': 'string',
'Target': 'string'
},
]
},
'Id': 'string',
'NextToken': 'string',
'Version': 'string'
}
Response Structure
Exceptions
Returns an object that can wait for some condition.
Gets a paginated list of the deployments that have been started in a bulk deployment operation, and their current deployment status.
See also: AWS API Documentation
Request Syntax
response = client.list_bulk_deployment_detailed_reports(
BulkDeploymentId='string',
MaxResults='string',
NextToken='string'
)
dict
Response Syntax
{
'Deployments': [
{
'CreatedAt': 'string',
'DeploymentArn': 'string',
'DeploymentId': 'string',
'DeploymentStatus': 'string',
'DeploymentType': 'NewDeployment'|'Redeployment'|'ResetDeployment'|'ForceResetDeployment',
'ErrorDetails': [
{
'DetailedErrorCode': 'string',
'DetailedErrorMessage': 'string'
},
],
'ErrorMessage': 'string',
'GroupArn': 'string'
},
],
'NextToken': 'string'
}
Response Structure
Exceptions
Returns a list of bulk deployments.
See also: AWS API Documentation
Request Syntax
response = client.list_bulk_deployments(
MaxResults='string',
NextToken='string'
)
dict
Response Syntax
{
'BulkDeployments': [
{
'BulkDeploymentArn': 'string',
'BulkDeploymentId': 'string',
'CreatedAt': 'string'
},
],
'NextToken': 'string'
}
Response Structure
Exceptions
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.
See also: AWS API Documentation
Request Syntax
response = client.list_connector_definition_versions(
ConnectorDefinitionId='string',
MaxResults='string',
NextToken='string'
)
dict
Response Syntax
{
'NextToken': 'string',
'Versions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'Version': 'string'
},
]
}
Response Structure
Exceptions
Retrieves a list of connector definitions.
See also: AWS API Documentation
Request Syntax
response = client.list_connector_definitions(
MaxResults='string',
NextToken='string'
)
dict
Response Syntax
{
'Definitions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string',
'Tags': {
'string': 'string'
}
},
],
'NextToken': 'string'
}
Response Structure
Lists the versions of a core definition.
See also: AWS API Documentation
Request Syntax
response = client.list_core_definition_versions(
CoreDefinitionId='string',
MaxResults='string',
NextToken='string'
)
dict
Response Syntax
{
'NextToken': 'string',
'Versions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'Version': 'string'
},
]
}
Response Structure
Exceptions
Retrieves a list of core definitions.
See also: AWS API Documentation
Request Syntax
response = client.list_core_definitions(
MaxResults='string',
NextToken='string'
)
dict
Response Syntax
{
'Definitions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string',
'Tags': {
'string': 'string'
}
},
],
'NextToken': 'string'
}
Response Structure
Returns a history of deployments for the group.
See also: AWS API Documentation
Request Syntax
response = client.list_deployments(
GroupId='string',
MaxResults='string',
NextToken='string'
)
dict
Response Syntax
{
'Deployments': [
{
'CreatedAt': 'string',
'DeploymentArn': 'string',
'DeploymentId': 'string',
'DeploymentType': 'NewDeployment'|'Redeployment'|'ResetDeployment'|'ForceResetDeployment',
'GroupArn': 'string'
},
],
'NextToken': 'string'
}
Response Structure
Exceptions
Lists the versions of a device definition.
See also: AWS API Documentation
Request Syntax
response = client.list_device_definition_versions(
DeviceDefinitionId='string',
MaxResults='string',
NextToken='string'
)
dict
Response Syntax
{
'NextToken': 'string',
'Versions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'Version': 'string'
},
]
}
Response Structure
Exceptions
Retrieves a list of device definitions.
See also: AWS API Documentation
Request Syntax
response = client.list_device_definitions(
MaxResults='string',
NextToken='string'
)
dict
Response Syntax
{
'Definitions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string',
'Tags': {
'string': 'string'
}
},
],
'NextToken': 'string'
}
Response Structure
Lists the versions of a Lambda function definition.
See also: AWS API Documentation
Request Syntax
response = client.list_function_definition_versions(
FunctionDefinitionId='string',
MaxResults='string',
NextToken='string'
)
dict
Response Syntax
{
'NextToken': 'string',
'Versions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'Version': 'string'
},
]
}
Response Structure
Exceptions
Retrieves a list of Lambda function definitions.
See also: AWS API Documentation
Request Syntax
response = client.list_function_definitions(
MaxResults='string',
NextToken='string'
)
dict
Response Syntax
{
'Definitions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string',
'Tags': {
'string': 'string'
}
},
],
'NextToken': 'string'
}
Response Structure
Retrieves the current CAs for a group.
See also: AWS API Documentation
Request Syntax
response = client.list_group_certificate_authorities(
GroupId='string'
)
{
'GroupCertificateAuthorities': [
{
'GroupCertificateAuthorityArn': 'string',
'GroupCertificateAuthorityId': 'string'
},
]
}
Response Structure
Exceptions
Lists the versions of a group.
See also: AWS API Documentation
Request Syntax
response = client.list_group_versions(
GroupId='string',
MaxResults='string',
NextToken='string'
)
dict
Response Syntax
{
'NextToken': 'string',
'Versions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'Version': 'string'
},
]
}
Response Structure
Exceptions
Retrieves a list of groups.
See also: AWS API Documentation
Request Syntax
response = client.list_groups(
MaxResults='string',
NextToken='string'
)
dict
Response Syntax
{
'Groups': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string'
},
],
'NextToken': 'string'
}
Response Structure
Lists the versions of a logger definition.
See also: AWS API Documentation
Request Syntax
response = client.list_logger_definition_versions(
LoggerDefinitionId='string',
MaxResults='string',
NextToken='string'
)
dict
Response Syntax
{
'NextToken': 'string',
'Versions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'Version': 'string'
},
]
}
Response Structure
Exceptions
Retrieves a list of logger definitions.
See also: AWS API Documentation
Request Syntax
response = client.list_logger_definitions(
MaxResults='string',
NextToken='string'
)
dict
Response Syntax
{
'Definitions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string',
'Tags': {
'string': 'string'
}
},
],
'NextToken': 'string'
}
Response Structure
Lists the versions of a resource definition.
See also: AWS API Documentation
Request Syntax
response = client.list_resource_definition_versions(
MaxResults='string',
NextToken='string',
ResourceDefinitionId='string'
)
dict
Response Syntax
{
'NextToken': 'string',
'Versions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'Version': 'string'
},
]
}
Response Structure
Exceptions
Retrieves a list of resource definitions.
See also: AWS API Documentation
Request Syntax
response = client.list_resource_definitions(
MaxResults='string',
NextToken='string'
)
dict
Response Syntax
{
'Definitions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string',
'Tags': {
'string': 'string'
}
},
],
'NextToken': 'string'
}
Response Structure
Lists the versions of a subscription definition.
See also: AWS API Documentation
Request Syntax
response = client.list_subscription_definition_versions(
MaxResults='string',
NextToken='string',
SubscriptionDefinitionId='string'
)
dict
Response Syntax
{
'NextToken': 'string',
'Versions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'Version': 'string'
},
]
}
Response Structure
Exceptions
Retrieves a list of subscription definitions.
See also: AWS API Documentation
Request Syntax
response = client.list_subscription_definitions(
MaxResults='string',
NextToken='string'
)
dict
Response Syntax
{
'Definitions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string',
'Tags': {
'string': 'string'
}
},
],
'NextToken': 'string'
}
Response Structure
Retrieves a list of resource tags for a resource arn.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource(
ResourceArn='string'
)
{
'tags': {
'string': 'string'
}
}
Response Structure
Exceptions
Resets a group's deployments.
See also: AWS API Documentation
Request Syntax
response = client.reset_deployments(
AmznClientToken='string',
Force=True|False,
GroupId='string'
)
dict
Response Syntax
{
'DeploymentArn': 'string',
'DeploymentId': 'string'
}
Response Structure
Exceptions
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.
See also: AWS API Documentation
Request Syntax
response = client.start_bulk_deployment(
AmznClientToken='string',
ExecutionRoleArn='string',
InputFileUri='string',
tags={
'string': 'string'
}
)
Tag(s) to add to the new resource.
dict
Response Syntax
{
'BulkDeploymentArn': 'string',
'BulkDeploymentId': 'string'
}
Response Structure
Exceptions
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.
See also: AWS API Documentation
Request Syntax
response = client.stop_bulk_deployment(
BulkDeploymentId='string'
)
{}
Response Structure
Exceptions
Adds tags to a Greengrass resource. Valid resources are 'Group', 'ConnectorDefinition', 'CoreDefinition', 'DeviceDefinition', 'FunctionDefinition', 'LoggerDefinition', 'SubscriptionDefinition', 'ResourceDefinition', and 'BulkDeployment'.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
ResourceArn='string',
tags={
'string': 'string'
}
)
The key-value pair for the resource tag.
None
Exceptions
Remove resource tags from a Greengrass Resource.
See also: AWS API Documentation
Request Syntax
response = client.untag_resource(
ResourceArn='string',
TagKeys=[
'string',
]
)
[REQUIRED] An array of tag keys to delete
None
Exceptions
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.
See also: AWS API Documentation
Request Syntax
response = client.update_connectivity_info(
ConnectivityInfo=[
{
'HostAddress': 'string',
'Id': 'string',
'Metadata': 'string',
'PortNumber': 123
},
],
ThingName='string'
)
A list of connectivity info.
dict
Response Syntax
{
'Message': 'string',
'Version': 'string'
}
Response Structure
Exceptions
Updates a connector definition.
See also: AWS API Documentation
Request Syntax
response = client.update_connector_definition(
ConnectorDefinitionId='string',
Name='string'
)
dict
Response Syntax
{}
Response Structure
Exceptions
Updates a core definition.
See also: AWS API Documentation
Request Syntax
response = client.update_core_definition(
CoreDefinitionId='string',
Name='string'
)
dict
Response Syntax
{}
Response Structure
Exceptions
Updates a device definition.
See also: AWS API Documentation
Request Syntax
response = client.update_device_definition(
DeviceDefinitionId='string',
Name='string'
)
dict
Response Syntax
{}
Response Structure
Exceptions
Updates a Lambda function definition.
See also: AWS API Documentation
Request Syntax
response = client.update_function_definition(
FunctionDefinitionId='string',
Name='string'
)
dict
Response Syntax
{}
Response Structure
Exceptions
Updates a group.
See also: AWS API Documentation
Request Syntax
response = client.update_group(
GroupId='string',
Name='string'
)
dict
Response Syntax
{}
Response Structure
Exceptions
Updates the Certificate expiry time for a group.
See also: AWS API Documentation
Request Syntax
response = client.update_group_certificate_configuration(
CertificateExpiryInMilliseconds='string',
GroupId='string'
)
dict
Response Syntax
{
'CertificateAuthorityExpiryInMilliseconds': 'string',
'CertificateExpiryInMilliseconds': 'string',
'GroupId': 'string'
}
Response Structure
Exceptions
Updates a logger definition.
See also: AWS API Documentation
Request Syntax
response = client.update_logger_definition(
LoggerDefinitionId='string',
Name='string'
)
dict
Response Syntax
{}
Response Structure
Exceptions
Updates a resource definition.
See also: AWS API Documentation
Request Syntax
response = client.update_resource_definition(
Name='string',
ResourceDefinitionId='string'
)
dict
Response Syntax
{}
Response Structure
Exceptions
Updates a subscription definition.
See also: AWS API Documentation
Request Syntax
response = client.update_subscription_definition(
Name='string',
SubscriptionDefinitionId='string'
)
dict
Response Syntax
{}
Response Structure
Exceptions
The available paginators are:
paginator = client.get_paginator('list_bulk_deployment_detailed_reports')
Creates an iterator that will paginate through responses from Greengrass.Client.list_bulk_deployment_detailed_reports().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
BulkDeploymentId='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'Deployments': [
{
'CreatedAt': 'string',
'DeploymentArn': 'string',
'DeploymentId': 'string',
'DeploymentStatus': 'string',
'DeploymentType': 'NewDeployment'|'Redeployment'|'ResetDeployment'|'ForceResetDeployment',
'ErrorDetails': [
{
'DetailedErrorCode': 'string',
'DetailedErrorMessage': 'string'
},
],
'ErrorMessage': 'string',
'GroupArn': 'string'
},
],
}
Response Structure
paginator = client.get_paginator('list_bulk_deployments')
Creates an iterator that will paginate through responses from Greengrass.Client.list_bulk_deployments().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
{
'BulkDeployments': [
{
'BulkDeploymentArn': 'string',
'BulkDeploymentId': 'string',
'CreatedAt': 'string'
},
],
}
Response Structure
paginator = client.get_paginator('list_connector_definition_versions')
Creates an iterator that will paginate through responses from Greengrass.Client.list_connector_definition_versions().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
ConnectorDefinitionId='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'Versions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'Version': 'string'
},
]
}
Response Structure
paginator = client.get_paginator('list_connector_definitions')
Creates an iterator that will paginate through responses from Greengrass.Client.list_connector_definitions().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
{
'Definitions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string',
'Tags': {
'string': 'string'
}
},
],
}
Response Structure
paginator = client.get_paginator('list_core_definition_versions')
Creates an iterator that will paginate through responses from Greengrass.Client.list_core_definition_versions().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
CoreDefinitionId='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'Versions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'Version': 'string'
},
]
}
Response Structure
paginator = client.get_paginator('list_core_definitions')
Creates an iterator that will paginate through responses from Greengrass.Client.list_core_definitions().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
{
'Definitions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string',
'Tags': {
'string': 'string'
}
},
],
}
Response Structure
paginator = client.get_paginator('list_deployments')
Creates an iterator that will paginate through responses from Greengrass.Client.list_deployments().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
GroupId='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'Deployments': [
{
'CreatedAt': 'string',
'DeploymentArn': 'string',
'DeploymentId': 'string',
'DeploymentType': 'NewDeployment'|'Redeployment'|'ResetDeployment'|'ForceResetDeployment',
'GroupArn': 'string'
},
],
}
Response Structure
paginator = client.get_paginator('list_device_definition_versions')
Creates an iterator that will paginate through responses from Greengrass.Client.list_device_definition_versions().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
DeviceDefinitionId='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'Versions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'Version': 'string'
},
]
}
Response Structure
paginator = client.get_paginator('list_device_definitions')
Creates an iterator that will paginate through responses from Greengrass.Client.list_device_definitions().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
{
'Definitions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string',
'Tags': {
'string': 'string'
}
},
],
}
Response Structure
paginator = client.get_paginator('list_function_definition_versions')
Creates an iterator that will paginate through responses from Greengrass.Client.list_function_definition_versions().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
FunctionDefinitionId='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'Versions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'Version': 'string'
},
]
}
Response Structure
paginator = client.get_paginator('list_function_definitions')
Creates an iterator that will paginate through responses from Greengrass.Client.list_function_definitions().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
{
'Definitions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string',
'Tags': {
'string': 'string'
}
},
],
}
Response Structure
paginator = client.get_paginator('list_group_versions')
Creates an iterator that will paginate through responses from Greengrass.Client.list_group_versions().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
GroupId='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'Versions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'Version': 'string'
},
]
}
Response Structure
paginator = client.get_paginator('list_groups')
Creates an iterator that will paginate through responses from Greengrass.Client.list_groups().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
{
'Groups': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string'
},
],
}
Response Structure
paginator = client.get_paginator('list_logger_definition_versions')
Creates an iterator that will paginate through responses from Greengrass.Client.list_logger_definition_versions().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
LoggerDefinitionId='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'Versions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'Version': 'string'
},
]
}
Response Structure
paginator = client.get_paginator('list_logger_definitions')
Creates an iterator that will paginate through responses from Greengrass.Client.list_logger_definitions().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
{
'Definitions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string',
'Tags': {
'string': 'string'
}
},
],
}
Response Structure
paginator = client.get_paginator('list_resource_definition_versions')
Creates an iterator that will paginate through responses from Greengrass.Client.list_resource_definition_versions().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
ResourceDefinitionId='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'Versions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'Version': 'string'
},
]
}
Response Structure
paginator = client.get_paginator('list_resource_definitions')
Creates an iterator that will paginate through responses from Greengrass.Client.list_resource_definitions().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
{
'Definitions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string',
'Tags': {
'string': 'string'
}
},
],
}
Response Structure
paginator = client.get_paginator('list_subscription_definition_versions')
Creates an iterator that will paginate through responses from Greengrass.Client.list_subscription_definition_versions().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
SubscriptionDefinitionId='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'Versions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'Version': 'string'
},
]
}
Response Structure
paginator = client.get_paginator('list_subscription_definitions')
Creates an iterator that will paginate through responses from Greengrass.Client.list_subscription_definitions().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
{
'Definitions': [
{
'Arn': 'string',
'CreationTimestamp': 'string',
'Id': 'string',
'LastUpdatedTimestamp': 'string',
'LatestVersion': 'string',
'LatestVersionArn': 'string',
'Name': 'string',
'Tags': {
'string': 'string'
}
},
],
}
Response Structure