Skip to content

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

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.

Usage example
client = boto3.client("greengrass")

try:
    do_something(client)
except (
    client.BadRequestException,
    client.ClientError,
    client.InternalServerErrorException,
) as e:
    print(e)
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

Method definition
def associate_role_to_group(
    self,
    *,
    GroupId: str,
    RoleArn: str,
) -> AssociateRoleToGroupResponseTypeDef:  # (1)
    ...
  1. See AssociateRoleToGroupResponseTypeDef
Usage example with kwargs
kwargs: AssociateRoleToGroupRequestRequestTypeDef = {  # (1)
    "GroupId": ...,
    "RoleArn": ...,
}

parent.associate_role_to_group(**kwargs)
  1. See AssociateRoleToGroupRequestRequestTypeDef

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

Method definition
def associate_service_role_to_account(
    self,
    *,
    RoleArn: str,
) -> AssociateServiceRoleToAccountResponseTypeDef:  # (1)
    ...
  1. See AssociateServiceRoleToAccountResponseTypeDef
Usage example with kwargs
kwargs: AssociateServiceRoleToAccountRequestRequestTypeDef = {  # (1)
    "RoleArn": ...,
}

parent.associate_service_role_to_account(**kwargs)
  1. See AssociateServiceRoleToAccountRequestRequestTypeDef

can_paginate

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("greengrass").can_paginate method. boto3 documentation

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

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

