aws-sdk-greengrass 1.12.0 → 1.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b0972908d65075ccdc31e071a61582376f6d2490
4
- data.tar.gz: 9332a53631106218700c4629fec84af837556090
3
+ metadata.gz: 6ab02d8a645dc0318c528cf2bd56d63b7a919195
4
+ data.tar.gz: 0cad65b92d59ecd3e57c1fa0ec36ab072fcea94b
5
5
  SHA512:
6
- metadata.gz: b9d7bef5f3b85fc2693cfd3776963912ed4304cb5143d4a21565b2cf3f68e0ccc2a525c78377dfff45b30e0590ba99c15c3d423cc953f91e13d31674260a822f
7
- data.tar.gz: 8200cd6f9396004100865f1ffe7747c785783665750a85fe36d87016879e8fa15fe52970baf2953e08856ed4e13e7439fba982b0a10f81221b1f7533b61f2675
6
+ metadata.gz: 7d9dedc1e3310f6098db67bcef62238ca5aa45ea1da9d41fb7e59b0bef02993825ac49b31e9493932ef24ae912ba12922db03e5476ce9a96ffb51045ce005364
7
+ data.tar.gz: 2dd945dbc0f85f41c77b5df651e47579872e6da049b592bed86de2252fde602f09fb4b3f2c6d3eee4187f441ce02da416e55e014924e0349fa983a190a48627d
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-greengrass/customizations'
42
42
  # @service
43
43
  module Aws::Greengrass
44
44
 
45
- GEM_VERSION = '1.12.0'
45
+ GEM_VERSION = '1.13.0'
46
46
 
47
47
  end
@@ -493,7 +493,7 @@ module Aws::Greengrass
493
493
  # deployment.
494
494
  #
495
495
  # @option params [String] :deployment_type
496
- # The type of deployment. When used in ''CreateDeployment'', only
496
+ # The type of deployment. When used for ''CreateDeployment'', only
497
497
  # ''NewDeployment'' and ''Redeployment'' are valid.
498
498
  #
499
499
  # @option params [required, String] :group_id
@@ -665,6 +665,10 @@ module Aws::Greengrass
665
665
  # default_config: {
666
666
  # execution: {
667
667
  # isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
668
+ # run_as: {
669
+ # gid: 1,
670
+ # uid: 1,
671
+ # },
668
672
  # },
669
673
  # },
670
674
  # functions: [
@@ -729,8 +733,8 @@ module Aws::Greengrass
729
733
  # @option params [String] :amzn_client_token
730
734
  #
731
735
  # @option params [Types::FunctionDefaultConfig] :default_config
732
- # Default configuration that will apply to all Lambda functions in the
733
- # group.
736
+ # The default configuration that applies to all Lambda functions in the
737
+ # group. Individual Lambda functions can override these settings.
734
738
  #
735
739
  # @option params [required, String] :function_definition_id
736
740
  #
@@ -750,6 +754,10 @@ module Aws::Greengrass
750
754
  # default_config: {
751
755
  # execution: {
752
756
  # isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
757
+ # run_as: {
758
+ # gid: 1,
759
+ # uid: 1,
760
+ # },
753
761
  # },
754
762
  # },
755
763
  # function_definition_id: "__string", # required
@@ -2065,6 +2073,8 @@ module Aws::Greengrass
2065
2073
  # resp.arn #=> String
2066
2074
  # resp.creation_timestamp #=> String
2067
2075
  # resp.definition.default_config.execution.isolation_mode #=> String, one of "GreengrassContainer", "NoContainer"
2076
+ # resp.definition.default_config.execution.run_as.gid #=> Integer
2077
+ # resp.definition.default_config.execution.run_as.uid #=> Integer
2068
2078
  # resp.definition.functions #=> Array
2069
2079
  # resp.definition.functions[0].function_arn #=> String
2070
2080
  # resp.definition.functions[0].function_configuration.encoding_type #=> String, one of "binary", "json"
@@ -3706,7 +3716,7 @@ module Aws::Greengrass
3706
3716
  params: params,
3707
3717
  config: config)
