inspector2

package
v1.44.6 Latest Latest
Warning

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

Go to latest
Published: May 3, 2022 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 and Amazon ECR 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"
)
View Source
const (
	// AggregationResourceTypeAwsEc2Instance is a AggregationResourceType enum value
	AggregationResourceTypeAwsEc2Instance = "AWS_EC2_INSTANCE"

	// AggregationResourceTypeAwsEcrContainerImage is a AggregationResourceType enum value
	AggregationResourceTypeAwsEcrContainerImage = "AWS_ECR_CONTAINER_IMAGE"
)
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"
)
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 (
	// 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 (
	// 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"
)
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 (
	// 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"
)
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"
)
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 (
	// 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"
)
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 (
	// 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"
)
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 (
	// 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"
)
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 (
	// 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"
)
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"
)
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"
)
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"
)
View Source
const (
	// ScanTypeNetwork is a ScanType enum value
	ScanTypeNetwork = "NETWORK"

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

	// ServiceEcr is a Service enum value
	ServiceEcr = "ECR"
)
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"
)
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"
)
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"
)

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 AwsEcrContainerSortBy_Values

func AwsEcrContainerSortBy_Values() []string

AwsEcrContainerSortBy_Values returns all elements of the AwsEcrContainerSortBy 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 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 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 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 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 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 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 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 ResourceScanType_Values

func ResourceScanType_Values() []string

ResourceScanType_Values returns all elements of the ResourceScanType enum

func ResourceType_Values

func ResourceType_Values() []string

ResourceType_Values returns all elements of the ResourceType 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

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"`

	// 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) 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 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) 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 that the AMI belongs.
	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 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"`
	// 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) 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 the Amazon ECR container image belongs to.
	//
	// 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 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 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 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 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 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"`

	// 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.
	ResourceType []*CoverageStringFilter `locationName:"resourceType" min:"1" type:"list"`

	// The scan status code to filter on.
	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) 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 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) 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"`

	// 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) 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 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 of the KMS key used to export findings.
	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 the Amazon EC2 instance belongs to.
	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 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 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 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 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"`

	// 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"`

	// 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"`

	// The Amazon Inspector score to filter on.
	InspectorScore []*NumberFilter `locationName:"inspectorScore" 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 the ingress source addresses 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) 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) 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) SetInspectorScore

func (s *FilterCriteria) SetInspectorScore(v []*NumberFilter) *FilterCriteria

SetInspectorScore sets the InspectorScore 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"`

	// The description of the finding.
	//
	// Description is a required field
	Description *string `locationName:"description" min:"1" type:"string" required:"true"`

	// 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"`

	// 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.
	//
	// Resources is a required field
	Resources []*Resource `locationName:"resources" min:"1" type:"list" required:"true"`

	// The severity of the finding.
	//
	// 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.
	//
	// 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) SetDescription

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

SetDescription sets the Description 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) 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 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 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 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 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.

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

func (c *Inspector2) CreateFilter(input *CreateFilterInput) (*CreateFilterOutput, error)

CreateFilter API operation for Inspector2.

Creates a filter resource using specified 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 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.

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

type ListAccountPermissionsInput struct {

	// The maximum number of results to return in the response.
	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.
	// 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 to return in the response.
	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.
	// 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 to return in the response.
	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.
	// 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 to return in the response.
	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.
	// 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 to return in the response.
	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.
	// 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 to return in the response.
	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.
	// 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 to return in the response.
	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.
	// 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 to return in the response.
	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.
	// 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 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 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) 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 is a required field
	VulnerablePackages []*VulnerablePackage `locationName:"vulnerablePackages" type:"list" required:"true"`
	// 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 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"`
	// 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) 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 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"`
	// 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) 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"`
	// 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) 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"`
	// 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) 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 ScanStatus

type ScanStatus struct {

	// The reason for the scan.
	//
	// 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 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 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"`
	// 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 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) 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 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"`
	// 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) 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 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 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 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) 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