Class: Aws::Inspector2::Types::AggregationRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Inspector2::Types::AggregationRequest
- Defined in:
- gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb
Overview
AggregationRequest is a union - when making an API calls you must set exactly one of the members.
Contains details about an aggregation request.
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::AccountAggregation
An object that contains details about an aggregation request based on Amazon Web Services account IDs.
-
#ami_aggregation ⇒ Types::AmiAggregation
An object that contains details about an aggregation request based on Amazon Machine Images (AMIs).
-
#aws_ecr_container_aggregation ⇒ Types::AwsEcrContainerAggregation
An object that contains details about an aggregation request based on Amazon ECR container images.
-
#ec2_instance_aggregation ⇒ Types::Ec2InstanceAggregation
An object that contains details about an aggregation request based on Amazon EC2 instances.
-
#finding_type_aggregation ⇒ Types::FindingTypeAggregation
An object that contains details about an aggregation request based on finding types.
-
#image_layer_aggregation ⇒ Types::ImageLayerAggregation
An object that contains details about an aggregation request based on container image layers.
-
#lambda_function_aggregation ⇒ Types::LambdaFunctionAggregation
Returns an object with findings aggregated by AWS Lambda function.
-
#lambda_layer_aggregation ⇒ Types::LambdaLayerAggregation
Returns an object with findings aggregated by AWS Lambda layer.
-
#package_aggregation ⇒ Types::PackageAggregation
An object that contains details about an aggregation request based on operating system package type.
-
#repository_aggregation ⇒ Types::RepositoryAggregation
An object that contains details about an aggregation request based on Amazon ECR repositories.
-
#title_aggregation ⇒ Types::TitleAggregation
An object that contains details about an aggregation request based on finding title.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#account_aggregation ⇒ Types::AccountAggregation
An object that contains details about an aggregation request based on Amazon Web Services account IDs.
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 185 class AggregationRequest < 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 < AggregationRequest; end class AmiAggregation < AggregationRequest; end class AwsEcrContainerAggregation < AggregationRequest; end class Ec2InstanceAggregation < AggregationRequest; end class FindingTypeAggregation < AggregationRequest; end class ImageLayerAggregation < AggregationRequest; end class LambdaFunctionAggregation < AggregationRequest; end class LambdaLayerAggregation < AggregationRequest; end class PackageAggregation < AggregationRequest; end class RepositoryAggregation < AggregationRequest; end class TitleAggregation < AggregationRequest; end class Unknown < AggregationRequest; end end |
#ami_aggregation ⇒ Types::AmiAggregation
An object that contains details about an aggregation request based on Amazon Machine Images (AMIs).
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 185 class AggregationRequest < 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 < AggregationRequest; end class AmiAggregation < AggregationRequest; end class AwsEcrContainerAggregation < AggregationRequest; end class Ec2InstanceAggregation < AggregationRequest; end class FindingTypeAggregation < AggregationRequest; end class ImageLayerAggregation < AggregationRequest; end class LambdaFunctionAggregation < AggregationRequest; end class LambdaLayerAggregation < AggregationRequest; end class PackageAggregation < AggregationRequest; end class RepositoryAggregation < AggregationRequest; end class TitleAggregation < AggregationRequest; end class Unknown < AggregationRequest; end end |
#aws_ecr_container_aggregation ⇒ Types::AwsEcrContainerAggregation
An object that contains details about an aggregation request based on Amazon ECR container images.
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 185 class AggregationRequest < 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 < AggregationRequest; end class AmiAggregation < AggregationRequest; end class AwsEcrContainerAggregation < AggregationRequest; end class Ec2InstanceAggregation < AggregationRequest; end class FindingTypeAggregation < AggregationRequest; end class ImageLayerAggregation < AggregationRequest; end class LambdaFunctionAggregation < AggregationRequest; end class LambdaLayerAggregation < AggregationRequest; end class PackageAggregation < AggregationRequest; end class RepositoryAggregation < AggregationRequest; end class TitleAggregation < AggregationRequest; end class Unknown < AggregationRequest; end end |
#ec2_instance_aggregation ⇒ Types::Ec2InstanceAggregation
An object that contains details about an aggregation request based on Amazon EC2 instances.
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 185 class AggregationRequest < 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 < AggregationRequest; end class AmiAggregation < AggregationRequest; end class AwsEcrContainerAggregation < AggregationRequest; end class Ec2InstanceAggregation < AggregationRequest; end class FindingTypeAggregation < AggregationRequest; end class ImageLayerAggregation < AggregationRequest; end class LambdaFunctionAggregation < AggregationRequest; end class LambdaLayerAggregation < AggregationRequest; end class PackageAggregation < AggregationRequest; end class RepositoryAggregation < AggregationRequest; end class TitleAggregation < AggregationRequest; end class Unknown < AggregationRequest; end end |
#finding_type_aggregation ⇒ Types::FindingTypeAggregation
An object that contains details about an aggregation request based on finding types.
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 185 class AggregationRequest < 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 < AggregationRequest; end class AmiAggregation < AggregationRequest; end class AwsEcrContainerAggregation < AggregationRequest; end class Ec2InstanceAggregation < AggregationRequest; end class FindingTypeAggregation < AggregationRequest; end class ImageLayerAggregation < AggregationRequest; end class LambdaFunctionAggregation < AggregationRequest; end class LambdaLayerAggregation < AggregationRequest; end class PackageAggregation < AggregationRequest; end class RepositoryAggregation < AggregationRequest; end class TitleAggregation < AggregationRequest; end class Unknown < AggregationRequest; end end |
#image_layer_aggregation ⇒ Types::ImageLayerAggregation
An object that contains details about an aggregation request based on container image layers.
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 185 class AggregationRequest < 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 < AggregationRequest; end class AmiAggregation < AggregationRequest; end class AwsEcrContainerAggregation < AggregationRequest; end class Ec2InstanceAggregation < AggregationRequest; end class FindingTypeAggregation < AggregationRequest; end class ImageLayerAggregation < AggregationRequest; end class LambdaFunctionAggregation < AggregationRequest; end class LambdaLayerAggregation < AggregationRequest; end class PackageAggregation < AggregationRequest; end class RepositoryAggregation < AggregationRequest; end class TitleAggregation < AggregationRequest; end class Unknown < AggregationRequest; end end |
#lambda_function_aggregation ⇒ Types::LambdaFunctionAggregation
Returns an object with findings aggregated by AWS Lambda function.
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 185 class AggregationRequest < 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 < AggregationRequest; end class AmiAggregation < AggregationRequest; end class AwsEcrContainerAggregation < AggregationRequest; end class Ec2InstanceAggregation < AggregationRequest; end class FindingTypeAggregation < AggregationRequest; end class ImageLayerAggregation < AggregationRequest; end class LambdaFunctionAggregation < AggregationRequest; end class LambdaLayerAggregation < AggregationRequest; end class PackageAggregation < AggregationRequest; end class RepositoryAggregation < AggregationRequest; end class TitleAggregation < AggregationRequest; end class Unknown < AggregationRequest; end end |
#lambda_layer_aggregation ⇒ Types::LambdaLayerAggregation
Returns an object with findings aggregated by AWS Lambda layer.
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 185 class AggregationRequest < 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 < AggregationRequest; end class AmiAggregation < AggregationRequest; end class AwsEcrContainerAggregation < AggregationRequest; end class Ec2InstanceAggregation < AggregationRequest; end class FindingTypeAggregation < AggregationRequest; end class ImageLayerAggregation < AggregationRequest; end class LambdaFunctionAggregation < AggregationRequest; end class LambdaLayerAggregation < AggregationRequest; end class PackageAggregation < AggregationRequest; end class RepositoryAggregation < AggregationRequest; end class TitleAggregation < AggregationRequest; end class Unknown < AggregationRequest; end end |
#package_aggregation ⇒ Types::PackageAggregation
An object that contains details about an aggregation request based on operating system package type.
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 185 class AggregationRequest < 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 < AggregationRequest; end class AmiAggregation < AggregationRequest; end class AwsEcrContainerAggregation < AggregationRequest; end class Ec2InstanceAggregation < AggregationRequest; end class FindingTypeAggregation < AggregationRequest; end class ImageLayerAggregation < AggregationRequest; end class LambdaFunctionAggregation < AggregationRequest; end class LambdaLayerAggregation < AggregationRequest; end class PackageAggregation < AggregationRequest; end class RepositoryAggregation < AggregationRequest; end class TitleAggregation < AggregationRequest; end class Unknown < AggregationRequest; end end |
#repository_aggregation ⇒ Types::RepositoryAggregation
An object that contains details about an aggregation request based on Amazon ECR repositories.
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 185 class AggregationRequest < 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 < AggregationRequest; end class AmiAggregation < AggregationRequest; end class AwsEcrContainerAggregation < AggregationRequest; end class Ec2InstanceAggregation < AggregationRequest; end class FindingTypeAggregation < AggregationRequest; end class ImageLayerAggregation < AggregationRequest; end class LambdaFunctionAggregation < AggregationRequest; end class LambdaLayerAggregation < AggregationRequest; end class PackageAggregation < AggregationRequest; end class RepositoryAggregation < AggregationRequest; end class TitleAggregation < AggregationRequest; end class Unknown < AggregationRequest; end end |
#title_aggregation ⇒ Types::TitleAggregation
An object that contains details about an aggregation request based on finding title.
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 185 class AggregationRequest < 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 < AggregationRequest; end class AmiAggregation < AggregationRequest; end class AwsEcrContainerAggregation < AggregationRequest; end class Ec2InstanceAggregation < AggregationRequest; end class FindingTypeAggregation < AggregationRequest; end class ImageLayerAggregation < AggregationRequest; end class LambdaFunctionAggregation < AggregationRequest; end class LambdaLayerAggregation < AggregationRequest; end class PackageAggregation < AggregationRequest; end class RepositoryAggregation < AggregationRequest; end class TitleAggregation < AggregationRequest; end class Unknown < AggregationRequest; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
185 186 187 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 185 def unknown @unknown end |