3708
3718
  context[:gem_name] = 'aws-sdk-greengrass'
3709
- context[:gem_version] = '1.12.0'
3719
+ context[:gem_version] = '1.13.0'
3710
3720
  Seahorse::Client::Request.new(handlers, context)
3711
3721
  end
3712
3722
 
@@ -680,6 +680,7 @@ module Aws::Greengrass
680
680
  FunctionDefaultConfig.struct_class = Types::FunctionDefaultConfig
681
681
 
682
682
  FunctionDefaultExecutionConfig.add_member(:isolation_mode, Shapes::ShapeRef.new(shape: FunctionIsolationMode, location_name: "IsolationMode"))
683
+ FunctionDefaultExecutionConfig.add_member(:run_as, Shapes::ShapeRef.new(shape: FunctionRunAsConfig, location_name: "RunAs"))
683
684
  FunctionDefaultExecutionConfig.struct_class = Types::FunctionDefaultExecutionConfig
684
685
 
685
686
  FunctionDefinitionVersion.add_member(:default_config, Shapes::ShapeRef.new(shape: FunctionDefaultConfig, location_name: "DefaultConfig"))
@@ -144,8 +144,8 @@ module Aws::Greengrass
144
144
  # @return [String]
145
145
  #
146
146
  # @!attribute [rw] deployment_status
147
- # The current status of the group deployment: ''Pending'',
148
- # ''InProgress'', ''Success'', or ''Failure''.
147
+ # The current status of the group deployment: ''InProgress'',
148
+ # ''Building'', ''Success'', or ''Failure''.
149
149
  # @return [String]
150
150
  #
151
151
  # @!attribute [rw] deployment_type
@@ -631,7 +631,7 @@ module Aws::Greengrass
631
631
  # @return [String]
632
632
  #
633
633
  # @!attribute [rw] deployment_type
634
- # The type of deployment. When used in ''CreateDeployment'', only
634
+ # The type of deployment. When used for ''CreateDeployment'', only
635
635
  # ''NewDeployment'' and ''Redeployment'' are valid.
636
636
  # @return [String]
637
637
  #
@@ -805,6 +805,10 @@ module Aws::Greengrass
805
805
  # default_config: {
806
806
  # execution: {
807
807
  # isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
808
+ # run_as: {
809
+ # gid: 1,
810
+ # uid: 1,
811
+ # },
808
812
  # },
809
813
  # },
810
814
  # functions: [
@@ -905,6 +909,10 @@ module Aws::Greengrass
905
909
  # default_config: {
906
910
  # execution: {
907
911
  # isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
912
+ # run_as: {
913
+ # gid: 1,
914
+ # uid: 1,
915
+ # },
908
916
  # },
909
917
  # },
910
918
  # function_definition_id: "__string", # required
@@ -947,8 +955,8 @@ module Aws::Greengrass
947
955
  # @return [String]
948
956
  #
949
957
  # @!attribute [rw] default_config
950
- # Default configuration that will apply to all Lambda functions in the
951
- # group.
958
+ # The default configuration that applies to all Lambda functions in
959
+ # the group. Individual Lambda functions can override these settings.
952
960
  # @return [Types::FunctionDefaultConfig]
953
961
  #
954
962
  # @!attribute [rw] function_definition_id
@@ -2265,8 +2273,8 @@ module Aws::Greengrass
2265
2273
  include Aws::Structure
2266
2274
  end
2267
2275
 
2268
- # Default configuration that will apply to all Lambda functions in the
2269
- # group.
2276
+ # The default configuration that applies to all Lambda functions in the
2277
+ # group. Individual Lambda functions can override these settings.
2270
2278
  #
2271
2279
  # @note When making an API call, you may pass FunctionDefaultConfig
2272
2280
  # data as a hash:
@@ -2274,13 +2282,15 @@ module Aws::Greengrass
2274
2282
  # {
2275
2283
  # execution: {
2276
2284
  # isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
2285
+ # run_as: {
2286
+ # gid: 1,
2287
+ # uid: 1,
2288
+ # },
2277
2289
  # },
2278
2290
  # }
