Class: Aws::Inspector2::Types::AggregationResponse

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

Overview

Note:

AggregationResponse is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AggregationResponse corresponding to the set member.

A structure that contains details about the results of an aggregation type.

Defined Under Namespace

Classes: AccountAggregation, AmiAggregation, AwsEcrContainerAggregation, Ec2InstanceAggregation, FindingTypeAggregation, ImageLayerAggregation, LambdaFunctionAggregation, LambdaLayerAggregation, PackageAggregation, RepositoryAggregation, TitleAggregation, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_aggregationTypes::AccountAggregationResponse

An object that contains details about an aggregation response based on Amazon Web Services account IDs.



278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 278

class AggregationResponse < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :lambda_function_aggregation,
  :lambda_layer_aggregation,
  :package_aggregation,
  :repository_aggregation,
  :title_aggregation,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AccountAggregation < AggregationResponse; end
  class AmiAggregation < AggregationResponse; end
  class AwsEcrContainerAggregation < AggregationResponse; end
  class Ec2InstanceAggregation < AggregationResponse; end
  class FindingTypeAggregation < AggregationResponse; end
  class ImageLayerAggregation < AggregationResponse; end
  class LambdaFunctionAggregation < AggregationResponse; end
  class LambdaLayerAggregation < AggregationResponse; end
  class PackageAggregation < AggregationResponse; end
  class RepositoryAggregation < AggregationResponse; end
  class TitleAggregation < AggregationResponse; end
  class Unknown < AggregationResponse; end
end

#ami_aggregationTypes::AmiAggregationResponse

An object that contains details about an aggregation response based on Amazon Machine Images (AMIs).



278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 278

class AggregationResponse < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :lambda_function_aggregation,
  :lambda_layer_aggregation,
  :package_aggregation,
  :repository_aggregation,
  :title_aggregation,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AccountAggregation < AggregationResponse; end
  class AmiAggregation < AggregationResponse; end
  class AwsEcrContainerAggregation < AggregationResponse; end
  class Ec2InstanceAggregation < AggregationResponse; end
  class FindingTypeAggregation < AggregationResponse; end
  class ImageLayerAggregation < AggregationResponse; end
  class LambdaFunctionAggregation < AggregationResponse; end
  class LambdaLayerAggregation < AggregationResponse; end
  class PackageAggregation < AggregationResponse; end
  class RepositoryAggregation < AggregationResponse; end
  class TitleAggregation < AggregationResponse; end
  class Unknown < AggregationResponse; end
end

#aws_ecr_container_aggregationTypes::AwsEcrContainerAggregationResponse

An object that contains details about an aggregation response based on Amazon ECR container images.



278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 278

class AggregationResponse < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :lambda_function_aggregation,
  :lambda_layer_aggregation,
  :package_aggregation,
  :repository_aggregation,
  :title_aggregation,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AccountAggregation < AggregationResponse; end
  class AmiAggregation < AggregationResponse; end
  class AwsEcrContainerAggregation < AggregationResponse; end
  class Ec2InstanceAggregation < AggregationResponse; end
  class FindingTypeAggregation < AggregationResponse; end
  class ImageLayerAggregation < AggregationResponse; end
  class LambdaFunctionAggregation < AggregationResponse; end
  class LambdaLayerAggregation < AggregationResponse; end
  class PackageAggregation < AggregationResponse; end
  class RepositoryAggregation < AggregationResponse; end
  class TitleAggregation < AggregationResponse; end
  class Unknown < AggregationResponse; end
end

#ec2_instance_aggregationTypes::Ec2InstanceAggregationResponse

An object that contains details about an aggregation response based on Amazon EC2 instances.



278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 278

class AggregationResponse < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :lambda_function_aggregation,
  :lambda_layer_aggregation,
  :package_aggregation,
  :repository_aggregation,
  :title_aggregation,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AccountAggregation < AggregationResponse; end
  class AmiAggregation < AggregationResponse; end
  class AwsEcrContainerAggregation < AggregationResponse; end
  class Ec2InstanceAggregation < AggregationResponse; end
  class FindingTypeAggregation < AggregationResponse; end
  class ImageLayerAggregation < AggregationResponse; end
  class LambdaFunctionAggregation < AggregationResponse; end
  class LambdaLayerAggregation < AggregationResponse; end
  class PackageAggregation < AggregationResponse; end
  class RepositoryAggregation < AggregationResponse; end
  class TitleAggregation < AggregationResponse; end
  class Unknown < AggregationResponse; end
end

#finding_type_aggregationTypes::FindingTypeAggregationResponse

An object that contains details about an aggregation response based on finding types.



278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 278

class AggregationResponse < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :lambda_function_aggregation,
  :lambda_layer_aggregation,
  :package_aggregation,
  :repository_aggregation,
  :title_aggregation,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AccountAggregation < AggregationResponse; end
  class AmiAggregation < AggregationResponse; end
  class AwsEcrContainerAggregation < AggregationResponse; end
  class Ec2InstanceAggregation < AggregationResponse; end
  class FindingTypeAggregation < AggregationResponse; end
  class ImageLayerAggregation < AggregationResponse; end
  class LambdaFunctionAggregation < AggregationResponse; end
  class LambdaLayerAggregation < AggregationResponse; end
  class PackageAggregation < AggregationResponse; end
  class RepositoryAggregation < AggregationResponse; end
  class TitleAggregation < AggregationResponse; end
  class Unknown < AggregationResponse; end
end

#image_layer_aggregationTypes::ImageLayerAggregationResponse

An object that contains details about an aggregation response based on container image layers.



278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 278

