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



266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 266

class AggregationResponse < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_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 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).



266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 266

class AggregationResponse < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_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 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.



266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 266

class AggregationResponse < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_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 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.



266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 266

class AggregationResponse < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_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 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.



266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 266

class AggregationResponse < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_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 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.



266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 266

class AggregationResponse < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_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 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.



266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 266

class AggregationResponse < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_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 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.



266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 266

class AggregationResponse < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_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 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.



266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 266

class AggregationResponse < Struct.new(
  :account_aggregation,
  :ami_aggregation,
  :aws_ecr_container_aggregation,
  :ec2_instance_aggregation,
  :finding_type_aggregation,
  :image_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 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



266
267
268
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 266

def unknown
  @unknown
end