NAME
Paws::Greengrass - Perl Interface to AWS AWS Greengrass
SYNOPSIS
use Paws;
my $obj = Paws->service('Greengrass');
my $res = $obj->Method(
Arg1 => $val1,
Arg2 => [ 'V1', 'V2' ],
# if Arg3 is an object, the HashRef will be used as arguments to the constructor
# of the arguments type
Arg3 => { Att1 => 'Val1' },
# if Arg4 is an array of objects, the HashRefs will be passed as arguments to
# the constructor of the arguments type
Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
);
DESCRIPTION
AWS Greengrass seamlessly extends AWS onto physical devices so they can act locally on the data they generate, while still using the cloud for management, analytics, and durable storage. AWS Greengrass ensures your devices can respond quickly to local events and operate with intermittent connectivity. AWS Greengrass minimizes the cost of transmitting data to the cloud by allowing you to author AWS Lambda functions that execute locally.
METHODS
AssociateRoleToGroup(GroupId => Str, [RoleArn => Str])
Each argument is described in detail in: Paws::Greengrass::AssociateRoleToGroup
Returns: a Paws::Greengrass::AssociateRoleToGroupResponse instance
Associates a role with a group. The role will be used by the AWS
Greengrass core in order to access AWS cloud services. The role's
permissions will allow Greengrass core Lambda functions to perform
actions against the cloud.
AssociateServiceRoleToAccount([RoleArn => Str])
Each argument is described in detail in: Paws::Greengrass::AssociateServiceRoleToAccount
Returns: a Paws::Greengrass::AssociateServiceRoleToAccountResponse instance
Associates a role which is used by AWS Greengrass. AWS Greengrass uses
the role to access your Lambda functions and AWS IoT resources. This is
necessary for deployments to succeed. It needs to have minimum
permissions in policy ``AWSGreengrassResourceAccessRolePolicy``
CreateCoreDefinition([AmznClientToken => Str, InitialVersion => Paws::Greengrass::CoreDefinitionVersion, Name => Str])
Each argument is described in detail in: Paws::Greengrass::CreateCoreDefinition
Returns: a Paws::Greengrass::CreateCoreDefinitionResponse instance
Creates a core definition. You may optionally provide the initial
version of the core definition or use ''CreateCoreDefinitionVersion''
at a later time. AWS Greengrass Groups must each contain exactly 1 AWS
Greengrass Core.
CreateCoreDefinitionVersion(CoreDefinitionId => Str, [AmznClientToken => Str, Cores => ArrayRef[Paws::Greengrass::Core]])
Each argument is described in detail in: Paws::Greengrass::CreateCoreDefinitionVersion
Returns: a Paws::Greengrass::CreateCoreDefinitionVersionResponse instance
Creates a version of a core definition that has already been defined.
AWS Greengrass Groups must each contain exactly 1 AWS Greengrass Core.
CreateDeployment(GroupId => Str, [AmznClientToken => Str, DeploymentId => Str, DeploymentType => Str, GroupVersionId => Str])
Each argument is described in detail in: Paws::Greengrass::CreateDeployment
Returns: a Paws::Greengrass::CreateDeploymentResponse instance
Creates a deployment.
CreateDeviceDefinition([AmznClientToken => Str, InitialVersion => Paws::Greengrass::DeviceDefinitionVersion, Name => Str])
Each argument is described in detail in: Paws::Greengrass::CreateDeviceDefinition
Returns: a Paws::Greengrass::CreateDeviceDefinitionResponse instance
Creates a device definition. You may optinally provide the initial
version of the device definition or use
``CreateDeviceDefinitionVersion`` at a later time.
CreateDeviceDefinitionVersion(DeviceDefinitionId => Str, [AmznClientToken => Str, Devices => ArrayRef[Paws::Greengrass::Device]])
Each argument is described in detail in: Paws::Greengrass::CreateDeviceDefinitionVersion
Returns: a Paws::Greengrass::CreateDeviceDefinitionVersionResponse instance
Creates a version of a device definition that has already been defined.
CreateFunctionDefinition([AmznClientToken => Str, InitialVersion => Paws::Greengrass::FunctionDefinitionVersion, Name => Str])
Each argument is described in detail in: Paws::Greengrass::CreateFunctionDefinition
Returns: a Paws::Greengrass::CreateFunctionDefinitionResponse instance
Creates a Lambda function definition which contains a list of Lambda
functions and their configurations to be used in a group. You can
create an initial version of the definition by providing a list of
Lambda functions and their configurations now, or use
``CreateFunctionDefinitionVersion`` later.
CreateFunctionDefinitionVersion(FunctionDefinitionId => Str, [AmznClientToken => Str, Functions => ArrayRef[Paws::Greengrass::Function]])
Each argument is described in detail in: Paws::Greengrass::CreateFunctionDefinitionVersion
Returns: a Paws::Greengrass::CreateFunctionDefinitionVersionResponse instance
Create a version of a Lambda function definition that has already been
defined.
CreateGroup([AmznClientToken => Str, InitialVersion => Paws::Greengrass::GroupVersion, Name => Str])
Each argument is described in detail in: Paws::Greengrass::CreateGroup
Returns: a Paws::Greengrass::CreateGroupResponse instance
Creates a group. You may optionally provide the initial version of the
group or use ''CreateGroupVersion'' at a later time.
CreateGroupCertificateAuthority(GroupId => Str, [AmznClientToken => Str])
Each argument is described in detail in: Paws::Greengrass::CreateGroupCertificateAuthority
Returns: a Paws::Greengrass::CreateGroupCertificateAuthorityResponse instance
Creates a CA for the group. If a CA already exists, it will rotate the
existing CA.
CreateGroupVersion(GroupId => Str, [AmznClientToken => Str, CoreDefinitionVersionArn => Str, DeviceDefinitionVersionArn => Str, FunctionDefinitionVersionArn => Str, LoggerDefinitionVersionArn => Str, SubscriptionDefinitionVersionArn => Str])
Each argument is described in detail in: Paws::Greengrass::CreateGroupVersion
Returns: a Paws::Greengrass::CreateGroupVersionResponse instance
Creates a version of a group which has already been defined.
CreateLoggerDefinition([AmznClientToken => Str, InitialVersion => Paws::Greengrass::LoggerDefinitionVersion, Name => Str])
Each argument is described in detail in: Paws::Greengrass::CreateLoggerDefinition
Returns: a Paws::Greengrass::CreateLoggerDefinitionResponse instance
Creates a logger definition. You may optionally provide the initial
version of the logger definition or use
``CreateLoggerDefinitionVersion`` at a later time.
CreateLoggerDefinitionVersion(LoggerDefinitionId => Str, [AmznClientToken => Str, Loggers => ArrayRef[Paws::Greengrass::Logger]])
Each argument is described in detail in: Paws::Greengrass::CreateLoggerDefinitionVersion
Returns: a Paws::Greengrass::CreateLoggerDefinitionVersionResponse instance
Creates a version of a logger definition that has already been defined.
CreateSubscriptionDefinition([AmznClientToken => Str, InitialVersion => Paws::Greengrass::SubscriptionDefinitionVersion, Name => Str])
Each argument is described in detail in: Paws::Greengrass::CreateSubscriptionDefinition
Returns: a Paws::Greengrass::CreateSubscriptionDefinitionResponse instance
Creates a subscription definition. You may optionally provide the
initial version of the subscription definition or use
``CreateSubscriptionDefinitionVersion`` at a later time.
CreateSubscriptionDefinitionVersion(SubscriptionDefinitionId => Str, [AmznClientToken => Str, Subscriptions => ArrayRef[Paws::Greengrass::Subscription]])
Each argument is described in detail in: Paws::Greengrass::CreateSubscriptionDefinitionVersion
Returns: a Paws::Greengrass::CreateSubscriptionDefinitionVersionResponse instance
Creates a version of a subscription definition which has already been
defined.
DeleteCoreDefinition(CoreDefinitionId => Str)
Each argument is described in detail in: Paws::Greengrass::DeleteCoreDefinition
Returns: a Paws::Greengrass::DeleteCoreDefinitionResponse instance
Deletes a core definition. The core definition must not have been used
in a deployment.
DeleteDeviceDefinition(DeviceDefinitionId => Str)
Each argument is described in detail in: Paws::Greengrass::DeleteDeviceDefinition
Returns: a Paws::Greengrass::DeleteDeviceDefinitionResponse instance
Deletes a device definition. The device definition must not have been
used in a deployment.
DeleteFunctionDefinition(FunctionDefinitionId => Str)
Each argument is described in detail in: Paws::Greengrass::DeleteFunctionDefinition
Returns: a Paws::Greengrass::DeleteFunctionDefinitionResponse instance
Deletes a Lambda function definition. The Lambda function definition
must not have been used in a deployment.
DeleteGroup(GroupId => Str)
Each argument is described in detail in: Paws::Greengrass::DeleteGroup
Returns: a Paws::Greengrass::DeleteGroupResponse instance
Deletes a group. The group must not have been used in deployment.
DeleteLoggerDefinition(LoggerDefinitionId => Str)
Each argument is described in detail in: Paws::Greengrass::DeleteLoggerDefinition
Returns: a Paws::Greengrass::DeleteLoggerDefinitionResponse instance
Deletes a logger definition. The logger definition must not have been
used in a deployment.
DeleteSubscriptionDefinition(SubscriptionDefinitionId => Str)
Each argument is described in detail in: Paws::Greengrass::DeleteSubscriptionDefinition
Returns: a Paws::Greengrass::DeleteSubscriptionDefinitionResponse instance
Deletes a subscription definition. The subscription definition must not
have been used in a deployment.
DisassociateRoleFromGroup(GroupId => Str)
Each argument is described in detail in: Paws::Greengrass::DisassociateRoleFromGroup
Returns: a Paws::Greengrass::DisassociateRoleFromGroupResponse instance
Disassociates the role from a group.
DisassociateServiceRoleFromAccount()
Each argument is described in detail in: Paws::Greengrass::DisassociateServiceRoleFromAccount
Returns: a Paws::Greengrass::DisassociateServiceRoleFromAccountResponse instance
Disassociates the service role from the account. Without a service
role, deployments will not work.
GetAssociatedRole(GroupId => Str)
Each argument is described in detail in: Paws::Greengrass::GetAssociatedRole
Returns: a Paws::Greengrass::GetAssociatedRoleResponse instance
Retrieves the role associated with a particular group.
GetConnectivityInfo(ThingName => Str)
Each argument is described in detail in: Paws::Greengrass::GetConnectivityInfo
Returns: a Paws::Greengrass::GetConnectivityInfoResponse instance
Retrieves the connectivity information for a core.
GetCoreDefinition(CoreDefinitionId => Str)
Each argument is described in detail in: Paws::Greengrass::GetCoreDefinition
Returns: a Paws::Greengrass::GetCoreDefinitionResponse instance
Retrieves information about a core definition version.
GetCoreDefinitionVersion(CoreDefinitionId => Str, CoreDefinitionVersionId => Str)
Each argument is described in detail in: Paws::Greengrass::GetCoreDefinitionVersion
Returns: a Paws::Greengrass::GetCoreDefinitionVersionResponse instance
Retrieves information about a core definition version.
GetDeploymentStatus(DeploymentId => Str, GroupId => Str)
Each argument is described in detail in: Paws::Greengrass::GetDeploymentStatus
Returns: a Paws::Greengrass::GetDeploymentStatusResponse instance
Returns the status of a deployment.
GetDeviceDefinition(DeviceDefinitionId => Str)
Each argument is described in detail in: Paws::Greengrass::GetDeviceDefinition
Returns: a Paws::Greengrass::GetDeviceDefinitionResponse instance
Retrieves information about a device definition.
GetDeviceDefinitionVersion(DeviceDefinitionId => Str, DeviceDefinitionVersionId => Str)
Each argument is described in detail in: Paws::Greengrass::GetDeviceDefinitionVersion
Returns: a Paws::Greengrass::GetDeviceDefinitionVersionResponse instance
Retrieves information about a device definition version.
GetFunctionDefinition(FunctionDefinitionId => Str)
Each argument is described in detail in: Paws::Greengrass::GetFunctionDefinition
Returns: a Paws::Greengrass::GetFunctionDefinitionResponse instance
Retrieves information about a Lambda function definition, such as its
creation time and latest version.
GetFunctionDefinitionVersion(FunctionDefinitionId => Str, FunctionDefinitionVersionId => Str)
Each argument is described in detail in: Paws::Greengrass::GetFunctionDefinitionVersion
Returns: a Paws::Greengrass::GetFunctionDefinitionVersionResponse instance
Retrieves information about a Lambda function definition version, such
as which Lambda functions are included in the version and their
configurations.
GetGroup(GroupId => Str)
Each argument is described in detail in: Paws::Greengrass::GetGroup
Returns: a Paws::Greengrass::GetGroupResponse instance
Retrieves information about a group.
GetGroupCertificateAuthority(CertificateAuthorityId => Str, GroupId => Str)
Each argument is described in detail in: Paws::Greengrass::GetGroupCertificateAuthority
Returns: a Paws::Greengrass::GetGroupCertificateAuthorityResponse instance
Retreives the CA associated with a group. Returns the public key of the
CA.
GetGroupCertificateConfiguration(GroupId => Str)
Each argument is described in detail in: Paws::Greengrass::GetGroupCertificateConfiguration
Returns: a Paws::Greengrass::GetGroupCertificateConfigurationResponse instance
Retrieves the current configuration for the CA used by the group.
GetGroupVersion(GroupId => Str, GroupVersionId => Str)
Each argument is described in detail in: Paws::Greengrass::GetGroupVersion
Returns: a Paws::Greengrass::GetGroupVersionResponse instance
Retrieves information about a group version.
GetLoggerDefinition(LoggerDefinitionId => Str)
Each argument is described in detail in: Paws::Greengrass::GetLoggerDefinition
Returns: a Paws::Greengrass::GetLoggerDefinitionResponse instance
Retrieves information about a logger definition.
GetLoggerDefinitionVersion(LoggerDefinitionId => Str, LoggerDefinitionVersionId => Str)
Each argument is described in detail in: Paws::Greengrass::GetLoggerDefinitionVersion
Returns: a Paws::Greengrass::GetLoggerDefinitionVersionResponse instance
Retrieves information about a logger definition version.
GetServiceRoleForAccount()
Each argument is described in detail in: Paws::Greengrass::GetServiceRoleForAccount
Returns: a Paws::Greengrass::GetServiceRoleForAccountResponse instance
Retrieves the service role that is attached to the account.
GetSubscriptionDefinition(SubscriptionDefinitionId => Str)
Each argument is described in detail in: Paws::Greengrass::GetSubscriptionDefinition
Returns: a Paws::Greengrass::GetSubscriptionDefinitionResponse instance
Retrieves information about a subscription definition.
GetSubscriptionDefinitionVersion(SubscriptionDefinitionId => Str, SubscriptionDefinitionVersionId => Str)
Each argument is described in detail in: Paws::Greengrass::GetSubscriptionDefinitionVersion
Returns: a Paws::Greengrass::GetSubscriptionDefinitionVersionResponse instance
Retrieves information about a subscription definition version.
ListCoreDefinitions([MaxResults => Str, NextToken => Str])
Each argument is described in detail in: Paws::Greengrass::ListCoreDefinitions
Returns: a Paws::Greengrass::ListCoreDefinitionsResponse instance
Retrieves a list of core definitions.
ListCoreDefinitionVersions(CoreDefinitionId => Str, [MaxResults => Str, NextToken => Str])
Each argument is described in detail in: Paws::Greengrass::ListCoreDefinitionVersions
Returns: a Paws::Greengrass::ListCoreDefinitionVersionsResponse instance
Lists versions of a core definition.
ListDeployments(GroupId => Str, [MaxResults => Str, NextToken => Str])
Each argument is described in detail in: Paws::Greengrass::ListDeployments
Returns: a Paws::Greengrass::ListDeploymentsResponse instance
Returns a history of deployments for the group.
ListDeviceDefinitions([MaxResults => Str, NextToken => Str])
Each argument is described in detail in: Paws::Greengrass::ListDeviceDefinitions
Returns: a Paws::Greengrass::ListDeviceDefinitionsResponse instance
Retrieves a list of device definitions.
ListDeviceDefinitionVersions(DeviceDefinitionId => Str, [MaxResults => Str, NextToken => Str])
Each argument is described in detail in: Paws::Greengrass::ListDeviceDefinitionVersions
Returns: a Paws::Greengrass::ListDeviceDefinitionVersionsResponse instance
Lists the versions of a device definition.
ListFunctionDefinitions([MaxResults => Str, NextToken => Str])
Each argument is described in detail in: Paws::Greengrass::ListFunctionDefinitions
Returns: a Paws::Greengrass::ListFunctionDefinitionsResponse instance
Retrieves a list of Lambda function definitions.
ListFunctionDefinitionVersions(FunctionDefinitionId => Str, [MaxResults => Str, NextToken => Str])
Each argument is described in detail in: Paws::Greengrass::ListFunctionDefinitionVersions
Returns: a Paws::Greengrass::ListFunctionDefinitionVersionsResponse instance
Lists the versions of a Lambda function definition.
ListGroupCertificateAuthorities(GroupId => Str)
Each argument is described in detail in: Paws::Greengrass::ListGroupCertificateAuthorities
Returns: a Paws::Greengrass::ListGroupCertificateAuthoritiesResponse instance
Retrieves the current CAs for a group.
ListGroups([MaxResults => Str, NextToken => Str])
Each argument is described in detail in: Paws::Greengrass::ListGroups
Returns: a Paws::Greengrass::ListGroupsResponse instance
Retrieves a list of groups.
ListGroupVersions(GroupId => Str, [MaxResults => Str, NextToken => Str])
Each argument is described in detail in: Paws::Greengrass::ListGroupVersions
Returns: a Paws::Greengrass::ListGroupVersionsResponse instance
List the versions of a group.
ListLoggerDefinitions([MaxResults => Str, NextToken => Str])
Each argument is described in detail in: Paws::Greengrass::ListLoggerDefinitions
Returns: a Paws::Greengrass::ListLoggerDefinitionsResponse instance
Retrieves a list of logger definitions.
ListLoggerDefinitionVersions(LoggerDefinitionId => Str, [MaxResults => Str, NextToken => Str])
Each argument is described in detail in: Paws::Greengrass::ListLoggerDefinitionVersions
Returns: a Paws::Greengrass::ListLoggerDefinitionVersionsResponse instance
Lists the versions of a logger definition.
ListSubscriptionDefinitions([MaxResults => Str, NextToken => Str])
Each argument is described in detail in: Paws::Greengrass::ListSubscriptionDefinitions
Returns: a Paws::Greengrass::ListSubscriptionDefinitionsResponse instance
Retrieves a list of subscription definitions.
ListSubscriptionDefinitionVersions(SubscriptionDefinitionId => Str, [MaxResults => Str, NextToken => Str])
Each argument is described in detail in: Paws::Greengrass::ListSubscriptionDefinitionVersions
Returns: a Paws::Greengrass::ListSubscriptionDefinitionVersionsResponse instance
Lists the versions of a subscription definition.
ResetDeployments(GroupId => Str, [AmznClientToken => Str, Force => Bool])
Each argument is described in detail in: Paws::Greengrass::ResetDeployments
Returns: a Paws::Greengrass::ResetDeploymentsResponse instance
Resets a group's deployments.
UpdateConnectivityInfo(ThingName => Str, [ConnectivityInfo => ArrayRef[Paws::Greengrass::ConnectivityInfo]])
Each argument is described in detail in: Paws::Greengrass::UpdateConnectivityInfo
Returns: a Paws::Greengrass::UpdateConnectivityInfoResponse instance
Updates the connectivity information for the core. Any devices that
belong to the group which has this core will receive this information
in order to find the location of the core and connect to it.
UpdateCoreDefinition(CoreDefinitionId => Str, [Name => Str])
Each argument is described in detail in: Paws::Greengrass::UpdateCoreDefinition
Returns: a Paws::Greengrass::UpdateCoreDefinitionResponse instance
Updates a core definition.
UpdateDeviceDefinition(DeviceDefinitionId => Str, [Name => Str])
Each argument is described in detail in: Paws::Greengrass::UpdateDeviceDefinition
Returns: a Paws::Greengrass::UpdateDeviceDefinitionResponse instance
Updates a device definition.
UpdateFunctionDefinition(FunctionDefinitionId => Str, [Name => Str])
Each argument is described in detail in: Paws::Greengrass::UpdateFunctionDefinition
Returns: a Paws::Greengrass::UpdateFunctionDefinitionResponse instance
Updates a Lambda function definition.
UpdateGroup(GroupId => Str, [Name => Str])
Each argument is described in detail in: Paws::Greengrass::UpdateGroup
Returns: a Paws::Greengrass::UpdateGroupResponse instance
Updates a group.
UpdateGroupCertificateConfiguration(GroupId => Str, [CertificateExpiryInMilliseconds => Str])
Each argument is described in detail in: Paws::Greengrass::UpdateGroupCertificateConfiguration
Returns: a Paws::Greengrass::UpdateGroupCertificateConfigurationResponse instance
Updates the Cert expiry time for a group.
UpdateLoggerDefinition(LoggerDefinitionId => Str, [Name => Str])
Each argument is described in detail in: Paws::Greengrass::UpdateLoggerDefinition
Returns: a Paws::Greengrass::UpdateLoggerDefinitionResponse instance
Updates a logger definition.
UpdateSubscriptionDefinition(SubscriptionDefinitionId => Str, [Name => Str])
Each argument is described in detail in: Paws::Greengrass::UpdateSubscriptionDefinition
Returns: a Paws::Greengrass::UpdateSubscriptionDefinitionResponse instance
Updates a subscription definition.
PAGINATORS
Paginator methods are helpers that repetively call methods that return partial results
SEE ALSO
This service class forms part of Paws
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues