You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Greengrass::Types::CreateDeploymentRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb

Overview

Note:

When making an API call, you may pass CreateDeploymentRequest data as a hash:

{
  amzn_client_token: "__string",
  deployment_id: "__string",
  deployment_type: "NewDeployment", # accepts NewDeployment, Redeployment, ResetDeployment, ForceResetDeployment
  group_id: "__string", # required
  group_version_id: "__string",
}

Information on Deployment

Instance Attribute Summary collapse

Instance Attribute Details

#amzn_client_tokenString

Returns:

  • (String)


339
340
341
342
343
344
345
346
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 339

class CreateDeploymentRequest < Struct.new(
  :amzn_client_token,
  :deployment_id,
  :deployment_type,
  :group_id,
  :group_version_id)
  include Aws::Structure
end

#deployment_idString

Id of the deployment if you wish to redeploy a previous deployment.

Returns:

  • (String)


339
340
341
342
343
344
345
346
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 339

class CreateDeploymentRequest < Struct.new(
  :amzn_client_token,
  :deployment_id,
  :deployment_type,
  :group_id,
  :group_version_id)
  include Aws::Structure
end

#deployment_typeString

Type of deployment. When used in CreateDeployment, only NewDeployment and Redeployment are valid.

Returns:

  • (String)


339
340
341
342
343
344
345
346
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 339

class CreateDeploymentRequest < Struct.new(
  :amzn_client_token,
  :deployment_id,
  :deployment_type,
  :group_id,
  :group_version_id)
  include Aws::Structure
end

#group_idString

Returns:

  • (String)


339
340
341
342
343
344
345
346
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 339

class CreateDeploymentRequest < Struct.new(
  :amzn_client_token,
  :deployment_id,
  :deployment_type,
  :group_id,
  :group_version_id)
  include Aws::Structure
end

#group_version_idString

Group Version you wish to deploy.

Returns:

  • (String)


339
340
341
342
343
344
345
346
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 339

class CreateDeploymentRequest < Struct.new(
  :amzn_client_token,
  :deployment_id,
  :deployment_type,
  :group_id,
  :group_version_id)
  include Aws::Structure
end