aws-sdk-greengrass 1.0.0.rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/aws-sdk-greengrass.rb +47 -0
- data/lib/aws-sdk-greengrass/client.rb +2585 -0
- data/lib/aws-sdk-greengrass/client_api.rb +1523 -0
- data/lib/aws-sdk-greengrass/customizations.rb +0 -0
- data/lib/aws-sdk-greengrass/errors.rb +14 -0
- data/lib/aws-sdk-greengrass/resource.rb +23 -0
- data/lib/aws-sdk-greengrass/types.rb +3534 -0
- metadata +80 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 03457b028901dd4d1a0069eefbc91e24a9cfc697
|
4
|
+
data.tar.gz: 80d0d62c5106381cf6dd3d7390f7503542ebc156
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 568058c84feb048761ecffee88b35d8c4f71467f1ccbeb157b9090c36ea2309404b9c5de9200fd566bfee3ef71e5be282e1905d598f121f39723cab7f3ecd94a
|
7
|
+
data.tar.gz: 963151799dd11baec868af918ba280add87185ddab4c16948f58cb067e32b30fcc6dcdf0f73c0cb6998b42413d263f3fe175d0966adde16641b5e81cb82168a7
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
require 'aws-sdk-core'
|
9
|
+
require 'aws-sigv4'
|
10
|
+
|
11
|
+
require_relative 'aws-sdk-greengrass/types'
|
12
|
+
require_relative 'aws-sdk-greengrass/client_api'
|
13
|
+
require_relative 'aws-sdk-greengrass/client'
|
14
|
+
require_relative 'aws-sdk-greengrass/errors'
|
15
|
+
require_relative 'aws-sdk-greengrass/resource'
|
16
|
+
require_relative 'aws-sdk-greengrass/customizations'
|
17
|
+
|
18
|
+
# This module provides support for AWS Greengrass. This module is available in the
|
19
|
+
# `aws-sdk-greengrass` gem.
|
20
|
+
#
|
21
|
+
# # Client
|
22
|
+
#
|
23
|
+
# The {Client} class provides one method for each API operation. Operation
|
24
|
+
# methods each accept a hash of request parameters and return a response
|
25
|
+
# structure.
|
26
|
+
#
|
27
|
+
# See {Client} for more information.
|
28
|
+
#
|
29
|
+
# # Errors
|
30
|
+
#
|
31
|
+
# Errors returned from AWS Greengrass all
|
32
|
+
# extend {Errors::ServiceError}.
|
33
|
+
#
|
34
|
+
# begin
|
35
|
+
# # do stuff
|
36
|
+
# rescue Aws::Greengrass::Errors::ServiceError
|
37
|
+
# # rescues all service API errors
|
38
|
+
# end
|
39
|
+
#
|
40
|
+
# See {Errors} for more information.
|
41
|
+
#
|
42
|
+
# @service
|
43
|
+
module Aws::Greengrass
|
44
|
+
|
45
|
+
GEM_VERSION = '1.0.0.rc1'
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,2585 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
require 'seahorse/client/plugins/content_length.rb'
|
9
|
+
require 'aws-sdk-core/plugins/credentials_configuration.rb'
|
10
|
+
require 'aws-sdk-core/plugins/logging.rb'
|
11
|
+
require 'aws-sdk-core/plugins/param_converter.rb'
|
12
|
+
require 'aws-sdk-core/plugins/param_validator.rb'
|
13
|
+
require 'aws-sdk-core/plugins/user_agent.rb'
|
14
|
+
require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
|
15
|
+
require 'aws-sdk-core/plugins/retry_errors.rb'
|
16
|
+
require 'aws-sdk-core/plugins/global_configuration.rb'
|
17
|
+
require 'aws-sdk-core/plugins/regional_endpoint.rb'
|
18
|
+
require 'aws-sdk-core/plugins/response_paging.rb'
|
19
|
+
require 'aws-sdk-core/plugins/stub_responses.rb'
|
20
|
+
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
21
|
+
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
22
|
+
require 'aws-sdk-core/plugins/signature_v4.rb'
|
23
|
+
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
24
|
+
|
25
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:greengrass)
|
26
|
+
|
27
|
+
module Aws::Greengrass
|
28
|
+
class Client < Seahorse::Client::Base
|
29
|
+
|
30
|
+
include Aws::ClientStubs
|
31
|
+
|
32
|
+
@identifier = :greengrass
|
33
|
+
|
34
|
+
set_api(ClientApi::API)
|
35
|
+
|
36
|
+
add_plugin(Seahorse::Client::Plugins::ContentLength)
|
37
|
+
add_plugin(Aws::Plugins::CredentialsConfiguration)
|
38
|
+
add_plugin(Aws::Plugins::Logging)
|
39
|
+
add_plugin(Aws::Plugins::ParamConverter)
|
40
|
+
add_plugin(Aws::Plugins::ParamValidator)
|
41
|
+
add_plugin(Aws::Plugins::UserAgent)
|
42
|
+
add_plugin(Aws::Plugins::HelpfulSocketErrors)
|
43
|
+
add_plugin(Aws::Plugins::RetryErrors)
|
44
|
+
add_plugin(Aws::Plugins::GlobalConfiguration)
|
45
|
+
add_plugin(Aws::Plugins::RegionalEndpoint)
|
46
|
+
add_plugin(Aws::Plugins::ResponsePaging)
|
47
|
+
add_plugin(Aws::Plugins::StubResponses)
|
48
|
+
add_plugin(Aws::Plugins::IdempotencyToken)
|
49
|
+
add_plugin(Aws::Plugins::JsonvalueConverter)
|
50
|
+
add_plugin(Aws::Plugins::SignatureV4)
|
51
|
+
add_plugin(Aws::Plugins::Protocols::RestJson)
|
52
|
+
|
53
|
+
# @option options [required, Aws::CredentialProvider] :credentials
|
54
|
+
# Your AWS credentials. This can be an instance of any one of the
|
55
|
+
# following classes:
|
56
|
+
#
|
57
|
+
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
58
|
+
# credentials.
|
59
|
+
#
|
60
|
+
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
61
|
+
# from an EC2 IMDS on an EC2 instance.
|
62
|
+
#
|
63
|
+
# * `Aws::SharedCredentials` - Used for loading credentials from a
|
64
|
+
# shared file, such as `~/.aws/config`.
|
65
|
+
#
|
66
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
67
|
+
#
|
68
|
+
# When `:credentials` are not configured directly, the following
|
69
|
+
# locations will be searched for credentials:
|
70
|
+
#
|
71
|
+
# * `Aws.config[:credentials]`
|
72
|
+
# * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
|
73
|
+
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
74
|
+
# * `~/.aws/credentials`
|
75
|
+
# * `~/.aws/config`
|
76
|
+
# * EC2 IMDS instance profile - When used by default, the timeouts are
|
77
|
+
# very aggressive. Construct and pass an instance of
|
78
|
+
# `Aws::InstanceProfileCredentails` to enable retries and extended
|
79
|
+
# timeouts.
|
80
|
+
#
|
81
|
+
# @option options [required, String] :region
|
82
|
+
# The AWS region to connect to. The configured `:region` is
|
83
|
+
# used to determine the service `:endpoint`. When not passed,
|
84
|
+
# a default `:region` is search for in the following locations:
|
85
|
+
#
|
86
|
+
# * `Aws.config[:region]`
|
87
|
+
# * `ENV['AWS_REGION']`
|
88
|
+
# * `ENV['AMAZON_REGION']`
|
89
|
+
# * `ENV['AWS_DEFAULT_REGION']`
|
90
|
+
# * `~/.aws/credentials`
|
91
|
+
# * `~/.aws/config`
|
92
|
+
#
|
93
|
+
# @option options [String] :access_key_id
|
94
|
+
#
|
95
|
+
# @option options [Boolean] :convert_params (true)
|
96
|
+
# When `true`, an attempt is made to coerce request parameters into
|
97
|
+
# the required types.
|
98
|
+
#
|
99
|
+
# @option options [String] :endpoint
|
100
|
+
# The client endpoint is normally constructed from the `:region`
|
101
|
+
# option. You should only configure an `:endpoint` when connecting
|
102
|
+
# to test endpoints. This should be avalid HTTP(S) URI.
|
103
|
+
#
|
104
|
+
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
105
|
+
# The log formatter.
|
106
|
+
#
|
107
|
+
# @option options [Symbol] :log_level (:info)
|
108
|
+
# The log level to send messages to the `:logger` at.
|
109
|
+
#
|
110
|
+
# @option options [Logger] :logger
|
111
|
+
# The Logger instance to send log messages to. If this option
|
112
|
+
# is not set, logging will be disabled.
|
113
|
+
#
|
114
|
+
# @option options [String] :profile ("default")
|
115
|
+
# Used when loading credentials from the shared credentials file
|
116
|
+
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
117
|
+
#
|
118
|
+
# @option options [Integer] :retry_limit (3)
|
119
|
+
# The maximum number of times to retry failed requests. Only
|
120
|
+
# ~ 500 level server errors and certain ~ 400 level client errors
|
121
|
+
# are retried. Generally, these are throttling errors, data
|
122
|
+
# checksum errors, networking errors, timeout errors and auth
|
123
|
+
# errors from expired credentials.
|
124
|
+
#
|
125
|
+
# @option options [String] :secret_access_key
|
126
|
+
#
|
127
|
+
# @option options [String] :session_token
|
128
|
+
#
|
129
|
+
# @option options [Boolean] :stub_responses (false)
|
130
|
+
# Causes the client to return stubbed responses. By default
|
131
|
+
# fake responses are generated and returned. You can specify
|
132
|
+
# the response data to return or errors to raise by calling
|
133
|
+
# {ClientStubs#stub_responses}. See {ClientStubs} for more information.
|
134
|
+
#
|
135
|
+
# ** Please note ** When response stubbing is enabled, no HTTP
|
136
|
+
# requests are made, and retries are disabled.
|
137
|
+
#
|
138
|
+
# @option options [Boolean] :validate_params (true)
|
139
|
+
# When `true`, request parameters are validated before
|
140
|
+
# sending the request.
|
141
|
+
#
|
142
|
+
def initialize(*args)
|
143
|
+
super
|
144
|
+
end
|
145
|
+
|
146
|
+
# @!group API Operations
|
147
|
+
|
148
|
+
# Associates a role with a group. The role will be used by the AWS
|
149
|
+
# Greengrass core in order to access AWS cloud services. The role's
|
150
|
+
# permissions will allow Greengrass core Lambda functions to perform
|
151
|
+
# actions against the cloud.
|
152
|
+
#
|
153
|
+
# @option params [required, String] :group_id
|
154
|
+
#
|
155
|
+
# @option params [String] :role_arn
|
156
|
+
# Role arn you wish to associate with this group.
|
157
|
+
#
|
158
|
+
# @return [Types::AssociateRoleToGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
159
|
+
#
|
160
|
+
# * {Types::AssociateRoleToGroupResponse#associated_at #associated_at} => String
|
161
|
+
#
|
162
|
+
# @example Request syntax with placeholder values
|
163
|
+
#
|
164
|
+
# resp = client.associate_role_to_group({
|
165
|
+
# group_id: "__string", # required
|
166
|
+
# role_arn: "__string",
|
167
|
+
# })
|
168
|
+
#
|
169
|
+
# @example Response structure
|
170
|
+
#
|
171
|
+
# resp.associated_at #=> String
|
172
|
+
#
|
173
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/AssociateRoleToGroup AWS API Documentation
|
174
|
+
#
|
175
|
+
# @overload associate_role_to_group(params = {})
|
176
|
+
# @param [Hash] params ({})
|
177
|
+
def associate_role_to_group(params = {}, options = {})
|
178
|
+
req = build_request(:associate_role_to_group, params)
|
179
|
+
req.send_request(options)
|
180
|
+
end
|
181
|
+
|
182
|
+
# Associates a role which is used by AWS Greengrass. AWS Greengrass uses
|
183
|
+
# the role to access your Lambda functions and AWS IoT resources. This
|
184
|
+
# is necessary for deployments to succeed. It needs to have minimum
|
185
|
+
# permissions in policy ``AWSGreengrassResourceAccessRolePolicy``
|
186
|
+
#
|
187
|
+
# @option params [String] :role_arn
|
188
|
+
# Role arn you wish to associate with this account.
|
189
|
+
#
|
190
|
+
# @return [Types::AssociateServiceRoleToAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
191
|
+
#
|
192
|
+
# * {Types::AssociateServiceRoleToAccountResponse#associated_at #associated_at} => String
|
193
|
+
#
|
194
|
+
# @example Request syntax with placeholder values
|
195
|
+
#
|
196
|
+
# resp = client.associate_service_role_to_account({
|
197
|
+
# role_arn: "__string",
|
198
|
+
# })
|
199
|
+
#
|
200
|
+
# @example Response structure
|
201
|
+
#
|
202
|
+
# resp.associated_at #=> String
|
203
|
+
#
|
204
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/AssociateServiceRoleToAccount AWS API Documentation
|
205
|
+
#
|
206
|
+
# @overload associate_service_role_to_account(params = {})
|
207
|
+
# @param [Hash] params ({})
|
208
|
+
def associate_service_role_to_account(params = {}, options = {})
|
209
|
+
req = build_request(:associate_service_role_to_account, params)
|
210
|
+
req.send_request(options)
|
211
|
+
end
|
212
|
+
|
213
|
+
# Creates a core definition. You may optionally provide the initial
|
214
|
+
# version of the core definition or use
|
215
|
+
# ''CreateCoreDefinitionVersion'' at a later time. AWS Greengrass
|
216
|
+
# Groups must each contain exactly 1 AWS Greengrass Core.
|
217
|
+
#
|
218
|
+
# @option params [String] :amzn_client_token
|
219
|
+
#
|
220
|
+
# @option params [Types::CoreDefinitionVersion] :initial_version
|
221
|
+
# Information on core definition version
|
222
|
+
#
|
223
|
+
# @option params [String] :name
|
224
|
+
#
|
225
|
+
# @return [Types::CreateCoreDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
226
|
+
#
|
227
|
+
# * {Types::CreateCoreDefinitionResponse#arn #arn} => String
|
228
|
+
# * {Types::CreateCoreDefinitionResponse#creation_timestamp #creation_timestamp} => String
|
229
|
+
# * {Types::CreateCoreDefinitionResponse#id #id} => String
|
230
|
+
# * {Types::CreateCoreDefinitionResponse#last_updated_timestamp #last_updated_timestamp} => String
|
231
|
+
# * {Types::CreateCoreDefinitionResponse#latest_version #latest_version} => String
|
232
|
+
# * {Types::CreateCoreDefinitionResponse#latest_version_arn #latest_version_arn} => String
|
233
|
+
# * {Types::CreateCoreDefinitionResponse#name #name} => String
|
234
|
+
#
|
235
|
+
# @example Request syntax with placeholder values
|
236
|
+
#
|
237
|
+
# resp = client.create_core_definition({
|
238
|
+
# amzn_client_token: "__string",
|
239
|
+
# initial_version: {
|
240
|
+
# cores: [
|
241
|
+
# {
|
242
|
+
# certificate_arn: "__string",
|
243
|
+
# id: "__string",
|
244
|
+
# sync_shadow: false,
|
245
|
+
# thing_arn: "__string",
|
246
|
+
# },
|
247
|
+
# ],
|
248
|
+
# },
|
249
|
+
# name: "__string",
|
250
|
+
# })
|
251
|
+
#
|
252
|
+
# @example Response structure
|
253
|
+
#
|
254
|
+
# resp.arn #=> String
|
255
|
+
# resp.creation_timestamp #=> String
|
256
|
+
# resp.id #=> String
|
257
|
+
# resp.last_updated_timestamp #=> String
|
258
|
+
# resp.latest_version #=> String
|
259
|
+
# resp.latest_version_arn #=> String
|
260
|
+
# resp.name #=> String
|
261
|
+
#
|
262
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateCoreDefinition AWS API Documentation
|
263
|
+
#
|
264
|
+
# @overload create_core_definition(params = {})
|
265
|
+
# @param [Hash] params ({})
|
266
|
+
def create_core_definition(params = {}, options = {})
|
267
|
+
req = build_request(:create_core_definition, params)
|
268
|
+
req.send_request(options)
|
269
|
+
end
|
270
|
+
|
271
|
+
# Creates a version of a core definition that has already been defined.
|
272
|
+
# AWS Greengrass Groups must each contain exactly 1 AWS Greengrass Core.
|
273
|
+
#
|
274
|
+
# @option params [String] :amzn_client_token
|
275
|
+
#
|
276
|
+
# @option params [required, String] :core_definition_id
|
277
|
+
#
|
278
|
+
# @option params [Array<Types::Core>] :cores
|
279
|
+
#
|
280
|
+
# @return [Types::CreateCoreDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
281
|
+
#
|
282
|
+
# * {Types::CreateCoreDefinitionVersionResponse#arn #arn} => String
|
283
|
+
# * {Types::CreateCoreDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
|
284
|
+
# * {Types::CreateCoreDefinitionVersionResponse#id #id} => String
|
285
|
+
# * {Types::CreateCoreDefinitionVersionResponse#version #version} => String
|
286
|
+
#
|
287
|
+
# @example Request syntax with placeholder values
|
288
|
+
#
|
289
|
+
# resp = client.create_core_definition_version({
|
290
|
+
# amzn_client_token: "__string",
|
291
|
+
# core_definition_id: "__string", # required
|
292
|
+
# cores: [
|
293
|
+
# {
|
294
|
+
# certificate_arn: "__string",
|
295
|
+
# id: "__string",
|
296
|
+
# sync_shadow: false,
|
297
|
+
# thing_arn: "__string",
|
298
|
+
# },
|
299
|
+
# ],
|
300
|
+
# })
|
301
|
+
#
|
302
|
+
# @example Response structure
|
303
|
+
#
|
304
|
+
# resp.arn #=> String
|
305
|
+
# resp.creation_timestamp #=> String
|
306
|
+
# resp.id #=> String
|
307
|
+
# resp.version #=> String
|
308
|
+
#
|
309
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateCoreDefinitionVersion AWS API Documentation
|
310
|
+
#
|
311
|
+
# @overload create_core_definition_version(params = {})
|
312
|
+
# @param [Hash] params ({})
|
313
|
+
def create_core_definition_version(params = {}, options = {})
|
314
|
+
req = build_request(:create_core_definition_version, params)
|
315
|
+
req.send_request(options)
|
316
|
+
end
|
317
|
+
|
318
|
+
# Creates a deployment.
|
319
|
+
#
|
320
|
+
# @option params [String] :amzn_client_token
|
321
|
+
#
|
322
|
+
# @option params [String] :deployment_id
|
323
|
+
# Id of the deployment if you wish to redeploy a previous deployment.
|
324
|
+
#
|
325
|
+
# @option params [String] :deployment_type
|
326
|
+
# Type of deployment
|
327
|
+
#
|
328
|
+
# @option params [required, String] :group_id
|
329
|
+
#
|
330
|
+
# @option params [String] :group_version_id
|
331
|
+
# Group Version you wish to deploy.
|
332
|
+
#
|
333
|
+
# @return [Types::CreateDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
334
|
+
#
|
335
|
+
# * {Types::CreateDeploymentResponse#deployment_arn #deployment_arn} => String
|
336
|
+
# * {Types::CreateDeploymentResponse#deployment_id #deployment_id} => String
|
337
|
+
#
|
338
|
+
# @example Request syntax with placeholder values
|
339
|
+
#
|
340
|
+
# resp = client.create_deployment({
|
341
|
+
# amzn_client_token: "__string",
|
342
|
+
# deployment_id: "__string",
|
343
|
+
# deployment_type: "NewDeployment", # accepts NewDeployment, Redeployment
|
344
|
+
# group_id: "__string", # required
|
345
|
+
# group_version_id: "__string",
|
346
|
+
# })
|
347
|
+
#
|
348
|
+
# @example Response structure
|
349
|
+
#
|
350
|
+
# resp.deployment_arn #=> String
|
351
|
+
# resp.deployment_id #=> String
|
352
|
+
#
|
353
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateDeployment AWS API Documentation
|
354
|
+
#
|
355
|
+
# @overload create_deployment(params = {})
|
356
|
+
# @param [Hash] params ({})
|
357
|
+
def create_deployment(params = {}, options = {})
|
358
|
+
req = build_request(:create_deployment, params)
|
359
|
+
req.send_request(options)
|
360
|
+
end
|
361
|
+
|
362
|
+
# Creates a device definition. You may optinally provide the initial
|
363
|
+
# version of the device definition or use
|
364
|
+
# ``CreateDeviceDefinitionVersion`` at a later time.
|
365
|
+
#
|
366
|
+
# @option params [String] :amzn_client_token
|
367
|
+
#
|
368
|
+
# @option params [Types::DeviceDefinitionVersion] :initial_version
|
369
|
+
# Information on device definition version
|
370
|
+
#
|
371
|
+
# @option params [String] :name
|
372
|
+
#
|
373
|
+
# @return [Types::CreateDeviceDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
374
|
+
#
|
375
|
+
# * {Types::CreateDeviceDefinitionResponse#arn #arn} => String
|
376
|
+
# * {Types::CreateDeviceDefinitionResponse#creation_timestamp #creation_timestamp} => String
|
377
|
+
# * {Types::CreateDeviceDefinitionResponse#id #id} => String
|
378
|
+
# * {Types::CreateDeviceDefinitionResponse#last_updated_timestamp #last_updated_timestamp} => String
|
379
|
+
# * {Types::CreateDeviceDefinitionResponse#latest_version #latest_version} => String
|
380
|
+
# * {Types::CreateDeviceDefinitionResponse#latest_version_arn #latest_version_arn} => String
|
381
|
+
# * {Types::CreateDeviceDefinitionResponse#name #name} => String
|
382
|
+
#
|
383
|
+
# @example Request syntax with placeholder values
|
384
|
+
#
|
385
|
+
# resp = client.create_device_definition({
|
386
|
+
# amzn_client_token: "__string",
|
387
|
+
# initial_version: {
|
388
|
+
# devices: [
|
389
|
+
# {
|
390
|
+
# certificate_arn: "__string",
|
391
|
+
# id: "__string",
|
392
|
+
# sync_shadow: false,
|
393
|
+
# thing_arn: "__string",
|
394
|
+
# },
|
395
|
+
# ],
|
396
|
+
# },
|
397
|
+
# name: "__string",
|
398
|
+
# })
|
399
|
+
#
|
400
|
+
# @example Response structure
|
401
|
+
#
|
402
|
+
# resp.arn #=> String
|
403
|
+
# resp.creation_timestamp #=> String
|
404
|
+
# resp.id #=> String
|
405
|
+
# resp.last_updated_timestamp #=> String
|
406
|
+
# resp.latest_version #=> String
|
407
|
+
# resp.latest_version_arn #=> String
|
408
|
+
# resp.name #=> String
|
409
|
+
#
|
410
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateDeviceDefinition AWS API Documentation
|
411
|
+
#
|
412
|
+
# @overload create_device_definition(params = {})
|
413
|
+
# @param [Hash] params ({})
|
414
|
+
def create_device_definition(params = {}, options = {})
|
415
|
+
req = build_request(:create_device_definition, params)
|
416
|
+
req.send_request(options)
|
417
|
+
end
|
418
|
+
|
419
|
+
# Creates a version of a device definition that has already been
|
420
|
+
# defined.
|
421
|
+
#
|
422
|
+
# @option params [String] :amzn_client_token
|
423
|
+
#
|
424
|
+
# @option params [required, String] :device_definition_id
|
425
|
+
#
|
426
|
+
# @option params [Array<Types::Device>] :devices
|
427
|
+
#
|
428
|
+
# @return [Types::CreateDeviceDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
429
|
+
#
|
430
|
+
# * {Types::CreateDeviceDefinitionVersionResponse#arn #arn} => String
|
431
|
+
# * {Types::CreateDeviceDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
|
432
|
+
# * {Types::CreateDeviceDefinitionVersionResponse#id #id} => String
|
433
|
+
# * {Types::CreateDeviceDefinitionVersionResponse#version #version} => String
|
434
|
+
#
|
435
|
+
# @example Request syntax with placeholder values
|
436
|
+
#
|
437
|
+
# resp = client.create_device_definition_version({
|
438
|
+
# amzn_client_token: "__string",
|
439
|
+
# device_definition_id: "__string", # required
|
440
|
+
# devices: [
|
441
|
+
# {
|
442
|
+
# certificate_arn: "__string",
|
443
|
+
# id: "__string",
|
444
|
+
# sync_shadow: false,
|
445
|
+
# thing_arn: "__string",
|
446
|
+
# },
|
447
|
+
# ],
|
448
|
+
# })
|
449
|
+
#
|
450
|
+
# @example Response structure
|
451
|
+
#
|
452
|
+
# resp.arn #=> String
|
453
|
+
# resp.creation_timestamp #=> String
|
454
|
+
# resp.id #=> String
|
455
|
+
# resp.version #=> String
|
456
|
+
#
|
457
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateDeviceDefinitionVersion AWS API Documentation
|
458
|
+
#
|
459
|
+
# @overload create_device_definition_version(params = {})
|
460
|
+
# @param [Hash] params ({})
|
461
|
+
def create_device_definition_version(params = {}, options = {})
|
462
|
+
req = build_request(:create_device_definition_version, params)
|
463
|
+
req.send_request(options)
|
464
|
+
end
|
465
|
+
|
466
|
+
# Creates a Lambda function definition which contains a list of Lambda
|
467
|
+
# functions and their configurations to be used in a group. You can
|
468
|
+
# create an initial version of the definition by providing a list of
|
469
|
+
# Lambda functions and their configurations now, or use
|
470
|
+
# ``CreateFunctionDefinitionVersion`` later.
|
471
|
+
#
|
472
|
+
# @option params [String] :amzn_client_token
|
473
|
+
#
|
474
|
+
# @option params [Types::FunctionDefinitionVersion] :initial_version
|
475
|
+
# Information on the function definition version
|
476
|
+
#
|
477
|
+
# @option params [String] :name
|
478
|
+
#
|
479
|
+
# @return [Types::CreateFunctionDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
480
|
+
#
|
481
|
+
# * {Types::CreateFunctionDefinitionResponse#arn #arn} => String
|
482
|
+
# * {Types::CreateFunctionDefinitionResponse#creation_timestamp #creation_timestamp} => String
|
483
|
+
# * {Types::CreateFunctionDefinitionResponse#id #id} => String
|
484
|
+
# * {Types::CreateFunctionDefinitionResponse#last_updated_timestamp #last_updated_timestamp} => String
|
485
|
+
# * {Types::CreateFunctionDefinitionResponse#latest_version #latest_version} => String
|
486
|
+
# * {Types::CreateFunctionDefinitionResponse#latest_version_arn #latest_version_arn} => String
|
487
|
+
# * {Types::CreateFunctionDefinitionResponse#name #name} => String
|
488
|
+
#
|
489
|
+
# @example Request syntax with placeholder values
|
490
|
+
#
|
491
|
+
# resp = client.create_function_definition({
|
492
|
+
# amzn_client_token: "__string",
|
493
|
+
# initial_version: {
|
494
|
+
# functions: [
|
495
|
+
# {
|
496
|
+
# function_arn: "__string",
|
497
|
+
# function_configuration: {
|
498
|
+
# environment: {
|
499
|
+
# variables: {
|
500
|
+
# "__string" => "__string",
|
501
|
+
# },
|
502
|
+
# },
|
503
|
+
# exec_args: "__string",
|
504
|
+
# executable: "__string",
|
505
|
+
# memory_size: 1,
|
506
|
+
# pinned: false,
|
507
|
+
# timeout: 1,
|
508
|
+
# },
|
509
|
+
# id: "__string",
|
510
|
+
# },
|
511
|
+
# ],
|
512
|
+
# },
|
513
|
+
# name: "__string",
|
514
|
+
# })
|
515
|
+
#
|
516
|
+
# @example Response structure
|
517
|
+
#
|
518
|
+
# resp.arn #=> String
|
519
|
+
# resp.creation_timestamp #=> String
|
520
|
+
# resp.id #=> String
|
521
|
+
# resp.last_updated_timestamp #=> String
|
522
|
+
# resp.latest_version #=> String
|
523
|
+
# resp.latest_version_arn #=> String
|
524
|
+
# resp.name #=> String
|
525
|
+
#
|
526
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateFunctionDefinition AWS API Documentation
|
527
|
+
#
|
528
|
+
# @overload create_function_definition(params = {})
|
529
|
+
# @param [Hash] params ({})
|
530
|
+
def create_function_definition(params = {}, options = {})
|
531
|
+
req = build_request(:create_function_definition, params)
|
532
|
+
req.send_request(options)
|
533
|
+
end
|
534
|
+
|
535
|
+
# Create a version of a Lambda function definition that has already been
|
536
|
+
# defined.
|
537
|
+
#
|
538
|
+
# @option params [String] :amzn_client_token
|
539
|
+
#
|
540
|
+
# @option params [required, String] :function_definition_id
|
541
|
+
#
|
542
|
+
# @option params [Array<Types::Function>] :functions
|
543
|
+
#
|
544
|
+
# @return [Types::CreateFunctionDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
545
|
+
#
|
546
|
+
# * {Types::CreateFunctionDefinitionVersionResponse#arn #arn} => String
|
547
|
+
# * {Types::CreateFunctionDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
|
548
|
+
# * {Types::CreateFunctionDefinitionVersionResponse#id #id} => String
|
549
|
+
# * {Types::CreateFunctionDefinitionVersionResponse#version #version} => String
|
550
|
+
#
|
551
|
+
# @example Request syntax with placeholder values
|
552
|
+
#
|
553
|
+
# resp = client.create_function_definition_version({
|
554
|
+
# amzn_client_token: "__string",
|
555
|
+
# function_definition_id: "__string", # required
|
556
|
+
# functions: [
|
557
|
+
# {
|
558
|
+
# function_arn: "__string",
|
559
|
+
# function_configuration: {
|
560
|
+
# environment: {
|
561
|
+
# variables: {
|
562
|
+
# "__string" => "__string",
|
563
|
+
# },
|
564
|
+
# },
|
565
|
+
# exec_args: "__string",
|
566
|
+
# executable: "__string",
|
567
|
+
# memory_size: 1,
|
568
|
+
# pinned: false,
|
569
|
+
# timeout: 1,
|
570
|
+
# },
|
571
|
+
# id: "__string",
|
572
|
+
# },
|
573
|
+
# ],
|
574
|
+
# })
|
575
|
+
#
|
576
|
+
# @example Response structure
|
577
|
+
#
|
578
|
+
# resp.arn #=> String
|
579
|
+
# resp.creation_timestamp #=> String
|
580
|
+
# resp.id #=> String
|
581
|
+
# resp.version #=> String
|
582
|
+
#
|
583
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateFunctionDefinitionVersion AWS API Documentation
|
584
|
+
#
|
585
|
+
# @overload create_function_definition_version(params = {})
|
586
|
+
# @param [Hash] params ({})
|
587
|
+
def create_function_definition_version(params = {}, options = {})
|
588
|
+
req = build_request(:create_function_definition_version, params)
|
589
|
+
req.send_request(options)
|
590
|
+
end
|
591
|
+
|
592
|
+
# Creates a group. You may optionally provide the initial version of the
|
593
|
+
# group or use ''CreateGroupVersion'' at a later time.
|
594
|
+
#
|
595
|
+
# @option params [String] :amzn_client_token
|
596
|
+
#
|
597
|
+
# @option params [Types::GroupVersion] :initial_version
|
598
|
+
# Information on group version
|
599
|
+
#
|
600
|
+
# @option params [String] :name
|
601
|
+
#
|
602
|
+
# @return [Types::CreateGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
603
|
+
#
|
604
|
+
# * {Types::CreateGroupResponse#arn #arn} => String
|
605
|
+
# * {Types::CreateGroupResponse#creation_timestamp #creation_timestamp} => String
|
606
|
+
# * {Types::CreateGroupResponse#id #id} => String
|
607
|
+
# * {Types::CreateGroupResponse#last_updated_timestamp #last_updated_timestamp} => String
|
608
|
+
# * {Types::CreateGroupResponse#latest_version #latest_version} => String
|
609
|
+
# * {Types::CreateGroupResponse#latest_version_arn #latest_version_arn} => String
|
610
|
+
# * {Types::CreateGroupResponse#name #name} => String
|
611
|
+
#
|
612
|
+
# @example Request syntax with placeholder values
|
613
|
+
#
|
614
|
+
# resp = client.create_group({
|
615
|
+
# amzn_client_token: "__string",
|
616
|
+
# initial_version: {
|
617
|
+
# core_definition_version_arn: "__string",
|
618
|
+
# device_definition_version_arn: "__string",
|
619
|
+
# function_definition_version_arn: "__string",
|
620
|
+
# logger_definition_version_arn: "__string",
|
621
|
+
# subscription_definition_version_arn: "__string",
|
622
|
+
# },
|
623
|
+
# name: "__string",
|
624
|
+
# })
|
625
|
+
#
|
626
|
+
# @example Response structure
|
627
|
+
#
|
628
|
+
# resp.arn #=> String
|
629
|
+
# resp.creation_timestamp #=> String
|
630
|
+
# resp.id #=> String
|
631
|
+
# resp.last_updated_timestamp #=> String
|
632
|
+
# resp.latest_version #=> String
|
633
|
+
# resp.latest_version_arn #=> String
|
634
|
+
# resp.name #=> String
|
635
|
+
#
|
636
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateGroup AWS API Documentation
|
637
|
+
#
|
638
|
+
# @overload create_group(params = {})
|
639
|
+
# @param [Hash] params ({})
|
640
|
+
def create_group(params = {}, options = {})
|
641
|
+
req = build_request(:create_group, params)
|
642
|
+
req.send_request(options)
|
643
|
+
end
|
644
|
+
|
645
|
+
# Creates a CA for the group. If a CA already exists, it will rotate the
|
646
|
+
# existing CA.
|
647
|
+
#
|
648
|
+
# @option params [String] :amzn_client_token
|
649
|
+
#
|
650
|
+
# @option params [required, String] :group_id
|
651
|
+
#
|
652
|
+
# @return [Types::CreateGroupCertificateAuthorityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
653
|
+
#
|
654
|
+
# * {Types::CreateGroupCertificateAuthorityResponse#group_certificate_authority_arn #group_certificate_authority_arn} => String
|
655
|
+
#
|
656
|
+
# @example Request syntax with placeholder values
|
657
|
+
#
|
658
|
+
# resp = client.create_group_certificate_authority({
|
659
|
+
# amzn_client_token: "__string",
|
660
|
+
# group_id: "__string", # required
|
661
|
+
# })
|
662
|
+
#
|
663
|
+
# @example Response structure
|
664
|
+
#
|
665
|
+
# resp.group_certificate_authority_arn #=> String
|
666
|
+
#
|
667
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateGroupCertificateAuthority AWS API Documentation
|
668
|
+
#
|
669
|
+
# @overload create_group_certificate_authority(params = {})
|
670
|
+
# @param [Hash] params ({})
|
671
|
+
def create_group_certificate_authority(params = {}, options = {})
|
672
|
+
req = build_request(:create_group_certificate_authority, params)
|
673
|
+
req.send_request(options)
|
674
|
+
end
|
675
|
+
|
676
|
+
# Creates a version of a group which has already been defined.
|
677
|
+
#
|
678
|
+
# @option params [String] :amzn_client_token
|
679
|
+
#
|
680
|
+
# @option params [String] :core_definition_version_arn
|
681
|
+
#
|
682
|
+
# @option params [String] :device_definition_version_arn
|
683
|
+
#
|
684
|
+
# @option params [String] :function_definition_version_arn
|
685
|
+
#
|
686
|
+
# @option params [required, String] :group_id
|
687
|
+
#
|
688
|
+
# @option params [String] :logger_definition_version_arn
|
689
|
+
#
|
690
|
+
# @option params [String] :subscription_definition_version_arn
|
691
|
+
#
|
692
|
+
# @return [Types::CreateGroupVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
693
|
+
#
|
694
|
+
# * {Types::CreateGroupVersionResponse#arn #arn} => String
|
695
|
+
# * {Types::CreateGroupVersionResponse#creation_timestamp #creation_timestamp} => String
|
696
|
+
# * {Types::CreateGroupVersionResponse#id #id} => String
|
697
|
+
# * {Types::CreateGroupVersionResponse#version #version} => String
|
698
|
+
#
|
699
|
+
# @example Request syntax with placeholder values
|
700
|
+
#
|
701
|
+
# resp = client.create_group_version({
|
702
|
+
# amzn_client_token: "__string",
|
703
|
+
# core_definition_version_arn: "__string",
|
704
|
+
# device_definition_version_arn: "__string",
|
705
|
+
# function_definition_version_arn: "__string",
|
706
|
+
# group_id: "__string", # required
|
707
|
+
# logger_definition_version_arn: "__string",
|
708
|
+
# subscription_definition_version_arn: "__string",
|
709
|
+
# })
|
710
|
+
#
|
711
|
+
# @example Response structure
|
712
|
+
#
|
713
|
+
# resp.arn #=> String
|
714
|
+
# resp.creation_timestamp #=> String
|
715
|
+
# resp.id #=> String
|
716
|
+
# resp.version #=> String
|
717
|
+
#
|
718
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateGroupVersion AWS API Documentation
|
719
|
+
#
|
720
|
+
# @overload create_group_version(params = {})
|
721
|
+
# @param [Hash] params ({})
|
722
|
+
def create_group_version(params = {}, options = {})
|
723
|
+
req = build_request(:create_group_version, params)
|
724
|
+
req.send_request(options)
|
725
|
+
end
|
726
|
+
|
727
|
+
# Creates a logger definition. You may optionally provide the initial
|
728
|
+
# version of the logger definition or use
|
729
|
+
# ``CreateLoggerDefinitionVersion`` at a later time.
|
730
|
+
#
|
731
|
+
# @option params [String] :amzn_client_token
|
732
|
+
#
|
733
|
+
# @option params [Types::LoggerDefinitionVersion] :initial_version
|
734
|
+
# Information on logger definition version
|
735
|
+
#
|
736
|
+
# @option params [String] :name
|
737
|
+
#
|
738
|
+
# @return [Types::CreateLoggerDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
739
|
+
#
|
740
|
+
# * {Types::CreateLoggerDefinitionResponse#arn #arn} => String
|
741
|
+
# * {Types::CreateLoggerDefinitionResponse#creation_timestamp #creation_timestamp} => String
|
742
|
+
# * {Types::CreateLoggerDefinitionResponse#id #id} => String
|
743
|
+
# * {Types::CreateLoggerDefinitionResponse#last_updated_timestamp #last_updated_timestamp} => String
|
744
|
+
# * {Types::CreateLoggerDefinitionResponse#latest_version #latest_version} => String
|
745
|
+
# * {Types::CreateLoggerDefinitionResponse#latest_version_arn #latest_version_arn} => String
|
746
|
+
# * {Types::CreateLoggerDefinitionResponse#name #name} => String
|
747
|
+
#
|
748
|
+
# @example Request syntax with placeholder values
|
749
|
+
#
|
750
|
+
# resp = client.create_logger_definition({
|
751
|
+
# amzn_client_token: "__string",
|
752
|
+
# initial_version: {
|
753
|
+
# loggers: [
|
754
|
+
# {
|
755
|
+
# component: "GreengrassSystem", # accepts GreengrassSystem, Lambda
|
756
|
+
# id: "__string",
|
757
|
+
# level: "DEBUG", # accepts DEBUG, INFO, WARN, ERROR, FATAL
|
758
|
+
# space: 1,
|
759
|
+
# type: "FileSystem", # accepts FileSystem, AWSCloudWatch
|
760
|
+
# },
|
761
|
+
# ],
|
762
|
+
# },
|
763
|
+
# name: "__string",
|
764
|
+
# })
|
765
|
+
#
|
766
|
+
# @example Response structure
|
767
|
+
#
|
768
|
+
# resp.arn #=> String
|
769
|
+
# resp.creation_timestamp #=> String
|
770
|
+
# resp.id #=> String
|
771
|
+
# resp.last_updated_timestamp #=> String
|
772
|
+
# resp.latest_version #=> String
|
773
|
+
# resp.latest_version_arn #=> String
|
774
|
+
# resp.name #=> String
|
775
|
+
#
|
776
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateLoggerDefinition AWS API Documentation
|
777
|
+
#
|
778
|
+
# @overload create_logger_definition(params = {})
|
779
|
+
# @param [Hash] params ({})
|
780
|
+
def create_logger_definition(params = {}, options = {})
|
781
|
+
req = build_request(:create_logger_definition, params)
|
782
|
+
req.send_request(options)
|
783
|
+
end
|
784
|
+
|
785
|
+
# Creates a version of a logger definition that has already been
|
786
|
+
# defined.
|
787
|
+
#
|
788
|
+
# @option params [String] :amzn_client_token
|
789
|
+
#
|
790
|
+
# @option params [required, String] :logger_definition_id
|
791
|
+
#
|
792
|
+
# @option params [Array<Types::Logger>] :loggers
|
793
|
+
#
|
794
|
+
# @return [Types::CreateLoggerDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
795
|
+
#
|
796
|
+
# * {Types::CreateLoggerDefinitionVersionResponse#arn #arn} => String
|
797
|
+
# * {Types::CreateLoggerDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
|
798
|
+
# * {Types::CreateLoggerDefinitionVersionResponse#id #id} => String
|
799
|
+
# * {Types::CreateLoggerDefinitionVersionResponse#version #version} => String
|
800
|
+
#
|
801
|
+
# @example Request syntax with placeholder values
|
802
|
+
#
|
803
|
+
# resp = client.create_logger_definition_version({
|
804
|
+
# amzn_client_token: "__string",
|
805
|
+
# logger_definition_id: "__string", # required
|
806
|
+
# loggers: [
|
807
|
+
# {
|
808
|
+
# component: "GreengrassSystem", # accepts GreengrassSystem, Lambda
|
809
|
+
# id: "__string",
|
810
|
+
# level: "DEBUG", # accepts DEBUG, INFO, WARN, ERROR, FATAL
|
811
|
+
# space: 1,
|
812
|
+
# type: "FileSystem", # accepts FileSystem, AWSCloudWatch
|
813
|
+
# },
|
814
|
+
# ],
|
815
|
+
# })
|
816
|
+
#
|
817
|
+
# @example Response structure
|
818
|
+
#
|
819
|
+
# resp.arn #=> String
|
820
|
+
# resp.creation_timestamp #=> String
|
821
|
+
# resp.id #=> String
|
822
|
+
# resp.version #=> String
|
823
|
+
#
|
824
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateLoggerDefinitionVersion AWS API Documentation
|
825
|
+
#
|
826
|
+
# @overload create_logger_definition_version(params = {})
|
827
|
+
# @param [Hash] params ({})
|
828
|
+
def create_logger_definition_version(params = {}, options = {})
|
829
|
+
req = build_request(:create_logger_definition_version, params)
|
830
|
+
req.send_request(options)
|
831
|
+
end
|
832
|
+
|
833
|
+
# Creates a subscription definition. You may optionally provide the
|
834
|
+
# initial version of the subscription definition or use
|
835
|
+
# ``CreateSubscriptionDefinitionVersion`` at a later time.
|
836
|
+
#
|
837
|
+
# @option params [String] :amzn_client_token
|
838
|
+
#
|
839
|
+
# @option params [Types::SubscriptionDefinitionVersion] :initial_version
|
840
|
+
# Information on subscription definition version
|
841
|
+
#
|
842
|
+
# @option params [String] :name
|
843
|
+
#
|
844
|
+
# @return [Types::CreateSubscriptionDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
845
|
+
#
|
846
|
+
# * {Types::CreateSubscriptionDefinitionResponse#arn #arn} => String
|
847
|
+
# * {Types::CreateSubscriptionDefinitionResponse#creation_timestamp #creation_timestamp} => String
|
848
|
+
# * {Types::CreateSubscriptionDefinitionResponse#id #id} => String
|
849
|
+
# * {Types::CreateSubscriptionDefinitionResponse#last_updated_timestamp #last_updated_timestamp} => String
|
850
|
+
# * {Types::CreateSubscriptionDefinitionResponse#latest_version #latest_version} => String
|
851
|
+
# * {Types::CreateSubscriptionDefinitionResponse#latest_version_arn #latest_version_arn} => String
|
852
|
+
# * {Types::CreateSubscriptionDefinitionResponse#name #name} => String
|
853
|
+
#
|
854
|
+
# @example Request syntax with placeholder values
|
855
|
+
#
|
856
|
+
# resp = client.create_subscription_definition({
|
857
|
+
# amzn_client_token: "__string",
|
858
|
+
# initial_version: {
|
859
|
+
# subscriptions: [
|
860
|
+
# {
|
861
|
+
# id: "__string",
|
862
|
+
# source: "__string",
|
863
|
+
# subject: "__string",
|
864
|
+
# target: "__string",
|
865
|
+
# },
|
866
|
+
# ],
|
867
|
+
# },
|
868
|
+
# name: "__string",
|
869
|
+
# })
|
870
|
+
#
|
871
|
+
# @example Response structure
|
872
|
+
#
|
873
|
+
# resp.arn #=> String
|
874
|
+
# resp.creation_timestamp #=> String
|
875
|
+
# resp.id #=> String
|
876
|
+
# resp.last_updated_timestamp #=> String
|
877
|
+
# resp.latest_version #=> String
|
878
|
+
# resp.latest_version_arn #=> String
|
879
|
+
# resp.name #=> String
|
880
|
+
#
|
881
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateSubscriptionDefinition AWS API Documentation
|
882
|
+
#
|
883
|
+
# @overload create_subscription_definition(params = {})
|
884
|
+
# @param [Hash] params ({})
|
885
|
+
def create_subscription_definition(params = {}, options = {})
|
886
|
+
req = build_request(:create_subscription_definition, params)
|
887
|
+
req.send_request(options)
|
888
|
+
end
|
889
|
+
|
890
|
+
# Creates a version of a subscription definition which has already been
|
891
|
+
# defined.
|
892
|
+
#
|
893
|
+
# @option params [String] :amzn_client_token
|
894
|
+
#
|
895
|
+
# @option params [required, String] :subscription_definition_id
|
896
|
+
#
|
897
|
+
# @option params [Array<Types::Subscription>] :subscriptions
|
898
|
+
#
|
899
|
+
# @return [Types::CreateSubscriptionDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
900
|
+
#
|
901
|
+
# * {Types::CreateSubscriptionDefinitionVersionResponse#arn #arn} => String
|
902
|
+
# * {Types::CreateSubscriptionDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
|
903
|
+
# * {Types::CreateSubscriptionDefinitionVersionResponse#id #id} => String
|
904
|
+
# * {Types::CreateSubscriptionDefinitionVersionResponse#version #version} => String
|
905
|
+
#
|
906
|
+
# @example Request syntax with placeholder values
|
907
|
+
#
|
908
|
+
# resp = client.create_subscription_definition_version({
|
909
|
+
# amzn_client_token: "__string",
|
910
|
+
# subscription_definition_id: "__string", # required
|
911
|
+
# subscriptions: [
|
912
|
+
# {
|
913
|
+
# id: "__string",
|
914
|
+
# source: "__string",
|
915
|
+
# subject: "__string",
|
916
|
+
# target: "__string",
|
917
|
+
# },
|
918
|
+
# ],
|
919
|
+
# })
|
920
|
+
#
|
921
|
+
# @example Response structure
|
922
|
+
#
|
923
|
+
# resp.arn #=> String
|
924
|
+
# resp.creation_timestamp #=> String
|
925
|
+
# resp.id #=> String
|
926
|
+
# resp.version #=> String
|
927
|
+
#
|
928
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateSubscriptionDefinitionVersion AWS API Documentation
|
929
|
+
#
|
930
|
+
# @overload create_subscription_definition_version(params = {})
|
931
|
+
# @param [Hash] params ({})
|
932
|
+
def create_subscription_definition_version(params = {}, options = {})
|
933
|
+
req = build_request(:create_subscription_definition_version, params)
|
934
|
+
req.send_request(options)
|
935
|
+
end
|
936
|
+
|
937
|
+
# Deletes a core definition. The core definition must not have been used
|
938
|
+
# in a deployment.
|
939
|
+
#
|
940
|
+
# @option params [required, String] :core_definition_id
|
941
|
+
#
|
942
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
943
|
+
#
|
944
|
+
# @example Request syntax with placeholder values
|
945
|
+
#
|
946
|
+
# resp = client.delete_core_definition({
|
947
|
+
# core_definition_id: "__string", # required
|
948
|
+
# })
|
949
|
+
#
|
950
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteCoreDefinition AWS API Documentation
|
951
|
+
#
|
952
|
+
# @overload delete_core_definition(params = {})
|
953
|
+
# @param [Hash] params ({})
|
954
|
+
def delete_core_definition(params = {}, options = {})
|
955
|
+
req = build_request(:delete_core_definition, params)
|
956
|
+
req.send_request(options)
|
957
|
+
end
|
958
|
+
|
959
|
+
# Deletes a device definition. The device definition must not have been
|
960
|
+
# used in a deployment.
|
961
|
+
#
|
962
|
+
# @option params [required, String] :device_definition_id
|
963
|
+
#
|
964
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
965
|
+
#
|
966
|
+
# @example Request syntax with placeholder values
|
967
|
+
#
|
968
|
+
# resp = client.delete_device_definition({
|
969
|
+
# device_definition_id: "__string", # required
|
970
|
+
# })
|
971
|
+
#
|
972
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteDeviceDefinition AWS API Documentation
|
973
|
+
#
|
974
|
+
# @overload delete_device_definition(params = {})
|
975
|
+
# @param [Hash] params ({})
|
976
|
+
def delete_device_definition(params = {}, options = {})
|
977
|
+
req = build_request(:delete_device_definition, params)
|
978
|
+
req.send_request(options)
|
979
|
+
end
|
980
|
+
|
981
|
+
# Deletes a Lambda function definition. The Lambda function definition
|
982
|
+
# must not have been used in a deployment.
|
983
|
+
#
|
984
|
+
# @option params [required, String] :function_definition_id
|
985
|
+
#
|
986
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
987
|
+
#
|
988
|
+
# @example Request syntax with placeholder values
|
989
|
+
#
|
990
|
+
# resp = client.delete_function_definition({
|
991
|
+
# function_definition_id: "__string", # required
|
992
|
+
# })
|
993
|
+
#
|
994
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteFunctionDefinition AWS API Documentation
|
995
|
+
#
|
996
|
+
# @overload delete_function_definition(params = {})
|
997
|
+
# @param [Hash] params ({})
|
998
|
+
def delete_function_definition(params = {}, options = {})
|
999
|
+
req = build_request(:delete_function_definition, params)
|
1000
|
+
req.send_request(options)
|
1001
|
+
end
|
1002
|
+
|
1003
|
+
# Deletes a group. The group must not have been used in deployment.
|
1004
|
+
#
|
1005
|
+
# @option params [required, String] :group_id
|
1006
|
+
#
|
1007
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1008
|
+
#
|
1009
|
+
# @example Request syntax with placeholder values
|
1010
|
+
#
|
1011
|
+
# resp = client.delete_group({
|
1012
|
+
# group_id: "__string", # required
|
1013
|
+
# })
|
1014
|
+
#
|
1015
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteGroup AWS API Documentation
|
1016
|
+
#
|
1017
|
+
# @overload delete_group(params = {})
|
1018
|
+
# @param [Hash] params ({})
|
1019
|
+
def delete_group(params = {}, options = {})
|
1020
|
+
req = build_request(:delete_group, params)
|
1021
|
+
req.send_request(options)
|
1022
|
+
end
|
1023
|
+
|
1024
|
+
# Deletes a logger definition. The logger definition must not have been
|
1025
|
+
# used in a deployment.
|
1026
|
+
#
|
1027
|
+
# @option params [required, String] :logger_definition_id
|
1028
|
+
#
|
1029
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1030
|
+
#
|
1031
|
+
# @example Request syntax with placeholder values
|
1032
|
+
#
|
1033
|
+
# resp = client.delete_logger_definition({
|
1034
|
+
# logger_definition_id: "__string", # required
|
1035
|
+
# })
|
1036
|
+
#
|
1037
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteLoggerDefinition AWS API Documentation
|
1038
|
+
#
|
1039
|
+
# @overload delete_logger_definition(params = {})
|
1040
|
+
# @param [Hash] params ({})
|
1041
|
+
def delete_logger_definition(params = {}, options = {})
|
1042
|
+
req = build_request(:delete_logger_definition, params)
|
1043
|
+
req.send_request(options)
|
1044
|
+
end
|
1045
|
+
|
1046
|
+
# Deletes a subscription definition. The subscription definition must
|
1047
|
+
# not have been used in a deployment.
|
1048
|
+
#
|
1049
|
+
# @option params [required, String] :subscription_definition_id
|
1050
|
+
#
|
1051
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1052
|
+
#
|
1053
|
+
# @example Request syntax with placeholder values
|
1054
|
+
#
|
1055
|
+
# resp = client.delete_subscription_definition({
|
1056
|
+
# subscription_definition_id: "__string", # required
|
1057
|
+
# })
|
1058
|
+
#
|
1059
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteSubscriptionDefinition AWS API Documentation
|
1060
|
+
#
|
1061
|
+
# @overload delete_subscription_definition(params = {})
|
1062
|
+
# @param [Hash] params ({})
|
1063
|
+
def delete_subscription_definition(params = {}, options = {})
|
1064
|
+
req = build_request(:delete_subscription_definition, params)
|
1065
|
+
req.send_request(options)
|
1066
|
+
end
|
1067
|
+
|
1068
|
+
# Disassociates the role from a group.
|
1069
|
+
#
|
1070
|
+
# @option params [required, String] :group_id
|
1071
|
+
#
|
1072
|
+
# @return [Types::DisassociateRoleFromGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1073
|
+
#
|
1074
|
+
# * {Types::DisassociateRoleFromGroupResponse#disassociated_at #disassociated_at} => String
|
1075
|
+
#
|
1076
|
+
# @example Request syntax with placeholder values
|
1077
|
+
#
|
1078
|
+
# resp = client.disassociate_role_from_group({
|
1079
|
+
# group_id: "__string", # required
|
1080
|
+
# })
|
1081
|
+
#
|
1082
|
+
# @example Response structure
|
1083
|
+
#
|
1084
|
+
# resp.disassociated_at #=> String
|
1085
|
+
#
|
1086
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DisassociateRoleFromGroup AWS API Documentation
|
1087
|
+
#
|
1088
|
+
# @overload disassociate_role_from_group(params = {})
|
1089
|
+
# @param [Hash] params ({})
|
1090
|
+
def disassociate_role_from_group(params = {}, options = {})
|
1091
|
+
req = build_request(:disassociate_role_from_group, params)
|
1092
|
+
req.send_request(options)
|
1093
|
+
end
|
1094
|
+
|
1095
|
+
# Disassociates the service role from the account. Without a service
|
1096
|
+
# role, deployments will not work.
|
1097
|
+
#
|
1098
|
+
# @return [Types::DisassociateServiceRoleFromAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1099
|
+
#
|
1100
|
+
# * {Types::DisassociateServiceRoleFromAccountResponse#disassociated_at #disassociated_at} => String
|
1101
|
+
#
|
1102
|
+
# @example Response structure
|
1103
|
+
#
|
1104
|
+
# resp.disassociated_at #=> String
|
1105
|
+
#
|
1106
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DisassociateServiceRoleFromAccount AWS API Documentation
|
1107
|
+
#
|
1108
|
+
# @overload disassociate_service_role_from_account(params = {})
|
1109
|
+
# @param [Hash] params ({})
|
1110
|
+
def disassociate_service_role_from_account(params = {}, options = {})
|
1111
|
+
req = build_request(:disassociate_service_role_from_account, params)
|
1112
|
+
req.send_request(options)
|
1113
|
+
end
|
1114
|
+
|
1115
|
+
# Retrieves the role associated with a particular group.
|
1116
|
+
#
|
1117
|
+
# @option params [required, String] :group_id
|
1118
|
+
#
|
1119
|
+
# @return [Types::GetAssociatedRoleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1120
|
+
#
|
1121
|
+
# * {Types::GetAssociatedRoleResponse#associated_at #associated_at} => String
|
1122
|
+
# * {Types::GetAssociatedRoleResponse#role_arn #role_arn} => String
|
1123
|
+
#
|
1124
|
+
# @example Request syntax with placeholder values
|
1125
|
+
#
|
1126
|
+
# resp = client.get_associated_role({
|
1127
|
+
# group_id: "__string", # required
|
1128
|
+
# })
|
1129
|
+
#
|
1130
|
+
# @example Response structure
|
1131
|
+
#
|
1132
|
+
# resp.associated_at #=> String
|
1133
|
+
# resp.role_arn #=> String
|
1134
|
+
#
|
1135
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetAssociatedRole AWS API Documentation
|
1136
|
+
#
|
1137
|
+
# @overload get_associated_role(params = {})
|
1138
|
+
# @param [Hash] params ({})
|
1139
|
+
def get_associated_role(params = {}, options = {})
|
1140
|
+
req = build_request(:get_associated_role, params)
|
1141
|
+
req.send_request(options)
|
1142
|
+
end
|
1143
|
+
|
1144
|
+
# Retrieves the connectivity information for a core.
|
1145
|
+
#
|
1146
|
+
# @option params [required, String] :thing_name
|
1147
|
+
#
|
1148
|
+
# @return [Types::GetConnectivityInfoResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1149
|
+
#
|
1150
|
+
# * {Types::GetConnectivityInfoResponse#connectivity_info #connectivity_info} => Array<Types::ConnectivityInfo>
|
1151
|
+
# * {Types::GetConnectivityInfoResponse#message #message} => String
|
1152
|
+
#
|
1153
|
+
# @example Request syntax with placeholder values
|
1154
|
+
#
|
1155
|
+
# resp = client.get_connectivity_info({
|
1156
|
+
# thing_name: "__string", # required
|
1157
|
+
# })
|
1158
|
+
#
|
1159
|
+
# @example Response structure
|
1160
|
+
#
|
1161
|
+
# resp.connectivity_info #=> Array
|
1162
|
+
# resp.connectivity_info[0].host_address #=> String
|
1163
|
+
# resp.connectivity_info[0].id #=> String
|
1164
|
+
# resp.connectivity_info[0].metadata #=> String
|
1165
|
+
# resp.connectivity_info[0].port_number #=> Integer
|
1166
|
+
# resp.message #=> String
|
1167
|
+
#
|
1168
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetConnectivityInfo AWS API Documentation
|
1169
|
+
#
|
1170
|
+
# @overload get_connectivity_info(params = {})
|
1171
|
+
# @param [Hash] params ({})
|
1172
|
+
def get_connectivity_info(params = {}, options = {})
|
1173
|
+
req = build_request(:get_connectivity_info, params)
|
1174
|
+
req.send_request(options)
|
1175
|
+
end
|
1176
|
+
|
1177
|
+
# Retrieves information about a core definition version.
|
1178
|
+
#
|
1179
|
+
# @option params [required, String] :core_definition_id
|
1180
|
+
#
|
1181
|
+
# @return [Types::GetCoreDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1182
|
+
#
|
1183
|
+
# * {Types::GetCoreDefinitionResponse#arn #arn} => String
|
1184
|
+
# * {Types::GetCoreDefinitionResponse#creation_timestamp #creation_timestamp} => String
|
1185
|
+
# * {Types::GetCoreDefinitionResponse#id #id} => String
|
1186
|
+
# * {Types::GetCoreDefinitionResponse#last_updated_timestamp #last_updated_timestamp} => String
|
1187
|
+
# * {Types::GetCoreDefinitionResponse#latest_version #latest_version} => String
|
1188
|
+
# * {Types::GetCoreDefinitionResponse#latest_version_arn #latest_version_arn} => String
|
1189
|
+
# * {Types::GetCoreDefinitionResponse#name #name} => String
|
1190
|
+
#
|
1191
|
+
# @example Request syntax with placeholder values
|
1192
|
+
#
|
1193
|
+
# resp = client.get_core_definition({
|
1194
|
+
# core_definition_id: "__string", # required
|
1195
|
+
# })
|
1196
|
+
#
|
1197
|
+
# @example Response structure
|
1198
|
+
#
|
1199
|
+
# resp.arn #=> String
|
1200
|
+
# resp.creation_timestamp #=> String
|
1201
|
+
# resp.id #=> String
|
1202
|
+
# resp.last_updated_timestamp #=> String
|
1203
|
+
# resp.latest_version #=> String
|
1204
|
+
# resp.latest_version_arn #=> String
|
1205
|
+
# resp.name #=> String
|
1206
|
+
#
|
1207
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetCoreDefinition AWS API Documentation
|
1208
|
+
#
|
1209
|
+
# @overload get_core_definition(params = {})
|
1210
|
+
# @param [Hash] params ({})
|
1211
|
+
def get_core_definition(params = {}, options = {})
|
1212
|
+
req = build_request(:get_core_definition, params)
|
1213
|
+
req.send_request(options)
|
1214
|
+
end
|
1215
|
+
|
1216
|
+
# Retrieves information about a core definition version.
|
1217
|
+
#
|
1218
|
+
# @option params [required, String] :core_definition_id
|
1219
|
+
#
|
1220
|
+
# @option params [required, String] :core_definition_version_id
|
1221
|
+
#
|
1222
|
+
# @return [Types::GetCoreDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1223
|
+
#
|
1224
|
+
# * {Types::GetCoreDefinitionVersionResponse#arn #arn} => String
|
1225
|
+
# * {Types::GetCoreDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
|
1226
|
+
# * {Types::GetCoreDefinitionVersionResponse#definition #definition} => Types::CoreDefinitionVersion
|
1227
|
+
# * {Types::GetCoreDefinitionVersionResponse#id #id} => String
|
1228
|
+
# * {Types::GetCoreDefinitionVersionResponse#version #version} => String
|
1229
|
+
#
|
1230
|
+
# @example Request syntax with placeholder values
|
1231
|
+
#
|
1232
|
+
# resp = client.get_core_definition_version({
|
1233
|
+
# core_definition_id: "__string", # required
|
1234
|
+
# core_definition_version_id: "__string", # required
|
1235
|
+
# })
|
1236
|
+
#
|
1237
|
+
# @example Response structure
|
1238
|
+
#
|
1239
|
+
# resp.arn #=> String
|
1240
|
+
# resp.creation_timestamp #=> String
|
1241
|
+
# resp.definition.cores #=> Array
|
1242
|
+
# resp.definition.cores[0].certificate_arn #=> String
|
1243
|
+
# resp.definition.cores[0].id #=> String
|
1244
|
+
# resp.definition.cores[0].sync_shadow #=> Boolean
|
1245
|
+
# resp.definition.cores[0].thing_arn #=> String
|
1246
|
+
# resp.id #=> String
|
1247
|
+
# resp.version #=> String
|
1248
|
+
#
|
1249
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetCoreDefinitionVersion AWS API Documentation
|
1250
|
+
#
|
1251
|
+
# @overload get_core_definition_version(params = {})
|
1252
|
+
# @param [Hash] params ({})
|
1253
|
+
def get_core_definition_version(params = {}, options = {})
|
1254
|
+
req = build_request(:get_core_definition_version, params)
|
1255
|
+
req.send_request(options)
|
1256
|
+
end
|
1257
|
+
|
1258
|
+
# Returns the status of a deployment.
|
1259
|
+
#
|
1260
|
+
# @option params [required, String] :deployment_id
|
1261
|
+
#
|
1262
|
+
# @option params [required, String] :group_id
|
1263
|
+
#
|
1264
|
+
# @return [Types::GetDeploymentStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1265
|
+
#
|
1266
|
+
# * {Types::GetDeploymentStatusResponse#deployment_status #deployment_status} => String
|
1267
|
+
# * {Types::GetDeploymentStatusResponse#error_message #error_message} => String
|
1268
|
+
# * {Types::GetDeploymentStatusResponse#updated_at #updated_at} => String
|
1269
|
+
#
|
1270
|
+
# @example Request syntax with placeholder values
|
1271
|
+
#
|
1272
|
+
# resp = client.get_deployment_status({
|
1273
|
+
# deployment_id: "__string", # required
|
1274
|
+
# group_id: "__string", # required
|
1275
|
+
# })
|
1276
|
+
#
|
1277
|
+
# @example Response structure
|
1278
|
+
#
|
1279
|
+
# resp.deployment_status #=> String
|
1280
|
+
# resp.error_message #=> String
|
1281
|
+
# resp.updated_at #=> String
|
1282
|
+
#
|
1283
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetDeploymentStatus AWS API Documentation
|
1284
|
+
#
|
1285
|
+
# @overload get_deployment_status(params = {})
|
1286
|
+
# @param [Hash] params ({})
|
1287
|
+
def get_deployment_status(params = {}, options = {})
|
1288
|
+
req = build_request(:get_deployment_status, params)
|
1289
|
+
req.send_request(options)
|
1290
|
+
end
|
1291
|
+
|
1292
|
+
# Retrieves information about a device definition.
|
1293
|
+
#
|
1294
|
+
# @option params [required, String] :device_definition_id
|
1295
|
+
#
|
1296
|
+
# @return [Types::GetDeviceDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1297
|
+
#
|
1298
|
+
# * {Types::GetDeviceDefinitionResponse#arn #arn} => String
|
1299
|
+
# * {Types::GetDeviceDefinitionResponse#creation_timestamp #creation_timestamp} => String
|
1300
|
+
# * {Types::GetDeviceDefinitionResponse#id #id} => String
|
1301
|
+
# * {Types::GetDeviceDefinitionResponse#last_updated_timestamp #last_updated_timestamp} => String
|
1302
|
+
# * {Types::GetDeviceDefinitionResponse#latest_version #latest_version} => String
|
1303
|
+
# * {Types::GetDeviceDefinitionResponse#latest_version_arn #latest_version_arn} => String
|
1304
|
+
# * {Types::GetDeviceDefinitionResponse#name #name} => String
|
1305
|
+
#
|
1306
|
+
# @example Request syntax with placeholder values
|
1307
|
+
#
|
1308
|
+
# resp = client.get_device_definition({
|
1309
|
+
# device_definition_id: "__string", # required
|
1310
|
+
# })
|
1311
|
+
#
|
1312
|
+
# @example Response structure
|
1313
|
+
#
|
1314
|
+
# resp.arn #=> String
|
1315
|
+
# resp.creation_timestamp #=> String
|
1316
|
+
# resp.id #=> String
|
1317
|
+
# resp.last_updated_timestamp #=> String
|
1318
|
+
# resp.latest_version #=> String
|
1319
|
+
# resp.latest_version_arn #=> String
|
1320
|
+
# resp.name #=> String
|
1321
|
+
#
|
1322
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetDeviceDefinition AWS API Documentation
|
1323
|
+
#
|
1324
|
+
# @overload get_device_definition(params = {})
|
1325
|
+
# @param [Hash] params ({})
|
1326
|
+
def get_device_definition(params = {}, options = {})
|
1327
|
+
req = build_request(:get_device_definition, params)
|
1328
|
+
req.send_request(options)
|
1329
|
+
end
|
1330
|
+
|
1331
|
+
# Retrieves information about a device definition version.
|
1332
|
+
#
|
1333
|
+
# @option params [required, String] :device_definition_id
|
1334
|
+
#
|
1335
|
+
# @option params [required, String] :device_definition_version_id
|
1336
|
+
#
|
1337
|
+
# @return [Types::GetDeviceDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1338
|
+
#
|
1339
|
+
# * {Types::GetDeviceDefinitionVersionResponse#arn #arn} => String
|
1340
|
+
# * {Types::GetDeviceDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
|
1341
|
+
# * {Types::GetDeviceDefinitionVersionResponse#definition #definition} => Types::DeviceDefinitionVersion
|
1342
|
+
# * {Types::GetDeviceDefinitionVersionResponse#id #id} => String
|
1343
|
+
# * {Types::GetDeviceDefinitionVersionResponse#version #version} => String
|
1344
|
+
#
|
1345
|
+
# @example Request syntax with placeholder values
|
1346
|
+
#
|
1347
|
+
# resp = client.get_device_definition_version({
|
1348
|
+
# device_definition_id: "__string", # required
|
1349
|
+
# device_definition_version_id: "__string", # required
|
1350
|
+
# })
|
1351
|
+
#
|
1352
|
+
# @example Response structure
|
1353
|
+
#
|
1354
|
+
# resp.arn #=> String
|
1355
|
+
# resp.creation_timestamp #=> String
|
1356
|
+
# resp.definition.devices #=> Array
|
1357
|
+
# resp.definition.devices[0].certificate_arn #=> String
|
1358
|
+
# resp.definition.devices[0].id #=> String
|
1359
|
+
# resp.definition.devices[0].sync_shadow #=> Boolean
|
1360
|
+
# resp.definition.devices[0].thing_arn #=> String
|
1361
|
+
# resp.id #=> String
|
1362
|
+
# resp.version #=> String
|
1363
|
+
#
|
1364
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetDeviceDefinitionVersion AWS API Documentation
|
1365
|
+
#
|
1366
|
+
# @overload get_device_definition_version(params = {})
|
1367
|
+
# @param [Hash] params ({})
|
1368
|
+
def get_device_definition_version(params = {}, options = {})
|
1369
|
+
req = build_request(:get_device_definition_version, params)
|
1370
|
+
req.send_request(options)
|
1371
|
+
end
|
1372
|
+
|
1373
|
+
# Retrieves information about a Lambda function definition, such as its
|
1374
|
+
# creation time and latest version.
|
1375
|
+
#
|
1376
|
+
# @option params [required, String] :function_definition_id
|
1377
|
+
#
|
1378
|
+
# @return [Types::GetFunctionDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1379
|
+
#
|
1380
|
+
# * {Types::GetFunctionDefinitionResponse#arn #arn} => String
|
1381
|
+
# * {Types::GetFunctionDefinitionResponse#creation_timestamp #creation_timestamp} => String
|
1382
|
+
# * {Types::GetFunctionDefinitionResponse#id #id} => String
|
1383
|
+
# * {Types::GetFunctionDefinitionResponse#last_updated_timestamp #last_updated_timestamp} => String
|
1384
|
+
# * {Types::GetFunctionDefinitionResponse#latest_version #latest_version} => String
|
1385
|
+
# * {Types::GetFunctionDefinitionResponse#latest_version_arn #latest_version_arn} => String
|
1386
|
+
# * {Types::GetFunctionDefinitionResponse#name #name} => String
|
1387
|
+
#
|
1388
|
+
# @example Request syntax with placeholder values
|
1389
|
+
#
|
1390
|
+
# resp = client.get_function_definition({
|
1391
|
+
# function_definition_id: "__string", # required
|
1392
|
+
# })
|
1393
|
+
#
|
1394
|
+
# @example Response structure
|
1395
|
+
#
|
1396
|
+
# resp.arn #=> String
|
1397
|
+
# resp.creation_timestamp #=> String
|
1398
|
+
# resp.id #=> String
|
1399
|
+
# resp.last_updated_timestamp #=> String
|
1400
|
+
# resp.latest_version #=> String
|
1401
|
+
# resp.latest_version_arn #=> String
|
1402
|
+
# resp.name #=> String
|
1403
|
+
#
|
1404
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetFunctionDefinition AWS API Documentation
|
1405
|
+
#
|
1406
|
+
# @overload get_function_definition(params = {})
|
1407
|
+
# @param [Hash] params ({})
|
1408
|
+
def get_function_definition(params = {}, options = {})
|
1409
|
+
req = build_request(:get_function_definition, params)
|
1410
|
+
req.send_request(options)
|
1411
|
+
end
|
1412
|
+
|
1413
|
+
# Retrieves information about a Lambda function definition version, such
|
1414
|
+
# as which Lambda functions are included in the version and their
|
1415
|
+
# configurations.
|
1416
|
+
#
|
1417
|
+
# @option params [required, String] :function_definition_id
|
1418
|
+
#
|
1419
|
+
# @option params [required, String] :function_definition_version_id
|
1420
|
+
#
|
1421
|
+
# @return [Types::GetFunctionDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1422
|
+
#
|
1423
|
+
# * {Types::GetFunctionDefinitionVersionResponse#arn #arn} => String
|
1424
|
+
# * {Types::GetFunctionDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
|
1425
|
+
# * {Types::GetFunctionDefinitionVersionResponse#definition #definition} => Types::FunctionDefinitionVersion
|
1426
|
+
# * {Types::GetFunctionDefinitionVersionResponse#id #id} => String
|
1427
|
+
# * {Types::GetFunctionDefinitionVersionResponse#version #version} => String
|
1428
|
+
#
|
1429
|
+
# @example Request syntax with placeholder values
|
1430
|
+
#
|
1431
|
+
# resp = client.get_function_definition_version({
|
1432
|
+
# function_definition_id: "__string", # required
|
1433
|
+
# function_definition_version_id: "__string", # required
|
1434
|
+
# })
|
1435
|
+
#
|
1436
|
+
# @example Response structure
|
1437
|
+
#
|
1438
|
+
# resp.arn #=> String
|
1439
|
+
# resp.creation_timestamp #=> String
|
1440
|
+
# resp.definition.functions #=> Array
|
1441
|
+
# resp.definition.functions[0].function_arn #=> String
|
1442
|
+
# resp.definition.functions[0].function_configuration.environment.variables #=> Hash
|
1443
|
+
# resp.definition.functions[0].function_configuration.environment.variables["__string"] #=> String
|
1444
|
+
# resp.definition.functions[0].function_configuration.exec_args #=> String
|
1445
|
+
# resp.definition.functions[0].function_configuration.executable #=> String
|
1446
|
+
# resp.definition.functions[0].function_configuration.memory_size #=> Integer
|
1447
|
+
# resp.definition.functions[0].function_configuration.pinned #=> Boolean
|
1448
|
+
# resp.definition.functions[0].function_configuration.timeout #=> Integer
|
1449
|
+
# resp.definition.functions[0].id #=> String
|
1450
|
+
# resp.id #=> String
|
1451
|
+
# resp.version #=> String
|
1452
|
+
#
|
1453
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetFunctionDefinitionVersion AWS API Documentation
|
1454
|
+
#
|
1455
|
+
# @overload get_function_definition_version(params = {})
|
1456
|
+
# @param [Hash] params ({})
|
1457
|
+
def get_function_definition_version(params = {}, options = {})
|
1458
|
+
req = build_request(:get_function_definition_version, params)
|
1459
|
+
req.send_request(options)
|
1460
|
+
end
|
1461
|
+
|
1462
|
+
# Retrieves information about a group.
|
1463
|
+
#
|
1464
|
+
# @option params [required, String] :group_id
|
1465
|
+
#
|
1466
|
+
# @return [Types::GetGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1467
|
+
#
|
1468
|
+
# * {Types::GetGroupResponse#arn #arn} => String
|
1469
|
+
# * {Types::GetGroupResponse#creation_timestamp #creation_timestamp} => String
|
1470
|
+
# * {Types::GetGroupResponse#id #id} => String
|
1471
|
+
# * {Types::GetGroupResponse#last_updated_timestamp #last_updated_timestamp} => String
|
1472
|
+
# * {Types::GetGroupResponse#latest_version #latest_version} => String
|
1473
|
+
# * {Types::GetGroupResponse#latest_version_arn #latest_version_arn} => String
|
1474
|
+
# * {Types::GetGroupResponse#name #name} => String
|
1475
|
+
#
|
1476
|
+
# @example Request syntax with placeholder values
|
1477
|
+
#
|
1478
|
+
# resp = client.get_group({
|
1479
|
+
# group_id: "__string", # required
|
1480
|
+
# })
|
1481
|
+
#
|
1482
|
+
# @example Response structure
|
1483
|
+
#
|
1484
|
+
# resp.arn #=> String
|
1485
|
+
# resp.creation_timestamp #=> String
|
1486
|
+
# resp.id #=> String
|
1487
|
+
# resp.last_updated_timestamp #=> String
|
1488
|
+
# resp.latest_version #=> String
|
1489
|
+
# resp.latest_version_arn #=> String
|
1490
|
+
# resp.name #=> String
|
1491
|
+
#
|
1492
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetGroup AWS API Documentation
|
1493
|
+
#
|
1494
|
+
# @overload get_group(params = {})
|
1495
|
+
# @param [Hash] params ({})
|
1496
|
+
def get_group(params = {}, options = {})
|
1497
|
+
req = build_request(:get_group, params)
|
1498
|
+
req.send_request(options)
|
1499
|
+
end
|
1500
|
+
|
1501
|
+
# Retreives the CA associated with a group. Returns the public key of
|
1502
|
+
# the CA.
|
1503
|
+
#
|
1504
|
+
# @option params [required, String] :certificate_authority_id
|
1505
|
+
#
|
1506
|
+
# @option params [required, String] :group_id
|
1507
|
+
#
|
1508
|
+
# @return [Types::GetGroupCertificateAuthorityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1509
|
+
#
|
1510
|
+
# * {Types::GetGroupCertificateAuthorityResponse#group_certificate_authority_arn #group_certificate_authority_arn} => String
|
1511
|
+
# * {Types::GetGroupCertificateAuthorityResponse#group_certificate_authority_id #group_certificate_authority_id} => String
|
1512
|
+
# * {Types::GetGroupCertificateAuthorityResponse#pem_encoded_certificate #pem_encoded_certificate} => String
|
1513
|
+
#
|
1514
|
+
# @example Request syntax with placeholder values
|
1515
|
+
#
|
1516
|
+
# resp = client.get_group_certificate_authority({
|
1517
|
+
# certificate_authority_id: "__string", # required
|
1518
|
+
# group_id: "__string", # required
|
1519
|
+
# })
|
1520
|
+
#
|
1521
|
+
# @example Response structure
|
1522
|
+
#
|
1523
|
+
# resp.group_certificate_authority_arn #=> String
|
1524
|
+
# resp.group_certificate_authority_id #=> String
|
1525
|
+
# resp.pem_encoded_certificate #=> String
|
1526
|
+
#
|
1527
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetGroupCertificateAuthority AWS API Documentation
|
1528
|
+
#
|
1529
|
+
# @overload get_group_certificate_authority(params = {})
|
1530
|
+
# @param [Hash] params ({})
|
1531
|
+
def get_group_certificate_authority(params = {}, options = {})
|
1532
|
+
req = build_request(:get_group_certificate_authority, params)
|
1533
|
+
req.send_request(options)
|
1534
|
+
end
|
1535
|
+
|
1536
|
+
# Retrieves the current configuration for the CA used by the group.
|
1537
|
+
#
|
1538
|
+
# @option params [required, String] :group_id
|
1539
|
+
#
|
1540
|
+
# @return [Types::GetGroupCertificateConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1541
|
+
#
|
1542
|
+
# * {Types::GetGroupCertificateConfigurationResponse#certificate_authority_expiry_in_milliseconds #certificate_authority_expiry_in_milliseconds} => String
|
1543
|
+
# * {Types::GetGroupCertificateConfigurationResponse#certificate_expiry_in_milliseconds #certificate_expiry_in_milliseconds} => String
|
1544
|
+
# * {Types::GetGroupCertificateConfigurationResponse#group_id #group_id} => String
|
1545
|
+
#
|
1546
|
+
# @example Request syntax with placeholder values
|
1547
|
+
#
|
1548
|
+
# resp = client.get_group_certificate_configuration({
|
1549
|
+
# group_id: "__string", # required
|
1550
|
+
# })
|
1551
|
+
#
|
1552
|
+
# @example Response structure
|
1553
|
+
#
|
1554
|
+
# resp.certificate_authority_expiry_in_milliseconds #=> String
|
1555
|
+
# resp.certificate_expiry_in_milliseconds #=> String
|
1556
|
+
# resp.group_id #=> String
|
1557
|
+
#
|
1558
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetGroupCertificateConfiguration AWS API Documentation
|
1559
|
+
#
|
1560
|
+
# @overload get_group_certificate_configuration(params = {})
|
1561
|
+
# @param [Hash] params ({})
|
1562
|
+
def get_group_certificate_configuration(params = {}, options = {})
|
1563
|
+
req = build_request(:get_group_certificate_configuration, params)
|
1564
|
+
req.send_request(options)
|
1565
|
+
end
|
1566
|
+
|
1567
|
+
# Retrieves information about a group version.
|
1568
|
+
#
|
1569
|
+
# @option params [required, String] :group_id
|
1570
|
+
#
|
1571
|
+
# @option params [required, String] :group_version_id
|
1572
|
+
#
|
1573
|
+
# @return [Types::GetGroupVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1574
|
+
#
|
1575
|
+
# * {Types::GetGroupVersionResponse#arn #arn} => String
|
1576
|
+
# * {Types::GetGroupVersionResponse#creation_timestamp #creation_timestamp} => String
|
1577
|
+
# * {Types::GetGroupVersionResponse#definition #definition} => Types::GroupVersion
|
1578
|
+
# * {Types::GetGroupVersionResponse#id #id} => String
|
1579
|
+
# * {Types::GetGroupVersionResponse#version #version} => String
|
1580
|
+
#
|
1581
|
+
# @example Request syntax with placeholder values
|
1582
|
+
#
|
1583
|
+
# resp = client.get_group_version({
|
1584
|
+
# group_id: "__string", # required
|
1585
|
+
# group_version_id: "__string", # required
|
1586
|
+
# })
|
1587
|
+
#
|
1588
|
+
# @example Response structure
|
1589
|
+
#
|
1590
|
+
# resp.arn #=> String
|
1591
|
+
# resp.creation_timestamp #=> String
|
1592
|
+
# resp.definition.core_definition_version_arn #=> String
|
1593
|
+
# resp.definition.device_definition_version_arn #=> String
|
1594
|
+
# resp.definition.function_definition_version_arn #=> String
|
1595
|
+
# resp.definition.logger_definition_version_arn #=> String
|
1596
|
+
# resp.definition.subscription_definition_version_arn #=> String
|
1597
|
+
# resp.id #=> String
|
1598
|
+
# resp.version #=> String
|
1599
|
+
#
|
1600
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetGroupVersion AWS API Documentation
|
1601
|
+
#
|
1602
|
+
# @overload get_group_version(params = {})
|
1603
|
+
# @param [Hash] params ({})
|
1604
|
+
def get_group_version(params = {}, options = {})
|
1605
|
+
req = build_request(:get_group_version, params)
|
1606
|
+
req.send_request(options)
|
1607
|
+
end
|
1608
|
+
|
1609
|
+
# Retrieves information about a logger definition.
|
1610
|
+
#
|
1611
|
+
# @option params [required, String] :logger_definition_id
|
1612
|
+
#
|
1613
|
+
# @return [Types::GetLoggerDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1614
|
+
#
|
1615
|
+
# * {Types::GetLoggerDefinitionResponse#arn #arn} => String
|
1616
|
+
# * {Types::GetLoggerDefinitionResponse#creation_timestamp #creation_timestamp} => String
|
1617
|
+
# * {Types::GetLoggerDefinitionResponse#id #id} => String
|
1618
|
+
# * {Types::GetLoggerDefinitionResponse#last_updated_timestamp #last_updated_timestamp} => String
|
1619
|
+
# * {Types::GetLoggerDefinitionResponse#latest_version #latest_version} => String
|
1620
|
+
# * {Types::GetLoggerDefinitionResponse#latest_version_arn #latest_version_arn} => String
|
1621
|
+
# * {Types::GetLoggerDefinitionResponse#name #name} => String
|
1622
|
+
#
|
1623
|
+
# @example Request syntax with placeholder values
|
1624
|
+
#
|
1625
|
+
# resp = client.get_logger_definition({
|
1626
|
+
# logger_definition_id: "__string", # required
|
1627
|
+
# })
|
1628
|
+
#
|
1629
|
+
# @example Response structure
|
1630
|
+
#
|
1631
|
+
# resp.arn #=> String
|
1632
|
+
# resp.creation_timestamp #=> String
|
1633
|
+
# resp.id #=> String
|
1634
|
+
# resp.last_updated_timestamp #=> String
|
1635
|
+
# resp.latest_version #=> String
|
1636
|
+
# resp.latest_version_arn #=> String
|
1637
|
+
# resp.name #=> String
|
1638
|
+
#
|
1639
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetLoggerDefinition AWS API Documentation
|
1640
|
+
#
|
1641
|
+
# @overload get_logger_definition(params = {})
|
1642
|
+
# @param [Hash] params ({})
|
1643
|
+
def get_logger_definition(params = {}, options = {})
|
1644
|
+
req = build_request(:get_logger_definition, params)
|
1645
|
+
req.send_request(options)
|
1646
|
+
end
|
1647
|
+
|
1648
|
+
# Retrieves information about a logger definition version.
|
1649
|
+
#
|
1650
|
+
# @option params [required, String] :logger_definition_id
|
1651
|
+
#
|
1652
|
+
# @option params [required, String] :logger_definition_version_id
|
1653
|
+
#
|
1654
|
+
# @return [Types::GetLoggerDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1655
|
+
#
|
1656
|
+
# * {Types::GetLoggerDefinitionVersionResponse#arn #arn} => String
|
1657
|
+
# * {Types::GetLoggerDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
|
1658
|
+
# * {Types::GetLoggerDefinitionVersionResponse#definition #definition} => Types::LoggerDefinitionVersion
|
1659
|
+
# * {Types::GetLoggerDefinitionVersionResponse#id #id} => String
|
1660
|
+
# * {Types::GetLoggerDefinitionVersionResponse#version #version} => String
|
1661
|
+
#
|
1662
|
+
# @example Request syntax with placeholder values
|
1663
|
+
#
|
1664
|
+
# resp = client.get_logger_definition_version({
|
1665
|
+
# logger_definition_id: "__string", # required
|
1666
|
+
# logger_definition_version_id: "__string", # required
|
1667
|
+
# })
|
1668
|
+
#
|
1669
|
+
# @example Response structure
|
1670
|
+
#
|
1671
|
+
# resp.arn #=> String
|
1672
|
+
# resp.creation_timestamp #=> String
|
1673
|
+
# resp.definition.loggers #=> Array
|
1674
|
+
# resp.definition.loggers[0].component #=> String, one of "GreengrassSystem", "Lambda"
|
1675
|
+
# resp.definition.loggers[0].id #=> String
|
1676
|
+
# resp.definition.loggers[0].level #=> String, one of "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
|
1677
|
+
# resp.definition.loggers[0].space #=> Integer
|
1678
|
+
# resp.definition.loggers[0].type #=> String, one of "FileSystem", "AWSCloudWatch"
|
1679
|
+
# resp.id #=> String
|
1680
|
+
# resp.version #=> String
|
1681
|
+
#
|
1682
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetLoggerDefinitionVersion AWS API Documentation
|
1683
|
+
#
|
1684
|
+
# @overload get_logger_definition_version(params = {})
|
1685
|
+
# @param [Hash] params ({})
|
1686
|
+
def get_logger_definition_version(params = {}, options = {})
|
1687
|
+
req = build_request(:get_logger_definition_version, params)
|
1688
|
+
req.send_request(options)
|
1689
|
+
end
|
1690
|
+
|
1691
|
+
# Retrieves the service role that is attached to the account.
|
1692
|
+
#
|
1693
|
+
# @return [Types::GetServiceRoleForAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1694
|
+
#
|
1695
|
+
# * {Types::GetServiceRoleForAccountResponse#associated_at #associated_at} => String
|
1696
|
+
# * {Types::GetServiceRoleForAccountResponse#role_arn #role_arn} => String
|
1697
|
+
#
|
1698
|
+
# @example Response structure
|
1699
|
+
#
|
1700
|
+
# resp.associated_at #=> String
|
1701
|
+
# resp.role_arn #=> String
|
1702
|
+
#
|
1703
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetServiceRoleForAccount AWS API Documentation
|
1704
|
+
#
|
1705
|
+
# @overload get_service_role_for_account(params = {})
|
1706
|
+
# @param [Hash] params ({})
|
1707
|
+
def get_service_role_for_account(params = {}, options = {})
|
1708
|
+
req = build_request(:get_service_role_for_account, params)
|
1709
|
+
req.send_request(options)
|
1710
|
+
end
|
1711
|
+
|
1712
|
+
# Retrieves information about a subscription definition.
|
1713
|
+
#
|
1714
|
+
# @option params [required, String] :subscription_definition_id
|
1715
|
+
#
|
1716
|
+
# @return [Types::GetSubscriptionDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1717
|
+
#
|
1718
|
+
# * {Types::GetSubscriptionDefinitionResponse#arn #arn} => String
|
1719
|
+
# * {Types::GetSubscriptionDefinitionResponse#creation_timestamp #creation_timestamp} => String
|
1720
|
+
# * {Types::GetSubscriptionDefinitionResponse#id #id} => String
|
1721
|
+
# * {Types::GetSubscriptionDefinitionResponse#last_updated_timestamp #last_updated_timestamp} => String
|
1722
|
+
# * {Types::GetSubscriptionDefinitionResponse#latest_version #latest_version} => String
|
1723
|
+
# * {Types::GetSubscriptionDefinitionResponse#latest_version_arn #latest_version_arn} => String
|
1724
|
+
# * {Types::GetSubscriptionDefinitionResponse#name #name} => String
|
1725
|
+
#
|
1726
|
+
# @example Request syntax with placeholder values
|
1727
|
+
#
|
1728
|
+
# resp = client.get_subscription_definition({
|
1729
|
+
# subscription_definition_id: "__string", # required
|
1730
|
+
# })
|
1731
|
+
#
|
1732
|
+
# @example Response structure
|
1733
|
+
#
|
1734
|
+
# resp.arn #=> String
|
1735
|
+
# resp.creation_timestamp #=> String
|
1736
|
+
# resp.id #=> String
|
1737
|
+
# resp.last_updated_timestamp #=> String
|
1738
|
+
# resp.latest_version #=> String
|
1739
|
+
# resp.latest_version_arn #=> String
|
1740
|
+
# resp.name #=> String
|
1741
|
+
#
|
1742
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetSubscriptionDefinition AWS API Documentation
|
1743
|
+
#
|
1744
|
+
# @overload get_subscription_definition(params = {})
|
1745
|
+
# @param [Hash] params ({})
|
1746
|
+
def get_subscription_definition(params = {}, options = {})
|
1747
|
+
req = build_request(:get_subscription_definition, params)
|
1748
|
+
req.send_request(options)
|
1749
|
+
end
|
1750
|
+
|
1751
|
+
# Retrieves information about a subscription definition version.
|
1752
|
+
#
|
1753
|
+
# @option params [required, String] :subscription_definition_id
|
1754
|
+
#
|
1755
|
+
# @option params [required, String] :subscription_definition_version_id
|
1756
|
+
#
|
1757
|
+
# @return [Types::GetSubscriptionDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1758
|
+
#
|
1759
|
+
# * {Types::GetSubscriptionDefinitionVersionResponse#arn #arn} => String
|
1760
|
+
# * {Types::GetSubscriptionDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
|
1761
|
+
# * {Types::GetSubscriptionDefinitionVersionResponse#definition #definition} => Types::SubscriptionDefinitionVersion
|
1762
|
+
# * {Types::GetSubscriptionDefinitionVersionResponse#id #id} => String
|
1763
|
+
# * {Types::GetSubscriptionDefinitionVersionResponse#version #version} => String
|
1764
|
+
#
|
1765
|
+
# @example Request syntax with placeholder values
|
1766
|
+
#
|
1767
|
+
# resp = client.get_subscription_definition_version({
|
1768
|
+
# subscription_definition_id: "__string", # required
|
1769
|
+
# subscription_definition_version_id: "__string", # required
|
1770
|
+
# })
|
1771
|
+
#
|
1772
|
+
# @example Response structure
|
1773
|
+
#
|
1774
|
+
# resp.arn #=> String
|
1775
|
+
# resp.creation_timestamp #=> String
|
1776
|
+
# resp.definition.subscriptions #=> Array
|
1777
|
+
# resp.definition.subscriptions[0].id #=> String
|
1778
|
+
# resp.definition.subscriptions[0].source #=> String
|
1779
|
+
# resp.definition.subscriptions[0].subject #=> String
|
1780
|
+
# resp.definition.subscriptions[0].target #=> String
|
1781
|
+
# resp.id #=> String
|
1782
|
+
# resp.version #=> String
|
1783
|
+
#
|
1784
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetSubscriptionDefinitionVersion AWS API Documentation
|
1785
|
+
#
|
1786
|
+
# @overload get_subscription_definition_version(params = {})
|
1787
|
+
# @param [Hash] params ({})
|
1788
|
+
def get_subscription_definition_version(params = {}, options = {})
|
1789
|
+
req = build_request(:get_subscription_definition_version, params)
|
1790
|
+
req.send_request(options)
|
1791
|
+
end
|
1792
|
+
|
1793
|
+
# Lists versions of a core definition.
|
1794
|
+
#
|
1795
|
+
# @option params [required, String] :core_definition_id
|
1796
|
+
#
|
1797
|
+
# @option params [String] :max_results
|
1798
|
+
#
|
1799
|
+
# @option params [String] :next_token
|
1800
|
+
#
|
1801
|
+
# @return [Types::ListCoreDefinitionVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1802
|
+
#
|
1803
|
+
# * {Types::ListCoreDefinitionVersionsResponse#next_token #next_token} => String
|
1804
|
+
# * {Types::ListCoreDefinitionVersionsResponse#versions #versions} => Array<Types::VersionInformation>
|
1805
|
+
#
|
1806
|
+
# @example Request syntax with placeholder values
|
1807
|
+
#
|
1808
|
+
# resp = client.list_core_definition_versions({
|
1809
|
+
# core_definition_id: "__string", # required
|
1810
|
+
# max_results: "__string",
|
1811
|
+
# next_token: "__string",
|
1812
|
+
# })
|
1813
|
+
#
|
1814
|
+
# @example Response structure
|
1815
|
+
#
|
1816
|
+
# resp.next_token #=> String
|
1817
|
+
# resp.versions #=> Array
|
1818
|
+
# resp.versions[0].arn #=> String
|
1819
|
+
# resp.versions[0].creation_timestamp #=> String
|
1820
|
+
# resp.versions[0].id #=> String
|
1821
|
+
# resp.versions[0].version #=> String
|
1822
|
+
#
|
1823
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListCoreDefinitionVersions AWS API Documentation
|
1824
|
+
#
|
1825
|
+
# @overload list_core_definition_versions(params = {})
|
1826
|
+
# @param [Hash] params ({})
|
1827
|
+
def list_core_definition_versions(params = {}, options = {})
|
1828
|
+
req = build_request(:list_core_definition_versions, params)
|
1829
|
+
req.send_request(options)
|
1830
|
+
end
|
1831
|
+
|
1832
|
+
# Retrieves a list of core definitions.
|
1833
|
+
#
|
1834
|
+
# @option params [String] :max_results
|
1835
|
+
#
|
1836
|
+
# @option params [String] :next_token
|
1837
|
+
#
|
1838
|
+
# @return [Types::ListCoreDefinitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1839
|
+
#
|
1840
|
+
# * {Types::ListCoreDefinitionsResponse#definitions #definitions} => Array<Types::DefinitionInformation>
|
1841
|
+
# * {Types::ListCoreDefinitionsResponse#next_token #next_token} => String
|
1842
|
+
#
|
1843
|
+
# @example Request syntax with placeholder values
|
1844
|
+
#
|
1845
|
+
# resp = client.list_core_definitions({
|
1846
|
+
# max_results: "__string",
|
1847
|
+
# next_token: "__string",
|
1848
|
+
# })
|
1849
|
+
#
|
1850
|
+
# @example Response structure
|
1851
|
+
#
|
1852
|
+
# resp.definitions #=> Array
|
1853
|
+
# resp.definitions[0].arn #=> String
|
1854
|
+
# resp.definitions[0].creation_timestamp #=> String
|
1855
|
+
# resp.definitions[0].id #=> String
|
1856
|
+
# resp.definitions[0].last_updated_timestamp #=> String
|
1857
|
+
# resp.definitions[0].latest_version #=> String
|
1858
|
+
# resp.definitions[0].latest_version_arn #=> String
|
1859
|
+
# resp.definitions[0].name #=> String
|
1860
|
+
# resp.next_token #=> String
|
1861
|
+
#
|
1862
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListCoreDefinitions AWS API Documentation
|
1863
|
+
#
|
1864
|
+
# @overload list_core_definitions(params = {})
|
1865
|
+
# @param [Hash] params ({})
|
1866
|
+
def list_core_definitions(params = {}, options = {})
|
1867
|
+
req = build_request(:list_core_definitions, params)
|
1868
|
+
req.send_request(options)
|
1869
|
+
end
|
1870
|
+
|
1871
|
+
# Returns a history of deployments for the group.
|
1872
|
+
#
|
1873
|
+
# @option params [required, String] :group_id
|
1874
|
+
#
|
1875
|
+
# @option params [String] :max_results
|
1876
|
+
#
|
1877
|
+
# @option params [String] :next_token
|
1878
|
+
#
|
1879
|
+
# @return [Types::ListDeploymentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1880
|
+
#
|
1881
|
+
# * {Types::ListDeploymentsResponse#deployments #deployments} => Array<Types::Deployment>
|
1882
|
+
# * {Types::ListDeploymentsResponse#next_token #next_token} => String
|
1883
|
+
#
|
1884
|
+
# @example Request syntax with placeholder values
|
1885
|
+
#
|
1886
|
+
# resp = client.list_deployments({
|
1887
|
+
# group_id: "__string", # required
|
1888
|
+
# max_results: "__string",
|
1889
|
+
# next_token: "__string",
|
1890
|
+
# })
|
1891
|
+
#
|
1892
|
+
# @example Response structure
|
1893
|
+
#
|
1894
|
+
# resp.deployments #=> Array
|
1895
|
+
# resp.deployments[0].created_at #=> String
|
1896
|
+
# resp.deployments[0].deployment_arn #=> String
|
1897
|
+
# resp.deployments[0].deployment_id #=> String
|
1898
|
+
# resp.deployments[0].group_arn #=> String
|
1899
|
+
# resp.next_token #=> String
|
1900
|
+
#
|
1901
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListDeployments AWS API Documentation
|
1902
|
+
#
|
1903
|
+
# @overload list_deployments(params = {})
|
1904
|
+
# @param [Hash] params ({})
|
1905
|
+
def list_deployments(params = {}, options = {})
|
1906
|
+
req = build_request(:list_deployments, params)
|
1907
|
+
req.send_request(options)
|
1908
|
+
end
|
1909
|
+
|
1910
|
+
# Lists the versions of a device definition.
|
1911
|
+
#
|
1912
|
+
# @option params [required, String] :device_definition_id
|
1913
|
+
#
|
1914
|
+
# @option params [String] :max_results
|
1915
|
+
#
|
1916
|
+
# @option params [String] :next_token
|
1917
|
+
#
|
1918
|
+
# @return [Types::ListDeviceDefinitionVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1919
|
+
#
|
1920
|
+
# * {Types::ListDeviceDefinitionVersionsResponse#next_token #next_token} => String
|
1921
|
+
# * {Types::ListDeviceDefinitionVersionsResponse#versions #versions} => Array<Types::VersionInformation>
|
1922
|
+
#
|
1923
|
+
# @example Request syntax with placeholder values
|
1924
|
+
#
|
1925
|
+
# resp = client.list_device_definition_versions({
|
1926
|
+
# device_definition_id: "__string", # required
|
1927
|
+
# max_results: "__string",
|
1928
|
+
# next_token: "__string",
|
1929
|
+
# })
|
1930
|
+
#
|
1931
|
+
# @example Response structure
|
1932
|
+
#
|
1933
|
+
# resp.next_token #=> String
|
1934
|
+
# resp.versions #=> Array
|
1935
|
+
# resp.versions[0].arn #=> String
|
1936
|
+
# resp.versions[0].creation_timestamp #=> String
|
1937
|
+
# resp.versions[0].id #=> String
|
1938
|
+
# resp.versions[0].version #=> String
|
1939
|
+
#
|
1940
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListDeviceDefinitionVersions AWS API Documentation
|
1941
|
+
#
|
1942
|
+
# @overload list_device_definition_versions(params = {})
|
1943
|
+
# @param [Hash] params ({})
|
1944
|
+
def list_device_definition_versions(params = {}, options = {})
|
1945
|
+
req = build_request(:list_device_definition_versions, params)
|
1946
|
+
req.send_request(options)
|
1947
|
+
end
|
1948
|
+
|
1949
|
+
# Retrieves a list of device definitions.
|
1950
|
+
#
|
1951
|
+
# @option params [String] :max_results
|
1952
|
+
#
|
1953
|
+
# @option params [String] :next_token
|
1954
|
+
#
|
1955
|
+
# @return [Types::ListDeviceDefinitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1956
|
+
#
|
1957
|
+
# * {Types::ListDeviceDefinitionsResponse#definitions #definitions} => Array<Types::DefinitionInformation>
|
1958
|
+
# * {Types::ListDeviceDefinitionsResponse#next_token #next_token} => String
|
1959
|
+
#
|
1960
|
+
# @example Request syntax with placeholder values
|
1961
|
+
#
|
1962
|
+
# resp = client.list_device_definitions({
|
1963
|
+
# max_results: "__string",
|
1964
|
+
# next_token: "__string",
|
1965
|
+
# })
|
1966
|
+
#
|
1967
|
+
# @example Response structure
|
1968
|
+
#
|
1969
|
+
# resp.definitions #=> Array
|
1970
|
+
# resp.definitions[0].arn #=> String
|
1971
|
+
# resp.definitions[0].creation_timestamp #=> String
|
1972
|
+
# resp.definitions[0].id #=> String
|
1973
|
+
# resp.definitions[0].last_updated_timestamp #=> String
|
1974
|
+
# resp.definitions[0].latest_version #=> String
|
1975
|
+
# resp.definitions[0].latest_version_arn #=> String
|
1976
|
+
# resp.definitions[0].name #=> String
|
1977
|
+
# resp.next_token #=> String
|
1978
|
+
#
|
1979
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListDeviceDefinitions AWS API Documentation
|
1980
|
+
#
|
1981
|
+
# @overload list_device_definitions(params = {})
|
1982
|
+
# @param [Hash] params ({})
|
1983
|
+
def list_device_definitions(params = {}, options = {})
|
1984
|
+
req = build_request(:list_device_definitions, params)
|
1985
|
+
req.send_request(options)
|
1986
|
+
end
|
1987
|
+
|
1988
|
+
# Lists the versions of a Lambda function definition.
|
1989
|
+
#
|
1990
|
+
# @option params [required, String] :function_definition_id
|
1991
|
+
#
|
1992
|
+
# @option params [String] :max_results
|
1993
|
+
#
|
1994
|
+
# @option params [String] :next_token
|
1995
|
+
#
|
1996
|
+
# @return [Types::ListFunctionDefinitionVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1997
|
+
#
|
1998
|
+
# * {Types::ListFunctionDefinitionVersionsResponse#next_token #next_token} => String
|
1999
|
+
# * {Types::ListFunctionDefinitionVersionsResponse#versions #versions} => Array<Types::VersionInformation>
|
2000
|
+
#
|
2001
|
+
# @example Request syntax with placeholder values
|
2002
|
+
#
|
2003
|
+
# resp = client.list_function_definition_versions({
|
2004
|
+
# function_definition_id: "__string", # required
|
2005
|
+
# max_results: "__string",
|
2006
|
+
# next_token: "__string",
|
2007
|
+
# })
|
2008
|
+
#
|
2009
|
+
# @example Response structure
|
2010
|
+
#
|
2011
|
+
# resp.next_token #=> String
|
2012
|
+
# resp.versions #=> Array
|
2013
|
+
# resp.versions[0].arn #=> String
|
2014
|
+
# resp.versions[0].creation_timestamp #=> String
|
2015
|
+
# resp.versions[0].id #=> String
|
2016
|
+
# resp.versions[0].version #=> String
|
2017
|
+
#
|
2018
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListFunctionDefinitionVersions AWS API Documentation
|
2019
|
+
#
|
2020
|
+
# @overload list_function_definition_versions(params = {})
|
2021
|
+
# @param [Hash] params ({})
|
2022
|
+
def list_function_definition_versions(params = {}, options = {})
|
2023
|
+
req = build_request(:list_function_definition_versions, params)
|
2024
|
+
req.send_request(options)
|
2025
|
+
end
|
2026
|
+
|
2027
|
+
# Retrieves a list of Lambda function definitions.
|
2028
|
+
#
|
2029
|
+
# @option params [String] :max_results
|
2030
|
+
#
|
2031
|
+
# @option params [String] :next_token
|
2032
|
+
#
|
2033
|
+
# @return [Types::ListFunctionDefinitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2034
|
+
#
|
2035
|
+
# * {Types::ListFunctionDefinitionsResponse#definitions #definitions} => Array<Types::DefinitionInformation>
|
2036
|
+
# * {Types::ListFunctionDefinitionsResponse#next_token #next_token} => String
|
2037
|
+
#
|
2038
|
+
# @example Request syntax with placeholder values
|
2039
|
+
#
|
2040
|
+
# resp = client.list_function_definitions({
|
2041
|
+
# max_results: "__string",
|
2042
|
+
# next_token: "__string",
|
2043
|
+
# })
|
2044
|
+
#
|
2045
|
+
# @example Response structure
|
2046
|
+
#
|
2047
|
+
# resp.definitions #=> Array
|
2048
|
+
# resp.definitions[0].arn #=> String
|
2049
|
+
# resp.definitions[0].creation_timestamp #=> String
|
2050
|
+
# resp.definitions[0].id #=> String
|
2051
|
+
# resp.definitions[0].last_updated_timestamp #=> String
|
2052
|
+
# resp.definitions[0].latest_version #=> String
|
2053
|
+
# resp.definitions[0].latest_version_arn #=> String
|
2054
|
+
# resp.definitions[0].name #=> String
|
2055
|
+
# resp.next_token #=> String
|
2056
|
+
#
|
2057
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListFunctionDefinitions AWS API Documentation
|
2058
|
+
#
|
2059
|
+
# @overload list_function_definitions(params = {})
|
2060
|
+
# @param [Hash] params ({})
|
2061
|
+
def list_function_definitions(params = {}, options = {})
|
2062
|
+
req = build_request(:list_function_definitions, params)
|
2063
|
+
req.send_request(options)
|
2064
|
+
end
|
2065
|
+
|
2066
|
+
# Retrieves the current CAs for a group.
|
2067
|
+
#
|
2068
|
+
# @option params [required, String] :group_id
|
2069
|
+
#
|
2070
|
+
# @return [Types::ListGroupCertificateAuthoritiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2071
|
+
#
|
2072
|
+
# * {Types::ListGroupCertificateAuthoritiesResponse#group_certificate_authorities #group_certificate_authorities} => Array<Types::GroupCertificateAuthorityProperties>
|
2073
|
+
#
|
2074
|
+
# @example Request syntax with placeholder values
|
2075
|
+
#
|
2076
|
+
# resp = client.list_group_certificate_authorities({
|
2077
|
+
# group_id: "__string", # required
|
2078
|
+
# })
|
2079
|
+
#
|
2080
|
+
# @example Response structure
|
2081
|
+
#
|
2082
|
+
# resp.group_certificate_authorities #=> Array
|
2083
|
+
# resp.group_certificate_authorities[0].group_certificate_authority_arn #=> String
|
2084
|
+
# resp.group_certificate_authorities[0].group_certificate_authority_id #=> String
|
2085
|
+
#
|
2086
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListGroupCertificateAuthorities AWS API Documentation
|
2087
|
+
#
|
2088
|
+
# @overload list_group_certificate_authorities(params = {})
|
2089
|
+
# @param [Hash] params ({})
|
2090
|
+
def list_group_certificate_authorities(params = {}, options = {})
|
2091
|
+
req = build_request(:list_group_certificate_authorities, params)
|
2092
|
+
req.send_request(options)
|
2093
|
+
end
|
2094
|
+
|
2095
|
+
# List the versions of a group.
|
2096
|
+
#
|
2097
|
+
# @option params [required, String] :group_id
|
2098
|
+
#
|
2099
|
+
# @option params [String] :max_results
|
2100
|
+
#
|
2101
|
+
# @option params [String] :next_token
|
2102
|
+
#
|
2103
|
+
# @return [Types::ListGroupVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2104
|
+
#
|
2105
|
+
# * {Types::ListGroupVersionsResponse#next_token #next_token} => String
|
2106
|
+
# * {Types::ListGroupVersionsResponse#versions #versions} => Array<Types::VersionInformation>
|
2107
|
+
#
|
2108
|
+
# @example Request syntax with placeholder values
|
2109
|
+
#
|
2110
|
+
# resp = client.list_group_versions({
|
2111
|
+
# group_id: "__string", # required
|
2112
|
+
# max_results: "__string",
|
2113
|
+
# next_token: "__string",
|
2114
|
+
# })
|
2115
|
+
#
|
2116
|
+
# @example Response structure
|
2117
|
+
#
|
2118
|
+
# resp.next_token #=> String
|
2119
|
+
# resp.versions #=> Array
|
2120
|
+
# resp.versions[0].arn #=> String
|
2121
|
+
# resp.versions[0].creation_timestamp #=> String
|
2122
|
+
# resp.versions[0].id #=> String
|
2123
|
+
# resp.versions[0].version #=> String
|
2124
|
+
#
|
2125
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListGroupVersions AWS API Documentation
|
2126
|
+
#
|
2127
|
+
# @overload list_group_versions(params = {})
|
2128
|
+
# @param [Hash] params ({})
|
2129
|
+
def list_group_versions(params = {}, options = {})
|
2130
|
+
req = build_request(:list_group_versions, params)
|
2131
|
+
req.send_request(options)
|
2132
|
+
end
|
2133
|
+
|
2134
|
+
# Retrieves a list of groups.
|
2135
|
+
#
|
2136
|
+
# @option params [String] :max_results
|
2137
|
+
#
|
2138
|
+
# @option params [String] :next_token
|
2139
|
+
#
|
2140
|
+
# @return [Types::ListGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2141
|
+
#
|
2142
|
+
# * {Types::ListGroupsResponse#groups #groups} => Array<Types::GroupInformation>
|
2143
|
+
# * {Types::ListGroupsResponse#next_token #next_token} => String
|
2144
|
+
#
|
2145
|
+
# @example Request syntax with placeholder values
|
2146
|
+
#
|
2147
|
+
# resp = client.list_groups({
|
2148
|
+
# max_results: "__string",
|
2149
|
+
# next_token: "__string",
|
2150
|
+
# })
|
2151
|
+
#
|
2152
|
+
# @example Response structure
|
2153
|
+
#
|
2154
|
+
# resp.groups #=> Array
|
2155
|
+
# resp.groups[0].arn #=> String
|
2156
|
+
# resp.groups[0].creation_timestamp #=> String
|
2157
|
+
# resp.groups[0].id #=> String
|
2158
|
+
# resp.groups[0].last_updated_timestamp #=> String
|
2159
|
+
# resp.groups[0].latest_version #=> String
|
2160
|
+
# resp.groups[0].latest_version_arn #=> String
|
2161
|
+
# resp.groups[0].name #=> String
|
2162
|
+
# resp.next_token #=> String
|
2163
|
+
#
|
2164
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListGroups AWS API Documentation
|
2165
|
+
#
|
2166
|
+
# @overload list_groups(params = {})
|
2167
|
+
# @param [Hash] params ({})
|
2168
|
+
def list_groups(params = {}, options = {})
|
2169
|
+
req = build_request(:list_groups, params)
|
2170
|
+
req.send_request(options)
|
2171
|
+
end
|
2172
|
+
|
2173
|
+
# Lists the versions of a logger definition.
|
2174
|
+
#
|
2175
|
+
# @option params [required, String] :logger_definition_id
|
2176
|
+
#
|
2177
|
+
# @option params [String] :max_results
|
2178
|
+
#
|
2179
|
+
# @option params [String] :next_token
|
2180
|
+
#
|
2181
|
+
# @return [Types::ListLoggerDefinitionVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2182
|
+
#
|
2183
|
+
# * {Types::ListLoggerDefinitionVersionsResponse#next_token #next_token} => String
|
2184
|
+
# * {Types::ListLoggerDefinitionVersionsResponse#versions #versions} => Array<Types::VersionInformation>
|
2185
|
+
#
|
2186
|
+
# @example Request syntax with placeholder values
|
2187
|
+
#
|
2188
|
+
# resp = client.list_logger_definition_versions({
|
2189
|
+
# logger_definition_id: "__string", # required
|
2190
|
+
# max_results: "__string",
|
2191
|
+
# next_token: "__string",
|
2192
|
+
# })
|
2193
|
+
#
|
2194
|
+
# @example Response structure
|
2195
|
+
#
|
2196
|
+
# resp.next_token #=> String
|
2197
|
+
# resp.versions #=> Array
|
2198
|
+
# resp.versions[0].arn #=> String
|
2199
|
+
# resp.versions[0].creation_timestamp #=> String
|
2200
|
+
# resp.versions[0].id #=> String
|
2201
|
+
# resp.versions[0].version #=> String
|
2202
|
+
#
|
2203
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListLoggerDefinitionVersions AWS API Documentation
|
2204
|
+
#
|
2205
|
+
# @overload list_logger_definition_versions(params = {})
|
2206
|
+
# @param [Hash] params ({})
|
2207
|
+
def list_logger_definition_versions(params = {}, options = {})
|
2208
|
+
req = build_request(:list_logger_definition_versions, params)
|
2209
|
+
req.send_request(options)
|
2210
|
+
end
|
2211
|
+
|
2212
|
+
# Retrieves a list of logger definitions.
|
2213
|
+
#
|
2214
|
+
# @option params [String] :max_results
|
2215
|
+
#
|
2216
|
+
# @option params [String] :next_token
|
2217
|
+
#
|
2218
|
+
# @return [Types::ListLoggerDefinitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2219
|
+
#
|
2220
|
+
# * {Types::ListLoggerDefinitionsResponse#definitions #definitions} => Array<Types::DefinitionInformation>
|
2221
|
+
# * {Types::ListLoggerDefinitionsResponse#next_token #next_token} => String
|
2222
|
+
#
|
2223
|
+
# @example Request syntax with placeholder values
|
2224
|
+
#
|
2225
|
+
# resp = client.list_logger_definitions({
|
2226
|
+
# max_results: "__string",
|
2227
|
+
# next_token: "__string",
|
2228
|
+
# })
|
2229
|
+
#
|
2230
|
+
# @example Response structure
|
2231
|
+
#
|
2232
|
+
# resp.definitions #=> Array
|
2233
|
+
# resp.definitions[0].arn #=> String
|
2234
|
+
# resp.definitions[0].creation_timestamp #=> String
|
2235
|
+
# resp.definitions[0].id #=> String
|
2236
|
+
# resp.definitions[0].last_updated_timestamp #=> String
|
2237
|
+
# resp.definitions[0].latest_version #=> String
|
2238
|
+
# resp.definitions[0].latest_version_arn #=> String
|
2239
|
+
# resp.definitions[0].name #=> String
|
2240
|
+
# resp.next_token #=> String
|
2241
|
+
#
|
2242
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListLoggerDefinitions AWS API Documentation
|
2243
|
+
#
|
2244
|
+
# @overload list_logger_definitions(params = {})
|
2245
|
+
# @param [Hash] params ({})
|
2246
|
+
def list_logger_definitions(params = {}, options = {})
|
2247
|
+
req = build_request(:list_logger_definitions, params)
|
2248
|
+
req.send_request(options)
|
2249
|
+
end
|
2250
|
+
|
2251
|
+
# Lists the versions of a subscription definition.
|
2252
|
+
#
|
2253
|
+
# @option params [String] :max_results
|
2254
|
+
#
|
2255
|
+
# @option params [String] :next_token
|
2256
|
+
#
|
2257
|
+
# @option params [required, String] :subscription_definition_id
|
2258
|
+
#
|
2259
|
+
# @return [Types::ListSubscriptionDefinitionVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2260
|
+
#
|
2261
|
+
# * {Types::ListSubscriptionDefinitionVersionsResponse#next_token #next_token} => String
|
2262
|
+
# * {Types::ListSubscriptionDefinitionVersionsResponse#versions #versions} => Array<Types::VersionInformation>
|
2263
|
+
#
|
2264
|
+
# @example Request syntax with placeholder values
|
2265
|
+
#
|
2266
|
+
# resp = client.list_subscription_definition_versions({
|
2267
|
+
# max_results: "__string",
|
2268
|
+
# next_token: "__string",
|
2269
|
+
# subscription_definition_id: "__string", # required
|
2270
|
+
# })
|
2271
|
+
#
|
2272
|
+
# @example Response structure
|
2273
|
+
#
|
2274
|
+
# resp.next_token #=> String
|
2275
|
+
# resp.versions #=> Array
|
2276
|
+
# resp.versions[0].arn #=> String
|
2277
|
+
# resp.versions[0].creation_timestamp #=> String
|
2278
|
+
# resp.versions[0].id #=> String
|
2279
|
+
# resp.versions[0].version #=> String
|
2280
|
+
#
|
2281
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListSubscriptionDefinitionVersions AWS API Documentation
|
2282
|
+
#
|
2283
|
+
# @overload list_subscription_definition_versions(params = {})
|
2284
|
+
# @param [Hash] params ({})
|
2285
|
+
def list_subscription_definition_versions(params = {}, options = {})
|
2286
|
+
req = build_request(:list_subscription_definition_versions, params)
|
2287
|
+
req.send_request(options)
|
2288
|
+
end
|
2289
|
+
|
2290
|
+
# Retrieves a list of subscription definitions.
|
2291
|
+
#
|
2292
|
+
# @option params [String] :max_results
|
2293
|
+
#
|
2294
|
+
# @option params [String] :next_token
|
2295
|
+
#
|
2296
|
+
# @return [Types::ListSubscriptionDefinitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2297
|
+
#
|
2298
|
+
# * {Types::ListSubscriptionDefinitionsResponse#definitions #definitions} => Array<Types::DefinitionInformation>
|
2299
|
+
# * {Types::ListSubscriptionDefinitionsResponse#next_token #next_token} => String
|
2300
|
+
#
|
2301
|
+
# @example Request syntax with placeholder values
|
2302
|
+
#
|
2303
|
+
# resp = client.list_subscription_definitions({
|
2304
|
+
# max_results: "__string",
|
2305
|
+
# next_token: "__string",
|
2306
|
+
# })
|
2307
|
+
#
|
2308
|
+
# @example Response structure
|
2309
|
+
#
|
2310
|
+
# resp.definitions #=> Array
|
2311
|
+
# resp.definitions[0].arn #=> String
|
2312
|
+
# resp.definitions[0].creation_timestamp #=> String
|
2313
|
+
# resp.definitions[0].id #=> String
|
2314
|
+
# resp.definitions[0].last_updated_timestamp #=> String
|
2315
|
+
# resp.definitions[0].latest_version #=> String
|
2316
|
+
# resp.definitions[0].latest_version_arn #=> String
|
2317
|
+
# resp.definitions[0].name #=> String
|
2318
|
+
# resp.next_token #=> String
|
2319
|
+
#
|
2320
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListSubscriptionDefinitions AWS API Documentation
|
2321
|
+
#
|
2322
|
+
# @overload list_subscription_definitions(params = {})
|
2323
|
+
# @param [Hash] params ({})
|
2324
|
+
def list_subscription_definitions(params = {}, options = {})
|
2325
|
+
req = build_request(:list_subscription_definitions, params)
|
2326
|
+
req.send_request(options)
|
2327
|
+
end
|
2328
|
+
|
2329
|
+
# Updates the connectivity information for the core. Any devices that
|
2330
|
+
# belong to the group which has this core will receive this information
|
2331
|
+
# in order to find the location of the core and connect to it.
|
2332
|
+
#
|
2333
|
+
# @option params [Array<Types::ConnectivityInfo>] :connectivity_info
|
2334
|
+
# Connectivity info array
|
2335
|
+
#
|
2336
|
+
# @option params [required, String] :thing_name
|
2337
|
+
#
|
2338
|
+
# @return [Types::UpdateConnectivityInfoResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2339
|
+
#
|
2340
|
+
# * {Types::UpdateConnectivityInfoResponse#message #message} => String
|
2341
|
+
# * {Types::UpdateConnectivityInfoResponse#version #version} => String
|
2342
|
+
#
|
2343
|
+
# @example Request syntax with placeholder values
|
2344
|
+
#
|
2345
|
+
# resp = client.update_connectivity_info({
|
2346
|
+
# connectivity_info: [
|
2347
|
+
# {
|
2348
|
+
# host_address: "__string",
|
2349
|
+
# id: "__string",
|
2350
|
+
# metadata: "__string",
|
2351
|
+
# port_number: 1,
|
2352
|
+
# },
|
2353
|
+
# ],
|
2354
|
+
# thing_name: "__string", # required
|
2355
|
+
# })
|
2356
|
+
#
|
2357
|
+
# @example Response structure
|
2358
|
+
#
|
2359
|
+
# resp.message #=> String
|
2360
|
+
# resp.version #=> String
|
2361
|
+
#
|
2362
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateConnectivityInfo AWS API Documentation
|
2363
|
+
#
|
2364
|
+
# @overload update_connectivity_info(params = {})
|
2365
|
+
# @param [Hash] params ({})
|
2366
|
+
def update_connectivity_info(params = {}, options = {})
|
2367
|
+
req = build_request(:update_connectivity_info, params)
|
2368
|
+
req.send_request(options)
|
2369
|
+
end
|
2370
|
+
|
2371
|
+
# Updates a core definition.
|
2372
|
+
#
|
2373
|
+
# @option params [required, String] :core_definition_id
|
2374
|
+
#
|
2375
|
+
# @option params [String] :name
|
2376
|
+
#
|
2377
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2378
|
+
#
|
2379
|
+
# @example Request syntax with placeholder values
|
2380
|
+
#
|
2381
|
+
# resp = client.update_core_definition({
|
2382
|
+
# core_definition_id: "__string", # required
|
2383
|
+
# name: "__string",
|
2384
|
+
# })
|
2385
|
+
#
|
2386
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateCoreDefinition AWS API Documentation
|
2387
|
+
#
|
2388
|
+
# @overload update_core_definition(params = {})
|
2389
|
+
# @param [Hash] params ({})
|
2390
|
+
def update_core_definition(params = {}, options = {})
|
2391
|
+
req = build_request(:update_core_definition, params)
|
2392
|
+
req.send_request(options)
|
2393
|
+
end
|
2394
|
+
|
2395
|
+
# Updates a device definition.
|
2396
|
+
#
|
2397
|
+
# @option params [required, String] :device_definition_id
|
2398
|
+
#
|
2399
|
+
# @option params [String] :name
|
2400
|
+
#
|
2401
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2402
|
+
#
|
2403
|
+
# @example Request syntax with placeholder values
|
2404
|
+
#
|
2405
|
+
# resp = client.update_device_definition({
|
2406
|
+
# device_definition_id: "__string", # required
|
2407
|
+
# name: "__string",
|
2408
|
+
# })
|
2409
|
+
#
|
2410
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateDeviceDefinition AWS API Documentation
|
2411
|
+
#
|
2412
|
+
# @overload update_device_definition(params = {})
|
2413
|
+
# @param [Hash] params ({})
|
2414
|
+
def update_device_definition(params = {}, options = {})
|
2415
|
+
req = build_request(:update_device_definition, params)
|
2416
|
+
req.send_request(options)
|
2417
|
+
end
|
2418
|
+
|
2419
|
+
# Updates a Lambda function definition.
|
2420
|
+
#
|
2421
|
+
# @option params [required, String] :function_definition_id
|
2422
|
+
#
|
2423
|
+
# @option params [String] :name
|
2424
|
+
#
|
2425
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2426
|
+
#
|
2427
|
+
# @example Request syntax with placeholder values
|
2428
|
+
#
|
2429
|
+
# resp = client.update_function_definition({
|
2430
|
+
# function_definition_id: "__string", # required
|
2431
|
+
# name: "__string",
|
2432
|
+
# })
|
2433
|
+
#
|
2434
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateFunctionDefinition AWS API Documentation
|
2435
|
+
#
|
2436
|
+
# @overload update_function_definition(params = {})
|
2437
|
+
# @param [Hash] params ({})
|
2438
|
+
def update_function_definition(params = {}, options = {})
|
2439
|
+
req = build_request(:update_function_definition, params)
|
2440
|
+
req.send_request(options)
|
2441
|
+
end
|
2442
|
+
|
2443
|
+
# Updates a group.
|
2444
|
+
#
|
2445
|
+
# @option params [required, String] :group_id
|
2446
|
+
#
|
2447
|
+
# @option params [String] :name
|
2448
|
+
#
|
2449
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2450
|
+
#
|
2451
|
+
# @example Request syntax with placeholder values
|
2452
|
+
#
|
2453
|
+
# resp = client.update_group({
|
2454
|
+
# group_id: "__string", # required
|
2455
|
+
# name: "__string",
|
2456
|
+
# })
|
2457
|
+
#
|
2458
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateGroup AWS API Documentation
|
2459
|
+
#
|
2460
|
+
# @overload update_group(params = {})
|
2461
|
+
# @param [Hash] params ({})
|
2462
|
+
def update_group(params = {}, options = {})
|
2463
|
+
req = build_request(:update_group, params)
|
2464
|
+
req.send_request(options)
|
2465
|
+
end
|
2466
|
+
|
2467
|
+
# Updates the Cert expiry time for a group.
|
2468
|
+
#
|
2469
|
+
# @option params [String] :certificate_expiry_in_milliseconds
|
2470
|
+
# Amount of time when the certificate expires in milliseconds.
|
2471
|
+
#
|
2472
|
+
# @option params [required, String] :group_id
|
2473
|
+
#
|
2474
|
+
# @return [Types::UpdateGroupCertificateConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2475
|
+
#
|
2476
|
+
# * {Types::UpdateGroupCertificateConfigurationResponse#certificate_authority_expiry_in_milliseconds #certificate_authority_expiry_in_milliseconds} => String
|
2477
|
+
# * {Types::UpdateGroupCertificateConfigurationResponse#certificate_expiry_in_milliseconds #certificate_expiry_in_milliseconds} => String
|
2478
|
+
# * {Types::UpdateGroupCertificateConfigurationResponse#group_id #group_id} => String
|
2479
|
+
#
|
2480
|
+
# @example Request syntax with placeholder values
|
2481
|
+
#
|
2482
|
+
# resp = client.update_group_certificate_configuration({
|
2483
|
+
# certificate_expiry_in_milliseconds: "__string",
|
2484
|
+
# group_id: "__string", # required
|
2485
|
+
# })
|
2486
|
+
#
|
2487
|
+
# @example Response structure
|
2488
|
+
#
|
2489
|
+
# resp.certificate_authority_expiry_in_milliseconds #=> String
|
2490
|
+
# resp.certificate_expiry_in_milliseconds #=> String
|
2491
|
+
# resp.group_id #=> String
|
2492
|
+
#
|
2493
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateGroupCertificateConfiguration AWS API Documentation
|
2494
|
+
#
|
2495
|
+
# @overload update_group_certificate_configuration(params = {})
|
2496
|
+
# @param [Hash] params ({})
|
2497
|
+
def update_group_certificate_configuration(params = {}, options = {})
|
2498
|
+
req = build_request(:update_group_certificate_configuration, params)
|
2499
|
+
req.send_request(options)
|
2500
|
+
end
|
2501
|
+
|
2502
|
+
# Updates a logger definition.
|
2503
|
+
#
|
2504
|
+
# @option params [required, String] :logger_definition_id
|
2505
|
+
#
|
2506
|
+
# @option params [String] :name
|
2507
|
+
#
|
2508
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2509
|
+
#
|
2510
|
+
# @example Request syntax with placeholder values
|
2511
|
+
#
|
2512
|
+
# resp = client.update_logger_definition({
|
2513
|
+
# logger_definition_id: "__string", # required
|
2514
|
+
# name: "__string",
|
2515
|
+
# })
|
2516
|
+
#
|
2517
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateLoggerDefinition AWS API Documentation
|
2518
|
+
#
|
2519
|
+
# @overload update_logger_definition(params = {})
|
2520
|
+
# @param [Hash] params ({})
|
2521
|
+
def update_logger_definition(params = {}, options = {})
|
2522
|
+
req = build_request(:update_logger_definition, params)
|
2523
|
+
req.send_request(options)
|
2524
|
+
end
|
2525
|
+
|
2526
|
+
# Updates a subscription definition.
|
2527
|
+
#
|
2528
|
+
# @option params [String] :name
|
2529
|
+
#
|
2530
|
+
# @option params [required, String] :subscription_definition_id
|
2531
|
+
#
|
2532
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2533
|
+
#
|
2534
|
+
# @example Request syntax with placeholder values
|
2535
|
+
#
|
2536
|
+
# resp = client.update_subscription_definition({
|
2537
|
+
# name: "__string",
|
2538
|
+
# subscription_definition_id: "__string", # required
|
2539
|
+
# })
|
2540
|
+
#
|
2541
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateSubscriptionDefinition AWS API Documentation
|
2542
|
+
#
|
2543
|
+
# @overload update_subscription_definition(params = {})
|
2544
|
+
# @param [Hash] params ({})
|
2545
|
+
def update_subscription_definition(params = {}, options = {})
|
2546
|
+
req = build_request(:update_subscription_definition, params)
|
2547
|
+
req.send_request(options)
|
2548
|
+
end
|
2549
|
+
|
2550
|
+
# @!endgroup
|
2551
|
+
|
2552
|
+
# @param params ({})
|
2553
|
+
# @api private
|
2554
|
+
def build_request(operation_name, params = {})
|
2555
|
+
handlers = @handlers.for(operation_name)
|
2556
|
+
context = Seahorse::Client::RequestContext.new(
|
2557
|
+
operation_name: operation_name,
|
2558
|
+
operation: config.api.operation(operation_name),
|
2559
|
+
client: self,
|
2560
|
+
params: params,
|
2561
|
+
config: config)
|
2562
|
+
context[:gem_name] = 'aws-sdk-greengrass'
|
2563
|
+
context[:gem_version] = '1.0.0.rc1'
|
2564
|
+
Seahorse::Client::Request.new(handlers, context)
|
2565
|
+
end
|
2566
|
+
|
2567
|
+
# @api private
|
2568
|
+
# @deprecated
|
2569
|
+
def waiter_names
|
2570
|
+
[]
|
2571
|
+
end
|
2572
|
+
|
2573
|
+
class << self
|
2574
|
+
|
2575
|
+
# @api private
|
2576
|
+
attr_reader :identifier
|
2577
|
+
|
2578
|
+
# @api private
|
2579
|
+
def errors_module
|
2580
|
+
Errors
|
2581
|
+
end
|
2582
|
+
|
2583
|
+
end
|
2584
|
+
end
|
2585
|
+
end
|