Class: Aws::Greengrass::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::Greengrass::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-greengrass/client.rb
Overview
An API client for Greengrass. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::Greengrass::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#associate_role_to_group(params = {}) ⇒ Types::AssociateRoleToGroupResponse
Associates a role with a group.
-
#associate_service_role_to_account(params = {}) ⇒ Types::AssociateServiceRoleToAccountResponse
Associates a role with your account.
-
#create_connector_definition(params = {}) ⇒ Types::CreateConnectorDefinitionResponse
Creates a connector definition.
-
#create_connector_definition_version(params = {}) ⇒ Types::CreateConnectorDefinitionVersionResponse
Creates a version of a connector definition which has already been defined.
-
#create_core_definition(params = {}) ⇒ Types::CreateCoreDefinitionResponse
Creates a core definition.
-
#create_core_definition_version(params = {}) ⇒ Types::CreateCoreDefinitionVersionResponse
Creates a version of a core definition that has already been defined.
-
#create_deployment(params = {}) ⇒ Types::CreateDeploymentResponse
Creates a deployment.
-
#create_device_definition(params = {}) ⇒ Types::CreateDeviceDefinitionResponse
Creates a device definition.
-
#create_device_definition_version(params = {}) ⇒ Types::CreateDeviceDefinitionVersionResponse
Creates a version of a device definition that has already been defined.
-
#create_function_definition(params = {}) ⇒ Types::CreateFunctionDefinitionResponse
Creates a Lambda function definition which contains a list of Lambda functions and their configurations to be used in a group.
-
#create_function_definition_version(params = {}) ⇒ Types::CreateFunctionDefinitionVersionResponse
Creates a version of a Lambda function definition that has already been defined.
-
#create_group(params = {}) ⇒ Types::CreateGroupResponse
Creates a group.
-
#create_group_certificate_authority(params = {}) ⇒ Types::CreateGroupCertificateAuthorityResponse
Creates a CA for the group.
-
#create_group_version(params = {}) ⇒ Types::CreateGroupVersionResponse
Creates a version of a group which has already been defined.
-
#create_logger_definition(params = {}) ⇒ Types::CreateLoggerDefinitionResponse
Creates a logger definition.
-
#create_logger_definition_version(params = {}) ⇒ Types::CreateLoggerDefinitionVersionResponse
Creates a version of a logger definition that has already been defined.
-
#create_resource_definition(params = {}) ⇒ Types::CreateResourceDefinitionResponse
Creates a resource definition which contains a list of resources to be used in a group.
-
#create_resource_definition_version(params = {}) ⇒ Types::CreateResourceDefinitionVersionResponse
Creates a version of a resource definition that has already been defined.
-
#create_software_update_job(params = {}) ⇒ Types::CreateSoftwareUpdateJobResponse
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.
-
#create_subscription_definition(params = {}) ⇒ Types::CreateSubscriptionDefinitionResponse
Creates a subscription definition.
-
#create_subscription_definition_version(params = {}) ⇒ Types::CreateSubscriptionDefinitionVersionResponse
Creates a version of a subscription definition which has already been defined.
-
#delete_connector_definition(params = {}) ⇒ Struct
Deletes a connector definition.
-
#delete_core_definition(params = {}) ⇒ Struct
Deletes a core definition.
-
#delete_device_definition(params = {}) ⇒ Struct
Deletes a device definition.
-
#delete_function_definition(params = {}) ⇒ Struct
Deletes a Lambda function definition.
-
#delete_group(params = {}) ⇒ Struct
Deletes a group.
-
#delete_logger_definition(params = {}) ⇒ Struct
Deletes a logger definition.
-
#delete_resource_definition(params = {}) ⇒ Struct
Deletes a resource definition.
-
#delete_subscription_definition(params = {}) ⇒ Struct
Deletes a subscription definition.
-
#disassociate_role_from_group(params = {}) ⇒ Types::DisassociateRoleFromGroupResponse
Disassociates the role from a group.
-
#disassociate_service_role_from_account(params = {}) ⇒ Types::DisassociateServiceRoleFromAccountResponse
Disassociates the service role from your account.
-
#get_associated_role(params = {}) ⇒ Types::GetAssociatedRoleResponse
Retrieves the role associated with a particular group.
-
#get_bulk_deployment_status(params = {}) ⇒ Types::GetBulkDeploymentStatusResponse
Returns the status of a bulk deployment.
-
#get_connectivity_info(params = {}) ⇒ Types::GetConnectivityInfoResponse
Retrieves the connectivity information for a core.
-
#get_connector_definition(params = {}) ⇒ Types::GetConnectorDefinitionResponse
Retrieves information about a connector definition.
-
#get_connector_definition_version(params = {}) ⇒ Types::GetConnectorDefinitionVersionResponse
Retrieves information about a connector definition version, including the connectors that the version contains.
-
#get_core_definition(params = {}) ⇒ Types::GetCoreDefinitionResponse
Retrieves information about a core definition version.
-
#get_core_definition_version(params = {}) ⇒ Types::GetCoreDefinitionVersionResponse
Retrieves information about a core definition version.
-
#get_deployment_status(params = {}) ⇒ Types::GetDeploymentStatusResponse
Returns the status of a deployment.
-
#get_device_definition(params = {}) ⇒ Types::GetDeviceDefinitionResponse
Retrieves information about a device definition.
-
#get_device_definition_version(params = {}) ⇒ Types::GetDeviceDefinitionVersionResponse
Retrieves information about a device definition version.
-
#get_function_definition(params = {}) ⇒ Types::GetFunctionDefinitionResponse
Retrieves information about a Lambda function definition, including its creation time and latest version.
-
#get_function_definition_version(params = {}) ⇒ Types::GetFunctionDefinitionVersionResponse
Retrieves information about a Lambda function definition version, including which Lambda functions are included in the version and their configurations.
-
#get_group(params = {}) ⇒ Types::GetGroupResponse
Retrieves information about a group.
-
#get_group_certificate_authority(params = {}) ⇒ Types::GetGroupCertificateAuthorityResponse
Retreives the CA associated with a group.
-
#get_group_certificate_configuration(params = {}) ⇒ Types::GetGroupCertificateConfigurationResponse
Retrieves the current configuration for the CA used by the group.
-
#get_group_version(params = {}) ⇒ Types::GetGroupVersionResponse
Retrieves information about a group version.
-
#get_logger_definition(params = {}) ⇒ Types::GetLoggerDefinitionResponse
Retrieves information about a logger definition.
-
#get_logger_definition_version(params = {}) ⇒ Types::GetLoggerDefinitionVersionResponse
Retrieves information about a logger definition version.
-
#get_resource_definition(params = {}) ⇒ Types::GetResourceDefinitionResponse
Retrieves information about a resource definition, including its creation time and latest version.
-
#get_resource_definition_version(params = {}) ⇒ Types::GetResourceDefinitionVersionResponse
Retrieves information about a resource definition version, including which resources are included in the version.
-
#get_service_role_for_account(params = {}) ⇒ Types::GetServiceRoleForAccountResponse
Retrieves the service role that is attached to your account.
-
#get_subscription_definition(params = {}) ⇒ Types::GetSubscriptionDefinitionResponse
Retrieves information about a subscription definition.
-
#get_subscription_definition_version(params = {}) ⇒ Types::GetSubscriptionDefinitionVersionResponse
Retrieves information about a subscription definition version.
-
#get_thing_runtime_configuration(params = {}) ⇒ Types::GetThingRuntimeConfigurationResponse
Get the runtime configuration of a thing.
-
#list_bulk_deployment_detailed_reports(params = {}) ⇒ Types::ListBulkDeploymentDetailedReportsResponse
Gets a paginated list of the deployments that have been started in a bulk deployment operation, and their current deployment status.
-
#list_bulk_deployments(params = {}) ⇒ Types::ListBulkDeploymentsResponse
Returns a list of bulk deployments.
-
#list_connector_definition_versions(params = {}) ⇒ Types::ListConnectorDefinitionVersionsResponse
Lists the versions of a connector definition, which are containers for connectors.
-
#list_connector_definitions(params = {}) ⇒ Types::ListConnectorDefinitionsResponse
Retrieves a list of connector definitions.
-
#list_core_definition_versions(params = {}) ⇒ Types::ListCoreDefinitionVersionsResponse
Lists the versions of a core definition.
-
#list_core_definitions(params = {}) ⇒ Types::ListCoreDefinitionsResponse
Retrieves a list of core definitions.
-
#list_deployments(params = {}) ⇒ Types::ListDeploymentsResponse
Returns a history of deployments for the group.
-
#list_device_definition_versions(params = {}) ⇒ Types::ListDeviceDefinitionVersionsResponse
Lists the versions of a device definition.
-
#list_device_definitions(params = {}) ⇒ Types::ListDeviceDefinitionsResponse
Retrieves a list of device definitions.
-
#list_function_definition_versions(params = {}) ⇒ Types::ListFunctionDefinitionVersionsResponse
Lists the versions of a Lambda function definition.
-
#list_function_definitions(params = {}) ⇒ Types::ListFunctionDefinitionsResponse
Retrieves a list of Lambda function definitions.
-
#list_group_certificate_authorities(params = {}) ⇒ Types::ListGroupCertificateAuthoritiesResponse
Retrieves the current CAs for a group.
-
#list_group_versions(params = {}) ⇒ Types::ListGroupVersionsResponse
Lists the versions of a group.
-
#list_groups(params = {}) ⇒ Types::ListGroupsResponse
Retrieves a list of groups.
-
#list_logger_definition_versions(params = {}) ⇒ Types::ListLoggerDefinitionVersionsResponse
Lists the versions of a logger definition.
-
#list_logger_definitions(params = {}) ⇒ Types::ListLoggerDefinitionsResponse
Retrieves a list of logger definitions.
-
#list_resource_definition_versions(params = {}) ⇒ Types::ListResourceDefinitionVersionsResponse
Lists the versions of a resource definition.
-
#list_resource_definitions(params = {}) ⇒ Types::ListResourceDefinitionsResponse
Retrieves a list of resource definitions.
-
#list_subscription_definition_versions(params = {}) ⇒ Types::ListSubscriptionDefinitionVersionsResponse
Lists the versions of a subscription definition.
-
#list_subscription_definitions(params = {}) ⇒ Types::ListSubscriptionDefinitionsResponse
Retrieves a list of subscription definitions.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Retrieves a list of resource tags for a resource arn.
-
#reset_deployments(params = {}) ⇒ Types::ResetDeploymentsResponse
Resets a group’s deployments.
-
#start_bulk_deployment(params = {}) ⇒ Types::StartBulkDeploymentResponse
Deploys multiple groups in one operation.
-
#stop_bulk_deployment(params = {}) ⇒ Struct
Stops the execution of a bulk deployment.
-
#tag_resource(params = {}) ⇒ Struct
Adds tags to a Greengrass resource.
-
#untag_resource(params = {}) ⇒ Struct
Remove resource tags from a Greengrass Resource.
-
#update_connectivity_info(params = {}) ⇒ Types::UpdateConnectivityInfoResponse
Updates the connectivity information for the core.
-
#update_connector_definition(params = {}) ⇒ Struct
Updates a connector definition.
-
#update_core_definition(params = {}) ⇒ Struct
Updates a core definition.
-
#update_device_definition(params = {}) ⇒ Struct
Updates a device definition.
-
#update_function_definition(params = {}) ⇒ Struct
Updates a Lambda function definition.
-
#update_group(params = {}) ⇒ Struct
Updates a group.
-
#update_group_certificate_configuration(params = {}) ⇒ Types::UpdateGroupCertificateConfigurationResponse
Updates the Certificate expiry time for a group.
-
#update_logger_definition(params = {}) ⇒ Struct
Updates a logger definition.
-
#update_resource_definition(params = {}) ⇒ Struct
Updates a resource definition.
-
#update_subscription_definition(params = {}) ⇒ Struct
Updates a subscription definition.
-
#update_thing_runtime_configuration(params = {}) ⇒ Struct
Updates the runtime configuration of a thing.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
476 477 478 |
# File 'lib/aws-sdk-greengrass/client.rb', line 476 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
4270 4271 4272 |
# File 'lib/aws-sdk-greengrass/client.rb', line 4270 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
4273 4274 4275 |
# File 'lib/aws-sdk-greengrass/client.rb', line 4273 def errors_module Errors end |
Instance Method Details
#associate_role_to_group(params = {}) ⇒ Types::AssociateRoleToGroupResponse
Associates a role with a group. Your Greengrass core will use the role to access AWS cloud services. The role’s permissions should allow Greengrass core Lambda functions to perform actions against the cloud.
511 512 513 514 |
# File 'lib/aws-sdk-greengrass/client.rb', line 511 def associate_role_to_group(params = {}, = {}) req = build_request(:associate_role_to_group, params) req.send_request() end |
#associate_service_role_to_account(params = {}) ⇒ Types::AssociateServiceRoleToAccountResponse
Associates a role with your account. AWS IoT Greengrass will use the role to access your Lambda functions and AWS IoT resources. This is necessary for deployments to succeed. The role must have at least minimum permissions in the policy ”AWSGreengrassResourceAccessRolePolicy”.
543 544 545 546 |
# File 'lib/aws-sdk-greengrass/client.rb', line 543 def associate_service_role_to_account(params = {}, = {}) req = build_request(:associate_service_role_to_account, params) req.send_request() end |
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 |
# File 'lib/aws-sdk-greengrass/client.rb', line 4243 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::Greengrass') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-greengrass' context[:gem_version] = '1.83.0' Seahorse::Client::Request.new(handlers, context) end |
#create_connector_definition(params = {}) ⇒ Types::CreateConnectorDefinitionResponse
Creates a connector definition. You may provide the initial version of the connector definition now or use ”CreateConnectorDefinitionVersion” at a later time.
608 609 610 611 |
# File 'lib/aws-sdk-greengrass/client.rb', line 608 def create_connector_definition(params = {}, = {}) req = build_request(:create_connector_definition, params) req.send_request() end |
#create_connector_definition_version(params = {}) ⇒ Types::CreateConnectorDefinitionVersionResponse
Creates a version of a connector definition which has already been defined.
656 657 658 659 |
# File 'lib/aws-sdk-greengrass/client.rb', line 656 def create_connector_definition_version(params = {}, = {}) req = build_request(:create_connector_definition_version, params) req.send_request() end |
#create_core_definition(params = {}) ⇒ Types::CreateCoreDefinitionResponse
Creates a core definition. You may provide the initial version of the core definition now or use ”CreateCoreDefinitionVersion” at a later time. Greengrass groups must each contain exactly one Greengrass core.
720 721 722 723 |
# File 'lib/aws-sdk-greengrass/client.rb', line 720 def create_core_definition(params = {}, = {}) req = build_request(:create_core_definition, params) req.send_request() end |
#create_core_definition_version(params = {}) ⇒ Types::CreateCoreDefinitionVersionResponse
Creates a version of a core definition that has already been defined. Greengrass groups must each contain exactly one Greengrass core.
767 768 769 770 |
# File 'lib/aws-sdk-greengrass/client.rb', line 767 def create_core_definition_version(params = {}, = {}) req = build_request(:create_core_definition_version, params) req.send_request() end |
#create_deployment(params = {}) ⇒ Types::CreateDeploymentResponse
Creates a deployment. ”CreateDeployment” requests are idempotent with respect to the ”X-Amzn-Client-Token” token and the request parameters.
815 816 817 818 |
# File 'lib/aws-sdk-greengrass/client.rb', line 815 def create_deployment(params = {}, = {}) req = build_request(:create_deployment, params) req.send_request() end |
#create_device_definition(params = {}) ⇒ Types::CreateDeviceDefinitionResponse
Creates a device definition. You may provide the initial version of the device definition now or use ”CreateDeviceDefinitionVersion” at a later time.
878 879 880 881 |
# File 'lib/aws-sdk-greengrass/client.rb', line 878 def create_device_definition(params = {}, = {}) req = build_request(:create_device_definition, params) req.send_request() end |
#create_device_definition_version(params = {}) ⇒ Types::CreateDeviceDefinitionVersionResponse
Creates a version of a device definition that has already been defined.
925 926 927 928 |
# File 'lib/aws-sdk-greengrass/client.rb', line 925 def create_device_definition_version(params = {}, = {}) req = build_request(:create_device_definition_version, params) req.send_request() end |
#create_function_definition(params = {}) ⇒ Types::CreateFunctionDefinitionResponse
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.
1025 1026 1027 1028 |
# File 'lib/aws-sdk-greengrass/client.rb', line 1025 def create_function_definition(params = {}, = {}) req = build_request(:create_function_definition, params) req.send_request() end |
#create_function_definition_version(params = {}) ⇒ Types::CreateFunctionDefinitionVersionResponse
Creates a version of a Lambda function definition that has already been defined.
1111 1112 1113 1114 |
# File 'lib/aws-sdk-greengrass/client.rb', line 1111 def create_function_definition_version(params = {}, = {}) req = build_request(:create_function_definition_version, params) req.send_request() end |
#create_group(params = {}) ⇒ Types::CreateGroupResponse
Creates a group. You may provide the initial version of the group or use ”CreateGroupVersion” at a later time. Tip: You can use the ”gg_group_setup” package (github.com/awslabs/aws-greengrass-group-setup) as a library or command-line application to create and deploy Greengrass groups.
1175 1176 1177 1178 |
# File 'lib/aws-sdk-greengrass/client.rb', line 1175 def create_group(params = {}, = {}) req = build_request(:create_group, params) req.send_request() end |
#create_group_certificate_authority(params = {}) ⇒ Types::CreateGroupCertificateAuthorityResponse
Creates a CA for the group. If a CA already exists, it will rotate the existing CA.
1206 1207 1208 1209 |
# File 'lib/aws-sdk-greengrass/client.rb', line 1206 def (params = {}, = {}) req = build_request(:create_group_certificate_authority, params) req.send_request() end |
#create_group_version(params = {}) ⇒ Types::CreateGroupVersionResponse
Creates a version of a group which has already been defined.
1263 1264 1265 1266 |
# File 'lib/aws-sdk-greengrass/client.rb', line 1263 def create_group_version(params = {}, = {}) req = build_request(:create_group_version, params) req.send_request() end |
#create_logger_definition(params = {}) ⇒ Types::CreateLoggerDefinitionResponse
Creates a logger definition. You may provide the initial version of the logger definition now or use ”CreateLoggerDefinitionVersion” at a later time.
1327 1328 1329 1330 |
# File 'lib/aws-sdk-greengrass/client.rb', line 1327 def create_logger_definition(params = {}, = {}) req = build_request(:create_logger_definition, params) req.send_request() end |
#create_logger_definition_version(params = {}) ⇒ Types::CreateLoggerDefinitionVersionResponse
Creates a version of a logger definition that has already been defined.
1375 1376 1377 1378 |
# File 'lib/aws-sdk-greengrass/client.rb', line 1375 def create_logger_definition_version(params = {}, = {}) req = build_request(:create_logger_definition_version, params) req.send_request() end |
#create_resource_definition(params = {}) ⇒ Types::CreateResourceDefinitionResponse
Creates a resource definition which contains a list of resources to be used in a group. You can create an initial version of the definition by providing a list of resources now, or use ”CreateResourceDefinitionVersion” later.
1474 1475 1476 1477 |
# File 'lib/aws-sdk-greengrass/client.rb', line 1474 def create_resource_definition(params = {}, = {}) req = build_request(:create_resource_definition, params) req.send_request() end |
#create_resource_definition_version(params = {}) ⇒ Types::CreateResourceDefinitionVersionResponse
Creates a version of a resource definition that has already been defined.
1556 1557 1558 1559 |
# File 'lib/aws-sdk-greengrass/client.rb', line 1556 def create_resource_definition_version(params = {}, = {}) req = build_request(:create_resource_definition_version, params) req.send_request() end |
#create_software_update_job(params = {}) ⇒ Types::CreateSoftwareUpdateJobResponse
Creates a software update for a core or group of cores (specified as an IoT thing group.) Use this to update the OTA Agent as well as the Greengrass core software. It makes use of the IoT Jobs feature which provides additional commands to manage a Greengrass core software update job.
1618 1619 1620 1621 |
# File 'lib/aws-sdk-greengrass/client.rb', line 1618 def create_software_update_job(params = {}, = {}) req = build_request(:create_software_update_job, params) req.send_request() end |
#create_subscription_definition(params = {}) ⇒ Types::CreateSubscriptionDefinitionResponse
Creates a subscription definition. You may provide the initial version of the subscription definition now or use ”CreateSubscriptionDefinitionVersion” at a later time.
1681 1682 1683 1684 |
# File 'lib/aws-sdk-greengrass/client.rb', line 1681 def create_subscription_definition(params = {}, = {}) req = build_request(:create_subscription_definition, params) req.send_request() end |
#create_subscription_definition_version(params = {}) ⇒ Types::CreateSubscriptionDefinitionVersionResponse
Creates a version of a subscription definition which has already been defined.
1728 1729 1730 1731 |
# File 'lib/aws-sdk-greengrass/client.rb', line 1728 def create_subscription_definition_version(params = {}, = {}) req = build_request(:create_subscription_definition_version, params) req.send_request() end |
#delete_connector_definition(params = {}) ⇒ Struct
Deletes a connector definition.
1749 1750 1751 1752 |
# File 'lib/aws-sdk-greengrass/client.rb', line 1749 def delete_connector_definition(params = {}, = {}) req = build_request(:delete_connector_definition, params) req.send_request() end |
#delete_core_definition(params = {}) ⇒ Struct
Deletes a core definition.
1770 1771 1772 1773 |
# File 'lib/aws-sdk-greengrass/client.rb', line 1770 def delete_core_definition(params = {}, = {}) req = build_request(:delete_core_definition, params) req.send_request() end |
#delete_device_definition(params = {}) ⇒ Struct
Deletes a device definition.
1791 1792 1793 1794 |
# File 'lib/aws-sdk-greengrass/client.rb', line 1791 def delete_device_definition(params = {}, = {}) req = build_request(:delete_device_definition, params) req.send_request() end |
#delete_function_definition(params = {}) ⇒ Struct
Deletes a Lambda function definition.
1812 1813 1814 1815 |
# File 'lib/aws-sdk-greengrass/client.rb', line 1812 def delete_function_definition(params = {}, = {}) req = build_request(:delete_function_definition, params) req.send_request() end |
#delete_group(params = {}) ⇒ Struct
Deletes a group.
1833 1834 1835 1836 |
# File 'lib/aws-sdk-greengrass/client.rb', line 1833 def delete_group(params = {}, = {}) req = build_request(:delete_group, params) req.send_request() end |
#delete_logger_definition(params = {}) ⇒ Struct
Deletes a logger definition.
1854 1855 1856 1857 |
# File 'lib/aws-sdk-greengrass/client.rb', line 1854 def delete_logger_definition(params = {}, = {}) req = build_request(:delete_logger_definition, params) req.send_request() end |
#delete_resource_definition(params = {}) ⇒ Struct
Deletes a resource definition.
1875 1876 1877 1878 |
# File 'lib/aws-sdk-greengrass/client.rb', line 1875 def delete_resource_definition(params = {}, = {}) req = build_request(:delete_resource_definition, params) req.send_request() end |
#delete_subscription_definition(params = {}) ⇒ Struct
Deletes a subscription definition.
1896 1897 1898 1899 |
# File 'lib/aws-sdk-greengrass/client.rb', line 1896 def delete_subscription_definition(params = {}, = {}) req = build_request(:delete_subscription_definition, params) req.send_request() end |
#disassociate_role_from_group(params = {}) ⇒ Types::DisassociateRoleFromGroupResponse
Disassociates the role from a group.
1923 1924 1925 1926 |
# File 'lib/aws-sdk-greengrass/client.rb', line 1923 def disassociate_role_from_group(params = {}, = {}) req = build_request(:disassociate_role_from_group, params) req.send_request() end |
#disassociate_service_role_from_account(params = {}) ⇒ Types::DisassociateServiceRoleFromAccountResponse
Disassociates the service role from your account. Without a service role, deployments will not work.
1943 1944 1945 1946 |
# File 'lib/aws-sdk-greengrass/client.rb', line 1943 def disassociate_service_role_from_account(params = {}, = {}) req = build_request(:disassociate_service_role_from_account, params) req.send_request() end |
#get_associated_role(params = {}) ⇒ Types::GetAssociatedRoleResponse
Retrieves the role associated with a particular group.
1972 1973 1974 1975 |
# File 'lib/aws-sdk-greengrass/client.rb', line 1972 def get_associated_role(params = {}, = {}) req = build_request(:get_associated_role, params) req.send_request() end |
#get_bulk_deployment_status(params = {}) ⇒ Types::GetBulkDeploymentStatusResponse
Returns the status of a bulk deployment.
2014 2015 2016 2017 |
# File 'lib/aws-sdk-greengrass/client.rb', line 2014 def get_bulk_deployment_status(params = {}, = {}) req = build_request(:get_bulk_deployment_status, params) req.send_request() end |
#get_connectivity_info(params = {}) ⇒ Types::GetConnectivityInfoResponse
Retrieves the connectivity information for a core.
2047 2048 2049 2050 |
# File 'lib/aws-sdk-greengrass/client.rb', line 2047 def get_connectivity_info(params = {}, = {}) req = build_request(:get_connectivity_info, params) req.send_request() end |
#get_connector_definition(params = {}) ⇒ Types::GetConnectorDefinitionResponse
Retrieves information about a connector definition.
2089 2090 2091 2092 |
# File 'lib/aws-sdk-greengrass/client.rb', line 2089 def get_connector_definition(params = {}, = {}) req = build_request(:get_connector_definition, params) req.send_request() end |
#get_connector_definition_version(params = {}) ⇒ Types::GetConnectorDefinitionVersionResponse
Retrieves information about a connector definition version, including the connectors that the version contains. Connectors are prebuilt modules that interact with local infrastructure, device protocols, AWS, and other cloud services.
2139 2140 2141 2142 |
# File 'lib/aws-sdk-greengrass/client.rb', line 2139 def get_connector_definition_version(params = {}, = {}) req = build_request(:get_connector_definition_version, params) req.send_request() end |
#get_core_definition(params = {}) ⇒ Types::GetCoreDefinitionResponse
Retrieves information about a core definition version.
2181 2182 2183 2184 |
# File 'lib/aws-sdk-greengrass/client.rb', line 2181 def get_core_definition(params = {}, = {}) req = build_request(:get_core_definition, params) req.send_request() end |
#get_core_definition_version(params = {}) ⇒ Types::GetCoreDefinitionVersionResponse
Retrieves information about a core definition version.
2225 2226 2227 2228 |
# File 'lib/aws-sdk-greengrass/client.rb', line 2225 def get_core_definition_version(params = {}, = {}) req = build_request(:get_core_definition_version, params) req.send_request() end |
#get_deployment_status(params = {}) ⇒ Types::GetDeploymentStatusResponse
Returns the status of a deployment.
2265 2266 2267 2268 |
# File 'lib/aws-sdk-greengrass/client.rb', line 2265 def get_deployment_status(params = {}, = {}) req = build_request(:get_deployment_status, params) req.send_request() end |
#get_device_definition(params = {}) ⇒ Types::GetDeviceDefinitionResponse
Retrieves information about a device definition.
2307 2308 2309 2310 |
# File 'lib/aws-sdk-greengrass/client.rb', line 2307 def get_device_definition(params = {}, = {}) req = build_request(:get_device_definition, params) req.send_request() end |
#get_device_definition_version(params = {}) ⇒ Types::GetDeviceDefinitionVersionResponse
Retrieves information about a device definition version.
2354 2355 2356 2357 |
# File 'lib/aws-sdk-greengrass/client.rb', line 2354 def get_device_definition_version(params = {}, = {}) req = build_request(:get_device_definition_version, params) req.send_request() end |
#get_function_definition(params = {}) ⇒ Types::GetFunctionDefinitionResponse
Retrieves information about a Lambda function definition, including its creation time and latest version.
2397 2398 2399 2400 |
# File 'lib/aws-sdk-greengrass/client.rb', line 2397 def get_function_definition(params = {}, = {}) req = build_request(:get_function_definition, params) req.send_request() end |
#get_function_definition_version(params = {}) ⇒ Types::GetFunctionDefinitionVersionResponse
Retrieves information about a Lambda function definition version, including which Lambda functions are included in the version and their configurations.
2463 2464 2465 2466 |
# File 'lib/aws-sdk-greengrass/client.rb', line 2463 def get_function_definition_version(params = {}, = {}) req = build_request(:get_function_definition_version, params) req.send_request() end |
#get_group(params = {}) ⇒ Types::GetGroupResponse
Retrieves information about a group.
2505 2506 2507 2508 |
# File 'lib/aws-sdk-greengrass/client.rb', line 2505 def get_group(params = {}, = {}) req = build_request(:get_group, params) req.send_request() end |
#get_group_certificate_authority(params = {}) ⇒ Types::GetGroupCertificateAuthorityResponse
Retreives the CA associated with a group. Returns the public key of the CA.
2540 2541 2542 2543 |
# File 'lib/aws-sdk-greengrass/client.rb', line 2540 def (params = {}, = {}) req = build_request(:get_group_certificate_authority, params) req.send_request() end |
#get_group_certificate_configuration(params = {}) ⇒ Types::GetGroupCertificateConfigurationResponse
Retrieves the current configuration for the CA used by the group.
2571 2572 2573 2574 |
# File 'lib/aws-sdk-greengrass/client.rb', line 2571 def get_group_certificate_configuration(params = {}, = {}) req = build_request(:get_group_certificate_configuration, params) req.send_request() end |
#get_group_version(params = {}) ⇒ Types::GetGroupVersionResponse
Retrieves information about a group version.
2615 2616 2617 2618 |
# File 'lib/aws-sdk-greengrass/client.rb', line 2615 def get_group_version(params = {}, = {}) req = build_request(:get_group_version, params) req.send_request() end |
#get_logger_definition(params = {}) ⇒ Types::GetLoggerDefinitionResponse
Retrieves information about a logger definition.
2657 2658 2659 2660 |
# File 'lib/aws-sdk-greengrass/client.rb', line 2657 def get_logger_definition(params = {}, = {}) req = build_request(:get_logger_definition, params) req.send_request() end |
#get_logger_definition_version(params = {}) ⇒ Types::GetLoggerDefinitionVersionResponse
Retrieves information about a logger definition version.
2703 2704 2705 2706 |
# File 'lib/aws-sdk-greengrass/client.rb', line 2703 def get_logger_definition_version(params = {}, = {}) req = build_request(:get_logger_definition_version, params) req.send_request() end |
#get_resource_definition(params = {}) ⇒ Types::GetResourceDefinitionResponse
Retrieves information about a resource definition, including its creation time and latest version.
2746 2747 2748 2749 |
# File 'lib/aws-sdk-greengrass/client.rb', line 2746 def get_resource_definition(params = {}, = {}) req = build_request(:get_resource_definition, params) req.send_request() end |
#get_resource_definition_version(params = {}) ⇒ Types::GetResourceDefinitionVersionResponse
Retrieves information about a resource definition version, including which resources are included in the version.
2805 2806 2807 2808 |
# File 'lib/aws-sdk-greengrass/client.rb', line 2805 def get_resource_definition_version(params = {}, = {}) req = build_request(:get_resource_definition_version, params) req.send_request() end |
#get_service_role_for_account(params = {}) ⇒ Types::GetServiceRoleForAccountResponse
Retrieves the service role that is attached to your account.
2826 2827 2828 2829 |
# File 'lib/aws-sdk-greengrass/client.rb', line 2826 def get_service_role_for_account(params = {}, = {}) req = build_request(:get_service_role_for_account, params) req.send_request() end |
#get_subscription_definition(params = {}) ⇒ Types::GetSubscriptionDefinitionResponse
Retrieves information about a subscription definition.
2868 2869 2870 2871 |
# File 'lib/aws-sdk-greengrass/client.rb', line 2868 def get_subscription_definition(params = {}, = {}) req = build_request(:get_subscription_definition, params) req.send_request() end |
#get_subscription_definition_version(params = {}) ⇒ Types::GetSubscriptionDefinitionVersionResponse
Retrieves information about a subscription definition version.
2915 2916 2917 2918 |
# File 'lib/aws-sdk-greengrass/client.rb', line 2915 def get_subscription_definition_version(params = {}, = {}) req = build_request(:get_subscription_definition_version, params) req.send_request() end |
#get_thing_runtime_configuration(params = {}) ⇒ Types::GetThingRuntimeConfigurationResponse
Get the runtime configuration of a thing.
2943 2944 2945 2946 |
# File 'lib/aws-sdk-greengrass/client.rb', line 2943 def get_thing_runtime_configuration(params = {}, = {}) req = build_request(:get_thing_runtime_configuration, params) req.send_request() end |
#list_bulk_deployment_detailed_reports(params = {}) ⇒ Types::ListBulkDeploymentDetailedReportsResponse
Gets a paginated list of the deployments that have been started in a bulk deployment operation, and their current deployment status.
2989 2990 2991 2992 |
# File 'lib/aws-sdk-greengrass/client.rb', line 2989 def list_bulk_deployment_detailed_reports(params = {}, = {}) req = build_request(:list_bulk_deployment_detailed_reports, params) req.send_request() end |
#list_bulk_deployments(params = {}) ⇒ Types::ListBulkDeploymentsResponse
Returns a list of bulk deployments.
3024 3025 3026 3027 |
# File 'lib/aws-sdk-greengrass/client.rb', line 3024 def list_bulk_deployments(params = {}, = {}) req = build_request(:list_bulk_deployments, params) req.send_request() end |
#list_connector_definition_versions(params = {}) ⇒ Types::ListConnectorDefinitionVersionsResponse
Lists the versions of a connector definition, which are containers for connectors. Connectors run on the Greengrass core and contain built-in integration with local infrastructure, device protocols, AWS, and other cloud services.
3066 3067 3068 3069 |
# File 'lib/aws-sdk-greengrass/client.rb', line 3066 def list_connector_definition_versions(params = {}, = {}) req = build_request(:list_connector_definition_versions, params) req.send_request() end |
#list_connector_definitions(params = {}) ⇒ Types::ListConnectorDefinitionsResponse
Retrieves a list of connector definitions.
3107 3108 3109 3110 |
# File 'lib/aws-sdk-greengrass/client.rb', line 3107 def list_connector_definitions(params = {}, = {}) req = build_request(:list_connector_definitions, params) req.send_request() end |
#list_core_definition_versions(params = {}) ⇒ Types::ListCoreDefinitionVersionsResponse
Lists the versions of a core definition.
3146 3147 3148 3149 |
# File 'lib/aws-sdk-greengrass/client.rb', line 3146 def list_core_definition_versions(params = {}, = {}) req = build_request(:list_core_definition_versions, params) req.send_request() end |
#list_core_definitions(params = {}) ⇒ Types::ListCoreDefinitionsResponse
Retrieves a list of core definitions.
3187 3188 3189 3190 |
# File 'lib/aws-sdk-greengrass/client.rb', line 3187 def list_core_definitions(params = {}, = {}) req = build_request(:list_core_definitions, params) req.send_request() end |
#list_deployments(params = {}) ⇒ Types::ListDeploymentsResponse
Returns a history of deployments for the group.
3227 3228 3229 3230 |
# File 'lib/aws-sdk-greengrass/client.rb', line 3227 def list_deployments(params = {}, = {}) req = build_request(:list_deployments, params) req.send_request() end |
#list_device_definition_versions(params = {}) ⇒ Types::ListDeviceDefinitionVersionsResponse
Lists the versions of a device definition.
3266 3267 3268 3269 |
# File 'lib/aws-sdk-greengrass/client.rb', line 3266 def list_device_definition_versions(params = {}, = {}) req = build_request(:list_device_definition_versions, params) req.send_request() end |
#list_device_definitions(params = {}) ⇒ Types::ListDeviceDefinitionsResponse
Retrieves a list of device definitions.
3307 3308 3309 3310 |
# File 'lib/aws-sdk-greengrass/client.rb', line 3307 def list_device_definitions(params = {}, = {}) req = build_request(:list_device_definitions, params) req.send_request() end |
#list_function_definition_versions(params = {}) ⇒ Types::ListFunctionDefinitionVersionsResponse
Lists the versions of a Lambda function definition.
3346 3347 3348 3349 |
# File 'lib/aws-sdk-greengrass/client.rb', line 3346 def list_function_definition_versions(params = {}, = {}) req = build_request(:list_function_definition_versions, params) req.send_request() end |
#list_function_definitions(params = {}) ⇒ Types::ListFunctionDefinitionsResponse
Retrieves a list of Lambda function definitions.
3387 3388 3389 3390 |
# File 'lib/aws-sdk-greengrass/client.rb', line 3387 def list_function_definitions(params = {}, = {}) req = build_request(:list_function_definitions, params) req.send_request() end |
#list_group_certificate_authorities(params = {}) ⇒ Types::ListGroupCertificateAuthoritiesResponse
Retrieves the current CAs for a group.
3416 3417 3418 3419 |
# File 'lib/aws-sdk-greengrass/client.rb', line 3416 def (params = {}, = {}) req = build_request(:list_group_certificate_authorities, params) req.send_request() end |
#list_group_versions(params = {}) ⇒ Types::ListGroupVersionsResponse
Lists the versions of a group.
3455 3456 3457 3458 |
# File 'lib/aws-sdk-greengrass/client.rb', line 3455 def list_group_versions(params = {}, = {}) req = build_request(:list_group_versions, params) req.send_request() end |
#list_groups(params = {}) ⇒ Types::ListGroupsResponse
Retrieves a list of groups.
3494 3495 3496 3497 |
# File 'lib/aws-sdk-greengrass/client.rb', line 3494 def list_groups(params = {}, = {}) req = build_request(:list_groups, params) req.send_request() end |
#list_logger_definition_versions(params = {}) ⇒ Types::ListLoggerDefinitionVersionsResponse
Lists the versions of a logger definition.
3533 3534 3535 3536 |
# File 'lib/aws-sdk-greengrass/client.rb', line 3533 def list_logger_definition_versions(params = {}, = {}) req = build_request(:list_logger_definition_versions, params) req.send_request() end |
#list_logger_definitions(params = {}) ⇒ Types::ListLoggerDefinitionsResponse
Retrieves a list of logger definitions.
3574 3575 3576 3577 |
# File 'lib/aws-sdk-greengrass/client.rb', line 3574 def list_logger_definitions(params = {}, = {}) req = build_request(:list_logger_definitions, params) req.send_request() end |
#list_resource_definition_versions(params = {}) ⇒ Types::ListResourceDefinitionVersionsResponse
Lists the versions of a resource definition.
3613 3614 3615 3616 |
# File 'lib/aws-sdk-greengrass/client.rb', line 3613 def list_resource_definition_versions(params = {}, = {}) req = build_request(:list_resource_definition_versions, params) req.send_request() end |
#list_resource_definitions(params = {}) ⇒ Types::ListResourceDefinitionsResponse
Retrieves a list of resource definitions.
3654 3655 3656 3657 |
# File 'lib/aws-sdk-greengrass/client.rb', line 3654 def list_resource_definitions(params = {}, = {}) req = build_request(:list_resource_definitions, params) req.send_request() end |
#list_subscription_definition_versions(params = {}) ⇒ Types::ListSubscriptionDefinitionVersionsResponse
Lists the versions of a subscription definition.
3693 3694 3695 3696 |
# File 'lib/aws-sdk-greengrass/client.rb', line 3693 def list_subscription_definition_versions(params = {}, = {}) req = build_request(:list_subscription_definition_versions, params) req.send_request() end |
#list_subscription_definitions(params = {}) ⇒ Types::ListSubscriptionDefinitionsResponse
Retrieves a list of subscription definitions.
3734 3735 3736 3737 |
# File 'lib/aws-sdk-greengrass/client.rb', line 3734 def list_subscription_definitions(params = {}, = {}) req = build_request(:list_subscription_definitions, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Retrieves a list of resource tags for a resource arn.
3762 3763 3764 3765 |
# File 'lib/aws-sdk-greengrass/client.rb', line 3762 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#reset_deployments(params = {}) ⇒ Types::ResetDeploymentsResponse
Resets a group’s deployments.
3798 3799 3800 3801 |
# File 'lib/aws-sdk-greengrass/client.rb', line 3798 def reset_deployments(params = {}, = {}) req = build_request(:reset_deployments, params) req.send_request() end |
#start_bulk_deployment(params = {}) ⇒ Types::StartBulkDeploymentResponse
Deploys multiple groups in one operation. This action starts the bulk deployment of a specified set of group versions. Each group version deployment will be triggered with an adaptive rate that has a fixed upper limit. We recommend that you include an ”X-Amzn-Client-Token” token in every ”StartBulkDeployment” request. These requests are idempotent with respect to the token and the request parameters.
3857 3858 3859 3860 |
# File 'lib/aws-sdk-greengrass/client.rb', line 3857 def start_bulk_deployment(params = {}, = {}) req = build_request(:start_bulk_deployment, params) req.send_request() end |
#stop_bulk_deployment(params = {}) ⇒ Struct
Stops the execution of a bulk deployment. This action returns a status of ”Stopping” until the deployment is stopped. You cannot start a new bulk deployment while a previous deployment is in the ”Stopping” state. This action doesn’t rollback completed deployments or cancel pending deployments.
3882 3883 3884 3885 |
# File 'lib/aws-sdk-greengrass/client.rb', line 3882 def stop_bulk_deployment(params = {}, = {}) req = build_request(:stop_bulk_deployment, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds tags to a Greengrass resource. Valid resources are ‘Group’, ‘ConnectorDefinition’, ‘CoreDefinition’, ‘DeviceDefinition’, ‘FunctionDefinition’, ‘LoggerDefinition’, ‘SubscriptionDefinition’, ‘ResourceDefinition’, and ‘BulkDeployment’.
3913 3914 3915 3916 |
# File 'lib/aws-sdk-greengrass/client.rb', line 3913 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Remove resource tags from a Greengrass Resource.
3937 3938 3939 3940 |
# File 'lib/aws-sdk-greengrass/client.rb', line 3937 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_connectivity_info(params = {}) ⇒ Types::UpdateConnectivityInfoResponse
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.
3979 3980 3981 3982 |
# File 'lib/aws-sdk-greengrass/client.rb', line 3979 def update_connectivity_info(params = {}, = {}) req = build_request(:update_connectivity_info, params) req.send_request() end |
#update_connector_definition(params = {}) ⇒ Struct
Updates a connector definition.
4003 4004 4005 4006 |
# File 'lib/aws-sdk-greengrass/client.rb', line 4003 def update_connector_definition(params = {}, = {}) req = build_request(:update_connector_definition, params) req.send_request() end |
#update_core_definition(params = {}) ⇒ Struct
Updates a core definition.
4027 4028 4029 4030 |
# File 'lib/aws-sdk-greengrass/client.rb', line 4027 def update_core_definition(params = {}, = {}) req = build_request(:update_core_definition, params) req.send_request() end |
#update_device_definition(params = {}) ⇒ Struct
Updates a device definition.
4051 4052 4053 4054 |
# File 'lib/aws-sdk-greengrass/client.rb', line 4051 def update_device_definition(params = {}, = {}) req = build_request(:update_device_definition, params) req.send_request() end |
#update_function_definition(params = {}) ⇒ Struct
Updates a Lambda function definition.
4075 4076 4077 4078 |
# File 'lib/aws-sdk-greengrass/client.rb', line 4075 def update_function_definition(params = {}, = {}) req = build_request(:update_function_definition, params) req.send_request() end |
#update_group(params = {}) ⇒ Struct
Updates a group.
4099 4100 4101 4102 |
# File 'lib/aws-sdk-greengrass/client.rb', line 4099 def update_group(params = {}, = {}) req = build_request(:update_group, params) req.send_request() end |
#update_group_certificate_configuration(params = {}) ⇒ Types::UpdateGroupCertificateConfigurationResponse
Updates the Certificate expiry time for a group.
4135 4136 4137 4138 |
# File 'lib/aws-sdk-greengrass/client.rb', line 4135 def update_group_certificate_configuration(params = {}, = {}) req = build_request(:update_group_certificate_configuration, params) req.send_request() end |
#update_logger_definition(params = {}) ⇒ Struct
Updates a logger definition.
4159 4160 4161 4162 |
# File 'lib/aws-sdk-greengrass/client.rb', line 4159 def update_logger_definition(params = {}, = {}) req = build_request(:update_logger_definition, params) req.send_request() end |
#update_resource_definition(params = {}) ⇒ Struct
Updates a resource definition.
4183 4184 4185 4186 |
# File 'lib/aws-sdk-greengrass/client.rb', line 4183 def update_resource_definition(params = {}, = {}) req = build_request(:update_resource_definition, params) req.send_request() end |
#update_subscription_definition(params = {}) ⇒ Struct
Updates a subscription definition.
4207 4208 4209 4210 |
# File 'lib/aws-sdk-greengrass/client.rb', line 4207 def update_subscription_definition(params = {}, = {}) req = build_request(:update_subscription_definition, params) req.send_request() end |
#update_thing_runtime_configuration(params = {}) ⇒ Struct
Updates the runtime configuration of a thing.
4234 4235 4236 4237 |
# File 'lib/aws-sdk-greengrass/client.rb', line 4234 def update_thing_runtime_configuration(params = {}, = {}) req = build_request(:update_thing_runtime_configuration, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
4263 4264 4265 |
# File 'lib/aws-sdk-greengrass/client.rb', line 4263 def waiter_names [] end |