2279
2291
  #
2280
2292
  # @!attribute [rw] execution
2281
- # Configuration that defines the default containerization used for
2282
- # when running Lambda functions in the group. Individual Lambda
2283
- # functions can be override this setting.
2293
+ # Configuration information that specifies how a Lambda function runs.
2284
2294
  # @return [Types::FunctionDefaultExecutionConfig]
2285
2295
  #
2286
2296
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/FunctionDefaultConfig AWS API Documentation
@@ -2290,15 +2300,17 @@ module Aws::Greengrass
2290
2300
  include Aws::Structure
2291
2301
  end
2292
2302
 
2293
- # Configuration that defines the default containerization used for when
2294
- # running Lambda functions in the group. Individual Lambda functions can
2295
- # be override this setting.
2303
+ # Configuration information that specifies how a Lambda function runs.
2296
2304
  #
2297
2305
  # @note When making an API call, you may pass FunctionDefaultExecutionConfig
2298
2306
  # data as a hash:
2299
2307
  #
2300
2308
  # {
2301
2309
  # isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
2310
+ # run_as: {
2311
+ # gid: 1,
2312
+ # uid: 1,
2313
+ # },
2302
2314
  # }
2303
2315
  #
2304
2316
  # @!attribute [rw] isolation_mode
@@ -2309,10 +2321,22 @@ module Aws::Greengrass
2309
2321
  # with the default containerization for the group.
2310
2322
  # @return [String]
2311
2323
  #
2324
+ # @!attribute [rw] run_as
2325
+ # Specifies the user and group whose permissions are used when running
2326
+ # the Lambda function. You can specify one or both values to override
2327
+ # the default values. We recommend that you avoid running as root
2328
+ # unless absolutely necessary to minimize the risk of unintended
2329
+ # changes or malicious attacks. To run as root, you must set
2330
+ # ''IsolationMode'' to ''NoContainer'' and update config.json
2331
+ # in ''greengrass-root/config'' to set
2332
+ # ''allowFunctionsToRunAsRoot'' to ''yes''.
2333
+ # @return [Types::FunctionRunAsConfig]
2334
+ #
2312
2335
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/FunctionDefaultExecutionConfig AWS API Documentation
2313
2336
  #
2314
2337
  class FunctionDefaultExecutionConfig < Struct.new(
2315
- :isolation_mode)
2338
+ :isolation_mode,
2339
+ :run_as)
2316
2340
  include Aws::Structure
2317
2341
  end
2318
2342
 
@@ -2325,6 +2349,10 @@ module Aws::Greengrass
2325
2349
  # default_config: {
2326
2350
  # execution: {
2327
2351
  # isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
2352
+ # run_as: {
2353
+ # gid: 1,
2354
+ # uid: 1,
2355
+ # },
2328
2356
  # },
2329
2357
  # },
2330
2358
  # functions: [
@@ -2363,8 +2391,9 @@ module Aws::Greengrass
2363
2391
  # }
2364
2392
  #
2365
2393
  # @!attribute [rw] default_config
2366
- # Default configuration that will apply to all Lambda functions in
2367
- # this function definition version
2394
+ # The default configuration that applies to all Lambda functions in
2395
+ # this function definition version. Individual Lambda functions can
2396
+ # override these settings.
2368
2397
  # @return [Types::FunctionDefaultConfig]
2369
2398
  #
2370
2399
  # @!attribute [rw] functions
@@ -2379,7 +2408,7 @@ module Aws::Greengrass
2379
2408
  include Aws::Structure
2380
2409
  end
2381
2410
 
2382
- # Configuration information that specifies how the Lambda function runs.
2411
+ # Configuration information that specifies how a Lambda function runs.
2383
2412
  #
2384
2413
  # @note When making an API call, you may pass FunctionExecutionConfig
2385
2414
  # data as a hash:
@@ -2401,14 +2430,14 @@ module Aws::Greengrass
2401
2430
  # @return [String]
2402
2431
  #
2403
2432
  # @!attribute [rw] run_as
