aws-sdk-greengrass 1.9.0 → 1.10.0
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 +4 -4
- data/lib/aws-sdk-greengrass.rb +1 -1
- data/lib/aws-sdk-greengrass/client.rb +221 -2
- data/lib/aws-sdk-greengrass/client_api.rb +137 -1
- data/lib/aws-sdk-greengrass/types.rb +381 -10
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbd73fa4574fa11c14c084f671bea4cffd28c610
|
4
|
+
data.tar.gz: dd48ffa98476a31bc7463e7561c15086a741005a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a1cca80265c169f96f0146c6e0739679cc68984e0f85bc131a8534691cd137ab8a5eea76c2050f3a3fd656706b535952e91bf4d03709e4a0dc48a3f0207ee6f
|
7
|
+
data.tar.gz: fd41c20717f87a80f416673717beff76af1a5941dec1e623855caff3ff4eabe02d00a9a1d2ef634ccb53a1b666f7e8f9177e54ed4130d774c8629655a45b599e
|
data/lib/aws-sdk-greengrass.rb
CHANGED
@@ -350,7 +350,9 @@ module Aws::Greengrass
|
|
350
350
|
req.send_request(options)
|
351
351
|
end
|
352
352
|
|
353
|
-
# Creates a deployment.
|
353
|
+
# Creates a deployment. ''CreateDeployment'' requests are idempotent
|
354
|
+
# with respect to the ''X-Amzn-Client-Token'' token and the request
|
355
|
+
# parameters.
|
354
356
|
#
|
355
357
|
# @option params [String] :amzn_client_token
|
356
358
|
#
|
@@ -1425,6 +1427,45 @@ module Aws::Greengrass
|
|
1425
1427
|
req.send_request(options)
|
1426
1428
|
end
|
1427
1429
|
|
1430
|
+
# Returns the status of a bulk deployment.
|
1431
|
+
#
|
1432
|
+
# @option params [required, String] :bulk_deployment_id
|
1433
|
+
#
|
1434
|
+
# @return [Types::GetBulkDeploymentStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1435
|
+
#
|
1436
|
+
# * {Types::GetBulkDeploymentStatusResponse#bulk_deployment_metrics #bulk_deployment_metrics} => Types::BulkDeploymentMetrics
|
1437
|
+
# * {Types::GetBulkDeploymentStatusResponse#bulk_deployment_status #bulk_deployment_status} => String
|
1438
|
+
# * {Types::GetBulkDeploymentStatusResponse#created_at #created_at} => String
|
1439
|
+
# * {Types::GetBulkDeploymentStatusResponse#error_details #error_details} => Array<Types::ErrorDetail>
|
1440
|
+
# * {Types::GetBulkDeploymentStatusResponse#error_message #error_message} => String
|
1441
|
+
#
|
1442
|
+
# @example Request syntax with placeholder values
|
1443
|
+
#
|
1444
|
+
# resp = client.get_bulk_deployment_status({
|
1445
|
+
# bulk_deployment_id: "__string", # required
|
1446
|
+
# })
|
1447
|
+
#
|
1448
|
+
# @example Response structure
|
1449
|
+
#
|
1450
|
+
# resp.bulk_deployment_metrics.invalid_input_records #=> Integer
|
1451
|
+
# resp.bulk_deployment_metrics.records_processed #=> Integer
|
1452
|
+
# resp.bulk_deployment_metrics.retry_attempts #=> Integer
|
1453
|
+
# resp.bulk_deployment_status #=> String, one of "Initializing", "Running", "Completed", "Stopping", "Stopped", "Failed"
|
1454
|
+
# resp.created_at #=> String
|
1455
|
+
# resp.error_details #=> Array
|
1456
|
+
# resp.error_details[0].detailed_error_code #=> String
|
1457
|
+
# resp.error_details[0].detailed_error_message #=> String
|
1458
|
+
# resp.error_message #=> String
|
1459
|
+
#
|
1460
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetBulkDeploymentStatus AWS API Documentation
|
1461
|
+
#
|
1462
|
+
# @overload get_bulk_deployment_status(params = {})
|
1463
|
+
# @param [Hash] params ({})
|
1464
|
+
def get_bulk_deployment_status(params = {}, options = {})
|
1465
|
+
req = build_request(:get_bulk_deployment_status, params)
|
1466
|
+
req.send_request(options)
|
1467
|
+
end
|
1468
|
+
|
1428
1469
|
# Retrieves the connectivity information for a core.
|
1429
1470
|
#
|
1430
1471
|
# @option params [required, String] :thing_name
|
@@ -1509,6 +1550,7 @@ module Aws::Greengrass
|
|
1509
1550
|
# * {Types::GetCoreDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
|
1510
1551
|
# * {Types::GetCoreDefinitionVersionResponse#definition #definition} => Types::CoreDefinitionVersion
|
1511
1552
|
# * {Types::GetCoreDefinitionVersionResponse#id #id} => String
|
1553
|
+
# * {Types::GetCoreDefinitionVersionResponse#next_token #next_token} => String
|
1512
1554
|
# * {Types::GetCoreDefinitionVersionResponse#version #version} => String
|
1513
1555
|
#
|
1514
1556
|
# @example Request syntax with placeholder values
|
@@ -1528,6 +1570,7 @@ module Aws::Greengrass
|
|
1528
1570
|
# resp.definition.cores[0].sync_shadow #=> Boolean
|
1529
1571
|
# resp.definition.cores[0].thing_arn #=> String
|
1530
1572
|
# resp.id #=> String
|
1573
|
+
# resp.next_token #=> String
|
1531
1574
|
# resp.version #=> String
|
1532
1575
|
#
|
1533
1576
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetCoreDefinitionVersion AWS API Documentation
|
@@ -1624,12 +1667,15 @@ module Aws::Greengrass
|
|
1624
1667
|
#
|
1625
1668
|
# @option params [required, String] :device_definition_version_id
|
1626
1669
|
#
|
1670
|
+
# @option params [String] :next_token
|
1671
|
+
#
|
1627
1672
|
# @return [Types::GetDeviceDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1628
1673
|
#
|
1629
1674
|
# * {Types::GetDeviceDefinitionVersionResponse#arn #arn} => String
|
1630
1675
|
# * {Types::GetDeviceDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
|
1631
1676
|
# * {Types::GetDeviceDefinitionVersionResponse#definition #definition} => Types::DeviceDefinitionVersion
|
1632
1677
|
# * {Types::GetDeviceDefinitionVersionResponse#id #id} => String
|
1678
|
+
# * {Types::GetDeviceDefinitionVersionResponse#next_token #next_token} => String
|
1633
1679
|
# * {Types::GetDeviceDefinitionVersionResponse#version #version} => String
|
1634
1680
|
#
|
1635
1681
|
# @example Request syntax with placeholder values
|
@@ -1637,6 +1683,7 @@ module Aws::Greengrass
|
|
1637
1683
|
# resp = client.get_device_definition_version({
|
1638
1684
|
# device_definition_id: "__string", # required
|
1639
1685
|
# device_definition_version_id: "__string", # required
|
1686
|
+
# next_token: "__string",
|
1640
1687
|
# })
|
1641
1688
|
#
|
1642
1689
|
# @example Response structure
|
@@ -1649,6 +1696,7 @@ module Aws::Greengrass
|
|
1649
1696
|
# resp.definition.devices[0].sync_shadow #=> Boolean
|
1650
1697
|
# resp.definition.devices[0].thing_arn #=> String
|
1651
1698
|
# resp.id #=> String
|
1699
|
+
# resp.next_token #=> String
|
1652
1700
|
# resp.version #=> String
|
1653
1701
|
#
|
1654
1702
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetDeviceDefinitionVersion AWS API Documentation
|
@@ -1708,12 +1756,15 @@ module Aws::Greengrass
|
|
1708
1756
|
#
|
1709
1757
|
# @option params [required, String] :function_definition_version_id
|
1710
1758
|
#
|
1759
|
+
# @option params [String] :next_token
|
1760
|
+
#
|
1711
1761
|
# @return [Types::GetFunctionDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1712
1762
|
#
|
1713
1763
|
# * {Types::GetFunctionDefinitionVersionResponse#arn #arn} => String
|
1714
1764
|
# * {Types::GetFunctionDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
|
1715
1765
|
# * {Types::GetFunctionDefinitionVersionResponse#definition #definition} => Types::FunctionDefinitionVersion
|
1716
1766
|
# * {Types::GetFunctionDefinitionVersionResponse#id #id} => String
|
1767
|
+
# * {Types::GetFunctionDefinitionVersionResponse#next_token #next_token} => String
|
1717
1768
|
# * {Types::GetFunctionDefinitionVersionResponse#version #version} => String
|
1718
1769
|
#
|
1719
1770
|
# @example Request syntax with placeholder values
|
@@ -1721,6 +1772,7 @@ module Aws::Greengrass
|
|
1721
1772
|
# resp = client.get_function_definition_version({
|
1722
1773
|
# function_definition_id: "__string", # required
|
1723
1774
|
# function_definition_version_id: "__string", # required
|
1775
|
+
# next_token: "__string",
|
1724
1776
|
# })
|
1725
1777
|
#
|
1726
1778
|
# @example Response structure
|
@@ -1743,6 +1795,7 @@ module Aws::Greengrass
|
|
1743
1795
|
# resp.definition.functions[0].function_configuration.timeout #=> Integer
|
1744
1796
|
# resp.definition.functions[0].id #=> String
|
1745
1797
|
# resp.id #=> String
|
1798
|
+
# resp.next_token #=> String
|
1746
1799
|
# resp.version #=> String
|
1747
1800
|
#
|
1748
1801
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetFunctionDefinitionVersion AWS API Documentation
|
@@ -1947,6 +2000,8 @@ module Aws::Greengrass
|
|
1947
2000
|
#
|
1948
2001
|
# @option params [required, String] :logger_definition_version_id
|
1949
2002
|
#
|
2003
|
+
# @option params [String] :next_token
|
2004
|
+
#
|
1950
2005
|
# @return [Types::GetLoggerDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1951
2006
|
#
|
1952
2007
|
# * {Types::GetLoggerDefinitionVersionResponse#arn #arn} => String
|
@@ -1960,6 +2015,7 @@ module Aws::Greengrass
|
|
1960
2015
|
# resp = client.get_logger_definition_version({
|
1961
2016
|
# logger_definition_id: "__string", # required
|
1962
2017
|
# logger_definition_version_id: "__string", # required
|
2018
|
+
# next_token: "__string",
|
1963
2019
|
# })
|
1964
2020
|
#
|
1965
2021
|
# @example Response structure
|
@@ -2138,6 +2194,8 @@ module Aws::Greengrass
|
|
2138
2194
|
|
2139
2195
|
# Retrieves information about a subscription definition version.
|
2140
2196
|
#
|
2197
|
+
# @option params [String] :next_token
|
2198
|
+
#
|
2141
2199
|
# @option params [required, String] :subscription_definition_id
|
2142
2200
|
#
|
2143
2201
|
# @option params [required, String] :subscription_definition_version_id
|
@@ -2148,11 +2206,13 @@ module Aws::Greengrass
|
|
2148
2206
|
# * {Types::GetSubscriptionDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
|
2149
2207
|
# * {Types::GetSubscriptionDefinitionVersionResponse#definition #definition} => Types::SubscriptionDefinitionVersion
|
2150
2208
|
# * {Types::GetSubscriptionDefinitionVersionResponse#id #id} => String
|
2209
|
+
# * {Types::GetSubscriptionDefinitionVersionResponse#next_token #next_token} => String
|
2151
2210
|
# * {Types::GetSubscriptionDefinitionVersionResponse#version #version} => String
|
2152
2211
|
#
|
2153
2212
|
# @example Request syntax with placeholder values
|
2154
2213
|
#
|
2155
2214
|
# resp = client.get_subscription_definition_version({
|
2215
|
+
# next_token: "__string",
|
2156
2216
|
# subscription_definition_id: "__string", # required
|
2157
2217
|
# subscription_definition_version_id: "__string", # required
|
2158
2218
|
# })
|
@@ -2167,6 +2227,7 @@ module Aws::Greengrass
|
|
2167
2227
|
# resp.definition.subscriptions[0].subject #=> String
|
2168
2228
|
# resp.definition.subscriptions[0].target #=> String
|
2169
2229
|
# resp.id #=> String
|
2230
|
+
# resp.next_token #=> String
|
2170
2231
|
# resp.version #=> String
|
2171
2232
|
#
|
2172
2233
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetSubscriptionDefinitionVersion AWS API Documentation
|
@@ -2178,6 +2239,87 @@ module Aws::Greengrass
|
|
2178
2239
|
req.send_request(options)
|
2179
2240
|
end
|
2180
2241
|
|
2242
|
+
# Gets a paginated list of the deployments that have been started in a
|
2243
|
+
# bulk deployment operation, and their current deployment status.
|
2244
|
+
#
|
2245
|
+
# @option params [required, String] :bulk_deployment_id
|
2246
|
+
#
|
2247
|
+
# @option params [String] :max_results
|
2248
|
+
#
|
2249
|
+
# @option params [String] :next_token
|
2250
|
+
#
|
2251
|
+
# @return [Types::ListBulkDeploymentDetailedReportsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2252
|
+
#
|
2253
|
+
# * {Types::ListBulkDeploymentDetailedReportsResponse#deployments #deployments} => Array<Types::BulkDeploymentResult>
|
2254
|
+
# * {Types::ListBulkDeploymentDetailedReportsResponse#next_token #next_token} => String
|
2255
|
+
#
|
2256
|
+
# @example Request syntax with placeholder values
|
2257
|
+
#
|
2258
|
+
# resp = client.list_bulk_deployment_detailed_reports({
|
2259
|
+
# bulk_deployment_id: "__string", # required
|
2260
|
+
# max_results: "__string",
|
2261
|
+
# next_token: "__string",
|
2262
|
+
# })
|
2263
|
+
#
|
2264
|
+
# @example Response structure
|
2265
|
+
#
|
2266
|
+
# resp.deployments #=> Array
|
2267
|
+
# resp.deployments[0].created_at #=> String
|
2268
|
+
# resp.deployments[0].deployment_arn #=> String
|
2269
|
+
# resp.deployments[0].deployment_id #=> String
|
2270
|
+
# resp.deployments[0].deployment_status #=> String
|
2271
|
+
# resp.deployments[0].deployment_type #=> String, one of "NewDeployment", "Redeployment", "ResetDeployment", "ForceResetDeployment"
|
2272
|
+
# resp.deployments[0].error_details #=> Array
|
2273
|
+
# resp.deployments[0].error_details[0].detailed_error_code #=> String
|
2274
|
+
# resp.deployments[0].error_details[0].detailed_error_message #=> String
|
2275
|
+
# resp.deployments[0].error_message #=> String
|
2276
|
+
# resp.deployments[0].group_arn #=> String
|
2277
|
+
# resp.next_token #=> String
|
2278
|
+
#
|
2279
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListBulkDeploymentDetailedReports AWS API Documentation
|
2280
|
+
#
|
2281
|
+
# @overload list_bulk_deployment_detailed_reports(params = {})
|
2282
|
+
# @param [Hash] params ({})
|
2283
|
+
def list_bulk_deployment_detailed_reports(params = {}, options = {})
|
2284
|
+
req = build_request(:list_bulk_deployment_detailed_reports, params)
|
2285
|
+
req.send_request(options)
|
2286
|
+
end
|
2287
|
+
|
2288
|
+
# Returns a list of bulk deployments.
|
2289
|
+
#
|
2290
|
+
# @option params [String] :max_results
|
2291
|
+
#
|
2292
|
+
# @option params [String] :next_token
|
2293
|
+
#
|
2294
|
+
# @return [Types::ListBulkDeploymentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2295
|
+
#
|
2296
|
+
# * {Types::ListBulkDeploymentsResponse#bulk_deployments #bulk_deployments} => Array<Types::BulkDeployment>
|
2297
|
+
# * {Types::ListBulkDeploymentsResponse#next_token #next_token} => String
|
2298
|
+
#
|
2299
|
+
# @example Request syntax with placeholder values
|
2300
|
+
#
|
2301
|
+
# resp = client.list_bulk_deployments({
|
2302
|
+
# max_results: "__string",
|
2303
|
+
# next_token: "__string",
|
2304
|
+
# })
|
2305
|
+
#
|
2306
|
+
# @example Response structure
|
2307
|
+
#
|
2308
|
+
# resp.bulk_deployments #=> Array
|
2309
|
+
# resp.bulk_deployments[0].bulk_deployment_arn #=> String
|
2310
|
+
# resp.bulk_deployments[0].bulk_deployment_id #=> String
|
2311
|
+
# resp.bulk_deployments[0].created_at #=> String
|
2312
|
+
# resp.next_token #=> String
|
2313
|
+
#
|
2314
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListBulkDeployments AWS API Documentation
|
2315
|
+
#
|
2316
|
+
# @overload list_bulk_deployments(params = {})
|
2317
|
+
# @param [Hash] params ({})
|
2318
|
+
def list_bulk_deployments(params = {}, options = {})
|
2319
|
+
req = build_request(:list_bulk_deployments, params)
|
2320
|
+
req.send_request(options)
|
2321
|
+
end
|
2322
|
+
|
2181
2323
|
# Lists the versions of a core definition.
|
2182
2324
|
#
|
2183
2325
|
# @option params [required, String] :core_definition_id
|
@@ -2829,6 +2971,83 @@ module Aws::Greengrass
|
|
2829
2971
|
req.send_request(options)
|
2830
2972
|
end
|
2831
2973
|
|
2974
|
+
# Deploys multiple groups in one operation. This action starts the bulk
|
2975
|
+
# deployment of a specified set of group versions. Each group version
|
2976
|
+
# deployment will be triggered with an adaptive rate that has a fixed
|
2977
|
+
# upper limit. We recommend that you include an
|
2978
|
+
# ''X-Amzn-Client-Token'' token in every ''StartBulkDeployment''
|
2979
|
+
# request. These requests are idempotent with respect to the token and
|
2980
|
+
# the request parameters.
|
2981
|
+
#
|
2982
|
+
# @option params [String] :amzn_client_token
|
2983
|
+
#
|
2984
|
+
# @option params [String] :execution_role_arn
|
2985
|
+
# The ARN of the execution role to associate with the bulk deployment
|
2986
|
+
# operation. This IAM role must allow the
|
2987
|
+
# ''greengrass:CreateDeployment'' action for all group versions that
|
2988
|
+
# are listed in the input file. This IAM role must have access to the S3
|
2989
|
+
# bucket containing the input file.
|
2990
|
+
#
|
2991
|
+
# @option params [String] :input_file_uri
|
2992
|
+
# The URI of the input file contained in the S3 bucket. The execution
|
2993
|
+
# role must have ''getObject'' permissions on this bucket to access
|
2994
|
+
# the input file. The input file is a JSON-serialized, line delimited
|
2995
|
+
# file with UTF-8 encoding that provides a list of group and version IDs
|
2996
|
+
# and the deployment type. This file must be less than 100MB. Currently,
|
2997
|
+
# Greengrass; supports only ''NewDeployment'' deployment types.
|
2998
|
+
#
|
2999
|
+
# @return [Types::StartBulkDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3000
|
+
#
|
3001
|
+
# * {Types::StartBulkDeploymentResponse#bulk_deployment_arn #bulk_deployment_arn} => String
|
3002
|
+
# * {Types::StartBulkDeploymentResponse#bulk_deployment_id #bulk_deployment_id} => String
|
3003
|
+
#
|
3004
|
+
# @example Request syntax with placeholder values
|
3005
|
+
#
|
3006
|
+
# resp = client.start_bulk_deployment({
|
3007
|
+
# amzn_client_token: "__string",
|
3008
|
+
# execution_role_arn: "__string",
|
3009
|
+
# input_file_uri: "__string",
|
3010
|
+
# })
|
3011
|
+
#
|
3012
|
+
# @example Response structure
|
3013
|
+
#
|
3014
|
+
# resp.bulk_deployment_arn #=> String
|
3015
|
+
# resp.bulk_deployment_id #=> String
|
3016
|
+
#
|
3017
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/StartBulkDeployment AWS API Documentation
|
3018
|
+
#
|
3019
|
+
# @overload start_bulk_deployment(params = {})
|
3020
|
+
# @param [Hash] params ({})
|
3021
|
+
def start_bulk_deployment(params = {}, options = {})
|
3022
|
+
req = build_request(:start_bulk_deployment, params)
|
3023
|
+
req.send_request(options)
|
3024
|
+
end
|
3025
|
+
|
3026
|
+
# Stops the execution of a bulk deployment. This action returns a status
|
3027
|
+
# of ''Stopping'' until the deployment is stopped. You cannot start
|
3028
|
+
# a new bulk deployment while a previous deployment is in the
|
3029
|
+
# ''Stopping'' state. This action doesn't rollback completed
|
3030
|
+
# deployments or cancel pending deployments.
|
3031
|
+
#
|
3032
|
+
# @option params [required, String] :bulk_deployment_id
|
3033
|
+
#
|
3034
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3035
|
+
#
|
3036
|
+
# @example Request syntax with placeholder values
|
3037
|
+
#
|
3038
|
+
# resp = client.stop_bulk_deployment({
|
3039
|
+
# bulk_deployment_id: "__string", # required
|
3040
|
+
# })
|
3041
|
+
#
|
3042
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/StopBulkDeployment AWS API Documentation
|
3043
|
+
#
|
3044
|
+
# @overload stop_bulk_deployment(params = {})
|
3045
|
+
# @param [Hash] params ({})
|
3046
|
+
def stop_bulk_deployment(params = {}, options = {})
|
3047
|
+
req = build_request(:stop_bulk_deployment, params)
|
3048
|
+
req.send_request(options)
|
3049
|
+
end
|
3050
|
+
|
2832
3051
|
# Updates the connectivity information for the core. Any devices that
|
2833
3052
|
# belong to the group which has this core will receive this information
|
2834
3053
|
# in order to find the location of the core and connect to it.
|
@@ -3088,7 +3307,7 @@ module Aws::Greengrass
|
|
3088
3307
|
params: params,
|
3089
3308
|
config: config)
|
3090
3309
|
context[:gem_name] = 'aws-sdk-greengrass'
|
3091
|
-
context[:gem_version] = '1.
|
3310
|
+
context[:gem_version] = '1.10.0'
|
3092
3311
|
Seahorse::Client::Request.new(handlers, context)
|
3093
3312
|
end
|
3094
3313
|
|
@@ -16,6 +16,12 @@ module Aws::Greengrass
|
|
16
16
|
AssociateServiceRoleToAccountRequest = Shapes::StructureShape.new(name: 'AssociateServiceRoleToAccountRequest')
|
17
17
|
AssociateServiceRoleToAccountResponse = Shapes::StructureShape.new(name: 'AssociateServiceRoleToAccountResponse')
|
18
18
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
19
|
+
BulkDeployment = Shapes::StructureShape.new(name: 'BulkDeployment')
|
20
|
+
BulkDeploymentMetrics = Shapes::StructureShape.new(name: 'BulkDeploymentMetrics')
|
21
|
+
BulkDeploymentResult = Shapes::StructureShape.new(name: 'BulkDeploymentResult')
|
22
|
+
BulkDeploymentResults = Shapes::ListShape.new(name: 'BulkDeploymentResults')
|
23
|
+
BulkDeploymentStatus = Shapes::StringShape.new(name: 'BulkDeploymentStatus')
|
24
|
+
BulkDeployments = Shapes::ListShape.new(name: 'BulkDeployments')
|
19
25
|
ConnectivityInfo = Shapes::StructureShape.new(name: 'ConnectivityInfo')
|
20
26
|
Core = Shapes::StructureShape.new(name: 'Core')
|
21
27
|
CoreDefinitionVersion = Shapes::StructureShape.new(name: 'CoreDefinitionVersion')
|
@@ -88,6 +94,8 @@ module Aws::Greengrass
|
|
88
94
|
GeneralError = Shapes::StructureShape.new(name: 'GeneralError')
|
89
95
|
GetAssociatedRoleRequest = Shapes::StructureShape.new(name: 'GetAssociatedRoleRequest')
|
90
96
|
GetAssociatedRoleResponse = Shapes::StructureShape.new(name: 'GetAssociatedRoleResponse')
|
97
|
+
GetBulkDeploymentStatusRequest = Shapes::StructureShape.new(name: 'GetBulkDeploymentStatusRequest')
|
98
|
+
GetBulkDeploymentStatusResponse = Shapes::StructureShape.new(name: 'GetBulkDeploymentStatusResponse')
|
91
99
|
GetConnectivityInfoRequest = Shapes::StructureShape.new(name: 'GetConnectivityInfoRequest')
|
92
100
|
GetConnectivityInfoResponse = Shapes::StructureShape.new(name: 'GetConnectivityInfoResponse')
|
93
101
|
GetCoreDefinitionRequest = Shapes::StructureShape.new(name: 'GetCoreDefinitionRequest')
|
@@ -132,6 +140,10 @@ module Aws::Greengrass
|
|
132
140
|
GroupOwnerSetting = Shapes::StructureShape.new(name: 'GroupOwnerSetting')
|
133
141
|
GroupVersion = Shapes::StructureShape.new(name: 'GroupVersion')
|
134
142
|
InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
|
143
|
+
ListBulkDeploymentDetailedReportsRequest = Shapes::StructureShape.new(name: 'ListBulkDeploymentDetailedReportsRequest')
|
144
|
+
ListBulkDeploymentDetailedReportsResponse = Shapes::StructureShape.new(name: 'ListBulkDeploymentDetailedReportsResponse')
|
145
|
+
ListBulkDeploymentsRequest = Shapes::StructureShape.new(name: 'ListBulkDeploymentsRequest')
|
146
|
+
ListBulkDeploymentsResponse = Shapes::StructureShape.new(name: 'ListBulkDeploymentsResponse')
|
135
147
|
ListCoreDefinitionVersionsRequest = Shapes::StructureShape.new(name: 'ListCoreDefinitionVersionsRequest')
|
136
148
|
ListCoreDefinitionVersionsResponse = Shapes::StructureShape.new(name: 'ListCoreDefinitionVersionsResponse')
|
137
149
|
ListCoreDefinitionsRequest = Shapes::StructureShape.new(name: 'ListCoreDefinitionsRequest')
|
@@ -184,6 +196,10 @@ module Aws::Greengrass
|
|
184
196
|
S3UrlSignerRole = Shapes::StringShape.new(name: 'S3UrlSignerRole')
|
185
197
|
SageMakerMachineLearningModelResourceData = Shapes::StructureShape.new(name: 'SageMakerMachineLearningModelResourceData')
|
186
198
|
SoftwareToUpdate = Shapes::StringShape.new(name: 'SoftwareToUpdate')
|
199
|
+
StartBulkDeploymentRequest = Shapes::StructureShape.new(name: 'StartBulkDeploymentRequest')
|
200
|
+
StartBulkDeploymentResponse = Shapes::StructureShape.new(name: 'StartBulkDeploymentResponse')
|
201
|
+
StopBulkDeploymentRequest = Shapes::StructureShape.new(name: 'StopBulkDeploymentRequest')
|
202
|
+
StopBulkDeploymentResponse = Shapes::StructureShape.new(name: 'StopBulkDeploymentResponse')
|
187
203
|
Subscription = Shapes::StructureShape.new(name: 'Subscription')
|
188
204
|
SubscriptionDefinitionVersion = Shapes::StructureShape.new(name: 'SubscriptionDefinitionVersion')
|
189
205
|
UpdateAgentLogLevel = Shapes::StringShape.new(name: 'UpdateAgentLogLevel')
|
@@ -227,7 +243,8 @@ module Aws::Greengrass
|
|
227
243
|
__long = Shapes::IntegerShape.new(name: '__long')
|
228
244
|
__mapOf__string = Shapes::MapShape.new(name: '__mapOf__string')
|
229
245
|
__string = Shapes::StringShape.new(name: '__string')
|
230
|
-
|
246
|
+
__timestampIso8601 = Shapes::TimestampShape.new(name: '__timestampIso8601', timestampFormat: "iso8601")
|
247
|
+
__timestampUnix = Shapes::TimestampShape.new(name: '__timestampUnix', timestampFormat: "unixTimestamp")
|
231
248
|
|
232
249
|
AssociateRoleToGroupRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "GroupId"))
|
233
250
|
AssociateRoleToGroupRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn"))
|
@@ -242,6 +259,30 @@ module Aws::Greengrass
|
|
242
259
|
AssociateServiceRoleToAccountResponse.add_member(:associated_at, Shapes::ShapeRef.new(shape: __string, location_name: "AssociatedAt"))
|
243
260
|
AssociateServiceRoleToAccountResponse.struct_class = Types::AssociateServiceRoleToAccountResponse
|
244
261
|
|
262
|
+
BulkDeployment.add_member(:bulk_deployment_arn, Shapes::ShapeRef.new(shape: __string, location_name: "BulkDeploymentArn"))
|
263
|
+
BulkDeployment.add_member(:bulk_deployment_id, Shapes::ShapeRef.new(shape: __string, location_name: "BulkDeploymentId"))
|
264
|
+
BulkDeployment.add_member(:created_at, Shapes::ShapeRef.new(shape: __string, location_name: "CreatedAt"))
|
265
|
+
BulkDeployment.struct_class = Types::BulkDeployment
|
266
|
+
|
267
|
+
BulkDeploymentMetrics.add_member(:invalid_input_records, Shapes::ShapeRef.new(shape: __integer, location_name: "InvalidInputRecords"))
|
268
|
+
BulkDeploymentMetrics.add_member(:records_processed, Shapes::ShapeRef.new(shape: __integer, location_name: "RecordsProcessed"))
|
269
|
+
BulkDeploymentMetrics.add_member(:retry_attempts, Shapes::ShapeRef.new(shape: __integer, location_name: "RetryAttempts"))
|
270
|
+
BulkDeploymentMetrics.struct_class = Types::BulkDeploymentMetrics
|
271
|
+
|
272
|
+
BulkDeploymentResult.add_member(:created_at, Shapes::ShapeRef.new(shape: __string, location_name: "CreatedAt"))
|
273
|
+
BulkDeploymentResult.add_member(:deployment_arn, Shapes::ShapeRef.new(shape: __string, location_name: "DeploymentArn"))
|
274
|
+
BulkDeploymentResult.add_member(:deployment_id, Shapes::ShapeRef.new(shape: __string, location_name: "DeploymentId"))
|
275
|
+
BulkDeploymentResult.add_member(:deployment_status, Shapes::ShapeRef.new(shape: __string, location_name: "DeploymentStatus"))
|
276
|
+
BulkDeploymentResult.add_member(:deployment_type, Shapes::ShapeRef.new(shape: DeploymentType, location_name: "DeploymentType"))
|
277
|
+
BulkDeploymentResult.add_member(:error_details, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "ErrorDetails"))
|
278
|
+
BulkDeploymentResult.add_member(:error_message, Shapes::ShapeRef.new(shape: __string, location_name: "ErrorMessage"))
|
279
|
+
BulkDeploymentResult.add_member(:group_arn, Shapes::ShapeRef.new(shape: __string, location_name: "GroupArn"))
|
280
|
+
BulkDeploymentResult.struct_class = Types::BulkDeploymentResult
|
281
|
+
|
282
|
+
BulkDeploymentResults.member = Shapes::ShapeRef.new(shape: BulkDeploymentResult)
|
283
|
+
|
284
|
+
BulkDeployments.member = Shapes::ShapeRef.new(shape: BulkDeployment)
|
285
|
+
|
245
286
|
ConnectivityInfo.add_member(:host_address, Shapes::ShapeRef.new(shape: __string, location_name: "HostAddress"))
|
246
287
|
ConnectivityInfo.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
|
247
288
|
ConnectivityInfo.add_member(:metadata, Shapes::ShapeRef.new(shape: __string, location_name: "Metadata"))
|
@@ -582,6 +623,16 @@ module Aws::Greengrass
|
|
582
623
|
GetAssociatedRoleResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn"))
|
583
624
|
GetAssociatedRoleResponse.struct_class = Types::GetAssociatedRoleResponse
|
584
625
|
|
626
|
+
GetBulkDeploymentStatusRequest.add_member(:bulk_deployment_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "BulkDeploymentId"))
|
627
|
+
GetBulkDeploymentStatusRequest.struct_class = Types::GetBulkDeploymentStatusRequest
|
628
|
+
|
629
|
+
GetBulkDeploymentStatusResponse.add_member(:bulk_deployment_metrics, Shapes::ShapeRef.new(shape: BulkDeploymentMetrics, location_name: "BulkDeploymentMetrics"))
|
630
|
+
GetBulkDeploymentStatusResponse.add_member(:bulk_deployment_status, Shapes::ShapeRef.new(shape: BulkDeploymentStatus, location_name: "BulkDeploymentStatus"))
|
631
|
+
GetBulkDeploymentStatusResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: __string, location_name: "CreatedAt"))
|
632
|
+
GetBulkDeploymentStatusResponse.add_member(:error_details, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "ErrorDetails"))
|
633
|
+
GetBulkDeploymentStatusResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: __string, location_name: "ErrorMessage"))
|
634
|
+
GetBulkDeploymentStatusResponse.struct_class = Types::GetBulkDeploymentStatusResponse
|
635
|
+
|
585
636
|
GetConnectivityInfoRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ThingName"))
|
586
637
|
GetConnectivityInfoRequest.struct_class = Types::GetConnectivityInfoRequest
|
587
638
|
|
@@ -609,6 +660,7 @@ module Aws::Greengrass
|
|
609
660
|
GetCoreDefinitionVersionResponse.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: __string, location_name: "CreationTimestamp"))
|
610
661
|
GetCoreDefinitionVersionResponse.add_member(:definition, Shapes::ShapeRef.new(shape: CoreDefinitionVersion, location_name: "Definition"))
|
611
662
|
GetCoreDefinitionVersionResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
|
663
|
+
GetCoreDefinitionVersionResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
|
612
664
|
GetCoreDefinitionVersionResponse.add_member(:version, Shapes::ShapeRef.new(shape: __string, location_name: "Version"))
|
613
665
|
GetCoreDefinitionVersionResponse.struct_class = Types::GetCoreDefinitionVersionResponse
|
614
666
|
|
@@ -637,12 +689,14 @@ module Aws::Greengrass
|
|
637
689
|
|
638
690
|
GetDeviceDefinitionVersionRequest.add_member(:device_definition_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DeviceDefinitionId"))
|
639
691
|
GetDeviceDefinitionVersionRequest.add_member(:device_definition_version_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DeviceDefinitionVersionId"))
|
692
|
+
GetDeviceDefinitionVersionRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "NextToken"))
|
640
693
|
GetDeviceDefinitionVersionRequest.struct_class = Types::GetDeviceDefinitionVersionRequest
|
641
694
|
|
642
695
|
GetDeviceDefinitionVersionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
|
643
696
|
GetDeviceDefinitionVersionResponse.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: __string, location_name: "CreationTimestamp"))
|
644
697
|
GetDeviceDefinitionVersionResponse.add_member(:definition, Shapes::ShapeRef.new(shape: DeviceDefinitionVersion, location_name: "Definition"))
|
645
698
|
GetDeviceDefinitionVersionResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
|
699
|
+
GetDeviceDefinitionVersionResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
|
646
700
|
GetDeviceDefinitionVersionResponse.add_member(:version, Shapes::ShapeRef.new(shape: __string, location_name: "Version"))
|
647
701
|
GetDeviceDefinitionVersionResponse.struct_class = Types::GetDeviceDefinitionVersionResponse
|
648
702
|
|
@@ -660,12 +714,14 @@ module Aws::Greengrass
|
|
660
714
|
|
661
715
|
GetFunctionDefinitionVersionRequest.add_member(:function_definition_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "FunctionDefinitionId"))
|
662
716
|
GetFunctionDefinitionVersionRequest.add_member(:function_definition_version_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "FunctionDefinitionVersionId"))
|
717
|
+
GetFunctionDefinitionVersionRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "NextToken"))
|
663
718
|
GetFunctionDefinitionVersionRequest.struct_class = Types::GetFunctionDefinitionVersionRequest
|
664
719
|
|
665
720
|
GetFunctionDefinitionVersionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
|
666
721
|
GetFunctionDefinitionVersionResponse.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: __string, location_name: "CreationTimestamp"))
|
667
722
|
GetFunctionDefinitionVersionResponse.add_member(:definition, Shapes::ShapeRef.new(shape: FunctionDefinitionVersion, location_name: "Definition"))
|
668
723
|
GetFunctionDefinitionVersionResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
|
724
|
+
GetFunctionDefinitionVersionResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
|
669
725
|
GetFunctionDefinitionVersionResponse.add_member(:version, Shapes::ShapeRef.new(shape: __string, location_name: "Version"))
|
670
726
|
GetFunctionDefinitionVersionResponse.struct_class = Types::GetFunctionDefinitionVersionResponse
|
671
727
|
|
@@ -723,6 +779,7 @@ module Aws::Greengrass
|
|
723
779
|
|
724
780
|
GetLoggerDefinitionVersionRequest.add_member(:logger_definition_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "LoggerDefinitionId"))
|
725
781
|
GetLoggerDefinitionVersionRequest.add_member(:logger_definition_version_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "LoggerDefinitionVersionId"))
|
782
|
+
GetLoggerDefinitionVersionRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "NextToken"))
|
726
783
|
GetLoggerDefinitionVersionRequest.struct_class = Types::GetLoggerDefinitionVersionRequest
|
727
784
|
|
728
785
|
GetLoggerDefinitionVersionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
|
@@ -773,6 +830,7 @@ module Aws::Greengrass
|
|
773
830
|
GetSubscriptionDefinitionResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
|
774
831
|
GetSubscriptionDefinitionResponse.struct_class = Types::GetSubscriptionDefinitionResponse
|
775
832
|
|
833
|
+
GetSubscriptionDefinitionVersionRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "NextToken"))
|
776
834
|
GetSubscriptionDefinitionVersionRequest.add_member(:subscription_definition_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "SubscriptionDefinitionId"))
|
777
835
|
GetSubscriptionDefinitionVersionRequest.add_member(:subscription_definition_version_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "SubscriptionDefinitionVersionId"))
|
778
836
|
GetSubscriptionDefinitionVersionRequest.struct_class = Types::GetSubscriptionDefinitionVersionRequest
|
@@ -781,6 +839,7 @@ module Aws::Greengrass
|
|
781
839
|
GetSubscriptionDefinitionVersionResponse.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: __string, location_name: "CreationTimestamp"))
|
782
840
|
GetSubscriptionDefinitionVersionResponse.add_member(:definition, Shapes::ShapeRef.new(shape: SubscriptionDefinitionVersion, location_name: "Definition"))
|
783
841
|
GetSubscriptionDefinitionVersionResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
|
842
|
+
GetSubscriptionDefinitionVersionResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
|
784
843
|
GetSubscriptionDefinitionVersionResponse.add_member(:version, Shapes::ShapeRef.new(shape: __string, location_name: "Version"))
|
785
844
|
GetSubscriptionDefinitionVersionResponse.struct_class = Types::GetSubscriptionDefinitionVersionResponse
|
786
845
|
|
@@ -814,6 +873,23 @@ module Aws::Greengrass
|
|
814
873
|
GroupVersion.add_member(:subscription_definition_version_arn, Shapes::ShapeRef.new(shape: __string, location_name: "SubscriptionDefinitionVersionArn"))
|
815
874
|
GroupVersion.struct_class = Types::GroupVersion
|
816
875
|
|
876
|
+
ListBulkDeploymentDetailedReportsRequest.add_member(:bulk_deployment_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "BulkDeploymentId"))
|
877
|
+
ListBulkDeploymentDetailedReportsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "MaxResults"))
|
878
|
+
ListBulkDeploymentDetailedReportsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "NextToken"))
|
879
|
+
ListBulkDeploymentDetailedReportsRequest.struct_class = Types::ListBulkDeploymentDetailedReportsRequest
|
880
|
+
|
881
|
+
ListBulkDeploymentDetailedReportsResponse.add_member(:deployments, Shapes::ShapeRef.new(shape: BulkDeploymentResults, location_name: "Deployments"))
|
882
|
+
ListBulkDeploymentDetailedReportsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
|
883
|
+
ListBulkDeploymentDetailedReportsResponse.struct_class = Types::ListBulkDeploymentDetailedReportsResponse
|
884
|
+
|
885
|
+
ListBulkDeploymentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "MaxResults"))
|
886
|
+
ListBulkDeploymentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "NextToken"))
|
887
|
+
ListBulkDeploymentsRequest.struct_class = Types::ListBulkDeploymentsRequest
|
888
|
+
|
889
|
+
ListBulkDeploymentsResponse.add_member(:bulk_deployments, Shapes::ShapeRef.new(shape: BulkDeployments, location_name: "BulkDeployments"))
|
890
|
+
ListBulkDeploymentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
|
891
|
+
ListBulkDeploymentsResponse.struct_class = Types::ListBulkDeploymentsResponse
|
892
|
+
|
817
893
|
ListCoreDefinitionVersionsRequest.add_member(:core_definition_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "CoreDefinitionId"))
|
818
894
|
ListCoreDefinitionVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "MaxResults"))
|
819
895
|
ListCoreDefinitionVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "NextToken"))
|
@@ -1010,6 +1086,20 @@ module Aws::Greengrass
|
|
1010
1086
|
SageMakerMachineLearningModelResourceData.add_member(:sage_maker_job_arn, Shapes::ShapeRef.new(shape: __string, location_name: "SageMakerJobArn"))
|
1011
1087
|
SageMakerMachineLearningModelResourceData.struct_class = Types::SageMakerMachineLearningModelResourceData
|
1012
1088
|
|
1089
|
+
StartBulkDeploymentRequest.add_member(:amzn_client_token, Shapes::ShapeRef.new(shape: __string, location: "header", location_name: "X-Amzn-Client-Token"))
|
1090
|
+
StartBulkDeploymentRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "ExecutionRoleArn"))
|
1091
|
+
StartBulkDeploymentRequest.add_member(:input_file_uri, Shapes::ShapeRef.new(shape: __string, location_name: "InputFileUri"))
|
1092
|
+
StartBulkDeploymentRequest.struct_class = Types::StartBulkDeploymentRequest
|
1093
|
+
|
1094
|
+
StartBulkDeploymentResponse.add_member(:bulk_deployment_arn, Shapes::ShapeRef.new(shape: __string, location_name: "BulkDeploymentArn"))
|
1095
|
+
StartBulkDeploymentResponse.add_member(:bulk_deployment_id, Shapes::ShapeRef.new(shape: __string, location_name: "BulkDeploymentId"))
|
1096
|
+
StartBulkDeploymentResponse.struct_class = Types::StartBulkDeploymentResponse
|
1097
|
+
|
1098
|
+
StopBulkDeploymentRequest.add_member(:bulk_deployment_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "BulkDeploymentId"))
|
1099
|
+
StopBulkDeploymentRequest.struct_class = Types::StopBulkDeploymentRequest
|
1100
|
+
|
1101
|
+
StopBulkDeploymentResponse.struct_class = Types::StopBulkDeploymentResponse
|
1102
|
+
|
1013
1103
|
Subscription.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
|
1014
1104
|
Subscription.add_member(:source, Shapes::ShapeRef.new(shape: __string, location_name: "Source"))
|
1015
1105
|
Subscription.add_member(:subject, Shapes::ShapeRef.new(shape: __string, location_name: "Subject"))
|
@@ -1125,6 +1215,7 @@ module Aws::Greengrass
|
|
1125
1215
|
"jsonVersion" => "1.1",
|
1126
1216
|
"protocol" => "rest-json",
|
1127
1217
|
"serviceFullName" => "AWS Greengrass",
|
1218
|
+
"serviceId" => "Greengrass",
|
1128
1219
|
"signatureVersion" => "v4",
|
1129
1220
|
"signingName" => "greengrass",
|
1130
1221
|
"uid" => "greengrass-2017-06-07",
|
@@ -1397,6 +1488,15 @@ module Aws::Greengrass
|
|
1397
1488
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1398
1489
|
end)
|
1399
1490
|
|
1491
|
+
api.add_operation(:get_bulk_deployment_status, Seahorse::Model::Operation.new.tap do |o|
|
1492
|
+
o.name = "GetBulkDeploymentStatus"
|
1493
|
+
o.http_method = "GET"
|
1494
|
+
o.http_request_uri = "/greengrass/bulk/deployments/{BulkDeploymentId}/status"
|
1495
|
+
o.input = Shapes::ShapeRef.new(shape: GetBulkDeploymentStatusRequest)
|
1496
|
+
o.output = Shapes::ShapeRef.new(shape: GetBulkDeploymentStatusResponse)
|
1497
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1498
|
+
end)
|
1499
|
+
|
1400
1500
|
api.add_operation(:get_connectivity_info, Seahorse::Model::Operation.new.tap do |o|
|
1401
1501
|
o.name = "GetConnectivityInfo"
|
1402
1502
|
o.http_method = "GET"
|
@@ -1571,6 +1671,24 @@ module Aws::Greengrass
|
|
1571
1671
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1572
1672
|
end)
|
1573
1673
|
|
1674
|
+
api.add_operation(:list_bulk_deployment_detailed_reports, Seahorse::Model::Operation.new.tap do |o|
|
1675
|
+
o.name = "ListBulkDeploymentDetailedReports"
|
1676
|
+
o.http_method = "GET"
|
1677
|
+
o.http_request_uri = "/greengrass/bulk/deployments/{BulkDeploymentId}/detailed-reports"
|
1678
|
+
o.input = Shapes::ShapeRef.new(shape: ListBulkDeploymentDetailedReportsRequest)
|
1679
|
+
o.output = Shapes::ShapeRef.new(shape: ListBulkDeploymentDetailedReportsResponse)
|
1680
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1681
|
+
end)
|
1682
|
+
|
1683
|
+
api.add_operation(:list_bulk_deployments, Seahorse::Model::Operation.new.tap do |o|
|
1684
|
+
o.name = "ListBulkDeployments"
|
1685
|
+
o.http_method = "GET"
|
1686
|
+
o.http_request_uri = "/greengrass/bulk/deployments"
|
1687
|
+
o.input = Shapes::ShapeRef.new(shape: ListBulkDeploymentsRequest)
|
1688
|
+
o.output = Shapes::ShapeRef.new(shape: ListBulkDeploymentsResponse)
|
1689
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1690
|
+
end)
|
1691
|
+
|
1574
1692
|
api.add_operation(:list_core_definition_versions, Seahorse::Model::Operation.new.tap do |o|
|
1575
1693
|
o.name = "ListCoreDefinitionVersions"
|
1576
1694
|
o.http_method = "GET"
|
@@ -1718,6 +1836,24 @@ module Aws::Greengrass
|
|
1718
1836
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1719
1837
|
end)
|
1720
1838
|
|
1839
|
+
api.add_operation(:start_bulk_deployment, Seahorse::Model::Operation.new.tap do |o|
|
1840
|
+
o.name = "StartBulkDeployment"
|
1841
|
+
o.http_method = "POST"
|
1842
|
+
o.http_request_uri = "/greengrass/bulk/deployments"
|
1843
|
+
o.input = Shapes::ShapeRef.new(shape: StartBulkDeploymentRequest)
|
1844
|
+
o.output = Shapes::ShapeRef.new(shape: StartBulkDeploymentResponse)
|
1845
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1846
|
+
end)
|
1847
|
+
|
1848
|
+
api.add_operation(:stop_bulk_deployment, Seahorse::Model::Operation.new.tap do |o|
|
1849
|
+
o.name = "StopBulkDeployment"
|
1850
|
+
o.http_method = "PUT"
|
1851
|
+
o.http_request_uri = "/greengrass/bulk/deployments/{BulkDeploymentId}/$stop"
|
1852
|
+
o.input = Shapes::ShapeRef.new(shape: StopBulkDeploymentRequest)
|
1853
|
+
o.output = Shapes::ShapeRef.new(shape: StopBulkDeploymentResponse)
|
1854
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1855
|
+
end)
|
1856
|
+
|
1721
1857
|
api.add_operation(:update_connectivity_info, Seahorse::Model::Operation.new.tap do |o|
|
1722
1858
|
o.name = "UpdateConnectivityInfo"
|
1723
1859
|
o.http_method = "PUT"
|
@@ -72,6 +72,107 @@ module Aws::Greengrass
|
|
72
72
|
include Aws::Structure
|
73
73
|
end
|
74
74
|
|
75
|
+
# Information about a bulk deployment.
|
76
|
+
#
|
77
|
+
# @!attribute [rw] bulk_deployment_arn
|
78
|
+
# The ARN of the bulk deployment.
|
79
|
+
# @return [String]
|
80
|
+
#
|
81
|
+
# @!attribute [rw] bulk_deployment_id
|
82
|
+
# The ID of the bulk deployment.
|
83
|
+
# @return [String]
|
84
|
+
#
|
85
|
+
# @!attribute [rw] created_at
|
86
|
+
# The time, in ISO format, when the deployment was created.
|
87
|
+
# @return [String]
|
88
|
+
#
|
89
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/BulkDeployment AWS API Documentation
|
90
|
+
#
|
91
|
+
class BulkDeployment < Struct.new(
|
92
|
+
:bulk_deployment_arn,
|
93
|
+
:bulk_deployment_id,
|
94
|
+
:created_at)
|
95
|
+
include Aws::Structure
|
96
|
+
end
|
97
|
+
|
98
|
+
# Relevant metrics on input records processed during bulk deployment.
|
99
|
+
#
|
100
|
+
# @!attribute [rw] invalid_input_records
|
101
|
+
# The total number of records that returned a non-retryable error. For
|
102
|
+
# example, this can occur if a group record from the input file uses
|
103
|
+
# an invalid format or specifies a nonexistent group version, or if
|
104
|
+
# the execution role doesn't grant permission to deploy a group or
|
105
|
+
# group version.
|
106
|
+
# @return [Integer]
|
107
|
+
#
|
108
|
+
# @!attribute [rw] records_processed
|
109
|
+
# The total number of group records from the input file that have been
|
110
|
+
# processed so far, or attempted.
|
111
|
+
# @return [Integer]
|
112
|
+
#
|
113
|
+
# @!attribute [rw] retry_attempts
|
114
|
+
# The total number of retry attempts during the bulk deployment.
|
115
|
+
# @return [Integer]
|
116
|
+
#
|
117
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/BulkDeploymentMetrics AWS API Documentation
|
118
|
+
#
|
119
|
+
class BulkDeploymentMetrics < Struct.new(
|
120
|
+
:invalid_input_records,
|
121
|
+
:records_processed,
|
122
|
+
:retry_attempts)
|
123
|
+
include Aws::Structure
|
124
|
+
end
|
125
|
+
|
126
|
+
# Information about an individual group deployment in a bulk deployment
|
127
|
+
# operation.
|
128
|
+
#
|
129
|
+
# @!attribute [rw] created_at
|
130
|
+
# The time, in ISO format, when the deployment was created.
|
131
|
+
# @return [String]
|
132
|
+
#
|
133
|
+
# @!attribute [rw] deployment_arn
|
134
|
+
# The ARN of the group deployment.
|
135
|
+
# @return [String]
|
136
|
+
#
|
137
|
+
# @!attribute [rw] deployment_id
|
138
|
+
# The ID of the group deployment.
|
139
|
+
# @return [String]
|
140
|
+
#
|
141
|
+
# @!attribute [rw] deployment_status
|
142
|
+
# The current status of the group deployment: ''Pending'',
|
143
|
+
# ''InProgress'', ''Success'', or ''Failure''.
|
144
|
+
# @return [String]
|
145
|
+
#
|
146
|
+
# @!attribute [rw] deployment_type
|
147
|
+
# The type of the deployment.
|
148
|
+
# @return [String]
|
149
|
+
#
|
150
|
+
# @!attribute [rw] error_details
|
151
|
+
# Details about the error.
|
152
|
+
# @return [Array<Types::ErrorDetail>]
|
153
|
+
#
|
154
|
+
# @!attribute [rw] error_message
|
155
|
+
# The error message for a failed deployment
|
156
|
+
# @return [String]
|
157
|
+
#
|
158
|
+
# @!attribute [rw] group_arn
|
159
|
+
# The ARN of the Greengrass group.
|
160
|
+
# @return [String]
|
161
|
+
#
|
162
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/BulkDeploymentResult AWS API Documentation
|
163
|
+
#
|
164
|
+
class BulkDeploymentResult < Struct.new(
|
165
|
+
:created_at,
|
166
|
+
:deployment_arn,
|
167
|
+
:deployment_id,
|
168
|
+
:deployment_status,
|
169
|
+
:deployment_type,
|
170
|
+
:error_details,
|
171
|
+
:error_message,
|
172
|
+
:group_arn)
|
173
|
+
include Aws::Structure
|
174
|
+
end
|
175
|
+
|
75
176
|
# Information about a Greengrass core's connectivity.
|
76
177
|
#
|
77
178
|
# @note When making an API call, you may pass ConnectivityInfo
|
@@ -127,7 +228,9 @@ module Aws::Greengrass
|
|
127
228
|
# @return [String]
|
128
229
|
#
|
129
230
|
# @!attribute [rw] id
|
130
|
-
#
|
231
|
+
# A descriptive or arbitrary ID for the core. This value must be
|
232
|
+
# unique within the core definition version. Max length is 128
|
233
|
+
# characters with pattern ''\[a‑zA‑Z0‑9:\_‑\]+''.
|
131
234
|
# @return [String]
|
132
235
|
#
|
133
236
|
# @!attribute [rw] sync_shadow
|
@@ -1576,7 +1679,9 @@ module Aws::Greengrass
|
|
1576
1679
|
# @return [String]
|
1577
1680
|
#
|
1578
1681
|
# @!attribute [rw] id
|
1579
|
-
#
|
1682
|
+
# A descriptive or arbitrary ID for the device. This value must be
|
1683
|
+
# unique within the device definition version. Max length is 128
|
1684
|
+
# characters with pattern ''\[a‑zA‑Z0‑9:\_‑\]+''.
|
1580
1685
|
# @return [String]
|
1581
1686
|
#
|
1582
1687
|
# @!attribute [rw] sync_shadow
|
@@ -1734,7 +1839,9 @@ module Aws::Greengrass
|
|
1734
1839
|
# @return [Types::FunctionConfiguration]
|
1735
1840
|
#
|
1736
1841
|
# @!attribute [rw] id
|
1737
|
-
#
|
1842
|
+
# A descriptive or arbitrary ID for the function. This value must be
|
1843
|
+
# unique within the function definition version. Max length is 128
|
1844
|
+
# characters with pattern ''\[a‑zA‑Z0‑9:\_‑\]+''.
|
1738
1845
|
# @return [String]
|
1739
1846
|
#
|
1740
1847
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/Function AWS API Documentation
|
@@ -1956,6 +2063,57 @@ module Aws::Greengrass
|
|
1956
2063
|
include Aws::Structure
|
1957
2064
|
end
|
1958
2065
|
|
2066
|
+
# @note When making an API call, you may pass GetBulkDeploymentStatusRequest
|
2067
|
+
# data as a hash:
|
2068
|
+
#
|
2069
|
+
# {
|
2070
|
+
# bulk_deployment_id: "__string", # required
|
2071
|
+
# }
|
2072
|
+
#
|
2073
|
+
# @!attribute [rw] bulk_deployment_id
|
2074
|
+
# @return [String]
|
2075
|
+
#
|
2076
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetBulkDeploymentStatusRequest AWS API Documentation
|
2077
|
+
#
|
2078
|
+
class GetBulkDeploymentStatusRequest < Struct.new(
|
2079
|
+
:bulk_deployment_id)
|
2080
|
+
include Aws::Structure
|
2081
|
+
end
|
2082
|
+
|
2083
|
+
# Information about the status of a bulk deployment at the time of the
|
2084
|
+
# request.
|
2085
|
+
#
|
2086
|
+
# @!attribute [rw] bulk_deployment_metrics
|
2087
|
+
# Relevant metrics on input records processed during bulk deployment.
|
2088
|
+
# @return [Types::BulkDeploymentMetrics]
|
2089
|
+
#
|
2090
|
+
# @!attribute [rw] bulk_deployment_status
|
2091
|
+
# The status of the bulk deployment.
|
2092
|
+
# @return [String]
|
2093
|
+
#
|
2094
|
+
# @!attribute [rw] created_at
|
2095
|
+
# The time, in ISO format, when the deployment was created.
|
2096
|
+
# @return [String]
|
2097
|
+
#
|
2098
|
+
# @!attribute [rw] error_details
|
2099
|
+
# Error details
|
2100
|
+
# @return [Array<Types::ErrorDetail>]
|
2101
|
+
#
|
2102
|
+
# @!attribute [rw] error_message
|
2103
|
+
# Error message
|
2104
|
+
# @return [String]
|
2105
|
+
#
|
2106
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetBulkDeploymentStatusResponse AWS API Documentation
|
2107
|
+
#
|
2108
|
+
class GetBulkDeploymentStatusResponse < Struct.new(
|
2109
|
+
:bulk_deployment_metrics,
|
2110
|
+
:bulk_deployment_status,
|
2111
|
+
:created_at,
|
2112
|
+
:error_details,
|
2113
|
+
:error_message)
|
2114
|
+
include Aws::Structure
|
2115
|
+
end
|
2116
|
+
|
1959
2117
|
# @note When making an API call, you may pass GetConnectivityInfoRequest
|
1960
2118
|
# data as a hash:
|
1961
2119
|
#
|
@@ -2081,6 +2239,11 @@ module Aws::Greengrass
|
|
2081
2239
|
# The ID of the core definition version.
|
2082
2240
|
# @return [String]
|
2083
2241
|
#
|
2242
|
+
# @!attribute [rw] next_token
|
2243
|
+
# The token for the next set of results, or ''null'' if there are
|
2244
|
+
# no additional results.
|
2245
|
+
# @return [String]
|
2246
|
+
#
|
2084
2247
|
# @!attribute [rw] version
|
2085
2248
|
# The version of the core definition version.
|
2086
2249
|
# @return [String]
|
@@ -2092,6 +2255,7 @@ module Aws::Greengrass
|
|
2092
2255
|
:creation_timestamp,
|
2093
2256
|
:definition,
|
2094
2257
|
:id,
|
2258
|
+
:next_token,
|
2095
2259
|
:version)
|
2096
2260
|
include Aws::Structure
|
2097
2261
|
end
|
@@ -2121,7 +2285,8 @@ module Aws::Greengrass
|
|
2121
2285
|
# Information about the status of a deployment for a group.
|
2122
2286
|
#
|
2123
2287
|
# @!attribute [rw] deployment_status
|
2124
|
-
# The status of the deployment
|
2288
|
+
# The status of the deployment: ''Pending'', ''InProgress'',
|
2289
|
+
# ''Success'', or ''Failure''.
|
2125
2290
|
# @return [String]
|
2126
2291
|
#
|
2127
2292
|
# @!attribute [rw] deployment_type
|
@@ -2209,6 +2374,7 @@ module Aws::Greengrass
|
|
2209
2374
|
# {
|
2210
2375
|
# device_definition_id: "__string", # required
|
2211
2376
|
# device_definition_version_id: "__string", # required
|
2377
|
+
# next_token: "__string",
|
2212
2378
|
# }
|
2213
2379
|
#
|
2214
2380
|
# @!attribute [rw] device_definition_id
|
@@ -2217,11 +2383,15 @@ module Aws::Greengrass
|
|
2217
2383
|
# @!attribute [rw] device_definition_version_id
|
2218
2384
|
# @return [String]
|
2219
2385
|
#
|
2386
|
+
# @!attribute [rw] next_token
|
2387
|
+
# @return [String]
|
2388
|
+
#
|
2220
2389
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetDeviceDefinitionVersionRequest AWS API Documentation
|
2221
2390
|
#
|
2222
2391
|
class GetDeviceDefinitionVersionRequest < Struct.new(
|
2223
2392
|
:device_definition_id,
|
2224
|
-
:device_definition_version_id
|
2393
|
+
:device_definition_version_id,
|
2394
|
+
:next_token)
|
2225
2395
|
include Aws::Structure
|
2226
2396
|
end
|
2227
2397
|
|
@@ -2242,6 +2412,11 @@ module Aws::Greengrass
|
|
2242
2412
|
# The ID of the device definition version.
|
2243
2413
|
# @return [String]
|
2244
2414
|
#
|
2415
|
+
# @!attribute [rw] next_token
|
2416
|
+
# The token for the next set of results, or ''null'' if there are
|
2417
|
+
# no additional results.
|
2418
|
+
# @return [String]
|
2419
|
+
#
|
2245
2420
|
# @!attribute [rw] version
|
2246
2421
|
# The version of the device definition version.
|
2247
2422
|
# @return [String]
|
@@ -2253,6 +2428,7 @@ module Aws::Greengrass
|
|
2253
2428
|
:creation_timestamp,
|
2254
2429
|
:definition,
|
2255
2430
|
:id,
|
2431
|
+
:next_token,
|
2256
2432
|
:version)
|
2257
2433
|
include Aws::Structure
|
2258
2434
|
end
|
@@ -2314,6 +2490,7 @@ module Aws::Greengrass
|
|
2314
2490
|
# {
|
2315
2491
|
# function_definition_id: "__string", # required
|
2316
2492
|
# function_definition_version_id: "__string", # required
|
2493
|
+
# next_token: "__string",
|
2317
2494
|
# }
|
2318
2495
|
#
|
2319
2496
|
# @!attribute [rw] function_definition_id
|
@@ -2322,11 +2499,15 @@ module Aws::Greengrass
|
|
2322
2499
|
# @!attribute [rw] function_definition_version_id
|
2323
2500
|
# @return [String]
|
2324
2501
|
#
|
2502
|
+
# @!attribute [rw] next_token
|
2503
|
+
# @return [String]
|
2504
|
+
#
|
2325
2505
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetFunctionDefinitionVersionRequest AWS API Documentation
|
2326
2506
|
#
|
2327
2507
|
class GetFunctionDefinitionVersionRequest < Struct.new(
|
2328
2508
|
:function_definition_id,
|
2329
|
-
:function_definition_version_id
|
2509
|
+
:function_definition_version_id,
|
2510
|
+
:next_token)
|
2330
2511
|
include Aws::Structure
|
2331
2512
|
end
|
2332
2513
|
|
@@ -2349,6 +2530,11 @@ module Aws::Greengrass
|
|
2349
2530
|
# The ID of the function definition version.
|
2350
2531
|
# @return [String]
|
2351
2532
|
#
|
2533
|
+
# @!attribute [rw] next_token
|
2534
|
+
# The token for the next set of results, or ''null'' if there are
|
2535
|
+
# no additional results.
|
2536
|
+
# @return [String]
|
2537
|
+
#
|
2352
2538
|
# @!attribute [rw] version
|
2353
2539
|
# The version of the function definition version.
|
2354
2540
|
# @return [String]
|
@@ -2360,6 +2546,7 @@ module Aws::Greengrass
|
|
2360
2546
|
:creation_timestamp,
|
2361
2547
|
:definition,
|
2362
2548
|
:id,
|
2549
|
+
:next_token,
|
2363
2550
|
:version)
|
2364
2551
|
include Aws::Structure
|
2365
2552
|
end
|
@@ -2608,6 +2795,7 @@ module Aws::Greengrass
|
|
2608
2795
|
# {
|
2609
2796
|
# logger_definition_id: "__string", # required
|
2610
2797
|
# logger_definition_version_id: "__string", # required
|
2798
|
+
# next_token: "__string",
|
2611
2799
|
# }
|
2612
2800
|
#
|
2613
2801
|
# @!attribute [rw] logger_definition_id
|
@@ -2616,11 +2804,15 @@ module Aws::Greengrass
|
|
2616
2804
|
# @!attribute [rw] logger_definition_version_id
|
2617
2805
|
# @return [String]
|
2618
2806
|
#
|
2807
|
+
# @!attribute [rw] next_token
|
2808
|
+
# @return [String]
|
2809
|
+
#
|
2619
2810
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetLoggerDefinitionVersionRequest AWS API Documentation
|
2620
2811
|
#
|
2621
2812
|
class GetLoggerDefinitionVersionRequest < Struct.new(
|
2622
2813
|
:logger_definition_id,
|
2623
|
-
:logger_definition_version_id
|
2814
|
+
:logger_definition_version_id,
|
2815
|
+
:next_token)
|
2624
2816
|
include Aws::Structure
|
2625
2817
|
end
|
2626
2818
|
|
@@ -2842,10 +3034,14 @@ module Aws::Greengrass
|
|
2842
3034
|
# data as a hash:
|
2843
3035
|
#
|
2844
3036
|
# {
|
3037
|
+
# next_token: "__string",
|
2845
3038
|
# subscription_definition_id: "__string", # required
|
2846
3039
|
# subscription_definition_version_id: "__string", # required
|
2847
3040
|
# }
|
2848
3041
|
#
|
3042
|
+
# @!attribute [rw] next_token
|
3043
|
+
# @return [String]
|
3044
|
+
#
|
2849
3045
|
# @!attribute [rw] subscription_definition_id
|
2850
3046
|
# @return [String]
|
2851
3047
|
#
|
@@ -2855,6 +3051,7 @@ module Aws::Greengrass
|
|
2855
3051
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetSubscriptionDefinitionVersionRequest AWS API Documentation
|
2856
3052
|
#
|
2857
3053
|
class GetSubscriptionDefinitionVersionRequest < Struct.new(
|
3054
|
+
:next_token,
|
2858
3055
|
:subscription_definition_id,
|
2859
3056
|
:subscription_definition_version_id)
|
2860
3057
|
include Aws::Structure
|
@@ -2879,6 +3076,11 @@ module Aws::Greengrass
|
|
2879
3076
|
# The ID of the subscription definition version.
|
2880
3077
|
# @return [String]
|
2881
3078
|
#
|
3079
|
+
# @!attribute [rw] next_token
|
3080
|
+
# The token for the next set of results, or ''null'' if there are
|
3081
|
+
# no additional results.
|
3082
|
+
# @return [String]
|
3083
|
+
#
|
2882
3084
|
# @!attribute [rw] version
|
2883
3085
|
# The version of the subscription definition version.
|
2884
3086
|
# @return [String]
|
@@ -2890,6 +3092,7 @@ module Aws::Greengrass
|
|
2890
3092
|
:creation_timestamp,
|
2891
3093
|
:definition,
|
2892
3094
|
:id,
|
3095
|
+
:next_token,
|
2893
3096
|
:version)
|
2894
3097
|
include Aws::Structure
|
2895
3098
|
end
|
@@ -3062,6 +3265,90 @@ module Aws::Greengrass
|
|
3062
3265
|
include Aws::Structure
|
3063
3266
|
end
|
3064
3267
|
|
3268
|
+
# @note When making an API call, you may pass ListBulkDeploymentDetailedReportsRequest
|
3269
|
+
# data as a hash:
|
3270
|
+
#
|
3271
|
+
# {
|
3272
|
+
# bulk_deployment_id: "__string", # required
|
3273
|
+
# max_results: "__string",
|
3274
|
+
# next_token: "__string",
|
3275
|
+
# }
|
3276
|
+
#
|
3277
|
+
# @!attribute [rw] bulk_deployment_id
|
3278
|
+
# @return [String]
|
3279
|
+
#
|
3280
|
+
# @!attribute [rw] max_results
|
3281
|
+
# @return [String]
|
3282
|
+
#
|
3283
|
+
# @!attribute [rw] next_token
|
3284
|
+
# @return [String]
|
3285
|
+
#
|
3286
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListBulkDeploymentDetailedReportsRequest AWS API Documentation
|
3287
|
+
#
|
3288
|
+
class ListBulkDeploymentDetailedReportsRequest < Struct.new(
|
3289
|
+
:bulk_deployment_id,
|
3290
|
+
:max_results,
|
3291
|
+
:next_token)
|
3292
|
+
include Aws::Structure
|
3293
|
+
end
|
3294
|
+
|
3295
|
+
# @!attribute [rw] deployments
|
3296
|
+
# A list of the individual group deployments in the bulk deployment
|
3297
|
+
# operation.
|
3298
|
+
# @return [Array<Types::BulkDeploymentResult>]
|
3299
|
+
#
|
3300
|
+
# @!attribute [rw] next_token
|
3301
|
+
# The token for the next set of results, or ''null'' if there are
|
3302
|
+
# no additional results.
|
3303
|
+
# @return [String]
|
3304
|
+
#
|
3305
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListBulkDeploymentDetailedReportsResponse AWS API Documentation
|
3306
|
+
#
|
3307
|
+
class ListBulkDeploymentDetailedReportsResponse < Struct.new(
|
3308
|
+
:deployments,
|
3309
|
+
:next_token)
|
3310
|
+
include Aws::Structure
|
3311
|
+
end
|
3312
|
+
|
3313
|
+
# @note When making an API call, you may pass ListBulkDeploymentsRequest
|
3314
|
+
# data as a hash:
|
3315
|
+
#
|
3316
|
+
# {
|
3317
|
+
# max_results: "__string",
|
3318
|
+
# next_token: "__string",
|
3319
|
+
# }
|
3320
|
+
#
|
3321
|
+
# @!attribute [rw] max_results
|
3322
|
+
# @return [String]
|
3323
|
+
#
|
3324
|
+
# @!attribute [rw] next_token
|
3325
|
+
# @return [String]
|
3326
|
+
#
|
3327
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListBulkDeploymentsRequest AWS API Documentation
|
3328
|
+
#
|
3329
|
+
class ListBulkDeploymentsRequest < Struct.new(
|
3330
|
+
:max_results,
|
3331
|
+
:next_token)
|
3332
|
+
include Aws::Structure
|
3333
|
+
end
|
3334
|
+
|
3335
|
+
# @!attribute [rw] bulk_deployments
|
3336
|
+
# A list of bulk deployments.
|
3337
|
+
# @return [Array<Types::BulkDeployment>]
|
3338
|
+
#
|
3339
|
+
# @!attribute [rw] next_token
|
3340
|
+
# The token for the next set of results, or ''null'' if there are
|
3341
|
+
# no additional results.
|
3342
|
+
# @return [String]
|
3343
|
+
#
|
3344
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListBulkDeploymentsResponse AWS API Documentation
|
3345
|
+
#
|
3346
|
+
class ListBulkDeploymentsResponse < Struct.new(
|
3347
|
+
:bulk_deployments,
|
3348
|
+
:next_token)
|
3349
|
+
include Aws::Structure
|
3350
|
+
end
|
3351
|
+
|
3065
3352
|
# @note When making an API call, you may pass ListCoreDefinitionVersionsRequest
|
3066
3353
|
# data as a hash:
|
3067
3354
|
#
|
@@ -3772,7 +4059,7 @@ module Aws::Greengrass
|
|
3772
4059
|
# @!attribute [rw] source_path
|
3773
4060
|
# The local absolute path of the volume resource on the host. The
|
3774
4061
|
# source path for a volume resource type cannot start with
|
3775
|
-
# ''/sys''.
|
4062
|
+
# ''/proc'' or ''/sys''.
|
3776
4063
|
# @return [String]
|
3777
4064
|
#
|
3778
4065
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/LocalVolumeResourceData AWS API Documentation
|
@@ -3802,7 +4089,9 @@ module Aws::Greengrass
|
|
3802
4089
|
# @return [String]
|
3803
4090
|
#
|
3804
4091
|
# @!attribute [rw] id
|
3805
|
-
#
|
4092
|
+
# A descriptive or arbitrary ID for the logger. This value must be
|
4093
|
+
# unique within the logger definition version. Max length is 128
|
4094
|
+
# characters with pattern ''\[a‑zA‑Z0‑9:\_‑\]+''.
|
3806
4095
|
# @return [String]
|
3807
4096
|
#
|
3808
4097
|
# @!attribute [rw] level
|
@@ -4160,6 +4449,86 @@ module Aws::Greengrass
|
|
4160
4449
|
include Aws::Structure
|
4161
4450
|
end
|
4162
4451
|
|
4452
|
+
# Information about a bulk deployment. You cannot start a new bulk
|
4453
|
+
# deployment while another one is still running or in a non-terminal
|
4454
|
+
# state.
|
4455
|
+
#
|
4456
|
+
# @note When making an API call, you may pass StartBulkDeploymentRequest
|
4457
|
+
# data as a hash:
|
4458
|
+
#
|
4459
|
+
# {
|
4460
|
+
# amzn_client_token: "__string",
|
4461
|
+
# execution_role_arn: "__string",
|
4462
|
+
# input_file_uri: "__string",
|
4463
|
+
# }
|
4464
|
+
#
|
4465
|
+
# @!attribute [rw] amzn_client_token
|
4466
|
+
# @return [String]
|
4467
|
+
#
|
4468
|
+
# @!attribute [rw] execution_role_arn
|
4469
|
+
# The ARN of the execution role to associate with the bulk deployment
|
4470
|
+
# operation. This IAM role must allow the
|
4471
|
+
# ''greengrass:CreateDeployment'' action for all group versions
|
4472
|
+
# that are listed in the input file. This IAM role must have access to
|
4473
|
+
# the S3 bucket containing the input file.
|
4474
|
+
# @return [String]
|
4475
|
+
#
|
4476
|
+
# @!attribute [rw] input_file_uri
|
4477
|
+
# The URI of the input file contained in the S3 bucket. The execution
|
4478
|
+
# role must have ''getObject'' permissions on this bucket to
|
4479
|
+
# access the input file. The input file is a JSON-serialized, line
|
4480
|
+
# delimited file with UTF-8 encoding that provides a list of group and
|
4481
|
+
# version IDs and the deployment type. This file must be less than
|
4482
|
+
# 100MB. Currently, Greengrass; supports only ''NewDeployment''
|
4483
|
+
# deployment types.
|
4484
|
+
# @return [String]
|
4485
|
+
#
|
4486
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/StartBulkDeploymentRequest AWS API Documentation
|
4487
|
+
#
|
4488
|
+
class StartBulkDeploymentRequest < Struct.new(
|
4489
|
+
:amzn_client_token,
|
4490
|
+
:execution_role_arn,
|
4491
|
+
:input_file_uri)
|
4492
|
+
include Aws::Structure
|
4493
|
+
end
|
4494
|
+
|
4495
|
+
# @!attribute [rw] bulk_deployment_arn
|
4496
|
+
# The ARN of the bulk deployment.
|
4497
|
+
# @return [String]
|
4498
|
+
#
|
4499
|
+
# @!attribute [rw] bulk_deployment_id
|
4500
|
+
# The ID of the bulk deployment.
|
4501
|
+
# @return [String]
|
4502
|
+
#
|
4503
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/StartBulkDeploymentResponse AWS API Documentation
|
4504
|
+
#
|
4505
|
+
class StartBulkDeploymentResponse < Struct.new(
|
4506
|
+
:bulk_deployment_arn,
|
4507
|
+
:bulk_deployment_id)
|
4508
|
+
include Aws::Structure
|
4509
|
+
end
|
4510
|
+
|
4511
|
+
# @note When making an API call, you may pass StopBulkDeploymentRequest
|
4512
|
+
# data as a hash:
|
4513
|
+
#
|
4514
|
+
# {
|
4515
|
+
# bulk_deployment_id: "__string", # required
|
4516
|
+
# }
|
4517
|
+
#
|
4518
|
+
# @!attribute [rw] bulk_deployment_id
|
4519
|
+
# @return [String]
|
4520
|
+
#
|
4521
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/StopBulkDeploymentRequest AWS API Documentation
|
4522
|
+
#
|
4523
|
+
class StopBulkDeploymentRequest < Struct.new(
|
4524
|
+
:bulk_deployment_id)
|
4525
|
+
include Aws::Structure
|
4526
|
+
end
|
4527
|
+
|
4528
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/StopBulkDeploymentResponse AWS API Documentation
|
4529
|
+
#
|
4530
|
+
class StopBulkDeploymentResponse < Aws::EmptyStructure; end
|
4531
|
+
|
4163
4532
|
# Information about a subscription.
|
4164
4533
|
#
|
4165
4534
|
# @note When making an API call, you may pass Subscription
|
@@ -4173,7 +4542,9 @@ module Aws::Greengrass
|
|
4173
4542
|
# }
|
4174
4543
|
#
|
4175
4544
|
# @!attribute [rw] id
|
4176
|
-
#
|
4545
|
+
# A descriptive or arbitrary ID for the subscription. This value must
|
4546
|
+
# be unique within the subscription definition version. Max length is
|
4547
|
+
# 128 characters with pattern ''\[a‑zA‑Z0‑9:\_‑\]+''.
|
4177
4548
|
# @return [String]
|
4178
4549
|
#
|
4179
4550
|
# @!attribute [rw] source
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-greengrass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|