class AggregationResponse < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :lambda_function_aggregation,
  :lambda_layer_aggregation,
  :package_aggregation,
  :repository_aggregation,
  :title_aggregation,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AccountAggregation < AggregationResponse; end
  class AmiAggregation < AggregationResponse; end
  class AwsEcrContainerAggregation < AggregationResponse; end
  class Ec2InstanceAggregation < AggregationResponse; end
  class FindingTypeAggregation < AggregationResponse; end
  class ImageLayerAggregation < AggregationResponse; end
  class LambdaFunctionAggregation < AggregationResponse; end
  class LambdaLayerAggregation < AggregationResponse; end
  class PackageAggregation < AggregationResponse; end
  class RepositoryAggregation < AggregationResponse; end
  class TitleAggregation < AggregationResponse; end
  class Unknown < AggregationResponse; end
end

#lambda_function_aggregationTypes::LambdaFunctionAggregationResponse

An aggregation of findings by Amazon Web Services Lambda function.



278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 278

class AggregationResponse < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :lambda_function_aggregation,
  :lambda_layer_aggregation,
  :package_aggregation,
  :repository_aggregation,
  :title_aggregation,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AccountAggregation < AggregationResponse; end
  class AmiAggregation < AggregationResponse; end
  class AwsEcrContainerAggregation < AggregationResponse; end
  class Ec2InstanceAggregation < AggregationResponse; end
  class FindingTypeAggregation < AggregationResponse; end
  class ImageLayerAggregation < AggregationResponse; end
  class LambdaFunctionAggregation < AggregationResponse; end
  class LambdaLayerAggregation < AggregationResponse; end
  class PackageAggregation < AggregationResponse; end
  class RepositoryAggregation < AggregationResponse; end
  class TitleAggregation < AggregationResponse; end
  class Unknown < AggregationResponse; end
end

#lambda_layer_aggregationTypes::LambdaLayerAggregationResponse

An aggregation of findings by Amazon Web Services Lambda layer.



278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 278

class AggregationResponse < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :lambda_function_aggregation,
  :lambda_layer_aggregation,
  :package_aggregation,
  :repository_aggregation,
  :title_aggregation,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AccountAggregation < AggregationResponse; end
  class AmiAggregation < AggregationResponse; end
  class AwsEcrContainerAggregation < AggregationResponse; end
  class Ec2InstanceAggregation < AggregationResponse; end
  class FindingTypeAggregation < AggregationResponse; end
  class ImageLayerAggregation < AggregationResponse; end
  class LambdaFunctionAggregation < AggregationResponse; end
  class LambdaLayerAggregation < AggregationResponse; end
  class PackageAggregation < AggregationResponse; end
  class RepositoryAggregation < AggregationResponse; end
  class TitleAggregation < AggregationResponse; end
  class Unknown < AggregationResponse; end
end

#package_aggregationTypes::PackageAggregationResponse

An object that contains details about an aggregation response based on operating system package type.



278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 278

class AggregationResponse < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :lambda_function_aggregation,
  :lambda_layer_aggregation,
  :package_aggregation,
  :repository_aggregation,
  :title_aggregation,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AccountAggregation < AggregationResponse; end
  class AmiAggregation < AggregationResponse; end
  class AwsEcrContainerAggregation < AggregationResponse; end
  class Ec2InstanceAggregation < AggregationResponse; end
  class FindingTypeAggregation < AggregationResponse; end
  class ImageLayerAggregation < AggregationResponse; end
  class LambdaFunctionAggregation < AggregationResponse; end
  class LambdaLayerAggregation < AggregationResponse; end
  class PackageAggregation < AggregationResponse; end
  class RepositoryAggregation < AggregationResponse; end
  class TitleAggregation < AggregationResponse; end
  class Unknown < AggregationResponse; end
end

#repository_aggregationTypes::RepositoryAggregationResponse

An object that contains details about an aggregation response based on Amazon ECR repositories.



278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 278

class AggregationResponse < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :lambda_function_aggregation,
  :lambda_layer_aggregation,
  :package_aggregation,
  :repository_aggregation,
  :title_aggregation,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AccountAggregation < AggregationResponse; end
  class AmiAggregation < AggregationResponse; end
  class AwsEcrContainerAggregation < AggregationResponse; end
  class Ec2InstanceAggregation < AggregationResponse; end
  class FindingTypeAggregation < AggregationResponse; end
  class ImageLayerAggregation < AggregationResponse; end
  class LambdaFunctionAggregation < AggregationResponse; end
  class LambdaLayerAggregation < AggregationResponse; end
  class PackageAggregation < AggregationResponse; end
  class RepositoryAggregation < AggregationResponse; end
  class TitleAggregation < AggregationResponse; end
  class Unknown < AggregationResponse; end
end

#title_aggregationTypes::TitleAggregationResponse

An object that contains details about an aggregation response based on finding title.



278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 278

class AggregationResponse < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_layer_aggregation,
  :lambda_function_aggregation,
  :lambda_layer_aggregation,
  :package_aggregation,
  :repository_aggregation,
  :title_aggregation,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AccountAggregation < AggregationResponse; end
  class AmiAggregation < AggregationResponse; end
  class AwsEcrContainerAggregation < AggregationResponse; end
  class Ec2InstanceAggregation < AggregationResponse; end
  class FindingTypeAggregation < AggregationResponse; end
  class ImageLayerAggregation < AggregationResponse; end
  class LambdaFunctionAggregation < AggregationResponse; end
  class LambdaLayerAggregation < AggregationResponse; end
  class PackageAggregation < AggregationResponse; end
  class RepositoryAggregation < AggregationResponse; end
  class TitleAggregation < AggregationResponse; end
  class Unknown < AggregationResponse; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



278
279
280
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 278

def unknown
  @unknown
end