2404
- # Specifies the user and/or group whose permissions are used when
2405
- # running the Lambda function. You can specify one or both values to
2406
- # override the default values (ggc\_user/ggc\_group). We recommend
2407
- # that you avoid running as root unless absolutely necessary to
2408
- # minimize the risk of unintended changes or malicious attacks. To run
2409
- # as root, you must set IsolationMode to NoContainer and you must
2410
- # update config.json in greengrass-root/config to set
2411
- # allowFunctionsToRunAsRoot to yes.
2433
+ # Specifies the user and group whose permissions are used when running
2434
+ # the Lambda function. You can specify one or both values to override
2435
+ # the default values. We recommend that you avoid running as root
2436
+ # unless absolutely necessary to minimize the risk of unintended
2437
+ # changes or malicious attacks. To run as root, you must set
2438
+ # ''IsolationMode'' to ''NoContainer'' and update config.json
2439
+ # in ''greengrass-root/config'' to set
2440
+ # ''allowFunctionsToRunAsRoot'' to ''yes''.
2412
2441
  # @return [Types::FunctionRunAsConfig]
2413
2442
  #
2414
2443
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/FunctionExecutionConfig AWS API Documentation
@@ -2419,13 +2448,14 @@ module Aws::Greengrass
2419
2448
  include Aws::Structure
2420
2449
  end
2421
2450
 
2422
- # Specifies the user and/or group whose permissions are used when
2423
- # running the Lambda function. You can specify one or both values to
2424
- # override the default values (ggc\_user/ggc\_group). We recommend that
2425
- # you avoid running as root unless absolutely necessary to minimize the
2426
- # risk of unintended changes or malicious attacks. To run as root, you
2427
- # must set IsolationMode to NoContainer and you must update config.json
2428
- # in greengrass-root/config to set allowFunctionsToRunAsRoot to yes.
2451
+ # Specifies the user and group whose permissions are used when running
2452
+ # the Lambda function. You can specify one or both values to override
2453
+ # the default values. We recommend that you avoid running as root unless
2454
+ # absolutely necessary to minimize the risk of unintended changes or
2455
+ # malicious attacks. To run as root, you must set ''IsolationMode''
2456
+ # to ''NoContainer'' and update config.json in
2457
+ # ''greengrass-root/config'' to set
2458
+ # ''allowFunctionsToRunAsRoot'' to ''yes''.
2429
2459
  #
2430
2460
  # @note When making an API call, you may pass FunctionRunAsConfig
2431
2461
  # data as a hash:
@@ -2436,11 +2466,11 @@ module Aws::Greengrass
2436
2466
  # }
2437
2467
  #
2438
2468
  # @!attribute [rw] gid
2439
- # The Group ID whose permissions are used to run a Lambda function.
2469
+ # The group ID whose permissions are used to run a Lambda function.
2440
2470
  # @return [Integer]
2441
2471
  #
2442
2472
  # @!attribute [rw] uid
2443
- # The User ID whose permissions are used to run a Lambda function.
2473
+ # The user ID whose permissions are used to run a Lambda function.
2444
2474
  # @return [Integer]
2445
2475
  #
2446
2476
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/FunctionRunAsConfig AWS API Documentation
@@ -2842,7 +2872,7 @@ module Aws::Greengrass
2842
2872
  # Information about the status of a deployment for a group.
2843
2873
  #
2844
2874
  # @!attribute [rw] deployment_status
2845
- # The status of the deployment: ''Pending'', ''InProgress'',
2875
+ # The status of the deployment: ''InProgress'', ''Building'',
2846
2876
  # ''Success'', or ''Failure''.
2847
2877
  # @return [String]
2848
2878
  #
@@ -5246,7 +5276,7 @@ module Aws::Greengrass
5246
5276
  # @return [String]
5247
5277
  #
5248
5278
  # @!attribute [rw] subject
5249
- # The subject of the message.
5279
+ # The MQTT topic used to route the message.
5250
5280
  # @return [String]
5251
5281
  #
5252
5282
  # @!attribute [rw] target
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.12.0
4
+ version: 1.13.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-11-27 00:00:00.000000000 Z
11
+ date: 2019-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core