GreengrassClient#
Index > Greengrass > GreengrassClient
Auto-generated documentation for Greengrass type annotations stubs module mypy-boto3-greengrass.
GreengrassClient#
Type annotations and code completion for boto3.client("greengrass")
.
boto3 documentation
# GreengrassClient usage example
from boto3.session import Session
from mypy_boto3_greengrass.client import GreengrassClient
def get_greengrass_client() -> GreengrassClient:
return Session().client("greengrass")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("greengrass").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("greengrass")
try:
do_something(client)
except (
client.exceptions.BadRequestException,
client.exceptions.ClientError,
client.exceptions.InternalServerErrorException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_greengrass.client import Exceptions
def handle_error(exc: Exceptions.BadRequestException) -> None:
...
Methods#
associate_role_to_group#
Associates a role with a group.
Type annotations and code completion for boto3.client("greengrass").associate_role_to_group
method.
boto3 documentation
# associate_role_to_group method definition
def associate_role_to_group(
self,
*,
GroupId: str,
RoleArn: str,
) -> AssociateRoleToGroupResponseTypeDef: # (1)
...
# associate_role_to_group method usage example with argument unpacking
kwargs: AssociateRoleToGroupRequestRequestTypeDef = { # (1)
"GroupId": ...,
"RoleArn": ...,
}
parent.associate_role_to_group(**kwargs)
associate_service_role_to_account#
Associates a role with your account.
Type annotations and code completion for boto3.client("greengrass").associate_service_role_to_account
method.
boto3 documentation
# associate_service_role_to_account method definition
def associate_service_role_to_account(
self,
*,
RoleArn: str,
) -> AssociateServiceRoleToAccountResponseTypeDef: # (1)
...
# associate_service_role_to_account method usage example with argument unpacking
kwargs: AssociateServiceRoleToAccountRequestRequestTypeDef = { # (1)
"RoleArn": ...,
}
parent.associate_service_role_to_account(**kwargs)
can_paginate#
Check if an operation can be paginated.
Type annotations and code completion for boto3.client("greengrass").can_paginate
method.
boto3 documentation
# can_paginate method definition
def can_paginate(
self,
operation_name: str,
) -> bool:
...
close#
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("greengrass").close
method.
boto3 documentation
# close method definition
def close(
self,
) -> None:
...
create_connector_definition#
Creates a connector definition.
Type annotations and code completion for boto3.client("greengrass").create_connector_definition
method.
boto3 documentation
# create_connector_definition method definition
def create_connector_definition(
self,
*,
AmznClientToken: str = ...,
InitialVersion: ConnectorDefinitionVersionTypeDef = ..., # (1)
Name: str = ...,
tags: Mapping[str, str] = ...,
) -> CreateConnectorDefinitionResponseTypeDef: # (2)
...
# create_connector_definition method usage example with argument unpacking
kwargs: CreateConnectorDefinitionRequestRequestTypeDef = { # (1)
"AmznClientToken": ...,
}
parent.create_connector_definition(**kwargs)
create_connector_definition_version#
Creates a version of a connector definition which has already been defined.
Type annotations and code completion for boto3.client("greengrass").create_connector_definition_version
method.
boto3 documentation
# create_connector_definition_version method definition
def create_connector_definition_version(
self,
*,
ConnectorDefinitionId: str,
AmznClientToken: str = ...,
Connectors: Sequence[ConnectorUnionTypeDef] = ..., # (1)
) -> CreateConnectorDefinitionVersionResponseTypeDef: # (2)
...
# create_connector_definition_version method usage example with argument unpacking
kwargs: CreateConnectorDefinitionVersionRequestRequestTypeDef = { # (1)
"ConnectorDefinitionId": ...,
}
parent.create_connector_definition_version(**kwargs)
create_core_definition#
Creates a core definition.
Type annotations and code completion for boto3.client("greengrass").create_core_definition
method.
boto3 documentation
# create_core_definition method definition
def create_core_definition(
self,
*,
AmznClientToken: str = ...,
InitialVersion: CoreDefinitionVersionTypeDef = ..., # (1)
Name: str = ...,
tags: Mapping[str, str] = ...,
) -> CreateCoreDefinitionResponseTypeDef: # (2)
...
# create_core_definition method usage example with argument unpacking
kwargs: CreateCoreDefinitionRequestRequestTypeDef = { # (1)
"AmznClientToken": ...,
}
parent.create_core_definition(**kwargs)
create_core_definition_version#
Creates a version of a core definition that has already been defined.
Type annotations and code completion for boto3.client("greengrass").create_core_definition_version
method.
boto3 documentation
# create_core_definition_version method definition
def create_core_definition_version(
self,
*,
CoreDefinitionId: str,
AmznClientToken: str = ...,
Cores: Sequence[CoreTypeDef] = ..., # (1)
) -> CreateCoreDefinitionVersionResponseTypeDef: # (2)
...
# create_core_definition_version method usage example with argument unpacking
kwargs: CreateCoreDefinitionVersionRequestRequestTypeDef = { # (1)
"CoreDefinitionId": ...,
}
parent.create_core_definition_version(**kwargs)
create_deployment#
Creates a deployment.
Type annotations and code completion for boto3.client("greengrass").create_deployment
method.
boto3 documentation
# create_deployment method definition
def create_deployment(
self,
*,
DeploymentType: DeploymentTypeType, # (1)
GroupId: str,
AmznClientToken: str = ...,
DeploymentId: str = ...,
GroupVersionId: str = ...,
) -> CreateDeploymentResponseTypeDef: # (2)
...
# create_deployment method usage example with argument unpacking
kwargs: CreateDeploymentRequestRequestTypeDef = { # (1)
"DeploymentType": ...,
"GroupId": ...,
}
parent.create_deployment(**kwargs)
create_device_definition#
Creates a device definition.
Type annotations and code completion for boto3.client("greengrass").create_device_definition
method.
boto3 documentation
# create_device_definition method definition
def create_device_definition(
self,
*,
AmznClientToken: str = ...,
InitialVersion: DeviceDefinitionVersionTypeDef = ..., # (1)
Name: str = ...,
tags: Mapping[str, str] = ...,
) -> CreateDeviceDefinitionResponseTypeDef: # (2)
...
# create_device_definition method usage example with argument unpacking
kwargs: CreateDeviceDefinitionRequestRequestTypeDef = { # (1)
"AmznClientToken": ...,
}
parent.create_device_definition(**kwargs)
create_device_definition_version#
Creates a version of a device definition that has already been defined.
Type annotations and code completion for boto3.client("greengrass").create_device_definition_version
method.
boto3 documentation
# create_device_definition_version method definition
def create_device_definition_version(
self,
*,
DeviceDefinitionId: str,
AmznClientToken: str = ...,
Devices: Sequence[DeviceTypeDef] = ..., # (1)
) -> CreateDeviceDefinitionVersionResponseTypeDef: # (2)
...
# create_device_definition_version method usage example with argument unpacking
kwargs: CreateDeviceDefinitionVersionRequestRequestTypeDef = { # (1)
"DeviceDefinitionId": ...,
}
parent.create_device_definition_version(**kwargs)
create_function_definition#
Creates a Lambda function definition which contains a list of Lambda functions and their configurations to be used in a group.
Type annotations and code completion for boto3.client("greengrass").create_function_definition
method.
boto3 documentation
# create_function_definition method definition
def create_function_definition(
self,
*,
AmznClientToken: str = ...,
InitialVersion: FunctionDefinitionVersionTypeDef = ..., # (1)
Name: str = ...,
tags: Mapping[str, str] = ...,
) -> CreateFunctionDefinitionResponseTypeDef: # (2)
...
# create_function_definition method usage example with argument unpacking
kwargs: CreateFunctionDefinitionRequestRequestTypeDef = { # (1)
"AmznClientToken": ...,
}
parent.create_function_definition(**kwargs)
create_function_definition_version#
Creates a version of a Lambda function definition that has already been defined.
Type annotations and code completion for boto3.client("greengrass").create_function_definition_version
method.
boto3 documentation
# create_function_definition_version method definition
def create_function_definition_version(
self,
*,
FunctionDefinitionId: str,
AmznClientToken: str = ...,
DefaultConfig: FunctionDefaultConfigTypeDef = ..., # (1)
Functions: Sequence[FunctionUnionTypeDef] = ..., # (2)
) -> CreateFunctionDefinitionVersionResponseTypeDef: # (3)
...
- See FunctionDefaultConfigTypeDef
- See FunctionTypeDef FunctionOutputTypeDef
- See CreateFunctionDefinitionVersionResponseTypeDef
# create_function_definition_version method usage example with argument unpacking
kwargs: CreateFunctionDefinitionVersionRequestRequestTypeDef = { # (1)
"FunctionDefinitionId": ...,
}
parent.create_function_definition_version(**kwargs)
create_group#
Creates a group.
Type annotations and code completion for boto3.client("greengrass").create_group
method.
boto3 documentation
# create_group method definition
def create_group(
self,
*,
Name: str,
AmznClientToken: str = ...,
InitialVersion: GroupVersionTypeDef = ..., # (1)
tags: Mapping[str, str] = ...,
) -> CreateGroupResponseTypeDef: # (2)
...
# create_group method usage example with argument unpacking
kwargs: CreateGroupRequestRequestTypeDef = { # (1)
"Name": ...,
}
parent.create_group(**kwargs)
create_group_certificate_authority#
Creates a CA for the group.
Type annotations and code completion for boto3.client("greengrass").create_group_certificate_authority
method.
boto3 documentation
# create_group_certificate_authority method definition
def create_group_certificate_authority(
self,
*,
GroupId: str,
AmznClientToken: str = ...,
) -> CreateGroupCertificateAuthorityResponseTypeDef: # (1)
...
# create_group_certificate_authority method usage example with argument unpacking
kwargs: CreateGroupCertificateAuthorityRequestRequestTypeDef = { # (1)
"GroupId": ...,
}
parent.create_group_certificate_authority(**kwargs)
create_group_version#
Creates a version of a group which has already been defined.
Type annotations and code completion for boto3.client("greengrass").create_group_version
method.
boto3 documentation
# create_group_version method definition
def create_group_version(
self,
*,
GroupId: str,
AmznClientToken: str = ...,
ConnectorDefinitionVersionArn: str = ...,
CoreDefinitionVersionArn: str = ...,
DeviceDefinitionVersionArn: str = ...,
FunctionDefinitionVersionArn: str = ...,
LoggerDefinitionVersionArn: str = ...,
ResourceDefinitionVersionArn: str = ...,
SubscriptionDefinitionVersionArn: str = ...,
) -> CreateGroupVersionResponseTypeDef: # (1)
...
# create_group_version method usage example with argument unpacking
kwargs: CreateGroupVersionRequestRequestTypeDef = { # (1)
"GroupId": ...,
}
parent.create_group_version(**kwargs)
create_logger_definition#
Creates a logger definition.
Type annotations and code completion for boto3.client("greengrass").create_logger_definition
method.
boto3 documentation
# create_logger_definition method definition
def create_logger_definition(
self,
*,
AmznClientToken: str = ...,
InitialVersion: LoggerDefinitionVersionTypeDef = ..., # (1)
Name: str = ...,
tags: Mapping[str, str] = ...,
) -> CreateLoggerDefinitionResponseTypeDef: # (2)
...
# create_logger_definition method usage example with argument unpacking
kwargs: CreateLoggerDefinitionRequestRequestTypeDef = { # (1)
"AmznClientToken": ...,
}
parent.create_logger_definition(**kwargs)
create_logger_definition_version#
Creates a version of a logger definition that has already been defined.
Type annotations and code completion for boto3.client("greengrass").create_logger_definition_version
method.
boto3 documentation
# create_logger_definition_version method definition
def create_logger_definition_version(
self,
*,
LoggerDefinitionId: str,
AmznClientToken: str = ...,
Loggers: Sequence[LoggerTypeDef] = ..., # (1)
) -> CreateLoggerDefinitionVersionResponseTypeDef: # (2)
...
# create_logger_definition_version method usage example with argument unpacking
kwargs: CreateLoggerDefinitionVersionRequestRequestTypeDef = { # (1)
"LoggerDefinitionId": ...,
}
parent.create_logger_definition_version(**kwargs)
create_resource_definition#
Creates a resource definition which contains a list of resources to be used in a group.
Type annotations and code completion for boto3.client("greengrass").create_resource_definition
method.
boto3 documentation
# create_resource_definition method definition
def create_resource_definition(
self,
*,
AmznClientToken: str = ...,
InitialVersion: ResourceDefinitionVersionTypeDef = ..., # (1)
Name: str = ...,
tags: Mapping[str, str] = ...,
) -> CreateResourceDefinitionResponseTypeDef: # (2)
...
# create_resource_definition method usage example with argument unpacking
kwargs: CreateResourceDefinitionRequestRequestTypeDef = { # (1)
"AmznClientToken": ...,
}
parent.create_resource_definition(**kwargs)
create_resource_definition_version#
Creates a version of a resource definition that has already been defined.
Type annotations and code completion for boto3.client("greengrass").create_resource_definition_version
method.
boto3 documentation
# create_resource_definition_version method definition
def create_resource_definition_version(
self,
*,
ResourceDefinitionId: str,
AmznClientToken: str = ...,
Resources: Sequence[ResourceUnionTypeDef] = ..., # (1)
) -> CreateResourceDefinitionVersionResponseTypeDef: # (2)
...
# create_resource_definition_version method usage example with argument unpacking
kwargs: CreateResourceDefinitionVersionRequestRequestTypeDef = { # (1)
"ResourceDefinitionId": ...,
}
parent.create_resource_definition_version(**kwargs)
create_software_update_job#
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.
Type annotations and code completion for boto3.client("greengrass").create_software_update_job
method.
boto3 documentation
# create_software_update_job method definition
def create_software_update_job(
self,
*,
S3UrlSignerRole: str,
SoftwareToUpdate: SoftwareToUpdateType, # (1)
UpdateTargets: Sequence[str],
UpdateTargetsArchitecture: UpdateTargetsArchitectureType, # (2)
UpdateTargetsOperatingSystem: UpdateTargetsOperatingSystemType, # (3)
AmznClientToken: str = ...,
UpdateAgentLogLevel: UpdateAgentLogLevelType = ..., # (4)
) -> CreateSoftwareUpdateJobResponseTypeDef: # (5)
...
- See SoftwareToUpdateType
- See UpdateTargetsArchitectureType
- See UpdateTargetsOperatingSystemType
- See UpdateAgentLogLevelType
- See CreateSoftwareUpdateJobResponseTypeDef
# create_software_update_job method usage example with argument unpacking
kwargs: CreateSoftwareUpdateJobRequestRequestTypeDef = { # (1)
"S3UrlSignerRole": ...,
"SoftwareToUpdate": ...,
"UpdateTargets": ...,
"UpdateTargetsArchitecture": ...,
"UpdateTargetsOperatingSystem": ...,
}
parent.create_software_update_job(**kwargs)
create_subscription_definition#
Creates a subscription definition.
Type annotations and code completion for boto3.client("greengrass").create_subscription_definition
method.
boto3 documentation
# create_subscription_definition method definition
def create_subscription_definition(
self,
*,
AmznClientToken: str = ...,
InitialVersion: SubscriptionDefinitionVersionTypeDef = ..., # (1)
Name: str = ...,
tags: Mapping[str, str] = ...,
) -> CreateSubscriptionDefinitionResponseTypeDef: # (2)
...
# create_subscription_definition method usage example with argument unpacking
kwargs: CreateSubscriptionDefinitionRequestRequestTypeDef = { # (1)
"AmznClientToken": ...,
}
parent.create_subscription_definition(**kwargs)
create_subscription_definition_version#
Creates a version of a subscription definition which has already been defined.
Type annotations and code completion for boto3.client("greengrass").create_subscription_definition_version
method.
boto3 documentation
# create_subscription_definition_version method definition
def create_subscription_definition_version(
self,
*,
SubscriptionDefinitionId: str,
AmznClientToken: str = ...,
Subscriptions: Sequence[SubscriptionTypeDef] = ..., # (1)
) -> CreateSubscriptionDefinitionVersionResponseTypeDef: # (2)
...
# create_subscription_definition_version method usage example with argument unpacking
kwargs: CreateSubscriptionDefinitionVersionRequestRequestTypeDef = { # (1)
"SubscriptionDefinitionId": ...,
}
parent.create_subscription_definition_version(**kwargs)
delete_connector_definition#
Deletes a connector definition.
Type annotations and code completion for boto3.client("greengrass").delete_connector_definition
method.
boto3 documentation
# delete_connector_definition method definition
def delete_connector_definition(
self,
*,
ConnectorDefinitionId: str,
) -> Dict[str, Any]:
...
# delete_connector_definition method usage example with argument unpacking
kwargs: DeleteConnectorDefinitionRequestRequestTypeDef = { # (1)
"ConnectorDefinitionId": ...,
}
parent.delete_connector_definition(**kwargs)
delete_core_definition#
Deletes a core definition.
Type annotations and code completion for boto3.client("greengrass").delete_core_definition
method.
boto3 documentation
# delete_core_definition method definition
def delete_core_definition(
self,
*,
CoreDefinitionId: str,
) -> Dict[str, Any]:
...
# delete_core_definition method usage example with argument unpacking
kwargs: DeleteCoreDefinitionRequestRequestTypeDef = { # (1)
"CoreDefinitionId": ...,
}
parent.delete_core_definition(**kwargs)
delete_device_definition#
Deletes a device definition.
Type annotations and code completion for boto3.client("greengrass").delete_device_definition
method.
boto3 documentation
# delete_device_definition method definition
def delete_device_definition(
self,
*,
DeviceDefinitionId: str,
) -> Dict[str, Any]:
...
# delete_device_definition method usage example with argument unpacking
kwargs: DeleteDeviceDefinitionRequestRequestTypeDef = { # (1)
"DeviceDefinitionId": ...,
}
parent.delete_device_definition(**kwargs)
delete_function_definition#
Deletes a Lambda function definition.
Type annotations and code completion for boto3.client("greengrass").delete_function_definition
method.
boto3 documentation
# delete_function_definition method definition
def delete_function_definition(
self,
*,
FunctionDefinitionId: str,
) -> Dict[str, Any]:
...
# delete_function_definition method usage example with argument unpacking
kwargs: DeleteFunctionDefinitionRequestRequestTypeDef = { # (1)
"FunctionDefinitionId": ...,
}
parent.delete_function_definition(**kwargs)
delete_group#
Deletes a group.
Type annotations and code completion for boto3.client("greengrass").delete_group
method.
boto3 documentation
# delete_group method definition
def delete_group(
self,
*,
GroupId: str,
) -> Dict[str, Any]:
...
# delete_group method usage example with argument unpacking
kwargs: DeleteGroupRequestRequestTypeDef = { # (1)
"GroupId": ...,
}
parent.delete_group(**kwargs)
delete_logger_definition#
Deletes a logger definition.
Type annotations and code completion for boto3.client("greengrass").delete_logger_definition
method.
boto3 documentation
# delete_logger_definition method definition
def delete_logger_definition(
self,
*,
LoggerDefinitionId: str,
) -> Dict[str, Any]:
...
# delete_logger_definition method usage example with argument unpacking
kwargs: DeleteLoggerDefinitionRequestRequestTypeDef = { # (1)
"LoggerDefinitionId": ...,
}
parent.delete_logger_definition(**kwargs)
delete_resource_definition#
Deletes a resource definition.
Type annotations and code completion for boto3.client("greengrass").delete_resource_definition
method.
boto3 documentation
# delete_resource_definition method definition
def delete_resource_definition(
self,
*,
ResourceDefinitionId: str,
) -> Dict[str, Any]:
...
# delete_resource_definition method usage example with argument unpacking
kwargs: DeleteResourceDefinitionRequestRequestTypeDef = { # (1)
"ResourceDefinitionId": ...,
}
parent.delete_resource_definition(**kwargs)
delete_subscription_definition#
Deletes a subscription definition.
Type annotations and code completion for boto3.client("greengrass").delete_subscription_definition
method.
boto3 documentation
# delete_subscription_definition method definition
def delete_subscription_definition(
self,
*,
SubscriptionDefinitionId: str,
) -> Dict[str, Any]:
...
# delete_subscription_definition method usage example with argument unpacking
kwargs: DeleteSubscriptionDefinitionRequestRequestTypeDef = { # (1)
"SubscriptionDefinitionId": ...,
}
parent.delete_subscription_definition(**kwargs)
disassociate_role_from_group#
Disassociates the role from a group.
Type annotations and code completion for boto3.client("greengrass").disassociate_role_from_group
method.
boto3 documentation
# disassociate_role_from_group method definition
def disassociate_role_from_group(
self,
*,
GroupId: str,
) -> DisassociateRoleFromGroupResponseTypeDef: # (1)
...
# disassociate_role_from_group method usage example with argument unpacking
kwargs: DisassociateRoleFromGroupRequestRequestTypeDef = { # (1)
"GroupId": ...,
}
parent.disassociate_role_from_group(**kwargs)
disassociate_service_role_from_account#
Disassociates the service role from your account.
Type annotations and code completion for boto3.client("greengrass").disassociate_service_role_from_account
method.
boto3 documentation
# disassociate_service_role_from_account method definition
def disassociate_service_role_from_account(
self,
) -> DisassociateServiceRoleFromAccountResponseTypeDef: # (1)
...
generate_presigned_url#
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for boto3.client("greengrass").generate_presigned_url
method.
boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
get_associated_role#
Retrieves the role associated with a particular group.
Type annotations and code completion for boto3.client("greengrass").get_associated_role
method.
boto3 documentation
# get_associated_role method definition
def get_associated_role(
self,
*,
GroupId: str,
) -> GetAssociatedRoleResponseTypeDef: # (1)
...
# get_associated_role method usage example with argument unpacking
kwargs: GetAssociatedRoleRequestRequestTypeDef = { # (1)
"GroupId": ...,
}
parent.get_associated_role(**kwargs)
get_bulk_deployment_status#
Returns the status of a bulk deployment.
Type annotations and code completion for boto3.client("greengrass").get_bulk_deployment_status
method.
boto3 documentation
# get_bulk_deployment_status method definition
def get_bulk_deployment_status(
self,
*,
BulkDeploymentId: str,
) -> GetBulkDeploymentStatusResponseTypeDef: # (1)
...
# get_bulk_deployment_status method usage example with argument unpacking
kwargs: GetBulkDeploymentStatusRequestRequestTypeDef = { # (1)
"BulkDeploymentId": ...,
}
parent.get_bulk_deployment_status(**kwargs)
get_connectivity_info#
Retrieves the connectivity information for a core.
Type annotations and code completion for boto3.client("greengrass").get_connectivity_info
method.
boto3 documentation
# get_connectivity_info method definition
def get_connectivity_info(
self,
*,
ThingName: str,
) -> GetConnectivityInfoResponseTypeDef: # (1)
...
# get_connectivity_info method usage example with argument unpacking
kwargs: GetConnectivityInfoRequestRequestTypeDef = { # (1)
"ThingName": ...,
}
parent.get_connectivity_info(**kwargs)
get_connector_definition#
Retrieves information about a connector definition.
Type annotations and code completion for boto3.client("greengrass").get_connector_definition
method.
boto3 documentation
# get_connector_definition method definition
def get_connector_definition(
self,
*,
ConnectorDefinitionId: str,
) -> GetConnectorDefinitionResponseTypeDef: # (1)
...
# get_connector_definition method usage example with argument unpacking
kwargs: GetConnectorDefinitionRequestRequestTypeDef = { # (1)
"ConnectorDefinitionId": ...,
}
parent.get_connector_definition(**kwargs)
get_connector_definition_version#
Retrieves information about a connector definition version, including the connectors that the version contains.
Type annotations and code completion for boto3.client("greengrass").get_connector_definition_version
method.
boto3 documentation
# get_connector_definition_version method definition
def get_connector_definition_version(
self,
*,
ConnectorDefinitionId: str,
ConnectorDefinitionVersionId: str,
NextToken: str = ...,
) -> GetConnectorDefinitionVersionResponseTypeDef: # (1)
...
# get_connector_definition_version method usage example with argument unpacking
kwargs: GetConnectorDefinitionVersionRequestRequestTypeDef = { # (1)
"ConnectorDefinitionId": ...,
"ConnectorDefinitionVersionId": ...,
}
parent.get_connector_definition_version(**kwargs)
get_core_definition#
Retrieves information about a core definition version.
Type annotations and code completion for boto3.client("greengrass").get_core_definition
method.
boto3 documentation
# get_core_definition method definition
def get_core_definition(
self,
*,
CoreDefinitionId: str,
) -> GetCoreDefinitionResponseTypeDef: # (1)
...
# get_core_definition method usage example with argument unpacking
kwargs: GetCoreDefinitionRequestRequestTypeDef = { # (1)
"CoreDefinitionId": ...,
}
parent.get_core_definition(**kwargs)
get_core_definition_version#
Retrieves information about a core definition version.
Type annotations and code completion for boto3.client("greengrass").get_core_definition_version
method.
boto3 documentation
# get_core_definition_version method definition
def get_core_definition_version(
self,
*,
CoreDefinitionId: str,
CoreDefinitionVersionId: str,
) -> GetCoreDefinitionVersionResponseTypeDef: # (1)
...
# get_core_definition_version method usage example with argument unpacking
kwargs: GetCoreDefinitionVersionRequestRequestTypeDef = { # (1)
"CoreDefinitionId": ...,
"CoreDefinitionVersionId": ...,
}
parent.get_core_definition_version(**kwargs)
get_deployment_status#
Returns the status of a deployment.
Type annotations and code completion for boto3.client("greengrass").get_deployment_status
method.
boto3 documentation
# get_deployment_status method definition
def get_deployment_status(
self,
*,
DeploymentId: str,
GroupId: str,
) -> GetDeploymentStatusResponseTypeDef: # (1)
...
# get_deployment_status method usage example with argument unpacking
kwargs: GetDeploymentStatusRequestRequestTypeDef = { # (1)
"DeploymentId": ...,
"GroupId": ...,
}
parent.get_deployment_status(**kwargs)
get_device_definition#
Retrieves information about a device definition.
Type annotations and code completion for boto3.client("greengrass").get_device_definition
method.
boto3 documentation
# get_device_definition method definition
def get_device_definition(
self,
*,
DeviceDefinitionId: str,
) -> GetDeviceDefinitionResponseTypeDef: # (1)
...
# get_device_definition method usage example with argument unpacking
kwargs: GetDeviceDefinitionRequestRequestTypeDef = { # (1)
"DeviceDefinitionId": ...,
}
parent.get_device_definition(**kwargs)
get_device_definition_version#
Retrieves information about a device definition version.
Type annotations and code completion for boto3.client("greengrass").get_device_definition_version
method.
boto3 documentation
# get_device_definition_version method definition
def get_device_definition_version(
self,
*,
DeviceDefinitionId: str,
DeviceDefinitionVersionId: str,
NextToken: str = ...,
) -> GetDeviceDefinitionVersionResponseTypeDef: # (1)
...
# get_device_definition_version method usage example with argument unpacking
kwargs: GetDeviceDefinitionVersionRequestRequestTypeDef = { # (1)
"DeviceDefinitionId": ...,
"DeviceDefinitionVersionId": ...,
}
parent.get_device_definition_version(**kwargs)
get_function_definition#
Retrieves information about a Lambda function definition, including its creation time and latest version.
Type annotations and code completion for boto3.client("greengrass").get_function_definition
method.
boto3 documentation
# get_function_definition method definition
def get_function_definition(
self,
*,
FunctionDefinitionId: str,
) -> GetFunctionDefinitionResponseTypeDef: # (1)
...
# get_function_definition method usage example with argument unpacking
kwargs: GetFunctionDefinitionRequestRequestTypeDef = { # (1)
"FunctionDefinitionId": ...,
}
parent.get_function_definition(**kwargs)
get_function_definition_version#
Retrieves information about a Lambda function definition version, including which Lambda functions are included in the version and their configurations.
Type annotations and code completion for boto3.client("greengrass").get_function_definition_version
method.
boto3 documentation
# get_function_definition_version method definition
def get_function_definition_version(
self,
*,
FunctionDefinitionId: str,
FunctionDefinitionVersionId: str,
NextToken: str = ...,
) -> GetFunctionDefinitionVersionResponseTypeDef: # (1)
...
# get_function_definition_version method usage example with argument unpacking
kwargs: GetFunctionDefinitionVersionRequestRequestTypeDef = { # (1)
"FunctionDefinitionId": ...,
"FunctionDefinitionVersionId": ...,
}
parent.get_function_definition_version(**kwargs)
get_group#
Retrieves information about a group.
Type annotations and code completion for boto3.client("greengrass").get_group
method.
boto3 documentation
# get_group method definition
def get_group(
self,
*,
GroupId: str,
) -> GetGroupResponseTypeDef: # (1)
...
# get_group method usage example with argument unpacking
kwargs: GetGroupRequestRequestTypeDef = { # (1)
"GroupId": ...,
}
parent.get_group(**kwargs)
get_group_certificate_authority#
Retreives the CA associated with a group.
Type annotations and code completion for boto3.client("greengrass").get_group_certificate_authority
method.
boto3 documentation
# get_group_certificate_authority method definition
def get_group_certificate_authority(
self,
*,
CertificateAuthorityId: str,
GroupId: str,
) -> GetGroupCertificateAuthorityResponseTypeDef: # (1)
...
# get_group_certificate_authority method usage example with argument unpacking
kwargs: GetGroupCertificateAuthorityRequestRequestTypeDef = { # (1)
"CertificateAuthorityId": ...,
"GroupId": ...,
}
parent.get_group_certificate_authority(**kwargs)
get_group_certificate_configuration#
Retrieves the current configuration for the CA used by the group.
Type annotations and code completion for boto3.client("greengrass").get_group_certificate_configuration
method.
boto3 documentation
# get_group_certificate_configuration method definition
def get_group_certificate_configuration(
self,
*,
GroupId: str,
) -> GetGroupCertificateConfigurationResponseTypeDef: # (1)
...
# get_group_certificate_configuration method usage example with argument unpacking
kwargs: GetGroupCertificateConfigurationRequestRequestTypeDef = { # (1)
"GroupId": ...,
}
parent.get_group_certificate_configuration(**kwargs)
get_group_version#
Retrieves information about a group version.
Type annotations and code completion for boto3.client("greengrass").get_group_version
method.
boto3 documentation
# get_group_version method definition
def get_group_version(
self,
*,
GroupId: str,
GroupVersionId: str,
) -> GetGroupVersionResponseTypeDef: # (1)
...
# get_group_version method usage example with argument unpacking
kwargs: GetGroupVersionRequestRequestTypeDef = { # (1)
"GroupId": ...,
"GroupVersionId": ...,
}
parent.get_group_version(**kwargs)
get_logger_definition#
Retrieves information about a logger definition.
Type annotations and code completion for boto3.client("greengrass").get_logger_definition
method.
boto3 documentation
# get_logger_definition method definition
def get_logger_definition(
self,
*,
LoggerDefinitionId: str,
) -> GetLoggerDefinitionResponseTypeDef: # (1)
...
# get_logger_definition method usage example with argument unpacking
kwargs: GetLoggerDefinitionRequestRequestTypeDef = { # (1)
"LoggerDefinitionId": ...,
}
parent.get_logger_definition(**kwargs)
get_logger_definition_version#
Retrieves information about a logger definition version.
Type annotations and code completion for boto3.client("greengrass").get_logger_definition_version
method.
boto3 documentation
# get_logger_definition_version method definition
def get_logger_definition_version(
self,
*,
LoggerDefinitionId: str,
LoggerDefinitionVersionId: str,
NextToken: str = ...,
) -> GetLoggerDefinitionVersionResponseTypeDef: # (1)
...
# get_logger_definition_version method usage example with argument unpacking
kwargs: GetLoggerDefinitionVersionRequestRequestTypeDef = { # (1)
"LoggerDefinitionId": ...,
"LoggerDefinitionVersionId": ...,
}
parent.get_logger_definition_version(**kwargs)
get_resource_definition#
Retrieves information about a resource definition, including its creation time and latest version.
Type annotations and code completion for boto3.client("greengrass").get_resource_definition
method.
boto3 documentation
# get_resource_definition method definition
def get_resource_definition(
self,
*,
ResourceDefinitionId: str,
) -> GetResourceDefinitionResponseTypeDef: # (1)
...
# get_resource_definition method usage example with argument unpacking
kwargs: GetResourceDefinitionRequestRequestTypeDef = { # (1)
"ResourceDefinitionId": ...,
}
parent.get_resource_definition(**kwargs)
get_resource_definition_version#
Retrieves information about a resource definition version, including which resources are included in the version.
Type annotations and code completion for boto3.client("greengrass").get_resource_definition_version
method.
boto3 documentation
# get_resource_definition_version method definition
def get_resource_definition_version(
self,
*,
ResourceDefinitionId: str,
ResourceDefinitionVersionId: str,
) -> GetResourceDefinitionVersionResponseTypeDef: # (1)
...
# get_resource_definition_version method usage example with argument unpacking
kwargs: GetResourceDefinitionVersionRequestRequestTypeDef = { # (1)
"ResourceDefinitionId": ...,
"ResourceDefinitionVersionId": ...,
}
parent.get_resource_definition_version(**kwargs)
get_service_role_for_account#
Retrieves the service role that is attached to your account.
Type annotations and code completion for boto3.client("greengrass").get_service_role_for_account
method.
boto3 documentation
# get_service_role_for_account method definition
def get_service_role_for_account(
self,
) -> GetServiceRoleForAccountResponseTypeDef: # (1)
...
get_subscription_definition#
Retrieves information about a subscription definition.
Type annotations and code completion for boto3.client("greengrass").get_subscription_definition
method.
boto3 documentation
# get_subscription_definition method definition
def get_subscription_definition(
self,
*,
SubscriptionDefinitionId: str,
) -> GetSubscriptionDefinitionResponseTypeDef: # (1)
...
# get_subscription_definition method usage example with argument unpacking
kwargs: GetSubscriptionDefinitionRequestRequestTypeDef = { # (1)
"SubscriptionDefinitionId": ...,
}
parent.get_subscription_definition(**kwargs)
get_subscription_definition_version#
Retrieves information about a subscription definition version.
Type annotations and code completion for boto3.client("greengrass").get_subscription_definition_version
method.
boto3 documentation
# get_subscription_definition_version method definition
def get_subscription_definition_version(
self,
*,
SubscriptionDefinitionId: str,
SubscriptionDefinitionVersionId: str,
NextToken: str = ...,
) -> GetSubscriptionDefinitionVersionResponseTypeDef: # (1)
...
# get_subscription_definition_version method usage example with argument unpacking
kwargs: GetSubscriptionDefinitionVersionRequestRequestTypeDef = { # (1)
"SubscriptionDefinitionId": ...,
"SubscriptionDefinitionVersionId": ...,
}
parent.get_subscription_definition_version(**kwargs)
get_thing_runtime_configuration#
Get the runtime configuration of a thing.
Type annotations and code completion for boto3.client("greengrass").get_thing_runtime_configuration
method.
boto3 documentation
# get_thing_runtime_configuration method definition
def get_thing_runtime_configuration(
self,
*,
ThingName: str,
) -> GetThingRuntimeConfigurationResponseTypeDef: # (1)
...
# get_thing_runtime_configuration method usage example with argument unpacking
kwargs: GetThingRuntimeConfigurationRequestRequestTypeDef = { # (1)
"ThingName": ...,
}
parent.get_thing_runtime_configuration(**kwargs)
list_bulk_deployment_detailed_reports#
Gets a paginated list of the deployments that have been started in a bulk deployment operation, and their current deployment status.
Type annotations and code completion for boto3.client("greengrass").list_bulk_deployment_detailed_reports
method.
boto3 documentation
# list_bulk_deployment_detailed_reports method definition
def list_bulk_deployment_detailed_reports(
self,
*,
BulkDeploymentId: str,
MaxResults: str = ...,
NextToken: str = ...,
) -> ListBulkDeploymentDetailedReportsResponseTypeDef: # (1)
...
# list_bulk_deployment_detailed_reports method usage example with argument unpacking
kwargs: ListBulkDeploymentDetailedReportsRequestRequestTypeDef = { # (1)
"BulkDeploymentId": ...,
}
parent.list_bulk_deployment_detailed_reports(**kwargs)
list_bulk_deployments#
Returns a list of bulk deployments.
Type annotations and code completion for boto3.client("greengrass").list_bulk_deployments
method.
boto3 documentation
# list_bulk_deployments method definition
def list_bulk_deployments(
self,
*,
MaxResults: str = ...,
NextToken: str = ...,
) -> ListBulkDeploymentsResponseTypeDef: # (1)
...
# list_bulk_deployments method usage example with argument unpacking
kwargs: ListBulkDeploymentsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_bulk_deployments(**kwargs)
list_connector_definition_versions#
Lists the versions of a connector definition, which are containers for connectors.
Type annotations and code completion for boto3.client("greengrass").list_connector_definition_versions
method.
boto3 documentation
# list_connector_definition_versions method definition
def list_connector_definition_versions(
self,
*,
ConnectorDefinitionId: str,
MaxResults: str = ...,
NextToken: str = ...,
) -> ListConnectorDefinitionVersionsResponseTypeDef: # (1)
...
# list_connector_definition_versions method usage example with argument unpacking
kwargs: ListConnectorDefinitionVersionsRequestRequestTypeDef = { # (1)
"ConnectorDefinitionId": ...,
}
parent.list_connector_definition_versions(**kwargs)
list_connector_definitions#
Retrieves a list of connector definitions.
Type annotations and code completion for boto3.client("greengrass").list_connector_definitions
method.
boto3 documentation
# list_connector_definitions method definition
def list_connector_definitions(
self,
*,
MaxResults: str = ...,
NextToken: str = ...,
) -> ListConnectorDefinitionsResponseTypeDef: # (1)
...
# list_connector_definitions method usage example with argument unpacking
kwargs: ListConnectorDefinitionsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_connector_definitions(**kwargs)
list_core_definition_versions#
Lists the versions of a core definition.
Type annotations and code completion for boto3.client("greengrass").list_core_definition_versions
method.
boto3 documentation
# list_core_definition_versions method definition
def list_core_definition_versions(
self,
*,
CoreDefinitionId: str,
MaxResults: str = ...,
NextToken: str = ...,
) -> ListCoreDefinitionVersionsResponseTypeDef: # (1)
...
# list_core_definition_versions method usage example with argument unpacking
kwargs: ListCoreDefinitionVersionsRequestRequestTypeDef = { # (1)
"CoreDefinitionId": ...,
}
parent.list_core_definition_versions(**kwargs)
list_core_definitions#
Retrieves a list of core definitions.
Type annotations and code completion for boto3.client("greengrass").list_core_definitions
method.
boto3 documentation
# list_core_definitions method definition
def list_core_definitions(
self,
*,
MaxResults: str = ...,
NextToken: str = ...,
) -> ListCoreDefinitionsResponseTypeDef: # (1)
...
# list_core_definitions method usage example with argument unpacking
kwargs: ListCoreDefinitionsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_core_definitions(**kwargs)
list_deployments#
Returns a history of deployments for the group.
Type annotations and code completion for boto3.client("greengrass").list_deployments
method.
boto3 documentation
# list_deployments method definition
def list_deployments(
self,
*,
GroupId: str,
MaxResults: str = ...,
NextToken: str = ...,
) -> ListDeploymentsResponseTypeDef: # (1)
...
# list_deployments method usage example with argument unpacking
kwargs: ListDeploymentsRequestRequestTypeDef = { # (1)
"GroupId": ...,
}
parent.list_deployments(**kwargs)
list_device_definition_versions#
Lists the versions of a device definition.
Type annotations and code completion for boto3.client("greengrass").list_device_definition_versions
method.
boto3 documentation
# list_device_definition_versions method definition
def list_device_definition_versions(
self,
*,
DeviceDefinitionId: str,
MaxResults: str = ...,
NextToken: str = ...,
) -> ListDeviceDefinitionVersionsResponseTypeDef: # (1)
...
# list_device_definition_versions method usage example with argument unpacking
kwargs: ListDeviceDefinitionVersionsRequestRequestTypeDef = { # (1)
"DeviceDefinitionId": ...,
}
parent.list_device_definition_versions(**kwargs)
list_device_definitions#
Retrieves a list of device definitions.
Type annotations and code completion for boto3.client("greengrass").list_device_definitions
method.
boto3 documentation
# list_device_definitions method definition
def list_device_definitions(
self,
*,
MaxResults: str = ...,
NextToken: str = ...,
) -> ListDeviceDefinitionsResponseTypeDef: # (1)
...
# list_device_definitions method usage example with argument unpacking
kwargs: ListDeviceDefinitionsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_device_definitions(**kwargs)
list_function_definition_versions#
Lists the versions of a Lambda function definition.
Type annotations and code completion for boto3.client("greengrass").list_function_definition_versions
method.
boto3 documentation
# list_function_definition_versions method definition
def list_function_definition_versions(
self,
*,
FunctionDefinitionId: str,
MaxResults: str = ...,
NextToken: str = ...,
) -> ListFunctionDefinitionVersionsResponseTypeDef: # (1)
...
# list_function_definition_versions method usage example with argument unpacking
kwargs: ListFunctionDefinitionVersionsRequestRequestTypeDef = { # (1)
"FunctionDefinitionId": ...,
}
parent.list_function_definition_versions(**kwargs)
list_function_definitions#
Retrieves a list of Lambda function definitions.
Type annotations and code completion for boto3.client("greengrass").list_function_definitions
method.
boto3 documentation
# list_function_definitions method definition
def list_function_definitions(
self,
*,
MaxResults: str = ...,
NextToken: str = ...,
) -> ListFunctionDefinitionsResponseTypeDef: # (1)
...
# list_function_definitions method usage example with argument unpacking
kwargs: ListFunctionDefinitionsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_function_definitions(**kwargs)
list_group_certificate_authorities#
Retrieves the current CAs for a group.
Type annotations and code completion for boto3.client("greengrass").list_group_certificate_authorities
method.
boto3 documentation
# list_group_certificate_authorities method definition
def list_group_certificate_authorities(
self,
*,
GroupId: str,
) -> ListGroupCertificateAuthoritiesResponseTypeDef: # (1)
...
# list_group_certificate_authorities method usage example with argument unpacking
kwargs: ListGroupCertificateAuthoritiesRequestRequestTypeDef = { # (1)
"GroupId": ...,
}
parent.list_group_certificate_authorities(**kwargs)
list_group_versions#
Lists the versions of a group.
Type annotations and code completion for boto3.client("greengrass").list_group_versions
method.
boto3 documentation
# list_group_versions method definition
def list_group_versions(
self,
*,
GroupId: str,
MaxResults: str = ...,
NextToken: str = ...,
) -> ListGroupVersionsResponseTypeDef: # (1)
...
# list_group_versions method usage example with argument unpacking
kwargs: ListGroupVersionsRequestRequestTypeDef = { # (1)
"GroupId": ...,
}
parent.list_group_versions(**kwargs)
list_groups#
Retrieves a list of groups.
Type annotations and code completion for boto3.client("greengrass").list_groups
method.
boto3 documentation
# list_groups method definition
def list_groups(
self,
*,
MaxResults: str = ...,
NextToken: str = ...,
) -> ListGroupsResponseTypeDef: # (1)
...
# list_groups method usage example with argument unpacking
kwargs: ListGroupsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_groups(**kwargs)
list_logger_definition_versions#
Lists the versions of a logger definition.
Type annotations and code completion for boto3.client("greengrass").list_logger_definition_versions
method.
boto3 documentation
# list_logger_definition_versions method definition
def list_logger_definition_versions(
self,
*,
LoggerDefinitionId: str,
MaxResults: str = ...,
NextToken: str = ...,
) -> ListLoggerDefinitionVersionsResponseTypeDef: # (1)
...
# list_logger_definition_versions method usage example with argument unpacking
kwargs: ListLoggerDefinitionVersionsRequestRequestTypeDef = { # (1)
"LoggerDefinitionId": ...,
}
parent.list_logger_definition_versions(**kwargs)
list_logger_definitions#
Retrieves a list of logger definitions.
Type annotations and code completion for boto3.client("greengrass").list_logger_definitions
method.
boto3 documentation
# list_logger_definitions method definition
def list_logger_definitions(
self,
*,
MaxResults: str = ...,
NextToken: str = ...,
) -> ListLoggerDefinitionsResponseTypeDef: # (1)
...
# list_logger_definitions method usage example with argument unpacking
kwargs: ListLoggerDefinitionsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_logger_definitions(**kwargs)
list_resource_definition_versions#
Lists the versions of a resource definition.
Type annotations and code completion for boto3.client("greengrass").list_resource_definition_versions
method.
boto3 documentation
# list_resource_definition_versions method definition
def list_resource_definition_versions(
self,
*,
ResourceDefinitionId: str,
MaxResults: str = ...,
NextToken: str = ...,
) -> ListResourceDefinitionVersionsResponseTypeDef: # (1)
...
# list_resource_definition_versions method usage example with argument unpacking
kwargs: ListResourceDefinitionVersionsRequestRequestTypeDef = { # (1)
"ResourceDefinitionId": ...,
}
parent.list_resource_definition_versions(**kwargs)
list_resource_definitions#
Retrieves a list of resource definitions.
Type annotations and code completion for boto3.client("greengrass").list_resource_definitions
method.
boto3 documentation
# list_resource_definitions method definition
def list_resource_definitions(
self,
*,
MaxResults: str = ...,
NextToken: str = ...,
) -> ListResourceDefinitionsResponseTypeDef: # (1)
...
# list_resource_definitions method usage example with argument unpacking
kwargs: ListResourceDefinitionsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_resource_definitions(**kwargs)
list_subscription_definition_versions#
Lists the versions of a subscription definition.
Type annotations and code completion for boto3.client("greengrass").list_subscription_definition_versions
method.
boto3 documentation
# list_subscription_definition_versions method definition
def list_subscription_definition_versions(
self,
*,
SubscriptionDefinitionId: str,
MaxResults: str = ...,
NextToken: str = ...,
) -> ListSubscriptionDefinitionVersionsResponseTypeDef: # (1)
...
# list_subscription_definition_versions method usage example with argument unpacking
kwargs: ListSubscriptionDefinitionVersionsRequestRequestTypeDef = { # (1)
"SubscriptionDefinitionId": ...,
}
parent.list_subscription_definition_versions(**kwargs)
list_subscription_definitions#
Retrieves a list of subscription definitions.
Type annotations and code completion for boto3.client("greengrass").list_subscription_definitions
method.
boto3 documentation
# list_subscription_definitions method definition
def list_subscription_definitions(
self,
*,
MaxResults: str = ...,
NextToken: str = ...,
) -> ListSubscriptionDefinitionsResponseTypeDef: # (1)
...
# list_subscription_definitions method usage example with argument unpacking
kwargs: ListSubscriptionDefinitionsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_subscription_definitions(**kwargs)
list_tags_for_resource#
Retrieves a list of resource tags for a resource arn.
Type annotations and code completion for boto3.client("greengrass").list_tags_for_resource
method.
boto3 documentation
# list_tags_for_resource method definition
def list_tags_for_resource(
self,
*,
ResourceArn: str,
) -> ListTagsForResourceResponseTypeDef: # (1)
...
# list_tags_for_resource method usage example with argument unpacking
kwargs: ListTagsForResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
}
parent.list_tags_for_resource(**kwargs)
reset_deployments#
Resets a group's deployments.
Type annotations and code completion for boto3.client("greengrass").reset_deployments
method.
boto3 documentation
# reset_deployments method definition
def reset_deployments(
self,
*,
GroupId: str,
AmznClientToken: str = ...,
Force: bool = ...,
) -> ResetDeploymentsResponseTypeDef: # (1)
...
# reset_deployments method usage example with argument unpacking
kwargs: ResetDeploymentsRequestRequestTypeDef = { # (1)
"GroupId": ...,
}
parent.reset_deployments(**kwargs)
start_bulk_deployment#
Deploys multiple groups in one operation.
Type annotations and code completion for boto3.client("greengrass").start_bulk_deployment
method.
boto3 documentation
# start_bulk_deployment method definition
def start_bulk_deployment(
self,
*,
ExecutionRoleArn: str,
InputFileUri: str,
AmznClientToken: str = ...,
tags: Mapping[str, str] = ...,
) -> StartBulkDeploymentResponseTypeDef: # (1)
...
# start_bulk_deployment method usage example with argument unpacking
kwargs: StartBulkDeploymentRequestRequestTypeDef = { # (1)
"ExecutionRoleArn": ...,
"InputFileUri": ...,
}
parent.start_bulk_deployment(**kwargs)
stop_bulk_deployment#
Stops the execution of a bulk deployment.
Type annotations and code completion for boto3.client("greengrass").stop_bulk_deployment
method.
boto3 documentation
# stop_bulk_deployment method definition
def stop_bulk_deployment(
self,
*,
BulkDeploymentId: str,
) -> Dict[str, Any]:
...
# stop_bulk_deployment method usage example with argument unpacking
kwargs: StopBulkDeploymentRequestRequestTypeDef = { # (1)
"BulkDeploymentId": ...,
}
parent.stop_bulk_deployment(**kwargs)
tag_resource#
Adds tags to a Greengrass resource.
Type annotations and code completion for boto3.client("greengrass").tag_resource
method.
boto3 documentation
# tag_resource method definition
def tag_resource(
self,
*,
ResourceArn: str,
tags: Mapping[str, str] = ...,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# tag_resource method usage example with argument unpacking
kwargs: TagResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
}
parent.tag_resource(**kwargs)
untag_resource#
Remove resource tags from a Greengrass Resource.
Type annotations and code completion for boto3.client("greengrass").untag_resource
method.
boto3 documentation
# untag_resource method definition
def untag_resource(
self,
*,
ResourceArn: str,
TagKeys: Sequence[str],
) -> EmptyResponseMetadataTypeDef: # (1)
...
# untag_resource method usage example with argument unpacking
kwargs: UntagResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
"TagKeys": ...,
}
parent.untag_resource(**kwargs)
update_connectivity_info#
Updates the connectivity information for the core.
Type annotations and code completion for boto3.client("greengrass").update_connectivity_info
method.
boto3 documentation
# update_connectivity_info method definition
def update_connectivity_info(
self,
*,
ThingName: str,
ConnectivityInfo: Sequence[ConnectivityInfoTypeDef] = ..., # (1)
) -> UpdateConnectivityInfoResponseTypeDef: # (2)
...
# update_connectivity_info method usage example with argument unpacking
kwargs: UpdateConnectivityInfoRequestRequestTypeDef = { # (1)
"ThingName": ...,
}
parent.update_connectivity_info(**kwargs)
update_connector_definition#
Updates a connector definition.
Type annotations and code completion for boto3.client("greengrass").update_connector_definition
method.
boto3 documentation
# update_connector_definition method definition
def update_connector_definition(
self,
*,
ConnectorDefinitionId: str,
Name: str = ...,
) -> Dict[str, Any]:
...
# update_connector_definition method usage example with argument unpacking
kwargs: UpdateConnectorDefinitionRequestRequestTypeDef = { # (1)
"ConnectorDefinitionId": ...,
}
parent.update_connector_definition(**kwargs)
update_core_definition#
Updates a core definition.
Type annotations and code completion for boto3.client("greengrass").update_core_definition
method.
boto3 documentation
# update_core_definition method definition
def update_core_definition(
self,
*,
CoreDefinitionId: str,
Name: str = ...,
) -> Dict[str, Any]:
...
# update_core_definition method usage example with argument unpacking
kwargs: UpdateCoreDefinitionRequestRequestTypeDef = { # (1)
"CoreDefinitionId": ...,
}
parent.update_core_definition(**kwargs)
update_device_definition#
Updates a device definition.
Type annotations and code completion for boto3.client("greengrass").update_device_definition
method.
boto3 documentation
# update_device_definition method definition
def update_device_definition(
self,
*,
DeviceDefinitionId: str,
Name: str = ...,
) -> Dict[str, Any]:
...
# update_device_definition method usage example with argument unpacking
kwargs: UpdateDeviceDefinitionRequestRequestTypeDef = { # (1)
"DeviceDefinitionId": ...,
}
parent.update_device_definition(**kwargs)
update_function_definition#
Updates a Lambda function definition.
Type annotations and code completion for boto3.client("greengrass").update_function_definition
method.
boto3 documentation
# update_function_definition method definition
def update_function_definition(
self,
*,
FunctionDefinitionId: str,
Name: str = ...,
) -> Dict[str, Any]:
...
# update_function_definition method usage example with argument unpacking
kwargs: UpdateFunctionDefinitionRequestRequestTypeDef = { # (1)
"FunctionDefinitionId": ...,
}
parent.update_function_definition(**kwargs)
update_group#
Updates a group.
Type annotations and code completion for boto3.client("greengrass").update_group
method.
boto3 documentation
# update_group method definition
def update_group(
self,
*,
GroupId: str,
Name: str = ...,
) -> Dict[str, Any]:
...
# update_group method usage example with argument unpacking
kwargs: UpdateGroupRequestRequestTypeDef = { # (1)
"GroupId": ...,
}
parent.update_group(**kwargs)
update_group_certificate_configuration#
Updates the Certificate expiry time for a group.
Type annotations and code completion for boto3.client("greengrass").update_group_certificate_configuration
method.
boto3 documentation
# update_group_certificate_configuration method definition
def update_group_certificate_configuration(
self,
*,
GroupId: str,
CertificateExpiryInMilliseconds: str = ...,
) -> UpdateGroupCertificateConfigurationResponseTypeDef: # (1)
...
# update_group_certificate_configuration method usage example with argument unpacking
kwargs: UpdateGroupCertificateConfigurationRequestRequestTypeDef = { # (1)
"GroupId": ...,
}
parent.update_group_certificate_configuration(**kwargs)
update_logger_definition#
Updates a logger definition.
Type annotations and code completion for boto3.client("greengrass").update_logger_definition
method.
boto3 documentation
# update_logger_definition method definition
def update_logger_definition(
self,
*,
LoggerDefinitionId: str,
Name: str = ...,
) -> Dict[str, Any]:
...
# update_logger_definition method usage example with argument unpacking
kwargs: UpdateLoggerDefinitionRequestRequestTypeDef = { # (1)
"LoggerDefinitionId": ...,
}
parent.update_logger_definition(**kwargs)
update_resource_definition#
Updates a resource definition.
Type annotations and code completion for boto3.client("greengrass").update_resource_definition
method.
boto3 documentation
# update_resource_definition method definition
def update_resource_definition(
self,
*,
ResourceDefinitionId: str,
Name: str = ...,
) -> Dict[str, Any]:
...
# update_resource_definition method usage example with argument unpacking
kwargs: UpdateResourceDefinitionRequestRequestTypeDef = { # (1)
"ResourceDefinitionId": ...,
}
parent.update_resource_definition(**kwargs)
update_subscription_definition#
Updates a subscription definition.
Type annotations and code completion for boto3.client("greengrass").update_subscription_definition
method.
boto3 documentation
# update_subscription_definition method definition
def update_subscription_definition(
self,
*,
SubscriptionDefinitionId: str,
Name: str = ...,
) -> Dict[str, Any]:
...
# update_subscription_definition method usage example with argument unpacking
kwargs: UpdateSubscriptionDefinitionRequestRequestTypeDef = { # (1)
"SubscriptionDefinitionId": ...,
}
parent.update_subscription_definition(**kwargs)
update_thing_runtime_configuration#
Updates the runtime configuration of a thing.
Type annotations and code completion for boto3.client("greengrass").update_thing_runtime_configuration
method.
boto3 documentation
# update_thing_runtime_configuration method definition
def update_thing_runtime_configuration(
self,
*,
ThingName: str,
TelemetryConfiguration: TelemetryConfigurationUpdateTypeDef = ..., # (1)
) -> Dict[str, Any]:
...
# update_thing_runtime_configuration method usage example with argument unpacking
kwargs: UpdateThingRuntimeConfigurationRequestRequestTypeDef = { # (1)
"ThingName": ...,
}
parent.update_thing_runtime_configuration(**kwargs)
get_paginator#
Type annotations and code completion for boto3.client("greengrass").get_paginator
method with overloads.
client.get_paginator("list_bulk_deployment_detailed_reports")
-> ListBulkDeploymentDetailedReportsPaginatorclient.get_paginator("list_bulk_deployments")
-> ListBulkDeploymentsPaginatorclient.get_paginator("list_connector_definition_versions")
-> ListConnectorDefinitionVersionsPaginatorclient.get_paginator("list_connector_definitions")
-> ListConnectorDefinitionsPaginatorclient.get_paginator("list_core_definition_versions")
-> ListCoreDefinitionVersionsPaginatorclient.get_paginator("list_core_definitions")
-> ListCoreDefinitionsPaginatorclient.get_paginator("list_deployments")
-> ListDeploymentsPaginatorclient.get_paginator("list_device_definition_versions")
-> ListDeviceDefinitionVersionsPaginatorclient.get_paginator("list_device_definitions")
-> ListDeviceDefinitionsPaginatorclient.get_paginator("list_function_definition_versions")
-> ListFunctionDefinitionVersionsPaginatorclient.get_paginator("list_function_definitions")
-> ListFunctionDefinitionsPaginatorclient.get_paginator("list_group_versions")
-> ListGroupVersionsPaginatorclient.get_paginator("list_groups")
-> ListGroupsPaginatorclient.get_paginator("list_logger_definition_versions")
-> ListLoggerDefinitionVersionsPaginatorclient.get_paginator("list_logger_definitions")
-> ListLoggerDefinitionsPaginatorclient.get_paginator("list_resource_definition_versions")
-> ListResourceDefinitionVersionsPaginatorclient.get_paginator("list_resource_definitions")
-> ListResourceDefinitionsPaginatorclient.get_paginator("list_subscription_definition_versions")
-> ListSubscriptionDefinitionVersionsPaginatorclient.get_paginator("list_subscription_definitions")
-> ListSubscriptionDefinitionsPaginator