Method definition
def create_connector_definition(
    self,
    *,
    AmznClientToken: str = ...,
    InitialVersion: ConnectorDefinitionVersionTypeDef = ...,  # (1)
    Name: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateConnectorDefinitionResponseTypeDef:  # (2)
    ...
  1. See ConnectorDefinitionVersionTypeDef
  2. See CreateConnectorDefinitionResponseTypeDef
Usage example with kwargs
kwargs: CreateConnectorDefinitionRequestRequestTypeDef = {  # (1)
    "AmznClientToken": ...,
}

parent.create_connector_definition(**kwargs)
  1. See CreateConnectorDefinitionRequestRequestTypeDef

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

Method definition
def create_connector_definition_version(
    self,
    *,
    ConnectorDefinitionId: str,
    AmznClientToken: str = ...,
    Connectors: Sequence[ConnectorTypeDef] = ...,  # (1)
) -> CreateConnectorDefinitionVersionResponseTypeDef:  # (2)
    ...
  1. See ConnectorTypeDef
  2. See CreateConnectorDefinitionVersionResponseTypeDef
Usage example with kwargs
kwargs: CreateConnectorDefinitionVersionRequestRequestTypeDef = {  # (1)
    "ConnectorDefinitionId": ...,
}

parent.create_connector_definition_version(**kwargs)
  1. See CreateConnectorDefinitionVersionRequestRequestTypeDef

create_core_definition

Creates a core definition.

Type annotations and code completion for boto3.client("greengrass").create_core_definition method. boto3 documentation

Method definition
def create_core_definition(
    self,
    *,
    AmznClientToken: str = ...,
    InitialVersion: CoreDefinitionVersionTypeDef = ...,  # (1)
    Name: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateCoreDefinitionResponseTypeDef:  # (2)
    ...
  1. See CoreDefinitionVersionTypeDef
  2. See CreateCoreDefinitionResponseTypeDef
Usage example with kwargs
kwargs: CreateCoreDefinitionRequestRequestTypeDef = {  # (1)
    "AmznClientToken": ...,
}

parent.create_core_definition(**kwargs)
  1. See CreateCoreDefinitionRequestRequestTypeDef

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

Method definition
def create_core_definition_version(
    self,
    *,
    CoreDefinitionId: str,
    AmznClientToken: str = ...,
    Cores: Sequence[CoreTypeDef] = ...,  # (1)
) -> CreateCoreDefinitionVersionResponseTypeDef:  # (2)
    ...
  1. See CoreTypeDef
  2. See CreateCoreDefinitionVersionResponseTypeDef
Usage example with kwargs
kwargs: CreateCoreDefinitionVersionRequestRequestTypeDef = {  # (1)
    "CoreDefinitionId": ...,
}

parent.create_core_definition_version(**kwargs)
  1. See CreateCoreDefinitionVersionRequestRequestTypeDef

create_deployment

Creates a deployment.

Type annotations and code completion for boto3.client("greengrass").create_deployment method. boto3 documentation

Method definition
def create_deployment(
    self,
    *,
    DeploymentType: DeploymentTypeType,  # (1)
    GroupId: str,
    AmznClientToken: str = ...,
    DeploymentId: str = ...,
    GroupVersionId: str = ...,
) -> CreateDeploymentResponseTypeDef:  # (2)
    ...
  1. See DeploymentTypeType
  2. See CreateDeploymentResponseTypeDef
Usage example with kwargs
kwargs: CreateDeploymentRequestRequestTypeDef = {  # (1)
    "DeploymentType": ...,
    "GroupId": ...,
}

parent.create_deployment(**kwargs)
  1. See CreateDeploymentRequestRequestTypeDef

create_device_definition

Creates a device definition.

Type annotations and code completion for boto3.client("greengrass").create_device_definition method. boto3 documentation

Method definition
def create_device_definition(
    self,
    *,
    AmznClientToken: str = ...,
    InitialVersion: DeviceDefinitionVersionTypeDef = ...,  # (1)
    Name: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateDeviceDefinitionResponseTypeDef:  # (2)
    ...
  1. See DeviceDefinitionVersionTypeDef
  2. See CreateDeviceDefinitionResponseTypeDef
Usage example with kwargs
kwargs: CreateDeviceDefinitionRequestRequestTypeDef = {  # (1)
    "AmznClientToken": ...,
}

parent.create_device_definition(**kwargs)
  1. See CreateDeviceDefinitionRequestRequestTypeDef

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

Method definition
def create_device_definition_version(
    self,
    *,
    DeviceDefinitionId: str,
    AmznClientToken: str = ...,
    Devices: Sequence[DeviceTypeDef] = ...,  # (1)
) -> CreateDeviceDefinitionVersionResponseTypeDef:  # (2)
    ...
  1. See DeviceTypeDef
  2. See CreateDeviceDefinitionVersionResponseTypeDef
Usage example with kwargs
kwargs: CreateDeviceDefinitionVersionRequestRequestTypeDef = {  # (1)
    "DeviceDefinitionId": ...,
}

parent.create_device_definition_version(**kwargs)
  1. See CreateDeviceDefinitionVersionRequestRequestTypeDef

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

Method definition
def create_function_definition(
    self,
    *,
    AmznClientToken: str = ...,
    InitialVersion: FunctionDefinitionVersionTypeDef = ...,  # (1)
    Name: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateFunctionDefinitionResponseTypeDef:  # (2)
    ...
  1. See FunctionDefinitionVersionTypeDef
  2. See CreateFunctionDefinitionResponseTypeDef
Usage example with kwargs
kwargs: CreateFunctionDefinitionRequestRequestTypeDef = {  # (1)
    "AmznClientToken": ...,
}

parent.create_function_definition(**kwargs)
  1. See CreateFunctionDefinitionRequestRequestTypeDef

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

Method definition
def create_function_definition_version(
    self,
    *,
    FunctionDefinitionId: str,
    AmznClientToken: str = ...,
    DefaultConfig: FunctionDefaultConfigTypeDef = ...,  # (1)
    Functions: Sequence[FunctionTypeDef] = ...,  # (2)
) -> CreateFunctionDefinitionVersionResponseTypeDef:  # (3)
    ...
  1. See FunctionDefaultConfigTypeDef
  2. See FunctionTypeDef
  3. See CreateFunctionDefinitionVersionResponseTypeDef
Usage example with kwargs
kwargs: CreateFunctionDefinitionVersionRequestRequestTypeDef = {  # (1)
    "FunctionDefinitionId": ...,
}

parent.create_function_definition_version(**kwargs)
  1. See CreateFunctionDefinitionVersionRequestRequestTypeDef

create_group

Creates a group.

Type annotations and code completion for boto3.client("greengrass").create_group method. boto3 documentation

Method definition
def create_group(
    self,
    *,
    Name: str,
    AmznClientToken: str = ...,
    InitialVersion: GroupVersionTypeDef = ...,  # (1)
    tags: Mapping[str, str] = ...,
) -> CreateGroupResponseTypeDef:  # (2)
    ...
  1. See GroupVersionTypeDef
  2. See CreateGroupResponseTypeDef
Usage example with kwargs
kwargs: CreateGroupRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.create_group(**kwargs)
  1. See CreateGroupRequestRequestTypeDef

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

Method definition
def create_group_certificate_authority(
    self,
    *,
    GroupId: str,
    AmznClientToken: str = ...,
) -> CreateGroupCertificateAuthorityResponseTypeDef:  # (1)
    ...
  1. See CreateGroupCertificateAuthorityResponseTypeDef
Usage example with kwargs
kwargs: CreateGroupCertificateAuthorityRequestRequestTypeDef = {  # (1)
    "GroupId": ...,
}

parent.create_group_certificate_authority(**kwargs)
  1. See CreateGroupCertificateAuthorityRequestRequestTypeDef

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

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)
    ...
  1. See CreateGroupVersionResponseTypeDef
Usage example with kwargs
kwargs: CreateGroupVersionRequestRequestTypeDef = {  # (1)
    "GroupId": ...,
}

parent.create_group_version(**kwargs)
  1. See CreateGroupVersionRequestRequestTypeDef

create_logger_definition

Creates a logger definition.

Type annotations and code completion for boto3.client("greengrass").create_logger_definition method. boto3 documentation

Method definition
def create_logger_definition(
    self,
    *,
    AmznClientToken: str = ...,
    InitialVersion: LoggerDefinitionVersionTypeDef = ...,  # (1)
    Name: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateLoggerDefinitionResponseTypeDef:  # (2)
    ...
  1. See LoggerDefinitionVersionTypeDef
  2. See CreateLoggerDefinitionResponseTypeDef
Usage example with kwargs
kwargs: CreateLoggerDefinitionRequestRequestTypeDef = {  # (1)
    "AmznClientToken": ...,
}

parent.create_logger_definition(**kwargs)
  1. See CreateLoggerDefinitionRequestRequestTypeDef

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

Method definition
def create_logger_definition_version(
    self,
    *,
    LoggerDefinitionId: str,
    AmznClientToken: str = ...,
    Loggers: Sequence[LoggerTypeDef] = ...,  # (1)
) -> CreateLoggerDefinitionVersionResponseTypeDef:  # (2)
    ...
  1. See LoggerTypeDef
  2. See CreateLoggerDefinitionVersionResponseTypeDef
Usage example with kwargs
kwargs: CreateLoggerDefinitionVersionRequestRequestTypeDef = {  # (1)
    "LoggerDefinitionId": ...,
}

parent.create_logger_definition_version(**kwargs)
  1. See CreateLoggerDefinitionVersionRequestRequestTypeDef

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

Method definition
def create_resource_definition(
    self,
    *,
    AmznClientToken: str = ...,
    InitialVersion: ResourceDefinitionVersionTypeDef = ...,  # (1)
    Name: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateResourceDefinitionResponseTypeDef:  # (2)
    ...
  1. See ResourceDefinitionVersionTypeDef
  2. See CreateResourceDefinitionResponseTypeDef
Usage example with kwargs
kwargs: CreateResourceDefinitionRequestRequestTypeDef = {  # (1)
    "AmznClientToken": ...,
}

parent.create_resource_definition(**kwargs)
  1. See CreateResourceDefinitionRequestRequestTypeDef

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

Method definition
def create_resource_definition_version(
    self,
    *,
    ResourceDefinitionId: str,
    AmznClientToken: str = ...,
    Resources: Sequence[ResourceTypeDef] = ...,  # (1)
) -> CreateResourceDefinitionVersionResponseTypeDef:  # (2)
    ...
  1. See ResourceTypeDef
  2. See CreateResourceDefinitionVersionResponseTypeDef
Usage example with kwargs
kwargs: CreateResourceDefinitionVersionRequestRequestTypeDef = {  # (1)
    "ResourceDefinitionId": ...,
}

parent.create_resource_definition_version(**kwargs)
  1. See CreateResourceDefinitionVersionRequestRequestTypeDef

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

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)
    ...
  1. See SoftwareToUpdateType
  2. See UpdateTargetsArchitectureType
  3. See UpdateTargetsOperatingSystemType
  4. See UpdateAgentLogLevelType
  5. See CreateSoftwareUpdateJobResponseTypeDef
Usage example with kwargs
kwargs: CreateSoftwareUpdateJobRequestRequestTypeDef = {  # (1)
    "S3UrlSignerRole": ...,
    "SoftwareToUpdate": ...,
    "UpdateTargets": ...,
    "UpdateTargetsArchitecture": ...,
    "UpdateTargetsOperatingSystem": ...,
}

parent.create_software_update_job(**kwargs)
  1. See CreateSoftwareUpdateJobRequestRequestTypeDef

create_subscription_definition

Creates a subscription definition.

Type annotations and code completion for boto3.client("greengrass").create_subscription_definition method. boto3 documentation

Method definition
def create_subscription_definition(
    self,
    *,
    AmznClientToken: str = ...,
    InitialVersion: SubscriptionDefinitionVersionTypeDef = ...,  # (1)
    Name: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateSubscriptionDefinitionResponseTypeDef:  # (2)
    ...
  1. See SubscriptionDefinitionVersionTypeDef
  2. See CreateSubscriptionDefinitionResponseTypeDef
Usage example with kwargs
kwargs: CreateSubscriptionDefinitionRequestRequestTypeDef = {  # (1)
    "AmznClientToken": ...,
}

parent.create_subscription_definition(**kwargs)
  1. See CreateSubscriptionDefinitionRequestRequestTypeDef

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

Method definition
def create_subscription_definition_version(
    self,
    *,
    SubscriptionDefinitionId: str,
    AmznClientToken: str = ...,
    Subscriptions: Sequence[SubscriptionTypeDef] = ...,  # (1)
) -> CreateSubscriptionDefinitionVersionResponseTypeDef:  # (2)
    ...
  1. See SubscriptionTypeDef
  2. See CreateSubscriptionDefinitionVersionResponseTypeDef
Usage example with kwargs
kwargs: CreateSubscriptionDefinitionVersionRequestRequestTypeDef = {  # (1)
    "SubscriptionDefinitionId": ...,
}

parent.create_subscription_definition_version(**kwargs)
  1. See CreateSubscriptionDefinitionVersionRequestRequestTypeDef

delete_connector_definition

Deletes a connector definition.

Type annotations and code completion for boto3.client("greengrass").delete_connector_definition method. boto3 documentation

Method definition
def delete_connector_definition(
    self,
    *,
    ConnectorDefinitionId: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteConnectorDefinitionRequestRequestTypeDef = {  # (1)
    "ConnectorDefinitionId": ...,
}

parent.delete_connector_definition(**kwargs)
  1. See DeleteConnectorDefinitionRequestRequestTypeDef

delete_core_definition

Deletes a core definition.

Type annotations and code completion for boto3.client("greengrass").delete_core_definition method. boto3 documentation

Method definition
def delete_core_definition(
    self,
    *,
    CoreDefinitionId: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteCoreDefinitionRequestRequestTypeDef = {  # (1)
    "CoreDefinitionId": ...,
}

parent.delete_core_definition(**kwargs)
  1. See DeleteCoreDefinitionRequestRequestTypeDef

delete_device_definition

Deletes a device definition.

Type annotations and code completion for boto3.client("greengrass").delete_device_definition method. boto3 documentation

Method definition
def delete_device_definition(
    self,
    *,
    DeviceDefinitionId: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteDeviceDefinitionRequestRequestTypeDef = {  # (1)
    "DeviceDefinitionId": ...,
}

parent.delete_device_definition(**kwargs)
  1. See DeleteDeviceDefinitionRequestRequestTypeDef

delete_function_definition

Deletes a Lambda function definition.

Type annotations and code completion for boto3.client("greengrass").delete_function_definition method. boto3 documentation

Method definition
def delete_function_definition(
    self,
    *,
    FunctionDefinitionId: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteFunctionDefinitionRequestRequestTypeDef = {  # (1)
    "FunctionDefinitionId": ...,
}

parent.delete_function_definition(**kwargs)
  1. See DeleteFunctionDefinitionRequestRequestTypeDef

delete_group

Deletes a group.

Type annotations and code completion for boto3.client("greengrass").delete_group method. boto3 documentation

Method definition
def delete_group(
    self,
    *,
    GroupId: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteGroupRequestRequestTypeDef = {  # (1)
    "GroupId": ...,
}

parent.delete_group(**kwargs)
  1. See DeleteGroupRequestRequestTypeDef

delete_logger_definition

Deletes a logger definition.

Type annotations and code completion for boto3.client("greengrass").delete_logger_definition method. boto3 documentation

Method definition
def delete_logger_definition(
    self,
    *,
    LoggerDefinitionId: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteLoggerDefinitionRequestRequestTypeDef = {  # (1)
    "LoggerDefinitionId": ...,
}

parent.delete_logger_definition(**kwargs)
  1. See DeleteLoggerDefinitionRequestRequestTypeDef

delete_resource_definition

Deletes a resource definition.

Type annotations and code completion for boto3.client("greengrass").delete_resource_definition method. boto3 documentation

Method definition
def delete_resource_definition(
    self,
    *,
    ResourceDefinitionId: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteResourceDefinitionRequestRequestTypeDef = {  # (1)
    "ResourceDefinitionId": ...,
}

parent.delete_resource_definition(**kwargs)
  1. See DeleteResourceDefinitionRequestRequestTypeDef

delete_subscription_definition

Deletes a subscription definition.

Type annotations and code completion for boto3.client("greengrass").delete_subscription_definition method. boto3 documentation

Method definition
def delete_subscription_definition(
    self,
    *,
    SubscriptionDefinitionId: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteSubscriptionDefinitionRequestRequestTypeDef = {  # (1)
    "SubscriptionDefinitionId": ...,
}

parent.delete_subscription_definition(**kwargs)
  1. See DeleteSubscriptionDefinitionRequestRequestTypeDef

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

Method definition
def disassociate_role_from_group(
    self,
    *,
    GroupId: str,
) -> DisassociateRoleFromGroupResponseTypeDef:  # (1)
    ...
  1. See DisassociateRoleFromGroupResponseTypeDef
Usage example with kwargs
kwargs: DisassociateRoleFromGroupRequestRequestTypeDef = {  # (1)
    "GroupId": ...,
}

parent.disassociate_role_from_group(**kwargs)
  1. See DisassociateRoleFromGroupRequestRequestTypeDef

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

Method definition
def disassociate_service_role_from_account(
    self,
) -> DisassociateServiceRoleFromAccountResponseTypeDef:  # (1)
    ...
  1. See DisassociateServiceRoleFromAccountResponseTypeDef

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

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

Method definition
def get_associated_role(
    self,
    *,
    GroupId: str,
) -> GetAssociatedRoleResponseTypeDef:  # (1)
    ...
  1. See GetAssociatedRoleResponseTypeDef
Usage example with kwargs
kwargs: GetAssociatedRoleRequestRequestTypeDef = {  # (1)
    "GroupId": ...,
}

parent.get_associated_role(**kwargs)
  1. See GetAssociatedRoleRequestRequestTypeDef

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

Method definition
def get_bulk_deployment_status(
    self,
    *,
    BulkDeploymentId: str,
) -> GetBulkDeploymentStatusResponseTypeDef:  # (1)
    ...
  1. See GetBulkDeploymentStatusResponseTypeDef
Usage example with kwargs
kwargs: GetBulkDeploymentStatusRequestRequestTypeDef = {  # (1)
    "BulkDeploymentId": ...,
}

parent.get_bulk_deployment_status(**kwargs)
  1. See GetBulkDeploymentStatusRequestRequestTypeDef

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

Method definition
def get_connectivity_info(
    self,
    *,
    ThingName: str,
) -> GetConnectivityInfoResponseTypeDef:  # (1)
    ...
  1. See GetConnectivityInfoResponseTypeDef
Usage example with kwargs
kwargs: GetConnectivityInfoRequestRequestTypeDef = {  # (1)
    "ThingName": ...,
}

parent.get_connectivity_info(**kwargs)
  1. See GetConnectivityInfoRequestRequestTypeDef

get_connector_definition

Retrieves information about a connector definition.

Type annotations and code completion for boto3.client("greengrass").get_connector_definition method. boto3 documentation

Method definition
def get_connector_definition(
    self,
    *,
    ConnectorDefinitionId: str,
) -> GetConnectorDefinitionResponseTypeDef:  # (1)
    ...
  1. See GetConnectorDefinitionResponseTypeDef
Usage example with kwargs
kwargs: GetConnectorDefinitionRequestRequestTypeDef = {  # (1)
    "ConnectorDefinitionId": ...,
}

parent.get_connector_definition(**kwargs)
  1. See GetConnectorDefinitionRequestRequestTypeDef

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

Method definition
def get_connector_definition_version(
    self,
    *,
    ConnectorDefinitionId: str,
    ConnectorDefinitionVersionId: str,
    NextToken: str = ...,
) -> GetConnectorDefinitionVersionResponseTypeDef:  # (1)
    ...
  1. See GetConnectorDefinitionVersionResponseTypeDef
Usage example with kwargs
kwargs: GetConnectorDefinitionVersionRequestRequestTypeDef = {  # (1)
    "ConnectorDefinitionId": ...,
    "ConnectorDefinitionVersionId": ...,
}

parent.get_connector_definition_version(**kwargs)
  1. See GetConnectorDefinitionVersionRequestRequestTypeDef

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

Method definition
def get_core_definition(
    self,
    *,
    CoreDefinitionId: str,
) -> GetCoreDefinitionResponseTypeDef:  # (1)
    ...
  1. See GetCoreDefinitionResponseTypeDef
Usage example with kwargs
kwargs: GetCoreDefinitionRequestRequestTypeDef = {  # (1)
    "CoreDefinitionId": ...,
}

parent.get_core_definition(**kwargs)
  1. See GetCoreDefinitionRequestRequestTypeDef

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

Method definition
def get_core_definition_version(
    self,
    *,
    CoreDefinitionId: str,
    CoreDefinitionVersionId: str,
) -> GetCoreDefinitionVersionResponseTypeDef:  # (1)
    ...
  1. See GetCoreDefinitionVersionResponseTypeDef
Usage example with kwargs
kwargs: GetCoreDefinitionVersionRequestRequestTypeDef = {  # (1)
    "CoreDefinitionId": ...,
    "CoreDefinitionVersionId": ...,
}

parent.get_core_definition_version(**kwargs)
  1. See GetCoreDefinitionVersionRequestRequestTypeDef

get_deployment_status

Returns the status of a deployment.

Type annotations and code completion for boto3.client("greengrass").get_deployment_status method. boto3 documentation

Method definition
def get_deployment_status(
    self,
    *,
    DeploymentId: str,
    GroupId: str,
) -> GetDeploymentStatusResponseTypeDef:  # (1)
    ...
  1. See GetDeploymentStatusResponseTypeDef
Usage example with kwargs
kwargs: GetDeploymentStatusRequestRequestTypeDef = {  # (1)
    "DeploymentId": ...,
    "GroupId": ...,
}

parent.get_deployment_status(**kwargs)
  1. See GetDeploymentStatusRequestRequestTypeDef

get_device_definition

Retrieves information about a device definition.

Type annotations and code completion for boto3.client("greengrass").get_device_definition method. boto3 documentation

Method definition
def get_device_definition(
    self,
    *,
    DeviceDefinitionId: str,
) -> GetDeviceDefinitionResponseTypeDef:  # (1)
    ...
  1. See GetDeviceDefinitionResponseTypeDef
Usage example with kwargs
kwargs: GetDeviceDefinitionRequestRequestTypeDef = {  # (1)
    "DeviceDefinitionId": ...,
}

parent.get_device_definition(**kwargs)
  1. See GetDeviceDefinitionRequestRequestTypeDef

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

Method definition
def get_device_definition_version(
    self,
    *,
    DeviceDefinitionId: str,
    DeviceDefinitionVersionId: str,
    NextToken: str = ...,
) -> GetDeviceDefinitionVersionResponseTypeDef:  # (1)
    ...
  1. See GetDeviceDefinitionVersionResponseTypeDef
Usage example with kwargs
kwargs: GetDeviceDefinitionVersionRequestRequestTypeDef = {  # (1)
    "DeviceDefinitionId": ...,
    "DeviceDefinitionVersionId": ...,
}

parent.get_device_definition_version(**kwargs)
  1. See GetDeviceDefinitionVersionRequestRequestTypeDef

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

Method definition
def get_function_definition(
    self,
    *,
    FunctionDefinitionId: str,
) -> GetFunctionDefinitionResponseTypeDef:  # (1)
    ...
  1. See GetFunctionDefinitionResponseTypeDef
Usage example with kwargs
kwargs: GetFunctionDefinitionRequestRequestTypeDef = {  # (1)
    "FunctionDefinitionId": ...,
}

parent.get_function_definition(**kwargs)
  1. See GetFunctionDefinitionRequestRequestTypeDef

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

Method definition
def get_function_definition_version(
    self,
    *,
    FunctionDefinitionId: str,
    FunctionDefinitionVersionId: str,
    NextToken: str = ...,
) -> GetFunctionDefinitionVersionResponseTypeDef:  # (1)
    ...
  1. See GetFunctionDefinitionVersionResponseTypeDef
Usage example with kwargs
kwargs: GetFunctionDefinitionVersionRequestRequestTypeDef = {  # (1)
    "FunctionDefinitionId": ...,
    "FunctionDefinitionVersionId": ...,
}

parent.get_function_definition_version(**kwargs)
  1. See GetFunctionDefinitionVersionRequestRequestTypeDef

get_group

Retrieves information about a group.

Type annotations and code completion for boto3.client("greengrass").get_group method. boto3 documentation

Method definition
def get_group(
    self,
    *,
    GroupId: str,
) -> GetGroupResponseTypeDef:  # (1)
    ...
  1. See GetGroupResponseTypeDef
Usage example with kwargs
kwargs: GetGroupRequestRequestTypeDef = {  # (1)
    "GroupId": ...,
}

parent.get_group(**kwargs)
  1. See GetGroupRequestRequestTypeDef

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

Method definition
def get_group_certificate_authority(
    self,
    *,
    CertificateAuthorityId: str,
    GroupId: str,
) -> GetGroupCertificateAuthorityResponseTypeDef:  # (1)
    ...
  1. See GetGroupCertificateAuthorityResponseTypeDef
Usage example with kwargs
kwargs: GetGroupCertificateAuthorityRequestRequestTypeDef = {  # (1)
    "CertificateAuthorityId": ...,
    "GroupId": ...,
}

parent.get_group_certificate_authority(**kwargs)
  1. See GetGroupCertificateAuthorityRequestRequestTypeDef

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

Method definition
def get_group_certificate_configuration(
    self,
    *,
    GroupId: str,
) -> GetGroupCertificateConfigurationResponseTypeDef:  # (1)
    ...
  1. See GetGroupCertificateConfigurationResponseTypeDef
Usage example with kwargs
kwargs: GetGroupCertificateConfigurationRequestRequestTypeDef = {  # (1)
    "GroupId": ...,
}

parent.get_group_certificate_configuration(**kwargs)
  1. See GetGroupCertificateConfigurationRequestRequestTypeDef

get_group_version

Retrieves information about a group version.

Type annotations and code completion for boto3.client("greengrass").get_group_version method. boto3 documentation

Method definition
def get_group_version(
    self,
    *,
    GroupId: str,
    GroupVersionId: str,
) -> GetGroupVersionResponseTypeDef:  # (1)
    ...
  1. See GetGroupVersionResponseTypeDef
Usage example with kwargs
kwargs: GetGroupVersionRequestRequestTypeDef = {  # (1)
    "GroupId": ...,
    "GroupVersionId": ...,
}

parent.get_group_version(**kwargs)
  1. See GetGroupVersionRequestRequestTypeDef

get_logger_definition

Retrieves information about a logger definition.

Type annotations and code completion for boto3.client("greengrass").get_logger_definition method. boto3 documentation

Method definition
def get_logger_definition(
    self,
    *,
    LoggerDefinitionId: str,
) -> GetLoggerDefinitionResponseTypeDef:  # (1)
    ...
  1. See GetLoggerDefinitionResponseTypeDef
Usage example with kwargs
kwargs: GetLoggerDefinitionRequestRequestTypeDef = {  # (1)
    "LoggerDefinitionId": ...,
}

parent.get_logger_definition(**kwargs)
  1. See GetLoggerDefinitionRequestRequestTypeDef

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

Method definition
def get_logger_definition_version(
    self,
    *,
    LoggerDefinitionId: str,
    LoggerDefinitionVersionId: str,
    NextToken: str = ...,
) -> GetLoggerDefinitionVersionResponseTypeDef:  # (1)
    ...
  1. See GetLoggerDefinitionVersionResponseTypeDef
Usage example with kwargs
kwargs: GetLoggerDefinitionVersionRequestRequestTypeDef = {  # (1)
    "LoggerDefinitionId": ...,
    "LoggerDefinitionVersionId": ...,
}

parent.get_logger_definition_version(**kwargs)
  1. See GetLoggerDefinitionVersionRequestRequestTypeDef

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

Method definition
def get_resource_definition(
    self,
    *,
    ResourceDefinitionId: str,
) -> GetResourceDefinitionResponseTypeDef:  # (1)
    ...
  1. See GetResourceDefinitionResponseTypeDef
Usage example with kwargs
kwargs: GetResourceDefinitionRequestRequestTypeDef = {  # (1)
    "ResourceDefinitionId": ...,
}

parent.get_resource_definition(**kwargs)
  1. See GetResourceDefinitionRequestRequestTypeDef

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

Method definition
def get_resource_definition_version(
    self,
    *,
    ResourceDefinitionId: str,
    ResourceDefinitionVersionId: str,
) -> GetResourceDefinitionVersionResponseTypeDef:  # (1)
    ...
  1. See GetResourceDefinitionVersionResponseTypeDef
Usage example with kwargs
kwargs: GetResourceDefinitionVersionRequestRequestTypeDef = {  # (1)