inspector2

package
v1.49.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 Imports: 10 Imported by: 19

Documentation

Overview

Package inspector2 provides the client and types for making API requests to Inspector2.

Amazon Inspector is a vulnerability discovery service that automates continuous scanning for security vulnerabilities within your Amazon EC2, Amazon ECR, and Amazon Web Services Lambda environments.

See https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08 for more information on this service.

See inspector2 package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/inspector2/

Using the Client

To contact Inspector2 with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Inspector2 client Inspector2 for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/inspector2/#New

Index

Constants

View Source
const (
	// AccountSortByCritical is a AccountSortBy enum value
	AccountSortByCritical = "CRITICAL"

	// AccountSortByHigh is a AccountSortBy enum value
	AccountSortByHigh = "HIGH"

	// AccountSortByAll is a AccountSortBy enum value
	AccountSortByAll = "ALL"
)
View Source
const (
	// AggregationFindingTypeNetworkReachability is a AggregationFindingType enum value
	AggregationFindingTypeNetworkReachability = "NETWORK_REACHABILITY"

	// AggregationFindingTypePackageVulnerability is a AggregationFindingType enum value
	AggregationFindingTypePackageVulnerability = "PACKAGE_VULNERABILITY"

	// AggregationFindingTypeCodeVulnerability is a AggregationFindingType enum value
	AggregationFindingTypeCodeVulnerability = "CODE_VULNERABILITY"
)
View Source
const (
	// AggregationResourceTypeAwsEc2Instance is a AggregationResourceType enum value
	AggregationResourceTypeAwsEc2Instance = "AWS_EC2_INSTANCE"

	// AggregationResourceTypeAwsEcrContainerImage is a AggregationResourceType enum value
	AggregationResourceTypeAwsEcrContainerImage = "AWS_ECR_CONTAINER_IMAGE"

	// AggregationResourceTypeAwsLambdaFunction is a AggregationResourceType enum value
	AggregationResourceTypeAwsLambdaFunction = "AWS_LAMBDA_FUNCTION"
)
View Source
const (
	// AggregationTypeFindingType is a AggregationType enum value
	AggregationTypeFindingType = "FINDING_TYPE"

	// AggregationTypePackage is a AggregationType enum value
	AggregationTypePackage = "PACKAGE"

	// AggregationTypeTitle is a AggregationType enum value
	AggregationTypeTitle = "TITLE"

	// AggregationTypeRepository is a AggregationType enum value
	AggregationTypeRepository = "REPOSITORY"

	// AggregationTypeAmi is a AggregationType enum value
	AggregationTypeAmi = "AMI"

	// AggregationTypeAwsEc2Instance is a AggregationType enum value
	AggregationTypeAwsEc2Instance = "AWS_EC2_INSTANCE"

	// AggregationTypeAwsEcrContainer is a AggregationType enum value
	AggregationTypeAwsEcrContainer = "AWS_ECR_CONTAINER"

	// AggregationTypeImageLayer is a AggregationType enum value
	AggregationTypeImageLayer = "IMAGE_LAYER"

	// AggregationTypeAccount is a AggregationType enum value
	AggregationTypeAccount = "ACCOUNT"

	// AggregationTypeAwsLambdaFunction is a AggregationType enum value
	AggregationTypeAwsLambdaFunction = "AWS_LAMBDA_FUNCTION"

	// AggregationTypeLambdaLayer is a AggregationType enum value
	AggregationTypeLambdaLayer = "LAMBDA_LAYER"
)
View Source
const (
	// AmiSortByCritical is a AmiSortBy enum value
	AmiSortByCritical = "CRITICAL"

	// AmiSortByHigh is a AmiSortBy enum value
	AmiSortByHigh = "HIGH"

	// AmiSortByAll is a AmiSortBy enum value
	AmiSortByAll = "ALL"

	// AmiSortByAffectedInstances is a AmiSortBy enum value
	AmiSortByAffectedInstances = "AFFECTED_INSTANCES"
)
View Source
const (
	// ArchitectureX8664 is a Architecture enum value
	ArchitectureX8664 = "X86_64"

	// ArchitectureArm64 is a Architecture enum value
	ArchitectureArm64 = "ARM64"
)
View Source
const (
	// AwsEcrContainerSortByCritical is a AwsEcrContainerSortBy enum value
	AwsEcrContainerSortByCritical = "CRITICAL"

	// AwsEcrContainerSortByHigh is a AwsEcrContainerSortBy enum value
	AwsEcrContainerSortByHigh = "HIGH"

	// AwsEcrContainerSortByAll is a AwsEcrContainerSortBy enum value
	AwsEcrContainerSortByAll = "ALL"
)
View Source
const (
	// CodeSnippetErrorCodeInternalError is a CodeSnippetErrorCode enum value
	CodeSnippetErrorCodeInternalError = "INTERNAL_ERROR"

	// CodeSnippetErrorCodeAccessDenied is a CodeSnippetErrorCode enum value
	CodeSnippetErrorCodeAccessDenied = "ACCESS_DENIED"

	// CodeSnippetErrorCodeCodeSnippetNotFound is a CodeSnippetErrorCode enum value
	CodeSnippetErrorCodeCodeSnippetNotFound = "CODE_SNIPPET_NOT_FOUND"

	// CodeSnippetErrorCodeInvalidInput is a CodeSnippetErrorCode enum value
	CodeSnippetErrorCodeInvalidInput = "INVALID_INPUT"
)
View Source
const (
	// CoverageResourceTypeAwsEc2Instance is a CoverageResourceType enum value
	CoverageResourceTypeAwsEc2Instance = "AWS_EC2_INSTANCE"

	// CoverageResourceTypeAwsEcrContainerImage is a CoverageResourceType enum value
	CoverageResourceTypeAwsEcrContainerImage = "AWS_ECR_CONTAINER_IMAGE"

	// CoverageResourceTypeAwsEcrRepository is a CoverageResourceType enum value
	CoverageResourceTypeAwsEcrRepository = "AWS_ECR_REPOSITORY"

	// CoverageResourceTypeAwsLambdaFunction is a CoverageResourceType enum value
	CoverageResourceTypeAwsLambdaFunction = "AWS_LAMBDA_FUNCTION"
)
View Source
const (
	// CoverageStringComparisonEquals is a CoverageStringComparison enum value
	CoverageStringComparisonEquals = "EQUALS"

	// CoverageStringComparisonNotEquals is a CoverageStringComparison enum value
	CoverageStringComparisonNotEquals = "NOT_EQUALS"
)
View Source
const (
	// DelegatedAdminStatusEnabled is a DelegatedAdminStatus enum value
	DelegatedAdminStatusEnabled = "ENABLED"

	// DelegatedAdminStatusDisableInProgress is a DelegatedAdminStatus enum value
	DelegatedAdminStatusDisableInProgress = "DISABLE_IN_PROGRESS"
)
View Source
const (
	// Ec2DeepInspectionStatusActivated is a Ec2DeepInspectionStatus enum value
	Ec2DeepInspectionStatusActivated = "ACTIVATED"

	// Ec2DeepInspectionStatusDeactivated is a Ec2DeepInspectionStatus enum value
	Ec2DeepInspectionStatusDeactivated = "DEACTIVATED"

	// Ec2DeepInspectionStatusPending is a Ec2DeepInspectionStatus enum value
	Ec2DeepInspectionStatusPending = "PENDING"

	// Ec2DeepInspectionStatusFailed is a Ec2DeepInspectionStatus enum value
	Ec2DeepInspectionStatusFailed = "FAILED"
)
View Source
const (
	// Ec2InstanceSortByNetworkFindings is a Ec2InstanceSortBy enum value
	Ec2InstanceSortByNetworkFindings = "NETWORK_FINDINGS"

	// Ec2InstanceSortByCritical is a Ec2InstanceSortBy enum value
	Ec2InstanceSortByCritical = "CRITICAL"

	// Ec2InstanceSortByHigh is a Ec2InstanceSortBy enum value
	Ec2InstanceSortByHigh = "HIGH"

	// Ec2InstanceSortByAll is a Ec2InstanceSortBy enum value
	Ec2InstanceSortByAll = "ALL"
)
View Source
const (
	// Ec2PlatformWindows is a Ec2Platform enum value
	Ec2PlatformWindows = "WINDOWS"

	// Ec2PlatformLinux is a Ec2Platform enum value
	Ec2PlatformLinux = "LINUX"

	// Ec2PlatformUnknown is a Ec2Platform enum value
	Ec2PlatformUnknown = "UNKNOWN"

	// Ec2PlatformMacos is a Ec2Platform enum value
	Ec2PlatformMacos = "MACOS"
)
View Source
const (
	// EcrRescanDurationLifetime is a EcrRescanDuration enum value
	EcrRescanDurationLifetime = "LIFETIME"

	// EcrRescanDurationDays30 is a EcrRescanDuration enum value
	EcrRescanDurationDays30 = "DAYS_30"

	// EcrRescanDurationDays180 is a EcrRescanDuration enum value
	EcrRescanDurationDays180 = "DAYS_180"
)
View Source
const (
	// EcrRescanDurationStatusSuccess is a EcrRescanDurationStatus enum value
	EcrRescanDurationStatusSuccess = "SUCCESS"

	// EcrRescanDurationStatusPending is a EcrRescanDurationStatus enum value
	EcrRescanDurationStatusPending = "PENDING"

	// EcrRescanDurationStatusFailed is a EcrRescanDurationStatus enum value
	EcrRescanDurationStatusFailed = "FAILED"
)
View Source
const (
	// EcrScanFrequencyManual is a EcrScanFrequency enum value
	EcrScanFrequencyManual = "MANUAL"

	// EcrScanFrequencyScanOnPush is a EcrScanFrequency enum value
	EcrScanFrequencyScanOnPush = "SCAN_ON_PUSH"

	// EcrScanFrequencyContinuousScan is a EcrScanFrequency enum value
	EcrScanFrequencyContinuousScan = "CONTINUOUS_SCAN"
)
View Source
const (
	// ErrorCodeAlreadyEnabled is a ErrorCode enum value
	ErrorCodeAlreadyEnabled = "ALREADY_ENABLED"

	// ErrorCodeEnableInProgress is a ErrorCode enum value
	ErrorCodeEnableInProgress = "ENABLE_IN_PROGRESS"

	// ErrorCodeDisableInProgress is a ErrorCode enum value
	ErrorCodeDisableInProgress = "DISABLE_IN_PROGRESS"

	// ErrorCodeSuspendInProgress is a ErrorCode enum value
	ErrorCodeSuspendInProgress = "SUSPEND_IN_PROGRESS"

	// ErrorCodeResourceNotFound is a ErrorCode enum value
	ErrorCodeResourceNotFound = "RESOURCE_NOT_FOUND"

	// ErrorCodeAccessDenied is a ErrorCode enum value
	ErrorCodeAccessDenied = "ACCESS_DENIED"

	// ErrorCodeInternalError is a ErrorCode enum value
	ErrorCodeInternalError = "INTERNAL_ERROR"

	// ErrorCodeSsmUnavailable is a ErrorCode enum value
	ErrorCodeSsmUnavailable = "SSM_UNAVAILABLE"

	// ErrorCodeSsmThrottled is a ErrorCode enum value
	ErrorCodeSsmThrottled = "SSM_THROTTLED"

	// ErrorCodeEventbridgeUnavailable is a ErrorCode enum value
	ErrorCodeEventbridgeUnavailable = "EVENTBRIDGE_UNAVAILABLE"

	// ErrorCodeEventbridgeThrottled is a ErrorCode enum value
	ErrorCodeEventbridgeThrottled = "EVENTBRIDGE_THROTTLED"

	// ErrorCodeResourceScanNotDisabled is a ErrorCode enum value
	ErrorCodeResourceScanNotDisabled = "RESOURCE_SCAN_NOT_DISABLED"

	// ErrorCodeDisassociateAllMembers is a ErrorCode enum value
	ErrorCodeDisassociateAllMembers = "DISASSOCIATE_ALL_MEMBERS"

	// ErrorCodeAccountIsIsolated is a ErrorCode enum value
	ErrorCodeAccountIsIsolated = "ACCOUNT_IS_ISOLATED"
)
View Source
const (
	// ExploitAvailableYes is a ExploitAvailable enum value
	ExploitAvailableYes = "YES"

	// ExploitAvailableNo is a ExploitAvailable enum value
	ExploitAvailableNo = "NO"
)
View Source
const (
	// ExternalReportStatusSucceeded is a ExternalReportStatus enum value
	ExternalReportStatusSucceeded = "SUCCEEDED"

	// ExternalReportStatusInProgress is a ExternalReportStatus enum value
	ExternalReportStatusInProgress = "IN_PROGRESS"

	// ExternalReportStatusCancelled is a ExternalReportStatus enum value
	ExternalReportStatusCancelled = "CANCELLED"

	// ExternalReportStatusFailed is a ExternalReportStatus enum value
	ExternalReportStatusFailed = "FAILED"
)
View Source
const (
	// FilterActionNone is a FilterAction enum value
	FilterActionNone = "NONE"

	// FilterActionSuppress is a FilterAction enum value
	FilterActionSuppress = "SUPPRESS"
)
View Source
const (
	// FindingDetailsErrorCodeInternalError is a FindingDetailsErrorCode enum value
	FindingDetailsErrorCodeInternalError = "INTERNAL_ERROR"

	// FindingDetailsErrorCodeAccessDenied is a FindingDetailsErrorCode enum value
	FindingDetailsErrorCodeAccessDenied = "ACCESS_DENIED"

	// FindingDetailsErrorCodeFindingDetailsNotFound is a FindingDetailsErrorCode enum value
	FindingDetailsErrorCodeFindingDetailsNotFound = "FINDING_DETAILS_NOT_FOUND"

	// FindingDetailsErrorCodeInvalidInput is a FindingDetailsErrorCode enum value
	FindingDetailsErrorCodeInvalidInput = "INVALID_INPUT"
)
View Source
const (
	// FindingStatusActive is a FindingStatus enum value
	FindingStatusActive = "ACTIVE"

	// FindingStatusSuppressed is a FindingStatus enum value
	FindingStatusSuppressed = "SUPPRESSED"

	// FindingStatusClosed is a FindingStatus enum value
	FindingStatusClosed = "CLOSED"
)
View Source
const (
	// FindingTypeNetworkReachability is a FindingType enum value
	FindingTypeNetworkReachability = "NETWORK_REACHABILITY"

	// FindingTypePackageVulnerability is a FindingType enum value
	FindingTypePackageVulnerability = "PACKAGE_VULNERABILITY"

	// FindingTypeCodeVulnerability is a FindingType enum value
	FindingTypeCodeVulnerability = "CODE_VULNERABILITY"
)
View Source
const (
	// FindingTypeSortByCritical is a FindingTypeSortBy enum value
	FindingTypeSortByCritical = "CRITICAL"

	// FindingTypeSortByHigh is a FindingTypeSortBy enum value
	FindingTypeSortByHigh = "HIGH"

	// FindingTypeSortByAll is a FindingTypeSortBy enum value
	FindingTypeSortByAll = "ALL"
)
View Source
const (
	// FixAvailableYes is a FixAvailable enum value
	FixAvailableYes = "YES"

	// FixAvailableNo is a FixAvailable enum value
	FixAvailableNo = "NO"

	// FixAvailablePartial is a FixAvailable enum value
	FixAvailablePartial = "PARTIAL"
)
View Source
const (
	// FreeTrialInfoErrorCodeAccessDenied is a FreeTrialInfoErrorCode enum value
	FreeTrialInfoErrorCodeAccessDenied = "ACCESS_DENIED"

	// FreeTrialInfoErrorCodeInternalError is a FreeTrialInfoErrorCode enum value
	FreeTrialInfoErrorCodeInternalError = "INTERNAL_ERROR"
)
View Source
const (
	// FreeTrialStatusActive is a FreeTrialStatus enum value
	FreeTrialStatusActive = "ACTIVE"

	// FreeTrialStatusInactive is a FreeTrialStatus enum value
	FreeTrialStatusInactive = "INACTIVE"
)
View Source
const (
	// FreeTrialTypeEc2 is a FreeTrialType enum value
	FreeTrialTypeEc2 = "EC2"

	// FreeTrialTypeEcr is a FreeTrialType enum value
	FreeTrialTypeEcr = "ECR"

	// FreeTrialTypeLambda is a FreeTrialType enum value
	FreeTrialTypeLambda = "LAMBDA"

	// FreeTrialTypeLambdaCode is a FreeTrialType enum value
	FreeTrialTypeLambdaCode = "LAMBDA_CODE"
)
View Source
const (
	// GroupKeyScanStatusCode is a GroupKey enum value
	GroupKeyScanStatusCode = "SCAN_STATUS_CODE"

	// GroupKeyScanStatusReason is a GroupKey enum value
	GroupKeyScanStatusReason = "SCAN_STATUS_REASON"

	// GroupKeyAccountId is a GroupKey enum value
	GroupKeyAccountId = "ACCOUNT_ID"

	// GroupKeyResourceType is a GroupKey enum value
	GroupKeyResourceType = "RESOURCE_TYPE"

	// GroupKeyEcrRepositoryName is a GroupKey enum value
	GroupKeyEcrRepositoryName = "ECR_REPOSITORY_NAME"
)
View Source
const (
	// ImageLayerSortByCritical is a ImageLayerSortBy enum value
	ImageLayerSortByCritical = "CRITICAL"

	// ImageLayerSortByHigh is a ImageLayerSortBy enum value
	ImageLayerSortByHigh = "HIGH"

	// ImageLayerSortByAll is a ImageLayerSortBy enum value
	ImageLayerSortByAll = "ALL"
)
View Source
const (
	// LambdaFunctionSortByCritical is a LambdaFunctionSortBy enum value
	LambdaFunctionSortByCritical = "CRITICAL"

	// LambdaFunctionSortByHigh is a LambdaFunctionSortBy enum value
	LambdaFunctionSortByHigh = "HIGH"

	// LambdaFunctionSortByAll is a LambdaFunctionSortBy enum value
	LambdaFunctionSortByAll = "ALL"
)
View Source
const (
	// LambdaLayerSortByCritical is a LambdaLayerSortBy enum value
	LambdaLayerSortByCritical = "CRITICAL"

	// LambdaLayerSortByHigh is a LambdaLayerSortBy enum value
	LambdaLayerSortByHigh = "HIGH"

	// LambdaLayerSortByAll is a LambdaLayerSortBy enum value
	LambdaLayerSortByAll = "ALL"
)
View Source
const (
	// NetworkProtocolTcp is a NetworkProtocol enum value
	NetworkProtocolTcp = "TCP"

	// NetworkProtocolUdp is a NetworkProtocol enum value
	NetworkProtocolUdp = "UDP"
)
View Source
const (
	// OperationEnableScanning is a Operation enum value
	OperationEnableScanning = "ENABLE_SCANNING"

	// OperationDisableScanning is a Operation enum value
	OperationDisableScanning = "DISABLE_SCANNING"

	// OperationEnableRepository is a Operation enum value
	OperationEnableRepository = "ENABLE_REPOSITORY"

	// OperationDisableRepository is a Operation enum value
	OperationDisableRepository = "DISABLE_REPOSITORY"
)
View Source
const (
	// PackageManagerBundler is a PackageManager enum value
	PackageManagerBundler = "BUNDLER"

	// PackageManagerCargo is a PackageManager enum value
	PackageManagerCargo = "CARGO"

	// PackageManagerComposer is a PackageManager enum value
	PackageManagerComposer = "COMPOSER"

	// PackageManagerNpm is a PackageManager enum value
	PackageManagerNpm = "NPM"

	// PackageManagerNuget is a PackageManager enum value
	PackageManagerNuget = "NUGET"

	// PackageManagerPipenv is a PackageManager enum value
	PackageManagerPipenv = "PIPENV"

	// PackageManagerPoetry is a PackageManager enum value
	PackageManagerPoetry = "POETRY"

	// PackageManagerYarn is a PackageManager enum value
	PackageManagerYarn = "YARN"

	// PackageManagerGobinary is a PackageManager enum value
	PackageManagerGobinary = "GOBINARY"

	// PackageManagerGomod is a PackageManager enum value
	PackageManagerGomod = "GOMOD"

	// PackageManagerJar is a PackageManager enum value
	PackageManagerJar = "JAR"

	// PackageManagerOs is a PackageManager enum value
	PackageManagerOs = "OS"

	// PackageManagerPip is a PackageManager enum value
	PackageManagerPip = "PIP"

	// PackageManagerPythonpkg is a PackageManager enum value
	PackageManagerPythonpkg = "PYTHONPKG"

	// PackageManagerNodepkg is a PackageManager enum value
	PackageManagerNodepkg = "NODEPKG"

	// PackageManagerPom is a PackageManager enum value
	PackageManagerPom = "POM"

	// PackageManagerGemspec is a PackageManager enum value
	PackageManagerGemspec = "GEMSPEC"
)
View Source
const (
	// PackageSortByCritical is a PackageSortBy enum value
	PackageSortByCritical = "CRITICAL"

	// PackageSortByHigh is a PackageSortBy enum value
	PackageSortByHigh = "HIGH"

	// PackageSortByAll is a PackageSortBy enum value
	PackageSortByAll = "ALL"
)
View Source
const (
	// PackageTypeImage is a PackageType enum value
	PackageTypeImage = "IMAGE"

	// PackageTypeZip is a PackageType enum value
	PackageTypeZip = "ZIP"
)
View Source
const (
	// RelationshipStatusCreated is a RelationshipStatus enum value
	RelationshipStatusCreated = "CREATED"

	// RelationshipStatusInvited is a RelationshipStatus enum value
	RelationshipStatusInvited = "INVITED"

	// RelationshipStatusDisabled is a RelationshipStatus enum value
	RelationshipStatusDisabled = "DISABLED"

	// RelationshipStatusEnabled is a RelationshipStatus enum value
	RelationshipStatusEnabled = "ENABLED"

	// RelationshipStatusRemoved is a RelationshipStatus enum value
	RelationshipStatusRemoved = "REMOVED"

	// RelationshipStatusResigned is a RelationshipStatus enum value
	RelationshipStatusResigned = "RESIGNED"

	// RelationshipStatusDeleted is a RelationshipStatus enum value
	RelationshipStatusDeleted = "DELETED"

	// RelationshipStatusEmailVerificationInProgress is a RelationshipStatus enum value
	RelationshipStatusEmailVerificationInProgress = "EMAIL_VERIFICATION_IN_PROGRESS"

	// RelationshipStatusEmailVerificationFailed is a RelationshipStatus enum value
	RelationshipStatusEmailVerificationFailed = "EMAIL_VERIFICATION_FAILED"

	// RelationshipStatusRegionDisabled is a RelationshipStatus enum value
	RelationshipStatusRegionDisabled = "REGION_DISABLED"

	// RelationshipStatusAccountSuspended is a RelationshipStatus enum value
	RelationshipStatusAccountSuspended = "ACCOUNT_SUSPENDED"

	// RelationshipStatusCannotCreateDetectorInOrgMaster is a RelationshipStatus enum value
	RelationshipStatusCannotCreateDetectorInOrgMaster = "CANNOT_CREATE_DETECTOR_IN_ORG_MASTER"
)
View Source
const (
	// ReportFormatCsv is a ReportFormat enum value
	ReportFormatCsv = "CSV"

	// ReportFormatJson is a ReportFormat enum value
	ReportFormatJson = "JSON"
)
View Source
const (
	// ReportingErrorCodeInternalError is a ReportingErrorCode enum value
	ReportingErrorCodeInternalError = "INTERNAL_ERROR"

	// ReportingErrorCodeInvalidPermissions is a ReportingErrorCode enum value
	ReportingErrorCodeInvalidPermissions = "INVALID_PERMISSIONS"

	// ReportingErrorCodeNoFindingsFound is a ReportingErrorCode enum value
	ReportingErrorCodeNoFindingsFound = "NO_FINDINGS_FOUND"

	// ReportingErrorCodeBucketNotFound is a ReportingErrorCode enum value
	ReportingErrorCodeBucketNotFound = "BUCKET_NOT_FOUND"

	// ReportingErrorCodeIncompatibleBucketRegion is a ReportingErrorCode enum value
	ReportingErrorCodeIncompatibleBucketRegion = "INCOMPATIBLE_BUCKET_REGION"

	// ReportingErrorCodeMalformedKmsKey is a ReportingErrorCode enum value
	ReportingErrorCodeMalformedKmsKey = "MALFORMED_KMS_KEY"
)
View Source
const (
	// RepositorySortByCritical is a RepositorySortBy enum value
	RepositorySortByCritical = "CRITICAL"

	// RepositorySortByHigh is a RepositorySortBy enum value
	RepositorySortByHigh = "HIGH"

	// RepositorySortByAll is a RepositorySortBy enum value
	RepositorySortByAll = "ALL"

	// RepositorySortByAffectedImages is a RepositorySortBy enum value
	RepositorySortByAffectedImages = "AFFECTED_IMAGES"
)
View Source
const (
	// ResourceScanTypeEc2 is a ResourceScanType enum value
	ResourceScanTypeEc2 = "EC2"

	// ResourceScanTypeEcr is a ResourceScanType enum value
	ResourceScanTypeEcr = "ECR"

	// ResourceScanTypeLambda is a ResourceScanType enum value
	ResourceScanTypeLambda = "LAMBDA"

	// ResourceScanTypeLambdaCode is a ResourceScanType enum value
	ResourceScanTypeLambdaCode = "LAMBDA_CODE"
)
View Source
const (
	// ResourceStringComparisonEquals is a ResourceStringComparison enum value
	ResourceStringComparisonEquals = "EQUALS"

	// ResourceStringComparisonNotEquals is a ResourceStringComparison enum value
	ResourceStringComparisonNotEquals = "NOT_EQUALS"
)
View Source
const (
	// ResourceTypeAwsEc2Instance is a ResourceType enum value
	ResourceTypeAwsEc2Instance = "AWS_EC2_INSTANCE"

	// ResourceTypeAwsEcrContainerImage is a ResourceType enum value
	ResourceTypeAwsEcrContainerImage = "AWS_ECR_CONTAINER_IMAGE"

	// ResourceTypeAwsEcrRepository is a ResourceType enum value
	ResourceTypeAwsEcrRepository = "AWS_ECR_REPOSITORY"

	// ResourceTypeAwsLambdaFunction is a ResourceType enum value
	ResourceTypeAwsLambdaFunction = "AWS_LAMBDA_FUNCTION"
)
View Source
const (
	// RuntimeNodejs is a Runtime enum value
	RuntimeNodejs = "NODEJS"

	// RuntimeNodejs12X is a Runtime enum value
	RuntimeNodejs12X = "NODEJS_12_X"

	// RuntimeNodejs14X is a Runtime enum value
	RuntimeNodejs14X = "NODEJS_14_X"

	// RuntimeNodejs16X is a Runtime enum value
	RuntimeNodejs16X = "NODEJS_16_X"

	// RuntimeJava8 is a Runtime enum value
	RuntimeJava8 = "JAVA_8"

	// RuntimeJava8Al2 is a Runtime enum value
	RuntimeJava8Al2 = "JAVA_8_AL2"

	// RuntimeJava11 is a Runtime enum value
	RuntimeJava11 = "JAVA_11"

	// RuntimePython37 is a Runtime enum value
	RuntimePython37 = "PYTHON_3_7"

	// RuntimePython38 is a Runtime enum value
	RuntimePython38 = "PYTHON_3_8"

	// RuntimePython39 is a Runtime enum value
	RuntimePython39 = "PYTHON_3_9"

	// RuntimeUnsupported is a Runtime enum value
	RuntimeUnsupported = "UNSUPPORTED"

	// RuntimeNodejs18X is a Runtime enum value
	RuntimeNodejs18X = "NODEJS_18_X"

	// RuntimeGo1X is a Runtime enum value
	RuntimeGo1X = "GO_1_X"

	// RuntimeJava17 is a Runtime enum value
	RuntimeJava17 = "JAVA_17"

	// RuntimePython310 is a Runtime enum value
	RuntimePython310 = "PYTHON_3_10"
)
View Source
const (
	// SbomReportFormatCyclonedx14 is a SbomReportFormat enum value
	SbomReportFormatCyclonedx14 = "CYCLONEDX_1_4"

	// SbomReportFormatSpdx23 is a SbomReportFormat enum value
	SbomReportFormatSpdx23 = "SPDX_2_3"
)
View Source
const (
	// ScanStatusCodeActive is a ScanStatusCode enum value
	ScanStatusCodeActive = "ACTIVE"

	// ScanStatusCodeInactive is a ScanStatusCode enum value
	ScanStatusCodeInactive = "INACTIVE"
)
View Source
const (
	// ScanStatusReasonPendingInitialScan is a ScanStatusReason enum value
	ScanStatusReasonPendingInitialScan = "PENDING_INITIAL_SCAN"

	// ScanStatusReasonAccessDenied is a ScanStatusReason enum value
	ScanStatusReasonAccessDenied = "ACCESS_DENIED"

	// ScanStatusReasonInternalError is a ScanStatusReason enum value
	ScanStatusReasonInternalError = "INTERNAL_ERROR"

	// ScanStatusReasonUnmanagedEc2Instance is a ScanStatusReason enum value
	ScanStatusReasonUnmanagedEc2Instance = "UNMANAGED_EC2_INSTANCE"

	// ScanStatusReasonUnsupportedOs is a ScanStatusReason enum value
	ScanStatusReasonUnsupportedOs = "UNSUPPORTED_OS"

	// ScanStatusReasonScanEligibilityExpired is a ScanStatusReason enum value
	ScanStatusReasonScanEligibilityExpired = "SCAN_ELIGIBILITY_EXPIRED"

	// ScanStatusReasonResourceTerminated is a ScanStatusReason enum value
	ScanStatusReasonResourceTerminated = "RESOURCE_TERMINATED"

	// ScanStatusReasonSuccessful is a ScanStatusReason enum value
	ScanStatusReasonSuccessful = "SUCCESSFUL"

	// ScanStatusReasonNoResourcesFound is a ScanStatusReason enum value
	ScanStatusReasonNoResourcesFound = "NO_RESOURCES_FOUND"

	// ScanStatusReasonImageSizeExceeded is a ScanStatusReason enum value
	ScanStatusReasonImageSizeExceeded = "IMAGE_SIZE_EXCEEDED"

	// ScanStatusReasonScanFrequencyManual is a ScanStatusReason enum value
	ScanStatusReasonScanFrequencyManual = "SCAN_FREQUENCY_MANUAL"

	// ScanStatusReasonScanFrequencyScanOnPush is a ScanStatusReason enum value
	ScanStatusReasonScanFrequencyScanOnPush = "SCAN_FREQUENCY_SCAN_ON_PUSH"

	// ScanStatusReasonEc2InstanceStopped is a ScanStatusReason enum value
	ScanStatusReasonEc2InstanceStopped = "EC2_INSTANCE_STOPPED"

	// ScanStatusReasonPendingDisable is a ScanStatusReason enum value
	ScanStatusReasonPendingDisable = "PENDING_DISABLE"

	// ScanStatusReasonNoInventory is a ScanStatusReason enum value
	ScanStatusReasonNoInventory = "NO_INVENTORY"

	// ScanStatusReasonStaleInventory is a ScanStatusReason enum value
	ScanStatusReasonStaleInventory = "STALE_INVENTORY"

	// ScanStatusReasonExcludedByTag is a ScanStatusReason enum value
	ScanStatusReasonExcludedByTag = "EXCLUDED_BY_TAG"

	// ScanStatusReasonUnsupportedRuntime is a ScanStatusReason enum value
	ScanStatusReasonUnsupportedRuntime = "UNSUPPORTED_RUNTIME"

	// ScanStatusReasonUnsupportedMediaType is a ScanStatusReason enum value
	ScanStatusReasonUnsupportedMediaType = "UNSUPPORTED_MEDIA_TYPE"

	// ScanStatusReasonUnsupportedConfigFile is a ScanStatusReason enum value
	ScanStatusReasonUnsupportedConfigFile = "UNSUPPORTED_CONFIG_FILE"

	// ScanStatusReasonDeepInspectionPackageCollectionLimitExceeded is a ScanStatusReason enum value
	ScanStatusReasonDeepInspectionPackageCollectionLimitExceeded = "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED"

	// ScanStatusReasonDeepInspectionDailySsmInventoryLimitExceeded is a ScanStatusReason enum value
	ScanStatusReasonDeepInspectionDailySsmInventoryLimitExceeded = "DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED"

	// ScanStatusReasonDeepInspectionCollectionTimeLimitExceeded is a ScanStatusReason enum value
	ScanStatusReasonDeepInspectionCollectionTimeLimitExceeded = "DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED"

	// ScanStatusReasonDeepInspectionNoInventory is a ScanStatusReason enum value
	ScanStatusReasonDeepInspectionNoInventory = "DEEP_INSPECTION_NO_INVENTORY"
)
View Source
const (
	// ScanTypeNetwork is a ScanType enum value
	ScanTypeNetwork = "NETWORK"

	// ScanTypePackage is a ScanType enum value
	ScanTypePackage = "PACKAGE"

	// ScanTypeCode is a ScanType enum value
	ScanTypeCode = "CODE"
)
View Source
const (
	// ServiceEc2 is a Service enum value
	ServiceEc2 = "EC2"

	// ServiceEcr is a Service enum value
	ServiceEcr = "ECR"

	// ServiceLambda is a Service enum value
	ServiceLambda = "LAMBDA"
)
View Source
const (
	// SeverityInformational is a Severity enum value
	SeverityInformational = "INFORMATIONAL"

	// SeverityLow is a Severity enum value
	SeverityLow = "LOW"

	// SeverityMedium is a Severity enum value
	SeverityMedium = "MEDIUM"

	// SeverityHigh is a Severity enum value
	SeverityHigh = "HIGH"

	// SeverityCritical is a Severity enum value
	SeverityCritical = "CRITICAL"

	// SeverityUntriaged is a Severity enum value
	SeverityUntriaged = "UNTRIAGED"
)
View Source
const (
	// SortFieldAwsAccountId is a SortField enum value
	SortFieldAwsAccountId = "AWS_ACCOUNT_ID"

	// SortFieldFindingType is a SortField enum value
	SortFieldFindingType = "FINDING_TYPE"

	// SortFieldSeverity is a SortField enum value
	SortFieldSeverity = "SEVERITY"

	// SortFieldFirstObservedAt is a SortField enum value
	SortFieldFirstObservedAt = "FIRST_OBSERVED_AT"

	// SortFieldLastObservedAt is a SortField enum value
	SortFieldLastObservedAt = "LAST_OBSERVED_AT"

	// SortFieldFindingStatus is a SortField enum value
	SortFieldFindingStatus = "FINDING_STATUS"

	// SortFieldResourceType is a SortField enum value
	SortFieldResourceType = "RESOURCE_TYPE"

	// SortFieldEcrImagePushedAt is a SortField enum value
	SortFieldEcrImagePushedAt = "ECR_IMAGE_PUSHED_AT"

	// SortFieldEcrImageRepositoryName is a SortField enum value
	SortFieldEcrImageRepositoryName = "ECR_IMAGE_REPOSITORY_NAME"

	// SortFieldEcrImageRegistry is a SortField enum value
	SortFieldEcrImageRegistry = "ECR_IMAGE_REGISTRY"

	// SortFieldNetworkProtocol is a SortField enum value
	SortFieldNetworkProtocol = "NETWORK_PROTOCOL"

	// SortFieldComponentType is a SortField enum value
	SortFieldComponentType = "COMPONENT_TYPE"

	// SortFieldVulnerabilityId is a SortField enum value
	SortFieldVulnerabilityId = "VULNERABILITY_ID"

	// SortFieldVulnerabilitySource is a SortField enum value
	SortFieldVulnerabilitySource = "VULNERABILITY_SOURCE"

	// SortFieldInspectorScore is a SortField enum value
	SortFieldInspectorScore = "INSPECTOR_SCORE"

	// SortFieldVendorSeverity is a SortField enum value
	SortFieldVendorSeverity = "VENDOR_SEVERITY"

	// SortFieldEpssScore is a SortField enum value
	SortFieldEpssScore = "EPSS_SCORE"
)
View Source
const (
	// SortOrderAsc is a SortOrder enum value
	SortOrderAsc = "ASC"

	// SortOrderDesc is a SortOrder enum value
	SortOrderDesc = "DESC"
)
View Source
const (
	// StatusEnabling is a Status enum value
	StatusEnabling = "ENABLING"

	// StatusEnabled is a Status enum value
	StatusEnabled = "ENABLED"

	// StatusDisabling is a Status enum value
	StatusDisabling = "DISABLING"

	// StatusDisabled is a Status enum value
	StatusDisabled = "DISABLED"

	// StatusSuspending is a Status enum value
	StatusSuspending = "SUSPENDING"

	// StatusSuspended is a Status enum value
	StatusSuspended = "SUSPENDED"
)
View Source
const (
	// StringComparisonEquals is a StringComparison enum value
	StringComparisonEquals = "EQUALS"

	// StringComparisonPrefix is a StringComparison enum value
	StringComparisonPrefix = "PREFIX"

	// StringComparisonNotEquals is a StringComparison enum value
	StringComparisonNotEquals = "NOT_EQUALS"
)
View Source
const (
	// TitleSortByCritical is a TitleSortBy enum value
	TitleSortByCritical = "CRITICAL"

	// TitleSortByHigh is a TitleSortBy enum value
	TitleSortByHigh = "HIGH"

	// TitleSortByAll is a TitleSortBy enum value
	TitleSortByAll = "ALL"
)
View Source
const (
	// UsageTypeEc2InstanceHours is a UsageType enum value
	UsageTypeEc2InstanceHours = "EC2_INSTANCE_HOURS"

	// UsageTypeEcrInitialScan is a UsageType enum value
	UsageTypeEcrInitialScan = "ECR_INITIAL_SCAN"

	// UsageTypeEcrRescan is a UsageType enum value
	UsageTypeEcrRescan = "ECR_RESCAN"

	// UsageTypeLambdaFunctionHours is a UsageType enum value
	UsageTypeLambdaFunctionHours = "LAMBDA_FUNCTION_HOURS"

	// UsageTypeLambdaFunctionCodeHours is a UsageType enum value
	UsageTypeLambdaFunctionCodeHours = "LAMBDA_FUNCTION_CODE_HOURS"
)
View Source
const (
	// ValidationExceptionReasonCannotParse is a ValidationExceptionReason enum value
	ValidationExceptionReasonCannotParse = "CANNOT_PARSE"

	// ValidationExceptionReasonFieldValidationFailed is a ValidationExceptionReason enum value
	ValidationExceptionReasonFieldValidationFailed = "FIELD_VALIDATION_FAILED"

	// ValidationExceptionReasonOther is a ValidationExceptionReason enum value
	ValidationExceptionReasonOther = "OTHER"
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// You do not have sufficient access to perform this action.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeBadRequestException for service response error code
	// "BadRequestException".
	//
	// One or more tags submitted as part of the request is not valid.
	ErrCodeBadRequestException = "BadRequestException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// A conflict occurred.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// The request has failed due to an internal failure of the Amazon Inspector
	// service.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The operation tried to access an invalid resource. Make sure the resource
	// is specified correctly.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// You have exceeded your service quota. To perform the requested action, remove
	// some of the relevant resources, or use Service Quotas to request a service
	// quota increase.
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// The limit on the number of requests per second was exceeded.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// The request has failed validation due to missing required fields or having
	// invalid inputs.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "Inspector2" // Name of service.
	EndpointsID = "inspector2" // ID to lookup a service endpoint with.
	ServiceID   = "Inspector2" // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// CoverageMapComparisonEquals is a CoverageMapComparison enum value
	CoverageMapComparisonEquals = "EQUALS"
)
View Source
const (
	// CurrencyUsd is a Currency enum value
	CurrencyUsd = "USD"
)
View Source
const (
	// MapComparisonEquals is a MapComparison enum value
	MapComparisonEquals = "EQUALS"
)
View Source
const (
	// ResourceMapComparisonEquals is a ResourceMapComparison enum value
	ResourceMapComparisonEquals = "EQUALS"
)
View Source
const (
	// VulnerabilitySourceNvd is a VulnerabilitySource enum value
	VulnerabilitySourceNvd = "NVD"
)

Variables

This section is empty.

Functions

func AccountSortBy_Values

func AccountSortBy_Values() []string

AccountSortBy_Values returns all elements of the AccountSortBy enum

func AggregationFindingType_Values

func AggregationFindingType_Values() []string

AggregationFindingType_Values returns all elements of the AggregationFindingType enum

func AggregationResourceType_Values

func AggregationResourceType_Values() []string

AggregationResourceType_Values returns all elements of the AggregationResourceType enum

func AggregationType_Values

func AggregationType_Values() []string

AggregationType_Values returns all elements of the AggregationType enum

func AmiSortBy_Values

func AmiSortBy_Values() []string

AmiSortBy_Values returns all elements of the AmiSortBy enum

func Architecture_Values added in v1.44.147

func Architecture_Values() []string

Architecture_Values returns all elements of the Architecture enum

func AwsEcrContainerSortBy_Values

func AwsEcrContainerSortBy_Values() []string

AwsEcrContainerSortBy_Values returns all elements of the AwsEcrContainerSortBy enum

func CodeSnippetErrorCode_Values added in v1.44.287

func CodeSnippetErrorCode_Values() []string

CodeSnippetErrorCode_Values returns all elements of the CodeSnippetErrorCode enum

func CoverageMapComparison_Values

func CoverageMapComparison_Values() []string

CoverageMapComparison_Values returns all elements of the CoverageMapComparison enum

func CoverageResourceType_Values

func CoverageResourceType_Values() []string

CoverageResourceType_Values returns all elements of the CoverageResourceType enum

func CoverageStringComparison_Values

func CoverageStringComparison_Values() []string

CoverageStringComparison_Values returns all elements of the CoverageStringComparison enum

func Currency_Values

func Currency_Values() []string

Currency_Values returns all elements of the Currency enum

func DelegatedAdminStatus_Values

func DelegatedAdminStatus_Values() []string

DelegatedAdminStatus_Values returns all elements of the DelegatedAdminStatus enum

func Ec2DeepInspectionStatus_Values added in v1.44.256

func Ec2DeepInspectionStatus_Values() []string

Ec2DeepInspectionStatus_Values returns all elements of the Ec2DeepInspectionStatus enum

func Ec2InstanceSortBy_Values

func Ec2InstanceSortBy_Values() []string

Ec2InstanceSortBy_Values returns all elements of the Ec2InstanceSortBy enum

func Ec2Platform_Values

func Ec2Platform_Values() []string

Ec2Platform_Values returns all elements of the Ec2Platform enum

func EcrRescanDurationStatus_Values added in v1.44.55

func EcrRescanDurationStatus_Values() []string

EcrRescanDurationStatus_Values returns all elements of the EcrRescanDurationStatus enum

func EcrRescanDuration_Values added in v1.44.55

func EcrRescanDuration_Values() []string

EcrRescanDuration_Values returns all elements of the EcrRescanDuration enum

func EcrScanFrequency_Values

func EcrScanFrequency_Values() []string

EcrScanFrequency_Values returns all elements of the EcrScanFrequency enum

func ErrorCode_Values

func ErrorCode_Values() []string

ErrorCode_Values returns all elements of the ErrorCode enum

func ExploitAvailable_Values added in v1.44.147

func ExploitAvailable_Values() []string

ExploitAvailable_Values returns all elements of the ExploitAvailable enum

func ExternalReportStatus_Values

func ExternalReportStatus_Values() []string

ExternalReportStatus_Values returns all elements of the ExternalReportStatus enum

func FilterAction_Values

func FilterAction_Values() []string

FilterAction_Values returns all elements of the FilterAction enum

func FindingDetailsErrorCode_Values added in v1.44.313

func FindingDetailsErrorCode_Values() []string

FindingDetailsErrorCode_Values returns all elements of the FindingDetailsErrorCode enum

func FindingStatus_Values

func FindingStatus_Values() []string

FindingStatus_Values returns all elements of the FindingStatus enum

func FindingTypeSortBy_Values

func FindingTypeSortBy_Values() []string

FindingTypeSortBy_Values returns all elements of the FindingTypeSortBy enum

func FindingType_Values

func FindingType_Values() []string

FindingType_Values returns all elements of the FindingType enum

func FixAvailable_Values added in v1.44.93

func FixAvailable_Values() []string

FixAvailable_Values returns all elements of the FixAvailable enum

func FreeTrialInfoErrorCode_Values

func FreeTrialInfoErrorCode_Values() []string

FreeTrialInfoErrorCode_Values returns all elements of the FreeTrialInfoErrorCode enum

func FreeTrialStatus_Values

func FreeTrialStatus_Values() []string

FreeTrialStatus_Values returns all elements of the FreeTrialStatus enum

func FreeTrialType_Values

func FreeTrialType_Values() []string

FreeTrialType_Values returns all elements of the FreeTrialType enum

func GroupKey_Values

func GroupKey_Values() []string

GroupKey_Values returns all elements of the GroupKey enum

func ImageLayerSortBy_Values

func ImageLayerSortBy_Values() []string

ImageLayerSortBy_Values returns all elements of the ImageLayerSortBy enum

func LambdaFunctionSortBy_Values added in v1.44.147

func LambdaFunctionSortBy_Values() []string

LambdaFunctionSortBy_Values returns all elements of the LambdaFunctionSortBy enum

func LambdaLayerSortBy_Values added in v1.44.147

func LambdaLayerSortBy_Values() []string

LambdaLayerSortBy_Values returns all elements of the LambdaLayerSortBy enum

func MapComparison_Values

func MapComparison_Values() []string

MapComparison_Values returns all elements of the MapComparison enum

func NetworkProtocol_Values

func NetworkProtocol_Values() []string

NetworkProtocol_Values returns all elements of the NetworkProtocol enum

func Operation_Values

func Operation_Values() []string

Operation_Values returns all elements of the Operation enum

func PackageManager_Values

func PackageManager_Values() []string

PackageManager_Values returns all elements of the PackageManager enum

func PackageSortBy_Values

func PackageSortBy_Values() []string

PackageSortBy_Values returns all elements of the PackageSortBy enum

func PackageType_Values added in v1.44.147

func PackageType_Values() []string

PackageType_Values returns all elements of the PackageType enum

func RelationshipStatus_Values

func RelationshipStatus_Values() []string

RelationshipStatus_Values returns all elements of the RelationshipStatus enum

func ReportFormat_Values

func ReportFormat_Values() []string

ReportFormat_Values returns all elements of the ReportFormat enum

func ReportingErrorCode_Values

func ReportingErrorCode_Values() []string

ReportingErrorCode_Values returns all elements of the ReportingErrorCode enum

func RepositorySortBy_Values

func RepositorySortBy_Values() []string

RepositorySortBy_Values returns all elements of the RepositorySortBy enum

func ResourceMapComparison_Values added in v1.44.287

func ResourceMapComparison_Values() []string

ResourceMapComparison_Values returns all elements of the ResourceMapComparison enum

func ResourceScanType_Values

func ResourceScanType_Values() []string

ResourceScanType_Values returns all elements of the ResourceScanType enum

func ResourceStringComparison_Values added in v1.44.287

func ResourceStringComparison_Values() []string

ResourceStringComparison_Values returns all elements of the ResourceStringComparison enum

func ResourceType_Values

func ResourceType_Values() []string

ResourceType_Values returns all elements of the ResourceType enum

func Runtime_Values added in v1.44.147

func Runtime_Values() []string

Runtime_Values returns all elements of the Runtime enum

func SbomReportFormat_Values added in v1.44.287

func SbomReportFormat_Values() []string

SbomReportFormat_Values returns all elements of the SbomReportFormat enum

func ScanStatusCode_Values

func ScanStatusCode_Values() []string

ScanStatusCode_Values returns all elements of the ScanStatusCode enum

func ScanStatusReason_Values

func ScanStatusReason_Values() []string

ScanStatusReason_Values returns all elements of the ScanStatusReason enum

func ScanType_Values

func ScanType_Values() []string

ScanType_Values returns all elements of the ScanType enum

func Service_Values

func Service_Values() []string

Service_Values returns all elements of the Service enum

func Severity_Values

func Severity_Values() []string

Severity_Values returns all elements of the Severity enum

func SortField_Values

func SortField_Values() []string

SortField_Values returns all elements of the SortField enum

func SortOrder_Values

func SortOrder_Values() []string

SortOrder_Values returns all elements of the SortOrder enum

func Status_Values

func Status_Values() []string

Status_Values returns all elements of the Status enum

func StringComparison_Values

func StringComparison_Values() []string

StringComparison_Values returns all elements of the StringComparison enum

func TitleSortBy_Values

func TitleSortBy_Values() []string

TitleSortBy_Values returns all elements of the TitleSortBy enum

func UsageType_Values

func UsageType_Values() []string

UsageType_Values returns all elements of the UsageType enum

func ValidationExceptionReason_Values

func ValidationExceptionReason_Values() []string

ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum

func VulnerabilitySource_Values added in v1.44.258

func VulnerabilitySource_Values() []string

VulnerabilitySource_Values returns all elements of the VulnerabilitySource enum

Types

type AccessDeniedException

type AccessDeniedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

You do not have sufficient access to perform this action.

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Account

type Account struct {

	// The ID of the Amazon Web Services account.
	//
	// AccountId is a required field
	AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"`

	// Details of the status of Amazon Inspector scans by resource type.
	//
	// ResourceStatus is a required field
	ResourceStatus *ResourceStatus `locationName:"resourceStatus" type:"structure" required:"true"`

	// The status of Amazon Inspector for the account.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"Status"`
	// contains filtered or unexported fields
}

An Amazon Web Services account within your environment that Amazon Inspector has been enabled for.

func (Account) GoString

func (s Account) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Account) SetAccountId

func (s *Account) SetAccountId(v string) *Account

SetAccountId sets the AccountId field's value.

func (*Account) SetResourceStatus

func (s *Account) SetResourceStatus(v *ResourceStatus) *Account

SetResourceStatus sets the ResourceStatus field's value.

func (*Account) SetStatus

func (s *Account) SetStatus(v string) *Account

SetStatus sets the Status field's value.

func (Account) String

func (s Account) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AccountAggregation

type AccountAggregation struct {

	// The type of finding.
	FindingType *string `locationName:"findingType" type:"string" enum:"AggregationFindingType"`

	// The type of resource.
	ResourceType *string `locationName:"resourceType" type:"string" enum:"AggregationResourceType"`

	// The value to sort by.
	SortBy *string `locationName:"sortBy" type:"string" enum:"AccountSortBy"`

	// The sort order (ascending or descending).
	SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrder"`
	// contains filtered or unexported fields
}

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

func (AccountAggregation) GoString

func (s AccountAggregation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccountAggregation) SetFindingType

func (s *AccountAggregation) SetFindingType(v string) *AccountAggregation

SetFindingType sets the FindingType field's value.

func (*AccountAggregation) SetResourceType

func (s *AccountAggregation) SetResourceType(v string) *AccountAggregation

SetResourceType sets the ResourceType field's value.

func (*AccountAggregation) SetSortBy

func (s *AccountAggregation) SetSortBy(v string) *AccountAggregation

SetSortBy sets the SortBy field's value.

func (*AccountAggregation) SetSortOrder

func (s *AccountAggregation) SetSortOrder(v string) *AccountAggregation

SetSortOrder sets the SortOrder field's value.

func (AccountAggregation) String

func (s AccountAggregation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AccountAggregationResponse

type AccountAggregationResponse struct {

	// The Amazon Web Services account ID.
	AccountId *string `locationName:"accountId" min:"12" type:"string"`

	// The number of findings by severity.
	SeverityCounts *SeverityCounts `locationName:"severityCounts" type:"structure"`
	// contains filtered or unexported fields
}

An aggregation of findings by Amazon Web Services account ID.

func (AccountAggregationResponse) GoString

func (s AccountAggregationResponse) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccountAggregationResponse) SetAccountId

SetAccountId sets the AccountId field's value.

func (*AccountAggregationResponse) SetSeverityCounts

SetSeverityCounts sets the SeverityCounts field's value.

func (AccountAggregationResponse) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AccountState

type AccountState struct {

	// The Amazon Web Services account ID.
	//
	// AccountId is a required field
	AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"`

	// An object detailing which resources Amazon Inspector is enabled to scan for
	// the account.
	//
	// ResourceState is a required field
	ResourceState *ResourceState `locationName:"resourceState" type:"structure" required:"true"`

	// An object detailing the status of Amazon Inspector for the account.
	//
	// State is a required field
	State *State `locationName:"state" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

An object with details the status of an Amazon Web Services account within your Amazon Inspector environment.

func (AccountState) GoString

func (s AccountState) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccountState) SetAccountId

func (s *AccountState) SetAccountId(v string) *AccountState

SetAccountId sets the AccountId field's value.

func (*AccountState) SetResourceState

func (s *AccountState) SetResourceState(v *ResourceState) *AccountState

SetResourceState sets the ResourceState field's value.

func (*AccountState) SetState

func (s *AccountState) SetState(v *State) *AccountState

SetState sets the State field's value.

func (AccountState) String

func (s AccountState) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AggregationRequest

type AggregationRequest struct {

	// An object that contains details about an aggregation request based on Amazon
	// Web Services account IDs.
	AccountAggregation *AccountAggregation `locationName:"accountAggregation" type:"structure"`

	// An object that contains details about an aggregation request based on Amazon
	// Machine Images (AMIs).
	AmiAggregation *AmiAggregation `locationName:"amiAggregation" type:"structure"`

	// An object that contains details about an aggregation request based on Amazon
	// ECR container images.
	AwsEcrContainerAggregation *AwsEcrContainerAggregation `locationName:"awsEcrContainerAggregation" type:"structure"`

	// An object that contains details about an aggregation request based on Amazon
	// EC2 instances.
	Ec2InstanceAggregation *Ec2InstanceAggregation `locationName:"ec2InstanceAggregation" type:"structure"`

	// An object that contains details about an aggregation request based on finding
	// types.
	FindingTypeAggregation *FindingTypeAggregation `locationName:"findingTypeAggregation" type:"structure"`

	// An object that contains details about an aggregation request based on container
	// image layers.
	ImageLayerAggregation *ImageLayerAggregation `locationName:"imageLayerAggregation" type:"structure"`

	// Returns an object with findings aggregated by AWS Lambda function.
	LambdaFunctionAggregation *LambdaFunctionAggregation `locationName:"lambdaFunctionAggregation" type:"structure"`

	// Returns an object with findings aggregated by AWS Lambda layer.
	LambdaLayerAggregation *LambdaLayerAggregation `locationName:"lambdaLayerAggregation" type:"structure"`

	// An object that contains details about an aggregation request based on operating
	// system package type.
	PackageAggregation *PackageAggregation `locationName:"packageAggregation" type:"structure"`

	// An object that contains details about an aggregation request based on Amazon
	// ECR repositories.
	RepositoryAggregation *RepositoryAggregation `locationName:"repositoryAggregation" type:"structure"`

	// An object that contains details about an aggregation request based on finding
	// title.
	TitleAggregation *TitleAggregation `locationName:"titleAggregation" type:"structure"`
	// contains filtered or unexported fields
}

Contains details about an aggregation request.

func (AggregationRequest) GoString

func (s AggregationRequest) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AggregationRequest) SetAccountAggregation

func (s *AggregationRequest) SetAccountAggregation(v *AccountAggregation) *AggregationRequest

SetAccountAggregation sets the AccountAggregation field's value.

func (*AggregationRequest) SetAmiAggregation

func (s *AggregationRequest) SetAmiAggregation(v *AmiAggregation) *AggregationRequest

SetAmiAggregation sets the AmiAggregation field's value.

func (*AggregationRequest) SetAwsEcrContainerAggregation

func (s *AggregationRequest) SetAwsEcrContainerAggregation(v *AwsEcrContainerAggregation) *AggregationRequest

SetAwsEcrContainerAggregation sets the AwsEcrContainerAggregation field's value.

func (*AggregationRequest) SetEc2InstanceAggregation

func (s *AggregationRequest) SetEc2InstanceAggregation(v *Ec2InstanceAggregation) *AggregationRequest

SetEc2InstanceAggregation sets the Ec2InstanceAggregation field's value.

func (*AggregationRequest) SetFindingTypeAggregation

func (s *AggregationRequest) SetFindingTypeAggregation(v *FindingTypeAggregation) *AggregationRequest

SetFindingTypeAggregation sets the FindingTypeAggregation field's value.

func (*AggregationRequest) SetImageLayerAggregation

func (s *AggregationRequest) SetImageLayerAggregation(v *ImageLayerAggregation) *AggregationRequest

SetImageLayerAggregation sets the ImageLayerAggregation field's value.

func (*AggregationRequest) SetLambdaFunctionAggregation added in v1.44.147

func (s *AggregationRequest) SetLambdaFunctionAggregation(v *LambdaFunctionAggregation) *AggregationRequest

SetLambdaFunctionAggregation sets the LambdaFunctionAggregation field's value.

func (*AggregationRequest) SetLambdaLayerAggregation added in v1.44.147

func (s *AggregationRequest) SetLambdaLayerAggregation(v *LambdaLayerAggregation) *AggregationRequest

SetLambdaLayerAggregation sets the LambdaLayerAggregation field's value.

func (*AggregationRequest) SetPackageAggregation

func (s *AggregationRequest) SetPackageAggregation(v *PackageAggregation) *AggregationRequest

SetPackageAggregation sets the PackageAggregation field's value.

func (*AggregationRequest) SetRepositoryAggregation

func (s *AggregationRequest) SetRepositoryAggregation(v *RepositoryAggregation) *AggregationRequest

SetRepositoryAggregation sets the RepositoryAggregation field's value.

func (*AggregationRequest) SetTitleAggregation

func (s *AggregationRequest) SetTitleAggregation(v *TitleAggregation) *AggregationRequest

SetTitleAggregation sets the TitleAggregation field's value.

func (AggregationRequest) String

func (s AggregationRequest) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AggregationRequest) Validate

func (s *AggregationRequest) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AggregationResponse

type AggregationResponse struct {

	// An object that contains details about an aggregation response based on Amazon
	// Web Services account IDs.
	AccountAggregation *AccountAggregationResponse `locationName:"accountAggregation" type:"structure"`

	// An object that contains details about an aggregation response based on Amazon
	// Machine Images (AMIs).
	AmiAggregation *AmiAggregationResponse `locationName:"amiAggregation" type:"structure"`

	// An object that contains details about an aggregation response based on Amazon
	// ECR container images.
	AwsEcrContainerAggregation *AwsEcrContainerAggregationResponse `locationName:"awsEcrContainerAggregation" type:"structure"`

	// An object that contains details about an aggregation response based on Amazon
	// EC2 instances.
	Ec2InstanceAggregation *Ec2InstanceAggregationResponse `locationName:"ec2InstanceAggregation" type:"structure"`

	// An object that contains details about an aggregation response based on finding
	// types.
	FindingTypeAggregation *FindingTypeAggregationResponse `locationName:"findingTypeAggregation" type:"structure"`

	// An object that contains details about an aggregation response based on container
	// image layers.
	ImageLayerAggregation *ImageLayerAggregationResponse `locationName:"imageLayerAggregation" type:"structure"`

	// An aggregation of findings by AWS Lambda function.
	LambdaFunctionAggregation *LambdaFunctionAggregationResponse `locationName:"lambdaFunctionAggregation" type:"structure"`

	// An aggregation of findings by AWS Lambda layer.
	LambdaLayerAggregation *LambdaLayerAggregationResponse `locationName:"lambdaLayerAggregation" type:"structure"`

	// An object that contains details about an aggregation response based on operating
	// system package type.
	PackageAggregation *PackageAggregationResponse `locationName:"packageAggregation" type:"structure"`

	// An object that contains details about an aggregation response based on Amazon
	// ECR repositories.
	RepositoryAggregation *RepositoryAggregationResponse `locationName:"repositoryAggregation" type:"structure"`

	// An object that contains details about an aggregation response based on finding
	// title.
	TitleAggregation *TitleAggregationResponse `locationName:"titleAggregation" type:"structure"`
	// contains filtered or unexported fields
}

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

func (AggregationResponse) GoString

func (s AggregationResponse) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AggregationResponse) SetAccountAggregation

SetAccountAggregation sets the AccountAggregation field's value.

func (*AggregationResponse) SetAmiAggregation

SetAmiAggregation sets the AmiAggregation field's value.

func (*AggregationResponse) SetAwsEcrContainerAggregation

func (s *AggregationResponse) SetAwsEcrContainerAggregation(v *AwsEcrContainerAggregationResponse) *AggregationResponse

SetAwsEcrContainerAggregation sets the AwsEcrContainerAggregation field's value.

func (*AggregationResponse) SetEc2InstanceAggregation

SetEc2InstanceAggregation sets the Ec2InstanceAggregation field's value.

func (*AggregationResponse) SetFindingTypeAggregation

SetFindingTypeAggregation sets the FindingTypeAggregation field's value.

func (*AggregationResponse) SetImageLayerAggregation

SetImageLayerAggregation sets the ImageLayerAggregation field's value.

func (*AggregationResponse) SetLambdaFunctionAggregation added in v1.44.147

func (s *AggregationResponse) SetLambdaFunctionAggregation(v *LambdaFunctionAggregationResponse) *AggregationResponse

SetLambdaFunctionAggregation sets the LambdaFunctionAggregation field's value.

func (*AggregationResponse) SetLambdaLayerAggregation added in v1.44.147

SetLambdaLayerAggregation sets the LambdaLayerAggregation field's value.

func (*AggregationResponse) SetPackageAggregation

SetPackageAggregation sets the PackageAggregation field's value.

func (*AggregationResponse) SetRepositoryAggregation

SetRepositoryAggregation sets the RepositoryAggregation field's value.

func (*AggregationResponse) SetTitleAggregation

SetTitleAggregation sets the TitleAggregation field's value.

func (AggregationResponse) String

func (s AggregationResponse) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AmiAggregation

type AmiAggregation struct {

	// The IDs of AMIs to aggregate findings for.
	Amis []*StringFilter `locationName:"amis" min:"1" type:"list"`

	// The value to sort results by.
	SortBy *string `locationName:"sortBy" type:"string" enum:"AmiSortBy"`

	// The order to sort results by.
	SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrder"`
	// contains filtered or unexported fields
}

The details that define an aggregation based on Amazon machine images (AMIs).

func (AmiAggregation) GoString

func (s AmiAggregation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AmiAggregation) SetAmis

func (s *AmiAggregation) SetAmis(v []*StringFilter) *AmiAggregation

SetAmis sets the Amis field's value.

func (*AmiAggregation) SetSortBy

func (s *AmiAggregation) SetSortBy(v string) *AmiAggregation

SetSortBy sets the SortBy field's value.

func (*AmiAggregation) SetSortOrder

func (s *AmiAggregation) SetSortOrder(v string) *AmiAggregation

SetSortOrder sets the SortOrder field's value.

func (AmiAggregation) String

func (s AmiAggregation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AmiAggregation) Validate

func (s *AmiAggregation) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AmiAggregationResponse

type AmiAggregationResponse struct {

	// The Amazon Web Services account ID for the AMI.
	AccountId *string `locationName:"accountId" min:"12" type:"string"`

	// The IDs of Amazon EC2 instances using this AMI.
	AffectedInstances *int64 `locationName:"affectedInstances" type:"long"`

	// The ID of the AMI that findings were aggregated for.
	//
	// Ami is a required field
	Ami *string `locationName:"ami" type:"string" required:"true"`

	// An object that contains the count of matched findings per severity.
	SeverityCounts *SeverityCounts `locationName:"severityCounts" type:"structure"`
	// contains filtered or unexported fields
}

A response that contains the results of a finding aggregation by AMI.

func (AmiAggregationResponse) GoString

func (s AmiAggregationResponse) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AmiAggregationResponse) SetAccountId

SetAccountId sets the AccountId field's value.

func (*AmiAggregationResponse) SetAffectedInstances

func (s *AmiAggregationResponse) SetAffectedInstances(v int64) *AmiAggregationResponse

SetAffectedInstances sets the AffectedInstances field's value.

func (*AmiAggregationResponse) SetAmi

SetAmi sets the Ami field's value.

func (*AmiAggregationResponse) SetSeverityCounts

SetSeverityCounts sets the SeverityCounts field's value.

func (AmiAggregationResponse) String

func (s AmiAggregationResponse) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AssociateMemberInput

type AssociateMemberInput struct {

	// The Amazon Web Services account ID of the member account to be associated.
	//
	// AccountId is a required field
	AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AssociateMemberInput) GoString

func (s AssociateMemberInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateMemberInput) SetAccountId

func (s *AssociateMemberInput) SetAccountId(v string) *AssociateMemberInput

SetAccountId sets the AccountId field's value.

func (AssociateMemberInput) String

func (s AssociateMemberInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateMemberInput) Validate

func (s *AssociateMemberInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AssociateMemberOutput

type AssociateMemberOutput struct {

	// The Amazon Web Services account ID of the successfully associated member
	// account.
	//
	// AccountId is a required field
	AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AssociateMemberOutput) GoString

func (s AssociateMemberOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateMemberOutput) SetAccountId

SetAccountId sets the AccountId field's value.

func (AssociateMemberOutput) String

func (s AssociateMemberOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AtigData added in v1.44.258

type AtigData struct {

	// The date and time this vulnerability was first observed.
	FirstSeen *time.Time `locationName:"firstSeen" type:"timestamp"`

	// The date and time this vulnerability was last observed.
	LastSeen *time.Time `locationName:"lastSeen" type:"timestamp"`

	// The commercial sectors this vulnerability targets.
	Targets []*string `locationName:"targets" type:"list"`

	// The MITRE ATT&CK (https://attack.mitre.org/) tactics, techniques, and procedures
	// (TTPs) associated with vulnerability.
	Ttps []*string `locationName:"ttps" type:"list"`
	// contains filtered or unexported fields
}

The Amazon Web Services Threat Intel Group (ATIG) details for a specific vulnerability.

func (AtigData) GoString added in v1.44.258

func (s AtigData) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AtigData) SetFirstSeen added in v1.44.258

func (s *AtigData) SetFirstSeen(v time.Time) *AtigData

SetFirstSeen sets the FirstSeen field's value.

func (*AtigData) SetLastSeen added in v1.44.258

func (s *AtigData) SetLastSeen(v time.Time) *AtigData

SetLastSeen sets the LastSeen field's value.

func (*AtigData) SetTargets added in v1.44.258

func (s *AtigData) SetTargets(v []*string) *AtigData

SetTargets sets the Targets field's value.

func (*AtigData) SetTtps added in v1.44.258

func (s *AtigData) SetTtps(v []*string) *AtigData

SetTtps sets the Ttps field's value.

func (AtigData) String added in v1.44.258

func (s AtigData) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AutoEnable

type AutoEnable struct {

	// Represents whether Amazon EC2 scans are automatically enabled for new members
	// of your Amazon Inspector organization.
	//
	// Ec2 is a required field
	Ec2 *bool `locationName:"ec2" type:"boolean" required:"true"`

	// Represents whether Amazon ECR scans are automatically enabled for new members
	// of your Amazon Inspector organization.
	//
	// Ecr is a required field
	Ecr *bool `locationName:"ecr" type:"boolean" required:"true"`

	// Represents whether AWS Lambda standard scans are automatically enabled for
	// new members of your Amazon Inspector organization.
	Lambda *bool `locationName:"lambda" type:"boolean"`

	LambdaCode *bool `locationName:"lambdaCode" type:"boolean"`
	// contains filtered or unexported fields
}

Represents which scan types are automatically enabled for new members of your Amazon Inspector organization.

func (AutoEnable) GoString

func (s AutoEnable) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AutoEnable) SetEc2

func (s *AutoEnable) SetEc2(v bool) *AutoEnable

SetEc2 sets the Ec2 field's value.

func (*AutoEnable) SetEcr

func (s *AutoEnable) SetEcr(v bool) *AutoEnable

SetEcr sets the Ecr field's value.

func (*AutoEnable) SetLambda added in v1.44.147

func (s *AutoEnable) SetLambda(v bool) *AutoEnable

SetLambda sets the Lambda field's value.

func (*AutoEnable) SetLambdaCode added in v1.44.287

func (s *AutoEnable) SetLambdaCode(v bool) *AutoEnable

SetLambdaCode sets the LambdaCode field's value.

func (AutoEnable) String

func (s AutoEnable) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AutoEnable) Validate

func (s *AutoEnable) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AwsEc2InstanceDetails

type AwsEc2InstanceDetails struct {

	// The IAM instance profile ARN of the Amazon EC2 instance.
	IamInstanceProfileArn *string `locationName:"iamInstanceProfileArn" min:"1" type:"string"`

	// The image ID of the Amazon EC2 instance.
	ImageId *string `locationName:"imageId" min:"1" type:"string"`

	// The IPv4 addresses of the Amazon EC2 instance.
	IpV4Addresses []*string `locationName:"ipV4Addresses" type:"list"`

	// The IPv6 addresses of the Amazon EC2 instance.
	IpV6Addresses []*string `locationName:"ipV6Addresses" type:"list"`

	// The name of the key pair used to launch the Amazon EC2 instance.
	KeyName *string `locationName:"keyName" min:"1" type:"string"`

	// The date and time the Amazon EC2 instance was launched at.
	LaunchedAt *time.Time `locationName:"launchedAt" type:"timestamp"`

	// The platform of the Amazon EC2 instance.
	Platform *string `locationName:"platform" min:"1" type:"string"`

	// The subnet ID of the Amazon EC2 instance.
	SubnetId *string `locationName:"subnetId" min:"1" type:"string"`

	// The type of the Amazon EC2 instance.
	Type *string `locationName:"type" min:"1" type:"string"`

	// The VPC ID of the Amazon EC2 instance.
	VpcId *string `locationName:"vpcId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Details of the Amazon EC2 instance involved in a finding.

func (AwsEc2InstanceDetails) GoString

func (s AwsEc2InstanceDetails) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AwsEc2InstanceDetails) SetIamInstanceProfileArn

func (s *AwsEc2InstanceDetails) SetIamInstanceProfileArn(v string) *AwsEc2InstanceDetails

SetIamInstanceProfileArn sets the IamInstanceProfileArn field's value.

func (*AwsEc2InstanceDetails) SetImageId

SetImageId sets the ImageId field's value.

func (*AwsEc2InstanceDetails) SetIpV4Addresses

func (s *AwsEc2InstanceDetails) SetIpV4Addresses(v []*string) *AwsEc2InstanceDetails

SetIpV4Addresses sets the IpV4Addresses field's value.

func (*AwsEc2InstanceDetails) SetIpV6Addresses

func (s *AwsEc2InstanceDetails) SetIpV6Addresses(v []*string) *AwsEc2InstanceDetails

SetIpV6Addresses sets the IpV6Addresses field's value.

func (*AwsEc2InstanceDetails) SetKeyName

SetKeyName sets the KeyName field's value.

func (*AwsEc2InstanceDetails) SetLaunchedAt

SetLaunchedAt sets the LaunchedAt field's value.

func (*AwsEc2InstanceDetails) SetPlatform

SetPlatform sets the Platform field's value.

func (*AwsEc2InstanceDetails) SetSubnetId

SetSubnetId sets the SubnetId field's value.

func (*AwsEc2InstanceDetails) SetType

SetType sets the Type field's value.

func (*AwsEc2InstanceDetails) SetVpcId

SetVpcId sets the VpcId field's value.

func (AwsEc2InstanceDetails) String

func (s AwsEc2InstanceDetails) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AwsEcrContainerAggregation

type AwsEcrContainerAggregation struct {

	// The architecture of the containers.
	Architectures []*StringFilter `locationName:"architectures" min:"1" type:"list"`

	// The image SHA values.
	ImageShas []*StringFilter `locationName:"imageShas" min:"1" type:"list"`

	// The image tags.
	ImageTags []*StringFilter `locationName:"imageTags" min:"1" type:"list"`

	// The container repositories.
	Repositories []*StringFilter `locationName:"repositories" min:"1" type:"list"`

	// The container resource IDs.
	ResourceIds []*StringFilter `locationName:"resourceIds" min:"1" type:"list"`

	// The value to sort by.
	SortBy *string `locationName:"sortBy" type:"string" enum:"AwsEcrContainerSortBy"`

	// The sort order (ascending or descending).
	SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrder"`
	// contains filtered or unexported fields
}

An aggregation of information about Amazon ECR containers.

func (AwsEcrContainerAggregation) GoString

func (s AwsEcrContainerAggregation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AwsEcrContainerAggregation) SetArchitectures

SetArchitectures sets the Architectures field's value.

func (*AwsEcrContainerAggregation) SetImageShas

SetImageShas sets the ImageShas field's value.

func (*AwsEcrContainerAggregation) SetImageTags

SetImageTags sets the ImageTags field's value.

func (*AwsEcrContainerAggregation) SetRepositories

SetRepositories sets the Repositories field's value.

func (*AwsEcrContainerAggregation) SetResourceIds

SetResourceIds sets the ResourceIds field's value.

func (*AwsEcrContainerAggregation) SetSortBy

SetSortBy sets the SortBy field's value.

func (*AwsEcrContainerAggregation) SetSortOrder

SetSortOrder sets the SortOrder field's value.

func (AwsEcrContainerAggregation) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AwsEcrContainerAggregation) Validate

func (s *AwsEcrContainerAggregation) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AwsEcrContainerAggregationResponse

type AwsEcrContainerAggregationResponse struct {

	// The Amazon Web Services account ID of the account that owns the container.
	AccountId *string `locationName:"accountId" min:"12" type:"string"`

	// The architecture of the container.
	Architecture *string `locationName:"architecture" type:"string"`

	// The SHA value of the container image.
	ImageSha *string `locationName:"imageSha" type:"string"`

	// The container image stags.
	ImageTags []*string `locationName:"imageTags" type:"list"`

	// The container repository.
	Repository *string `locationName:"repository" type:"string"`

	// The resource ID of the container.
	//
	// ResourceId is a required field
	ResourceId *string `locationName:"resourceId" min:"1" type:"string" required:"true"`

	// The number of finding by severity.
	SeverityCounts *SeverityCounts `locationName:"severityCounts" type:"structure"`
	// contains filtered or unexported fields
}

An aggregation of information about Amazon ECR containers.

func (AwsEcrContainerAggregationResponse) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AwsEcrContainerAggregationResponse) SetAccountId

SetAccountId sets the AccountId field's value.

func (*AwsEcrContainerAggregationResponse) SetArchitecture

SetArchitecture sets the Architecture field's value.

func (*AwsEcrContainerAggregationResponse) SetImageSha

SetImageSha sets the ImageSha field's value.

func (*AwsEcrContainerAggregationResponse) SetImageTags

SetImageTags sets the ImageTags field's value.

func (*AwsEcrContainerAggregationResponse) SetRepository

SetRepository sets the Repository field's value.

func (*AwsEcrContainerAggregationResponse) SetResourceId

SetResourceId sets the ResourceId field's value.

func (*AwsEcrContainerAggregationResponse) SetSeverityCounts

SetSeverityCounts sets the SeverityCounts field's value.

func (AwsEcrContainerAggregationResponse) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AwsEcrContainerImageDetails

type AwsEcrContainerImageDetails struct {

	// The architecture of the Amazon ECR container image.
	Architecture *string `locationName:"architecture" min:"1" type:"string"`

	// The image author of the Amazon ECR container image.
	Author *string `locationName:"author" type:"string"`

	// The image hash of the Amazon ECR container image.
	//
	// ImageHash is a required field
	ImageHash *string `locationName:"imageHash" min:"71" type:"string" required:"true"`

	// The image tags attached to the Amazon ECR container image.
	ImageTags []*string `locationName:"imageTags" type:"list"`

	// The platform of the Amazon ECR container image.
	Platform *string `locationName:"platform" min:"1" type:"string"`

	// The date and time the Amazon ECR container image was pushed.
	PushedAt *time.Time `locationName:"pushedAt" type:"timestamp"`

	// The registry for the Amazon ECR container image.
	//
	// Registry is a required field
	Registry *string `locationName:"registry" min:"1" type:"string" required:"true"`

	// The name of the repository the Amazon ECR container image resides in.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The image details of the Amazon ECR container image.

func (AwsEcrContainerImageDetails) GoString

func (s AwsEcrContainerImageDetails) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AwsEcrContainerImageDetails) SetArchitecture

SetArchitecture sets the Architecture field's value.

func (*AwsEcrContainerImageDetails) SetAuthor

SetAuthor sets the Author field's value.

func (*AwsEcrContainerImageDetails) SetImageHash

SetImageHash sets the ImageHash field's value.

func (*AwsEcrContainerImageDetails) SetImageTags

SetImageTags sets the ImageTags field's value.

func (*AwsEcrContainerImageDetails) SetPlatform

SetPlatform sets the Platform field's value.

func (*AwsEcrContainerImageDetails) SetPushedAt

SetPushedAt sets the PushedAt field's value.

func (*AwsEcrContainerImageDetails) SetRegistry

SetRegistry sets the Registry field's value.

func (*AwsEcrContainerImageDetails) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (AwsEcrContainerImageDetails) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AwsLambdaFunctionDetails added in v1.44.147

type AwsLambdaFunctionDetails struct {

	// The instruction set architecture that the AWS Lambda function supports. Architecture
	// is a string array with one of the valid values. The default architecture
	// value is x86_64.
	Architectures []*string `locationName:"architectures" min:"1" type:"list" enum:"Architecture"`

	// The SHA256 hash of the AWS Lambda function's deployment package.
	//
	// CodeSha256 is a required field
	CodeSha256 *string `locationName:"codeSha256" min:"1" type:"string" required:"true"`

	// The AWS Lambda function's execution role.
	//
	// ExecutionRoleArn is a required field
	ExecutionRoleArn *string `locationName:"executionRoleArn" type:"string" required:"true"`

	// The name of the AWS Lambda function.
	//
	// FunctionName is a required field
	FunctionName *string `locationName:"functionName" type:"string" required:"true"`

	// The date and time that a user last updated the configuration, in ISO 8601
	// format (https://www.iso.org/iso-8601-date-and-time-format.html)
	LastModifiedAt *time.Time `locationName:"lastModifiedAt" type:"timestamp"`

	// The AWS Lambda function's layers (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html).
	// A Lambda function can have up to five layers.
	Layers []*string `locationName:"layers" min:"1" type:"list"`

	// The type of deployment package. Set to Image for container image and set
	// Zip for .zip file archive.
	PackageType *string `locationName:"packageType" type:"string" enum:"PackageType"`

	// The runtime environment for the AWS Lambda function.
	//
	// Runtime is a required field
	Runtime *string `locationName:"runtime" type:"string" required:"true" enum:"Runtime"`

	// The version of the AWS Lambda function.
	//
	// Version is a required field
	Version *string `locationName:"version" type:"string" required:"true"`

	// The AWS Lambda function's networking configuration.
	VpcConfig *LambdaVpcConfig `locationName:"vpcConfig" type:"structure"`
	// contains filtered or unexported fields
}

A summary of information about the AWS Lambda function.

func (AwsLambdaFunctionDetails) GoString added in v1.44.147

func (s AwsLambdaFunctionDetails) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AwsLambdaFunctionDetails) SetArchitectures added in v1.44.147

func (s *AwsLambdaFunctionDetails) SetArchitectures(v []*string) *AwsLambdaFunctionDetails

SetArchitectures sets the Architectures field's value.

func (*AwsLambdaFunctionDetails) SetCodeSha256 added in v1.44.147

SetCodeSha256 sets the CodeSha256 field's value.

func (*AwsLambdaFunctionDetails) SetExecutionRoleArn added in v1.44.147

func (s *AwsLambdaFunctionDetails) SetExecutionRoleArn(v string) *AwsLambdaFunctionDetails

SetExecutionRoleArn sets the ExecutionRoleArn field's value.

func (*AwsLambdaFunctionDetails) SetFunctionName added in v1.44.147

SetFunctionName sets the FunctionName field's value.

func (*AwsLambdaFunctionDetails) SetLastModifiedAt added in v1.44.147

SetLastModifiedAt sets the LastModifiedAt field's value.

func (*AwsLambdaFunctionDetails) SetLayers added in v1.44.147

SetLayers sets the Layers field's value.

func (*AwsLambdaFunctionDetails) SetPackageType added in v1.44.147

SetPackageType sets the PackageType field's value.

func (*AwsLambdaFunctionDetails) SetRuntime added in v1.44.147

SetRuntime sets the Runtime field's value.

func (*AwsLambdaFunctionDetails) SetVersion added in v1.44.147

SetVersion sets the Version field's value.

func (*AwsLambdaFunctionDetails) SetVpcConfig added in v1.44.147

SetVpcConfig sets the VpcConfig field's value.

func (AwsLambdaFunctionDetails) String added in v1.44.147

func (s AwsLambdaFunctionDetails) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BadRequestException

type BadRequestException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

One or more tags submitted as part of the request is not valid.

func (*BadRequestException) Code

func (s *BadRequestException) Code() string

Code returns the exception type name.

func (*BadRequestException) Error

func (s *BadRequestException) Error() string

func (BadRequestException) GoString

func (s BadRequestException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BadRequestException) Message

func (s *BadRequestException) Message() string

Message returns the exception's message.

func (*BadRequestException) OrigErr

func (s *BadRequestException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*BadRequestException) RequestID

func (s *BadRequestException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*BadRequestException) StatusCode

func (s *BadRequestException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (BadRequestException) String

func (s BadRequestException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchGetAccountStatusInput

type BatchGetAccountStatusInput struct {

	// The 12-digit Amazon Web Services account IDs of the accounts to retrieve
	// Amazon Inspector status for.
	AccountIds []*string `locationName:"accountIds" type:"list"`
	// contains filtered or unexported fields
}

func (BatchGetAccountStatusInput) GoString

func (s BatchGetAccountStatusInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetAccountStatusInput) SetAccountIds

SetAccountIds sets the AccountIds field's value.

func (BatchGetAccountStatusInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchGetAccountStatusOutput

type BatchGetAccountStatusOutput struct {

	// An array of objects that provide details on the status of Amazon Inspector
	// for each of the requested accounts.
	//
	// Accounts is a required field
	Accounts []*AccountState `locationName:"accounts" type:"list" required:"true"`

	// An array of objects detailing any accounts that failed to enable Amazon Inspector
	// and why.
	FailedAccounts []*FailedAccount `locationName:"failedAccounts" type:"list"`
	// contains filtered or unexported fields
}

func (BatchGetAccountStatusOutput) GoString

func (s BatchGetAccountStatusOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetAccountStatusOutput) SetAccounts

SetAccounts sets the Accounts field's value.

func (*BatchGetAccountStatusOutput) SetFailedAccounts

SetFailedAccounts sets the FailedAccounts field's value.

func (BatchGetAccountStatusOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchGetCodeSnippetInput added in v1.44.287

type BatchGetCodeSnippetInput struct {

	// An array of finding ARNs for the findings you want to retrieve code snippets
	// from.
	//
	// FindingArns is a required field
	FindingArns []*string `locationName:"findingArns" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchGetCodeSnippetInput) GoString added in v1.44.287

func (s BatchGetCodeSnippetInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetCodeSnippetInput) SetFindingArns added in v1.44.287

func (s *BatchGetCodeSnippetInput) SetFindingArns(v []*string) *BatchGetCodeSnippetInput

SetFindingArns sets the FindingArns field's value.

func (BatchGetCodeSnippetInput) String added in v1.44.287

func (s BatchGetCodeSnippetInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetCodeSnippetInput) Validate added in v1.44.287

func (s *BatchGetCodeSnippetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchGetCodeSnippetOutput added in v1.44.287

type BatchGetCodeSnippetOutput struct {

	// The retrieved code snippets associated with the provided finding ARNs.
	CodeSnippetResults []*CodeSnippetResult `locationName:"codeSnippetResults" type:"list"`

	// Any errors Amazon Inspector encountered while trying to retrieve the requested
	// code snippets.
	Errors []*CodeSnippetError `locationName:"errors" type:"list"`
	// contains filtered or unexported fields
}

func (BatchGetCodeSnippetOutput) GoString added in v1.44.287

func (s BatchGetCodeSnippetOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetCodeSnippetOutput) SetCodeSnippetResults added in v1.44.287

SetCodeSnippetResults sets the CodeSnippetResults field's value.

func (*BatchGetCodeSnippetOutput) SetErrors added in v1.44.287

SetErrors sets the Errors field's value.

func (BatchGetCodeSnippetOutput) String added in v1.44.287

func (s BatchGetCodeSnippetOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchGetFindingDetailsInput added in v1.44.313

type BatchGetFindingDetailsInput struct {

	// A list of finding ARNs.
	//
	// FindingArns is a required field
	FindingArns []*string `locationName:"findingArns" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchGetFindingDetailsInput) GoString added in v1.44.313

func (s BatchGetFindingDetailsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetFindingDetailsInput) SetFindingArns added in v1.44.313

SetFindingArns sets the FindingArns field's value.

func (BatchGetFindingDetailsInput) String added in v1.44.313

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetFindingDetailsInput) Validate added in v1.44.313

func (s *BatchGetFindingDetailsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchGetFindingDetailsOutput added in v1.44.313

type BatchGetFindingDetailsOutput struct {

	// Error information for findings that details could not be returned for.
	Errors []*FindingDetailsError `locationName:"errors" type:"list"`

	// A finding's vulnerability details.
	FindingDetails []*FindingDetail `locationName:"findingDetails" type:"list"`
	// contains filtered or unexported fields
}

func (BatchGetFindingDetailsOutput) GoString added in v1.44.313

func (s BatchGetFindingDetailsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetFindingDetailsOutput) SetErrors added in v1.44.313

SetErrors sets the Errors field's value.

func (*BatchGetFindingDetailsOutput) SetFindingDetails added in v1.44.313

SetFindingDetails sets the FindingDetails field's value.

func (BatchGetFindingDetailsOutput) String added in v1.44.313

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchGetFreeTrialInfoInput

type BatchGetFreeTrialInfoInput struct {

	// The account IDs to get free trial status for.
	//
	// AccountIds is a required field
	AccountIds []*string `locationName:"accountIds" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchGetFreeTrialInfoInput) GoString

func (s BatchGetFreeTrialInfoInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetFreeTrialInfoInput) SetAccountIds

SetAccountIds sets the AccountIds field's value.

func (BatchGetFreeTrialInfoInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetFreeTrialInfoInput) Validate

func (s *BatchGetFreeTrialInfoInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchGetFreeTrialInfoOutput

type BatchGetFreeTrialInfoOutput struct {

	// An array of objects that provide Amazon Inspector free trial details for
	// each of the requested accounts.
	//
	// Accounts is a required field
	Accounts []*FreeTrialAccountInfo `locationName:"accounts" type:"list" required:"true"`

	// An array of objects detailing any accounts that free trial data could not
	// be returned for.
	//
	// FailedAccounts is a required field
	FailedAccounts []*FreeTrialInfoError `locationName:"failedAccounts" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchGetFreeTrialInfoOutput) GoString

func (s BatchGetFreeTrialInfoOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetFreeTrialInfoOutput) SetAccounts

SetAccounts sets the Accounts field's value.

func (*BatchGetFreeTrialInfoOutput) SetFailedAccounts

SetFailedAccounts sets the FailedAccounts field's value.

func (BatchGetFreeTrialInfoOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchGetMemberEc2DeepInspectionStatusInput added in v1.44.256

type BatchGetMemberEc2DeepInspectionStatusInput struct {
	AccountIds []*string `locationName:"accountIds" type:"list"`
	// contains filtered or unexported fields
}

func (BatchGetMemberEc2DeepInspectionStatusInput) GoString added in v1.44.256

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetMemberEc2DeepInspectionStatusInput) SetAccountIds added in v1.44.256

SetAccountIds sets the AccountIds field's value.

func (BatchGetMemberEc2DeepInspectionStatusInput) String added in v1.44.256

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchGetMemberEc2DeepInspectionStatusOutput added in v1.44.256

type BatchGetMemberEc2DeepInspectionStatusOutput struct {
	AccountIds []*MemberAccountEc2DeepInspectionStatusState `locationName:"accountIds" type:"list"`

	FailedAccountIds []*FailedMemberAccountEc2DeepInspectionStatusState `locationName:"failedAccountIds" type:"list"`
	// contains filtered or unexported fields
}

func (BatchGetMemberEc2DeepInspectionStatusOutput) GoString added in v1.44.256

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetMemberEc2DeepInspectionStatusOutput) SetAccountIds added in v1.44.256

SetAccountIds sets the AccountIds field's value.

func (*BatchGetMemberEc2DeepInspectionStatusOutput) SetFailedAccountIds added in v1.44.256

SetFailedAccountIds sets the FailedAccountIds field's value.

func (BatchGetMemberEc2DeepInspectionStatusOutput) String added in v1.44.256

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchUpdateMemberEc2DeepInspectionStatusInput added in v1.44.256

type BatchUpdateMemberEc2DeepInspectionStatusInput struct {

	// The unique identifiers for the Amazon Web Services accounts to change Amazon
	// Inspector deep inspection status for.
	//
	// AccountIds is a required field
	AccountIds []*MemberAccountEc2DeepInspectionStatus `locationName:"accountIds" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchUpdateMemberEc2DeepInspectionStatusInput) GoString added in v1.44.256

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchUpdateMemberEc2DeepInspectionStatusInput) SetAccountIds added in v1.44.256

SetAccountIds sets the AccountIds field's value.

func (BatchUpdateMemberEc2DeepInspectionStatusInput) String added in v1.44.256

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchUpdateMemberEc2DeepInspectionStatusInput) Validate added in v1.44.256

Validate inspects the fields of the type to determine if they are valid.

type BatchUpdateMemberEc2DeepInspectionStatusOutput added in v1.44.256

type BatchUpdateMemberEc2DeepInspectionStatusOutput struct {

	// An array of objects that provide details for each of the accounts that Amazon
	// Inspector deep inspection status was successfully changed for.
	AccountIds []*MemberAccountEc2DeepInspectionStatusState `locationName:"accountIds" type:"list"`

	// An array of objects that provide details for each of the accounts that Amazon
	// Inspector deep inspection status could not be successfully changed for.
	FailedAccountIds []*FailedMemberAccountEc2DeepInspectionStatusState `locationName:"failedAccountIds" type:"list"`
	// contains filtered or unexported fields
}

func (BatchUpdateMemberEc2DeepInspectionStatusOutput) GoString added in v1.44.256

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchUpdateMemberEc2DeepInspectionStatusOutput) SetAccountIds added in v1.44.256

SetAccountIds sets the AccountIds field's value.

func (*BatchUpdateMemberEc2DeepInspectionStatusOutput) SetFailedAccountIds added in v1.44.256

SetFailedAccountIds sets the FailedAccountIds field's value.

func (BatchUpdateMemberEc2DeepInspectionStatusOutput) String added in v1.44.256

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CancelFindingsReportInput

type CancelFindingsReportInput struct {

	// The ID of the report to be canceled.
	//
	// ReportId is a required field
	ReportId *string `locationName:"reportId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CancelFindingsReportInput) GoString

func (s CancelFindingsReportInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CancelFindingsReportInput) SetReportId

SetReportId sets the ReportId field's value.

func (CancelFindingsReportInput) String

func (s CancelFindingsReportInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CancelFindingsReportInput) Validate

func (s *CancelFindingsReportInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CancelFindingsReportOutput

type CancelFindingsReportOutput struct {

	// The ID of the canceled report.
	//
	// ReportId is a required field
	ReportId *string `locationName:"reportId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CancelFindingsReportOutput) GoString

func (s CancelFindingsReportOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CancelFindingsReportOutput) SetReportId

SetReportId sets the ReportId field's value.

func (CancelFindingsReportOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CancelSbomExportInput added in v1.44.287

type CancelSbomExportInput struct {

	// The report ID of the SBOM export to cancel.
	//
	// ReportId is a required field
	ReportId *string `locationName:"reportId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CancelSbomExportInput) GoString added in v1.44.287

func (s CancelSbomExportInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CancelSbomExportInput) SetReportId added in v1.44.287

SetReportId sets the ReportId field's value.

func (CancelSbomExportInput) String added in v1.44.287

func (s CancelSbomExportInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CancelSbomExportInput) Validate added in v1.44.287

func (s *CancelSbomExportInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CancelSbomExportOutput added in v1.44.287

type CancelSbomExportOutput struct {

	// The report ID of the canceled SBOM export.
	ReportId *string `locationName:"reportId" type:"string"`
	// contains filtered or unexported fields
}

func (CancelSbomExportOutput) GoString added in v1.44.287

func (s CancelSbomExportOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CancelSbomExportOutput) SetReportId added in v1.44.287

SetReportId sets the ReportId field's value.

func (CancelSbomExportOutput) String added in v1.44.287

func (s CancelSbomExportOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CisaData added in v1.44.258

type CisaData struct {

	// The remediation action recommended by CISA for this vulnerability.
	Action *string `locationName:"action" type:"string"`

	// The date and time CISA added this vulnerability to their catalogue.
	DateAdded *time.Time `locationName:"dateAdded" type:"timestamp"`

	// The date and time CISA expects a fix to have been provided vulnerability.
	DateDue *time.Time `locationName:"dateDue" type:"timestamp"`
	// contains filtered or unexported fields
}

The Cybersecurity and Infrastructure Security Agency (CISA) details for a specific vulnerability.

func (CisaData) GoString added in v1.44.258

func (s CisaData) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CisaData) SetAction added in v1.44.258

func (s *CisaData) SetAction(v string) *CisaData

SetAction sets the Action field's value.

func (*CisaData) SetDateAdded added in v1.44.258

func (s *CisaData) SetDateAdded(v time.Time) *CisaData

SetDateAdded sets the DateAdded field's value.

func (*CisaData) SetDateDue added in v1.44.258

func (s *CisaData) SetDateDue(v time.Time) *CisaData

SetDateDue sets the DateDue field's value.

func (CisaData) String added in v1.44.258

func (s CisaData) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CodeFilePath added in v1.44.287

type CodeFilePath struct {

	// The line number of the last line of code that a vulnerability was found in.
	//
	// EndLine is a required field
	EndLine *int64 `locationName:"endLine" type:"integer" required:"true"`

	// The name of the file the code vulnerability was found in.
	//
	// FileName is a required field
	FileName *string `locationName:"fileName" min:"1" type:"string" required:"true"`

	// The file path to the code that a vulnerability was found in.
	//
	// FilePath is a required field
	FilePath *string `locationName:"filePath" min:"1" type:"string" required:"true"`

	// The line number of the first line of code that a vulnerability was found
	// in.
	//
	// StartLine is a required field
	StartLine *int64 `locationName:"startLine" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

Contains information on where a code vulnerability is located in your Lambda function.

func (CodeFilePath) GoString added in v1.44.287

func (s CodeFilePath) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CodeFilePath) SetEndLine added in v1.44.287

func (s *CodeFilePath) SetEndLine(v int64) *CodeFilePath

SetEndLine sets the EndLine field's value.

func (*CodeFilePath) SetFileName added in v1.44.287

func (s *CodeFilePath) SetFileName(v string) *CodeFilePath

SetFileName sets the FileName field's value.

func (*CodeFilePath) SetFilePath added in v1.44.287

func (s *CodeFilePath) SetFilePath(v string) *CodeFilePath

SetFilePath sets the FilePath field's value.

func (*CodeFilePath) SetStartLine added in v1.44.287

func (s *CodeFilePath) SetStartLine(v int64) *CodeFilePath

SetStartLine sets the StartLine field's value.

func (CodeFilePath) String added in v1.44.287

func (s CodeFilePath) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CodeLine added in v1.44.287

type CodeLine struct {

	// The content of a line of code
	//
	// Content is a required field
	Content *string `locationName:"content" type:"string" required:"true"`

	// The line number that a section of code is located at.
	//
	// LineNumber is a required field
	LineNumber *int64 `locationName:"lineNumber" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

Contains information on the lines of code associated with a code snippet.

func (CodeLine) GoString added in v1.44.287

func (s CodeLine) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CodeLine) SetContent added in v1.44.287

func (s *CodeLine) SetContent(v string) *CodeLine

SetContent sets the Content field's value.

func (*CodeLine) SetLineNumber added in v1.44.287

func (s *CodeLine) SetLineNumber(v int64) *CodeLine

SetLineNumber sets the LineNumber field's value.

func (CodeLine) String added in v1.44.287

func (s CodeLine) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CodeSnippetError added in v1.44.287

type CodeSnippetError struct {

	// The error code for the error that prevented a code snippet from being retrieved.
	//
	// ErrorCode is a required field
	ErrorCode *string `locationName:"errorCode" type:"string" required:"true" enum:"CodeSnippetErrorCode"`

	// The error message received when Amazon Inspector failed to retrieve a code
	// snippet.
	//
	// ErrorMessage is a required field
	ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string" required:"true"`

	// The ARN of the finding that a code snippet couldn't be retrieved for.
	//
	// FindingArn is a required field
	FindingArn *string `locationName:"findingArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains information about any errors encountered while trying to retrieve a code snippet.

func (CodeSnippetError) GoString added in v1.44.287

func (s CodeSnippetError) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CodeSnippetError) SetErrorCode added in v1.44.287

func (s *CodeSnippetError) SetErrorCode(v string) *CodeSnippetError

SetErrorCode sets the ErrorCode field's value.

func (*CodeSnippetError) SetErrorMessage added in v1.44.287

func (s *CodeSnippetError) SetErrorMessage(v string) *CodeSnippetError

SetErrorMessage sets the ErrorMessage field's value.

func (*CodeSnippetError) SetFindingArn added in v1.44.287

func (s *CodeSnippetError) SetFindingArn(v string) *CodeSnippetError

SetFindingArn sets the FindingArn field's value.

func (CodeSnippetError) String added in v1.44.287

func (s CodeSnippetError) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CodeSnippetResult added in v1.44.287

type CodeSnippetResult struct {

	// Contains information on the retrieved code snippet.
	CodeSnippet []*CodeLine `locationName:"codeSnippet" min:"1" type:"list"`

	// The line number of the last line of a code snippet.
	EndLine *int64 `locationName:"endLine" type:"integer"`

	// The ARN of a finding that the code snippet is associated with.
	FindingArn *string `locationName:"findingArn" min:"1" type:"string"`

	// The line number of the first line of a code snippet.
	StartLine *int64 `locationName:"startLine" type:"integer"`

	// Details of a suggested code fix.
	SuggestedFixes []*SuggestedFix `locationName:"suggestedFixes" min:"1" type:"list"`
	// contains filtered or unexported fields
}

Contains information on a code snippet retrieved by Amazon Inspector from a code vulnerability finding.

func (CodeSnippetResult) GoString added in v1.44.287

func (s CodeSnippetResult) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CodeSnippetResult) SetCodeSnippet added in v1.44.287

func (s *CodeSnippetResult) SetCodeSnippet(v []*CodeLine) *CodeSnippetResult

SetCodeSnippet sets the CodeSnippet field's value.

func (*CodeSnippetResult) SetEndLine added in v1.44.287

func (s *CodeSnippetResult) SetEndLine(v int64) *CodeSnippetResult

SetEndLine sets the EndLine field's value.

func (*CodeSnippetResult) SetFindingArn added in v1.44.287

func (s *CodeSnippetResult) SetFindingArn(v string) *CodeSnippetResult

SetFindingArn sets the FindingArn field's value.

func (*CodeSnippetResult) SetStartLine added in v1.44.287

func (s *CodeSnippetResult) SetStartLine(v int64) *CodeSnippetResult

SetStartLine sets the StartLine field's value.

func (*CodeSnippetResult) SetSuggestedFixes added in v1.44.287

func (s *CodeSnippetResult) SetSuggestedFixes(v []*SuggestedFix) *CodeSnippetResult

SetSuggestedFixes sets the SuggestedFixes field's value.

func (CodeSnippetResult) String added in v1.44.287

func (s CodeSnippetResult) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CodeVulnerabilityDetails added in v1.44.287

type CodeVulnerabilityDetails struct {

	// The Common Weakness Enumeration (CWE) item associated with the detected vulnerability.
	//
	// Cwes is a required field
	Cwes []*string `locationName:"cwes" min:"1" type:"list" required:"true"`

	// The ID for the Amazon CodeGuru detector associated with the finding. For
	// more information on detectors see Amazon CodeGuru Detector Library (https://docs.aws.amazon.com/codeguru/detector-library).
	//
	// DetectorId is a required field
	DetectorId *string `locationName:"detectorId" min:"1" type:"string" required:"true"`

	// The name of the detector used to identify the code vulnerability. For more
	// information on detectors see CodeGuru Detector Library (https://docs.aws.amazon.com/codeguru/detector-library).
	//
	// DetectorName is a required field
	DetectorName *string `locationName:"detectorName" min:"1" type:"string" required:"true"`

	// The detector tag associated with the vulnerability. Detector tags group related
	// vulnerabilities by common themes or tactics. For a list of available tags
	// by programming language, see Java tags (https://docs.aws.amazon.com/codeguru/detector-library/java/tags/),
	// or Python tags (https://docs.aws.amazon.com/codeguru/detector-library/python/tags/).
	DetectorTags []*string `locationName:"detectorTags" min:"1" type:"list"`

	// Contains information on where the code vulnerability is located in your code.
	//
	// FilePath is a required field
	FilePath *CodeFilePath `locationName:"filePath" type:"structure" required:"true"`

	// A URL containing supporting documentation about the code vulnerability detected.
	ReferenceUrls []*string `locationName:"referenceUrls" min:"1" type:"list"`

	// The identifier for a rule that was used to detect the code vulnerability.
	RuleId *string `locationName:"ruleId" min:"1" type:"string"`

	// The Amazon Resource Name (ARN) of the Lambda layer that the code vulnerability
	// was detected in.
	SourceLambdaLayerArn *string `locationName:"sourceLambdaLayerArn" type:"string"`
	// contains filtered or unexported fields
}

Contains information on the code vulnerability identified in your Lambda function.

func (CodeVulnerabilityDetails) GoString added in v1.44.287

func (s CodeVulnerabilityDetails) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CodeVulnerabilityDetails) SetCwes added in v1.44.287

SetCwes sets the Cwes field's value.

func (*CodeVulnerabilityDetails) SetDetectorId added in v1.44.287

SetDetectorId sets the DetectorId field's value.

func (*CodeVulnerabilityDetails) SetDetectorName added in v1.44.287

SetDetectorName sets the DetectorName field's value.

func (*CodeVulnerabilityDetails) SetDetectorTags added in v1.44.287

func (s *CodeVulnerabilityDetails) SetDetectorTags(v []*string) *CodeVulnerabilityDetails

SetDetectorTags sets the DetectorTags field's value.

func (*CodeVulnerabilityDetails) SetFilePath added in v1.44.287

SetFilePath sets the FilePath field's value.

func (*CodeVulnerabilityDetails) SetReferenceUrls added in v1.44.287

func (s *CodeVulnerabilityDetails) SetReferenceUrls(v []*string) *CodeVulnerabilityDetails

SetReferenceUrls sets the ReferenceUrls field's value.

func (*CodeVulnerabilityDetails) SetRuleId added in v1.44.287

SetRuleId sets the RuleId field's value.

func (*CodeVulnerabilityDetails) SetSourceLambdaLayerArn added in v1.44.287

func (s *CodeVulnerabilityDetails) SetSourceLambdaLayerArn(v string) *CodeVulnerabilityDetails

SetSourceLambdaLayerArn sets the SourceLambdaLayerArn field's value.

func (CodeVulnerabilityDetails) String added in v1.44.287

func (s CodeVulnerabilityDetails) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ConflictException

type ConflictException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`

	// The ID of the conflicting resource.
	//
	// ResourceId is a required field
	ResourceId *string `locationName:"resourceId" type:"string" required:"true"`

	// The type of the conflicting resource.
	//
	// ResourceType is a required field
	ResourceType *string `locationName:"resourceType" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A conflict occurred.

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Counts

type Counts struct {

	// The number of resources.
	Count *int64 `locationName:"count" type:"long"`

	// The key associated with this group
	GroupKey *string `locationName:"groupKey" type:"string" enum:"GroupKey"`
	// contains filtered or unexported fields
}

a structure that contains information on the count of resources within a group.

func (Counts) GoString

func (s Counts) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Counts) SetCount

func (s *Counts) SetCount(v int64) *Counts

SetCount sets the Count field's value.

func (*Counts) SetGroupKey

func (s *Counts) SetGroupKey(v string) *Counts

SetGroupKey sets the GroupKey field's value.

func (Counts) String

func (s Counts) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CoverageDateFilter added in v1.44.277

type CoverageDateFilter struct {

	// A timestamp representing the end of the time period to filter results by.
	EndInclusive *time.Time `locationName:"endInclusive" type:"timestamp"`

	// A timestamp representing the start of the time period to filter results by.
	StartInclusive *time.Time `locationName:"startInclusive" type:"timestamp"`
	// contains filtered or unexported fields
}

Contains details of a coverage date filter.

func (CoverageDateFilter) GoString added in v1.44.277

func (s CoverageDateFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CoverageDateFilter) SetEndInclusive added in v1.44.277

func (s *CoverageDateFilter) SetEndInclusive(v time.Time) *CoverageDateFilter

SetEndInclusive sets the EndInclusive field's value.

func (*CoverageDateFilter) SetStartInclusive added in v1.44.277

func (s *CoverageDateFilter) SetStartInclusive(v time.Time) *CoverageDateFilter

SetStartInclusive sets the StartInclusive field's value.

func (CoverageDateFilter) String added in v1.44.277

func (s CoverageDateFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CoverageFilterCriteria

type CoverageFilterCriteria struct {

	// An array of Amazon Web Services account IDs to return coverage statistics
	// for.
	AccountId []*CoverageStringFilter `locationName:"accountId" min:"1" type:"list"`

	// The Amazon EC2 instance tags to filter on.
	Ec2InstanceTags []*CoverageMapFilter `locationName:"ec2InstanceTags" min:"1" type:"list"`

	// The Amazon ECR image tags to filter on.
	EcrImageTags []*CoverageStringFilter `locationName:"ecrImageTags" min:"1" type:"list"`

	// The Amazon ECR repository name to filter on.
	EcrRepositoryName []*CoverageStringFilter `locationName:"ecrRepositoryName" min:"1" type:"list"`

	// Returns coverage statistics for AWS Lambda functions filtered by function
	// names.
	LambdaFunctionName []*CoverageStringFilter `locationName:"lambdaFunctionName" min:"1" type:"list"`

	// Returns coverage statistics for AWS Lambda functions filtered by runtime.
	LambdaFunctionRuntime []*CoverageStringFilter `locationName:"lambdaFunctionRuntime" min:"1" type:"list"`

	// Returns coverage statistics for AWS Lambda functions filtered by tag.
	LambdaFunctionTags []*CoverageMapFilter `locationName:"lambdaFunctionTags" min:"1" type:"list"`

	// Filters Amazon Web Services resources based on whether Amazon Inspector has
	// checked them for vulnerabilities within the specified time range.
	LastScannedAt []*CoverageDateFilter `locationName:"lastScannedAt" min:"1" type:"list"`

	// An array of Amazon Web Services resource IDs to return coverage statistics
	// for.
	ResourceId []*CoverageStringFilter `locationName:"resourceId" min:"1" type:"list"`

	// An array of Amazon Web Services resource types to return coverage statistics
	// for. The values can be AWS_EC2_INSTANCE, AWS_LAMBDA_FUNCTION or AWS_ECR_REPOSITORY.
	ResourceType []*CoverageStringFilter `locationName:"resourceType" min:"1" type:"list"`

	// The scan status code to filter on. Valid values are: ValidationException,
	// InternalServerException, ResourceNotFoundException, BadRequestException,
	// and ThrottlingException.
	ScanStatusCode []*CoverageStringFilter `locationName:"scanStatusCode" min:"1" type:"list"`

	// The scan status reason to filter on.
	ScanStatusReason []*CoverageStringFilter `locationName:"scanStatusReason" min:"1" type:"list"`

	// An array of Amazon Inspector scan types to return coverage statistics for.
	ScanType []*CoverageStringFilter `locationName:"scanType" min:"1" type:"list"`
	// contains filtered or unexported fields
}

A structure that identifies filter criteria for GetCoverageStatistics.

func (CoverageFilterCriteria) GoString

func (s CoverageFilterCriteria) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CoverageFilterCriteria) SetAccountId

SetAccountId sets the AccountId field's value.

func (*CoverageFilterCriteria) SetEc2InstanceTags

SetEc2InstanceTags sets the Ec2InstanceTags field's value.

func (*CoverageFilterCriteria) SetEcrImageTags

SetEcrImageTags sets the EcrImageTags field's value.

func (*CoverageFilterCriteria) SetEcrRepositoryName

SetEcrRepositoryName sets the EcrRepositoryName field's value.

func (*CoverageFilterCriteria) SetLambdaFunctionName added in v1.44.147

func (s *CoverageFilterCriteria) SetLambdaFunctionName(v []*CoverageStringFilter) *CoverageFilterCriteria

SetLambdaFunctionName sets the LambdaFunctionName field's value.

func (*CoverageFilterCriteria) SetLambdaFunctionRuntime added in v1.44.147

func (s *CoverageFilterCriteria) SetLambdaFunctionRuntime(v []*CoverageStringFilter) *CoverageFilterCriteria

SetLambdaFunctionRuntime sets the LambdaFunctionRuntime field's value.

func (*CoverageFilterCriteria) SetLambdaFunctionTags added in v1.44.147

func (s *CoverageFilterCriteria) SetLambdaFunctionTags(v []*CoverageMapFilter) *CoverageFilterCriteria

SetLambdaFunctionTags sets the LambdaFunctionTags field's value.

func (*CoverageFilterCriteria) SetLastScannedAt added in v1.44.277

SetLastScannedAt sets the LastScannedAt field's value.

func (*CoverageFilterCriteria) SetResourceId

SetResourceId sets the ResourceId field's value.

func (*CoverageFilterCriteria) SetResourceType

SetResourceType sets the ResourceType field's value.

func (*CoverageFilterCriteria) SetScanStatusCode

SetScanStatusCode sets the ScanStatusCode field's value.

func (*CoverageFilterCriteria) SetScanStatusReason

SetScanStatusReason sets the ScanStatusReason field's value.

func (*CoverageFilterCriteria) SetScanType

SetScanType sets the ScanType field's value.

func (CoverageFilterCriteria) String

func (s CoverageFilterCriteria) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CoverageFilterCriteria) Validate

func (s *CoverageFilterCriteria) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CoverageMapFilter

type CoverageMapFilter struct {

	// The operator to compare coverage on.
	//
	// Comparison is a required field
	Comparison *string `locationName:"comparison" type:"string" required:"true" enum:"CoverageMapComparison"`

	// The tag key associated with the coverage map filter.
	//
	// Key is a required field
	Key *string `locationName:"key" min:"1" type:"string" required:"true"`

	// The tag value associated with the coverage map filter.
	Value *string `locationName:"value" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Contains details of a coverage map filter.

func (CoverageMapFilter) GoString

func (s CoverageMapFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CoverageMapFilter) SetComparison

func (s *CoverageMapFilter) SetComparison(v string) *CoverageMapFilter

SetComparison sets the Comparison field's value.

func (*CoverageMapFilter) SetKey

SetKey sets the Key field's value.

func (*CoverageMapFilter) SetValue

func (s *CoverageMapFilter) SetValue(v string) *CoverageMapFilter

SetValue sets the Value field's value.

func (CoverageMapFilter) String

func (s CoverageMapFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CoverageMapFilter) Validate

func (s *CoverageMapFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CoverageStringFilter

type CoverageStringFilter struct {

	// The operator to compare strings on.
	//
	// Comparison is a required field
	Comparison *string `locationName:"comparison" type:"string" required:"true" enum:"CoverageStringComparison"`

	// The value to compare strings on.
	//
	// Value is a required field
	Value *string `locationName:"value" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains details of a coverage string filter.

func (CoverageStringFilter) GoString

func (s CoverageStringFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CoverageStringFilter) SetComparison

func (s *CoverageStringFilter) SetComparison(v string) *CoverageStringFilter

SetComparison sets the Comparison field's value.

func (*CoverageStringFilter) SetValue

SetValue sets the Value field's value.

func (CoverageStringFilter) String

func (s CoverageStringFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CoverageStringFilter) Validate

func (s *CoverageStringFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CoveredResource

type CoveredResource struct {

	// The Amazon Web Services account ID of the covered resource.
	//
	// AccountId is a required field
	AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"`

	// The date and time the resource was last checked for vulnerabilities.
	LastScannedAt *time.Time `locationName:"lastScannedAt" type:"timestamp"`

	// The ID of the covered resource.
	//
	// ResourceId is a required field
	ResourceId *string `locationName:"resourceId" min:"10" type:"string" required:"true"`

	// An object that contains details about the metadata.
	ResourceMetadata *ResourceScanMetadata `locationName:"resourceMetadata" type:"structure"`

	// The type of the covered resource.
	//
	// ResourceType is a required field
	ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"CoverageResourceType"`

	// The status of the scan covering the resource.
	ScanStatus *ScanStatus `locationName:"scanStatus" type:"structure"`

	// The Amazon Inspector scan type covering the resource.
	//
	// ScanType is a required field
	ScanType *string `locationName:"scanType" type:"string" required:"true" enum:"ScanType"`
	// contains filtered or unexported fields
}

An object that contains details about a resource covered by Amazon Inspector.

func (CoveredResource) GoString

func (s CoveredResource) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CoveredResource) SetAccountId

func (s *CoveredResource) SetAccountId(v string) *CoveredResource

SetAccountId sets the AccountId field's value.

func (*CoveredResource) SetLastScannedAt added in v1.44.277

func (s *CoveredResource) SetLastScannedAt(v time.Time) *CoveredResource

SetLastScannedAt sets the LastScannedAt field's value.

func (*CoveredResource) SetResourceId

func (s *CoveredResource) SetResourceId(v string) *CoveredResource

SetResourceId sets the ResourceId field's value.

func (*CoveredResource) SetResourceMetadata

func (s *CoveredResource) SetResourceMetadata(v *ResourceScanMetadata) *CoveredResource

SetResourceMetadata sets the ResourceMetadata field's value.

func (*CoveredResource) SetResourceType

func (s *CoveredResource) SetResourceType(v string) *CoveredResource

SetResourceType sets the ResourceType field's value.

func (*CoveredResource) SetScanStatus

func (s *CoveredResource) SetScanStatus(v *ScanStatus) *CoveredResource

SetScanStatus sets the ScanStatus field's value.

func (*CoveredResource) SetScanType

func (s *CoveredResource) SetScanType(v string) *CoveredResource

SetScanType sets the ScanType field's value.

func (CoveredResource) String

func (s CoveredResource) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateFilterInput

type CreateFilterInput struct {

	// Defines the action that is to be applied to the findings that match the filter.
	//
	// Action is a required field
	Action *string `locationName:"action" type:"string" required:"true" enum:"FilterAction"`

	// A description of the filter.
	Description *string `locationName:"description" min:"1" type:"string"`

	// Defines the criteria to be used in the filter for querying findings.
	//
	// FilterCriteria is a required field
	FilterCriteria *FilterCriteria `locationName:"filterCriteria" type:"structure" required:"true"`

	// The name of the filter. Minimum length of 3. Maximum length of 64. Valid
	// characters include alphanumeric characters, dot (.), underscore (_), and
	// dash (-). Spaces are not allowed.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`

	// The reason for creating the filter.
	Reason *string `locationName:"reason" min:"1" type:"string"`

	// A list of tags for the filter.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (CreateFilterInput) GoString

func (s CreateFilterInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateFilterInput) SetAction

func (s *CreateFilterInput) SetAction(v string) *CreateFilterInput

SetAction sets the Action field's value.

func (*CreateFilterInput) SetDescription

func (s *CreateFilterInput) SetDescription(v string) *CreateFilterInput

SetDescription sets the Description field's value.

func (*CreateFilterInput) SetFilterCriteria

func (s *CreateFilterInput) SetFilterCriteria(v *FilterCriteria) *CreateFilterInput

SetFilterCriteria sets the FilterCriteria field's value.

func (*CreateFilterInput) SetName

SetName sets the Name field's value.

func (*CreateFilterInput) SetReason added in v1.44.55

func (s *CreateFilterInput) SetReason(v string) *CreateFilterInput

SetReason sets the Reason field's value.

func (*CreateFilterInput) SetTags

func (s *CreateFilterInput) SetTags(v map[string]*string) *CreateFilterInput

SetTags sets the Tags field's value.

func (CreateFilterInput) String

func (s CreateFilterInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateFilterInput) Validate

func (s *CreateFilterInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateFilterOutput

type CreateFilterOutput struct {

	// The Amazon Resource Number (ARN) of the successfully created filter.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateFilterOutput) GoString

func (s CreateFilterOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateFilterOutput) SetArn

SetArn sets the Arn field's value.

func (CreateFilterOutput) String

func (s CreateFilterOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateFindingsReportInput

type CreateFindingsReportInput struct {

	// The filter criteria to apply to the results of the finding report.
	FilterCriteria *FilterCriteria `locationName:"filterCriteria" type:"structure"`

	// The format to generate the report in.
	//
	// ReportFormat is a required field
	ReportFormat *string `locationName:"reportFormat" type:"string" required:"true" enum:"ReportFormat"`

	// The Amazon S3 export destination for the report.
	//
	// S3Destination is a required field
	S3Destination *Destination `locationName:"s3Destination" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateFindingsReportInput) GoString

func (s CreateFindingsReportInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateFindingsReportInput) SetFilterCriteria

SetFilterCriteria sets the FilterCriteria field's value.

func (*CreateFindingsReportInput) SetReportFormat

SetReportFormat sets the ReportFormat field's value.

func (*CreateFindingsReportInput) SetS3Destination

SetS3Destination sets the S3Destination field's value.

func (CreateFindingsReportInput) String

func (s CreateFindingsReportInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateFindingsReportInput) Validate

func (s *CreateFindingsReportInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateFindingsReportOutput

type CreateFindingsReportOutput struct {

	// The ID of the report.
	ReportId *string `locationName:"reportId" type:"string"`
	// contains filtered or unexported fields
}

func (CreateFindingsReportOutput) GoString

func (s CreateFindingsReportOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateFindingsReportOutput) SetReportId

SetReportId sets the ReportId field's value.

func (CreateFindingsReportOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateSbomExportInput added in v1.44.287

type CreateSbomExportInput struct {

	// The output format for the software bill of materials (SBOM) report.
	//
	// ReportFormat is a required field
	ReportFormat *string `locationName:"reportFormat" type:"string" required:"true" enum:"SbomReportFormat"`

	// The resource filter criteria for the software bill of materials (SBOM) report.
	ResourceFilterCriteria *ResourceFilterCriteria `locationName:"resourceFilterCriteria" type:"structure"`

	// Contains details of the Amazon S3 bucket and KMS key used to export findings.
	//
	// S3Destination is a required field
	S3Destination *Destination `locationName:"s3Destination" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateSbomExportInput) GoString added in v1.44.287

func (s CreateSbomExportInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateSbomExportInput) SetReportFormat added in v1.44.287

func (s *CreateSbomExportInput) SetReportFormat(v string) *CreateSbomExportInput

SetReportFormat sets the ReportFormat field's value.

func (*CreateSbomExportInput) SetResourceFilterCriteria added in v1.44.287

func (s *CreateSbomExportInput) SetResourceFilterCriteria(v *ResourceFilterCriteria) *CreateSbomExportInput

SetResourceFilterCriteria sets the ResourceFilterCriteria field's value.

func (*CreateSbomExportInput) SetS3Destination added in v1.44.287

func (s *CreateSbomExportInput) SetS3Destination(v *Destination) *CreateSbomExportInput

SetS3Destination sets the S3Destination field's value.

func (CreateSbomExportInput) String added in v1.44.287

func (s CreateSbomExportInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateSbomExportInput) Validate added in v1.44.287

func (s *CreateSbomExportInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateSbomExportOutput added in v1.44.287

type CreateSbomExportOutput struct {

	// The report ID for the software bill of materials (SBOM) report.
	ReportId *string `locationName:"reportId" type:"string"`
	// contains filtered or unexported fields
}

func (CreateSbomExportOutput) GoString added in v1.44.287

func (s CreateSbomExportOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateSbomExportOutput) SetReportId added in v1.44.287

SetReportId sets the ReportId field's value.

func (CreateSbomExportOutput) String added in v1.44.287

func (s CreateSbomExportOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Cvss2 added in v1.44.258

type Cvss2 struct {

	// The CVSS v2 base score for the vulnerability.
	BaseScore *float64 `locationName:"baseScore" type:"double"`

	// The scoring vector associated with the CVSS v2 score.
	ScoringVector *string `locationName:"scoringVector" type:"string"`
	// contains filtered or unexported fields
}

The Common Vulnerability Scoring System (CVSS) version 2 details for the vulnerability.

func (Cvss2) GoString added in v1.44.258

func (s Cvss2) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Cvss2) SetBaseScore added in v1.44.258

func (s *Cvss2) SetBaseScore(v float64) *Cvss2

SetBaseScore sets the BaseScore field's value.

func (*Cvss2) SetScoringVector added in v1.44.258

func (s *Cvss2) SetScoringVector(v string) *Cvss2

SetScoringVector sets the ScoringVector field's value.

func (Cvss2) String added in v1.44.258

func (s Cvss2) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Cvss3 added in v1.44.258

type Cvss3 struct {

	// The CVSS v3 base score for the vulnerability.
	BaseScore *float64 `locationName:"baseScore" type:"double"`

	// The scoring vector associated with the CVSS v3 score.
	ScoringVector *string `locationName:"scoringVector" type:"string"`
	// contains filtered or unexported fields
}

The Common Vulnerability Scoring System (CVSS) version 3 details for the vulnerability.

func (Cvss3) GoString added in v1.44.258

func (s Cvss3) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Cvss3) SetBaseScore added in v1.44.258

func (s *Cvss3) SetBaseScore(v float64) *Cvss3

SetBaseScore sets the BaseScore field's value.

func (*Cvss3) SetScoringVector added in v1.44.258

func (s *Cvss3) SetScoringVector(v string) *Cvss3

SetScoringVector sets the ScoringVector field's value.

func (Cvss3) String added in v1.44.258

func (s Cvss3) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CvssScore

type CvssScore struct {

	// The base CVSS score used for the finding.
	//
	// BaseScore is a required field
	BaseScore *float64 `locationName:"baseScore" type:"double" required:"true"`

	// The vector string of the CVSS score.
	//
	// ScoringVector is a required field
	ScoringVector *string `locationName:"scoringVector" min:"1" type:"string" required:"true"`

	// The source of the CVSS score.
	//
	// Source is a required field
	Source *string `locationName:"source" min:"1" type:"string" required:"true"`

	// The version of CVSS used for the score.
	//
	// Version is a required field
	Version *string `locationName:"version" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The CVSS score for a finding.

func (CvssScore) GoString

func (s CvssScore) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CvssScore) SetBaseScore

func (s *CvssScore) SetBaseScore(v float64) *CvssScore

SetBaseScore sets the BaseScore field's value.

func (*CvssScore) SetScoringVector

func (s *CvssScore) SetScoringVector(v string) *CvssScore

SetScoringVector sets the ScoringVector field's value.

func (*CvssScore) SetSource

func (s *CvssScore) SetSource(v string) *CvssScore

SetSource sets the Source field's value.

func (*CvssScore) SetVersion

func (s *CvssScore) SetVersion(v string) *CvssScore

SetVersion sets the Version field's value.

func (CvssScore) String

func (s CvssScore) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CvssScoreAdjustment

type CvssScoreAdjustment struct {

	// The metric used to adjust the CVSS score.
	//
	// Metric is a required field
	Metric *string `locationName:"metric" min:"1" type:"string" required:"true"`

	// The reason the CVSS score has been adjustment.
	//
	// Reason is a required field
	Reason *string `locationName:"reason" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Details on adjustments Amazon Inspector made to the CVSS score for a finding.

func (CvssScoreAdjustment) GoString

func (s CvssScoreAdjustment) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CvssScoreAdjustment) SetMetric

SetMetric sets the Metric field's value.

func (*CvssScoreAdjustment) SetReason

SetReason sets the Reason field's value.

func (CvssScoreAdjustment) String

func (s CvssScoreAdjustment) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CvssScoreDetails

type CvssScoreDetails struct {

	// An object that contains details about adjustment Amazon Inspector made to
	// the CVSS score.
	Adjustments []*CvssScoreAdjustment `locationName:"adjustments" type:"list"`

	// The source of the CVSS data.
	CvssSource *string `locationName:"cvssSource" min:"1" type:"string"`

	// The CVSS score.
	//
	// Score is a required field
	Score *float64 `locationName:"score" type:"double" required:"true"`

	// The source for the CVSS score.
	//
	// ScoreSource is a required field
	ScoreSource *string `locationName:"scoreSource" min:"1" type:"string" required:"true"`

	// The vector for the CVSS score.
	//
	// ScoringVector is a required field
	ScoringVector *string `locationName:"scoringVector" min:"1" type:"string" required:"true"`

	// The CVSS version used in scoring.
	//
	// Version is a required field
	Version *string `locationName:"version" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Information about the CVSS score.

func (CvssScoreDetails) GoString

func (s CvssScoreDetails) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CvssScoreDetails) SetAdjustments

func (s *CvssScoreDetails) SetAdjustments(v []*CvssScoreAdjustment) *CvssScoreDetails

SetAdjustments sets the Adjustments field's value.

func (*CvssScoreDetails) SetCvssSource

func (s *CvssScoreDetails) SetCvssSource(v string) *CvssScoreDetails

SetCvssSource sets the CvssSource field's value.

func (*CvssScoreDetails) SetScore

func (s *CvssScoreDetails) SetScore(v float64) *CvssScoreDetails

SetScore sets the Score field's value.

func (*CvssScoreDetails) SetScoreSource

func (s *CvssScoreDetails) SetScoreSource(v string) *CvssScoreDetails

SetScoreSource sets the ScoreSource field's value.

func (*CvssScoreDetails) SetScoringVector

func (s *CvssScoreDetails) SetScoringVector(v string) *CvssScoreDetails

SetScoringVector sets the ScoringVector field's value.

func (*CvssScoreDetails) SetVersion

func (s *CvssScoreDetails) SetVersion(v string) *CvssScoreDetails

SetVersion sets the Version field's value.

func (CvssScoreDetails) String

func (s CvssScoreDetails) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DateFilter

type DateFilter struct {

	// A timestamp representing the end of the time period filtered on.
	EndInclusive *time.Time `locationName:"endInclusive" type:"timestamp"`

	// A timestamp representing the start of the time period filtered on.
	StartInclusive *time.Time `locationName:"startInclusive" type:"timestamp"`
	// contains filtered or unexported fields
}

Contains details on the time range used to filter findings.

func (DateFilter) GoString

func (s DateFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DateFilter) SetEndInclusive

func (s *DateFilter) SetEndInclusive(v time.Time) *DateFilter

SetEndInclusive sets the EndInclusive field's value.

func (*DateFilter) SetStartInclusive

func (s *DateFilter) SetStartInclusive(v time.Time) *DateFilter

SetStartInclusive sets the StartInclusive field's value.

func (DateFilter) String

func (s DateFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DelegatedAdmin

type DelegatedAdmin struct {

	// The Amazon Web Services account ID of the Amazon Inspector delegated administrator
	// for your organization.
	AccountId *string `locationName:"accountId" min:"12" type:"string"`

	// The status of the Amazon Inspector delegated administrator.
	RelationshipStatus *string `locationName:"relationshipStatus" type:"string" enum:"RelationshipStatus"`
	// contains filtered or unexported fields
}

Details of the Amazon Inspector delegated administrator for your organization.

func (DelegatedAdmin) GoString

func (s DelegatedAdmin) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DelegatedAdmin) SetAccountId

func (s *DelegatedAdmin) SetAccountId(v string) *DelegatedAdmin

SetAccountId sets the AccountId field's value.

func (*DelegatedAdmin) SetRelationshipStatus

func (s *DelegatedAdmin) SetRelationshipStatus(v string) *DelegatedAdmin

SetRelationshipStatus sets the RelationshipStatus field's value.

func (DelegatedAdmin) String

func (s DelegatedAdmin) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DelegatedAdminAccount

type DelegatedAdminAccount struct {

	// The Amazon Web Services account ID of the Amazon Inspector delegated administrator
	// for your organization.
	AccountId *string `locationName:"accountId" min:"12" type:"string"`

	// The status of the Amazon Inspector delegated administrator.
	Status *string `locationName:"status" type:"string" enum:"DelegatedAdminStatus"`
	// contains filtered or unexported fields
}

Details of the Amazon Inspector delegated administrator for your organization.

func (DelegatedAdminAccount) GoString

func (s DelegatedAdminAccount) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DelegatedAdminAccount) SetAccountId

SetAccountId sets the AccountId field's value.

func (*DelegatedAdminAccount) SetStatus

SetStatus sets the Status field's value.

func (DelegatedAdminAccount) String

func (s DelegatedAdminAccount) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteFilterInput

type DeleteFilterInput struct {

	// The Amazon Resource Number (ARN) of the filter to be deleted.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteFilterInput) GoString

func (s DeleteFilterInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteFilterInput) SetArn

SetArn sets the Arn field's value.

func (DeleteFilterInput) String

func (s DeleteFilterInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteFilterInput) Validate

func (s *DeleteFilterInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteFilterOutput

type DeleteFilterOutput struct {

	// The Amazon Resource Number (ARN) of the filter that has been deleted.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteFilterOutput) GoString

func (s DeleteFilterOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteFilterOutput) SetArn

SetArn sets the Arn field's value.

func (DeleteFilterOutput) String

func (s DeleteFilterOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeOrganizationConfigurationInput

type DescribeOrganizationConfigurationInput struct {
	// contains filtered or unexported fields
}

func (DescribeOrganizationConfigurationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DescribeOrganizationConfigurationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeOrganizationConfigurationOutput

type DescribeOrganizationConfigurationOutput struct {

	// The scan types are automatically enabled for new members of your organization.
	AutoEnable *AutoEnable `locationName:"autoEnable" type:"structure"`

	// Represents whether your organization has reached the maximum Amazon Web Services
	// account limit for Amazon Inspector.
	MaxAccountLimitReached *bool `locationName:"maxAccountLimitReached" type:"boolean"`
	// contains filtered or unexported fields
}

func (DescribeOrganizationConfigurationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeOrganizationConfigurationOutput) SetAutoEnable

SetAutoEnable sets the AutoEnable field's value.

func (*DescribeOrganizationConfigurationOutput) SetMaxAccountLimitReached

SetMaxAccountLimitReached sets the MaxAccountLimitReached field's value.

func (DescribeOrganizationConfigurationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Destination

type Destination struct {

	// The name of the Amazon S3 bucket to export findings to.
	//
	// BucketName is a required field
	BucketName *string `locationName:"bucketName" type:"string" required:"true"`

	// The prefix that the findings will be written under.
	KeyPrefix *string `locationName:"keyPrefix" type:"string"`

	// The ARN of the KMS key used to encrypt data when exporting findings.
	//
	// KmsKeyArn is a required field
	KmsKeyArn *string `locationName:"kmsKeyArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains details of the Amazon S3 bucket and KMS key used to export findings.

func (Destination) GoString

func (s Destination) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Destination) SetBucketName

func (s *Destination) SetBucketName(v string) *Destination

SetBucketName sets the BucketName field's value.

func (*Destination) SetKeyPrefix

func (s *Destination) SetKeyPrefix(v string) *Destination

SetKeyPrefix sets the KeyPrefix field's value.

func (*Destination) SetKmsKeyArn

func (s *Destination) SetKmsKeyArn(v string) *Destination

SetKmsKeyArn sets the KmsKeyArn field's value.

func (Destination) String

func (s Destination) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Destination) Validate

func (s *Destination) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DisableDelegatedAdminAccountInput

type DisableDelegatedAdminAccountInput struct {

	// The Amazon Web Services account ID of the current Amazon Inspector delegated
	// administrator.
	//
	// DelegatedAdminAccountId is a required field
	DelegatedAdminAccountId *string `locationName:"delegatedAdminAccountId" min:"12" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisableDelegatedAdminAccountInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisableDelegatedAdminAccountInput) SetDelegatedAdminAccountId

SetDelegatedAdminAccountId sets the DelegatedAdminAccountId field's value.

func (DisableDelegatedAdminAccountInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisableDelegatedAdminAccountInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DisableDelegatedAdminAccountOutput

type DisableDelegatedAdminAccountOutput struct {

	// The Amazon Web Services account ID of the successfully disabled delegated
	// administrator.
	//
	// DelegatedAdminAccountId is a required field
	DelegatedAdminAccountId *string `locationName:"delegatedAdminAccountId" min:"12" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisableDelegatedAdminAccountOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisableDelegatedAdminAccountOutput) SetDelegatedAdminAccountId

SetDelegatedAdminAccountId sets the DelegatedAdminAccountId field's value.

func (DisableDelegatedAdminAccountOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DisableInput

type DisableInput struct {

	// An array of account IDs you want to disable Amazon Inspector scans for.
	AccountIds []*string `locationName:"accountIds" type:"list"`

	// The resource scan types you want to disable.
	ResourceTypes []*string `locationName:"resourceTypes" type:"list" enum:"ResourceScanType"`
	// contains filtered or unexported fields
}

func (DisableInput) GoString

func (s DisableInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisableInput) SetAccountIds

func (s *DisableInput) SetAccountIds(v []*string) *DisableInput

SetAccountIds sets the AccountIds field's value.

func (*DisableInput) SetResourceTypes

func (s *DisableInput) SetResourceTypes(v []*string) *DisableInput

SetResourceTypes sets the ResourceTypes field's value.

func (DisableInput) String

func (s DisableInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DisableOutput

type DisableOutput struct {

	// Information on the accounts that have had Amazon Inspector scans successfully
	// disabled. Details are provided for each account.
	//
	// Accounts is a required field
	Accounts []*Account `locationName:"accounts" type:"list" required:"true"`

	// Information on any accounts for which Amazon Inspector scans could not be
	// disabled. Details are provided for each account.
	FailedAccounts []*FailedAccount `locationName:"failedAccounts" type:"list"`
	// contains filtered or unexported fields
}

func (DisableOutput) GoString

func (s DisableOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisableOutput) SetAccounts

func (s *DisableOutput) SetAccounts(v []*Account) *DisableOutput

SetAccounts sets the Accounts field's value.

func (*DisableOutput) SetFailedAccounts

func (s *DisableOutput) SetFailedAccounts(v []*FailedAccount) *DisableOutput

SetFailedAccounts sets the FailedAccounts field's value.

func (DisableOutput) String

func (s DisableOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DisassociateMemberInput

type DisassociateMemberInput struct {

	// The Amazon Web Services account ID of the member account to disassociate.
	//
	// AccountId is a required field
	AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisassociateMemberInput) GoString

func (s DisassociateMemberInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateMemberInput) SetAccountId

SetAccountId sets the AccountId field's value.

func (DisassociateMemberInput) String

func (s DisassociateMemberInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateMemberInput) Validate

func (s *DisassociateMemberInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DisassociateMemberOutput

type DisassociateMemberOutput struct {

	// The Amazon Web Services account ID of the successfully disassociated member.
	//
	// AccountId is a required field
	AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisassociateMemberOutput) GoString

func (s DisassociateMemberOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateMemberOutput) SetAccountId

SetAccountId sets the AccountId field's value.

func (DisassociateMemberOutput) String

func (s DisassociateMemberOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Ec2InstanceAggregation

type Ec2InstanceAggregation struct {

	// The AMI IDs associated with the Amazon EC2 instances to aggregate findings
	// for.
	Amis []*StringFilter `locationName:"amis" min:"1" type:"list"`

	// The Amazon EC2 instance IDs to aggregate findings for.
	InstanceIds []*StringFilter `locationName:"instanceIds" min:"1" type:"list"`

	// The Amazon EC2 instance tags to aggregate findings for.
	InstanceTags []*MapFilter `locationName:"instanceTags" min:"1" type:"list"`

	// The operating system types to aggregate findings for. Valid values must be
	// uppercase and underscore separated, examples are ORACLE_LINUX_7 and ALPINE_LINUX_3_8.
	OperatingSystems []*StringFilter `locationName:"operatingSystems" min:"1" type:"list"`

	// The value to sort results by.
	SortBy *string `locationName:"sortBy" type:"string" enum:"Ec2InstanceSortBy"`

	// The order to sort results by.
	SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrder"`
	// contains filtered or unexported fields
}

The details that define an aggregation based on Amazon EC2 instances.

func (Ec2InstanceAggregation) GoString

func (s Ec2InstanceAggregation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Ec2InstanceAggregation) SetAmis

SetAmis sets the Amis field's value.

func (*Ec2InstanceAggregation) SetInstanceIds

SetInstanceIds sets the InstanceIds field's value.

func (*Ec2InstanceAggregation) SetInstanceTags

func (s *Ec2InstanceAggregation) SetInstanceTags(v []*MapFilter) *Ec2InstanceAggregation

SetInstanceTags sets the InstanceTags field's value.

func (*Ec2InstanceAggregation) SetOperatingSystems

func (s *Ec2InstanceAggregation) SetOperatingSystems(v []*StringFilter) *Ec2InstanceAggregation

SetOperatingSystems sets the OperatingSystems field's value.

func (*Ec2InstanceAggregation) SetSortBy

SetSortBy sets the SortBy field's value.

func (*Ec2InstanceAggregation) SetSortOrder

SetSortOrder sets the SortOrder field's value.

func (Ec2InstanceAggregation) String

func (s Ec2InstanceAggregation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Ec2InstanceAggregation) Validate

func (s *Ec2InstanceAggregation) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Ec2InstanceAggregationResponse

type Ec2InstanceAggregationResponse struct {

	// The Amazon Web Services account for the Amazon EC2 instance.
	AccountId *string `locationName:"accountId" type:"string"`

	// The Amazon Machine Image (AMI) of the Amazon EC2 instance.
	Ami *string `locationName:"ami" type:"string"`

	// The Amazon EC2 instance ID.
	//
	// InstanceId is a required field
	InstanceId *string `locationName:"instanceId" min:"1" type:"string" required:"true"`

	// The tags attached to the instance.
	InstanceTags map[string]*string `locationName:"instanceTags" type:"map"`

	// The number of network findings for the Amazon EC2 instance.
	NetworkFindings *int64 `locationName:"networkFindings" type:"long"`

	// The operating system of the Amazon EC2 instance.
	OperatingSystem *string `locationName:"operatingSystem" type:"string"`

	// An object that contains the count of matched findings per severity.
	SeverityCounts *SeverityCounts `locationName:"severityCounts" type:"structure"`
	// contains filtered or unexported fields
}

A response that contains the results of a finding aggregation by Amazon EC2 instance.

func (Ec2InstanceAggregationResponse) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Ec2InstanceAggregationResponse) SetAccountId

SetAccountId sets the AccountId field's value.

func (*Ec2InstanceAggregationResponse) SetAmi

SetAmi sets the Ami field's value.

func (*Ec2InstanceAggregationResponse) SetInstanceId

SetInstanceId sets the InstanceId field's value.

func (*Ec2InstanceAggregationResponse) SetInstanceTags

SetInstanceTags sets the InstanceTags field's value.

func (*Ec2InstanceAggregationResponse) SetNetworkFindings

SetNetworkFindings sets the NetworkFindings field's value.

func (*Ec2InstanceAggregationResponse) SetOperatingSystem

SetOperatingSystem sets the OperatingSystem field's value.

func (*Ec2InstanceAggregationResponse) SetSeverityCounts

SetSeverityCounts sets the SeverityCounts field's value.

func (Ec2InstanceAggregationResponse) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Ec2Metadata

type Ec2Metadata struct {

	// The ID of the Amazon Machine Image (AMI) used to launch the instance.
	AmiId *string `locationName:"amiId" type:"string"`

	// The platform of the instance.
	Platform *string `locationName:"platform" type:"string" enum:"Ec2Platform"`

	// The tags attached to the instance.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

Meta data details of an Amazon EC2 instance.

func (Ec2Metadata) GoString

func (s Ec2Metadata) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Ec2Metadata) SetAmiId

func (s *Ec2Metadata) SetAmiId(v string) *Ec2Metadata

SetAmiId sets the AmiId field's value.

func (*Ec2Metadata) SetPlatform

func (s *Ec2Metadata) SetPlatform(v string) *Ec2Metadata

SetPlatform sets the Platform field's value.

func (*Ec2Metadata) SetTags

func (s *Ec2Metadata) SetTags(v map[string]*string) *Ec2Metadata

SetTags sets the Tags field's value.

func (Ec2Metadata) String

func (s Ec2Metadata) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EcrConfiguration added in v1.44.55

type EcrConfiguration struct {

	// The ECR automated re-scan duration defines how long an ECR image will be
	// actively scanned by Amazon Inspector. When the number of days since an image
	// was last pushed exceeds the automated re-scan duration the monitoring state
	// of that image becomes inactive and all associated findings are scheduled
	// for closure.
	//
	// RescanDuration is a required field
	RescanDuration *string `locationName:"rescanDuration" type:"string" required:"true" enum:"EcrRescanDuration"`
	// contains filtered or unexported fields
}

Details about the ECR automated re-scan duration setting for your environment.

func (EcrConfiguration) GoString added in v1.44.55

func (s EcrConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EcrConfiguration) SetRescanDuration added in v1.44.55

func (s *EcrConfiguration) SetRescanDuration(v string) *EcrConfiguration

SetRescanDuration sets the RescanDuration field's value.

func (EcrConfiguration) String added in v1.44.55

func (s EcrConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EcrConfiguration) Validate added in v1.44.55

func (s *EcrConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type EcrConfigurationState added in v1.44.55

type EcrConfigurationState struct {

	// An object that contains details about the state of the ECR automated re-scan
	// setting.
	RescanDurationState *EcrRescanDurationState `locationName:"rescanDurationState" type:"structure"`
	// contains filtered or unexported fields
}

Details about the state of the ECR scans for your environment.

func (EcrConfigurationState) GoString added in v1.44.55

func (s EcrConfigurationState) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EcrConfigurationState) SetRescanDurationState added in v1.44.55

SetRescanDurationState sets the RescanDurationState field's value.

func (EcrConfigurationState) String added in v1.44.55

func (s EcrConfigurationState) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EcrContainerImageMetadata

type EcrContainerImageMetadata struct {

	// Tags associated with the Amazon ECR image metadata.
	Tags []*string `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Information on the Amazon ECR image metadata associated with a finding.

func (EcrContainerImageMetadata) GoString

func (s EcrContainerImageMetadata) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EcrContainerImageMetadata) SetTags

SetTags sets the Tags field's value.

func (EcrContainerImageMetadata) String

func (s EcrContainerImageMetadata) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EcrRepositoryMetadata

type EcrRepositoryMetadata struct {

	// The name of the Amazon ECR repository.
	Name *string `locationName:"name" type:"string"`

	// The frequency of scans.
	ScanFrequency *string `locationName:"scanFrequency" type:"string" enum:"EcrScanFrequency"`
	// contains filtered or unexported fields
}

Information on the Amazon ECR repository metadata associated with a finding.

func (EcrRepositoryMetadata) GoString

func (s EcrRepositoryMetadata) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EcrRepositoryMetadata) SetName

SetName sets the Name field's value.

func (*EcrRepositoryMetadata) SetScanFrequency

func (s *EcrRepositoryMetadata) SetScanFrequency(v string) *EcrRepositoryMetadata

SetScanFrequency sets the ScanFrequency field's value.

func (EcrRepositoryMetadata) String

func (s EcrRepositoryMetadata) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EcrRescanDurationState added in v1.44.55

type EcrRescanDurationState struct {

	// The ECR automated re-scan duration defines how long an ECR image will be
	// actively scanned by Amazon Inspector. When the number of days since an image
	// was last pushed exceeds the automated re-scan duration the monitoring state
	// of that image becomes inactive and all associated findings are scheduled
	// for closure.
	RescanDuration *string `locationName:"rescanDuration" type:"string" enum:"EcrRescanDuration"`

	// The status of changes to the ECR automated re-scan duration.
	Status *string `locationName:"status" type:"string" enum:"EcrRescanDurationStatus"`

	// A timestamp representing when the last time the ECR scan duration setting
	// was changed.
	UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp"`
	// contains filtered or unexported fields
}

Details about the state of any changes to the ECR automated re-scan duration setting.

func (EcrRescanDurationState) GoString added in v1.44.55

func (s EcrRescanDurationState) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EcrRescanDurationState) SetRescanDuration added in v1.44.55

func (s *EcrRescanDurationState) SetRescanDuration(v string) *EcrRescanDurationState

SetRescanDuration sets the RescanDuration field's value.

func (*EcrRescanDurationState) SetStatus added in v1.44.55

SetStatus sets the Status field's value.

func (*EcrRescanDurationState) SetUpdatedAt added in v1.44.55

SetUpdatedAt sets the UpdatedAt field's value.

func (EcrRescanDurationState) String added in v1.44.55

func (s EcrRescanDurationState) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EnableDelegatedAdminAccountInput

type EnableDelegatedAdminAccountInput struct {

	// The idempotency token for the request.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// The Amazon Web Services account ID of the Amazon Inspector delegated administrator.
	//
	// DelegatedAdminAccountId is a required field
	DelegatedAdminAccountId *string `locationName:"delegatedAdminAccountId" min:"12" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (EnableDelegatedAdminAccountInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EnableDelegatedAdminAccountInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*EnableDelegatedAdminAccountInput) SetDelegatedAdminAccountId

SetDelegatedAdminAccountId sets the DelegatedAdminAccountId field's value.

func (EnableDelegatedAdminAccountInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EnableDelegatedAdminAccountInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type EnableDelegatedAdminAccountOutput

type EnableDelegatedAdminAccountOutput struct {

	// The Amazon Web Services account ID of the successfully Amazon Inspector delegated
	// administrator.
	//
	// DelegatedAdminAccountId is a required field
	DelegatedAdminAccountId *string `locationName:"delegatedAdminAccountId" min:"12" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (EnableDelegatedAdminAccountOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EnableDelegatedAdminAccountOutput) SetDelegatedAdminAccountId

SetDelegatedAdminAccountId sets the DelegatedAdminAccountId field's value.

func (EnableDelegatedAdminAccountOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EnableInput

type EnableInput struct {

	// A list of account IDs you want to enable Amazon Inspector scans for.
	AccountIds []*string `locationName:"accountIds" type:"list"`

	// The idempotency token for the request.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// The resource scan types you want to enable.
	//
	// ResourceTypes is a required field
	ResourceTypes []*string `locationName:"resourceTypes" min:"1" type:"list" required:"true" enum:"ResourceScanType"`
	// contains filtered or unexported fields
}

func (EnableInput) GoString

func (s EnableInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EnableInput) SetAccountIds

func (s *EnableInput) SetAccountIds(v []*string) *EnableInput

SetAccountIds sets the AccountIds field's value.

func (*EnableInput) SetClientToken

func (s *EnableInput) SetClientToken(v string) *EnableInput

SetClientToken sets the ClientToken field's value.

func (*EnableInput) SetResourceTypes

func (s *EnableInput) SetResourceTypes(v []*string) *EnableInput

SetResourceTypes sets the ResourceTypes field's value.

func (EnableInput) String

func (s EnableInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EnableInput) Validate

func (s *EnableInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type EnableOutput

type EnableOutput struct {

	// Information on the accounts that have had Amazon Inspector scans successfully
	// enabled. Details are provided for each account.
	//
	// Accounts is a required field
	Accounts []*Account `locationName:"accounts" type:"list" required:"true"`

	// Information on any accounts for which Amazon Inspector scans could not be
	// enabled. Details are provided for each account.
	FailedAccounts []*FailedAccount `locationName:"failedAccounts" type:"list"`
	// contains filtered or unexported fields
}

func (EnableOutput) GoString

func (s EnableOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EnableOutput) SetAccounts

func (s *EnableOutput) SetAccounts(v []*Account) *EnableOutput

SetAccounts sets the Accounts field's value.

func (*EnableOutput) SetFailedAccounts

func (s *EnableOutput) SetFailedAccounts(v []*FailedAccount) *EnableOutput

SetFailedAccounts sets the FailedAccounts field's value.

func (EnableOutput) String

func (s EnableOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Epss added in v1.44.258

type Epss struct {

	// The Exploit Prediction Scoring System (EPSS) score.
	Score *float64 `locationName:"score" type:"double"`
	// contains filtered or unexported fields
}

Details about the Exploit Prediction Scoring System (EPSS) score.

func (Epss) GoString added in v1.44.258

func (s Epss) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Epss) SetScore added in v1.44.258

func (s *Epss) SetScore(v float64) *Epss

SetScore sets the Score field's value.

func (Epss) String added in v1.44.258

func (s Epss) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EpssDetails added in v1.44.287

type EpssDetails struct {

	// The EPSS score.
	Score *float64 `locationName:"score" type:"double"`
	// contains filtered or unexported fields
}

Details about the Exploit Prediction Scoring System (EPSS) score for a finding.

func (EpssDetails) GoString added in v1.44.287

func (s EpssDetails) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EpssDetails) SetScore added in v1.44.287

func (s *EpssDetails) SetScore(v float64) *EpssDetails

SetScore sets the Score field's value.

func (EpssDetails) String added in v1.44.287

func (s EpssDetails) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Evidence added in v1.44.313

type Evidence struct {

	// The evidence details.
	EvidenceDetail *string `locationName:"evidenceDetail" type:"string"`

	// The evidence rule.
	EvidenceRule *string `locationName:"evidenceRule" type:"string"`

	// The evidence severity.
	Severity *string `locationName:"severity" type:"string"`
	// contains filtered or unexported fields
}

Details of the evidence for a vulnerability identified in a finding.

func (Evidence) GoString added in v1.44.313

func (s Evidence) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Evidence) SetEvidenceDetail added in v1.44.313

func (s *Evidence) SetEvidenceDetail(v string) *Evidence

SetEvidenceDetail sets the EvidenceDetail field's value.

func (*Evidence) SetEvidenceRule added in v1.44.313

func (s *Evidence) SetEvidenceRule(v string) *Evidence

SetEvidenceRule sets the EvidenceRule field's value.

func (*Evidence) SetSeverity added in v1.44.313

func (s *Evidence) SetSeverity(v string) *Evidence

SetSeverity sets the Severity field's value.

func (Evidence) String added in v1.44.313

func (s Evidence) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ExploitObserved added in v1.44.258

type ExploitObserved struct {

	// The date an time when the exploit was first seen.
	FirstSeen *time.Time `locationName:"firstSeen" type:"timestamp"`

	// The date an time when the exploit was last seen.
	LastSeen *time.Time `locationName:"lastSeen" type:"timestamp"`
	// contains filtered or unexported fields
}

Contains information on when this exploit was observed.

func (ExploitObserved) GoString added in v1.44.258

func (s ExploitObserved) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ExploitObserved) SetFirstSeen added in v1.44.258

func (s *ExploitObserved) SetFirstSeen(v time.Time) *ExploitObserved

SetFirstSeen sets the FirstSeen field's value.

func (*ExploitObserved) SetLastSeen added in v1.44.258

func (s *ExploitObserved) SetLastSeen(v time.Time) *ExploitObserved

SetLastSeen sets the LastSeen field's value.

func (ExploitObserved) String added in v1.44.258

func (s ExploitObserved) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ExploitabilityDetails added in v1.44.147

type ExploitabilityDetails struct {

	// The date and time of the last exploit associated with a finding discovered
	// in your environment.
	LastKnownExploitAt *time.Time `locationName:"lastKnownExploitAt" type:"timestamp"`
	// contains filtered or unexported fields
}

The details of an exploit available for a finding discovered in your environment.

func (ExploitabilityDetails) GoString added in v1.44.147

func (s ExploitabilityDetails) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ExploitabilityDetails) SetLastKnownExploitAt added in v1.44.147

func (s *ExploitabilityDetails) SetLastKnownExploitAt(v time.Time) *ExploitabilityDetails

SetLastKnownExploitAt sets the LastKnownExploitAt field's value.

func (ExploitabilityDetails) String added in v1.44.147

func (s ExploitabilityDetails) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FailedAccount

type FailedAccount struct {

	// The Amazon Web Services account ID.
	//
	// AccountId is a required field
	AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"`

	// The error code explaining why the account failed to enable Amazon Inspector.
	//
	// ErrorCode is a required field
	ErrorCode *string `locationName:"errorCode" type:"string" required:"true" enum:"ErrorCode"`

	// The error message received when the account failed to enable Amazon Inspector.
	//
	// ErrorMessage is a required field
	ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string" required:"true"`

	// An object detailing which resources Amazon Inspector is enabled to scan for
	// the account.
	ResourceStatus *ResourceStatus `locationName:"resourceStatus" type:"structure"`

	// The status of Amazon Inspector for the account.
	Status *string `locationName:"status" type:"string" enum:"Status"`
	// contains filtered or unexported fields
}

An object with details on why an account failed to enable Amazon Inspector.

func (FailedAccount) GoString

func (s FailedAccount) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FailedAccount) SetAccountId

func (s *FailedAccount) SetAccountId(v string) *FailedAccount

SetAccountId sets the AccountId field's value.

func (*FailedAccount) SetErrorCode

func (s *FailedAccount) SetErrorCode(v string) *FailedAccount

SetErrorCode sets the ErrorCode field's value.

func (*FailedAccount) SetErrorMessage

func (s *FailedAccount) SetErrorMessage(v string) *FailedAccount

SetErrorMessage sets the ErrorMessage field's value.

func (*FailedAccount) SetResourceStatus

func (s *FailedAccount) SetResourceStatus(v *ResourceStatus) *FailedAccount

SetResourceStatus sets the ResourceStatus field's value.

func (*FailedAccount) SetStatus

func (s *FailedAccount) SetStatus(v string) *FailedAccount

SetStatus sets the Status field's value.

func (FailedAccount) String

func (s FailedAccount) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FailedMemberAccountEc2DeepInspectionStatusState added in v1.44.256

type FailedMemberAccountEc2DeepInspectionStatusState struct {

	// The unique identifier for the Amazon Web Services account of the organization
	// member that failed to activate Amazon Inspector deep inspection.
	//
	// AccountId is a required field
	AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"`

	// The status of EC2 scanning in the account that failed to activate Amazon
	// Inspector deep inspection.
	Ec2ScanStatus *string `locationName:"ec2ScanStatus" type:"string" enum:"Status"`

	// The error message explaining why the account failed to activate Amazon Inspector
	// deep inspection.
	ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string"`
	// contains filtered or unexported fields
}

An object that contains details about a member account in your organization that failed to activate Amazon Inspector deep inspection.

func (FailedMemberAccountEc2DeepInspectionStatusState) GoString added in v1.44.256

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FailedMemberAccountEc2DeepInspectionStatusState) SetAccountId added in v1.44.256

SetAccountId sets the AccountId field's value.

func (*FailedMemberAccountEc2DeepInspectionStatusState) SetEc2ScanStatus added in v1.44.256

SetEc2ScanStatus sets the Ec2ScanStatus field's value.

func (*FailedMemberAccountEc2DeepInspectionStatusState) SetErrorMessage added in v1.44.256

SetErrorMessage sets the ErrorMessage field's value.

func (FailedMemberAccountEc2DeepInspectionStatusState) String added in v1.44.256

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Filter

type Filter struct {

	// The action that is to be applied to the findings that match the filter.
	//
	// Action is a required field
	Action *string `locationName:"action" type:"string" required:"true" enum:"FilterAction"`

	// The Amazon Resource Number (ARN) associated with this filter.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`

	// The date and time this filter was created at.
	//
	// CreatedAt is a required field
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"`

	// Details on the filter criteria associated with this filter.
	//
	// Criteria is a required field
	Criteria *FilterCriteria `locationName:"criteria" type:"structure" required:"true"`

	// A description of the filter.
	Description *string `locationName:"description" min:"1" type:"string"`

	// The name of the filter.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`

	// The Amazon Web Services account ID of the account that created the filter.
	//
	// OwnerId is a required field
	OwnerId *string `locationName:"ownerId" min:"12" type:"string" required:"true"`

	// The reason for the filter.
	Reason *string `locationName:"reason" min:"1" type:"string"`

	// The tags attached to the filter.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// The date and time the filter was last updated at.
	//
	// UpdatedAt is a required field
	UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

Details about a filter.

func (Filter) GoString

func (s Filter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Filter) SetAction

func (s *Filter) SetAction(v string) *Filter

SetAction sets the Action field's value.

func (*Filter) SetArn

func (s *Filter) SetArn(v string) *Filter

SetArn sets the Arn field's value.

func (*Filter) SetCreatedAt

func (s *Filter) SetCreatedAt(v time.Time) *Filter

SetCreatedAt sets the CreatedAt field's value.

func (*Filter) SetCriteria

func (s *Filter) SetCriteria(v *FilterCriteria) *Filter

SetCriteria sets the Criteria field's value.

func (*Filter) SetDescription

func (s *Filter) SetDescription(v string) *Filter

SetDescription sets the Description field's value.

func (*Filter) SetName

func (s *Filter) SetName(v string) *Filter

SetName sets the Name field's value.

func (*Filter) SetOwnerId

func (s *Filter) SetOwnerId(v string) *Filter

SetOwnerId sets the OwnerId field's value.

func (*Filter) SetReason

func (s *Filter) SetReason(v string) *Filter

SetReason sets the Reason field's value.

func (*Filter) SetTags

func (s *Filter) SetTags(v map[string]*string) *Filter

SetTags sets the Tags field's value.

func (*Filter) SetUpdatedAt

func (s *Filter) SetUpdatedAt(v time.Time) *Filter

SetUpdatedAt sets the UpdatedAt field's value.

func (Filter) String

func (s Filter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FilterCriteria

type FilterCriteria struct {

	// Details of the Amazon Web Services account IDs used to filter findings.
	AwsAccountId []*StringFilter `locationName:"awsAccountId" min:"1" type:"list"`

	// The name of the detector used to identify a code vulnerability in a Lambda
	// function used to filter findings.
	CodeVulnerabilityDetectorName []*StringFilter `locationName:"codeVulnerabilityDetectorName" min:"1" type:"list"`

	// The detector type tag associated with the vulnerability used to filter findings.
	// Detector tags group related vulnerabilities by common themes or tactics.
	// For a list of available tags by programming language, see Java tags (https://docs.aws.amazon.com/codeguru/detector-library/java/tags/),
	// or Python tags (https://docs.aws.amazon.com/codeguru/detector-library/python/tags/).
	CodeVulnerabilityDetectorTags []*StringFilter `locationName:"codeVulnerabilityDetectorTags" min:"1" type:"list"`

	// The file path to the file in a Lambda function that contains a code vulnerability
	// used to filter findings.
	CodeVulnerabilityFilePath []*StringFilter `locationName:"codeVulnerabilityFilePath" min:"1" type:"list"`

	// Details of the component IDs used to filter findings.
	ComponentId []*StringFilter `locationName:"componentId" min:"1" type:"list"`

	// Details of the component types used to filter findings.
	ComponentType []*StringFilter `locationName:"componentType" min:"1" type:"list"`

	// Details of the Amazon EC2 instance image IDs used to filter findings.
	Ec2InstanceImageId []*StringFilter `locationName:"ec2InstanceImageId" min:"1" type:"list"`

	// Details of the Amazon EC2 instance subnet IDs used to filter findings.
	Ec2InstanceSubnetId []*StringFilter `locationName:"ec2InstanceSubnetId" min:"1" type:"list"`

	// Details of the Amazon EC2 instance VPC IDs used to filter findings.
	Ec2InstanceVpcId []*StringFilter `locationName:"ec2InstanceVpcId" min:"1" type:"list"`

	// Details of the Amazon ECR image architecture types used to filter findings.
	EcrImageArchitecture []*StringFilter `locationName:"ecrImageArchitecture" min:"1" type:"list"`

	// Details of the Amazon ECR image hashes used to filter findings.
	EcrImageHash []*StringFilter `locationName:"ecrImageHash" min:"1" type:"list"`

	// Details on the Amazon ECR image push date and time used to filter findings.
	EcrImagePushedAt []*DateFilter `locationName:"ecrImagePushedAt" min:"1" type:"list"`

	// Details on the Amazon ECR registry used to filter findings.
	EcrImageRegistry []*StringFilter `locationName:"ecrImageRegistry" min:"1" type:"list"`

	// Details on the name of the Amazon ECR repository used to filter findings.
	EcrImageRepositoryName []*StringFilter `locationName:"ecrImageRepositoryName" min:"1" type:"list"`

	// The tags attached to the Amazon ECR container image.
	EcrImageTags []*StringFilter `locationName:"ecrImageTags" min:"1" type:"list"`

	// The EPSS score used to filter findings.
	EpssScore []*NumberFilter `locationName:"epssScore" min:"1" type:"list"`

	// Filters the list of AWS Lambda findings by the availability of exploits.
	ExploitAvailable []*StringFilter `locationName:"exploitAvailable" min:"1" type:"list"`

	// Details on the finding ARNs used to filter findings.
	FindingArn []*StringFilter `locationName:"findingArn" min:"1" type:"list"`

	// Details on the finding status types used to filter findings.
	FindingStatus []*StringFilter `locationName:"findingStatus" min:"1" type:"list"`

	// Details on the finding types used to filter findings.
	FindingType []*StringFilter `locationName:"findingType" min:"1" type:"list"`

	// Details on the date and time a finding was first seen used to filter findings.
	FirstObservedAt []*DateFilter `locationName:"firstObservedAt" min:"1" type:"list"`

	// Details on whether a fix is available through a version update. This value
	// can be YES, NO, or PARTIAL. A PARTIAL fix means that some, but not all, of
	// the packages identified in the finding have fixes available through updated
	// versions.
	FixAvailable []*StringFilter `locationName:"fixAvailable" min:"1" type:"list"`

	// The Amazon Inspector score to filter on.
	InspectorScore []*NumberFilter `locationName:"inspectorScore" min:"1" type:"list"`

	// Filters the list of AWS Lambda functions by execution role.
	LambdaFunctionExecutionRoleArn []*StringFilter `locationName:"lambdaFunctionExecutionRoleArn" min:"1" type:"list"`

	// Filters the list of AWS Lambda functions by the date and time that a user
	// last updated the configuration, in ISO 8601 format (https://www.iso.org/iso-8601-date-and-time-format.html)
	LambdaFunctionLastModifiedAt []*DateFilter `locationName:"lambdaFunctionLastModifiedAt" min:"1" type:"list"`

	// Filters the list of AWS Lambda functions by the function's layers (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html).
	// A Lambda function can have up to five layers.
	LambdaFunctionLayers []*StringFilter `locationName:"lambdaFunctionLayers" min:"1" type:"list"`

	// Filters the list of AWS Lambda functions by the name of the function.
	LambdaFunctionName []*StringFilter `locationName:"lambdaFunctionName" min:"1" type:"list"`

	// Filters the list of AWS Lambda functions by the runtime environment for the
	// Lambda function.
	LambdaFunctionRuntime []*StringFilter `locationName:"lambdaFunctionRuntime" min:"1" type:"list"`

	// Details on the date and time a finding was last seen used to filter findings.
	LastObservedAt []*DateFilter `locationName:"lastObservedAt" min:"1" type:"list"`

	// Details on network protocol used to filter findings.
	NetworkProtocol []*StringFilter `locationName:"networkProtocol" min:"1" type:"list"`

	// Details on the port ranges used to filter findings.
	PortRange []*PortRangeFilter `locationName:"portRange" min:"1" type:"list"`

	// Details on the related vulnerabilities used to filter findings.
	RelatedVulnerabilities []*StringFilter `locationName:"relatedVulnerabilities" min:"1" type:"list"`

	// Details on the resource IDs used to filter findings.
	ResourceId []*StringFilter `locationName:"resourceId" min:"1" type:"list"`

	// Details on the resource tags used to filter findings.
	ResourceTags []*MapFilter `locationName:"resourceTags" min:"1" type:"list"`

	// Details on the resource types used to filter findings.
	ResourceType []*StringFilter `locationName:"resourceType" min:"1" type:"list"`

	// Details on the severity used to filter findings.
	Severity []*StringFilter `locationName:"severity" min:"1" type:"list"`

	// Details on the finding title used to filter findings.
	Title []*StringFilter `locationName:"title" min:"1" type:"list"`

	// Details on the date and time a finding was last updated at used to filter
	// findings.
	UpdatedAt []*DateFilter `locationName:"updatedAt" min:"1" type:"list"`

	// Details on the vendor severity used to filter findings.
	VendorSeverity []*StringFilter `locationName:"vendorSeverity" min:"1" type:"list"`

	// Details on the vulnerability ID used to filter findings.
	VulnerabilityId []*StringFilter `locationName:"vulnerabilityId" min:"1" type:"list"`

	// Details on the vulnerability type used to filter findings.
	VulnerabilitySource []*StringFilter `locationName:"vulnerabilitySource" min:"1" type:"list"`

	// Details on the vulnerable packages used to filter findings.
	VulnerablePackages []*PackageFilter `locationName:"vulnerablePackages" min:"1" type:"list"`
	// contains filtered or unexported fields
}

Details on the criteria used to define the filter.

func (FilterCriteria) GoString

func (s FilterCriteria) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FilterCriteria) SetAwsAccountId

func (s *FilterCriteria) SetAwsAccountId(v []*StringFilter) *FilterCriteria

SetAwsAccountId sets the AwsAccountId field's value.

func (*FilterCriteria) SetCodeVulnerabilityDetectorName added in v1.44.287

func (s *FilterCriteria) SetCodeVulnerabilityDetectorName(v []*StringFilter) *FilterCriteria

SetCodeVulnerabilityDetectorName sets the CodeVulnerabilityDetectorName field's value.

func (*FilterCriteria) SetCodeVulnerabilityDetectorTags added in v1.44.287

func (s *FilterCriteria) SetCodeVulnerabilityDetectorTags(v []*StringFilter) *FilterCriteria

SetCodeVulnerabilityDetectorTags sets the CodeVulnerabilityDetectorTags field's value.

func (*FilterCriteria) SetCodeVulnerabilityFilePath added in v1.44.287

func (s *FilterCriteria) SetCodeVulnerabilityFilePath(v []*StringFilter) *FilterCriteria

SetCodeVulnerabilityFilePath sets the CodeVulnerabilityFilePath field's value.

func (*FilterCriteria) SetComponentId

func (s *FilterCriteria) SetComponentId(v []*StringFilter) *FilterCriteria

SetComponentId sets the ComponentId field's value.

func (*FilterCriteria) SetComponentType

func (s *FilterCriteria) SetComponentType(v []*StringFilter) *FilterCriteria

SetComponentType sets the ComponentType field's value.

func (*FilterCriteria) SetEc2InstanceImageId

func (s *FilterCriteria) SetEc2InstanceImageId(v []*StringFilter) *FilterCriteria

SetEc2InstanceImageId sets the Ec2InstanceImageId field's value.

func (*FilterCriteria) SetEc2InstanceSubnetId

func (s *FilterCriteria) SetEc2InstanceSubnetId(v []*StringFilter) *FilterCriteria

SetEc2InstanceSubnetId sets the Ec2InstanceSubnetId field's value.

func (*FilterCriteria) SetEc2InstanceVpcId

func (s *FilterCriteria) SetEc2InstanceVpcId(v []*StringFilter) *FilterCriteria

SetEc2InstanceVpcId sets the Ec2InstanceVpcId field's value.

func (*FilterCriteria) SetEcrImageArchitecture

func (s *FilterCriteria) SetEcrImageArchitecture(v []*StringFilter) *FilterCriteria

SetEcrImageArchitecture sets the EcrImageArchitecture field's value.

func (*FilterCriteria) SetEcrImageHash

func (s *FilterCriteria) SetEcrImageHash(v []*StringFilter) *FilterCriteria

SetEcrImageHash sets the EcrImageHash field's value.

func (*FilterCriteria) SetEcrImagePushedAt

func (s *FilterCriteria) SetEcrImagePushedAt(v []*DateFilter) *FilterCriteria

SetEcrImagePushedAt sets the EcrImagePushedAt field's value.

func (*FilterCriteria) SetEcrImageRegistry

func (s *FilterCriteria) SetEcrImageRegistry(v []*StringFilter) *FilterCriteria

SetEcrImageRegistry sets the EcrImageRegistry field's value.

func (*FilterCriteria) SetEcrImageRepositoryName

func (s *FilterCriteria) SetEcrImageRepositoryName(v []*StringFilter) *FilterCriteria

SetEcrImageRepositoryName sets the EcrImageRepositoryName field's value.

func (*FilterCriteria) SetEcrImageTags

func (s *FilterCriteria) SetEcrImageTags(v []*StringFilter) *FilterCriteria

SetEcrImageTags sets the EcrImageTags field's value.

func (*FilterCriteria) SetEpssScore added in v1.44.287

func (s *FilterCriteria) SetEpssScore(v []*NumberFilter) *FilterCriteria

SetEpssScore sets the EpssScore field's value.

func (*FilterCriteria) SetExploitAvailable added in v1.44.147

func (s *FilterCriteria) SetExploitAvailable(v []*StringFilter) *FilterCriteria

SetExploitAvailable sets the ExploitAvailable field's value.

func (*FilterCriteria) SetFindingArn

func (s *FilterCriteria) SetFindingArn(v []*StringFilter) *FilterCriteria

SetFindingArn sets the FindingArn field's value.

func (*FilterCriteria) SetFindingStatus

func (s *FilterCriteria) SetFindingStatus(v []*StringFilter) *FilterCriteria

SetFindingStatus sets the FindingStatus field's value.

func (*FilterCriteria) SetFindingType

func (s *FilterCriteria) SetFindingType(v []*StringFilter) *FilterCriteria

SetFindingType sets the FindingType field's value.

func (*FilterCriteria) SetFirstObservedAt

func (s *FilterCriteria) SetFirstObservedAt(v []*DateFilter) *FilterCriteria

SetFirstObservedAt sets the FirstObservedAt field's value.

func (*FilterCriteria) SetFixAvailable added in v1.44.93

func (s *FilterCriteria) SetFixAvailable(v []*StringFilter) *FilterCriteria

SetFixAvailable sets the FixAvailable field's value.

func (*FilterCriteria) SetInspectorScore

func (s *FilterCriteria) SetInspectorScore(v []*NumberFilter) *FilterCriteria

SetInspectorScore sets the InspectorScore field's value.

func (*FilterCriteria) SetLambdaFunctionExecutionRoleArn added in v1.44.147

func (s *FilterCriteria) SetLambdaFunctionExecutionRoleArn(v []*StringFilter) *FilterCriteria

SetLambdaFunctionExecutionRoleArn sets the LambdaFunctionExecutionRoleArn field's value.

func (*FilterCriteria) SetLambdaFunctionLastModifiedAt added in v1.44.147

func (s *FilterCriteria) SetLambdaFunctionLastModifiedAt(v []*DateFilter) *FilterCriteria

SetLambdaFunctionLastModifiedAt sets the LambdaFunctionLastModifiedAt field's value.

func (*FilterCriteria) SetLambdaFunctionLayers added in v1.44.147

func (s *FilterCriteria) SetLambdaFunctionLayers(v []*StringFilter) *FilterCriteria

SetLambdaFunctionLayers sets the LambdaFunctionLayers field's value.

func (*FilterCriteria) SetLambdaFunctionName added in v1.44.147

func (s *FilterCriteria) SetLambdaFunctionName(v []*StringFilter) *FilterCriteria

SetLambdaFunctionName sets the LambdaFunctionName field's value.

func (*FilterCriteria) SetLambdaFunctionRuntime added in v1.44.147

func (s *FilterCriteria) SetLambdaFunctionRuntime(v []*StringFilter) *FilterCriteria

SetLambdaFunctionRuntime sets the LambdaFunctionRuntime field's value.

func (*FilterCriteria) SetLastObservedAt

func (s *FilterCriteria) SetLastObservedAt(v []*DateFilter) *FilterCriteria

SetLastObservedAt sets the LastObservedAt field's value.

func (*FilterCriteria) SetNetworkProtocol

func (s *FilterCriteria) SetNetworkProtocol(v []*StringFilter) *FilterCriteria

SetNetworkProtocol sets the NetworkProtocol field's value.

func (*FilterCriteria) SetPortRange

func (s *FilterCriteria) SetPortRange(v []*PortRangeFilter) *FilterCriteria

SetPortRange sets the PortRange field's value.

func (*FilterCriteria) SetRelatedVulnerabilities

func (s *FilterCriteria) SetRelatedVulnerabilities(v []*StringFilter) *FilterCriteria

SetRelatedVulnerabilities sets the RelatedVulnerabilities field's value.

func (*FilterCriteria) SetResourceId

func (s *FilterCriteria) SetResourceId(v []*StringFilter) *FilterCriteria

SetResourceId sets the ResourceId field's value.

func (*FilterCriteria) SetResourceTags

func (s *FilterCriteria) SetResourceTags(v []*MapFilter) *FilterCriteria

SetResourceTags sets the ResourceTags field's value.

func (*FilterCriteria) SetResourceType

func (s *FilterCriteria) SetResourceType(v []*StringFilter) *FilterCriteria

SetResourceType sets the ResourceType field's value.

func (*FilterCriteria) SetSeverity

func (s *FilterCriteria) SetSeverity(v []*StringFilter) *FilterCriteria

SetSeverity sets the Severity field's value.

func (*FilterCriteria) SetTitle

func (s *FilterCriteria) SetTitle(v []*StringFilter) *FilterCriteria

SetTitle sets the Title field's value.

func (*FilterCriteria) SetUpdatedAt

func (s *FilterCriteria) SetUpdatedAt(v []*DateFilter) *FilterCriteria

SetUpdatedAt sets the UpdatedAt field's value.

func (*FilterCriteria) SetVendorSeverity

func (s *FilterCriteria) SetVendorSeverity(v []*StringFilter) *FilterCriteria

SetVendorSeverity sets the VendorSeverity field's value.

func (*FilterCriteria) SetVulnerabilityId

func (s *FilterCriteria) SetVulnerabilityId(v []*StringFilter) *FilterCriteria

SetVulnerabilityId sets the VulnerabilityId field's value.

func (*FilterCriteria) SetVulnerabilitySource

func (s *FilterCriteria) SetVulnerabilitySource(v []*StringFilter) *FilterCriteria

SetVulnerabilitySource sets the VulnerabilitySource field's value.

func (*FilterCriteria) SetVulnerablePackages

func (s *FilterCriteria) SetVulnerablePackages(v []*PackageFilter) *FilterCriteria

SetVulnerablePackages sets the VulnerablePackages field's value.

func (FilterCriteria) String

func (s FilterCriteria) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FilterCriteria) Validate

func (s *FilterCriteria) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Finding

type Finding struct {

	// The Amazon Web Services account ID associated with the finding.
	//
	// AwsAccountId is a required field
	AwsAccountId *string `locationName:"awsAccountId" min:"12" type:"string" required:"true"`

	// Details about the code vulnerability identified in a Lambda function used
	// to filter findings.
	CodeVulnerabilityDetails *CodeVulnerabilityDetails `locationName:"codeVulnerabilityDetails" type:"structure"`

	// The description of the finding.
	//
	// Description is a required field
	Description *string `locationName:"description" min:"1" type:"string" required:"true"`

	// The finding's EPSS score.
	Epss *EpssDetails `locationName:"epss" type:"structure"`

	// If a finding discovered in your environment has an exploit available.
	ExploitAvailable *string `locationName:"exploitAvailable" type:"string" enum:"ExploitAvailable"`

	// The details of an exploit available for a finding discovered in your environment.
	ExploitabilityDetails *ExploitabilityDetails `locationName:"exploitabilityDetails" type:"structure"`

	// The Amazon Resource Number (ARN) of the finding.
	//
	// FindingArn is a required field
	FindingArn *string `locationName:"findingArn" min:"1" type:"string" required:"true"`

	// The date and time that the finding was first observed.
	//
	// FirstObservedAt is a required field
	FirstObservedAt *time.Time `locationName:"firstObservedAt" type:"timestamp" required:"true"`

	// Details on whether a fix is available through a version update. This value
	// can be YES, NO, or PARTIAL. A PARTIAL fix means that some, but not all, of
	// the packages identified in the finding have fixes available through updated
	// versions.
	FixAvailable *string `locationName:"fixAvailable" type:"string" enum:"FixAvailable"`

	// The Amazon Inspector score given to the finding.
	InspectorScore *float64 `locationName:"inspectorScore" type:"double"`

	// An object that contains details of the Amazon Inspector score.
	InspectorScoreDetails *InspectorScoreDetails `locationName:"inspectorScoreDetails" type:"structure"`

	// The date and time that the finding was last observed.
	//
	// LastObservedAt is a required field
	LastObservedAt *time.Time `locationName:"lastObservedAt" type:"timestamp" required:"true"`

	// An object that contains the details of a network reachability finding.
	NetworkReachabilityDetails *NetworkReachabilityDetails `locationName:"networkReachabilityDetails" type:"structure"`

	// An object that contains the details of a package vulnerability finding.
	PackageVulnerabilityDetails *PackageVulnerabilityDetails `locationName:"packageVulnerabilityDetails" type:"structure"`

	// An object that contains the details about how to remediate a finding.
	//
	// Remediation is a required field
	Remediation *Remediation `locationName:"remediation" type:"structure" required:"true"`

	// Contains information on the resources involved in a finding. The resource
	// value determines the valid values for type in your request. For more information,
	// see Finding types (https://docs.aws.amazon.com/inspector/latest/user/findings-types.html)
	// in the Amazon Inspector user guide.
	//
	// Resources is a required field
	Resources []*Resource `locationName:"resources" min:"1" type:"list" required:"true"`

	// The severity of the finding. UNTRIAGED applies to PACKAGE_VULNERABILITY type
	// findings that the vendor has not assigned a severity yet. For more information,
	// see Severity levels for findings (https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-severity.html)
	// in the Amazon Inspector user guide.
	//
	// Severity is a required field
	Severity *string `locationName:"severity" type:"string" required:"true" enum:"Severity"`

	// The status of the finding.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"FindingStatus"`

	// The title of the finding.
	Title *string `locationName:"title" min:"1" type:"string"`

	// The type of the finding. The type value determines the valid values for resource
	// in your request. For more information, see Finding types (https://docs.aws.amazon.com/inspector/latest/user/findings-types.html)
	// in the Amazon Inspector user guide.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"FindingType"`

	// The date and time the finding was last updated at.
	UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp"`
	// contains filtered or unexported fields
}

Details about an Amazon Inspector finding.

func (Finding) GoString

func (s Finding) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Finding) SetAwsAccountId

func (s *Finding) SetAwsAccountId(v string) *Finding

SetAwsAccountId sets the AwsAccountId field's value.

func (*Finding) SetCodeVulnerabilityDetails added in v1.44.287

func (s *Finding) SetCodeVulnerabilityDetails(v *CodeVulnerabilityDetails) *Finding

SetCodeVulnerabilityDetails sets the CodeVulnerabilityDetails field's value.

func (*Finding) SetDescription

func (s *Finding) SetDescription(v string) *Finding

SetDescription sets the Description field's value.

func (*Finding) SetEpss added in v1.44.287

func (s *Finding) SetEpss(v *EpssDetails) *Finding

SetEpss sets the Epss field's value.

func (*Finding) SetExploitAvailable added in v1.44.147

func (s *Finding) SetExploitAvailable(v string) *Finding

SetExploitAvailable sets the ExploitAvailable field's value.

func (*Finding) SetExploitabilityDetails added in v1.44.147

func (s *Finding) SetExploitabilityDetails(v *ExploitabilityDetails) *Finding

SetExploitabilityDetails sets the ExploitabilityDetails field's value.

func (*Finding) SetFindingArn

func (s *Finding) SetFindingArn(v string) *Finding

SetFindingArn sets the FindingArn field's value.

func (*Finding) SetFirstObservedAt

func (s *Finding) SetFirstObservedAt(v time.Time) *Finding

SetFirstObservedAt sets the FirstObservedAt field's value.

func (*Finding) SetFixAvailable added in v1.44.93

func (s *Finding) SetFixAvailable(v string) *Finding

SetFixAvailable sets the FixAvailable field's value.

func (*Finding) SetInspectorScore

func (s *Finding) SetInspectorScore(v float64) *Finding

SetInspectorScore sets the InspectorScore field's value.

func (*Finding) SetInspectorScoreDetails

func (s *Finding) SetInspectorScoreDetails(v *InspectorScoreDetails) *Finding

SetInspectorScoreDetails sets the InspectorScoreDetails field's value.

func (*Finding) SetLastObservedAt

func (s *Finding) SetLastObservedAt(v time.Time) *Finding

SetLastObservedAt sets the LastObservedAt field's value.

func (*Finding) SetNetworkReachabilityDetails

func (s *Finding) SetNetworkReachabilityDetails(v *NetworkReachabilityDetails) *Finding

SetNetworkReachabilityDetails sets the NetworkReachabilityDetails field's value.

func (*Finding) SetPackageVulnerabilityDetails

func (s *Finding) SetPackageVulnerabilityDetails(v *PackageVulnerabilityDetails) *Finding

SetPackageVulnerabilityDetails sets the PackageVulnerabilityDetails field's value.

func (*Finding) SetRemediation

func (s *Finding) SetRemediation(v *Remediation) *Finding

SetRemediation sets the Remediation field's value.

func (*Finding) SetResources

func (s *Finding) SetResources(v []*Resource) *Finding

SetResources sets the Resources field's value.

func (*Finding) SetSeverity

func (s *Finding) SetSeverity(v string) *Finding

SetSeverity sets the Severity field's value.

func (*Finding) SetStatus

func (s *Finding) SetStatus(v string) *Finding

SetStatus sets the Status field's value.

func (*Finding) SetTitle

func (s *Finding) SetTitle(v string) *Finding

SetTitle sets the Title field's value.

func (*Finding) SetType

func (s *Finding) SetType(v string) *Finding

SetType sets the Type field's value.

func (*Finding) SetUpdatedAt

func (s *Finding) SetUpdatedAt(v time.Time) *Finding

SetUpdatedAt sets the UpdatedAt field's value.

func (Finding) String

func (s Finding) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FindingDetail added in v1.44.313

type FindingDetail struct {

	// The Cybersecurity and Infrastructure Security Agency (CISA) details for a
	// specific vulnerability.
	CisaData *CisaData `locationName:"cisaData" type:"structure"`

	// The Common Weakness Enumerations (CWEs) associated with the vulnerability.
	Cwes []*string `locationName:"cwes" type:"list"`

	// The Exploit Prediction Scoring System (EPSS) score of the vulnerability.
	EpssScore *float64 `locationName:"epssScore" type:"double"`

	// Information on the evidence of the vulnerability.
	Evidences []*Evidence `locationName:"evidences" type:"list"`

	// Contains information on when this exploit was observed.
	ExploitObserved *ExploitObserved `locationName:"exploitObserved" type:"structure"`

	// The finding ARN that the vulnerability details are associated with.
	FindingArn *string `locationName:"findingArn" min:"1" type:"string"`

	// The reference URLs for the vulnerability data.
	ReferenceUrls []*string `locationName:"referenceUrls" type:"list"`

	// The risk score of the vulnerability.
	RiskScore *int64 `locationName:"riskScore" type:"integer"`

	// The known malware tools or kits that can exploit the vulnerability.
	Tools []*string `locationName:"tools" type:"list"`

	// The MITRE adversary tactics, techniques, or procedures (TTPs) associated
	// with the vulnerability.
	Ttps []*string `locationName:"ttps" type:"list"`
	// contains filtered or unexported fields
}

Details of the vulnerability identified in a finding.

func (FindingDetail) GoString added in v1.44.313

func (s FindingDetail) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FindingDetail) SetCisaData added in v1.44.313

func (s *FindingDetail) SetCisaData(v *CisaData) *FindingDetail

SetCisaData sets the CisaData field's value.

func (*FindingDetail) SetCwes added in v1.44.313

func (s *FindingDetail) SetCwes(v []*string) *FindingDetail

SetCwes sets the Cwes field's value.

func (*FindingDetail) SetEpssScore added in v1.44.313

func (s *FindingDetail) SetEpssScore(v float64) *FindingDetail

SetEpssScore sets the EpssScore field's value.

func (*FindingDetail) SetEvidences added in v1.44.313

func (s *FindingDetail) SetEvidences(v []*Evidence) *FindingDetail

SetEvidences sets the Evidences field's value.

func (*FindingDetail) SetExploitObserved added in v1.44.313

func (s *FindingDetail) SetExploitObserved(v *ExploitObserved) *FindingDetail

SetExploitObserved sets the ExploitObserved field's value.

func (*FindingDetail) SetFindingArn added in v1.44.313

func (s *FindingDetail) SetFindingArn(v string) *FindingDetail

SetFindingArn sets the FindingArn field's value.

func (*FindingDetail) SetReferenceUrls added in v1.44.313

func (s *FindingDetail) SetReferenceUrls(v []*string) *FindingDetail

SetReferenceUrls sets the ReferenceUrls field's value.

func (*FindingDetail) SetRiskScore added in v1.44.313

func (s *FindingDetail) SetRiskScore(v int64) *FindingDetail

SetRiskScore sets the RiskScore field's value.

func (*FindingDetail) SetTools added in v1.44.313

func (s *FindingDetail) SetTools(v []*string) *FindingDetail

SetTools sets the Tools field's value.

func (*FindingDetail) SetTtps added in v1.44.313

func (s *FindingDetail) SetTtps(v []*string) *FindingDetail

SetTtps sets the Ttps field's value.

func (FindingDetail) String added in v1.44.313

func (s FindingDetail) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FindingDetailsError added in v1.44.313

type FindingDetailsError struct {

	// The error code.
	//
	// ErrorCode is a required field
	ErrorCode *string `locationName:"errorCode" type:"string" required:"true" enum:"FindingDetailsErrorCode"`

	// The error message.
	//
	// ErrorMessage is a required field
	ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string" required:"true"`

	// The finding ARN that returned an error.
	//
	// FindingArn is a required field
	FindingArn *string `locationName:"findingArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Details about an error encountered when trying to return vulnerability data for a finding.

func (FindingDetailsError) GoString added in v1.44.313

func (s FindingDetailsError) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FindingDetailsError) SetErrorCode added in v1.44.313

func (s *FindingDetailsError) SetErrorCode(v string) *FindingDetailsError

SetErrorCode sets the ErrorCode field's value.

func (*FindingDetailsError) SetErrorMessage added in v1.44.313

func (s *FindingDetailsError) SetErrorMessage(v string) *FindingDetailsError

SetErrorMessage sets the ErrorMessage field's value.

func (*FindingDetailsError) SetFindingArn added in v1.44.313

func (s *FindingDetailsError) SetFindingArn(v string) *FindingDetailsError

SetFindingArn sets the FindingArn field's value.

func (FindingDetailsError) String added in v1.44.313

func (s FindingDetailsError) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FindingTypeAggregation

type FindingTypeAggregation struct {

	// The finding type to aggregate.
	FindingType *string `locationName:"findingType" type:"string" enum:"AggregationFindingType"`

	// The resource type to aggregate.
	ResourceType *string `locationName:"resourceType" type:"string" enum:"AggregationResourceType"`

	// The value to sort results by.
	SortBy *string `locationName:"sortBy" type:"string" enum:"FindingTypeSortBy"`

	// The order to sort results by.
	SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrder"`
	// contains filtered or unexported fields
}

The details that define an aggregation based on finding type.

func (FindingTypeAggregation) GoString

func (s FindingTypeAggregation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FindingTypeAggregation) SetFindingType

SetFindingType sets the FindingType field's value.

func (*FindingTypeAggregation) SetResourceType

func (s *FindingTypeAggregation) SetResourceType(v string) *FindingTypeAggregation

SetResourceType sets the ResourceType field's value.

func (*FindingTypeAggregation) SetSortBy

SetSortBy sets the SortBy field's value.

func (*FindingTypeAggregation) SetSortOrder

SetSortOrder sets the SortOrder field's value.

func (FindingTypeAggregation) String

func (s FindingTypeAggregation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FindingTypeAggregationResponse

type FindingTypeAggregationResponse struct {

	// The ID of the Amazon Web Services account associated with the findings.
	AccountId *string `locationName:"accountId" min:"12" type:"string"`

	// The value to sort results by.
	SeverityCounts *SeverityCounts `locationName:"severityCounts" type:"structure"`
	// contains filtered or unexported fields
}

A response that contains the results of a finding type aggregation.

func (FindingTypeAggregationResponse) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FindingTypeAggregationResponse) SetAccountId

SetAccountId sets the AccountId field's value.

func (*FindingTypeAggregationResponse) SetSeverityCounts

SetSeverityCounts sets the SeverityCounts field's value.

func (FindingTypeAggregationResponse) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FreeTrialAccountInfo

type FreeTrialAccountInfo struct {

	// The account associated with the Amazon Inspector free trial information.
	//
	// AccountId is a required field
	AccountId *string `locationName:"accountId" type:"string" required:"true"`

	// Contains information about the Amazon Inspector free trial for an account.
	//
	// FreeTrialInfo is a required field
	FreeTrialInfo []*FreeTrialInfo `locationName:"freeTrialInfo" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Information about the Amazon Inspector free trial for an account.

func (FreeTrialAccountInfo) GoString

func (s FreeTrialAccountInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FreeTrialAccountInfo) SetAccountId

func (s *FreeTrialAccountInfo) SetAccountId(v string) *FreeTrialAccountInfo

SetAccountId sets the AccountId field's value.

func (*FreeTrialAccountInfo) SetFreeTrialInfo

func (s *FreeTrialAccountInfo) SetFreeTrialInfo(v []*FreeTrialInfo) *FreeTrialAccountInfo

SetFreeTrialInfo sets the FreeTrialInfo field's value.

func (FreeTrialAccountInfo) String

func (s FreeTrialAccountInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FreeTrialInfo

type FreeTrialInfo struct {

	// The date and time that the Amazon Inspector free trail ends for a given account.
	//
	// End is a required field
	End *time.Time `locationName:"end" type:"timestamp" required:"true"`

	// The date and time that the Amazon Inspector free trail started for a given
	// account.
	//
	// Start is a required field
	Start *time.Time `locationName:"start" type:"timestamp" required:"true"`

	// The order to sort results by.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"FreeTrialStatus"`

	// The type of scan covered by the Amazon Inspector free trail.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"FreeTrialType"`
	// contains filtered or unexported fields
}

An object that contains information about the Amazon Inspector free trial for an account.

func (FreeTrialInfo) GoString

func (s FreeTrialInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FreeTrialInfo) SetEnd

func (s *FreeTrialInfo) SetEnd(v time.Time) *FreeTrialInfo

SetEnd sets the End field's value.

func (*FreeTrialInfo) SetStart

func (s *FreeTrialInfo) SetStart(v time.Time) *FreeTrialInfo

SetStart sets the Start field's value.

func (*FreeTrialInfo) SetStatus

func (s *FreeTrialInfo) SetStatus(v string) *FreeTrialInfo

SetStatus sets the Status field's value.

func (*FreeTrialInfo) SetType

func (s *FreeTrialInfo) SetType(v string) *FreeTrialInfo

SetType sets the Type field's value.

func (FreeTrialInfo) String

func (s FreeTrialInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FreeTrialInfoError

type FreeTrialInfoError struct {

	// The account associated with the Amazon Inspector free trial information.
	//
	// AccountId is a required field
	AccountId *string `locationName:"accountId" type:"string" required:"true"`

	// The error code.
	//
	// Code is a required field
	Code *string `locationName:"code" type:"string" required:"true" enum:"FreeTrialInfoErrorCode"`

	// The error message returned.
	//
	// Message is a required field
	Message *string `locationName:"message" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Information about an error received while accessing free trail data for an account.

func (FreeTrialInfoError) GoString

func (s FreeTrialInfoError) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FreeTrialInfoError) SetAccountId

func (s *FreeTrialInfoError) SetAccountId(v string) *FreeTrialInfoError

SetAccountId sets the AccountId field's value.

func (*FreeTrialInfoError) SetCode

SetCode sets the Code field's value.

func (*FreeTrialInfoError) SetMessage

func (s *FreeTrialInfoError) SetMessage(v string) *FreeTrialInfoError

SetMessage sets the Message field's value.

func (FreeTrialInfoError) String

func (s FreeTrialInfoError) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetConfigurationInput added in v1.44.55

type GetConfigurationInput struct {
	// contains filtered or unexported fields
}

func (GetConfigurationInput) GoString added in v1.44.55

func (s GetConfigurationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (GetConfigurationInput) String added in v1.44.55

func (s GetConfigurationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetConfigurationOutput added in v1.44.55

type GetConfigurationOutput struct {

	// Specifies how the ECR automated re-scan duration is currently configured
	// for your environment.
	EcrConfiguration *EcrConfigurationState `locationName:"ecrConfiguration" type:"structure"`
	// contains filtered or unexported fields
}

func (GetConfigurationOutput) GoString added in v1.44.55

func (s GetConfigurationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetConfigurationOutput) SetEcrConfiguration added in v1.44.55

SetEcrConfiguration sets the EcrConfiguration field's value.

func (GetConfigurationOutput) String added in v1.44.55

func (s GetConfigurationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetDelegatedAdminAccountInput

type GetDelegatedAdminAccountInput struct {
	// contains filtered or unexported fields
}

func (GetDelegatedAdminAccountInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (GetDelegatedAdminAccountInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetDelegatedAdminAccountOutput

type GetDelegatedAdminAccountOutput struct {

	// The Amazon Web Services account ID of the Amazon Inspector delegated administrator.
	DelegatedAdmin *DelegatedAdmin `locationName:"delegatedAdmin" type:"structure"`
	// contains filtered or unexported fields
}

func (GetDelegatedAdminAccountOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetDelegatedAdminAccountOutput) SetDelegatedAdmin

SetDelegatedAdmin sets the DelegatedAdmin field's value.

func (GetDelegatedAdminAccountOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetEc2DeepInspectionConfigurationInput added in v1.44.256

type GetEc2DeepInspectionConfigurationInput struct {
	// contains filtered or unexported fields
}

func (GetEc2DeepInspectionConfigurationInput) GoString added in v1.44.256

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (GetEc2DeepInspectionConfigurationInput) String added in v1.44.256

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetEc2DeepInspectionConfigurationOutput added in v1.44.256

type GetEc2DeepInspectionConfigurationOutput struct {

	// An error message explaining why Amazon Inspector deep inspection configurations
	// could not be retrieved for your account.
	ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string"`

	// The Amazon Inspector deep inspection custom paths for your organization.
	OrgPackagePaths []*string `locationName:"orgPackagePaths" type:"list"`

	// The Amazon Inspector deep inspection custom paths for your account.
	PackagePaths []*string `locationName:"packagePaths" type:"list"`

	// The activation status of Amazon Inspector deep inspection in your account.
	Status *string `locationName:"status" type:"string" enum:"Ec2DeepInspectionStatus"`
	// contains filtered or unexported fields
}

func (GetEc2DeepInspectionConfigurationOutput) GoString added in v1.44.256

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetEc2DeepInspectionConfigurationOutput) SetErrorMessage added in v1.44.256

SetErrorMessage sets the ErrorMessage field's value.

func (*GetEc2DeepInspectionConfigurationOutput) SetOrgPackagePaths added in v1.44.256

SetOrgPackagePaths sets the OrgPackagePaths field's value.

func (*GetEc2DeepInspectionConfigurationOutput) SetPackagePaths added in v1.44.256

SetPackagePaths sets the PackagePaths field's value.

func (*GetEc2DeepInspectionConfigurationOutput) SetStatus added in v1.44.256

SetStatus sets the Status field's value.

func (GetEc2DeepInspectionConfigurationOutput) String added in v1.44.256

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetEncryptionKeyInput added in v1.44.287

type GetEncryptionKeyInput struct {

	// The resource type the key encrypts.
	//
	// ResourceType is a required field
	ResourceType *string `location:"querystring" locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"`

	// The scan type the key encrypts.
	//
	// ScanType is a required field
	ScanType *string `location:"querystring" locationName:"scanType" type:"string" required:"true" enum:"ScanType"`
	// contains filtered or unexported fields
}

func (GetEncryptionKeyInput) GoString added in v1.44.287

func (s GetEncryptionKeyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetEncryptionKeyInput) SetResourceType added in v1.44.287

func (s *GetEncryptionKeyInput) SetResourceType(v string) *GetEncryptionKeyInput

SetResourceType sets the ResourceType field's value.

func (*GetEncryptionKeyInput) SetScanType added in v1.44.287

SetScanType sets the ScanType field's value.

func (GetEncryptionKeyInput) String added in v1.44.287

func (s GetEncryptionKeyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetEncryptionKeyInput) Validate added in v1.44.287

func (s *GetEncryptionKeyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetEncryptionKeyOutput added in v1.44.287

type GetEncryptionKeyOutput struct {

	// A kms key ID.
	//
	// KmsKeyId is a required field
	KmsKeyId *string `locationName:"kmsKeyId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetEncryptionKeyOutput) GoString added in v1.44.287

func (s GetEncryptionKeyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetEncryptionKeyOutput) SetKmsKeyId added in v1.44.287

SetKmsKeyId sets the KmsKeyId field's value.

func (GetEncryptionKeyOutput) String added in v1.44.287

func (s GetEncryptionKeyOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetFindingsReportStatusInput

type GetFindingsReportStatusInput struct {

	// The ID of the report to retrieve the status of.
	ReportId *string `locationName:"reportId" type:"string"`
	// contains filtered or unexported fields
}

func (GetFindingsReportStatusInput) GoString

func (s GetFindingsReportStatusInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetFindingsReportStatusInput) SetReportId

SetReportId sets the ReportId field's value.

func (GetFindingsReportStatusInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetFindingsReportStatusOutput

type GetFindingsReportStatusOutput struct {

	// The destination of the report.
	Destination *Destination `locationName:"destination" type:"structure"`

	// The error code of the report.
	ErrorCode *string `locationName:"errorCode" type:"string" enum:"ReportingErrorCode"`

	// The error message of the report.
	ErrorMessage *string `locationName:"errorMessage" type:"string"`

	// The filter criteria associated with the report.
	FilterCriteria *FilterCriteria `locationName:"filterCriteria" type:"structure"`

	// The ID of the report.
	ReportId *string `locationName:"reportId" type:"string"`

	// The status of the report.
	Status *string `locationName:"status" type:"string" enum:"ExternalReportStatus"`
	// contains filtered or unexported fields
}

func (GetFindingsReportStatusOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetFindingsReportStatusOutput) SetDestination

SetDestination sets the Destination field's value.

func (*GetFindingsReportStatusOutput) SetErrorCode

SetErrorCode sets the ErrorCode field's value.

func (*GetFindingsReportStatusOutput) SetErrorMessage

SetErrorMessage sets the ErrorMessage field's value.

func (*GetFindingsReportStatusOutput) SetFilterCriteria

SetFilterCriteria sets the FilterCriteria field's value.

func (*GetFindingsReportStatusOutput) SetReportId

SetReportId sets the ReportId field's value.

func (*GetFindingsReportStatusOutput) SetStatus

SetStatus sets the Status field's value.

func (GetFindingsReportStatusOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetMemberInput

type GetMemberInput struct {

	// The Amazon Web Services account ID of the member account to retrieve information
	// on.
	//
	// AccountId is a required field
	AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetMemberInput) GoString

func (s GetMemberInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMemberInput) SetAccountId

func (s *GetMemberInput) SetAccountId(v string) *GetMemberInput

SetAccountId sets the AccountId field's value.

func (GetMemberInput) String

func (s GetMemberInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMemberInput) Validate

func (s *GetMemberInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetMemberOutput

type GetMemberOutput struct {

	// Details of the retrieved member account.
	Member *Member `locationName:"member" type:"structure"`
	// contains filtered or unexported fields
}

func (GetMemberOutput) GoString

func (s GetMemberOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMemberOutput) SetMember

func (s *GetMemberOutput) SetMember(v *Member) *GetMemberOutput

SetMember sets the Member field's value.

func (GetMemberOutput) String

func (s GetMemberOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetSbomExportInput added in v1.44.287

type GetSbomExportInput struct {

	// The report ID of the SBOM export to get details for.
	//
	// ReportId is a required field
	ReportId *string `locationName:"reportId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetSbomExportInput) GoString added in v1.44.287

func (s GetSbomExportInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetSbomExportInput) SetReportId added in v1.44.287

func (s *GetSbomExportInput) SetReportId(v string) *GetSbomExportInput

SetReportId sets the ReportId field's value.

func (GetSbomExportInput) String added in v1.44.287

func (s GetSbomExportInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetSbomExportInput) Validate added in v1.44.287

func (s *GetSbomExportInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetSbomExportOutput added in v1.44.287

type GetSbomExportOutput struct {

	// An error code.
	ErrorCode *string `locationName:"errorCode" type:"string" enum:"ReportingErrorCode"`

	// An error message.
	ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string"`

	// Contains details about the resource filter criteria used for the software
	// bill of materials (SBOM) report.
	FilterCriteria *ResourceFilterCriteria `locationName:"filterCriteria" type:"structure"`

	// The format of the software bill of materials (SBOM) report.
	Format *string `locationName:"format" type:"string" enum:"SbomReportFormat"`

	// The report ID of the software bill of materials (SBOM) report.
	ReportId *string `locationName:"reportId" type:"string"`

	// Contains details of the Amazon S3 bucket and KMS key used to export findings.
	S3Destination *Destination `locationName:"s3Destination" type:"structure"`

	// The status of the software bill of materials (SBOM) report.
	Status *string `locationName:"status" type:"string" enum:"ExternalReportStatus"`
	// contains filtered or unexported fields
}

func (GetSbomExportOutput) GoString added in v1.44.287

func (s GetSbomExportOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetSbomExportOutput) SetErrorCode added in v1.44.287

func (s *GetSbomExportOutput) SetErrorCode(v string) *GetSbomExportOutput

SetErrorCode sets the ErrorCode field's value.

func (*GetSbomExportOutput) SetErrorMessage added in v1.44.287

func (s *GetSbomExportOutput) SetErrorMessage(v string) *GetSbomExportOutput

SetErrorMessage sets the ErrorMessage field's value.

func (*GetSbomExportOutput) SetFilterCriteria added in v1.44.287

SetFilterCriteria sets the FilterCriteria field's value.

func (*GetSbomExportOutput) SetFormat added in v1.44.287

SetFormat sets the Format field's value.

func (*GetSbomExportOutput) SetReportId added in v1.44.287

func (s *GetSbomExportOutput) SetReportId(v string) *GetSbomExportOutput

SetReportId sets the ReportId field's value.

func (*GetSbomExportOutput) SetS3Destination added in v1.44.287

func (s *GetSbomExportOutput) SetS3Destination(v *Destination) *GetSbomExportOutput

SetS3Destination sets the S3Destination field's value.

func (*GetSbomExportOutput) SetStatus added in v1.44.287

SetStatus sets the Status field's value.

func (GetSbomExportOutput) String added in v1.44.287

func (s GetSbomExportOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ImageLayerAggregation

type ImageLayerAggregation struct {

	// The hashes associated with the layers.
	LayerHashes []*StringFilter `locationName:"layerHashes" min:"1" type:"list"`

	// The repository associated with the container image hosting the layers.
	Repositories []*StringFilter `locationName:"repositories" min:"1" type:"list"`

	// The ID of the container image layer.
	ResourceIds []*StringFilter `locationName:"resourceIds" min:"1" type:"list"`

	// The value to sort results by.
	SortBy *string `locationName:"sortBy" type:"string" enum:"ImageLayerSortBy"`

	// The order to sort results by.
	SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrder"`
	// contains filtered or unexported fields
}

The details that define an aggregation based on container image layers.

func (ImageLayerAggregation) GoString

func (s ImageLayerAggregation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImageLayerAggregation) SetLayerHashes

func (s *ImageLayerAggregation) SetLayerHashes(v []*StringFilter) *ImageLayerAggregation

SetLayerHashes sets the LayerHashes field's value.

func (*ImageLayerAggregation) SetRepositories

func (s *ImageLayerAggregation) SetRepositories(v []*StringFilter) *ImageLayerAggregation

SetRepositories sets the Repositories field's value.

func (*ImageLayerAggregation) SetResourceIds

func (s *ImageLayerAggregation) SetResourceIds(v []*StringFilter) *ImageLayerAggregation

SetResourceIds sets the ResourceIds field's value.

func (*ImageLayerAggregation) SetSortBy

SetSortBy sets the SortBy field's value.

func (*ImageLayerAggregation) SetSortOrder

SetSortOrder sets the SortOrder field's value.

func (ImageLayerAggregation) String

func (s ImageLayerAggregation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImageLayerAggregation) Validate

func (s *ImageLayerAggregation) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ImageLayerAggregationResponse

type ImageLayerAggregationResponse struct {

	// The ID of the Amazon Web Services account that owns the container image hosting
	// the layer image.
	//
	// AccountId is a required field
	AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"`

	// The layer hash.
	//
	// LayerHash is a required field
	LayerHash *string `locationName:"layerHash" min:"1" type:"string" required:"true"`

	// The repository the layer resides in.
	//
	// Repository is a required field
	Repository *string `locationName:"repository" min:"1" type:"string" required:"true"`

	// The resource ID of the container image layer.
	//
	// ResourceId is a required field
	ResourceId *string `locationName:"resourceId" min:"1" type:"string" required:"true"`

	// An object that represents the count of matched findings per severity.
	SeverityCounts *SeverityCounts `locationName:"severityCounts" type:"structure"`
	// contains filtered or unexported fields
}

A response that contains the results of a finding aggregation by image layer.

func (ImageLayerAggregationResponse) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImageLayerAggregationResponse) SetAccountId

SetAccountId sets the AccountId field's value.

func (*ImageLayerAggregationResponse) SetLayerHash

SetLayerHash sets the LayerHash field's value.

func (*ImageLayerAggregationResponse) SetRepository

SetRepository sets the Repository field's value.

func (*ImageLayerAggregationResponse) SetResourceId

SetResourceId sets the ResourceId field's value.

func (*ImageLayerAggregationResponse) SetSeverityCounts

SetSeverityCounts sets the SeverityCounts field's value.

func (ImageLayerAggregationResponse) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Inspector2

type Inspector2 struct {
	*client.Client
}

Inspector2 provides the API operation methods for making requests to Inspector2. See this package's package overview docs for details on the service.

Inspector2 methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *Inspector2

New creates a new instance of the Inspector2 client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a Inspector2 client from just a session.
svc := inspector2.New(mySession)

// Create a Inspector2 client with additional configuration
svc := inspector2.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*Inspector2) AssociateMember

func (c *Inspector2) AssociateMember(input *AssociateMemberInput) (*AssociateMemberOutput, error)

AssociateMember API operation for Inspector2.

Associates an Amazon Web Services account with an Amazon Inspector delegated administrator. An HTTP 200 response indicates the association was successfully started, but doesn’t indicate whether it was completed. You can check if the association completed by using ListMembers (https://docs.aws.amazon.com/inspector/v2/APIReference/API_ListMembers.html) for multiple accounts or GetMembers (https://docs.aws.amazon.com/inspector/v2/APIReference/API_GetMember.html) for a single account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation AssociateMember for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/AssociateMember

func (*Inspector2) AssociateMemberRequest

func (c *Inspector2) AssociateMemberRequest(input *AssociateMemberInput) (req *request.Request, output *AssociateMemberOutput)

AssociateMemberRequest generates a "aws/request.Request" representing the client's request for the AssociateMember operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateMember for more information on using the AssociateMember API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateMemberRequest method.
req, resp := client.AssociateMemberRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/AssociateMember

func (*Inspector2) AssociateMemberWithContext

func (c *Inspector2) AssociateMemberWithContext(ctx aws.Context, input *AssociateMemberInput, opts ...request.Option) (*AssociateMemberOutput, error)

AssociateMemberWithContext is the same as AssociateMember with the addition of the ability to pass a context and additional request options.

See AssociateMember for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) BatchGetAccountStatus

func (c *Inspector2) BatchGetAccountStatus(input *BatchGetAccountStatusInput) (*BatchGetAccountStatusOutput, error)

BatchGetAccountStatus API operation for Inspector2.

Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation BatchGetAccountStatus for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetAccountStatus

func (*Inspector2) BatchGetAccountStatusRequest

func (c *Inspector2) BatchGetAccountStatusRequest(input *BatchGetAccountStatusInput) (req *request.Request, output *BatchGetAccountStatusOutput)

BatchGetAccountStatusRequest generates a "aws/request.Request" representing the client's request for the BatchGetAccountStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchGetAccountStatus for more information on using the BatchGetAccountStatus API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchGetAccountStatusRequest method.
req, resp := client.BatchGetAccountStatusRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetAccountStatus

func (*Inspector2) BatchGetAccountStatusWithContext

func (c *Inspector2) BatchGetAccountStatusWithContext(ctx aws.Context, input *BatchGetAccountStatusInput, opts ...request.Option) (*BatchGetAccountStatusOutput, error)

BatchGetAccountStatusWithContext is the same as BatchGetAccountStatus with the addition of the ability to pass a context and additional request options.

See BatchGetAccountStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) BatchGetCodeSnippet added in v1.44.287

func (c *Inspector2) BatchGetCodeSnippet(input *BatchGetCodeSnippetInput) (*BatchGetCodeSnippetOutput, error)

BatchGetCodeSnippet API operation for Inspector2.

Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation BatchGetCodeSnippet for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetCodeSnippet

func (*Inspector2) BatchGetCodeSnippetRequest added in v1.44.287

func (c *Inspector2) BatchGetCodeSnippetRequest(input *BatchGetCodeSnippetInput) (req *request.Request, output *BatchGetCodeSnippetOutput)

BatchGetCodeSnippetRequest generates a "aws/request.Request" representing the client's request for the BatchGetCodeSnippet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchGetCodeSnippet for more information on using the BatchGetCodeSnippet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchGetCodeSnippetRequest method.
req, resp := client.BatchGetCodeSnippetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetCodeSnippet

func (*Inspector2) BatchGetCodeSnippetWithContext added in v1.44.287

func (c *Inspector2) BatchGetCodeSnippetWithContext(ctx aws.Context, input *BatchGetCodeSnippetInput, opts ...request.Option) (*BatchGetCodeSnippetOutput, error)

BatchGetCodeSnippetWithContext is the same as BatchGetCodeSnippet with the addition of the ability to pass a context and additional request options.

See BatchGetCodeSnippet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) BatchGetFindingDetails added in v1.44.313

func (c *Inspector2) BatchGetFindingDetails(input *BatchGetFindingDetailsInput) (*BatchGetFindingDetailsOutput, error)

BatchGetFindingDetails API operation for Inspector2.

Gets vulnerability details for findings.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation BatchGetFindingDetails for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetFindingDetails

func (*Inspector2) BatchGetFindingDetailsRequest added in v1.44.313

func (c *Inspector2) BatchGetFindingDetailsRequest(input *BatchGetFindingDetailsInput) (req *request.Request, output *BatchGetFindingDetailsOutput)

BatchGetFindingDetailsRequest generates a "aws/request.Request" representing the client's request for the BatchGetFindingDetails operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchGetFindingDetails for more information on using the BatchGetFindingDetails API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchGetFindingDetailsRequest method.
req, resp := client.BatchGetFindingDetailsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetFindingDetails

func (*Inspector2) BatchGetFindingDetailsWithContext added in v1.44.313

func (c *Inspector2) BatchGetFindingDetailsWithContext(ctx aws.Context, input *BatchGetFindingDetailsInput, opts ...request.Option) (*BatchGetFindingDetailsOutput, error)

BatchGetFindingDetailsWithContext is the same as BatchGetFindingDetails with the addition of the ability to pass a context and additional request options.

See BatchGetFindingDetails for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) BatchGetFreeTrialInfo

func (c *Inspector2) BatchGetFreeTrialInfo(input *BatchGetFreeTrialInfoInput) (*BatchGetFreeTrialInfoOutput, error)

BatchGetFreeTrialInfo API operation for Inspector2.

Gets free trial status for multiple Amazon Web Services accounts.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation BatchGetFreeTrialInfo for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetFreeTrialInfo

func (*Inspector2) BatchGetFreeTrialInfoRequest

func (c *Inspector2) BatchGetFreeTrialInfoRequest(input *BatchGetFreeTrialInfoInput) (req *request.Request, output *BatchGetFreeTrialInfoOutput)

BatchGetFreeTrialInfoRequest generates a "aws/request.Request" representing the client's request for the BatchGetFreeTrialInfo operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchGetFreeTrialInfo for more information on using the BatchGetFreeTrialInfo API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchGetFreeTrialInfoRequest method.
req, resp := client.BatchGetFreeTrialInfoRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetFreeTrialInfo

func (*Inspector2) BatchGetFreeTrialInfoWithContext

func (c *Inspector2) BatchGetFreeTrialInfoWithContext(ctx aws.Context, input *BatchGetFreeTrialInfoInput, opts ...request.Option) (*BatchGetFreeTrialInfoOutput, error)

BatchGetFreeTrialInfoWithContext is the same as BatchGetFreeTrialInfo with the addition of the ability to pass a context and additional request options.

See BatchGetFreeTrialInfo for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) BatchGetMemberEc2DeepInspectionStatus added in v1.44.256

BatchGetMemberEc2DeepInspectionStatus API operation for Inspector2.

Retrieves Amazon Inspector deep inspection activation status of multiple member accounts within your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation BatchGetMemberEc2DeepInspectionStatus for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetMemberEc2DeepInspectionStatus

func (*Inspector2) BatchGetMemberEc2DeepInspectionStatusRequest added in v1.44.256

func (c *Inspector2) BatchGetMemberEc2DeepInspectionStatusRequest(input *BatchGetMemberEc2DeepInspectionStatusInput) (req *request.Request, output *BatchGetMemberEc2DeepInspectionStatusOutput)

BatchGetMemberEc2DeepInspectionStatusRequest generates a "aws/request.Request" representing the client's request for the BatchGetMemberEc2DeepInspectionStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchGetMemberEc2DeepInspectionStatus for more information on using the BatchGetMemberEc2DeepInspectionStatus API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchGetMemberEc2DeepInspectionStatusRequest method.
req, resp := client.BatchGetMemberEc2DeepInspectionStatusRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetMemberEc2DeepInspectionStatus

func (*Inspector2) BatchGetMemberEc2DeepInspectionStatusWithContext added in v1.44.256

func (c *Inspector2) BatchGetMemberEc2DeepInspectionStatusWithContext(ctx aws.Context, input *BatchGetMemberEc2DeepInspectionStatusInput, opts ...request.Option) (*BatchGetMemberEc2DeepInspectionStatusOutput, error)

BatchGetMemberEc2DeepInspectionStatusWithContext is the same as BatchGetMemberEc2DeepInspectionStatus with the addition of the ability to pass a context and additional request options.

See BatchGetMemberEc2DeepInspectionStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) BatchUpdateMemberEc2DeepInspectionStatus added in v1.44.256

BatchUpdateMemberEc2DeepInspectionStatus API operation for Inspector2.

Activates or deactivates Amazon Inspector deep inspection for the provided member accounts in your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation BatchUpdateMemberEc2DeepInspectionStatus for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchUpdateMemberEc2DeepInspectionStatus

func (*Inspector2) BatchUpdateMemberEc2DeepInspectionStatusRequest added in v1.44.256

func (c *Inspector2) BatchUpdateMemberEc2DeepInspectionStatusRequest(input *BatchUpdateMemberEc2DeepInspectionStatusInput) (req *request.Request, output *BatchUpdateMemberEc2DeepInspectionStatusOutput)

BatchUpdateMemberEc2DeepInspectionStatusRequest generates a "aws/request.Request" representing the client's request for the BatchUpdateMemberEc2DeepInspectionStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchUpdateMemberEc2DeepInspectionStatus for more information on using the BatchUpdateMemberEc2DeepInspectionStatus API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchUpdateMemberEc2DeepInspectionStatusRequest method.
req, resp := client.BatchUpdateMemberEc2DeepInspectionStatusRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchUpdateMemberEc2DeepInspectionStatus

func (*Inspector2) BatchUpdateMemberEc2DeepInspectionStatusWithContext added in v1.44.256

func (c *Inspector2) BatchUpdateMemberEc2DeepInspectionStatusWithContext(ctx aws.Context, input *BatchUpdateMemberEc2DeepInspectionStatusInput, opts ...request.Option) (*BatchUpdateMemberEc2DeepInspectionStatusOutput, error)

BatchUpdateMemberEc2DeepInspectionStatusWithContext is the same as BatchUpdateMemberEc2DeepInspectionStatus with the addition of the ability to pass a context and additional request options.

See BatchUpdateMemberEc2DeepInspectionStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) CancelFindingsReport

func (c *Inspector2) CancelFindingsReport(input *CancelFindingsReportInput) (*CancelFindingsReportOutput, error)

CancelFindingsReport API operation for Inspector2.

Cancels the given findings report.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation CancelFindingsReport for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CancelFindingsReport

func (*Inspector2) CancelFindingsReportRequest

func (c *Inspector2) CancelFindingsReportRequest(input *CancelFindingsReportInput) (req *request.Request, output *CancelFindingsReportOutput)

CancelFindingsReportRequest generates a "aws/request.Request" representing the client's request for the CancelFindingsReport operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CancelFindingsReport for more information on using the CancelFindingsReport API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CancelFindingsReportRequest method.
req, resp := client.CancelFindingsReportRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CancelFindingsReport

func (*Inspector2) CancelFindingsReportWithContext

func (c *Inspector2) CancelFindingsReportWithContext(ctx aws.Context, input *CancelFindingsReportInput, opts ...request.Option) (*CancelFindingsReportOutput, error)

CancelFindingsReportWithContext is the same as CancelFindingsReport with the addition of the ability to pass a context and additional request options.

See CancelFindingsReport for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) CancelSbomExport added in v1.44.287

func (c *Inspector2) CancelSbomExport(input *CancelSbomExportInput) (*CancelSbomExportOutput, error)

CancelSbomExport API operation for Inspector2.

Cancels a software bill of materials (SBOM) report.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation CancelSbomExport for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CancelSbomExport

func (*Inspector2) CancelSbomExportRequest added in v1.44.287

func (c *Inspector2) CancelSbomExportRequest(input *CancelSbomExportInput) (req *request.Request, output *CancelSbomExportOutput)

CancelSbomExportRequest generates a "aws/request.Request" representing the client's request for the CancelSbomExport operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CancelSbomExport for more information on using the CancelSbomExport API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CancelSbomExportRequest method.
req, resp := client.CancelSbomExportRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CancelSbomExport

func (*Inspector2) CancelSbomExportWithContext added in v1.44.287

func (c *Inspector2) CancelSbomExportWithContext(ctx aws.Context, input *CancelSbomExportInput, opts ...request.Option) (*CancelSbomExportOutput, error)

CancelSbomExportWithContext is the same as CancelSbomExport with the addition of the ability to pass a context and additional request options.

See CancelSbomExport for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) CreateFilter

func (c *Inspector2) CreateFilter(input *CreateFilterInput) (*CreateFilterOutput, error)

CreateFilter API operation for Inspector2.

Creates a filter resource using specified filter criteria. When the filter action is set to SUPPRESS this action creates a suppression rule.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation CreateFilter for usage and error information.

Returned Error Types:

  • ServiceQuotaExceededException You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.

  • BadRequestException One or more tags submitted as part of the request is not valid.

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateFilter

func (*Inspector2) CreateFilterRequest

func (c *Inspector2) CreateFilterRequest(input *CreateFilterInput) (req *request.Request, output *CreateFilterOutput)

CreateFilterRequest generates a "aws/request.Request" representing the client's request for the CreateFilter operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateFilter for more information on using the CreateFilter API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateFilterRequest method.
req, resp := client.CreateFilterRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateFilter

func (*Inspector2) CreateFilterWithContext

func (c *Inspector2) CreateFilterWithContext(ctx aws.Context, input *CreateFilterInput, opts ...request.Option) (*CreateFilterOutput, error)

CreateFilterWithContext is the same as CreateFilter with the addition of the ability to pass a context and additional request options.

See CreateFilter for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) CreateFindingsReport

func (c *Inspector2) CreateFindingsReport(input *CreateFindingsReportInput) (*CreateFindingsReportOutput, error)

CreateFindingsReport API operation for Inspector2.

Creates a finding report. By default only ACTIVE findings are returned in the report. To see SUPRESSED or CLOSED findings you must specify a value for the findingStatus filter criteria.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation CreateFindingsReport for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateFindingsReport

func (*Inspector2) CreateFindingsReportRequest

func (c *Inspector2) CreateFindingsReportRequest(input *CreateFindingsReportInput) (req *request.Request, output *CreateFindingsReportOutput)

CreateFindingsReportRequest generates a "aws/request.Request" representing the client's request for the CreateFindingsReport operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateFindingsReport for more information on using the CreateFindingsReport API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateFindingsReportRequest method.
req, resp := client.CreateFindingsReportRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateFindingsReport

func (*Inspector2) CreateFindingsReportWithContext

func (c *Inspector2) CreateFindingsReportWithContext(ctx aws.Context, input *CreateFindingsReportInput, opts ...request.Option) (*CreateFindingsReportOutput, error)

CreateFindingsReportWithContext is the same as CreateFindingsReport with the addition of the ability to pass a context and additional request options.

See CreateFindingsReport for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) CreateSbomExport added in v1.44.287

func (c *Inspector2) CreateSbomExport(input *CreateSbomExportInput) (*CreateSbomExportOutput, error)

CreateSbomExport API operation for Inspector2.

Creates a software bill of materials (SBOM) report.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation CreateSbomExport for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateSbomExport

func (*Inspector2) CreateSbomExportRequest added in v1.44.287

func (c *Inspector2) CreateSbomExportRequest(input *CreateSbomExportInput) (req *request.Request, output *CreateSbomExportOutput)

CreateSbomExportRequest generates a "aws/request.Request" representing the client's request for the CreateSbomExport operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateSbomExport for more information on using the CreateSbomExport API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateSbomExportRequest method.
req, resp := client.CreateSbomExportRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateSbomExport

func (*Inspector2) CreateSbomExportWithContext added in v1.44.287

func (c *Inspector2) CreateSbomExportWithContext(ctx aws.Context, input *CreateSbomExportInput, opts ...request.Option) (*CreateSbomExportOutput, error)

CreateSbomExportWithContext is the same as CreateSbomExport with the addition of the ability to pass a context and additional request options.

See CreateSbomExport for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) DeleteFilter

func (c *Inspector2) DeleteFilter(input *DeleteFilterInput) (*DeleteFilterOutput, error)

DeleteFilter API operation for Inspector2.

Deletes a filter resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation DeleteFilter for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DeleteFilter

func (*Inspector2) DeleteFilterRequest

func (c *Inspector2) DeleteFilterRequest(input *DeleteFilterInput) (req *request.Request, output *DeleteFilterOutput)

DeleteFilterRequest generates a "aws/request.Request" representing the client's request for the DeleteFilter operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteFilter for more information on using the DeleteFilter API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteFilterRequest method.
req, resp := client.DeleteFilterRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DeleteFilter

func (*Inspector2) DeleteFilterWithContext

func (c *Inspector2) DeleteFilterWithContext(ctx aws.Context, input *DeleteFilterInput, opts ...request.Option) (*DeleteFilterOutput, error)

DeleteFilterWithContext is the same as DeleteFilter with the addition of the ability to pass a context and additional request options.

See DeleteFilter for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) DescribeOrganizationConfiguration

DescribeOrganizationConfiguration API operation for Inspector2.

Describe Amazon Inspector configuration settings for an Amazon Web Services organization.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation DescribeOrganizationConfiguration for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DescribeOrganizationConfiguration

func (*Inspector2) DescribeOrganizationConfigurationRequest

func (c *Inspector2) DescribeOrganizationConfigurationRequest(input *DescribeOrganizationConfigurationInput) (req *request.Request, output *DescribeOrganizationConfigurationOutput)

DescribeOrganizationConfigurationRequest generates a "aws/request.Request" representing the client's request for the DescribeOrganizationConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeOrganizationConfiguration for more information on using the DescribeOrganizationConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeOrganizationConfigurationRequest method.
req, resp := client.DescribeOrganizationConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DescribeOrganizationConfiguration

func (*Inspector2) DescribeOrganizationConfigurationWithContext

func (c *Inspector2) DescribeOrganizationConfigurationWithContext(ctx aws.Context, input *DescribeOrganizationConfigurationInput, opts ...request.Option) (*DescribeOrganizationConfigurationOutput, error)

DescribeOrganizationConfigurationWithContext is the same as DescribeOrganizationConfiguration with the addition of the ability to pass a context and additional request options.

See DescribeOrganizationConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) Disable

func (c *Inspector2) Disable(input *DisableInput) (*DisableOutput, error)

Disable API operation for Inspector2.

Disables Amazon Inspector scans for one or more Amazon Web Services accounts. Disabling all scan types in an account disables the Amazon Inspector service.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation Disable for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Disable

func (*Inspector2) DisableDelegatedAdminAccount

func (c *Inspector2) DisableDelegatedAdminAccount(input *DisableDelegatedAdminAccountInput) (*DisableDelegatedAdminAccountOutput, error)

DisableDelegatedAdminAccount API operation for Inspector2.

Disables the Amazon Inspector delegated administrator for your organization.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation DisableDelegatedAdminAccount for usage and error information.

Returned Error Types:

  • ConflictException A conflict occurred.

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DisableDelegatedAdminAccount

func (*Inspector2) DisableDelegatedAdminAccountRequest

func (c *Inspector2) DisableDelegatedAdminAccountRequest(input *DisableDelegatedAdminAccountInput) (req *request.Request, output *DisableDelegatedAdminAccountOutput)

DisableDelegatedAdminAccountRequest generates a "aws/request.Request" representing the client's request for the DisableDelegatedAdminAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisableDelegatedAdminAccount for more information on using the DisableDelegatedAdminAccount API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisableDelegatedAdminAccountRequest method.
req, resp := client.DisableDelegatedAdminAccountRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DisableDelegatedAdminAccount

func (*Inspector2) DisableDelegatedAdminAccountWithContext

func (c *Inspector2) DisableDelegatedAdminAccountWithContext(ctx aws.Context, input *DisableDelegatedAdminAccountInput, opts ...request.Option) (*DisableDelegatedAdminAccountOutput, error)

DisableDelegatedAdminAccountWithContext is the same as DisableDelegatedAdminAccount with the addition of the ability to pass a context and additional request options.

See DisableDelegatedAdminAccount for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) DisableRequest

func (c *Inspector2) DisableRequest(input *DisableInput) (req *request.Request, output *DisableOutput)

DisableRequest generates a "aws/request.Request" representing the client's request for the Disable operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See Disable for more information on using the Disable API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisableRequest method.
req, resp := client.DisableRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Disable

func (*Inspector2) DisableWithContext

func (c *Inspector2) DisableWithContext(ctx aws.Context, input *DisableInput, opts ...request.Option) (*DisableOutput, error)

DisableWithContext is the same as Disable with the addition of the ability to pass a context and additional request options.

See Disable for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) DisassociateMember

func (c *Inspector2) DisassociateMember(input *DisassociateMemberInput) (*DisassociateMemberOutput, error)

DisassociateMember API operation for Inspector2.

Disassociates a member account from an Amazon Inspector delegated administrator.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation DisassociateMember for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DisassociateMember

func (*Inspector2) DisassociateMemberRequest

func (c *Inspector2) DisassociateMemberRequest(input *DisassociateMemberInput) (req *request.Request, output *DisassociateMemberOutput)

DisassociateMemberRequest generates a "aws/request.Request" representing the client's request for the DisassociateMember operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateMember for more information on using the DisassociateMember API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateMemberRequest method.
req, resp := client.DisassociateMemberRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DisassociateMember

func (*Inspector2) DisassociateMemberWithContext

func (c *Inspector2) DisassociateMemberWithContext(ctx aws.Context, input *DisassociateMemberInput, opts ...request.Option) (*DisassociateMemberOutput, error)

DisassociateMemberWithContext is the same as DisassociateMember with the addition of the ability to pass a context and additional request options.

See DisassociateMember for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) Enable

func (c *Inspector2) Enable(input *EnableInput) (*EnableOutput, error)

Enable API operation for Inspector2.

Enables Amazon Inspector scans for one or more Amazon Web Services accounts.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation Enable for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Enable

func (*Inspector2) EnableDelegatedAdminAccount

func (c *Inspector2) EnableDelegatedAdminAccount(input *EnableDelegatedAdminAccountInput) (*EnableDelegatedAdminAccountOutput, error)

EnableDelegatedAdminAccount API operation for Inspector2.

Enables the Amazon Inspector delegated administrator for your Organizations organization.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation EnableDelegatedAdminAccount for usage and error information.

Returned Error Types:

  • ConflictException A conflict occurred.

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/EnableDelegatedAdminAccount

func (*Inspector2) EnableDelegatedAdminAccountRequest

func (c *Inspector2) EnableDelegatedAdminAccountRequest(input *EnableDelegatedAdminAccountInput) (req *request.Request, output *EnableDelegatedAdminAccountOutput)

EnableDelegatedAdminAccountRequest generates a "aws/request.Request" representing the client's request for the EnableDelegatedAdminAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See EnableDelegatedAdminAccount for more information on using the EnableDelegatedAdminAccount API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the EnableDelegatedAdminAccountRequest method.
req, resp := client.EnableDelegatedAdminAccountRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/EnableDelegatedAdminAccount

func (*Inspector2) EnableDelegatedAdminAccountWithContext

func (c *Inspector2) EnableDelegatedAdminAccountWithContext(ctx aws.Context, input *EnableDelegatedAdminAccountInput, opts ...request.Option) (*EnableDelegatedAdminAccountOutput, error)

EnableDelegatedAdminAccountWithContext is the same as EnableDelegatedAdminAccount with the addition of the ability to pass a context and additional request options.

See EnableDelegatedAdminAccount for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) EnableRequest

func (c *Inspector2) EnableRequest(input *EnableInput) (req *request.Request, output *EnableOutput)

EnableRequest generates a "aws/request.Request" representing the client's request for the Enable operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See Enable for more information on using the Enable API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the EnableRequest method.
req, resp := client.EnableRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Enable

func (*Inspector2) EnableWithContext

func (c *Inspector2) EnableWithContext(ctx aws.Context, input *EnableInput, opts ...request.Option) (*EnableOutput, error)

EnableWithContext is the same as Enable with the addition of the ability to pass a context and additional request options.

See Enable for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) GetConfiguration added in v1.44.55

func (c *Inspector2) GetConfiguration(input *GetConfigurationInput) (*GetConfigurationOutput, error)

GetConfiguration API operation for Inspector2.

Retrieves setting configurations for Inspector scans.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation GetConfiguration for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetConfiguration

func (*Inspector2) GetConfigurationRequest added in v1.44.55

func (c *Inspector2) GetConfigurationRequest(input *GetConfigurationInput) (req *request.Request, output *GetConfigurationOutput)

GetConfigurationRequest generates a "aws/request.Request" representing the client's request for the GetConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetConfiguration for more information on using the GetConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetConfigurationRequest method.
req, resp := client.GetConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetConfiguration

func (*Inspector2) GetConfigurationWithContext added in v1.44.55

func (c *Inspector2) GetConfigurationWithContext(ctx aws.Context, input *GetConfigurationInput, opts ...request.Option) (*GetConfigurationOutput, error)

GetConfigurationWithContext is the same as GetConfiguration with the addition of the ability to pass a context and additional request options.

See GetConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) GetDelegatedAdminAccount

func (c *Inspector2) GetDelegatedAdminAccount(input *GetDelegatedAdminAccountInput) (*GetDelegatedAdminAccountOutput, error)

GetDelegatedAdminAccount API operation for Inspector2.

Retrieves information about the Amazon Inspector delegated administrator for your organization.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation GetDelegatedAdminAccount for usage and error information.

Returned Error Types:

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetDelegatedAdminAccount

func (*Inspector2) GetDelegatedAdminAccountRequest

func (c *Inspector2) GetDelegatedAdminAccountRequest(input *GetDelegatedAdminAccountInput) (req *request.Request, output *GetDelegatedAdminAccountOutput)

GetDelegatedAdminAccountRequest generates a "aws/request.Request" representing the client's request for the GetDelegatedAdminAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDelegatedAdminAccount for more information on using the GetDelegatedAdminAccount API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDelegatedAdminAccountRequest method.
req, resp := client.GetDelegatedAdminAccountRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetDelegatedAdminAccount

func (*Inspector2) GetDelegatedAdminAccountWithContext

func (c *Inspector2) GetDelegatedAdminAccountWithContext(ctx aws.Context, input *GetDelegatedAdminAccountInput, opts ...request.Option) (*GetDelegatedAdminAccountOutput, error)

GetDelegatedAdminAccountWithContext is the same as GetDelegatedAdminAccount with the addition of the ability to pass a context and additional request options.

See GetDelegatedAdminAccount for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) GetEc2DeepInspectionConfiguration added in v1.44.256

GetEc2DeepInspectionConfiguration API operation for Inspector2.

Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation GetEc2DeepInspectionConfiguration for usage and error information.

Returned Error Types:

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetEc2DeepInspectionConfiguration

func (*Inspector2) GetEc2DeepInspectionConfigurationRequest added in v1.44.256

func (c *Inspector2) GetEc2DeepInspectionConfigurationRequest(input *GetEc2DeepInspectionConfigurationInput) (req *request.Request, output *GetEc2DeepInspectionConfigurationOutput)

GetEc2DeepInspectionConfigurationRequest generates a "aws/request.Request" representing the client's request for the GetEc2DeepInspectionConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetEc2DeepInspectionConfiguration for more information on using the GetEc2DeepInspectionConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetEc2DeepInspectionConfigurationRequest method.
req, resp := client.GetEc2DeepInspectionConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetEc2DeepInspectionConfiguration

func (*Inspector2) GetEc2DeepInspectionConfigurationWithContext added in v1.44.256

func (c *Inspector2) GetEc2DeepInspectionConfigurationWithContext(ctx aws.Context, input *GetEc2DeepInspectionConfigurationInput, opts ...request.Option) (*GetEc2DeepInspectionConfigurationOutput, error)

GetEc2DeepInspectionConfigurationWithContext is the same as GetEc2DeepInspectionConfiguration with the addition of the ability to pass a context and additional request options.

See GetEc2DeepInspectionConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) GetEncryptionKey added in v1.44.287

func (c *Inspector2) GetEncryptionKey(input *GetEncryptionKeyInput) (*GetEncryptionKeyOutput, error)

GetEncryptionKey API operation for Inspector2.

Gets an encryption key.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation GetEncryptionKey for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetEncryptionKey

func (*Inspector2) GetEncryptionKeyRequest added in v1.44.287

func (c *Inspector2) GetEncryptionKeyRequest(input *GetEncryptionKeyInput) (req *request.Request, output *GetEncryptionKeyOutput)

GetEncryptionKeyRequest generates a "aws/request.Request" representing the client's request for the GetEncryptionKey operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetEncryptionKey for more information on using the GetEncryptionKey API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetEncryptionKeyRequest method.
req, resp := client.GetEncryptionKeyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetEncryptionKey

func (*Inspector2) GetEncryptionKeyWithContext added in v1.44.287

func (c *Inspector2) GetEncryptionKeyWithContext(ctx aws.Context, input *GetEncryptionKeyInput, opts ...request.Option) (*GetEncryptionKeyOutput, error)

GetEncryptionKeyWithContext is the same as GetEncryptionKey with the addition of the ability to pass a context and additional request options.

See GetEncryptionKey for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) GetFindingsReportStatus

func (c *Inspector2) GetFindingsReportStatus(input *GetFindingsReportStatusInput) (*GetFindingsReportStatusOutput, error)

GetFindingsReportStatus API operation for Inspector2.

Gets the status of a findings report.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation GetFindingsReportStatus for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetFindingsReportStatus

func (*Inspector2) GetFindingsReportStatusRequest

func (c *Inspector2) GetFindingsReportStatusRequest(input *GetFindingsReportStatusInput) (req *request.Request, output *GetFindingsReportStatusOutput)

GetFindingsReportStatusRequest generates a "aws/request.Request" representing the client's request for the GetFindingsReportStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetFindingsReportStatus for more information on using the GetFindingsReportStatus API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetFindingsReportStatusRequest method.
req, resp := client.GetFindingsReportStatusRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetFindingsReportStatus

func (*Inspector2) GetFindingsReportStatusWithContext

func (c *Inspector2) GetFindingsReportStatusWithContext(ctx aws.Context, input *GetFindingsReportStatusInput, opts ...request.Option) (*GetFindingsReportStatusOutput, error)

GetFindingsReportStatusWithContext is the same as GetFindingsReportStatus with the addition of the ability to pass a context and additional request options.

See GetFindingsReportStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) GetMember

func (c *Inspector2) GetMember(input *GetMemberInput) (*GetMemberOutput, error)

GetMember API operation for Inspector2.

Gets member information for your organization.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation GetMember for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetMember

func (*Inspector2) GetMemberRequest

func (c *Inspector2) GetMemberRequest(input *GetMemberInput) (req *request.Request, output *GetMemberOutput)

GetMemberRequest generates a "aws/request.Request" representing the client's request for the GetMember operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMember for more information on using the GetMember API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMemberRequest method.
req, resp := client.GetMemberRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetMember

func (*Inspector2) GetMemberWithContext

func (c *Inspector2) GetMemberWithContext(ctx aws.Context, input *GetMemberInput, opts ...request.Option) (*GetMemberOutput, error)

GetMemberWithContext is the same as GetMember with the addition of the ability to pass a context and additional request options.

See GetMember for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) GetSbomExport added in v1.44.287

func (c *Inspector2) GetSbomExport(input *GetSbomExportInput) (*GetSbomExportOutput, error)

GetSbomExport API operation for Inspector2.

Gets details of a software bill of materials (SBOM) report.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation GetSbomExport for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetSbomExport

func (*Inspector2) GetSbomExportRequest added in v1.44.287

func (c *Inspector2) GetSbomExportRequest(input *GetSbomExportInput) (req *request.Request, output *GetSbomExportOutput)

GetSbomExportRequest generates a "aws/request.Request" representing the client's request for the GetSbomExport operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetSbomExport for more information on using the GetSbomExport API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetSbomExportRequest method.
req, resp := client.GetSbomExportRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetSbomExport

func (*Inspector2) GetSbomExportWithContext added in v1.44.287

func (c *Inspector2) GetSbomExportWithContext(ctx aws.Context, input *GetSbomExportInput, opts ...request.Option) (*GetSbomExportOutput, error)

GetSbomExportWithContext is the same as GetSbomExport with the addition of the ability to pass a context and additional request options.

See GetSbomExport for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListAccountPermissions

func (c *Inspector2) ListAccountPermissions(input *ListAccountPermissionsInput) (*ListAccountPermissionsOutput, error)

ListAccountPermissions API operation for Inspector2.

Lists the permissions an account has to configure Amazon Inspector.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation ListAccountPermissions for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListAccountPermissions

func (*Inspector2) ListAccountPermissionsPages

func (c *Inspector2) ListAccountPermissionsPages(input *ListAccountPermissionsInput, fn func(*ListAccountPermissionsOutput, bool) bool) error

ListAccountPermissionsPages iterates over the pages of a ListAccountPermissions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListAccountPermissions method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListAccountPermissions operation.
pageNum := 0
err := client.ListAccountPermissionsPages(params,
    func(page *inspector2.ListAccountPermissionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Inspector2) ListAccountPermissionsPagesWithContext

func (c *Inspector2) ListAccountPermissionsPagesWithContext(ctx aws.Context, input *ListAccountPermissionsInput, fn func(*ListAccountPermissionsOutput, bool) bool, opts ...request.Option) error

ListAccountPermissionsPagesWithContext same as ListAccountPermissionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListAccountPermissionsRequest

func (c *Inspector2) ListAccountPermissionsRequest(input *ListAccountPermissionsInput) (req *request.Request, output *ListAccountPermissionsOutput)

ListAccountPermissionsRequest generates a "aws/request.Request" representing the client's request for the ListAccountPermissions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListAccountPermissions for more information on using the ListAccountPermissions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListAccountPermissionsRequest method.
req, resp := client.ListAccountPermissionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListAccountPermissions

func (*Inspector2) ListAccountPermissionsWithContext

func (c *Inspector2) ListAccountPermissionsWithContext(ctx aws.Context, input *ListAccountPermissionsInput, opts ...request.Option) (*ListAccountPermissionsOutput, error)

ListAccountPermissionsWithContext is the same as ListAccountPermissions with the addition of the ability to pass a context and additional request options.

See ListAccountPermissions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListCoverage

func (c *Inspector2) ListCoverage(input *ListCoverageInput) (*ListCoverageOutput, error)

ListCoverage API operation for Inspector2.

Lists coverage details for you environment.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation ListCoverage for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCoverage

func (*Inspector2) ListCoveragePages

func (c *Inspector2) ListCoveragePages(input *ListCoverageInput, fn func(*ListCoverageOutput, bool) bool) error

ListCoveragePages iterates over the pages of a ListCoverage operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListCoverage method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListCoverage operation.
pageNum := 0
err := client.ListCoveragePages(params,
    func(page *inspector2.ListCoverageOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Inspector2) ListCoveragePagesWithContext

func (c *Inspector2) ListCoveragePagesWithContext(ctx aws.Context, input *ListCoverageInput, fn func(*ListCoverageOutput, bool) bool, opts ...request.Option) error

ListCoveragePagesWithContext same as ListCoveragePages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListCoverageRequest

func (c *Inspector2) ListCoverageRequest(input *ListCoverageInput) (req *request.Request, output *ListCoverageOutput)

ListCoverageRequest generates a "aws/request.Request" representing the client's request for the ListCoverage operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListCoverage for more information on using the ListCoverage API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListCoverageRequest method.
req, resp := client.ListCoverageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCoverage

func (*Inspector2) ListCoverageStatistics

func (c *Inspector2) ListCoverageStatistics(input *ListCoverageStatisticsInput) (*ListCoverageStatisticsOutput, error)

ListCoverageStatistics API operation for Inspector2.

Lists Amazon Inspector coverage statistics for your environment.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation ListCoverageStatistics for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCoverageStatistics

func (*Inspector2) ListCoverageStatisticsPages

func (c *Inspector2) ListCoverageStatisticsPages(input *ListCoverageStatisticsInput, fn func(*ListCoverageStatisticsOutput, bool) bool) error

ListCoverageStatisticsPages iterates over the pages of a ListCoverageStatistics operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListCoverageStatistics method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListCoverageStatistics operation.
pageNum := 0
err := client.ListCoverageStatisticsPages(params,
    func(page *inspector2.ListCoverageStatisticsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Inspector2) ListCoverageStatisticsPagesWithContext

func (c *Inspector2) ListCoverageStatisticsPagesWithContext(ctx aws.Context, input *ListCoverageStatisticsInput, fn func(*ListCoverageStatisticsOutput, bool) bool, opts ...request.Option) error

ListCoverageStatisticsPagesWithContext same as ListCoverageStatisticsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListCoverageStatisticsRequest

func (c *Inspector2) ListCoverageStatisticsRequest(input *ListCoverageStatisticsInput) (req *request.Request, output *ListCoverageStatisticsOutput)

ListCoverageStatisticsRequest generates a "aws/request.Request" representing the client's request for the ListCoverageStatistics operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListCoverageStatistics for more information on using the ListCoverageStatistics API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListCoverageStatisticsRequest method.
req, resp := client.ListCoverageStatisticsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCoverageStatistics

func (*Inspector2) ListCoverageStatisticsWithContext

func (c *Inspector2) ListCoverageStatisticsWithContext(ctx aws.Context, input *ListCoverageStatisticsInput, opts ...request.Option) (*ListCoverageStatisticsOutput, error)

ListCoverageStatisticsWithContext is the same as ListCoverageStatistics with the addition of the ability to pass a context and additional request options.

See ListCoverageStatistics for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListCoverageWithContext

func (c *Inspector2) ListCoverageWithContext(ctx aws.Context, input *ListCoverageInput, opts ...request.Option) (*ListCoverageOutput, error)

ListCoverageWithContext is the same as ListCoverage with the addition of the ability to pass a context and additional request options.

See ListCoverage for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListDelegatedAdminAccounts

func (c *Inspector2) ListDelegatedAdminAccounts(input *ListDelegatedAdminAccountsInput) (*ListDelegatedAdminAccountsOutput, error)

ListDelegatedAdminAccounts API operation for Inspector2.

Lists information about the Amazon Inspector delegated administrator of your organization.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation ListDelegatedAdminAccounts for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListDelegatedAdminAccounts

func (*Inspector2) ListDelegatedAdminAccountsPages

func (c *Inspector2) ListDelegatedAdminAccountsPages(input *ListDelegatedAdminAccountsInput, fn func(*ListDelegatedAdminAccountsOutput, bool) bool) error

ListDelegatedAdminAccountsPages iterates over the pages of a ListDelegatedAdminAccounts operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListDelegatedAdminAccounts method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListDelegatedAdminAccounts operation.
pageNum := 0
err := client.ListDelegatedAdminAccountsPages(params,
    func(page *inspector2.ListDelegatedAdminAccountsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Inspector2) ListDelegatedAdminAccountsPagesWithContext

func (c *Inspector2) ListDelegatedAdminAccountsPagesWithContext(ctx aws.Context, input *ListDelegatedAdminAccountsInput, fn func(*ListDelegatedAdminAccountsOutput, bool) bool, opts ...request.Option) error

ListDelegatedAdminAccountsPagesWithContext same as ListDelegatedAdminAccountsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListDelegatedAdminAccountsRequest

func (c *Inspector2) ListDelegatedAdminAccountsRequest(input *ListDelegatedAdminAccountsInput) (req *request.Request, output *ListDelegatedAdminAccountsOutput)

ListDelegatedAdminAccountsRequest generates a "aws/request.Request" representing the client's request for the ListDelegatedAdminAccounts operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListDelegatedAdminAccounts for more information on using the ListDelegatedAdminAccounts API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListDelegatedAdminAccountsRequest method.
req, resp := client.ListDelegatedAdminAccountsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListDelegatedAdminAccounts

func (*Inspector2) ListDelegatedAdminAccountsWithContext

func (c *Inspector2) ListDelegatedAdminAccountsWithContext(ctx aws.Context, input *ListDelegatedAdminAccountsInput, opts ...request.Option) (*ListDelegatedAdminAccountsOutput, error)

ListDelegatedAdminAccountsWithContext is the same as ListDelegatedAdminAccounts with the addition of the ability to pass a context and additional request options.

See ListDelegatedAdminAccounts for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListFilters

func (c *Inspector2) ListFilters(input *ListFiltersInput) (*ListFiltersOutput, error)

ListFilters API operation for Inspector2.

Lists the filters associated with your account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation ListFilters for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListFilters

func (*Inspector2) ListFiltersPages

func (c *Inspector2) ListFiltersPages(input *ListFiltersInput, fn func(*ListFiltersOutput, bool) bool) error

ListFiltersPages iterates over the pages of a ListFilters operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListFilters method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListFilters operation.
pageNum := 0
err := client.ListFiltersPages(params,
    func(page *inspector2.ListFiltersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Inspector2) ListFiltersPagesWithContext

func (c *Inspector2) ListFiltersPagesWithContext(ctx aws.Context, input *ListFiltersInput, fn func(*ListFiltersOutput, bool) bool, opts ...request.Option) error

ListFiltersPagesWithContext same as ListFiltersPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListFiltersRequest

func (c *Inspector2) ListFiltersRequest(input *ListFiltersInput) (req *request.Request, output *ListFiltersOutput)

ListFiltersRequest generates a "aws/request.Request" representing the client's request for the ListFilters operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListFilters for more information on using the ListFilters API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListFiltersRequest method.
req, resp := client.ListFiltersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListFilters

func (*Inspector2) ListFiltersWithContext

func (c *Inspector2) ListFiltersWithContext(ctx aws.Context, input *ListFiltersInput, opts ...request.Option) (*ListFiltersOutput, error)

ListFiltersWithContext is the same as ListFilters with the addition of the ability to pass a context and additional request options.

See ListFilters for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListFindingAggregations

func (c *Inspector2) ListFindingAggregations(input *ListFindingAggregationsInput) (*ListFindingAggregationsOutput, error)

ListFindingAggregations API operation for Inspector2.

Lists aggregated finding data for your environment based on specific criteria.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation ListFindingAggregations for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListFindingAggregations

func (*Inspector2) ListFindingAggregationsPages

func (c *Inspector2) ListFindingAggregationsPages(input *ListFindingAggregationsInput, fn func(*ListFindingAggregationsOutput, bool) bool) error

ListFindingAggregationsPages iterates over the pages of a ListFindingAggregations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListFindingAggregations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListFindingAggregations operation.
pageNum := 0
err := client.ListFindingAggregationsPages(params,
    func(page *inspector2.ListFindingAggregationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Inspector2) ListFindingAggregationsPagesWithContext

func (c *Inspector2) ListFindingAggregationsPagesWithContext(ctx aws.Context, input *ListFindingAggregationsInput, fn func(*ListFindingAggregationsOutput, bool) bool, opts ...request.Option) error

ListFindingAggregationsPagesWithContext same as ListFindingAggregationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListFindingAggregationsRequest

func (c *Inspector2) ListFindingAggregationsRequest(input *ListFindingAggregationsInput) (req *request.Request, output *ListFindingAggregationsOutput)

ListFindingAggregationsRequest generates a "aws/request.Request" representing the client's request for the ListFindingAggregations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListFindingAggregations for more information on using the ListFindingAggregations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListFindingAggregationsRequest method.
req, resp := client.ListFindingAggregationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListFindingAggregations

func (*Inspector2) ListFindingAggregationsWithContext

func (c *Inspector2) ListFindingAggregationsWithContext(ctx aws.Context, input *ListFindingAggregationsInput, opts ...request.Option) (*ListFindingAggregationsOutput, error)

ListFindingAggregationsWithContext is the same as ListFindingAggregations with the addition of the ability to pass a context and additional request options.

See ListFindingAggregations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListFindings

func (c *Inspector2) ListFindings(input *ListFindingsInput) (*ListFindingsOutput, error)

ListFindings API operation for Inspector2.

Lists findings for your environment.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation ListFindings for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListFindings

func (*Inspector2) ListFindingsPages

func (c *Inspector2) ListFindingsPages(input *ListFindingsInput, fn func(*ListFindingsOutput, bool) bool) error

ListFindingsPages iterates over the pages of a ListFindings operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListFindings method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListFindings operation.
pageNum := 0
err := client.ListFindingsPages(params,
    func(page *inspector2.ListFindingsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Inspector2) ListFindingsPagesWithContext

func (c *Inspector2) ListFindingsPagesWithContext(ctx aws.Context, input *ListFindingsInput, fn func(*ListFindingsOutput, bool) bool, opts ...request.Option) error

ListFindingsPagesWithContext same as ListFindingsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListFindingsRequest

func (c *Inspector2) ListFindingsRequest(input *ListFindingsInput) (req *request.Request, output *ListFindingsOutput)

ListFindingsRequest generates a "aws/request.Request" representing the client's request for the ListFindings operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListFindings for more information on using the ListFindings API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListFindingsRequest method.
req, resp := client.ListFindingsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListFindings

func (*Inspector2) ListFindingsWithContext

func (c *Inspector2) ListFindingsWithContext(ctx aws.Context, input *ListFindingsInput, opts ...request.Option) (*ListFindingsOutput, error)

ListFindingsWithContext is the same as ListFindings with the addition of the ability to pass a context and additional request options.

See ListFindings for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListMembers

func (c *Inspector2) ListMembers(input *ListMembersInput) (*ListMembersOutput, error)

ListMembers API operation for Inspector2.

List members associated with the Amazon Inspector delegated administrator for your organization.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation ListMembers for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListMembers

func (*Inspector2) ListMembersPages

func (c *Inspector2) ListMembersPages(input *ListMembersInput, fn func(*ListMembersOutput, bool) bool) error

ListMembersPages iterates over the pages of a ListMembers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListMembers method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListMembers operation.
pageNum := 0
err := client.ListMembersPages(params,
    func(page *inspector2.ListMembersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Inspector2) ListMembersPagesWithContext

func (c *Inspector2) ListMembersPagesWithContext(ctx aws.Context, input *ListMembersInput, fn func(*ListMembersOutput, bool) bool, opts ...request.Option) error

ListMembersPagesWithContext same as ListMembersPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListMembersRequest

func (c *Inspector2) ListMembersRequest(input *ListMembersInput) (req *request.Request, output *ListMembersOutput)

ListMembersRequest generates a "aws/request.Request" representing the client's request for the ListMembers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListMembers for more information on using the ListMembers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListMembersRequest method.
req, resp := client.ListMembersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListMembers

func (*Inspector2) ListMembersWithContext

func (c *Inspector2) ListMembersWithContext(ctx aws.Context, input *ListMembersInput, opts ...request.Option) (*ListMembersOutput, error)

ListMembersWithContext is the same as ListMembers with the addition of the ability to pass a context and additional request options.

See ListMembers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListTagsForResource

func (c *Inspector2) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for Inspector2.

Lists all tags attached to a given resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation ListTagsForResource for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListTagsForResource

func (*Inspector2) ListTagsForResourceRequest

func (c *Inspector2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListTagsForResource

func (*Inspector2) ListTagsForResourceWithContext

func (c *Inspector2) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListUsageTotals

func (c *Inspector2) ListUsageTotals(input *ListUsageTotalsInput) (*ListUsageTotalsOutput, error)

ListUsageTotals API operation for Inspector2.

Lists the Amazon Inspector usage totals over the last 30 days.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation ListUsageTotals for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListUsageTotals

func (*Inspector2) ListUsageTotalsPages

func (c *Inspector2) ListUsageTotalsPages(input *ListUsageTotalsInput, fn func(*ListUsageTotalsOutput, bool) bool) error

ListUsageTotalsPages iterates over the pages of a ListUsageTotals operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListUsageTotals method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListUsageTotals operation.
pageNum := 0
err := client.ListUsageTotalsPages(params,
    func(page *inspector2.ListUsageTotalsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Inspector2) ListUsageTotalsPagesWithContext

func (c *Inspector2) ListUsageTotalsPagesWithContext(ctx aws.Context, input *ListUsageTotalsInput, fn func(*ListUsageTotalsOutput, bool) bool, opts ...request.Option) error

ListUsageTotalsPagesWithContext same as ListUsageTotalsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListUsageTotalsRequest

func (c *Inspector2) ListUsageTotalsRequest(input *ListUsageTotalsInput) (req *request.Request, output *ListUsageTotalsOutput)

ListUsageTotalsRequest generates a "aws/request.Request" representing the client's request for the ListUsageTotals operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListUsageTotals for more information on using the ListUsageTotals API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListUsageTotalsRequest method.
req, resp := client.ListUsageTotalsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListUsageTotals

func (*Inspector2) ListUsageTotalsWithContext

func (c *Inspector2) ListUsageTotalsWithContext(ctx aws.Context, input *ListUsageTotalsInput, opts ...request.Option) (*ListUsageTotalsOutput, error)

ListUsageTotalsWithContext is the same as ListUsageTotals with the addition of the ability to pass a context and additional request options.

See ListUsageTotals for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ResetEncryptionKey added in v1.44.287

func (c *Inspector2) ResetEncryptionKey(input *ResetEncryptionKeyInput) (*ResetEncryptionKeyOutput, error)

ResetEncryptionKey API operation for Inspector2.

Resets an encryption key. After the key is reset your resources will be encrypted by an Amazon Web Services owned key.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation ResetEncryptionKey for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ResetEncryptionKey

func (*Inspector2) ResetEncryptionKeyRequest added in v1.44.287

func (c *Inspector2) ResetEncryptionKeyRequest(input *ResetEncryptionKeyInput) (req *request.Request, output *ResetEncryptionKeyOutput)

ResetEncryptionKeyRequest generates a "aws/request.Request" representing the client's request for the ResetEncryptionKey operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ResetEncryptionKey for more information on using the ResetEncryptionKey API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ResetEncryptionKeyRequest method.
req, resp := client.ResetEncryptionKeyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ResetEncryptionKey

func (*Inspector2) ResetEncryptionKeyWithContext added in v1.44.287

func (c *Inspector2) ResetEncryptionKeyWithContext(ctx aws.Context, input *ResetEncryptionKeyInput, opts ...request.Option) (*ResetEncryptionKeyOutput, error)

ResetEncryptionKeyWithContext is the same as ResetEncryptionKey with the addition of the ability to pass a context and additional request options.

See ResetEncryptionKey for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) SearchVulnerabilities added in v1.44.258

func (c *Inspector2) SearchVulnerabilities(input *SearchVulnerabilitiesInput) (*SearchVulnerabilitiesOutput, error)

SearchVulnerabilities API operation for Inspector2.

Lists Amazon Inspector coverage details for a specific vulnerability.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation SearchVulnerabilities for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/SearchVulnerabilities

func (*Inspector2) SearchVulnerabilitiesPages added in v1.44.258

func (c *Inspector2) SearchVulnerabilitiesPages(input *SearchVulnerabilitiesInput, fn func(*SearchVulnerabilitiesOutput, bool) bool) error

SearchVulnerabilitiesPages iterates over the pages of a SearchVulnerabilities operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See SearchVulnerabilities method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a SearchVulnerabilities operation.
pageNum := 0
err := client.SearchVulnerabilitiesPages(params,
    func(page *inspector2.SearchVulnerabilitiesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Inspector2) SearchVulnerabilitiesPagesWithContext added in v1.44.258

func (c *Inspector2) SearchVulnerabilitiesPagesWithContext(ctx aws.Context, input *SearchVulnerabilitiesInput, fn func(*SearchVulnerabilitiesOutput, bool) bool, opts ...request.Option) error

SearchVulnerabilitiesPagesWithContext same as SearchVulnerabilitiesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) SearchVulnerabilitiesRequest added in v1.44.258

func (c *Inspector2) SearchVulnerabilitiesRequest(input *SearchVulnerabilitiesInput) (req *request.Request, output *SearchVulnerabilitiesOutput)

SearchVulnerabilitiesRequest generates a "aws/request.Request" representing the client's request for the SearchVulnerabilities operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SearchVulnerabilities for more information on using the SearchVulnerabilities API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SearchVulnerabilitiesRequest method.
req, resp := client.SearchVulnerabilitiesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/SearchVulnerabilities

func (*Inspector2) SearchVulnerabilitiesWithContext added in v1.44.258

func (c *Inspector2) SearchVulnerabilitiesWithContext(ctx aws.Context, input *SearchVulnerabilitiesInput, opts ...request.Option) (*SearchVulnerabilitiesOutput, error)

SearchVulnerabilitiesWithContext is the same as SearchVulnerabilities with the addition of the ability to pass a context and additional request options.

See SearchVulnerabilities for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) TagResource

func (c *Inspector2) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for Inspector2.

Adds tags to a resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation TagResource for usage and error information.

Returned Error Types:

  • BadRequestException One or more tags submitted as part of the request is not valid.

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/TagResource

func (*Inspector2) TagResourceRequest

func (c *Inspector2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/TagResource

func (*Inspector2) TagResourceWithContext

func (c *Inspector2) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) UntagResource

func (c *Inspector2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for Inspector2.

Removes tags from a resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation UntagResource for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UntagResource

func (*Inspector2) UntagResourceRequest

func (c *Inspector2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UntagResource

func (*Inspector2) UntagResourceWithContext

func (c *Inspector2) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) UpdateConfiguration added in v1.44.55

func (c *Inspector2) UpdateConfiguration(input *UpdateConfigurationInput) (*UpdateConfigurationOutput, error)

UpdateConfiguration API operation for Inspector2.

Updates setting configurations for your Amazon Inspector account. When you use this API as an Amazon Inspector delegated administrator this updates the setting for all accounts you manage. Member accounts in an organization cannot update this setting.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation UpdateConfiguration for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateConfiguration

func (*Inspector2) UpdateConfigurationRequest added in v1.44.55

func (c *Inspector2) UpdateConfigurationRequest(input *UpdateConfigurationInput) (req *request.Request, output *UpdateConfigurationOutput)

UpdateConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateConfiguration for more information on using the UpdateConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateConfigurationRequest method.
req, resp := client.UpdateConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateConfiguration

func (*Inspector2) UpdateConfigurationWithContext added in v1.44.55

func (c *Inspector2) UpdateConfigurationWithContext(ctx aws.Context, input *UpdateConfigurationInput, opts ...request.Option) (*UpdateConfigurationOutput, error)

UpdateConfigurationWithContext is the same as UpdateConfiguration with the addition of the ability to pass a context and additional request options.

See UpdateConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) UpdateEc2DeepInspectionConfiguration added in v1.44.256

UpdateEc2DeepInspectionConfiguration API operation for Inspector2.

Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation UpdateEc2DeepInspectionConfiguration for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateEc2DeepInspectionConfiguration

func (*Inspector2) UpdateEc2DeepInspectionConfigurationRequest added in v1.44.256

func (c *Inspector2) UpdateEc2DeepInspectionConfigurationRequest(input *UpdateEc2DeepInspectionConfigurationInput) (req *request.Request, output *UpdateEc2DeepInspectionConfigurationOutput)

UpdateEc2DeepInspectionConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateEc2DeepInspectionConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateEc2DeepInspectionConfiguration for more information on using the UpdateEc2DeepInspectionConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateEc2DeepInspectionConfigurationRequest method.
req, resp := client.UpdateEc2DeepInspectionConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateEc2DeepInspectionConfiguration

func (*Inspector2) UpdateEc2DeepInspectionConfigurationWithContext added in v1.44.256

func (c *Inspector2) UpdateEc2DeepInspectionConfigurationWithContext(ctx aws.Context, input *UpdateEc2DeepInspectionConfigurationInput, opts ...request.Option) (*UpdateEc2DeepInspectionConfigurationOutput, error)

UpdateEc2DeepInspectionConfigurationWithContext is the same as UpdateEc2DeepInspectionConfiguration with the addition of the ability to pass a context and additional request options.

See UpdateEc2DeepInspectionConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) UpdateEncryptionKey added in v1.44.287

func (c *Inspector2) UpdateEncryptionKey(input *UpdateEncryptionKeyInput) (*UpdateEncryptionKeyOutput, error)

UpdateEncryptionKey API operation for Inspector2.

Updates an encryption key. A ResourceNotFoundException means that an AWS owned key is being used for encryption.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation UpdateEncryptionKey for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateEncryptionKey

func (*Inspector2) UpdateEncryptionKeyRequest added in v1.44.287

func (c *Inspector2) UpdateEncryptionKeyRequest(input *UpdateEncryptionKeyInput) (req *request.Request, output *UpdateEncryptionKeyOutput)

UpdateEncryptionKeyRequest generates a "aws/request.Request" representing the client's request for the UpdateEncryptionKey operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateEncryptionKey for more information on using the UpdateEncryptionKey API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateEncryptionKeyRequest method.
req, resp := client.UpdateEncryptionKeyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateEncryptionKey

func (*Inspector2) UpdateEncryptionKeyWithContext added in v1.44.287

func (c *Inspector2) UpdateEncryptionKeyWithContext(ctx aws.Context, input *UpdateEncryptionKeyInput, opts ...request.Option) (*UpdateEncryptionKeyOutput, error)

UpdateEncryptionKeyWithContext is the same as UpdateEncryptionKey with the addition of the ability to pass a context and additional request options.

See UpdateEncryptionKey for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) UpdateFilter

func (c *Inspector2) UpdateFilter(input *UpdateFilterInput) (*UpdateFilterOutput, error)

UpdateFilter API operation for Inspector2.

Specifies the action that is to be applied to the findings that match the filter.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation UpdateFilter for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateFilter

func (*Inspector2) UpdateFilterRequest

func (c *Inspector2) UpdateFilterRequest(input *UpdateFilterInput) (req *request.Request, output *UpdateFilterOutput)

UpdateFilterRequest generates a "aws/request.Request" representing the client's request for the UpdateFilter operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateFilter for more information on using the UpdateFilter API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateFilterRequest method.
req, resp := client.UpdateFilterRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateFilter

func (*Inspector2) UpdateFilterWithContext

func (c *Inspector2) UpdateFilterWithContext(ctx aws.Context, input *UpdateFilterInput, opts ...request.Option) (*UpdateFilterOutput, error)

UpdateFilterWithContext is the same as UpdateFilter with the addition of the ability to pass a context and additional request options.

See UpdateFilter for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) UpdateOrgEc2DeepInspectionConfiguration added in v1.44.256

UpdateOrgEc2DeepInspectionConfiguration API operation for Inspector2.

Updates the Amazon Inspector deep inspection custom paths for your organization. You must be an Amazon Inspector delegated administrator to use this API.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation UpdateOrgEc2DeepInspectionConfiguration for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateOrgEc2DeepInspectionConfiguration

func (*Inspector2) UpdateOrgEc2DeepInspectionConfigurationRequest added in v1.44.256

func (c *Inspector2) UpdateOrgEc2DeepInspectionConfigurationRequest(input *UpdateOrgEc2DeepInspectionConfigurationInput) (req *request.Request, output *UpdateOrgEc2DeepInspectionConfigurationOutput)

UpdateOrgEc2DeepInspectionConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateOrgEc2DeepInspectionConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateOrgEc2DeepInspectionConfiguration for more information on using the UpdateOrgEc2DeepInspectionConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateOrgEc2DeepInspectionConfigurationRequest method.
req, resp := client.UpdateOrgEc2DeepInspectionConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateOrgEc2DeepInspectionConfiguration

func (*Inspector2) UpdateOrgEc2DeepInspectionConfigurationWithContext added in v1.44.256

func (c *Inspector2) UpdateOrgEc2DeepInspectionConfigurationWithContext(ctx aws.Context, input *UpdateOrgEc2DeepInspectionConfigurationInput, opts ...request.Option) (*UpdateOrgEc2DeepInspectionConfigurationOutput, error)

UpdateOrgEc2DeepInspectionConfigurationWithContext is the same as UpdateOrgEc2DeepInspectionConfiguration with the addition of the ability to pass a context and additional request options.

See UpdateOrgEc2DeepInspectionConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) UpdateOrganizationConfiguration

func (c *Inspector2) UpdateOrganizationConfiguration(input *UpdateOrganizationConfigurationInput) (*UpdateOrganizationConfigurationOutput, error)

UpdateOrganizationConfiguration API operation for Inspector2.

Updates the configurations for your Amazon Inspector organization.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation UpdateOrganizationConfiguration for usage and error information.

Returned Error Types:

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateOrganizationConfiguration

func (*Inspector2) UpdateOrganizationConfigurationRequest

func (c *Inspector2) UpdateOrganizationConfigurationRequest(input *UpdateOrganizationConfigurationInput) (req *request.Request, output *UpdateOrganizationConfigurationOutput)

UpdateOrganizationConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateOrganizationConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateOrganizationConfiguration for more information on using the UpdateOrganizationConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateOrganizationConfigurationRequest method.
req, resp := client.UpdateOrganizationConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateOrganizationConfiguration

func (*Inspector2) UpdateOrganizationConfigurationWithContext

func (c *Inspector2) UpdateOrganizationConfigurationWithContext(ctx aws.Context, input *UpdateOrganizationConfigurationInput, opts ...request.Option) (*UpdateOrganizationConfigurationOutput, error)

UpdateOrganizationConfigurationWithContext is the same as UpdateOrganizationConfiguration with the addition of the ability to pass a context and additional request options.

See UpdateOrganizationConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type InspectorScoreDetails

type InspectorScoreDetails struct {

	// An object that contains details about the CVSS score given to a finding.
	AdjustedCvss *CvssScoreDetails `locationName:"adjustedCvss" type:"structure"`
	// contains filtered or unexported fields
}

Information about the Amazon Inspector score given to a finding.

func (InspectorScoreDetails) GoString

func (s InspectorScoreDetails) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InspectorScoreDetails) SetAdjustedCvss

SetAdjustedCvss sets the AdjustedCvss field's value.

func (InspectorScoreDetails) String

func (s InspectorScoreDetails) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InternalServerException

type InternalServerException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`

	// The number of seconds to wait before retrying the request.
	RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"`
	// contains filtered or unexported fields
}

The request has failed due to an internal failure of the Amazon Inspector service.

func (*InternalServerException) Code

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error

func (s *InternalServerException) Error() string

func (InternalServerException) GoString

func (s InternalServerException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InternalServerException) Message

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode

func (s *InternalServerException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServerException) String

func (s InternalServerException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type LambdaFunctionAggregation added in v1.44.147

type LambdaFunctionAggregation struct {

	// The AWS Lambda function names to include in the aggregation results.
	FunctionNames []*StringFilter `locationName:"functionNames" min:"1" type:"list"`

	// The tags to include in the aggregation results.
	FunctionTags []*MapFilter `locationName:"functionTags" min:"1" type:"list"`

	// The resource IDs to include in the aggregation results.
	ResourceIds []*StringFilter `locationName:"resourceIds" min:"1" type:"list"`

	// Returns findings aggregated by AWS Lambda function runtime environments.
	Runtimes []*StringFilter `locationName:"runtimes" min:"1" type:"list"`

	// The finding severity to use for sorting the results.
	SortBy *string `locationName:"sortBy" type:"string" enum:"LambdaFunctionSortBy"`

	// The order to use for sorting the results.
	SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrder"`
	// contains filtered or unexported fields
}

The details that define a findings aggregation based on AWS Lambda functions.

func (LambdaFunctionAggregation) GoString added in v1.44.147

func (s LambdaFunctionAggregation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LambdaFunctionAggregation) SetFunctionNames added in v1.44.147

SetFunctionNames sets the FunctionNames field's value.

func (*LambdaFunctionAggregation) SetFunctionTags added in v1.44.147

SetFunctionTags sets the FunctionTags field's value.

func (*LambdaFunctionAggregation) SetResourceIds added in v1.44.147

SetResourceIds sets the ResourceIds field's value.

func (*LambdaFunctionAggregation) SetRuntimes added in v1.44.147

SetRuntimes sets the Runtimes field's value.

func (*LambdaFunctionAggregation) SetSortBy added in v1.44.147

SetSortBy sets the SortBy field's value.

func (*LambdaFunctionAggregation) SetSortOrder added in v1.44.147

SetSortOrder sets the SortOrder field's value.

func (LambdaFunctionAggregation) String added in v1.44.147

func (s LambdaFunctionAggregation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LambdaFunctionAggregation) Validate added in v1.44.147

func (s *LambdaFunctionAggregation) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type LambdaFunctionAggregationResponse added in v1.44.147

type LambdaFunctionAggregationResponse struct {

	// The ID of the AWS account that owns the AWS Lambda function.
	AccountId *string `locationName:"accountId" min:"12" type:"string"`

	// The AWS Lambda function names included in the aggregation results.
	FunctionName *string `locationName:"functionName" type:"string"`

	// The tags included in the aggregation results.
	LambdaTags map[string]*string `locationName:"lambdaTags" type:"map"`

	// The date that the AWS Lambda function included in the aggregation results
	// was last changed.
	LastModifiedAt *time.Time `locationName:"lastModifiedAt" type:"timestamp"`

	// The resource IDs included in the aggregation results.
	//
	// ResourceId is a required field
	ResourceId *string `locationName:"resourceId" min:"1" type:"string" required:"true"`

	// The runtimes included in the aggregation results.
	Runtime *string `locationName:"runtime" type:"string"`

	// An object that contains the counts of aggregated finding per severity.
	SeverityCounts *SeverityCounts `locationName:"severityCounts" type:"structure"`
	// contains filtered or unexported fields
}

A response that contains the results of an AWS Lambda function finding aggregation.

func (LambdaFunctionAggregationResponse) GoString added in v1.44.147

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LambdaFunctionAggregationResponse) SetAccountId added in v1.44.147

SetAccountId sets the AccountId field's value.

func (*LambdaFunctionAggregationResponse) SetFunctionName added in v1.44.147

SetFunctionName sets the FunctionName field's value.

func (*LambdaFunctionAggregationResponse) SetLambdaTags added in v1.44.147

SetLambdaTags sets the LambdaTags field's value.

func (*LambdaFunctionAggregationResponse) SetLastModifiedAt added in v1.44.147

SetLastModifiedAt sets the LastModifiedAt field's value.

func (*LambdaFunctionAggregationResponse) SetResourceId added in v1.44.147

SetResourceId sets the ResourceId field's value.

func (*LambdaFunctionAggregationResponse) SetRuntime added in v1.44.147

SetRuntime sets the Runtime field's value.

func (*LambdaFunctionAggregationResponse) SetSeverityCounts added in v1.44.147

SetSeverityCounts sets the SeverityCounts field's value.

func (LambdaFunctionAggregationResponse) String added in v1.44.147

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type LambdaFunctionMetadata added in v1.44.147

type LambdaFunctionMetadata struct {

	// The name of a function.
	FunctionName *string `locationName:"functionName" type:"string"`

	// The resource tags on an AWS Lambda function.
	FunctionTags map[string]*string `locationName:"functionTags" type:"map"`

	// The layers for an AWS Lambda function. A Lambda function can have up to five
	// layers.
	Layers []*string `locationName:"layers" type:"list"`

	// An AWS Lambda function's runtime.
	Runtime *string `locationName:"runtime" type:"string" enum:"Runtime"`
	// contains filtered or unexported fields
}

The AWS Lambda function metadata.

func (LambdaFunctionMetadata) GoString added in v1.44.147

func (s LambdaFunctionMetadata) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LambdaFunctionMetadata) SetFunctionName added in v1.44.147

func (s *LambdaFunctionMetadata) SetFunctionName(v string) *LambdaFunctionMetadata

SetFunctionName sets the FunctionName field's value.

func (*LambdaFunctionMetadata) SetFunctionTags added in v1.44.147

func (s *LambdaFunctionMetadata) SetFunctionTags(v map[string]*string) *LambdaFunctionMetadata

SetFunctionTags sets the FunctionTags field's value.

func (*LambdaFunctionMetadata) SetLayers added in v1.44.147

SetLayers sets the Layers field's value.

func (*LambdaFunctionMetadata) SetRuntime added in v1.44.147

SetRuntime sets the Runtime field's value.

func (LambdaFunctionMetadata) String added in v1.44.147

func (s LambdaFunctionMetadata) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type LambdaLayerAggregation added in v1.44.147

type LambdaLayerAggregation struct {

	// The names of the AWS Lambda functions associated with the layers.
	FunctionNames []*StringFilter `locationName:"functionNames" min:"1" type:"list"`

	// The Amazon Resource Name (ARN) of the AWS Lambda function layer.
	LayerArns []*StringFilter `locationName:"layerArns" min:"1" type:"list"`

	// The resource IDs for the AWS Lambda function layers.
	ResourceIds []*StringFilter `locationName:"resourceIds" min:"1" type:"list"`

	// The finding severity to use for sorting the results.
	SortBy *string `locationName:"sortBy" type:"string" enum:"LambdaLayerSortBy"`

	// The order to use for sorting the results.
	SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrder"`
	// contains filtered or unexported fields
}

The details that define a findings aggregation based on an AWS Lambda function's layers.

func (LambdaLayerAggregation) GoString added in v1.44.147

func (s LambdaLayerAggregation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LambdaLayerAggregation) SetFunctionNames added in v1.44.147

func (s *LambdaLayerAggregation) SetFunctionNames(v []*StringFilter) *LambdaLayerAggregation

SetFunctionNames sets the FunctionNames field's value.

func (*LambdaLayerAggregation) SetLayerArns added in v1.44.147

SetLayerArns sets the LayerArns field's value.

func (*LambdaLayerAggregation) SetResourceIds added in v1.44.147

SetResourceIds sets the ResourceIds field's value.

func (*LambdaLayerAggregation) SetSortBy added in v1.44.147

SetSortBy sets the SortBy field's value.

func (*LambdaLayerAggregation) SetSortOrder added in v1.44.147

SetSortOrder sets the SortOrder field's value.

func (LambdaLayerAggregation) String added in v1.44.147

func (s LambdaLayerAggregation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LambdaLayerAggregation) Validate added in v1.44.147

func (s *LambdaLayerAggregation) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type LambdaLayerAggregationResponse added in v1.44.147

type LambdaLayerAggregationResponse struct {

	// The account ID of the AWS Lambda function layer.
	//
	// AccountId is a required field
	AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"`

	// The names of the AWS Lambda functions associated with the layers.
	//
	// FunctionName is a required field
	FunctionName *string `locationName:"functionName" min:"1" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the AWS Lambda function layer.
	//
	// LayerArn is a required field
	LayerArn *string `locationName:"layerArn" min:"1" type:"string" required:"true"`

	// The Resource ID of the AWS Lambda function layer.
	//
	// ResourceId is a required field
	ResourceId *string `locationName:"resourceId" min:"1" type:"string" required:"true"`

	// An object that contains the counts of aggregated finding per severity.
	SeverityCounts *SeverityCounts `locationName:"severityCounts" type:"structure"`
	// contains filtered or unexported fields
}

A response that contains the results of an AWS Lambda function layer finding aggregation.

func (LambdaLayerAggregationResponse) GoString added in v1.44.147

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LambdaLayerAggregationResponse) SetAccountId added in v1.44.147

SetAccountId sets the AccountId field's value.

func (*LambdaLayerAggregationResponse) SetFunctionName added in v1.44.147

SetFunctionName sets the FunctionName field's value.

func (*LambdaLayerAggregationResponse) SetLayerArn added in v1.44.147

SetLayerArn sets the LayerArn field's value.

func (*LambdaLayerAggregationResponse) SetResourceId added in v1.44.147

SetResourceId sets the ResourceId field's value.

func (*LambdaLayerAggregationResponse) SetSeverityCounts added in v1.44.147

SetSeverityCounts sets the SeverityCounts field's value.

func (LambdaLayerAggregationResponse) String added in v1.44.147

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type LambdaVpcConfig added in v1.44.147

type LambdaVpcConfig struct {

	// The VPC security groups and subnets that are attached to an AWS Lambda function.
	// For more information, see VPC Settings (https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html).
	SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"`

	// A list of VPC subnet IDs.
	SubnetIds []*string `locationName:"subnetIds" type:"list"`

	// The ID of the VPC.
	VpcId *string `locationName:"vpcId" type:"string"`
	// contains filtered or unexported fields
}

The VPC security groups and subnets that are attached to an AWS Lambda function. For more information, see VPC Settings (https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html).

func (LambdaVpcConfig) GoString added in v1.44.147

func (s LambdaVpcConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LambdaVpcConfig) SetSecurityGroupIds added in v1.44.147

func (s *LambdaVpcConfig) SetSecurityGroupIds(v []*string) *LambdaVpcConfig

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*LambdaVpcConfig) SetSubnetIds added in v1.44.147

func (s *LambdaVpcConfig) SetSubnetIds(v []*string) *LambdaVpcConfig

SetSubnetIds sets the SubnetIds field's value.

func (*LambdaVpcConfig) SetVpcId added in v1.44.147

func (s *LambdaVpcConfig) SetVpcId(v string) *LambdaVpcConfig

SetVpcId sets the VpcId field's value.

func (LambdaVpcConfig) String added in v1.44.147

func (s LambdaVpcConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListAccountPermissionsInput

type ListAccountPermissionsInput struct {

	// The maximum number of results the response can return. If your request would
	// return more than the maximum the response will return a nextToken value,
	// use this value when you call the action again to get the remaining results.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// A token to use for paginating results that are returned in the response.
	// Set the value of this parameter to null for the first request to a list action.
	// If your response returns more than the maxResults maximum value it will also
	// return a nextToken value. For subsequent calls, use the NextToken value returned
	// from the previous request to continue listing results after the first page.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The service scan type to check permissions for.
	Service *string `locationName:"service" type:"string" enum:"Service"`
	// contains filtered or unexported fields
}

func (ListAccountPermissionsInput) GoString

func (s ListAccountPermissionsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccountPermissionsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListAccountPermissionsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListAccountPermissionsInput) SetService

SetService sets the Service field's value.

func (ListAccountPermissionsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccountPermissionsInput) Validate

func (s *ListAccountPermissionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListAccountPermissionsOutput

type ListAccountPermissionsOutput struct {

	// A token to use for paginating results that are returned in the response.
	// Set the value of this parameter to null for the first request to a list action.
	// For subsequent calls, use the NextToken value returned from the previous
	// request to continue listing results after the first page.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Contains details on the permissions an account has to configure Amazon Inspector.
	//
	// Permissions is a required field
	Permissions []*Permission `locationName:"permissions" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListAccountPermissionsOutput) GoString

func (s ListAccountPermissionsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccountPermissionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListAccountPermissionsOutput) SetPermissions

SetPermissions sets the Permissions field's value.

func (ListAccountPermissionsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListCoverageInput

type ListCoverageInput struct {

	// An object that contains details on the filters to apply to the coverage data
	// for your environment.
	FilterCriteria *CoverageFilterCriteria `locationName:"filterCriteria" type:"structure"`

	// The maximum number of results the response can return. If your request would
	// return more than the maximum the response will return a nextToken value,
	// use this value when you call the action again to get the remaining results.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// A token to use for paginating results that are returned in the response.
	// Set the value of this parameter to null for the first request to a list action.
	// If your response returns more than the maxResults maximum value it will also
	// return a nextToken value. For subsequent calls, use the nextToken value returned
	// from the previous request to continue listing results after the first page.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListCoverageInput) GoString

func (s ListCoverageInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListCoverageInput) SetFilterCriteria

SetFilterCriteria sets the FilterCriteria field's value.

func (*ListCoverageInput) SetMaxResults

func (s *ListCoverageInput) SetMaxResults(v int64) *ListCoverageInput

SetMaxResults sets the MaxResults field's value.

func (*ListCoverageInput) SetNextToken

func (s *ListCoverageInput) SetNextToken(v string) *ListCoverageInput

SetNextToken sets the NextToken field's value.

func (ListCoverageInput) String

func (s ListCoverageInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListCoverageInput) Validate

func (s *ListCoverageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListCoverageOutput

type ListCoverageOutput struct {

	// An object that contains details on the covered resources in your environment.
	CoveredResources []*CoveredResource `locationName:"coveredResources" type:"list"`

	// A token to use for paginating results that are returned in the response.
	// Set the value of this parameter to null for the first request to a list action.
	// For subsequent calls, use the NextToken value returned from the previous
	// request to continue listing results after the first page.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListCoverageOutput) GoString

func (s ListCoverageOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListCoverageOutput) SetCoveredResources

func (s *ListCoverageOutput) SetCoveredResources(v []*CoveredResource) *ListCoverageOutput

SetCoveredResources sets the CoveredResources field's value.

func (*ListCoverageOutput) SetNextToken

func (s *ListCoverageOutput) SetNextToken(v string) *ListCoverageOutput

SetNextToken sets the NextToken field's value.

func (ListCoverageOutput) String

func (s ListCoverageOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListCoverageStatisticsInput

type ListCoverageStatisticsInput struct {

	// An object that contains details on the filters to apply to the coverage data
	// for your environment.
	FilterCriteria *CoverageFilterCriteria `locationName:"filterCriteria" type:"structure"`

	// The value to group the results by.
	GroupBy *string `locationName:"groupBy" type:"string" enum:"GroupKey"`

	// A token to use for paginating results that are returned in the response.
	// Set the value of this parameter to null for the first request to a list action.
	// For subsequent calls, use the NextToken value returned from the previous
	// request to continue listing results after the first page.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListCoverageStatisticsInput) GoString

func (s ListCoverageStatisticsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListCoverageStatisticsInput) SetFilterCriteria

SetFilterCriteria sets the FilterCriteria field's value.

func (*ListCoverageStatisticsInput) SetGroupBy

SetGroupBy sets the GroupBy field's value.

func (*ListCoverageStatisticsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListCoverageStatisticsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListCoverageStatisticsInput) Validate

func (s *ListCoverageStatisticsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListCoverageStatisticsOutput

type ListCoverageStatisticsOutput struct {

	// An array with the number for each group.
	CountsByGroup []*Counts `locationName:"countsByGroup" min:"1" type:"list"`

	// A token to use for paginating results that are returned in the response.
	// Set the value of this parameter to null for the first request to a list action.
	// For subsequent calls, use the NextToken value returned from the previous
	// request to continue listing results after the first page.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The total number for all groups.
	//
	// TotalCounts is a required field
	TotalCounts *int64 `locationName:"totalCounts" type:"long" required:"true"`
	// contains filtered or unexported fields
}

func (ListCoverageStatisticsOutput) GoString

func (s ListCoverageStatisticsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListCoverageStatisticsOutput) SetCountsByGroup

SetCountsByGroup sets the CountsByGroup field's value.

func (*ListCoverageStatisticsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListCoverageStatisticsOutput) SetTotalCounts

SetTotalCounts sets the TotalCounts field's value.

func (ListCoverageStatisticsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListDelegatedAdminAccountsInput

type ListDelegatedAdminAccountsInput struct {

	// The maximum number of results the response can return. If your request would
	// return more than the maximum the response will return a nextToken value,
	// use this value when you call the action again to get the remaining results.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// A token to use for paginating results that are returned in the response.
	// Set the value of this parameter to null for the first request to a list action.
	// If your response returns more than the maxResults maximum value it will also
	// return a nextToken value. For subsequent calls, use the nextToken value returned
	// from the previous request to continue listing results after the first page.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListDelegatedAdminAccountsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListDelegatedAdminAccountsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListDelegatedAdminAccountsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListDelegatedAdminAccountsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListDelegatedAdminAccountsInput) Validate

func (s *ListDelegatedAdminAccountsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListDelegatedAdminAccountsOutput

type ListDelegatedAdminAccountsOutput struct {

	// Details of the Amazon Inspector delegated administrator of your organization.
	DelegatedAdminAccounts []*DelegatedAdminAccount `locationName:"delegatedAdminAccounts" type:"list"`

	// A token to use for paginating results that are returned in the response.
	// Set the value of this parameter to null for the first request to a list action.
	// For subsequent calls, use the NextToken value returned from the previous
	// request to continue listing results after the first page.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListDelegatedAdminAccountsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListDelegatedAdminAccountsOutput) SetDelegatedAdminAccounts

SetDelegatedAdminAccounts sets the DelegatedAdminAccounts field's value.

func (*ListDelegatedAdminAccountsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListDelegatedAdminAccountsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListFiltersInput

type ListFiltersInput struct {

	// The action the filter applies to matched findings.
	Action *string `locationName:"action" type:"string" enum:"FilterAction"`

	// The Amazon resource number (ARN) of the filter.
	Arns []*string `locationName:"arns" type:"list"`

	// The maximum number of results the response can return. If your request would
	// return more than the maximum the response will return a nextToken value,
	// use this value when you call the action again to get the remaining results.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// A token to use for paginating results that are returned in the response.
	// Set the value of this parameter to null for the first request to a list action.
	// If your response returns more than the maxResults maximum value it will also
	// return a nextToken value. For subsequent calls, use the nextToken value returned
	// from the previous request to continue listing results after the first page.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListFiltersInput) GoString

func (s ListFiltersInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListFiltersInput) SetAction

func (s *ListFiltersInput) SetAction(v string) *ListFiltersInput

SetAction sets the Action field's value.

func (*ListFiltersInput) SetArns

func (s *ListFiltersInput) SetArns(v []*string) *ListFiltersInput

SetArns sets the Arns field's value.

func (*ListFiltersInput) SetMaxResults

func (s *ListFiltersInput) SetMaxResults(v int64) *ListFiltersInput

SetMaxResults sets the MaxResults field's value.

func (*ListFiltersInput) SetNextToken

func (s *ListFiltersInput) SetNextToken(v string) *ListFiltersInput

SetNextToken sets the NextToken field's value.

func (ListFiltersInput) String

func (s ListFiltersInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListFiltersInput) Validate

func (s *ListFiltersInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListFiltersOutput

type ListFiltersOutput struct {

	// Contains details on the filters associated with your account.
	//
	// Filters is a required field
	Filters []*Filter `locationName:"filters" type:"list" required:"true"`

	// A token to use for paginating results that are returned in the response.
	// Set the value of this parameter to null for the first request to a list action.
	// For subsequent calls, use the NextToken value returned from the previous
	// request to continue listing results after the first page.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListFiltersOutput) GoString

func (s ListFiltersOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListFiltersOutput) SetFilters

func (s *ListFiltersOutput) SetFilters(v []*Filter) *ListFiltersOutput

SetFilters sets the Filters field's value.

func (*ListFiltersOutput) SetNextToken

func (s *ListFiltersOutput) SetNextToken(v string) *ListFiltersOutput

SetNextToken sets the NextToken field's value.

func (ListFiltersOutput) String

func (s ListFiltersOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListFindingAggregationsInput

type ListFindingAggregationsInput struct {

	// The Amazon Web Services account IDs to retrieve finding aggregation data
	// for.
	AccountIds []*StringFilter `locationName:"accountIds" min:"1" type:"list"`

	// Details of the aggregation request that is used to filter your aggregation
	// results.
	AggregationRequest *AggregationRequest `locationName:"aggregationRequest" type:"structure"`

	// The type of the aggregation request.
	//
	// AggregationType is a required field
	AggregationType *string `locationName:"aggregationType" type:"string" required:"true" enum:"AggregationType"`

	// The maximum number of results the response can return. If your request would
	// return more than the maximum the response will return a nextToken value,
	// use this value when you call the action again to get the remaining results.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// A token to use for paginating results that are returned in the response.
	// Set the value of this parameter to null for the first request to a list action.
	// If your response returns more than the maxResults maximum value it will also
	// return a nextToken value. For subsequent calls, use the nextToken value returned
	// from the previous request to continue listing results after the first page.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListFindingAggregationsInput) GoString

func (s ListFindingAggregationsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListFindingAggregationsInput) SetAccountIds

SetAccountIds sets the AccountIds field's value.

func (*ListFindingAggregationsInput) SetAggregationRequest

SetAggregationRequest sets the AggregationRequest field's value.

func (*ListFindingAggregationsInput) SetAggregationType

SetAggregationType sets the AggregationType field's value.

func (*ListFindingAggregationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListFindingAggregationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListFindingAggregationsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListFindingAggregationsInput) Validate

func (s *ListFindingAggregationsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListFindingAggregationsOutput

type ListFindingAggregationsOutput struct {

	// The type of aggregation to perform.
	//
	// AggregationType is a required field
	AggregationType *string `locationName:"aggregationType" type:"string" required:"true" enum:"AggregationType"`

	// A token to use for paginating results that are returned in the response.
	// Set the value of this parameter to null for the first request to a list action.
	// For subsequent calls, use the NextToken value returned from the previous
	// request to continue listing results after the first page.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Objects that contain the results of an aggregation operation.
	Responses []*AggregationResponse `locationName:"responses" type:"list"`
	// contains filtered or unexported fields
}

func (ListFindingAggregationsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListFindingAggregationsOutput) SetAggregationType

SetAggregationType sets the AggregationType field's value.

func (*ListFindingAggregationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListFindingAggregationsOutput) SetResponses

SetResponses sets the Responses field's value.

func (ListFindingAggregationsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListFindingsInput

type ListFindingsInput struct {

	// Details on the filters to apply to your finding results.
	FilterCriteria *FilterCriteria `locationName:"filterCriteria" type:"structure"`

	// The maximum number of results the response can return. If your request would
	// return more than the maximum the response will return a nextToken value,
	// use this value when you call the action again to get the remaining results.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// A token to use for paginating results that are returned in the response.
	// Set the value of this parameter to null for the first request to a list action.
	// If your response returns more than the maxResults maximum value it will also
	// return a nextToken value. For subsequent calls, use the nextToken value returned
	// from the previous request to continue listing results after the first page.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Details on the sort criteria to apply to your finding results.
	SortCriteria *SortCriteria `locationName:"sortCriteria" type:"structure"`
	// contains filtered or unexported fields
}

func (ListFindingsInput) GoString

func (s ListFindingsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListFindingsInput) SetFilterCriteria

func (s *ListFindingsInput) SetFilterCriteria(v *FilterCriteria) *ListFindingsInput

SetFilterCriteria sets the FilterCriteria field's value.

func (*ListFindingsInput) SetMaxResults

func (s *ListFindingsInput) SetMaxResults(v int64) *ListFindingsInput

SetMaxResults sets the MaxResults field's value.

func (*ListFindingsInput) SetNextToken

func (s *ListFindingsInput) SetNextToken(v string) *ListFindingsInput

SetNextToken sets the NextToken field's value.

func (*ListFindingsInput) SetSortCriteria

func (s *ListFindingsInput) SetSortCriteria(v *SortCriteria) *ListFindingsInput

SetSortCriteria sets the SortCriteria field's value.

func (ListFindingsInput) String

func (s ListFindingsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListFindingsInput) Validate

func (s *ListFindingsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListFindingsOutput

type ListFindingsOutput struct {

	// Contains details on the findings in your environment.
	Findings []*Finding `locationName:"findings" type:"list"`

	// A token to use for paginating results that are returned in the response.
	// Set the value of this parameter to null for the first request to a list action.
	// For subsequent calls, use the NextToken value returned from the previous
	// request to continue listing results after the first page.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListFindingsOutput) GoString

func (s ListFindingsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListFindingsOutput) SetFindings

func (s *ListFindingsOutput) SetFindings(v []*Finding) *ListFindingsOutput

SetFindings sets the Findings field's value.

func (*ListFindingsOutput) SetNextToken

func (s *ListFindingsOutput) SetNextToken(v string) *ListFindingsOutput

SetNextToken sets the NextToken field's value.

func (ListFindingsOutput) String

func (s ListFindingsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListMembersInput

type ListMembersInput struct {

	// The maximum number of results the response can return. If your request would
	// return more than the maximum the response will return a nextToken value,
	// use this value when you call the action again to get the remaining results.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// A token to use for paginating results that are returned in the response.
	// Set the value of this parameter to null for the first request to a list action.
	// If your response returns more than the maxResults maximum value it will also
	// return a nextToken value. For subsequent calls, use the nextToken value returned
	// from the previous request to continue listing results after the first page.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Specifies whether to list only currently associated members if True or to
	// list all members within the organization if False.
	OnlyAssociated *bool `locationName:"onlyAssociated" type:"boolean"`
	// contains filtered or unexported fields
}

func (ListMembersInput) GoString

func (s ListMembersInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListMembersInput) SetMaxResults

func (s *ListMembersInput) SetMaxResults(v int64) *ListMembersInput

SetMaxResults sets the MaxResults field's value.

func (*ListMembersInput) SetNextToken

func (s *ListMembersInput) SetNextToken(v string) *ListMembersInput

SetNextToken sets the NextToken field's value.

func (*ListMembersInput) SetOnlyAssociated

func (s *ListMembersInput) SetOnlyAssociated(v bool) *ListMembersInput

SetOnlyAssociated sets the OnlyAssociated field's value.

func (ListMembersInput) String

func (s ListMembersInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListMembersInput) Validate

func (s *ListMembersInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListMembersOutput

type ListMembersOutput struct {

	// An object that contains details for each member account.
	Members []*Member `locationName:"members" type:"list"`

	// The pagination parameter to be used on the next list operation to retrieve
	// more items.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListMembersOutput) GoString

func (s ListMembersOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListMembersOutput) SetMembers

func (s *ListMembersOutput) SetMembers(v []*Member) *ListMembersOutput

SetMembers sets the Members field's value.

func (*ListMembersOutput) SetNextToken

func (s *ListMembersOutput) SetNextToken(v string) *ListMembersOutput

SetNextToken sets the NextToken field's value.

func (ListMembersOutput) String

func (s ListMembersOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The Amazon resource number (ARN) of the resource to list tags of.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// The tags associated with the resource.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListUsageTotalsInput

type ListUsageTotalsInput struct {

	// The Amazon Web Services account IDs to retrieve usage totals for.
	AccountIds []*string `locationName:"accountIds" min:"1" type:"list"`

	// The maximum number of results the response can return. If your request would
	// return more than the maximum the response will return a nextToken value,
	// use this value when you call the action again to get the remaining results.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// A token to use for paginating results that are returned in the response.
	// Set the value of this parameter to null for the first request to a list action.
	// If your response returns more than the maxResults maximum value it will also
	// return a nextToken value. For subsequent calls, use the nextToken value returned
	// from the previous request to continue listing results after the first page.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListUsageTotalsInput) GoString

func (s ListUsageTotalsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListUsageTotalsInput) SetAccountIds

func (s *ListUsageTotalsInput) SetAccountIds(v []*string) *ListUsageTotalsInput

SetAccountIds sets the AccountIds field's value.

func (*ListUsageTotalsInput) SetMaxResults

func (s *ListUsageTotalsInput) SetMaxResults(v int64) *ListUsageTotalsInput

SetMaxResults sets the MaxResults field's value.

func (*ListUsageTotalsInput) SetNextToken

func (s *ListUsageTotalsInput) SetNextToken(v string) *ListUsageTotalsInput

SetNextToken sets the NextToken field's value.

func (ListUsageTotalsInput) String

func (s ListUsageTotalsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListUsageTotalsInput) Validate

func (s *ListUsageTotalsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListUsageTotalsOutput

type ListUsageTotalsOutput struct {

	// The pagination parameter to be used on the next list operation to retrieve
	// more items.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// An object with details on the total usage for the requested account.
	Totals []*UsageTotal `locationName:"totals" type:"list"`
	// contains filtered or unexported fields
}

func (ListUsageTotalsOutput) GoString

func (s ListUsageTotalsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListUsageTotalsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListUsageTotalsOutput) SetTotals

SetTotals sets the Totals field's value.

func (ListUsageTotalsOutput) String

func (s ListUsageTotalsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MapFilter

type MapFilter struct {

	// The operator to use when comparing values in the filter.
	//
	// Comparison is a required field
	Comparison *string `locationName:"comparison" type:"string" required:"true" enum:"MapComparison"`

	// The tag key used in the filter.
	//
	// Key is a required field
	Key *string `locationName:"key" min:"1" type:"string" required:"true"`

	// The tag value used in the filter.
	Value *string `locationName:"value" type:"string"`
	// contains filtered or unexported fields
}

An object that describes details of a map filter.

func (MapFilter) GoString

func (s MapFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MapFilter) SetComparison

func (s *MapFilter) SetComparison(v string) *MapFilter

SetComparison sets the Comparison field's value.

func (*MapFilter) SetKey

func (s *MapFilter) SetKey(v string) *MapFilter

SetKey sets the Key field's value.

func (*MapFilter) SetValue

func (s *MapFilter) SetValue(v string) *MapFilter

SetValue sets the Value field's value.

func (MapFilter) String

func (s MapFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MapFilter) Validate

func (s *MapFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Member

type Member struct {

	// The Amazon Web Services account ID of the member account.
	AccountId *string `locationName:"accountId" min:"12" type:"string"`

	// The Amazon Web Services account ID of the Amazon Inspector delegated administrator
	// for this member account.
	DelegatedAdminAccountId *string `locationName:"delegatedAdminAccountId" min:"12" type:"string"`

	// The status of the member account.
	RelationshipStatus *string `locationName:"relationshipStatus" type:"string" enum:"RelationshipStatus"`

	// A timestamp showing when the status of this member was last updated.
	UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp"`
	// contains filtered or unexported fields
}

Details on a member account in your organization.

func (Member) GoString

func (s Member) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Member) SetAccountId

func (s *Member) SetAccountId(v string) *Member

SetAccountId sets the AccountId field's value.

func (*Member) SetDelegatedAdminAccountId

func (s *Member) SetDelegatedAdminAccountId(v string) *Member

SetDelegatedAdminAccountId sets the DelegatedAdminAccountId field's value.

func (*Member) SetRelationshipStatus

func (s *Member) SetRelationshipStatus(v string) *Member

SetRelationshipStatus sets the RelationshipStatus field's value.

func (*Member) SetUpdatedAt

func (s *Member) SetUpdatedAt(v time.Time) *Member

SetUpdatedAt sets the UpdatedAt field's value.

func (Member) String

func (s Member) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MemberAccountEc2DeepInspectionStatus added in v1.44.256

type MemberAccountEc2DeepInspectionStatus struct {

	// The unique identifier for the Amazon Web Services account of the organization
	// member.
	//
	// AccountId is a required field
	AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"`

	// Whether Amazon Inspector deep inspection is active in the account. If TRUE
	// Amazon Inspector deep inspection is active, if FALSE it is not active.
	//
	// ActivateDeepInspection is a required field
	ActivateDeepInspection *bool `locationName:"activateDeepInspection" type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

An object that contains details about the status of Amazon Inspector deep inspection for a member account in your organization.

func (MemberAccountEc2DeepInspectionStatus) GoString added in v1.44.256

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MemberAccountEc2DeepInspectionStatus) SetAccountId added in v1.44.256

SetAccountId sets the AccountId field's value.

func (*MemberAccountEc2DeepInspectionStatus) SetActivateDeepInspection added in v1.44.256

SetActivateDeepInspection sets the ActivateDeepInspection field's value.

func (MemberAccountEc2DeepInspectionStatus) String added in v1.44.256

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MemberAccountEc2DeepInspectionStatus) Validate added in v1.44.256

Validate inspects the fields of the type to determine if they are valid.

type MemberAccountEc2DeepInspectionStatusState added in v1.44.256

type MemberAccountEc2DeepInspectionStatusState struct {

	// The unique identifier for the Amazon Web Services account of the organization
	// member
	//
	// AccountId is a required field
	AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"`

	// The error message explaining why the account failed to activate Amazon Inspector
	// deep inspection.
	ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string"`

	// The state of Amazon Inspector deep inspection in the member account.
	Status *string `locationName:"status" type:"string" enum:"Ec2DeepInspectionStatus"`
	// contains filtered or unexported fields
}

An object that contains details about the state of Amazon Inspector deep inspection for a member account.

func (MemberAccountEc2DeepInspectionStatusState) GoString added in v1.44.256

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MemberAccountEc2DeepInspectionStatusState) SetAccountId added in v1.44.256

SetAccountId sets the AccountId field's value.

func (*MemberAccountEc2DeepInspectionStatusState) SetErrorMessage added in v1.44.256

SetErrorMessage sets the ErrorMessage field's value.

func (*MemberAccountEc2DeepInspectionStatusState) SetStatus added in v1.44.256

SetStatus sets the Status field's value.

func (MemberAccountEc2DeepInspectionStatusState) String added in v1.44.256

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type NetworkPath

type NetworkPath struct {

	// The details on the steps in the network path.
	Steps []*Step `locationName:"steps" min:"1" type:"list"`
	// contains filtered or unexported fields
}

Information on the network path associated with a finding.

func (NetworkPath) GoString

func (s NetworkPath) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*NetworkPath) SetSteps

func (s *NetworkPath) SetSteps(v []*Step) *NetworkPath

SetSteps sets the Steps field's value.

func (NetworkPath) String

func (s NetworkPath) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type NetworkReachabilityDetails

type NetworkReachabilityDetails struct {

	// An object that contains details about a network path associated with a finding.
	//
	// NetworkPath is a required field
	NetworkPath *NetworkPath `locationName:"networkPath" type:"structure" required:"true"`

	// An object that contains details about the open port range associated with
	// a finding.
	//
	// OpenPortRange is a required field
	OpenPortRange *PortRange `locationName:"openPortRange" type:"structure" required:"true"`

	// The protocol associated with a finding.
	//
	// Protocol is a required field
	Protocol *string `locationName:"protocol" type:"string" required:"true" enum:"NetworkProtocol"`
	// contains filtered or unexported fields
}

Contains the details of a network reachability finding.

func (NetworkReachabilityDetails) GoString

func (s NetworkReachabilityDetails) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*NetworkReachabilityDetails) SetNetworkPath

SetNetworkPath sets the NetworkPath field's value.

func (*NetworkReachabilityDetails) SetOpenPortRange

SetOpenPortRange sets the OpenPortRange field's value.

func (*NetworkReachabilityDetails) SetProtocol

SetProtocol sets the Protocol field's value.

func (NetworkReachabilityDetails) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type NumberFilter

type NumberFilter struct {

	// The lowest number to be included in the filter.
	LowerInclusive *float64 `locationName:"lowerInclusive" type:"double"`

	// The highest number to be included in the filter.
	UpperInclusive *float64 `locationName:"upperInclusive" type:"double"`
	// contains filtered or unexported fields
}

An object that describes the details of a number filter.

func (NumberFilter) GoString

func (s NumberFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*NumberFilter) SetLowerInclusive

func (s *NumberFilter) SetLowerInclusive(v float64) *NumberFilter

SetLowerInclusive sets the LowerInclusive field's value.

func (*NumberFilter) SetUpperInclusive

func (s *NumberFilter) SetUpperInclusive(v float64) *NumberFilter

SetUpperInclusive sets the UpperInclusive field's value.

func (NumberFilter) String

func (s NumberFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PackageAggregation

type PackageAggregation struct {

	// The names of packages to aggregate findings on.
	PackageNames []*StringFilter `locationName:"packageNames" min:"1" type:"list"`

	// The value to sort results by.
	SortBy *string `locationName:"sortBy" type:"string" enum:"PackageSortBy"`

	// The order to sort results by.
	SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrder"`
	// contains filtered or unexported fields
}

The details that define an aggregation based on operating system package type.

func (PackageAggregation) GoString

func (s PackageAggregation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PackageAggregation) SetPackageNames

func (s *PackageAggregation) SetPackageNames(v []*StringFilter) *PackageAggregation

SetPackageNames sets the PackageNames field's value.

func (*PackageAggregation) SetSortBy

func (s *PackageAggregation) SetSortBy(v string) *PackageAggregation

SetSortBy sets the SortBy field's value.

func (*PackageAggregation) SetSortOrder

func (s *PackageAggregation) SetSortOrder(v string) *PackageAggregation

SetSortOrder sets the SortOrder field's value.

func (PackageAggregation) String

func (s PackageAggregation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PackageAggregation) Validate

func (s *PackageAggregation) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PackageAggregationResponse

type PackageAggregationResponse struct {

	// The ID of the Amazon Web Services account associated with the findings.
	AccountId *string `locationName:"accountId" min:"12" type:"string"`

	// The name of the operating system package.
	//
	// PackageName is a required field
	PackageName *string `locationName:"packageName" min:"1" type:"string" required:"true"`

	// An object that contains the count of matched findings per severity.
	SeverityCounts *SeverityCounts `locationName:"severityCounts" type:"structure"`
	// contains filtered or unexported fields
}

A response that contains the results of a finding aggregation by image layer.

func (PackageAggregationResponse) GoString

func (s PackageAggregationResponse) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PackageAggregationResponse) SetAccountId

SetAccountId sets the AccountId field's value.

func (*PackageAggregationResponse) SetPackageName

SetPackageName sets the PackageName field's value.

func (*PackageAggregationResponse) SetSeverityCounts

SetSeverityCounts sets the SeverityCounts field's value.

func (PackageAggregationResponse) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PackageFilter

type PackageFilter struct {

	// An object that contains details on the package architecture type to filter
	// on.
	Architecture *StringFilter `locationName:"architecture" type:"structure"`

	// An object that contains details on the package epoch to filter on.
	Epoch *NumberFilter `locationName:"epoch" type:"structure"`

	// An object that contains details on the name of the package to filter on.
	Name *StringFilter `locationName:"name" type:"structure"`

	// An object that contains details on the package release to filter on.
	Release *StringFilter `locationName:"release" type:"structure"`

	// An object that describes the details of a string filter.
	SourceLambdaLayerArn *StringFilter `locationName:"sourceLambdaLayerArn" type:"structure"`

	// An object that contains details on the source layer hash to filter on.
	SourceLayerHash *StringFilter `locationName:"sourceLayerHash" type:"structure"`

	// The package version to filter on.
	Version *StringFilter `locationName:"version" type:"structure"`
	// contains filtered or unexported fields
}

Contains information on the details of a package filter.

func (PackageFilter) GoString

func (s PackageFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PackageFilter) SetArchitecture

func (s *PackageFilter) SetArchitecture(v *StringFilter) *PackageFilter

SetArchitecture sets the Architecture field's value.

func (*PackageFilter) SetEpoch

func (s *PackageFilter) SetEpoch(v *NumberFilter) *PackageFilter

SetEpoch sets the Epoch field's value.

func (*PackageFilter) SetName

func (s *PackageFilter) SetName(v *StringFilter) *PackageFilter

SetName sets the Name field's value.

func (*PackageFilter) SetRelease

func (s *PackageFilter) SetRelease(v *StringFilter) *PackageFilter

SetRelease sets the Release field's value.

func (*PackageFilter) SetSourceLambdaLayerArn added in v1.44.147

func (s *PackageFilter) SetSourceLambdaLayerArn(v *StringFilter) *PackageFilter

SetSourceLambdaLayerArn sets the SourceLambdaLayerArn field's value.

func (*PackageFilter) SetSourceLayerHash

func (s *PackageFilter) SetSourceLayerHash(v *StringFilter) *PackageFilter

SetSourceLayerHash sets the SourceLayerHash field's value.

func (*PackageFilter) SetVersion

func (s *PackageFilter) SetVersion(v *StringFilter) *PackageFilter

SetVersion sets the Version field's value.

func (PackageFilter) String

func (s PackageFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PackageFilter) Validate

func (s *PackageFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PackageVulnerabilityDetails

type PackageVulnerabilityDetails struct {

	// An object that contains details about the CVSS score of a finding.
	Cvss []*CvssScore `locationName:"cvss" type:"list"`

	// One or more URLs that contain details about this vulnerability type.
	ReferenceUrls []*string `locationName:"referenceUrls" type:"list"`

	// One or more vulnerabilities related to the one identified in this finding.
	RelatedVulnerabilities []*string `locationName:"relatedVulnerabilities" type:"list"`

	// The source of the vulnerability information.
	//
	// Source is a required field
	Source *string `locationName:"source" min:"1" type:"string" required:"true"`

	// A URL to the source of the vulnerability information.
	SourceUrl *string `locationName:"sourceUrl" min:"1" type:"string"`

	// The date and time that this vulnerability was first added to the vendor's
	// database.
	VendorCreatedAt *time.Time `locationName:"vendorCreatedAt" type:"timestamp"`

	// The severity the vendor has given to this vulnerability type.
	VendorSeverity *string `locationName:"vendorSeverity" min:"1" type:"string"`

	// The date and time the vendor last updated this vulnerability in their database.
	VendorUpdatedAt *time.Time `locationName:"vendorUpdatedAt" type:"timestamp"`

	// The ID given to this vulnerability.
	//
	// VulnerabilityId is a required field
	VulnerabilityId *string `locationName:"vulnerabilityId" min:"1" type:"string" required:"true"`

	// The packages impacted by this vulnerability.
	VulnerablePackages []*VulnerablePackage `locationName:"vulnerablePackages" type:"list"`
	// contains filtered or unexported fields
}

Information about a package vulnerability finding.

func (PackageVulnerabilityDetails) GoString

func (s PackageVulnerabilityDetails) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PackageVulnerabilityDetails) SetCvss

SetCvss sets the Cvss field's value.

func (*PackageVulnerabilityDetails) SetReferenceUrls

SetReferenceUrls sets the ReferenceUrls field's value.

func (*PackageVulnerabilityDetails) SetRelatedVulnerabilities

func (s *PackageVulnerabilityDetails) SetRelatedVulnerabilities(v []*string) *PackageVulnerabilityDetails

SetRelatedVulnerabilities sets the RelatedVulnerabilities field's value.

func (*PackageVulnerabilityDetails) SetSource

SetSource sets the Source field's value.

func (*PackageVulnerabilityDetails) SetSourceUrl

SetSourceUrl sets the SourceUrl field's value.

func (*PackageVulnerabilityDetails) SetVendorCreatedAt

SetVendorCreatedAt sets the VendorCreatedAt field's value.

func (*PackageVulnerabilityDetails) SetVendorSeverity

SetVendorSeverity sets the VendorSeverity field's value.

func (*PackageVulnerabilityDetails) SetVendorUpdatedAt

SetVendorUpdatedAt sets the VendorUpdatedAt field's value.

func (*PackageVulnerabilityDetails) SetVulnerabilityId

SetVulnerabilityId sets the VulnerabilityId field's value.

func (*PackageVulnerabilityDetails) SetVulnerablePackages

SetVulnerablePackages sets the VulnerablePackages field's value.

func (PackageVulnerabilityDetails) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Permission

type Permission struct {

	// The operations that can be performed with the given permissions.
	//
	// Operation is a required field
	Operation *string `locationName:"operation" type:"string" required:"true" enum:"Operation"`

	// The services that the permissions allow an account to perform the given operations
	// for.
	//
	// Service is a required field
	Service *string `locationName:"service" type:"string" required:"true" enum:"Service"`
	// contains filtered or unexported fields
}

Contains information on the permissions an account has within Amazon Inspector.

func (Permission) GoString

func (s Permission) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Permission) SetOperation

func (s *Permission) SetOperation(v string) *Permission

SetOperation sets the Operation field's value.

func (*Permission) SetService

func (s *Permission) SetService(v string) *Permission

SetService sets the Service field's value.

func (Permission) String

func (s Permission) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PortRange

type PortRange struct {

	// The beginning port in a port range.
	//
	// Begin is a required field
	Begin *int64 `locationName:"begin" type:"integer" required:"true"`

	// The ending port in a port range.
	//
	// End is a required field
	End *int64 `locationName:"end" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

Details about the port range associated with a finding.

func (PortRange) GoString

func (s PortRange) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PortRange) SetBegin

func (s *PortRange) SetBegin(v int64) *PortRange

SetBegin sets the Begin field's value.

func (*PortRange) SetEnd

func (s *PortRange) SetEnd(v int64) *PortRange

SetEnd sets the End field's value.

func (PortRange) String

func (s PortRange) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PortRangeFilter

type PortRangeFilter struct {

	// The port number the port range begins at.
	BeginInclusive *int64 `locationName:"beginInclusive" type:"integer"`

	// The port number the port range ends at.
	EndInclusive *int64 `locationName:"endInclusive" type:"integer"`
	// contains filtered or unexported fields
}

An object that describes the details of a port range filter.

func (PortRangeFilter) GoString

func (s PortRangeFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PortRangeFilter) SetBeginInclusive

func (s *PortRangeFilter) SetBeginInclusive(v int64) *PortRangeFilter

SetBeginInclusive sets the BeginInclusive field's value.

func (*PortRangeFilter) SetEndInclusive

func (s *PortRangeFilter) SetEndInclusive(v int64) *PortRangeFilter

SetEndInclusive sets the EndInclusive field's value.

func (PortRangeFilter) String

func (s PortRangeFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Recommendation

type Recommendation struct {

	// The recommended course of action to remediate the finding.
	Text *string `locationName:"text" min:"1" type:"string"`

	// The URL address to the CVE remediation recommendations.
	Url *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Details about the recommended course of action to remediate the finding.

func (Recommendation) GoString

func (s Recommendation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Recommendation) SetText

func (s *Recommendation) SetText(v string) *Recommendation

SetText sets the Text field's value.

func (*Recommendation) SetUrl

func (s *Recommendation) SetUrl(v string) *Recommendation

SetUrl sets the Url field's value.

func (Recommendation) String

func (s Recommendation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Remediation

type Remediation struct {

	// An object that contains information about the recommended course of action
	// to remediate the finding.
	Recommendation *Recommendation `locationName:"recommendation" type:"structure"`
	// contains filtered or unexported fields
}

Information on how to remediate a finding.

func (Remediation) GoString

func (s Remediation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Remediation) SetRecommendation

func (s *Remediation) SetRecommendation(v *Recommendation) *Remediation

SetRecommendation sets the Recommendation field's value.

func (Remediation) String

func (s Remediation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RepositoryAggregation

type RepositoryAggregation struct {

	// The names of repositories to aggregate findings on.
	Repositories []*StringFilter `locationName:"repositories" min:"1" type:"list"`

	// The value to sort results by.
	SortBy *string `locationName:"sortBy" type:"string" enum:"RepositorySortBy"`

	// The order to sort results by.
	SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrder"`
	// contains filtered or unexported fields
}

The details that define an aggregation based on repository.

func (RepositoryAggregation) GoString

func (s RepositoryAggregation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryAggregation) SetRepositories

func (s *RepositoryAggregation) SetRepositories(v []*StringFilter) *RepositoryAggregation

SetRepositories sets the Repositories field's value.

func (*RepositoryAggregation) SetSortBy

SetSortBy sets the SortBy field's value.

func (*RepositoryAggregation) SetSortOrder

SetSortOrder sets the SortOrder field's value.

func (RepositoryAggregation) String

func (s RepositoryAggregation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryAggregation) Validate

func (s *RepositoryAggregation) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RepositoryAggregationResponse

type RepositoryAggregationResponse struct {

	// The ID of the Amazon Web Services account associated with the findings.
	AccountId *string `locationName:"accountId" min:"12" type:"string"`

	// The number of container images impacted by the findings.
	AffectedImages *int64 `locationName:"affectedImages" type:"long"`

	// The name of the repository associated with the findings.
	//
	// Repository is a required field
	Repository *string `locationName:"repository" min:"1" type:"string" required:"true"`

	// An object that represent the count of matched findings per severity.
	SeverityCounts *SeverityCounts `locationName:"severityCounts" type:"structure"`
	// contains filtered or unexported fields
}

A response that contains details on the results of a finding aggregation by repository.

func (RepositoryAggregationResponse) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryAggregationResponse) SetAccountId

SetAccountId sets the AccountId field's value.

func (*RepositoryAggregationResponse) SetAffectedImages

SetAffectedImages sets the AffectedImages field's value.

func (*RepositoryAggregationResponse) SetRepository

SetRepository sets the Repository field's value.

func (*RepositoryAggregationResponse) SetSeverityCounts

SetSeverityCounts sets the SeverityCounts field's value.

func (RepositoryAggregationResponse) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResetEncryptionKeyInput added in v1.44.287

type ResetEncryptionKeyInput struct {

	// The resource type the key encrypts.
	//
	// ResourceType is a required field
	ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"`

	// The scan type the key encrypts.
	//
	// ScanType is a required field
	ScanType *string `locationName:"scanType" type:"string" required:"true" enum:"ScanType"`
	// contains filtered or unexported fields
}

func (ResetEncryptionKeyInput) GoString added in v1.44.287

func (s ResetEncryptionKeyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResetEncryptionKeyInput) SetResourceType added in v1.44.287

SetResourceType sets the ResourceType field's value.

func (*ResetEncryptionKeyInput) SetScanType added in v1.44.287

SetScanType sets the ScanType field's value.

func (ResetEncryptionKeyInput) String added in v1.44.287

func (s ResetEncryptionKeyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResetEncryptionKeyInput) Validate added in v1.44.287

func (s *ResetEncryptionKeyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ResetEncryptionKeyOutput added in v1.44.287

type ResetEncryptionKeyOutput struct {
	// contains filtered or unexported fields
}

func (ResetEncryptionKeyOutput) GoString added in v1.44.287

func (s ResetEncryptionKeyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (ResetEncryptionKeyOutput) String added in v1.44.287

func (s ResetEncryptionKeyOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Resource

type Resource struct {

	// An object that contains details about the resource involved in a finding.
	Details *ResourceDetails `locationName:"details" type:"structure"`

	// The ID of the resource.
	//
	// Id is a required field
	Id *string `locationName:"id" min:"1" type:"string" required:"true"`

	// The partition of the resource.
	Partition *string `locationName:"partition" min:"1" type:"string"`

	// The Amazon Web Services Region the impacted resource is located in.
	Region *string `locationName:"region" min:"1" type:"string"`

	// The tags attached to the resource.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// The type of resource.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"ResourceType"`
	// contains filtered or unexported fields
}

Details about the resource involved in a finding.

func (Resource) GoString

func (s Resource) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Resource) SetDetails

func (s *Resource) SetDetails(v *ResourceDetails) *Resource

SetDetails sets the Details field's value.

func (*Resource) SetId

func (s *Resource) SetId(v string) *Resource

SetId sets the Id field's value.

func (*Resource) SetPartition

func (s *Resource) SetPartition(v string) *Resource

SetPartition sets the Partition field's value.

func (*Resource) SetRegion

func (s *Resource) SetRegion(v string) *Resource

SetRegion sets the Region field's value.

func (*Resource) SetTags

func (s *Resource) SetTags(v map[string]*string) *Resource

SetTags sets the Tags field's value.

func (*Resource) SetType

func (s *Resource) SetType(v string) *Resource

SetType sets the Type field's value.

func (Resource) String

func (s Resource) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceDetails

type ResourceDetails struct {

	// An object that contains details about the Amazon EC2 instance involved in
	// the finding.
	AwsEc2Instance *AwsEc2InstanceDetails `locationName:"awsEc2Instance" type:"structure"`

	// An object that contains details about the Amazon ECR container image involved
	// in the finding.
	AwsEcrContainerImage *AwsEcrContainerImageDetails `locationName:"awsEcrContainerImage" type:"structure"`

	// A summary of the information about an AWS Lambda function affected by a finding.
	AwsLambdaFunction *AwsLambdaFunctionDetails `locationName:"awsLambdaFunction" type:"structure"`
	// contains filtered or unexported fields
}

Contains details about the resource involved in the finding.

func (ResourceDetails) GoString

func (s ResourceDetails) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceDetails) SetAwsEc2Instance

func (s *ResourceDetails) SetAwsEc2Instance(v *AwsEc2InstanceDetails) *ResourceDetails

SetAwsEc2Instance sets the AwsEc2Instance field's value.

func (*ResourceDetails) SetAwsEcrContainerImage

func (s *ResourceDetails) SetAwsEcrContainerImage(v *AwsEcrContainerImageDetails) *ResourceDetails

SetAwsEcrContainerImage sets the AwsEcrContainerImage field's value.

func (*ResourceDetails) SetAwsLambdaFunction added in v1.44.147

func (s *ResourceDetails) SetAwsLambdaFunction(v *AwsLambdaFunctionDetails) *ResourceDetails

SetAwsLambdaFunction sets the AwsLambdaFunction field's value.

func (ResourceDetails) String

func (s ResourceDetails) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceFilterCriteria added in v1.44.287

type ResourceFilterCriteria struct {

	// The account IDs used as resource filter criteria.
	AccountId []*ResourceStringFilter `locationName:"accountId" min:"1" type:"list"`

	// The EC2 instance tags used as resource filter criteria.
	Ec2InstanceTags []*ResourceMapFilter `locationName:"ec2InstanceTags" min:"1" type:"list"`

	// The ECR image tags used as resource filter criteria.
	EcrImageTags []*ResourceStringFilter `locationName:"ecrImageTags" min:"1" type:"list"`

	// The ECR repository names used as resource filter criteria.
	EcrRepositoryName []*ResourceStringFilter `locationName:"ecrRepositoryName" min:"1" type:"list"`

	// The AWS Lambda function name used as resource filter criteria.
	LambdaFunctionName []*ResourceStringFilter `locationName:"lambdaFunctionName" min:"1" type:"list"`

	// The AWS Lambda function tags used as resource filter criteria.
	LambdaFunctionTags []*ResourceMapFilter `locationName:"lambdaFunctionTags" min:"1" type:"list"`

	// The resource IDs used as resource filter criteria.
	ResourceId []*ResourceStringFilter `locationName:"resourceId" min:"1" type:"list"`

	// The resource types used as resource filter criteria.
	ResourceType []*ResourceStringFilter `locationName:"resourceType" min:"1" type:"list"`
	// contains filtered or unexported fields
}

The resource filter criteria for a Software bill of materials (SBOM) report.

func (ResourceFilterCriteria) GoString added in v1.44.287

func (s ResourceFilterCriteria) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceFilterCriteria) SetAccountId added in v1.44.287

SetAccountId sets the AccountId field's value.

func (*ResourceFilterCriteria) SetEc2InstanceTags added in v1.44.287

SetEc2InstanceTags sets the Ec2InstanceTags field's value.

func (*ResourceFilterCriteria) SetEcrImageTags added in v1.44.287

SetEcrImageTags sets the EcrImageTags field's value.

func (*ResourceFilterCriteria) SetEcrRepositoryName added in v1.44.287

SetEcrRepositoryName sets the EcrRepositoryName field's value.

func (*ResourceFilterCriteria) SetLambdaFunctionName added in v1.44.287

func (s *ResourceFilterCriteria) SetLambdaFunctionName(v []*ResourceStringFilter) *ResourceFilterCriteria

SetLambdaFunctionName sets the LambdaFunctionName field's value.

func (*ResourceFilterCriteria) SetLambdaFunctionTags added in v1.44.287

func (s *ResourceFilterCriteria) SetLambdaFunctionTags(v []*ResourceMapFilter) *ResourceFilterCriteria

SetLambdaFunctionTags sets the LambdaFunctionTags field's value.

func (*ResourceFilterCriteria) SetResourceId added in v1.44.287

SetResourceId sets the ResourceId field's value.

func (*ResourceFilterCriteria) SetResourceType added in v1.44.287

SetResourceType sets the ResourceType field's value.

func (ResourceFilterCriteria) String added in v1.44.287

func (s ResourceFilterCriteria) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceFilterCriteria) Validate added in v1.44.287

func (s *ResourceFilterCriteria) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ResourceMapFilter added in v1.44.287

type ResourceMapFilter struct {

	// The filter's comparison.
	//
	// Comparison is a required field
	Comparison *string `locationName:"comparison" type:"string" required:"true" enum:"ResourceMapComparison"`

	// The filter's key.
	//
	// Key is a required field
	Key *string `locationName:"key" min:"1" type:"string" required:"true"`

	// The filter's value.
	Value *string `locationName:"value" min:"1" type:"string"`
	// contains filtered or unexported fields
}

A resource map filter for a software bill of material report.

func (ResourceMapFilter) GoString added in v1.44.287

func (s ResourceMapFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceMapFilter) SetComparison added in v1.44.287

func (s *ResourceMapFilter) SetComparison(v string) *ResourceMapFilter

SetComparison sets the Comparison field's value.

func (*ResourceMapFilter) SetKey added in v1.44.287

SetKey sets the Key field's value.

func (*ResourceMapFilter) SetValue added in v1.44.287

func (s *ResourceMapFilter) SetValue(v string) *ResourceMapFilter

SetValue sets the Value field's value.

func (ResourceMapFilter) String added in v1.44.287

func (s ResourceMapFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceMapFilter) Validate added in v1.44.287

func (s *ResourceMapFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ResourceNotFoundException

type ResourceNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The operation tried to access an invalid resource. Make sure the resource is specified correctly.

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceScanMetadata

type ResourceScanMetadata struct {

	// An object that contains metadata details for an Amazon EC2 instance.
	Ec2 *Ec2Metadata `locationName:"ec2" type:"structure"`

	// An object that contains details about the container metadata for an Amazon
	// ECR image.
	EcrImage *EcrContainerImageMetadata `locationName:"ecrImage" type:"structure"`

	// An object that contains details about the repository an Amazon ECR image
	// resides in.
	EcrRepository *EcrRepositoryMetadata `locationName:"ecrRepository" type:"structure"`

	// An object that contains metadata details for an AWS Lambda function.
	LambdaFunction *LambdaFunctionMetadata `locationName:"lambdaFunction" type:"structure"`
	// contains filtered or unexported fields
}

An object that contains details about the metadata for an Amazon ECR resource.

func (ResourceScanMetadata) GoString

func (s ResourceScanMetadata) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceScanMetadata) SetEc2

SetEc2 sets the Ec2 field's value.

func (*ResourceScanMetadata) SetEcrImage

SetEcrImage sets the EcrImage field's value.

func (*ResourceScanMetadata) SetEcrRepository

SetEcrRepository sets the EcrRepository field's value.

func (*ResourceScanMetadata) SetLambdaFunction added in v1.44.147

SetLambdaFunction sets the LambdaFunction field's value.

func (ResourceScanMetadata) String

func (s ResourceScanMetadata) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceState

type ResourceState struct {

	// An object detailing the state of Amazon Inspector scanning for Amazon EC2
	// resources.
	//
	// Ec2 is a required field
	Ec2 *State `locationName:"ec2" type:"structure" required:"true"`

	// An object detailing the state of Amazon Inspector scanning for Amazon ECR
	// resources.
	//
	// Ecr is a required field
	Ecr *State `locationName:"ecr" type:"structure" required:"true"`

	// An object that described the state of Amazon Inspector scans for an account.
	Lambda *State `locationName:"lambda" type:"structure"`

	// An object that described the state of Amazon Inspector scans for an account.
	LambdaCode *State `locationName:"lambdaCode" type:"structure"`
	// contains filtered or unexported fields
}

Details the state of Amazon Inspector for each resource type Amazon Inspector scans.

func (ResourceState) GoString

func (s ResourceState) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceState) SetEc2

func (s *ResourceState) SetEc2(v *State) *ResourceState

SetEc2 sets the Ec2 field's value.

func (*ResourceState) SetEcr

func (s *ResourceState) SetEcr(v *State) *ResourceState

SetEcr sets the Ecr field's value.

func (*ResourceState) SetLambda added in v1.44.147

func (s *ResourceState) SetLambda(v *State) *ResourceState

SetLambda sets the Lambda field's value.

func (*ResourceState) SetLambdaCode added in v1.44.287

func (s *ResourceState) SetLambdaCode(v *State) *ResourceState

SetLambdaCode sets the LambdaCode field's value.

func (ResourceState) String

func (s ResourceState) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceStatus

type ResourceStatus struct {

	// The status of Amazon Inspector scanning for Amazon EC2 resources.
	//
	// Ec2 is a required field
	Ec2 *string `locationName:"ec2" type:"string" required:"true" enum:"Status"`

	// The status of Amazon Inspector scanning for Amazon ECR resources.
	//
	// Ecr is a required field
	Ecr *string `locationName:"ecr" type:"string" required:"true" enum:"Status"`

	// The status of Amazon Inspector scanning for AWS Lambda function.
	Lambda *string `locationName:"lambda" type:"string" enum:"Status"`

	// The status of Amazon Inspector scanning for custom application code for Amazon
	// Web Services Lambda functions.
	LambdaCode *string `locationName:"lambdaCode" type:"string" enum:"Status"`
	// contains filtered or unexported fields
}

Details the status of Amazon Inspector for each resource type Amazon Inspector scans.

func (ResourceStatus) GoString

func (s ResourceStatus) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceStatus) SetEc2

func (s *ResourceStatus) SetEc2(v string) *ResourceStatus

SetEc2 sets the Ec2 field's value.

func (*ResourceStatus) SetEcr

func (s *ResourceStatus) SetEcr(v string) *ResourceStatus

SetEcr sets the Ecr field's value.

func (*ResourceStatus) SetLambda added in v1.44.147

func (s *ResourceStatus) SetLambda(v string) *ResourceStatus

SetLambda sets the Lambda field's value.

func (*ResourceStatus) SetLambdaCode added in v1.44.287

func (s *ResourceStatus) SetLambdaCode(v string) *ResourceStatus

SetLambdaCode sets the LambdaCode field's value.

func (ResourceStatus) String

func (s ResourceStatus) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceStringFilter added in v1.44.287

type ResourceStringFilter struct {

	// The filter's comparison.
	//
	// Comparison is a required field
	Comparison *string `locationName:"comparison" type:"string" required:"true" enum:"ResourceStringComparison"`

	// The filter's value.
	//
	// Value is a required field
	Value *string `locationName:"value" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A resource string filter for a software bill of materials report.

func (ResourceStringFilter) GoString added in v1.44.287

func (s ResourceStringFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceStringFilter) SetComparison added in v1.44.287

func (s *ResourceStringFilter) SetComparison(v string) *ResourceStringFilter

SetComparison sets the Comparison field's value.

func (*ResourceStringFilter) SetValue added in v1.44.287

SetValue sets the Value field's value.

func (ResourceStringFilter) String added in v1.44.287

func (s ResourceStringFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceStringFilter) Validate added in v1.44.287

func (s *ResourceStringFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ScanStatus

type ScanStatus struct {

	// The scan status. Possible return values and descriptions are:
	//
	// PENDING_INITIAL_SCAN - This resource has been identified for scanning, results
	// will be available soon.
	//
	// ACCESS_DENIED - Resource access policy restricting Amazon Inspector access.
	// Please update the IAM policy.
	//
	// INTERNAL_ERROR - Amazon Inspector has encountered an internal error for this
	// resource. Amazon Inspector service will automatically resolve the issue and
	// resume the scanning. No action required from the user.
	//
	// UNMANAGED_EC2_INSTANCE - The EC2 instance is not managed by SSM, please use
	// the following SSM automation to remediate the issue: https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/automation-awssupport-troubleshoot-managed-instance.html
	// (https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/automation-awssupport-troubleshoot-managed-instance.html).
	// Once the instance becomes managed by SSM, Inspector will automatically begin
	// scanning this instance.
	//
	// UNSUPPORTED_OS - Amazon Inspector does not support this OS, architecture,
	// or image manifest type at this time. To see a complete list of supported
	// operating systems see: https://docs.aws.amazon.com/inspector/latest/user/supported.html
	// (https://docs.aws.amazon.com/inspector/latest/user/supported.html).
	//
	// SCAN_ELIGIBILITY_EXPIRED - The configured scan duration has lapsed for this
	// image.
	//
	// RESOURCE_TERMINATED - This resource has been terminated. The findings and
	// coverage associated with this resource are in the process of being cleaned
	// up.
	//
	// SUCCESSFUL - The scan was successful.
	//
	// NO_RESOURCES_FOUND - Reserved for future use.
	//
	// IMAGE_SIZE_EXCEEDED - Reserved for future use.
	//
	// SCAN_FREQUENCY_MANUAL - This image will not be covered by Amazon Inspector
	// due to the repository scan frequency configuration.
	//
	// SCAN_FREQUENCY_SCAN_ON_PUSH - This image will be scanned one time and will
	// not new findings because of the scan frequency configuration.
	//
	// EC2_INSTANCE_STOPPED - This EC2 instance is in a stopped state, therefore,
	// Amazon Inspector will pause scanning. The existing findings will continue
	// to exist until the instance is terminated. Once the instance is re-started,
	// Inspector will automatically start scanning the instance again. Please note
	// that you will not be charged for this instance while it’s in a stopped
	// state.
	//
	// PENDING_DISABLE - This resource is pending cleanup during disablement. The
	// customer will not be billed while a resource is in the pending disable status.
	//
	// NO INVENTORY - Amazon Inspector couldn’t find software application inventory
	// to scan for vulnerabilities. This might be caused due to required Amazon
	// Inspector associations being deleted or failing to run on your resource.
	// Please verify the status of InspectorInventoryCollection-do-not-delete association
	// in the SSM console for the resource. Additionally, you can verify the instance’s
	// inventory in the SSM Fleet Manager console.
	//
	// STALE_INVENTORY - Amazon Inspector wasn’t able to collect an updated software
	// application inventory in the last 7 days. Please confirm the required Amazon
	// Inspector associations still exist and you can still see an updated inventory
	// in the SSM console.
	//
	// EXCLUDED_BY_TAG - This resource was not scanned because it has been excluded
	// by a tag.
	//
	// UNSUPPORTED_RUNTIME - The function was not scanned because it has an unsupported
	// runtime. To see a complete list of supported runtimes see: https://docs.aws.amazon.com/inspector/latest/user/supported.html
	// (https://docs.aws.amazon.com/inspector/latest/user/supported.html).
	//
	// UNSUPPORTED_MEDIA_TYPE - The ECR image has an unsupported media type.
	//
	// UNSUPPORTED_CONFIG_FILE - Reserved for future use.
	//
	// DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED - The instance has exceeded
	// the 5000 package limit for Amazon Inspector Deep inspection. To resume Deep
	// inspection for this instance you can try to adjust the custom paths associated
	// with the account.
	//
	// DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED - The SSM agent couldn't
	// send inventory to Amazon Inspector because the SSM quota for Inventory data
	// collected per instance per day has already been reached for this instance.
	//
	// DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED - Amazon Inspector failed
	// to extract the package inventory because the package collection time exceeding
	// the maximum threshold of 15 minutes.
	//
	// DEEP_INSPECTION_NO_INVENTORY The Amazon Inspector plugin hasn't yet been
	// able to collect an inventory of packages for this instance. This is usually
	// the result of a pending scan, however, if this status persists after 6 hours,
	// use SSM to ensure that the required Amazon Inspector associations exist and
	// are running for the instance.
	//
	// Reason is a required field
	Reason *string `locationName:"reason" type:"string" required:"true" enum:"ScanStatusReason"`

	// The status code of the scan.
	//
	// StatusCode is a required field
	StatusCode *string `locationName:"statusCode" type:"string" required:"true" enum:"ScanStatusCode"`
	// contains filtered or unexported fields
}

The status of the scan.

func (ScanStatus) GoString

func (s ScanStatus) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ScanStatus) SetReason

func (s *ScanStatus) SetReason(v string) *ScanStatus

SetReason sets the Reason field's value.

func (*ScanStatus) SetStatusCode

func (s *ScanStatus) SetStatusCode(v string) *ScanStatus

SetStatusCode sets the StatusCode field's value.

func (ScanStatus) String

func (s ScanStatus) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SearchVulnerabilitiesFilterCriteria added in v1.44.258

type SearchVulnerabilitiesFilterCriteria struct {

	// The IDs for specific vulnerabilities.
	//
	// VulnerabilityIds is a required field
	VulnerabilityIds []*string `locationName:"vulnerabilityIds" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Details on the criteria used to define the filter for a vulnerability search.

func (SearchVulnerabilitiesFilterCriteria) GoString added in v1.44.258

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SearchVulnerabilitiesFilterCriteria) SetVulnerabilityIds added in v1.44.258

SetVulnerabilityIds sets the VulnerabilityIds field's value.

func (SearchVulnerabilitiesFilterCriteria) String added in v1.44.258

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SearchVulnerabilitiesFilterCriteria) Validate added in v1.44.258

Validate inspects the fields of the type to determine if they are valid.

type SearchVulnerabilitiesInput added in v1.44.258

type SearchVulnerabilitiesInput struct {

	// The criteria used to filter the results of a vulnerability search.
	//
	// FilterCriteria is a required field
	FilterCriteria *SearchVulnerabilitiesFilterCriteria `locationName:"filterCriteria" type:"structure" required:"true"`

	// A token to use for paginating results that are returned in the response.
	// Set the value of this parameter to null for the first request to a list action.
	// For subsequent calls, use the NextToken value returned from the previous
	// request to continue listing results after the first page.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (SearchVulnerabilitiesInput) GoString added in v1.44.258

func (s SearchVulnerabilitiesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SearchVulnerabilitiesInput) SetFilterCriteria added in v1.44.258

SetFilterCriteria sets the FilterCriteria field's value.

func (*SearchVulnerabilitiesInput) SetNextToken added in v1.44.258

SetNextToken sets the NextToken field's value.

func (SearchVulnerabilitiesInput) String added in v1.44.258

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SearchVulnerabilitiesInput) Validate added in v1.44.258

func (s *SearchVulnerabilitiesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SearchVulnerabilitiesOutput added in v1.44.258

type SearchVulnerabilitiesOutput struct {

	// The pagination parameter to be used on the next list operation to retrieve
	// more items.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Details about the listed vulnerability.
	//
	// Vulnerabilities is a required field
	Vulnerabilities []*Vulnerability `locationName:"vulnerabilities" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (SearchVulnerabilitiesOutput) GoString added in v1.44.258

func (s SearchVulnerabilitiesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SearchVulnerabilitiesOutput) SetNextToken added in v1.44.258

SetNextToken sets the NextToken field's value.

func (*SearchVulnerabilitiesOutput) SetVulnerabilities added in v1.44.258

SetVulnerabilities sets the Vulnerabilities field's value.

func (SearchVulnerabilitiesOutput) String added in v1.44.258

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ServiceQuotaExceededException

type ServiceQuotaExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`

	// The ID of the resource that exceeds a service quota.
	//
	// ResourceId is a required field
	ResourceId *string `locationName:"resourceId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.

func (*ServiceQuotaExceededException) Code

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error

func (ServiceQuotaExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceQuotaExceededException) Message

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode

func (s *ServiceQuotaExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ServiceQuotaExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SeverityCounts

type SeverityCounts struct {

	// The total count of findings from all severities.
	All *int64 `locationName:"all" type:"long"`

	// The total count of critical severity findings.
	Critical *int64 `locationName:"critical" type:"long"`

	// The total count of high severity findings.
	High *int64 `locationName:"high" type:"long"`

	// The total count of medium severity findings.
	Medium *int64 `locationName:"medium" type:"long"`
	// contains filtered or unexported fields
}

An object that contains the counts of aggregated finding per severity.

func (SeverityCounts) GoString

func (s SeverityCounts) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SeverityCounts) SetAll

func (s *SeverityCounts) SetAll(v int64) *SeverityCounts

SetAll sets the All field's value.

func (*SeverityCounts) SetCritical

func (s *SeverityCounts) SetCritical(v int64) *SeverityCounts

SetCritical sets the Critical field's value.

func (*SeverityCounts) SetHigh

func (s *SeverityCounts) SetHigh(v int64) *SeverityCounts

SetHigh sets the High field's value.

func (*SeverityCounts) SetMedium

func (s *SeverityCounts) SetMedium(v int64) *SeverityCounts

SetMedium sets the Medium field's value.

func (SeverityCounts) String

func (s SeverityCounts) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SortCriteria

type SortCriteria struct {

	// The finding detail field by which results are sorted.
	//
	// Field is a required field
	Field *string `locationName:"field" type:"string" required:"true" enum:"SortField"`

	// The order by which findings are sorted.
	//
	// SortOrder is a required field
	SortOrder *string `locationName:"sortOrder" type:"string" required:"true" enum:"SortOrder"`
	// contains filtered or unexported fields
}

Details about the criteria used to sort finding results.

func (SortCriteria) GoString

func (s SortCriteria) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SortCriteria) SetField

func (s *SortCriteria) SetField(v string) *SortCriteria

SetField sets the Field field's value.

func (*SortCriteria) SetSortOrder

func (s *SortCriteria) SetSortOrder(v string) *SortCriteria

SetSortOrder sets the SortOrder field's value.

func (SortCriteria) String

func (s SortCriteria) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SortCriteria) Validate

func (s *SortCriteria) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type State

type State struct {

	// The error code explaining why the account failed to enable Amazon Inspector.
	//
	// ErrorCode is a required field
	ErrorCode *string `locationName:"errorCode" type:"string" required:"true" enum:"ErrorCode"`

	// The error message received when the account failed to enable Amazon Inspector.
	//
	// ErrorMessage is a required field
	ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string" required:"true"`

	// The status of Amazon Inspector for the account.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"Status"`
	// contains filtered or unexported fields
}

An object that described the state of Amazon Inspector scans for an account.

func (State) GoString

func (s State) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*State) SetErrorCode

func (s *State) SetErrorCode(v string) *State

SetErrorCode sets the ErrorCode field's value.

func (*State) SetErrorMessage

func (s *State) SetErrorMessage(v string) *State

SetErrorMessage sets the ErrorMessage field's value.

func (*State) SetStatus

func (s *State) SetStatus(v string) *State

SetStatus sets the Status field's value.

func (State) String

func (s State) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Step

type Step struct {

	// The component ID.
	//
	// ComponentId is a required field
	ComponentId *string `locationName:"componentId" type:"string" required:"true"`

	// The component type.
	//
	// ComponentType is a required field
	ComponentType *string `locationName:"componentType" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Details about the step associated with a finding.

func (Step) GoString

func (s Step) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Step) SetComponentId

func (s *Step) SetComponentId(v string) *Step

SetComponentId sets the ComponentId field's value.

func (*Step) SetComponentType

func (s *Step) SetComponentType(v string) *Step

SetComponentType sets the ComponentType field's value.

func (Step) String

func (s Step) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StringFilter

type StringFilter struct {

	// The operator to use when comparing values in the filter.
	//
	// Comparison is a required field
	Comparison *string `locationName:"comparison" type:"string" required:"true" enum:"StringComparison"`

	// The value to filter on.
	//
	// Value is a required field
	Value *string `locationName:"value" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object that describes the details of a string filter.

func (StringFilter) GoString

func (s StringFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StringFilter) SetComparison

func (s *StringFilter) SetComparison(v string) *StringFilter

SetComparison sets the Comparison field's value.

func (*StringFilter) SetValue

func (s *StringFilter) SetValue(v string) *StringFilter

SetValue sets the Value field's value.

func (StringFilter) String

func (s StringFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StringFilter) Validate

func (s *StringFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SuggestedFix added in v1.44.287

type SuggestedFix struct {

	// The fix's code.
	Code *string `locationName:"code" min:"1" type:"string"`

	// The fix's description.
	Description *string `locationName:"description" min:"1" type:"string"`
	// contains filtered or unexported fields
}

A suggested fix for a vulnerability in your Lambda function code.

func (SuggestedFix) GoString added in v1.44.287

func (s SuggestedFix) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SuggestedFix) SetCode added in v1.44.287

func (s *SuggestedFix) SetCode(v string) *SuggestedFix

SetCode sets the Code field's value.

func (*SuggestedFix) SetDescription added in v1.44.287

func (s *SuggestedFix) SetDescription(v string) *SuggestedFix

SetDescription sets the Description field's value.

func (SuggestedFix) String added in v1.44.287

func (s SuggestedFix) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TagResourceInput

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource to apply a tag to.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"`

	// The tags to be added to a resource.
	//
	// Tags is a required field
	Tags map[string]*string `locationName:"tags" type:"map" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ThrottlingException

type ThrottlingException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`

	// The number of seconds to wait before retrying the request.
	RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"`
	// contains filtered or unexported fields
}

The limit on the number of requests per second was exceeded.

func (*ThrottlingException) Code

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString

func (s ThrottlingException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ThrottlingException) Message

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode

func (s *ThrottlingException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ThrottlingException) String

func (s ThrottlingException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TitleAggregation

type TitleAggregation struct {

	// The type of finding to aggregate on.
	FindingType *string `locationName:"findingType" type:"string" enum:"AggregationFindingType"`

	// The resource type to aggregate on.
	ResourceType *string `locationName:"resourceType" type:"string" enum:"AggregationResourceType"`

	// The value to sort results by.
	SortBy *string `locationName:"sortBy" type:"string" enum:"TitleSortBy"`

	// The order to sort results by.
	SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrder"`

	// The finding titles to aggregate on.
	Titles []*StringFilter `locationName:"titles" min:"1" type:"list"`

	// The vulnerability IDs of the findings.
	VulnerabilityIds []*StringFilter `locationName:"vulnerabilityIds" min:"1" type:"list"`
	// contains filtered or unexported fields
}

The details that define an aggregation based on finding title.

func (TitleAggregation) GoString

func (s TitleAggregation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TitleAggregation) SetFindingType added in v1.44.287

func (s *TitleAggregation) SetFindingType(v string) *TitleAggregation

SetFindingType sets the FindingType field's value.

func (*TitleAggregation) SetResourceType

func (s *TitleAggregation) SetResourceType(v string) *TitleAggregation

SetResourceType sets the ResourceType field's value.

func (*TitleAggregation) SetSortBy

func (s *TitleAggregation) SetSortBy(v string) *TitleAggregation

SetSortBy sets the SortBy field's value.

func (*TitleAggregation) SetSortOrder

func (s *TitleAggregation) SetSortOrder(v string) *TitleAggregation

SetSortOrder sets the SortOrder field's value.

func (*TitleAggregation) SetTitles

func (s *TitleAggregation) SetTitles(v []*StringFilter) *TitleAggregation

SetTitles sets the Titles field's value.

func (*TitleAggregation) SetVulnerabilityIds

func (s *TitleAggregation) SetVulnerabilityIds(v []*StringFilter) *TitleAggregation

SetVulnerabilityIds sets the VulnerabilityIds field's value.

func (TitleAggregation) String

func (s TitleAggregation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TitleAggregation) Validate

func (s *TitleAggregation) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TitleAggregationResponse

type TitleAggregationResponse struct {

	// The ID of the Amazon Web Services account associated with the findings.
	AccountId *string `locationName:"accountId" min:"12" type:"string"`

	// An object that represent the count of matched findings per severity.
	SeverityCounts *SeverityCounts `locationName:"severityCounts" type:"structure"`

	// The title that the findings were aggregated on.
	//
	// Title is a required field
	Title *string `locationName:"title" min:"1" type:"string" required:"true"`

	// The vulnerability ID of the finding.
	VulnerabilityId *string `locationName:"vulnerabilityId" type:"string"`
	// contains filtered or unexported fields
}

A response that contains details on the results of a finding aggregation by title.

func (TitleAggregationResponse) GoString

func (s TitleAggregationResponse) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TitleAggregationResponse) SetAccountId

SetAccountId sets the AccountId field's value.

func (*TitleAggregationResponse) SetSeverityCounts

SetSeverityCounts sets the SeverityCounts field's value.

func (*TitleAggregationResponse) SetTitle

SetTitle sets the Title field's value.

func (*TitleAggregationResponse) SetVulnerabilityId

func (s *TitleAggregationResponse) SetVulnerabilityId(v string) *TitleAggregationResponse

SetVulnerabilityId sets the VulnerabilityId field's value.

func (TitleAggregationResponse) String

func (s TitleAggregationResponse) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UntagResourceInput

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) for the resource to remove tags from.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"`

	// The tag keys to remove from the resource.
	//
	// TagKeys is a required field
	TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateConfigurationInput added in v1.44.55

type UpdateConfigurationInput struct {

	// Specifies how the ECR automated re-scan will be updated for your environment.
	//
	// EcrConfiguration is a required field
	EcrConfiguration *EcrConfiguration `locationName:"ecrConfiguration" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateConfigurationInput) GoString added in v1.44.55

func (s UpdateConfigurationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateConfigurationInput) SetEcrConfiguration added in v1.44.55

SetEcrConfiguration sets the EcrConfiguration field's value.

func (UpdateConfigurationInput) String added in v1.44.55

func (s UpdateConfigurationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateConfigurationInput) Validate added in v1.44.55

func (s *UpdateConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateConfigurationOutput added in v1.44.55

type UpdateConfigurationOutput struct {
	// contains filtered or unexported fields
}

func (UpdateConfigurationOutput) GoString added in v1.44.55

func (s UpdateConfigurationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateConfigurationOutput) String added in v1.44.55

func (s UpdateConfigurationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateEc2DeepInspectionConfigurationInput added in v1.44.256

type UpdateEc2DeepInspectionConfigurationInput struct {

	// Specify TRUE to activate Amazon Inspector deep inspection in your account,
	// or FALSE to deactivate. Member accounts in an organization cannot deactivate
	// deep inspection, instead the delegated administrator for the organization
	// can deactivate a member account using BatchUpdateMemberEc2DeepInspectionStatus
	// (https://docs.aws.amazon.com/inspector/v2/APIReference/API_BatchUpdateMemberEc2DeepInspectionStatus.html).
	ActivateDeepInspection *bool `locationName:"activateDeepInspection" type:"boolean"`

	// The Amazon Inspector deep inspection custom paths you are adding for your
	// account.
	PackagePaths []*string `locationName:"packagePaths" type:"list"`
	// contains filtered or unexported fields
}

func (UpdateEc2DeepInspectionConfigurationInput) GoString added in v1.44.256

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateEc2DeepInspectionConfigurationInput) SetActivateDeepInspection added in v1.44.256

SetActivateDeepInspection sets the ActivateDeepInspection field's value.

func (*UpdateEc2DeepInspectionConfigurationInput) SetPackagePaths added in v1.44.256

SetPackagePaths sets the PackagePaths field's value.

func (UpdateEc2DeepInspectionConfigurationInput) String added in v1.44.256

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateEc2DeepInspectionConfigurationOutput added in v1.44.256

type UpdateEc2DeepInspectionConfigurationOutput struct {

	// An error message explaining why new Amazon Inspector deep inspection custom
	// paths could not be added.
	ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string"`

	// The current Amazon Inspector deep inspection custom paths for the organization.
	OrgPackagePaths []*string `locationName:"orgPackagePaths" type:"list"`

	// The current Amazon Inspector deep inspection custom paths for your account.
	PackagePaths []*string `locationName:"packagePaths" type:"list"`

	// The status of Amazon Inspector deep inspection in your account.
	Status *string `locationName:"status" type:"string" enum:"Ec2DeepInspectionStatus"`
	// contains filtered or unexported fields
}

func (UpdateEc2DeepInspectionConfigurationOutput) GoString added in v1.44.256

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateEc2DeepInspectionConfigurationOutput) SetErrorMessage added in v1.44.256

SetErrorMessage sets the ErrorMessage field's value.

func (*UpdateEc2DeepInspectionConfigurationOutput) SetOrgPackagePaths added in v1.44.256

SetOrgPackagePaths sets the OrgPackagePaths field's value.

func (*UpdateEc2DeepInspectionConfigurationOutput) SetPackagePaths added in v1.44.256

SetPackagePaths sets the PackagePaths field's value.

func (*UpdateEc2DeepInspectionConfigurationOutput) SetStatus added in v1.44.256

SetStatus sets the Status field's value.

func (UpdateEc2DeepInspectionConfigurationOutput) String added in v1.44.256

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateEncryptionKeyInput added in v1.44.287

type UpdateEncryptionKeyInput struct {

	// A KMS key ID for the encryption key.
	//
	// KmsKeyId is a required field
	KmsKeyId *string `locationName:"kmsKeyId" type:"string" required:"true"`

	// The resource type for the encryption key.
	//
	// ResourceType is a required field
	ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"`

	// The scan type for the encryption key.
	//
	// ScanType is a required field
	ScanType *string `locationName:"scanType" type:"string" required:"true" enum:"ScanType"`
	// contains filtered or unexported fields
}

func (UpdateEncryptionKeyInput) GoString added in v1.44.287

func (s UpdateEncryptionKeyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateEncryptionKeyInput) SetKmsKeyId added in v1.44.287

SetKmsKeyId sets the KmsKeyId field's value.

func (*UpdateEncryptionKeyInput) SetResourceType added in v1.44.287

SetResourceType sets the ResourceType field's value.

func (*UpdateEncryptionKeyInput) SetScanType added in v1.44.287

SetScanType sets the ScanType field's value.

func (UpdateEncryptionKeyInput) String added in v1.44.287

func (s UpdateEncryptionKeyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateEncryptionKeyInput) Validate added in v1.44.287

func (s *UpdateEncryptionKeyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateEncryptionKeyOutput added in v1.44.287

type UpdateEncryptionKeyOutput struct {
	// contains filtered or unexported fields
}

func (UpdateEncryptionKeyOutput) GoString added in v1.44.287

func (s UpdateEncryptionKeyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateEncryptionKeyOutput) String added in v1.44.287

func (s UpdateEncryptionKeyOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateFilterInput

type UpdateFilterInput struct {

	// Specifies the action that is to be applied to the findings that match the
	// filter.
	Action *string `locationName:"action" type:"string" enum:"FilterAction"`

	// A description of the filter.
	Description *string `locationName:"description" min:"1" type:"string"`

	// The Amazon Resource Number (ARN) of the filter to update.
	//
	// FilterArn is a required field
	FilterArn *string `locationName:"filterArn" min:"1" type:"string" required:"true"`

	// Defines the criteria to be update in the filter.
	FilterCriteria *FilterCriteria `locationName:"filterCriteria" type:"structure"`

	// The name of the filter.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The reason the filter was updated.
	Reason *string `locationName:"reason" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateFilterInput) GoString

func (s UpdateFilterInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateFilterInput) SetAction

func (s *UpdateFilterInput) SetAction(v string) *UpdateFilterInput

SetAction sets the Action field's value.

func (*UpdateFilterInput) SetDescription

func (s *UpdateFilterInput) SetDescription(v string) *UpdateFilterInput

SetDescription sets the Description field's value.

func (*UpdateFilterInput) SetFilterArn

func (s *UpdateFilterInput) SetFilterArn(v string) *UpdateFilterInput

SetFilterArn sets the FilterArn field's value.

func (*UpdateFilterInput) SetFilterCriteria

func (s *UpdateFilterInput) SetFilterCriteria(v *FilterCriteria) *UpdateFilterInput

SetFilterCriteria sets the FilterCriteria field's value.

func (*UpdateFilterInput) SetName

SetName sets the Name field's value.

func (*UpdateFilterInput) SetReason added in v1.44.55

func (s *UpdateFilterInput) SetReason(v string) *UpdateFilterInput

SetReason sets the Reason field's value.

func (UpdateFilterInput) String

func (s UpdateFilterInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateFilterInput) Validate

func (s *UpdateFilterInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateFilterOutput

type UpdateFilterOutput struct {

	// The Amazon Resource Number (ARN) of the successfully updated filter.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateFilterOutput) GoString

func (s UpdateFilterOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateFilterOutput) SetArn

SetArn sets the Arn field's value.

func (UpdateFilterOutput) String

func (s UpdateFilterOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateOrgEc2DeepInspectionConfigurationInput added in v1.44.256

type UpdateOrgEc2DeepInspectionConfigurationInput struct {

	// The Amazon Inspector deep inspection custom paths you are adding for your
	// organization.
	//
	// OrgPackagePaths is a required field
	OrgPackagePaths []*string `locationName:"orgPackagePaths" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateOrgEc2DeepInspectionConfigurationInput) GoString added in v1.44.256

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateOrgEc2DeepInspectionConfigurationInput) SetOrgPackagePaths added in v1.44.256

SetOrgPackagePaths sets the OrgPackagePaths field's value.

func (UpdateOrgEc2DeepInspectionConfigurationInput) String added in v1.44.256

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateOrgEc2DeepInspectionConfigurationInput) Validate added in v1.44.256

Validate inspects the fields of the type to determine if they are valid.

type UpdateOrgEc2DeepInspectionConfigurationOutput added in v1.44.256

type UpdateOrgEc2DeepInspectionConfigurationOutput struct {
	// contains filtered or unexported fields
}

func (UpdateOrgEc2DeepInspectionConfigurationOutput) GoString added in v1.44.256

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateOrgEc2DeepInspectionConfigurationOutput) String added in v1.44.256

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateOrganizationConfigurationInput

type UpdateOrganizationConfigurationInput struct {

	// Defines which scan types are enabled automatically for new members of your
	// Amazon Inspector organization.
	//
	// AutoEnable is a required field
	AutoEnable *AutoEnable `locationName:"autoEnable" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateOrganizationConfigurationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateOrganizationConfigurationInput) SetAutoEnable

SetAutoEnable sets the AutoEnable field's value.

func (UpdateOrganizationConfigurationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateOrganizationConfigurationInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type UpdateOrganizationConfigurationOutput

type UpdateOrganizationConfigurationOutput struct {

	// The updated status of scan types automatically enabled for new members of
	// your Amazon Inspector organization.
	//
	// AutoEnable is a required field
	AutoEnable *AutoEnable `locationName:"autoEnable" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateOrganizationConfigurationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateOrganizationConfigurationOutput) SetAutoEnable

SetAutoEnable sets the AutoEnable field's value.

func (UpdateOrganizationConfigurationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Usage

type Usage struct {

	// The currency type used when calculating usage data.
	Currency *string `locationName:"currency" type:"string" enum:"Currency"`

	// The estimated monthly cost of Amazon Inspector.
	EstimatedMonthlyCost *float64 `locationName:"estimatedMonthlyCost" type:"double"`

	// The total of usage.
	Total *float64 `locationName:"total" type:"double"`

	// The type scan.
	Type *string `locationName:"type" type:"string" enum:"UsageType"`
	// contains filtered or unexported fields
}

Contains usage information about the cost of Amazon Inspector operation.

func (Usage) GoString

func (s Usage) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Usage) SetCurrency

func (s *Usage) SetCurrency(v string) *Usage

SetCurrency sets the Currency field's value.

func (*Usage) SetEstimatedMonthlyCost

func (s *Usage) SetEstimatedMonthlyCost(v float64) *Usage

SetEstimatedMonthlyCost sets the EstimatedMonthlyCost field's value.

func (*Usage) SetTotal

func (s *Usage) SetTotal(v float64) *Usage

SetTotal sets the Total field's value.

func (*Usage) SetType

func (s *Usage) SetType(v string) *Usage

SetType sets the Type field's value.

func (Usage) String

func (s Usage) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UsageTotal

type UsageTotal struct {

	// The account ID of the account that usage data was retrieved for.
	AccountId *string `locationName:"accountId" type:"string"`

	// An object representing the total usage for an account.
	Usage []*Usage `locationName:"usage" type:"list"`
	// contains filtered or unexported fields
}

The total of usage for an account ID.

func (UsageTotal) GoString

func (s UsageTotal) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UsageTotal) SetAccountId

func (s *UsageTotal) SetAccountId(v string) *UsageTotal

SetAccountId sets the AccountId field's value.

func (*UsageTotal) SetUsage

func (s *UsageTotal) SetUsage(v []*Usage) *UsageTotal

SetUsage sets the Usage field's value.

func (UsageTotal) String

func (s UsageTotal) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationException

type ValidationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The fields that failed validation.
	Fields []*ValidationExceptionField `locationName:"fields" type:"list"`

	Message_ *string `locationName:"message" type:"string"`

	// The reason for the validation failure.
	//
	// Reason is a required field
	Reason *string `locationName:"reason" type:"string" required:"true" enum:"ValidationExceptionReason"`
	// contains filtered or unexported fields
}

The request has failed validation due to missing required fields or having invalid inputs.

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationExceptionField

type ValidationExceptionField struct {

	// The validation exception message.
	//
	// Message is a required field
	Message *string `locationName:"message" type:"string" required:"true"`

	// The name of the validation exception.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object that describes a validation exception.

func (ValidationExceptionField) GoString

func (s ValidationExceptionField) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationExceptionField) SetMessage

SetMessage sets the Message field's value.

func (*ValidationExceptionField) SetName

SetName sets the Name field's value.

func (ValidationExceptionField) String

func (s ValidationExceptionField) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Vulnerability added in v1.44.258

type Vulnerability struct {

	// An object that contains information about the Amazon Web Services Threat
	// Intel Group (ATIG) details for the vulnerability.
	AtigData *AtigData `locationName:"atigData" type:"structure"`

	// An object that contains the Cybersecurity and Infrastructure Security Agency
	// (CISA) details for the vulnerability.
	CisaData *CisaData `locationName:"cisaData" type:"structure"`

	// An object that contains the Common Vulnerability Scoring System (CVSS) Version
	// 2 details for the vulnerability.
	Cvss2 *Cvss2 `locationName:"cvss2" type:"structure"`

	// An object that contains the Common Vulnerability Scoring System (CVSS) Version
	// 3 details for the vulnerability.
	Cvss3 *Cvss3 `locationName:"cvss3" type:"structure"`

	// The Common Weakness Enumeration (CWE) associated with the vulnerability.
	Cwes []*string `locationName:"cwes" type:"list"`

	// A description of the vulnerability.
	Description *string `locationName:"description" type:"string"`

	// Platforms that the vulnerability can be detected on.
	DetectionPlatforms []*string `locationName:"detectionPlatforms" type:"list"`

	// An object that contains the Exploit Prediction Scoring System (EPSS) score
	// for a vulnerability.
	Epss *Epss `locationName:"epss" type:"structure"`

	// An object that contains details on when the exploit was observed.
	ExploitObserved *ExploitObserved `locationName:"exploitObserved" type:"structure"`

	// The ID for the specific vulnerability.
	//
	// Id is a required field
	Id *string `locationName:"id" min:"1" type:"string" required:"true"`

	// Links to various resources with more information on this vulnerability.
	ReferenceUrls []*string `locationName:"referenceUrls" type:"list"`

	// A list of related vulnerabilities.
	RelatedVulnerabilities []*string `locationName:"relatedVulnerabilities" type:"list"`

	// The source of the vulnerability information. Possible results are RHEL, AMAZON_CVE,
	// DEBIAN or NVD.
	Source *string `locationName:"source" type:"string" enum:"VulnerabilitySource"`

	// A link to the official source material for this vulnerability.
	SourceUrl *string `locationName:"sourceUrl" type:"string"`

	// The date and time when the vendor created this vulnerability.
	VendorCreatedAt *time.Time `locationName:"vendorCreatedAt" type:"timestamp"`

	// The severity assigned by the vendor.
	VendorSeverity *string `locationName:"vendorSeverity" min:"1" type:"string"`

	// The date and time when the vendor last updated this vulnerability.
	VendorUpdatedAt *time.Time `locationName:"vendorUpdatedAt" type:"timestamp"`
	// contains filtered or unexported fields
}

Contains details about a specific vulnerability Amazon Inspector can detect.

func (Vulnerability) GoString added in v1.44.258

func (s Vulnerability) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Vulnerability) SetAtigData added in v1.44.258

func (s *Vulnerability) SetAtigData(v *AtigData) *Vulnerability

SetAtigData sets the AtigData field's value.

func (*Vulnerability) SetCisaData added in v1.44.258

func (s *Vulnerability) SetCisaData(v *CisaData) *Vulnerability

SetCisaData sets the CisaData field's value.

func (*Vulnerability) SetCvss2 added in v1.44.258

func (s *Vulnerability) SetCvss2(v *Cvss2) *Vulnerability

SetCvss2 sets the Cvss2 field's value.

func (*Vulnerability) SetCvss3 added in v1.44.258

func (s *Vulnerability) SetCvss3(v *Cvss3) *Vulnerability

SetCvss3 sets the Cvss3 field's value.

func (*Vulnerability) SetCwes added in v1.44.258

func (s *Vulnerability) SetCwes(v []*string) *Vulnerability

SetCwes sets the Cwes field's value.

func (*Vulnerability) SetDescription added in v1.44.258

func (s *Vulnerability) SetDescription(v string) *Vulnerability

SetDescription sets the Description field's value.

func (*Vulnerability) SetDetectionPlatforms added in v1.44.258

func (s *Vulnerability) SetDetectionPlatforms(v []*string) *Vulnerability

SetDetectionPlatforms sets the DetectionPlatforms field's value.

func (*Vulnerability) SetEpss added in v1.44.258

func (s *Vulnerability) SetEpss(v *Epss) *Vulnerability

SetEpss sets the Epss field's value.

func (*Vulnerability) SetExploitObserved added in v1.44.258

func (s *Vulnerability) SetExploitObserved(v *ExploitObserved) *Vulnerability

SetExploitObserved sets the ExploitObserved field's value.

func (*Vulnerability) SetId added in v1.44.258

func (s *Vulnerability) SetId(v string) *Vulnerability

SetId sets the Id field's value.

func (*Vulnerability) SetReferenceUrls added in v1.44.258

func (s *Vulnerability) SetReferenceUrls(v []*string) *Vulnerability

SetReferenceUrls sets the ReferenceUrls field's value.

func (*Vulnerability) SetRelatedVulnerabilities added in v1.44.258

func (s *Vulnerability) SetRelatedVulnerabilities(v []*string) *Vulnerability

SetRelatedVulnerabilities sets the RelatedVulnerabilities field's value.

func (*Vulnerability) SetSource added in v1.44.258

func (s *Vulnerability) SetSource(v string) *Vulnerability

SetSource sets the Source field's value.

func (*Vulnerability) SetSourceUrl added in v1.44.258

func (s *Vulnerability) SetSourceUrl(v string) *Vulnerability

SetSourceUrl sets the SourceUrl field's value.

func (*Vulnerability) SetVendorCreatedAt added in v1.44.258

func (s *Vulnerability) SetVendorCreatedAt(v time.Time) *Vulnerability

SetVendorCreatedAt sets the VendorCreatedAt field's value.

func (*Vulnerability) SetVendorSeverity added in v1.44.258

func (s *Vulnerability) SetVendorSeverity(v string) *Vulnerability

SetVendorSeverity sets the VendorSeverity field's value.

func (*Vulnerability) SetVendorUpdatedAt added in v1.44.258

func (s *Vulnerability) SetVendorUpdatedAt(v time.Time) *Vulnerability

SetVendorUpdatedAt sets the VendorUpdatedAt field's value.

func (Vulnerability) String added in v1.44.258

func (s Vulnerability) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type VulnerablePackage

type VulnerablePackage struct {

	// The architecture of the vulnerable package.
	Arch *string `locationName:"arch" min:"1" type:"string"`

	// The epoch of the vulnerable package.
	Epoch *int64 `locationName:"epoch" type:"integer"`

	// The file path of the vulnerable package.
	FilePath *string `locationName:"filePath" min:"1" type:"string"`

	// The version of the package that contains the vulnerability fix.
	FixedInVersion *string `locationName:"fixedInVersion" min:"1" type:"string"`

	// The name of the vulnerable package.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`

	// The package manager of the vulnerable package.
	PackageManager *string `locationName:"packageManager" type:"string" enum:"PackageManager"`

	// The release of the vulnerable package.
	Release *string `locationName:"release" min:"1" type:"string"`

	// The code to run in your environment to update packages with a fix available.
	Remediation *string `locationName:"remediation" min:"1" type:"string"`

	// The Amazon Resource Number (ARN) of the AWS Lambda function affected by a
	// finding.
	SourceLambdaLayerArn *string `locationName:"sourceLambdaLayerArn" type:"string"`

	// The source layer hash of the vulnerable package.
	SourceLayerHash *string `locationName:"sourceLayerHash" min:"71" type:"string"`

	// The version of the vulnerable package.
	//
	// Version is a required field
	Version *string `locationName:"version" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Information on the vulnerable package identified by a finding.

func (VulnerablePackage) GoString

func (s VulnerablePackage) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*VulnerablePackage) SetArch

SetArch sets the Arch field's value.

func (*VulnerablePackage) SetEpoch

func (s *VulnerablePackage) SetEpoch(v int64) *VulnerablePackage

SetEpoch sets the Epoch field's value.

func (*VulnerablePackage) SetFilePath

func (s *VulnerablePackage) SetFilePath(v string) *VulnerablePackage

SetFilePath sets the FilePath field's value.

func (*VulnerablePackage) SetFixedInVersion

func (s *VulnerablePackage) SetFixedInVersion(v string) *VulnerablePackage

SetFixedInVersion sets the FixedInVersion field's value.

func (*VulnerablePackage) SetName

SetName sets the Name field's value.

func (*VulnerablePackage) SetPackageManager

func (s *VulnerablePackage) SetPackageManager(v string) *VulnerablePackage

SetPackageManager sets the PackageManager field's value.

func (*VulnerablePackage) SetRelease

func (s *VulnerablePackage) SetRelease(v string) *VulnerablePackage

SetRelease sets the Release field's value.

func (*VulnerablePackage) SetRemediation added in v1.44.93

func (s *VulnerablePackage) SetRemediation(v string) *VulnerablePackage

SetRemediation sets the Remediation field's value.

func (*VulnerablePackage) SetSourceLambdaLayerArn added in v1.44.147

func (s *VulnerablePackage) SetSourceLambdaLayerArn(v string) *VulnerablePackage

SetSourceLambdaLayerArn sets the SourceLambdaLayerArn field's value.

func (*VulnerablePackage) SetSourceLayerHash

func (s *VulnerablePackage) SetSourceLayerHash(v string) *VulnerablePackage

SetSourceLayerHash sets the SourceLayerHash field's value.

func (*VulnerablePackage) SetVersion

func (s *VulnerablePackage) SetVersion(v string) *VulnerablePackage

SetVersion sets the Version field's value.

func (VulnerablePackage) String

func (s VulnerablePackage) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

Directories

Path Synopsis
Package inspector2iface provides an interface to enable mocking the Inspector2 service client for testing your code.
Package inspector2iface provides an interface to enable mocking the Inspector2 service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL