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.



291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 291

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).



291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 291

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.



291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 291

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.



291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 291

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.



291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 291

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.



291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 291

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.



291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 291

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.



291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 291

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.



291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 291

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.



291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 291

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.



291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 291

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



291
292
293
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 291

def unknown
  @unknown
end