lib/aws-sdk-greengrass/client.rb in aws-sdk-greengrass-1.12.0 vs lib/aws-sdk-greengrass/client.rb in aws-sdk-greengrass-1.13.0
- old
+ new
@@ -491,11 +491,11 @@
# @option params [String] :deployment_id
# The ID of the deployment if you wish to redeploy a previous
# deployment.
#
# @option params [String] :deployment_type
- # The type of deployment. When used in ''CreateDeployment'', only
+ # The type of deployment. When used for ''CreateDeployment'', only
# ''NewDeployment'' and ''Redeployment'' are valid.
#
# @option params [required, String] :group_id
#
# @option params [String] :group_version_id
@@ -663,10 +663,14 @@
# amzn_client_token: "__string",
# initial_version: {
# default_config: {
# execution: {
# isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
+ # run_as: {
+ # gid: 1,
+ # uid: 1,
+ # },
# },
# },
# functions: [
# {
# function_arn: "__string",
@@ -727,12 +731,12 @@
# been defined.
#
# @option params [String] :amzn_client_token
#
# @option params [Types::FunctionDefaultConfig] :default_config
- # Default configuration that will apply to all Lambda functions in the
- # group.
+ # The default configuration that applies to all Lambda functions in the
+ # group. Individual Lambda functions can override these settings.
#
# @option params [required, String] :function_definition_id
#
# @option params [Array<Types::Function>] :functions
#
@@ -748,10 +752,14 @@
# resp = client.create_function_definition_version({
# amzn_client_token: "__string",
# default_config: {
# execution: {
# isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
+ # run_as: {
+ # gid: 1,
+ # uid: 1,
+ # },
# },
# },
# function_definition_id: "__string", # required
# functions: [
# {
@@ -2063,10 +2071,12 @@
# @example Response structure
#
# resp.arn #=> String
# resp.creation_timestamp #=> String
# resp.definition.default_config.execution.isolation_mode #=> String, one of "GreengrassContainer", "NoContainer"
+ # resp.definition.default_config.execution.run_as.gid #=> Integer
+ # resp.definition.default_config.execution.run_as.uid #=> Integer
# resp.definition.functions #=> Array
# resp.definition.functions[0].function_arn #=> String
# resp.definition.functions[0].function_configuration.encoding_type #=> String, one of "binary", "json"
# resp.definition.functions[0].function_configuration.environment.access_sysfs #=> Boolean
# resp.definition.functions[0].function_configuration.environment.execution.isolation_mode #=> String, one of "GreengrassContainer", "NoContainer"
@@ -3704,10 +3714,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-greengrass'
- context[:gem_version] = '1.12.0'
+ context[:gem_version] = '1.13.0'
Seahorse::Client::Request.new(handlers, context)
end
# @api private
# @deprecated