Class: Aws::Inspector2::Types::AggregationResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::Inspector2::Types::AggregationResponse
- Defined in:
- gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb
Overview
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.
Direct Known Subclasses
AccountAggregation, AmiAggregation, AwsEcrContainerAggregation, Ec2InstanceAggregation, FindingTypeAggregation, ImageLayerAggregation, LambdaFunctionAggregation, LambdaLayerAggregation, PackageAggregation, RepositoryAggregation, TitleAggregation, Unknown
Defined Under Namespace
Classes: AccountAggregation, AmiAggregation, AwsEcrContainerAggregation, Ec2InstanceAggregation, FindingTypeAggregation, ImageLayerAggregation, LambdaFunctionAggregation, LambdaLayerAggregation, PackageAggregation, RepositoryAggregation, TitleAggregation, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#account_aggregation ⇒ Types::AccountAggregationResponse
An object that contains details about an aggregation response based on Amazon Web Services account IDs.
-
#ami_aggregation ⇒ Types::AmiAggregationResponse
An object that contains details about an aggregation response based on Amazon Machine Images (AMIs).
-
#aws_ecr_container_aggregation ⇒ Types::AwsEcrContainerAggregationResponse
An object that contains details about an aggregation response based on Amazon ECR container images.
-
#ec2_instance_aggregation ⇒ Types::Ec2InstanceAggregationResponse
An object that contains details about an aggregation response based on Amazon EC2 instances.
-
#finding_type_aggregation ⇒ Types::FindingTypeAggregationResponse
An object that contains details about an aggregation response based on finding types.
-
#image_layer_aggregation ⇒ Types::ImageLayerAggregationResponse
An object that contains details about an aggregation response based on container image layers.
-
#lambda_function_aggregation ⇒ Types::LambdaFunctionAggregationResponse
An aggregation of findings by AWS Lambda function.
-
#lambda_layer_aggregation ⇒ Types::LambdaLayerAggregationResponse
An aggregation of findings by AWS Lambda layer.
-
#package_aggregation ⇒ Types::PackageAggregationResponse
An object that contains details about an aggregation response based on operating system package type.
-
#repository_aggregation ⇒ Types::RepositoryAggregationResponse
An object that contains details about an aggregation response based on Amazon ECR repositories.
-
#title_aggregation ⇒ Types::TitleAggregationResponse
An object that contains details about an aggregation response based on finding title.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#account_aggregation ⇒ Types::AccountAggregationResponse
An object that contains details about an aggregation response based on Amazon Web Services account IDs.
276 277 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 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 276 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_aggregation ⇒ Types::AmiAggregationResponse
An object that contains details about an aggregation response based on Amazon Machine Images (AMIs).
276 277 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 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 276 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_aggregation ⇒ Types::AwsEcrContainerAggregationResponse
An object that contains details about an aggregation response based on Amazon ECR container images.
276 277 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 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 276 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_aggregation ⇒ Types::Ec2InstanceAggregationResponse
An object that contains details about an aggregation response based on Amazon EC2 instances.
276 277 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 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 276 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_aggregation ⇒ Types::FindingTypeAggregationResponse
An object that contains details about an aggregation response based on finding types.
276 277 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 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 276 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_aggregation ⇒ Types::ImageLayerAggregationResponse
An object that contains details about an aggregation response based on container image layers.
276 277 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 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 276 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_aggregation ⇒ Types::LambdaFunctionAggregationResponse
An aggregation of findings by AWS Lambda function.
276 277 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 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 276 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_aggregation ⇒ Types::LambdaLayerAggregationResponse
An aggregation of findings by AWS Lambda layer.
276 277 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 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 276 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_aggregation ⇒ Types::PackageAggregationResponse
An object that contains details about an aggregation response based on operating system package type.
276 277 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 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 276 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_aggregation ⇒ Types::RepositoryAggregationResponse
An object that contains details about an aggregation response based on Amazon ECR repositories.
276 277 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 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 276 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_aggregation ⇒ Types::TitleAggregationResponse
An object that contains details about an aggregation response based on finding title.
276 277 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 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 276 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 |
#unknown ⇒ Object
Returns the value of attribute unknown
276 277 278 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 276 def unknown @unknown end |