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
- func AccountSortBy_Values() []string
- func AggregationFindingType_Values() []string
- func AggregationResourceType_Values() []string
- func AggregationType_Values() []string
- func AmiSortBy_Values() []string
- func Architecture_Values() []string
- func AwsEcrContainerSortBy_Values() []string
- func CoverageMapComparison_Values() []string
- func CoverageResourceType_Values() []string
- func CoverageStringComparison_Values() []string
- func Currency_Values() []string
- func DelegatedAdminStatus_Values() []string
- func Ec2DeepInspectionStatus_Values() []string
- func Ec2InstanceSortBy_Values() []string
- func Ec2Platform_Values() []string
- func EcrRescanDurationStatus_Values() []string
- func EcrRescanDuration_Values() []string
- func EcrScanFrequency_Values() []string
- func ErrorCode_Values() []string
- func ExploitAvailable_Values() []string
- func ExternalReportStatus_Values() []string
- func FilterAction_Values() []string
- func FindingStatus_Values() []string
- func FindingTypeSortBy_Values() []string
- func FindingType_Values() []string
- func FixAvailable_Values() []string
- func FreeTrialInfoErrorCode_Values() []string
- func FreeTrialStatus_Values() []string
- func FreeTrialType_Values() []string
- func GroupKey_Values() []string
- func ImageLayerSortBy_Values() []string
- func LambdaFunctionSortBy_Values() []string
- func LambdaLayerSortBy_Values() []string
- func MapComparison_Values() []string
- func NetworkProtocol_Values() []string
- func Operation_Values() []string
- func PackageManager_Values() []string
- func PackageSortBy_Values() []string
- func PackageType_Values() []string
- func RelationshipStatus_Values() []string
- func ReportFormat_Values() []string
- func ReportingErrorCode_Values() []string
- func RepositorySortBy_Values() []string
- func ResourceScanType_Values() []string
- func ResourceType_Values() []string
- func Runtime_Values() []string
- func ScanStatusCode_Values() []string
- func ScanStatusReason_Values() []string
- func ScanType_Values() []string
- func Service_Values() []string
- func Severity_Values() []string
- func SortField_Values() []string
- func SortOrder_Values() []string
- func Status_Values() []string
- func StringComparison_Values() []string
- func TitleSortBy_Values() []string
- func UsageType_Values() []string
- func ValidationExceptionReason_Values() []string
- type AccessDeniedException
- func (s *AccessDeniedException) Code() string
- func (s *AccessDeniedException) Error() string
- func (s AccessDeniedException) GoString() string
- func (s *AccessDeniedException) Message() string
- func (s *AccessDeniedException) OrigErr() error
- func (s *AccessDeniedException) RequestID() string
- func (s *AccessDeniedException) StatusCode() int
- func (s AccessDeniedException) String() string
- type Account
- type AccountAggregation
- func (s AccountAggregation) GoString() string
- func (s *AccountAggregation) SetFindingType(v string) *AccountAggregation
- func (s *AccountAggregation) SetResourceType(v string) *AccountAggregation
- func (s *AccountAggregation) SetSortBy(v string) *AccountAggregation
- func (s *AccountAggregation) SetSortOrder(v string) *AccountAggregation
- func (s AccountAggregation) String() string
- type AccountAggregationResponse
- type AccountState
- type AggregationRequest
- func (s AggregationRequest) GoString() string
- func (s *AggregationRequest) SetAccountAggregation(v *AccountAggregation) *AggregationRequest
- func (s *AggregationRequest) SetAmiAggregation(v *AmiAggregation) *AggregationRequest
- func (s *AggregationRequest) SetAwsEcrContainerAggregation(v *AwsEcrContainerAggregation) *AggregationRequest
- func (s *AggregationRequest) SetEc2InstanceAggregation(v *Ec2InstanceAggregation) *AggregationRequest
- func (s *AggregationRequest) SetFindingTypeAggregation(v *FindingTypeAggregation) *AggregationRequest
- func (s *AggregationRequest) SetImageLayerAggregation(v *ImageLayerAggregation) *AggregationRequest
- func (s *AggregationRequest) SetLambdaFunctionAggregation(v *LambdaFunctionAggregation) *AggregationRequest
- func (s *AggregationRequest) SetLambdaLayerAggregation(v *LambdaLayerAggregation) *AggregationRequest
- func (s *AggregationRequest) SetPackageAggregation(v *PackageAggregation) *AggregationRequest
- func (s *AggregationRequest) SetRepositoryAggregation(v *RepositoryAggregation) *AggregationRequest
- func (s *AggregationRequest) SetTitleAggregation(v *TitleAggregation) *AggregationRequest
- func (s AggregationRequest) String() string
- func (s *AggregationRequest) Validate() error
- type AggregationResponse
- func (s AggregationResponse) GoString() string
- func (s *AggregationResponse) SetAccountAggregation(v *AccountAggregationResponse) *AggregationResponse
- func (s *AggregationResponse) SetAmiAggregation(v *AmiAggregationResponse) *AggregationResponse
- func (s *AggregationResponse) SetAwsEcrContainerAggregation(v *AwsEcrContainerAggregationResponse) *AggregationResponse
- func (s *AggregationResponse) SetEc2InstanceAggregation(v *Ec2InstanceAggregationResponse) *AggregationResponse
- func (s *AggregationResponse) SetFindingTypeAggregation(v *FindingTypeAggregationResponse) *AggregationResponse
- func (s *AggregationResponse) SetImageLayerAggregation(v *ImageLayerAggregationResponse) *AggregationResponse
- func (s *AggregationResponse) SetLambdaFunctionAggregation(v *LambdaFunctionAggregationResponse) *AggregationResponse
- func (s *AggregationResponse) SetLambdaLayerAggregation(v *LambdaLayerAggregationResponse) *AggregationResponse
- func (s *AggregationResponse) SetPackageAggregation(v *PackageAggregationResponse) *AggregationResponse
- func (s *AggregationResponse) SetRepositoryAggregation(v *RepositoryAggregationResponse) *AggregationResponse
- func (s *AggregationResponse) SetTitleAggregation(v *TitleAggregationResponse) *AggregationResponse
- func (s AggregationResponse) String() string
- type AmiAggregation
- func (s AmiAggregation) GoString() string
- func (s *AmiAggregation) SetAmis(v []*StringFilter) *AmiAggregation
- func (s *AmiAggregation) SetSortBy(v string) *AmiAggregation
- func (s *AmiAggregation) SetSortOrder(v string) *AmiAggregation
- func (s AmiAggregation) String() string
- func (s *AmiAggregation) Validate() error
- type AmiAggregationResponse
- func (s AmiAggregationResponse) GoString() string
- func (s *AmiAggregationResponse) SetAccountId(v string) *AmiAggregationResponse
- func (s *AmiAggregationResponse) SetAffectedInstances(v int64) *AmiAggregationResponse
- func (s *AmiAggregationResponse) SetAmi(v string) *AmiAggregationResponse
- func (s *AmiAggregationResponse) SetSeverityCounts(v *SeverityCounts) *AmiAggregationResponse
- func (s AmiAggregationResponse) String() string
- type AssociateMemberInput
- type AssociateMemberOutput
- type AutoEnable
- type AwsEc2InstanceDetails
- func (s AwsEc2InstanceDetails) GoString() string
- func (s *AwsEc2InstanceDetails) SetIamInstanceProfileArn(v string) *AwsEc2InstanceDetails
- func (s *AwsEc2InstanceDetails) SetImageId(v string) *AwsEc2InstanceDetails
- func (s *AwsEc2InstanceDetails) SetIpV4Addresses(v []*string) *AwsEc2InstanceDetails
- func (s *AwsEc2InstanceDetails) SetIpV6Addresses(v []*string) *AwsEc2InstanceDetails
- func (s *AwsEc2InstanceDetails) SetKeyName(v string) *AwsEc2InstanceDetails
- func (s *AwsEc2InstanceDetails) SetLaunchedAt(v time.Time) *AwsEc2InstanceDetails
- func (s *AwsEc2InstanceDetails) SetPlatform(v string) *AwsEc2InstanceDetails
- func (s *AwsEc2InstanceDetails) SetSubnetId(v string) *AwsEc2InstanceDetails
- func (s *AwsEc2InstanceDetails) SetType(v string) *AwsEc2InstanceDetails
- func (s *AwsEc2InstanceDetails) SetVpcId(v string) *AwsEc2InstanceDetails
- func (s AwsEc2InstanceDetails) String() string
- type AwsEcrContainerAggregation
- func (s AwsEcrContainerAggregation) GoString() string
- func (s *AwsEcrContainerAggregation) SetArchitectures(v []*StringFilter) *AwsEcrContainerAggregation
- func (s *AwsEcrContainerAggregation) SetImageShas(v []*StringFilter) *AwsEcrContainerAggregation
- func (s *AwsEcrContainerAggregation) SetImageTags(v []*StringFilter) *AwsEcrContainerAggregation
- func (s *AwsEcrContainerAggregation) SetRepositories(v []*StringFilter) *AwsEcrContainerAggregation
- func (s *AwsEcrContainerAggregation) SetResourceIds(v []*StringFilter) *AwsEcrContainerAggregation
- func (s *AwsEcrContainerAggregation) SetSortBy(v string) *AwsEcrContainerAggregation
- func (s *AwsEcrContainerAggregation) SetSortOrder(v string) *AwsEcrContainerAggregation
- func (s AwsEcrContainerAggregation) String() string
- func (s *AwsEcrContainerAggregation) Validate() error
- type AwsEcrContainerAggregationResponse
- func (s AwsEcrContainerAggregationResponse) GoString() string
- func (s *AwsEcrContainerAggregationResponse) SetAccountId(v string) *AwsEcrContainerAggregationResponse
- func (s *AwsEcrContainerAggregationResponse) SetArchitecture(v string) *AwsEcrContainerAggregationResponse
- func (s *AwsEcrContainerAggregationResponse) SetImageSha(v string) *AwsEcrContainerAggregationResponse
- func (s *AwsEcrContainerAggregationResponse) SetImageTags(v []*string) *AwsEcrContainerAggregationResponse
- func (s *AwsEcrContainerAggregationResponse) SetRepository(v string) *AwsEcrContainerAggregationResponse
- func (s *AwsEcrContainerAggregationResponse) SetResourceId(v string) *AwsEcrContainerAggregationResponse
- func (s *AwsEcrContainerAggregationResponse) SetSeverityCounts(v *SeverityCounts) *AwsEcrContainerAggregationResponse
- func (s AwsEcrContainerAggregationResponse) String() string
- type AwsEcrContainerImageDetails
- func (s AwsEcrContainerImageDetails) GoString() string
- func (s *AwsEcrContainerImageDetails) SetArchitecture(v string) *AwsEcrContainerImageDetails
- func (s *AwsEcrContainerImageDetails) SetAuthor(v string) *AwsEcrContainerImageDetails
- func (s *AwsEcrContainerImageDetails) SetImageHash(v string) *AwsEcrContainerImageDetails
- func (s *AwsEcrContainerImageDetails) SetImageTags(v []*string) *AwsEcrContainerImageDetails
- func (s *AwsEcrContainerImageDetails) SetPlatform(v string) *AwsEcrContainerImageDetails
- func (s *AwsEcrContainerImageDetails) SetPushedAt(v time.Time) *AwsEcrContainerImageDetails
- func (s *AwsEcrContainerImageDetails) SetRegistry(v string) *AwsEcrContainerImageDetails
- func (s *AwsEcrContainerImageDetails) SetRepositoryName(v string) *AwsEcrContainerImageDetails
- func (s AwsEcrContainerImageDetails) String() string
- type AwsLambdaFunctionDetails
- func (s AwsLambdaFunctionDetails) GoString() string
- func (s *AwsLambdaFunctionDetails) SetArchitectures(v []*string) *AwsLambdaFunctionDetails
- func (s *AwsLambdaFunctionDetails) SetCodeSha256(v string) *AwsLambdaFunctionDetails
- func (s *AwsLambdaFunctionDetails) SetExecutionRoleArn(v string) *AwsLambdaFunctionDetails
- func (s *AwsLambdaFunctionDetails) SetFunctionName(v string) *AwsLambdaFunctionDetails
- func (s *AwsLambdaFunctionDetails) SetLastModifiedAt(v time.Time) *AwsLambdaFunctionDetails
- func (s *AwsLambdaFunctionDetails) SetLayers(v []*string) *AwsLambdaFunctionDetails
- func (s *AwsLambdaFunctionDetails) SetPackageType(v string) *AwsLambdaFunctionDetails
- func (s *AwsLambdaFunctionDetails) SetRuntime(v string) *AwsLambdaFunctionDetails
- func (s *AwsLambdaFunctionDetails) SetVersion(v string) *AwsLambdaFunctionDetails
- func (s *AwsLambdaFunctionDetails) SetVpcConfig(v *LambdaVpcConfig) *AwsLambdaFunctionDetails
- func (s AwsLambdaFunctionDetails) String() string
- type BadRequestException
- func (s *BadRequestException) Code() string
- func (s *BadRequestException) Error() string
- func (s BadRequestException) GoString() string
- func (s *BadRequestException) Message() string
- func (s *BadRequestException) OrigErr() error
- func (s *BadRequestException) RequestID() string
- func (s *BadRequestException) StatusCode() int
- func (s BadRequestException) String() string
- type BatchGetAccountStatusInput
- type BatchGetAccountStatusOutput
- func (s BatchGetAccountStatusOutput) GoString() string
- func (s *BatchGetAccountStatusOutput) SetAccounts(v []*AccountState) *BatchGetAccountStatusOutput
- func (s *BatchGetAccountStatusOutput) SetFailedAccounts(v []*FailedAccount) *BatchGetAccountStatusOutput
- func (s BatchGetAccountStatusOutput) String() string
- type BatchGetFreeTrialInfoInput
- type BatchGetFreeTrialInfoOutput
- func (s BatchGetFreeTrialInfoOutput) GoString() string
- func (s *BatchGetFreeTrialInfoOutput) SetAccounts(v []*FreeTrialAccountInfo) *BatchGetFreeTrialInfoOutput
- func (s *BatchGetFreeTrialInfoOutput) SetFailedAccounts(v []*FreeTrialInfoError) *BatchGetFreeTrialInfoOutput
- func (s BatchGetFreeTrialInfoOutput) String() string
- type BatchGetMemberEc2DeepInspectionStatusInput
- type BatchGetMemberEc2DeepInspectionStatusOutput
- func (s BatchGetMemberEc2DeepInspectionStatusOutput) GoString() string
- func (s *BatchGetMemberEc2DeepInspectionStatusOutput) SetAccountIds(v []*MemberAccountEc2DeepInspectionStatusState) *BatchGetMemberEc2DeepInspectionStatusOutput
- func (s *BatchGetMemberEc2DeepInspectionStatusOutput) SetFailedAccountIds(v []*FailedMemberAccountEc2DeepInspectionStatusState) *BatchGetMemberEc2DeepInspectionStatusOutput
- func (s BatchGetMemberEc2DeepInspectionStatusOutput) String() string
- type BatchUpdateMemberEc2DeepInspectionStatusInput
- func (s BatchUpdateMemberEc2DeepInspectionStatusInput) GoString() string
- func (s *BatchUpdateMemberEc2DeepInspectionStatusInput) SetAccountIds(v []*MemberAccountEc2DeepInspectionStatus) *BatchUpdateMemberEc2DeepInspectionStatusInput
- func (s BatchUpdateMemberEc2DeepInspectionStatusInput) String() string
- func (s *BatchUpdateMemberEc2DeepInspectionStatusInput) Validate() error
- type BatchUpdateMemberEc2DeepInspectionStatusOutput
- func (s BatchUpdateMemberEc2DeepInspectionStatusOutput) GoString() string
- func (s *BatchUpdateMemberEc2DeepInspectionStatusOutput) SetAccountIds(v []*MemberAccountEc2DeepInspectionStatusState) *BatchUpdateMemberEc2DeepInspectionStatusOutput
- func (s *BatchUpdateMemberEc2DeepInspectionStatusOutput) SetFailedAccountIds(v []*FailedMemberAccountEc2DeepInspectionStatusState) *BatchUpdateMemberEc2DeepInspectionStatusOutput
- func (s BatchUpdateMemberEc2DeepInspectionStatusOutput) String() string
- type CancelFindingsReportInput
- type CancelFindingsReportOutput
- type ConflictException
- func (s *ConflictException) Code() string
- func (s *ConflictException) Error() string
- func (s ConflictException) GoString() string
- func (s *ConflictException) Message() string
- func (s *ConflictException) OrigErr() error
- func (s *ConflictException) RequestID() string
- func (s *ConflictException) StatusCode() int
- func (s ConflictException) String() string
- type Counts
- type CoverageFilterCriteria
- func (s CoverageFilterCriteria) GoString() string
- func (s *CoverageFilterCriteria) SetAccountId(v []*CoverageStringFilter) *CoverageFilterCriteria
- func (s *CoverageFilterCriteria) SetEc2InstanceTags(v []*CoverageMapFilter) *CoverageFilterCriteria
- func (s *CoverageFilterCriteria) SetEcrImageTags(v []*CoverageStringFilter) *CoverageFilterCriteria
- func (s *CoverageFilterCriteria) SetEcrRepositoryName(v []*CoverageStringFilter) *CoverageFilterCriteria
- func (s *CoverageFilterCriteria) SetLambdaFunctionName(v []*CoverageStringFilter) *CoverageFilterCriteria
- func (s *CoverageFilterCriteria) SetLambdaFunctionRuntime(v []*CoverageStringFilter) *CoverageFilterCriteria
- func (s *CoverageFilterCriteria) SetLambdaFunctionTags(v []*CoverageMapFilter) *CoverageFilterCriteria
- func (s *CoverageFilterCriteria) SetResourceId(v []*CoverageStringFilter) *CoverageFilterCriteria
- func (s *CoverageFilterCriteria) SetResourceType(v []*CoverageStringFilter) *CoverageFilterCriteria
- func (s *CoverageFilterCriteria) SetScanStatusCode(v []*CoverageStringFilter) *CoverageFilterCriteria
- func (s *CoverageFilterCriteria) SetScanStatusReason(v []*CoverageStringFilter) *CoverageFilterCriteria
- func (s *CoverageFilterCriteria) SetScanType(v []*CoverageStringFilter) *CoverageFilterCriteria
- func (s CoverageFilterCriteria) String() string
- func (s *CoverageFilterCriteria) Validate() error
- type CoverageMapFilter
- func (s CoverageMapFilter) GoString() string
- func (s *CoverageMapFilter) SetComparison(v string) *CoverageMapFilter
- func (s *CoverageMapFilter) SetKey(v string) *CoverageMapFilter
- func (s *CoverageMapFilter) SetValue(v string) *CoverageMapFilter
- func (s CoverageMapFilter) String() string
- func (s *CoverageMapFilter) Validate() error
- type CoverageStringFilter
- type CoveredResource
- func (s CoveredResource) GoString() string
- func (s *CoveredResource) SetAccountId(v string) *CoveredResource
- func (s *CoveredResource) SetResourceId(v string) *CoveredResource
- func (s *CoveredResource) SetResourceMetadata(v *ResourceScanMetadata) *CoveredResource
- func (s *CoveredResource) SetResourceType(v string) *CoveredResource
- func (s *CoveredResource) SetScanStatus(v *ScanStatus) *CoveredResource
- func (s *CoveredResource) SetScanType(v string) *CoveredResource
- func (s CoveredResource) String() string
- type CreateFilterInput
- func (s CreateFilterInput) GoString() string
- func (s *CreateFilterInput) SetAction(v string) *CreateFilterInput
- func (s *CreateFilterInput) SetDescription(v string) *CreateFilterInput
- func (s *CreateFilterInput) SetFilterCriteria(v *FilterCriteria) *CreateFilterInput
- func (s *CreateFilterInput) SetName(v string) *CreateFilterInput
- func (s *CreateFilterInput) SetReason(v string) *CreateFilterInput
- func (s *CreateFilterInput) SetTags(v map[string]*string) *CreateFilterInput
- func (s CreateFilterInput) String() string
- func (s *CreateFilterInput) Validate() error
- type CreateFilterOutput
- type CreateFindingsReportInput
- func (s CreateFindingsReportInput) GoString() string
- func (s *CreateFindingsReportInput) SetFilterCriteria(v *FilterCriteria) *CreateFindingsReportInput
- func (s *CreateFindingsReportInput) SetReportFormat(v string) *CreateFindingsReportInput
- func (s *CreateFindingsReportInput) SetS3Destination(v *Destination) *CreateFindingsReportInput
- func (s CreateFindingsReportInput) String() string
- func (s *CreateFindingsReportInput) Validate() error
- type CreateFindingsReportOutput
- type CvssScore
- type CvssScoreAdjustment
- type CvssScoreDetails
- func (s CvssScoreDetails) GoString() string
- func (s *CvssScoreDetails) SetAdjustments(v []*CvssScoreAdjustment) *CvssScoreDetails
- func (s *CvssScoreDetails) SetCvssSource(v string) *CvssScoreDetails
- func (s *CvssScoreDetails) SetScore(v float64) *CvssScoreDetails
- func (s *CvssScoreDetails) SetScoreSource(v string) *CvssScoreDetails
- func (s *CvssScoreDetails) SetScoringVector(v string) *CvssScoreDetails
- func (s *CvssScoreDetails) SetVersion(v string) *CvssScoreDetails
- func (s CvssScoreDetails) String() string
- type DateFilter
- type DelegatedAdmin
- type DelegatedAdminAccount
- type DeleteFilterInput
- type DeleteFilterOutput
- type DescribeOrganizationConfigurationInput
- type DescribeOrganizationConfigurationOutput
- func (s DescribeOrganizationConfigurationOutput) GoString() string
- func (s *DescribeOrganizationConfigurationOutput) SetAutoEnable(v *AutoEnable) *DescribeOrganizationConfigurationOutput
- func (s *DescribeOrganizationConfigurationOutput) SetMaxAccountLimitReached(v bool) *DescribeOrganizationConfigurationOutput
- func (s DescribeOrganizationConfigurationOutput) String() string
- type Destination
- type DisableDelegatedAdminAccountInput
- type DisableDelegatedAdminAccountOutput
- type DisableInput
- type DisableOutput
- type DisassociateMemberInput
- type DisassociateMemberOutput
- type Ec2InstanceAggregation
- func (s Ec2InstanceAggregation) GoString() string
- func (s *Ec2InstanceAggregation) SetAmis(v []*StringFilter) *Ec2InstanceAggregation
- func (s *Ec2InstanceAggregation) SetInstanceIds(v []*StringFilter) *Ec2InstanceAggregation
- func (s *Ec2InstanceAggregation) SetInstanceTags(v []*MapFilter) *Ec2InstanceAggregation
- func (s *Ec2InstanceAggregation) SetOperatingSystems(v []*StringFilter) *Ec2InstanceAggregation
- func (s *Ec2InstanceAggregation) SetSortBy(v string) *Ec2InstanceAggregation
- func (s *Ec2InstanceAggregation) SetSortOrder(v string) *Ec2InstanceAggregation
- func (s Ec2InstanceAggregation) String() string
- func (s *Ec2InstanceAggregation) Validate() error
- type Ec2InstanceAggregationResponse
- func (s Ec2InstanceAggregationResponse) GoString() string
- func (s *Ec2InstanceAggregationResponse) SetAccountId(v string) *Ec2InstanceAggregationResponse
- func (s *Ec2InstanceAggregationResponse) SetAmi(v string) *Ec2InstanceAggregationResponse
- func (s *Ec2InstanceAggregationResponse) SetInstanceId(v string) *Ec2InstanceAggregationResponse
- func (s *Ec2InstanceAggregationResponse) SetInstanceTags(v map[string]*string) *Ec2InstanceAggregationResponse
- func (s *Ec2InstanceAggregationResponse) SetNetworkFindings(v int64) *Ec2InstanceAggregationResponse
- func (s *Ec2InstanceAggregationResponse) SetOperatingSystem(v string) *Ec2InstanceAggregationResponse
- func (s *Ec2InstanceAggregationResponse) SetSeverityCounts(v *SeverityCounts) *Ec2InstanceAggregationResponse
- func (s Ec2InstanceAggregationResponse) String() string
- type Ec2Metadata
- type EcrConfiguration
- type EcrConfigurationState
- type EcrContainerImageMetadata
- type EcrRepositoryMetadata
- type EcrRescanDurationState
- func (s EcrRescanDurationState) GoString() string
- func (s *EcrRescanDurationState) SetRescanDuration(v string) *EcrRescanDurationState
- func (s *EcrRescanDurationState) SetStatus(v string) *EcrRescanDurationState
- func (s *EcrRescanDurationState) SetUpdatedAt(v time.Time) *EcrRescanDurationState
- func (s EcrRescanDurationState) String() string
- type EnableDelegatedAdminAccountInput
- func (s EnableDelegatedAdminAccountInput) GoString() string
- func (s *EnableDelegatedAdminAccountInput) SetClientToken(v string) *EnableDelegatedAdminAccountInput
- func (s *EnableDelegatedAdminAccountInput) SetDelegatedAdminAccountId(v string) *EnableDelegatedAdminAccountInput
- func (s EnableDelegatedAdminAccountInput) String() string
- func (s *EnableDelegatedAdminAccountInput) Validate() error
- type EnableDelegatedAdminAccountOutput
- type EnableInput
- func (s EnableInput) GoString() string
- func (s *EnableInput) SetAccountIds(v []*string) *EnableInput
- func (s *EnableInput) SetClientToken(v string) *EnableInput
- func (s *EnableInput) SetResourceTypes(v []*string) *EnableInput
- func (s EnableInput) String() string
- func (s *EnableInput) Validate() error
- type EnableOutput
- type ExploitabilityDetails
- type FailedAccount
- func (s FailedAccount) GoString() string
- func (s *FailedAccount) SetAccountId(v string) *FailedAccount
- func (s *FailedAccount) SetErrorCode(v string) *FailedAccount
- func (s *FailedAccount) SetErrorMessage(v string) *FailedAccount
- func (s *FailedAccount) SetResourceStatus(v *ResourceStatus) *FailedAccount
- func (s *FailedAccount) SetStatus(v string) *FailedAccount
- func (s FailedAccount) String() string
- type FailedMemberAccountEc2DeepInspectionStatusState
- func (s FailedMemberAccountEc2DeepInspectionStatusState) GoString() string
- func (s *FailedMemberAccountEc2DeepInspectionStatusState) SetAccountId(v string) *FailedMemberAccountEc2DeepInspectionStatusState
- func (s *FailedMemberAccountEc2DeepInspectionStatusState) SetEc2ScanStatus(v string) *FailedMemberAccountEc2DeepInspectionStatusState
- func (s *FailedMemberAccountEc2DeepInspectionStatusState) SetErrorMessage(v string) *FailedMemberAccountEc2DeepInspectionStatusState
- func (s FailedMemberAccountEc2DeepInspectionStatusState) String() string
- type Filter
- func (s Filter) GoString() string
- func (s *Filter) SetAction(v string) *Filter
- func (s *Filter) SetArn(v string) *Filter
- func (s *Filter) SetCreatedAt(v time.Time) *Filter
- func (s *Filter) SetCriteria(v *FilterCriteria) *Filter
- func (s *Filter) SetDescription(v string) *Filter
- func (s *Filter) SetName(v string) *Filter
- func (s *Filter) SetOwnerId(v string) *Filter
- func (s *Filter) SetReason(v string) *Filter
- func (s *Filter) SetTags(v map[string]*string) *Filter
- func (s *Filter) SetUpdatedAt(v time.Time) *Filter
- func (s Filter) String() string
- type FilterCriteria
- func (s FilterCriteria) GoString() string
- func (s *FilterCriteria) SetAwsAccountId(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetComponentId(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetComponentType(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetEc2InstanceImageId(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetEc2InstanceSubnetId(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetEc2InstanceVpcId(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetEcrImageArchitecture(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetEcrImageHash(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetEcrImagePushedAt(v []*DateFilter) *FilterCriteria
- func (s *FilterCriteria) SetEcrImageRegistry(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetEcrImageRepositoryName(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetEcrImageTags(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetExploitAvailable(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetFindingArn(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetFindingStatus(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetFindingType(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetFirstObservedAt(v []*DateFilter) *FilterCriteria
- func (s *FilterCriteria) SetFixAvailable(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetInspectorScore(v []*NumberFilter) *FilterCriteria
- func (s *FilterCriteria) SetLambdaFunctionExecutionRoleArn(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetLambdaFunctionLastModifiedAt(v []*DateFilter) *FilterCriteria
- func (s *FilterCriteria) SetLambdaFunctionLayers(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetLambdaFunctionName(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetLambdaFunctionRuntime(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetLastObservedAt(v []*DateFilter) *FilterCriteria
- func (s *FilterCriteria) SetNetworkProtocol(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetPortRange(v []*PortRangeFilter) *FilterCriteria
- func (s *FilterCriteria) SetRelatedVulnerabilities(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetResourceId(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetResourceTags(v []*MapFilter) *FilterCriteria
- func (s *FilterCriteria) SetResourceType(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetSeverity(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetTitle(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetUpdatedAt(v []*DateFilter) *FilterCriteria
- func (s *FilterCriteria) SetVendorSeverity(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetVulnerabilityId(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetVulnerabilitySource(v []*StringFilter) *FilterCriteria
- func (s *FilterCriteria) SetVulnerablePackages(v []*PackageFilter) *FilterCriteria
- func (s FilterCriteria) String() string
- func (s *FilterCriteria) Validate() error
- type Finding
- func (s Finding) GoString() string
- func (s *Finding) SetAwsAccountId(v string) *Finding
- func (s *Finding) SetDescription(v string) *Finding
- func (s *Finding) SetExploitAvailable(v string) *Finding
- func (s *Finding) SetExploitabilityDetails(v *ExploitabilityDetails) *Finding
- func (s *Finding) SetFindingArn(v string) *Finding
- func (s *Finding) SetFirstObservedAt(v time.Time) *Finding
- func (s *Finding) SetFixAvailable(v string) *Finding
- func (s *Finding) SetInspectorScore(v float64) *Finding
- func (s *Finding) SetInspectorScoreDetails(v *InspectorScoreDetails) *Finding
- func (s *Finding) SetLastObservedAt(v time.Time) *Finding
- func (s *Finding) SetNetworkReachabilityDetails(v *NetworkReachabilityDetails) *Finding
- func (s *Finding) SetPackageVulnerabilityDetails(v *PackageVulnerabilityDetails) *Finding
- func (s *Finding) SetRemediation(v *Remediation) *Finding
- func (s *Finding) SetResources(v []*Resource) *Finding
- func (s *Finding) SetSeverity(v string) *Finding
- func (s *Finding) SetStatus(v string) *Finding
- func (s *Finding) SetTitle(v string) *Finding
- func (s *Finding) SetType(v string) *Finding
- func (s *Finding) SetUpdatedAt(v time.Time) *Finding
- func (s Finding) String() string
- type FindingTypeAggregation
- func (s FindingTypeAggregation) GoString() string
- func (s *FindingTypeAggregation) SetFindingType(v string) *FindingTypeAggregation
- func (s *FindingTypeAggregation) SetResourceType(v string) *FindingTypeAggregation
- func (s *FindingTypeAggregation) SetSortBy(v string) *FindingTypeAggregation
- func (s *FindingTypeAggregation) SetSortOrder(v string) *FindingTypeAggregation
- func (s FindingTypeAggregation) String() string
- type FindingTypeAggregationResponse
- func (s FindingTypeAggregationResponse) GoString() string
- func (s *FindingTypeAggregationResponse) SetAccountId(v string) *FindingTypeAggregationResponse
- func (s *FindingTypeAggregationResponse) SetSeverityCounts(v *SeverityCounts) *FindingTypeAggregationResponse
- func (s FindingTypeAggregationResponse) String() string
- type FreeTrialAccountInfo
- type FreeTrialInfo
- func (s FreeTrialInfo) GoString() string
- func (s *FreeTrialInfo) SetEnd(v time.Time) *FreeTrialInfo
- func (s *FreeTrialInfo) SetStart(v time.Time) *FreeTrialInfo
- func (s *FreeTrialInfo) SetStatus(v string) *FreeTrialInfo
- func (s *FreeTrialInfo) SetType(v string) *FreeTrialInfo
- func (s FreeTrialInfo) String() string
- type FreeTrialInfoError
- type GetConfigurationInput
- type GetConfigurationOutput
- type GetDelegatedAdminAccountInput
- type GetDelegatedAdminAccountOutput
- type GetEc2DeepInspectionConfigurationInput
- type GetEc2DeepInspectionConfigurationOutput
- func (s GetEc2DeepInspectionConfigurationOutput) GoString() string
- func (s *GetEc2DeepInspectionConfigurationOutput) SetErrorMessage(v string) *GetEc2DeepInspectionConfigurationOutput
- func (s *GetEc2DeepInspectionConfigurationOutput) SetOrgPackagePaths(v []*string) *GetEc2DeepInspectionConfigurationOutput
- func (s *GetEc2DeepInspectionConfigurationOutput) SetPackagePaths(v []*string) *GetEc2DeepInspectionConfigurationOutput
- func (s *GetEc2DeepInspectionConfigurationOutput) SetStatus(v string) *GetEc2DeepInspectionConfigurationOutput
- func (s GetEc2DeepInspectionConfigurationOutput) String() string
- type GetFindingsReportStatusInput
- type GetFindingsReportStatusOutput
- func (s GetFindingsReportStatusOutput) GoString() string
- func (s *GetFindingsReportStatusOutput) SetDestination(v *Destination) *GetFindingsReportStatusOutput
- func (s *GetFindingsReportStatusOutput) SetErrorCode(v string) *GetFindingsReportStatusOutput
- func (s *GetFindingsReportStatusOutput) SetErrorMessage(v string) *GetFindingsReportStatusOutput
- func (s *GetFindingsReportStatusOutput) SetFilterCriteria(v *FilterCriteria) *GetFindingsReportStatusOutput
- func (s *GetFindingsReportStatusOutput) SetReportId(v string) *GetFindingsReportStatusOutput
- func (s *GetFindingsReportStatusOutput) SetStatus(v string) *GetFindingsReportStatusOutput
- func (s GetFindingsReportStatusOutput) String() string
- type GetMemberInput
- type GetMemberOutput
- type ImageLayerAggregation
- func (s ImageLayerAggregation) GoString() string
- func (s *ImageLayerAggregation) SetLayerHashes(v []*StringFilter) *ImageLayerAggregation
- func (s *ImageLayerAggregation) SetRepositories(v []*StringFilter) *ImageLayerAggregation
- func (s *ImageLayerAggregation) SetResourceIds(v []*StringFilter) *ImageLayerAggregation
- func (s *ImageLayerAggregation) SetSortBy(v string) *ImageLayerAggregation
- func (s *ImageLayerAggregation) SetSortOrder(v string) *ImageLayerAggregation
- func (s ImageLayerAggregation) String() string
- func (s *ImageLayerAggregation) Validate() error
- type ImageLayerAggregationResponse
- func (s ImageLayerAggregationResponse) GoString() string
- func (s *ImageLayerAggregationResponse) SetAccountId(v string) *ImageLayerAggregationResponse
- func (s *ImageLayerAggregationResponse) SetLayerHash(v string) *ImageLayerAggregationResponse
- func (s *ImageLayerAggregationResponse) SetRepository(v string) *ImageLayerAggregationResponse
- func (s *ImageLayerAggregationResponse) SetResourceId(v string) *ImageLayerAggregationResponse
- func (s *ImageLayerAggregationResponse) SetSeverityCounts(v *SeverityCounts) *ImageLayerAggregationResponse
- func (s ImageLayerAggregationResponse) String() string
- type Inspector2
- func (c *Inspector2) AssociateMember(input *AssociateMemberInput) (*AssociateMemberOutput, error)
- func (c *Inspector2) AssociateMemberRequest(input *AssociateMemberInput) (req *request.Request, output *AssociateMemberOutput)
- func (c *Inspector2) AssociateMemberWithContext(ctx aws.Context, input *AssociateMemberInput, opts ...request.Option) (*AssociateMemberOutput, error)
- func (c *Inspector2) BatchGetAccountStatus(input *BatchGetAccountStatusInput) (*BatchGetAccountStatusOutput, error)
- func (c *Inspector2) BatchGetAccountStatusRequest(input *BatchGetAccountStatusInput) (req *request.Request, output *BatchGetAccountStatusOutput)
- func (c *Inspector2) BatchGetAccountStatusWithContext(ctx aws.Context, input *BatchGetAccountStatusInput, opts ...request.Option) (*BatchGetAccountStatusOutput, error)
- func (c *Inspector2) BatchGetFreeTrialInfo(input *BatchGetFreeTrialInfoInput) (*BatchGetFreeTrialInfoOutput, error)
- func (c *Inspector2) BatchGetFreeTrialInfoRequest(input *BatchGetFreeTrialInfoInput) (req *request.Request, output *BatchGetFreeTrialInfoOutput)
- func (c *Inspector2) BatchGetFreeTrialInfoWithContext(ctx aws.Context, input *BatchGetFreeTrialInfoInput, opts ...request.Option) (*BatchGetFreeTrialInfoOutput, error)
- func (c *Inspector2) BatchGetMemberEc2DeepInspectionStatus(input *BatchGetMemberEc2DeepInspectionStatusInput) (*BatchGetMemberEc2DeepInspectionStatusOutput, error)
- func (c *Inspector2) BatchGetMemberEc2DeepInspectionStatusRequest(input *BatchGetMemberEc2DeepInspectionStatusInput) (req *request.Request, output *BatchGetMemberEc2DeepInspectionStatusOutput)
- func (c *Inspector2) BatchGetMemberEc2DeepInspectionStatusWithContext(ctx aws.Context, input *BatchGetMemberEc2DeepInspectionStatusInput, ...) (*BatchGetMemberEc2DeepInspectionStatusOutput, error)
- func (c *Inspector2) BatchUpdateMemberEc2DeepInspectionStatus(input *BatchUpdateMemberEc2DeepInspectionStatusInput) (*BatchUpdateMemberEc2DeepInspectionStatusOutput, error)
- func (c *Inspector2) BatchUpdateMemberEc2DeepInspectionStatusRequest(input *BatchUpdateMemberEc2DeepInspectionStatusInput) (req *request.Request, output *BatchUpdateMemberEc2DeepInspectionStatusOutput)
- func (c *Inspector2) BatchUpdateMemberEc2DeepInspectionStatusWithContext(ctx aws.Context, input *BatchUpdateMemberEc2DeepInspectionStatusInput, ...) (*BatchUpdateMemberEc2DeepInspectionStatusOutput, error)
- func (c *Inspector2) CancelFindingsReport(input *CancelFindingsReportInput) (*CancelFindingsReportOutput, error)
- func (c *Inspector2) CancelFindingsReportRequest(input *CancelFindingsReportInput) (req *request.Request, output *CancelFindingsReportOutput)
- func (c *Inspector2) CancelFindingsReportWithContext(ctx aws.Context, input *CancelFindingsReportInput, opts ...request.Option) (*CancelFindingsReportOutput, error)
- func (c *Inspector2) CreateFilter(input *CreateFilterInput) (*CreateFilterOutput, error)
- func (c *Inspector2) CreateFilterRequest(input *CreateFilterInput) (req *request.Request, output *CreateFilterOutput)
- func (c *Inspector2) CreateFilterWithContext(ctx aws.Context, input *CreateFilterInput, opts ...request.Option) (*CreateFilterOutput, error)
- func (c *Inspector2) CreateFindingsReport(input *CreateFindingsReportInput) (*CreateFindingsReportOutput, error)
- func (c *Inspector2) CreateFindingsReportRequest(input *CreateFindingsReportInput) (req *request.Request, output *CreateFindingsReportOutput)
- func (c *Inspector2) CreateFindingsReportWithContext(ctx aws.Context, input *CreateFindingsReportInput, opts ...request.Option) (*CreateFindingsReportOutput, error)
- func (c *Inspector2) DeleteFilter(input *DeleteFilterInput) (*DeleteFilterOutput, error)
- func (c *Inspector2) DeleteFilterRequest(input *DeleteFilterInput) (req *request.Request, output *DeleteFilterOutput)
- func (c *Inspector2) DeleteFilterWithContext(ctx aws.Context, input *DeleteFilterInput, opts ...request.Option) (*DeleteFilterOutput, error)
- func (c *Inspector2) DescribeOrganizationConfiguration(input *DescribeOrganizationConfigurationInput) (*DescribeOrganizationConfigurationOutput, error)
- func (c *Inspector2) DescribeOrganizationConfigurationRequest(input *DescribeOrganizationConfigurationInput) (req *request.Request, output *DescribeOrganizationConfigurationOutput)
- func (c *Inspector2) DescribeOrganizationConfigurationWithContext(ctx aws.Context, input *DescribeOrganizationConfigurationInput, ...) (*DescribeOrganizationConfigurationOutput, error)
- func (c *Inspector2) Disable(input *DisableInput) (*DisableOutput, error)
- func (c *Inspector2) DisableDelegatedAdminAccount(input *DisableDelegatedAdminAccountInput) (*DisableDelegatedAdminAccountOutput, error)
- func (c *Inspector2) DisableDelegatedAdminAccountRequest(input *DisableDelegatedAdminAccountInput) (req *request.Request, output *DisableDelegatedAdminAccountOutput)
- func (c *Inspector2) DisableDelegatedAdminAccountWithContext(ctx aws.Context, input *DisableDelegatedAdminAccountInput, ...) (*DisableDelegatedAdminAccountOutput, error)
- func (c *Inspector2) DisableRequest(input *DisableInput) (req *request.Request, output *DisableOutput)
- func (c *Inspector2) DisableWithContext(ctx aws.Context, input *DisableInput, opts ...request.Option) (*DisableOutput, error)
- func (c *Inspector2) DisassociateMember(input *DisassociateMemberInput) (*DisassociateMemberOutput, error)
- func (c *Inspector2) DisassociateMemberRequest(input *DisassociateMemberInput) (req *request.Request, output *DisassociateMemberOutput)
- func (c *Inspector2) DisassociateMemberWithContext(ctx aws.Context, input *DisassociateMemberInput, opts ...request.Option) (*DisassociateMemberOutput, error)
- func (c *Inspector2) Enable(input *EnableInput) (*EnableOutput, error)
- func (c *Inspector2) EnableDelegatedAdminAccount(input *EnableDelegatedAdminAccountInput) (*EnableDelegatedAdminAccountOutput, error)
- func (c *Inspector2) EnableDelegatedAdminAccountRequest(input *EnableDelegatedAdminAccountInput) (req *request.Request, output *EnableDelegatedAdminAccountOutput)
- func (c *Inspector2) EnableDelegatedAdminAccountWithContext(ctx aws.Context, input *EnableDelegatedAdminAccountInput, ...) (*EnableDelegatedAdminAccountOutput, error)
- func (c *Inspector2) EnableRequest(input *EnableInput) (req *request.Request, output *EnableOutput)
- func (c *Inspector2) EnableWithContext(ctx aws.Context, input *EnableInput, opts ...request.Option) (*EnableOutput, error)
- func (c *Inspector2) GetConfiguration(input *GetConfigurationInput) (*GetConfigurationOutput, error)
- func (c *Inspector2) GetConfigurationRequest(input *GetConfigurationInput) (req *request.Request, output *GetConfigurationOutput)
- func (c *Inspector2) GetConfigurationWithContext(ctx aws.Context, input *GetConfigurationInput, opts ...request.Option) (*GetConfigurationOutput, error)
- func (c *Inspector2) GetDelegatedAdminAccount(input *GetDelegatedAdminAccountInput) (*GetDelegatedAdminAccountOutput, error)
- func (c *Inspector2) GetDelegatedAdminAccountRequest(input *GetDelegatedAdminAccountInput) (req *request.Request, output *GetDelegatedAdminAccountOutput)
- func (c *Inspector2) GetDelegatedAdminAccountWithContext(ctx aws.Context, input *GetDelegatedAdminAccountInput, opts ...request.Option) (*GetDelegatedAdminAccountOutput, error)
- func (c *Inspector2) GetEc2DeepInspectionConfiguration(input *GetEc2DeepInspectionConfigurationInput) (*GetEc2DeepInspectionConfigurationOutput, error)
- func (c *Inspector2) GetEc2DeepInspectionConfigurationRequest(input *GetEc2DeepInspectionConfigurationInput) (req *request.Request, output *GetEc2DeepInspectionConfigurationOutput)
- func (c *Inspector2) GetEc2DeepInspectionConfigurationWithContext(ctx aws.Context, input *GetEc2DeepInspectionConfigurationInput, ...) (*GetEc2DeepInspectionConfigurationOutput, error)
- func (c *Inspector2) GetFindingsReportStatus(input *GetFindingsReportStatusInput) (*GetFindingsReportStatusOutput, error)
- func (c *Inspector2) GetFindingsReportStatusRequest(input *GetFindingsReportStatusInput) (req *request.Request, output *GetFindingsReportStatusOutput)
- func (c *Inspector2) GetFindingsReportStatusWithContext(ctx aws.Context, input *GetFindingsReportStatusInput, opts ...request.Option) (*GetFindingsReportStatusOutput, error)
- func (c *Inspector2) GetMember(input *GetMemberInput) (*GetMemberOutput, error)
- func (c *Inspector2) GetMemberRequest(input *GetMemberInput) (req *request.Request, output *GetMemberOutput)
- func (c *Inspector2) GetMemberWithContext(ctx aws.Context, input *GetMemberInput, opts ...request.Option) (*GetMemberOutput, error)
- func (c *Inspector2) ListAccountPermissions(input *ListAccountPermissionsInput) (*ListAccountPermissionsOutput, error)
- func (c *Inspector2) ListAccountPermissionsPages(input *ListAccountPermissionsInput, ...) error
- func (c *Inspector2) ListAccountPermissionsPagesWithContext(ctx aws.Context, input *ListAccountPermissionsInput, ...) error
- func (c *Inspector2) ListAccountPermissionsRequest(input *ListAccountPermissionsInput) (req *request.Request, output *ListAccountPermissionsOutput)
- func (c *Inspector2) ListAccountPermissionsWithContext(ctx aws.Context, input *ListAccountPermissionsInput, opts ...request.Option) (*ListAccountPermissionsOutput, error)
- func (c *Inspector2) ListCoverage(input *ListCoverageInput) (*ListCoverageOutput, error)
- func (c *Inspector2) ListCoveragePages(input *ListCoverageInput, fn func(*ListCoverageOutput, bool) bool) error
- func (c *Inspector2) ListCoveragePagesWithContext(ctx aws.Context, input *ListCoverageInput, ...) error
- func (c *Inspector2) ListCoverageRequest(input *ListCoverageInput) (req *request.Request, output *ListCoverageOutput)
- func (c *Inspector2) ListCoverageStatistics(input *ListCoverageStatisticsInput) (*ListCoverageStatisticsOutput, error)
- func (c *Inspector2) ListCoverageStatisticsPages(input *ListCoverageStatisticsInput, ...) error
- func (c *Inspector2) ListCoverageStatisticsPagesWithContext(ctx aws.Context, input *ListCoverageStatisticsInput, ...) error
- func (c *Inspector2) ListCoverageStatisticsRequest(input *ListCoverageStatisticsInput) (req *request.Request, output *ListCoverageStatisticsOutput)
- func (c *Inspector2) ListCoverageStatisticsWithContext(ctx aws.Context, input *ListCoverageStatisticsInput, opts ...request.Option) (*ListCoverageStatisticsOutput, error)
- func (c *Inspector2) ListCoverageWithContext(ctx aws.Context, input *ListCoverageInput, opts ...request.Option) (*ListCoverageOutput, error)
- func (c *Inspector2) ListDelegatedAdminAccounts(input *ListDelegatedAdminAccountsInput) (*ListDelegatedAdminAccountsOutput, error)
- func (c *Inspector2) ListDelegatedAdminAccountsPages(input *ListDelegatedAdminAccountsInput, ...) error
- func (c *Inspector2) ListDelegatedAdminAccountsPagesWithContext(ctx aws.Context, input *ListDelegatedAdminAccountsInput, ...) error
- func (c *Inspector2) ListDelegatedAdminAccountsRequest(input *ListDelegatedAdminAccountsInput) (req *request.Request, output *ListDelegatedAdminAccountsOutput)
- func (c *Inspector2) ListDelegatedAdminAccountsWithContext(ctx aws.Context, input *ListDelegatedAdminAccountsInput, ...) (*ListDelegatedAdminAccountsOutput, error)
- func (c *Inspector2) ListFilters(input *ListFiltersInput) (*ListFiltersOutput, error)
- func (c *Inspector2) ListFiltersPages(input *ListFiltersInput, fn func(*ListFiltersOutput, bool) bool) error
- func (c *Inspector2) ListFiltersPagesWithContext(ctx aws.Context, input *ListFiltersInput, ...) error
- func (c *Inspector2) ListFiltersRequest(input *ListFiltersInput) (req *request.Request, output *ListFiltersOutput)
- func (c *Inspector2) ListFiltersWithContext(ctx aws.Context, input *ListFiltersInput, opts ...request.Option) (*ListFiltersOutput, error)
- func (c *Inspector2) ListFindingAggregations(input *ListFindingAggregationsInput) (*ListFindingAggregationsOutput, error)
- func (c *Inspector2) ListFindingAggregationsPages(input *ListFindingAggregationsInput, ...) error
- func (c *Inspector2) ListFindingAggregationsPagesWithContext(ctx aws.Context, input *ListFindingAggregationsInput, ...) error
- func (c *Inspector2) ListFindingAggregationsRequest(input *ListFindingAggregationsInput) (req *request.Request, output *ListFindingAggregationsOutput)
- func (c *Inspector2) ListFindingAggregationsWithContext(ctx aws.Context, input *ListFindingAggregationsInput, opts ...request.Option) (*ListFindingAggregationsOutput, error)
- func (c *Inspector2) ListFindings(input *ListFindingsInput) (*ListFindingsOutput, error)
- func (c *Inspector2) ListFindingsPages(input *ListFindingsInput, fn func(*ListFindingsOutput, bool) bool) error
- func (c *Inspector2) ListFindingsPagesWithContext(ctx aws.Context, input *ListFindingsInput, ...) error
- func (c *Inspector2) ListFindingsRequest(input *ListFindingsInput) (req *request.Request, output *ListFindingsOutput)
- func (c *Inspector2) ListFindingsWithContext(ctx aws.Context, input *ListFindingsInput, opts ...request.Option) (*ListFindingsOutput, error)
- func (c *Inspector2) ListMembers(input *ListMembersInput) (*ListMembersOutput, error)
- func (c *Inspector2) ListMembersPages(input *ListMembersInput, fn func(*ListMembersOutput, bool) bool) error
- func (c *Inspector2) ListMembersPagesWithContext(ctx aws.Context, input *ListMembersInput, ...) error
- func (c *Inspector2) ListMembersRequest(input *ListMembersInput) (req *request.Request, output *ListMembersOutput)
- func (c *Inspector2) ListMembersWithContext(ctx aws.Context, input *ListMembersInput, opts ...request.Option) (*ListMembersOutput, error)
- func (c *Inspector2) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
- func (c *Inspector2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
- func (c *Inspector2) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
- func (c *Inspector2) ListUsageTotals(input *ListUsageTotalsInput) (*ListUsageTotalsOutput, error)
- func (c *Inspector2) ListUsageTotalsPages(input *ListUsageTotalsInput, fn func(*ListUsageTotalsOutput, bool) bool) error
- func (c *Inspector2) ListUsageTotalsPagesWithContext(ctx aws.Context, input *ListUsageTotalsInput, ...) error
- func (c *Inspector2) ListUsageTotalsRequest(input *ListUsageTotalsInput) (req *request.Request, output *ListUsageTotalsOutput)
- func (c *Inspector2) ListUsageTotalsWithContext(ctx aws.Context, input *ListUsageTotalsInput, opts ...request.Option) (*ListUsageTotalsOutput, error)
- func (c *Inspector2) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
- func (c *Inspector2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
- func (c *Inspector2) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
- func (c *Inspector2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
- func (c *Inspector2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
- func (c *Inspector2) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
- func (c *Inspector2) UpdateConfiguration(input *UpdateConfigurationInput) (*UpdateConfigurationOutput, error)
- func (c *Inspector2) UpdateConfigurationRequest(input *UpdateConfigurationInput) (req *request.Request, output *UpdateConfigurationOutput)
- func (c *Inspector2) UpdateConfigurationWithContext(ctx aws.Context, input *UpdateConfigurationInput, opts ...request.Option) (*UpdateConfigurationOutput, error)
- func (c *Inspector2) UpdateEc2DeepInspectionConfiguration(input *UpdateEc2DeepInspectionConfigurationInput) (*UpdateEc2DeepInspectionConfigurationOutput, error)
- func (c *Inspector2) UpdateEc2DeepInspectionConfigurationRequest(input *UpdateEc2DeepInspectionConfigurationInput) (req *request.Request, output *UpdateEc2DeepInspectionConfigurationOutput)
- func (c *Inspector2) UpdateEc2DeepInspectionConfigurationWithContext(ctx aws.Context, input *UpdateEc2DeepInspectionConfigurationInput, ...) (*UpdateEc2DeepInspectionConfigurationOutput, error)
- func (c *Inspector2) UpdateFilter(input *UpdateFilterInput) (*UpdateFilterOutput, error)
- func (c *Inspector2) UpdateFilterRequest(input *UpdateFilterInput) (req *request.Request, output *UpdateFilterOutput)
- func (c *Inspector2) UpdateFilterWithContext(ctx aws.Context, input *UpdateFilterInput, opts ...request.Option) (*UpdateFilterOutput, error)
- func (c *Inspector2) UpdateOrgEc2DeepInspectionConfiguration(input *UpdateOrgEc2DeepInspectionConfigurationInput) (*UpdateOrgEc2DeepInspectionConfigurationOutput, error)
- func (c *Inspector2) UpdateOrgEc2DeepInspectionConfigurationRequest(input *UpdateOrgEc2DeepInspectionConfigurationInput) (req *request.Request, output *UpdateOrgEc2DeepInspectionConfigurationOutput)
- func (c *Inspector2) UpdateOrgEc2DeepInspectionConfigurationWithContext(ctx aws.Context, input *UpdateOrgEc2DeepInspectionConfigurationInput, ...) (*UpdateOrgEc2DeepInspectionConfigurationOutput, error)
- func (c *Inspector2) UpdateOrganizationConfiguration(input *UpdateOrganizationConfigurationInput) (*UpdateOrganizationConfigurationOutput, error)
- func (c *Inspector2) UpdateOrganizationConfigurationRequest(input *UpdateOrganizationConfigurationInput) (req *request.Request, output *UpdateOrganizationConfigurationOutput)
- func (c *Inspector2) UpdateOrganizationConfigurationWithContext(ctx aws.Context, input *UpdateOrganizationConfigurationInput, ...) (*UpdateOrganizationConfigurationOutput, error)
- type InspectorScoreDetails
- type InternalServerException
- func (s *InternalServerException) Code() string
- func (s *InternalServerException) Error() string
- func (s InternalServerException) GoString() string
- func (s *InternalServerException) Message() string
- func (s *InternalServerException) OrigErr() error
- func (s *InternalServerException) RequestID() string
- func (s *InternalServerException) StatusCode() int
- func (s InternalServerException) String() string
- type LambdaFunctionAggregation
- func (s LambdaFunctionAggregation) GoString() string
- func (s *LambdaFunctionAggregation) SetFunctionNames(v []*StringFilter) *LambdaFunctionAggregation
- func (s *LambdaFunctionAggregation) SetFunctionTags(v []*MapFilter) *LambdaFunctionAggregation
- func (s *LambdaFunctionAggregation) SetResourceIds(v []*StringFilter) *LambdaFunctionAggregation
- func (s *LambdaFunctionAggregation) SetRuntimes(v []*StringFilter) *LambdaFunctionAggregation
- func (s *LambdaFunctionAggregation) SetSortBy(v string) *LambdaFunctionAggregation
- func (s *LambdaFunctionAggregation) SetSortOrder(v string) *LambdaFunctionAggregation
- func (s LambdaFunctionAggregation) String() string
- func (s *LambdaFunctionAggregation) Validate() error
- type LambdaFunctionAggregationResponse
- func (s LambdaFunctionAggregationResponse) GoString() string
- func (s *LambdaFunctionAggregationResponse) SetAccountId(v string) *LambdaFunctionAggregationResponse
- func (s *LambdaFunctionAggregationResponse) SetFunctionName(v string) *LambdaFunctionAggregationResponse
- func (s *LambdaFunctionAggregationResponse) SetLambdaTags(v map[string]*string) *LambdaFunctionAggregationResponse
- func (s *LambdaFunctionAggregationResponse) SetLastModifiedAt(v time.Time) *LambdaFunctionAggregationResponse
- func (s *LambdaFunctionAggregationResponse) SetResourceId(v string) *LambdaFunctionAggregationResponse
- func (s *LambdaFunctionAggregationResponse) SetRuntime(v string) *LambdaFunctionAggregationResponse
- func (s *LambdaFunctionAggregationResponse) SetSeverityCounts(v *SeverityCounts) *LambdaFunctionAggregationResponse
- func (s LambdaFunctionAggregationResponse) String() string
- type LambdaFunctionMetadata
- func (s LambdaFunctionMetadata) GoString() string
- func (s *LambdaFunctionMetadata) SetFunctionName(v string) *LambdaFunctionMetadata
- func (s *LambdaFunctionMetadata) SetFunctionTags(v map[string]*string) *LambdaFunctionMetadata
- func (s *LambdaFunctionMetadata) SetLayers(v []*string) *LambdaFunctionMetadata
- func (s *LambdaFunctionMetadata) SetRuntime(v string) *LambdaFunctionMetadata
- func (s LambdaFunctionMetadata) String() string
- type LambdaLayerAggregation
- func (s LambdaLayerAggregation) GoString() string
- func (s *LambdaLayerAggregation) SetFunctionNames(v []*StringFilter) *LambdaLayerAggregation
- func (s *LambdaLayerAggregation) SetLayerArns(v []*StringFilter) *LambdaLayerAggregation
- func (s *LambdaLayerAggregation) SetResourceIds(v []*StringFilter) *LambdaLayerAggregation
- func (s *LambdaLayerAggregation) SetSortBy(v string) *LambdaLayerAggregation
- func (s *LambdaLayerAggregation) SetSortOrder(v string) *LambdaLayerAggregation
- func (s LambdaLayerAggregation) String() string
- func (s *LambdaLayerAggregation) Validate() error
- type LambdaLayerAggregationResponse
- func (s LambdaLayerAggregationResponse) GoString() string
- func (s *LambdaLayerAggregationResponse) SetAccountId(v string) *LambdaLayerAggregationResponse
- func (s *LambdaLayerAggregationResponse) SetFunctionName(v string) *LambdaLayerAggregationResponse
- func (s *LambdaLayerAggregationResponse) SetLayerArn(v string) *LambdaLayerAggregationResponse
- func (s *LambdaLayerAggregationResponse) SetResourceId(v string) *LambdaLayerAggregationResponse
- func (s *LambdaLayerAggregationResponse) SetSeverityCounts(v *SeverityCounts) *LambdaLayerAggregationResponse
- func (s LambdaLayerAggregationResponse) String() string
- type LambdaVpcConfig
- type ListAccountPermissionsInput
- func (s ListAccountPermissionsInput) GoString() string
- func (s *ListAccountPermissionsInput) SetMaxResults(v int64) *ListAccountPermissionsInput
- func (s *ListAccountPermissionsInput) SetNextToken(v string) *ListAccountPermissionsInput
- func (s *ListAccountPermissionsInput) SetService(v string) *ListAccountPermissionsInput
- func (s ListAccountPermissionsInput) String() string
- func (s *ListAccountPermissionsInput) Validate() error
- type ListAccountPermissionsOutput
- func (s ListAccountPermissionsOutput) GoString() string
- func (s *ListAccountPermissionsOutput) SetNextToken(v string) *ListAccountPermissionsOutput
- func (s *ListAccountPermissionsOutput) SetPermissions(v []*Permission) *ListAccountPermissionsOutput
- func (s ListAccountPermissionsOutput) String() string
- type ListCoverageInput
- func (s ListCoverageInput) GoString() string
- func (s *ListCoverageInput) SetFilterCriteria(v *CoverageFilterCriteria) *ListCoverageInput
- func (s *ListCoverageInput) SetMaxResults(v int64) *ListCoverageInput
- func (s *ListCoverageInput) SetNextToken(v string) *ListCoverageInput
- func (s ListCoverageInput) String() string
- func (s *ListCoverageInput) Validate() error
- type ListCoverageOutput
- type ListCoverageStatisticsInput
- func (s ListCoverageStatisticsInput) GoString() string
- func (s *ListCoverageStatisticsInput) SetFilterCriteria(v *CoverageFilterCriteria) *ListCoverageStatisticsInput
- func (s *ListCoverageStatisticsInput) SetGroupBy(v string) *ListCoverageStatisticsInput
- func (s *ListCoverageStatisticsInput) SetNextToken(v string) *ListCoverageStatisticsInput
- func (s ListCoverageStatisticsInput) String() string
- func (s *ListCoverageStatisticsInput) Validate() error
- type ListCoverageStatisticsOutput
- func (s ListCoverageStatisticsOutput) GoString() string
- func (s *ListCoverageStatisticsOutput) SetCountsByGroup(v []*Counts) *ListCoverageStatisticsOutput
- func (s *ListCoverageStatisticsOutput) SetNextToken(v string) *ListCoverageStatisticsOutput
- func (s *ListCoverageStatisticsOutput) SetTotalCounts(v int64) *ListCoverageStatisticsOutput
- func (s ListCoverageStatisticsOutput) String() string
- type ListDelegatedAdminAccountsInput
- func (s ListDelegatedAdminAccountsInput) GoString() string
- func (s *ListDelegatedAdminAccountsInput) SetMaxResults(v int64) *ListDelegatedAdminAccountsInput
- func (s *ListDelegatedAdminAccountsInput) SetNextToken(v string) *ListDelegatedAdminAccountsInput
- func (s ListDelegatedAdminAccountsInput) String() string
- func (s *ListDelegatedAdminAccountsInput) Validate() error
- type ListDelegatedAdminAccountsOutput
- func (s ListDelegatedAdminAccountsOutput) GoString() string
- func (s *ListDelegatedAdminAccountsOutput) SetDelegatedAdminAccounts(v []*DelegatedAdminAccount) *ListDelegatedAdminAccountsOutput
- func (s *ListDelegatedAdminAccountsOutput) SetNextToken(v string) *ListDelegatedAdminAccountsOutput
- func (s ListDelegatedAdminAccountsOutput) String() string
- type ListFiltersInput
- func (s ListFiltersInput) GoString() string
- func (s *ListFiltersInput) SetAction(v string) *ListFiltersInput
- func (s *ListFiltersInput) SetArns(v []*string) *ListFiltersInput
- func (s *ListFiltersInput) SetMaxResults(v int64) *ListFiltersInput
- func (s *ListFiltersInput) SetNextToken(v string) *ListFiltersInput
- func (s ListFiltersInput) String() string
- func (s *ListFiltersInput) Validate() error
- type ListFiltersOutput
- type ListFindingAggregationsInput
- func (s ListFindingAggregationsInput) GoString() string
- func (s *ListFindingAggregationsInput) SetAccountIds(v []*StringFilter) *ListFindingAggregationsInput
- func (s *ListFindingAggregationsInput) SetAggregationRequest(v *AggregationRequest) *ListFindingAggregationsInput
- func (s *ListFindingAggregationsInput) SetAggregationType(v string) *ListFindingAggregationsInput
- func (s *ListFindingAggregationsInput) SetMaxResults(v int64) *ListFindingAggregationsInput
- func (s *ListFindingAggregationsInput) SetNextToken(v string) *ListFindingAggregationsInput
- func (s ListFindingAggregationsInput) String() string
- func (s *ListFindingAggregationsInput) Validate() error
- type ListFindingAggregationsOutput
- func (s ListFindingAggregationsOutput) GoString() string
- func (s *ListFindingAggregationsOutput) SetAggregationType(v string) *ListFindingAggregationsOutput
- func (s *ListFindingAggregationsOutput) SetNextToken(v string) *ListFindingAggregationsOutput
- func (s *ListFindingAggregationsOutput) SetResponses(v []*AggregationResponse) *ListFindingAggregationsOutput
- func (s ListFindingAggregationsOutput) String() string
- type ListFindingsInput
- func (s ListFindingsInput) GoString() string
- func (s *ListFindingsInput) SetFilterCriteria(v *FilterCriteria) *ListFindingsInput
- func (s *ListFindingsInput) SetMaxResults(v int64) *ListFindingsInput
- func (s *ListFindingsInput) SetNextToken(v string) *ListFindingsInput
- func (s *ListFindingsInput) SetSortCriteria(v *SortCriteria) *ListFindingsInput
- func (s ListFindingsInput) String() string
- func (s *ListFindingsInput) Validate() error
- type ListFindingsOutput
- type ListMembersInput
- func (s ListMembersInput) GoString() string
- func (s *ListMembersInput) SetMaxResults(v int64) *ListMembersInput
- func (s *ListMembersInput) SetNextToken(v string) *ListMembersInput
- func (s *ListMembersInput) SetOnlyAssociated(v bool) *ListMembersInput
- func (s ListMembersInput) String() string
- func (s *ListMembersInput) Validate() error
- type ListMembersOutput
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListUsageTotalsInput
- func (s ListUsageTotalsInput) GoString() string
- func (s *ListUsageTotalsInput) SetAccountIds(v []*string) *ListUsageTotalsInput
- func (s *ListUsageTotalsInput) SetMaxResults(v int64) *ListUsageTotalsInput
- func (s *ListUsageTotalsInput) SetNextToken(v string) *ListUsageTotalsInput
- func (s ListUsageTotalsInput) String() string
- func (s *ListUsageTotalsInput) Validate() error
- type ListUsageTotalsOutput
- type MapFilter
- type Member
- type MemberAccountEc2DeepInspectionStatus
- func (s MemberAccountEc2DeepInspectionStatus) GoString() string
- func (s *MemberAccountEc2DeepInspectionStatus) SetAccountId(v string) *MemberAccountEc2DeepInspectionStatus
- func (s *MemberAccountEc2DeepInspectionStatus) SetActivateDeepInspection(v bool) *MemberAccountEc2DeepInspectionStatus
- func (s MemberAccountEc2DeepInspectionStatus) String() string
- func (s *MemberAccountEc2DeepInspectionStatus) Validate() error
- type MemberAccountEc2DeepInspectionStatusState
- func (s MemberAccountEc2DeepInspectionStatusState) GoString() string
- func (s *MemberAccountEc2DeepInspectionStatusState) SetAccountId(v string) *MemberAccountEc2DeepInspectionStatusState
- func (s *MemberAccountEc2DeepInspectionStatusState) SetErrorMessage(v string) *MemberAccountEc2DeepInspectionStatusState
- func (s *MemberAccountEc2DeepInspectionStatusState) SetStatus(v string) *MemberAccountEc2DeepInspectionStatusState
- func (s MemberAccountEc2DeepInspectionStatusState) String() string
- type NetworkPath
- type NetworkReachabilityDetails
- func (s NetworkReachabilityDetails) GoString() string
- func (s *NetworkReachabilityDetails) SetNetworkPath(v *NetworkPath) *NetworkReachabilityDetails
- func (s *NetworkReachabilityDetails) SetOpenPortRange(v *PortRange) *NetworkReachabilityDetails
- func (s *NetworkReachabilityDetails) SetProtocol(v string) *NetworkReachabilityDetails
- func (s NetworkReachabilityDetails) String() string
- type NumberFilter
- type PackageAggregation
- func (s PackageAggregation) GoString() string
- func (s *PackageAggregation) SetPackageNames(v []*StringFilter) *PackageAggregation
- func (s *PackageAggregation) SetSortBy(v string) *PackageAggregation
- func (s *PackageAggregation) SetSortOrder(v string) *PackageAggregation
- func (s PackageAggregation) String() string
- func (s *PackageAggregation) Validate() error
- type PackageAggregationResponse
- func (s PackageAggregationResponse) GoString() string
- func (s *PackageAggregationResponse) SetAccountId(v string) *PackageAggregationResponse
- func (s *PackageAggregationResponse) SetPackageName(v string) *PackageAggregationResponse
- func (s *PackageAggregationResponse) SetSeverityCounts(v *SeverityCounts) *PackageAggregationResponse
- func (s PackageAggregationResponse) String() string
- type PackageFilter
- func (s PackageFilter) GoString() string
- func (s *PackageFilter) SetArchitecture(v *StringFilter) *PackageFilter
- func (s *PackageFilter) SetEpoch(v *NumberFilter) *PackageFilter
- func (s *PackageFilter) SetName(v *StringFilter) *PackageFilter
- func (s *PackageFilter) SetRelease(v *StringFilter) *PackageFilter
- func (s *PackageFilter) SetSourceLambdaLayerArn(v *StringFilter) *PackageFilter
- func (s *PackageFilter) SetSourceLayerHash(v *StringFilter) *PackageFilter
- func (s *PackageFilter) SetVersion(v *StringFilter) *PackageFilter
- func (s PackageFilter) String() string
- func (s *PackageFilter) Validate() error
- type PackageVulnerabilityDetails
- func (s PackageVulnerabilityDetails) GoString() string
- func (s *PackageVulnerabilityDetails) SetCvss(v []*CvssScore) *PackageVulnerabilityDetails
- func (s *PackageVulnerabilityDetails) SetReferenceUrls(v []*string) *PackageVulnerabilityDetails
- func (s *PackageVulnerabilityDetails) SetRelatedVulnerabilities(v []*string) *PackageVulnerabilityDetails
- func (s *PackageVulnerabilityDetails) SetSource(v string) *PackageVulnerabilityDetails
- func (s *PackageVulnerabilityDetails) SetSourceUrl(v string) *PackageVulnerabilityDetails
- func (s *PackageVulnerabilityDetails) SetVendorCreatedAt(v time.Time) *PackageVulnerabilityDetails
- func (s *PackageVulnerabilityDetails) SetVendorSeverity(v string) *PackageVulnerabilityDetails
- func (s *PackageVulnerabilityDetails) SetVendorUpdatedAt(v time.Time) *PackageVulnerabilityDetails
- func (s *PackageVulnerabilityDetails) SetVulnerabilityId(v string) *PackageVulnerabilityDetails
- func (s *PackageVulnerabilityDetails) SetVulnerablePackages(v []*VulnerablePackage) *PackageVulnerabilityDetails
- func (s PackageVulnerabilityDetails) String() string
- type Permission
- type PortRange
- type PortRangeFilter
- type Recommendation
- type Remediation
- type RepositoryAggregation
- func (s RepositoryAggregation) GoString() string
- func (s *RepositoryAggregation) SetRepositories(v []*StringFilter) *RepositoryAggregation
- func (s *RepositoryAggregation) SetSortBy(v string) *RepositoryAggregation
- func (s *RepositoryAggregation) SetSortOrder(v string) *RepositoryAggregation
- func (s RepositoryAggregation) String() string
- func (s *RepositoryAggregation) Validate() error
- type RepositoryAggregationResponse
- func (s RepositoryAggregationResponse) GoString() string
- func (s *RepositoryAggregationResponse) SetAccountId(v string) *RepositoryAggregationResponse
- func (s *RepositoryAggregationResponse) SetAffectedImages(v int64) *RepositoryAggregationResponse
- func (s *RepositoryAggregationResponse) SetRepository(v string) *RepositoryAggregationResponse
- func (s *RepositoryAggregationResponse) SetSeverityCounts(v *SeverityCounts) *RepositoryAggregationResponse
- func (s RepositoryAggregationResponse) String() string
- type Resource
- func (s Resource) GoString() string
- func (s *Resource) SetDetails(v *ResourceDetails) *Resource
- func (s *Resource) SetId(v string) *Resource
- func (s *Resource) SetPartition(v string) *Resource
- func (s *Resource) SetRegion(v string) *Resource
- func (s *Resource) SetTags(v map[string]*string) *Resource
- func (s *Resource) SetType(v string) *Resource
- func (s Resource) String() string
- type ResourceDetails
- func (s ResourceDetails) GoString() string
- func (s *ResourceDetails) SetAwsEc2Instance(v *AwsEc2InstanceDetails) *ResourceDetails
- func (s *ResourceDetails) SetAwsEcrContainerImage(v *AwsEcrContainerImageDetails) *ResourceDetails
- func (s *ResourceDetails) SetAwsLambdaFunction(v *AwsLambdaFunctionDetails) *ResourceDetails
- func (s ResourceDetails) String() string
- type ResourceNotFoundException
- func (s *ResourceNotFoundException) Code() string
- func (s *ResourceNotFoundException) Error() string
- func (s ResourceNotFoundException) GoString() string
- func (s *ResourceNotFoundException) Message() string
- func (s *ResourceNotFoundException) OrigErr() error
- func (s *ResourceNotFoundException) RequestID() string
- func (s *ResourceNotFoundException) StatusCode() int
- func (s ResourceNotFoundException) String() string
- type ResourceScanMetadata
- func (s ResourceScanMetadata) GoString() string
- func (s *ResourceScanMetadata) SetEc2(v *Ec2Metadata) *ResourceScanMetadata
- func (s *ResourceScanMetadata) SetEcrImage(v *EcrContainerImageMetadata) *ResourceScanMetadata
- func (s *ResourceScanMetadata) SetEcrRepository(v *EcrRepositoryMetadata) *ResourceScanMetadata
- func (s *ResourceScanMetadata) SetLambdaFunction(v *LambdaFunctionMetadata) *ResourceScanMetadata
- func (s ResourceScanMetadata) String() string
- type ResourceState
- type ResourceStatus
- type ScanStatus
- type ServiceQuotaExceededException
- func (s *ServiceQuotaExceededException) Code() string
- func (s *ServiceQuotaExceededException) Error() string
- func (s ServiceQuotaExceededException) GoString() string
- func (s *ServiceQuotaExceededException) Message() string
- func (s *ServiceQuotaExceededException) OrigErr() error
- func (s *ServiceQuotaExceededException) RequestID() string
- func (s *ServiceQuotaExceededException) StatusCode() int
- func (s ServiceQuotaExceededException) String() string
- type SeverityCounts
- func (s SeverityCounts) GoString() string
- func (s *SeverityCounts) SetAll(v int64) *SeverityCounts
- func (s *SeverityCounts) SetCritical(v int64) *SeverityCounts
- func (s *SeverityCounts) SetHigh(v int64) *SeverityCounts
- func (s *SeverityCounts) SetMedium(v int64) *SeverityCounts
- func (s SeverityCounts) String() string
- type SortCriteria
- type State
- type Step
- type StringFilter
- type TagResourceInput
- type TagResourceOutput
- type ThrottlingException
- func (s *ThrottlingException) Code() string
- func (s *ThrottlingException) Error() string
- func (s ThrottlingException) GoString() string
- func (s *ThrottlingException) Message() string
- func (s *ThrottlingException) OrigErr() error
- func (s *ThrottlingException) RequestID() string
- func (s *ThrottlingException) StatusCode() int
- func (s ThrottlingException) String() string
- type TitleAggregation
- func (s TitleAggregation) GoString() string
- func (s *TitleAggregation) SetResourceType(v string) *TitleAggregation
- func (s *TitleAggregation) SetSortBy(v string) *TitleAggregation
- func (s *TitleAggregation) SetSortOrder(v string) *TitleAggregation
- func (s *TitleAggregation) SetTitles(v []*StringFilter) *TitleAggregation
- func (s *TitleAggregation) SetVulnerabilityIds(v []*StringFilter) *TitleAggregation
- func (s TitleAggregation) String() string
- func (s *TitleAggregation) Validate() error
- type TitleAggregationResponse
- func (s TitleAggregationResponse) GoString() string
- func (s *TitleAggregationResponse) SetAccountId(v string) *TitleAggregationResponse
- func (s *TitleAggregationResponse) SetSeverityCounts(v *SeverityCounts) *TitleAggregationResponse
- func (s *TitleAggregationResponse) SetTitle(v string) *TitleAggregationResponse
- func (s *TitleAggregationResponse) SetVulnerabilityId(v string) *TitleAggregationResponse
- func (s TitleAggregationResponse) String() string
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateConfigurationInput
- type UpdateConfigurationOutput
- type UpdateEc2DeepInspectionConfigurationInput
- func (s UpdateEc2DeepInspectionConfigurationInput) GoString() string
- func (s *UpdateEc2DeepInspectionConfigurationInput) SetActivateDeepInspection(v bool) *UpdateEc2DeepInspectionConfigurationInput
- func (s *UpdateEc2DeepInspectionConfigurationInput) SetPackagePaths(v []*string) *UpdateEc2DeepInspectionConfigurationInput
- func (s UpdateEc2DeepInspectionConfigurationInput) String() string
- type UpdateEc2DeepInspectionConfigurationOutput
- func (s UpdateEc2DeepInspectionConfigurationOutput) GoString() string
- func (s *UpdateEc2DeepInspectionConfigurationOutput) SetErrorMessage(v string) *UpdateEc2DeepInspectionConfigurationOutput
- func (s *UpdateEc2DeepInspectionConfigurationOutput) SetOrgPackagePaths(v []*string) *UpdateEc2DeepInspectionConfigurationOutput
- func (s *UpdateEc2DeepInspectionConfigurationOutput) SetPackagePaths(v []*string) *UpdateEc2DeepInspectionConfigurationOutput
- func (s *UpdateEc2DeepInspectionConfigurationOutput) SetStatus(v string) *UpdateEc2DeepInspectionConfigurationOutput
- func (s UpdateEc2DeepInspectionConfigurationOutput) String() string
- type UpdateFilterInput
- func (s UpdateFilterInput) GoString() string
- func (s *UpdateFilterInput) SetAction(v string) *UpdateFilterInput
- func (s *UpdateFilterInput) SetDescription(v string) *UpdateFilterInput
- func (s *UpdateFilterInput) SetFilterArn(v string) *UpdateFilterInput
- func (s *UpdateFilterInput) SetFilterCriteria(v *FilterCriteria) *UpdateFilterInput
- func (s *UpdateFilterInput) SetName(v string) *UpdateFilterInput
- func (s *UpdateFilterInput) SetReason(v string) *UpdateFilterInput
- func (s UpdateFilterInput) String() string
- func (s *UpdateFilterInput) Validate() error
- type UpdateFilterOutput
- type UpdateOrgEc2DeepInspectionConfigurationInput
- func (s UpdateOrgEc2DeepInspectionConfigurationInput) GoString() string
- func (s *UpdateOrgEc2DeepInspectionConfigurationInput) SetOrgPackagePaths(v []*string) *UpdateOrgEc2DeepInspectionConfigurationInput
- func (s UpdateOrgEc2DeepInspectionConfigurationInput) String() string
- func (s *UpdateOrgEc2DeepInspectionConfigurationInput) Validate() error
- type UpdateOrgEc2DeepInspectionConfigurationOutput
- type UpdateOrganizationConfigurationInput
- func (s UpdateOrganizationConfigurationInput) GoString() string
- func (s *UpdateOrganizationConfigurationInput) SetAutoEnable(v *AutoEnable) *UpdateOrganizationConfigurationInput
- func (s UpdateOrganizationConfigurationInput) String() string
- func (s *UpdateOrganizationConfigurationInput) Validate() error
- type UpdateOrganizationConfigurationOutput
- type Usage
- type UsageTotal
- type ValidationException
- func (s *ValidationException) Code() string
- func (s *ValidationException) Error() string
- func (s ValidationException) GoString() string
- func (s *ValidationException) Message() string
- func (s *ValidationException) OrigErr() error
- func (s *ValidationException) RequestID() string
- func (s *ValidationException) StatusCode() int
- func (s ValidationException) String() string
- type ValidationExceptionField
- type VulnerablePackage
- func (s VulnerablePackage) GoString() string
- func (s *VulnerablePackage) SetArch(v string) *VulnerablePackage
- func (s *VulnerablePackage) SetEpoch(v int64) *VulnerablePackage
- func (s *VulnerablePackage) SetFilePath(v string) *VulnerablePackage
- func (s *VulnerablePackage) SetFixedInVersion(v string) *VulnerablePackage
- func (s *VulnerablePackage) SetName(v string) *VulnerablePackage
- func (s *VulnerablePackage) SetPackageManager(v string) *VulnerablePackage
- func (s *VulnerablePackage) SetRelease(v string) *VulnerablePackage
- func (s *VulnerablePackage) SetRemediation(v string) *VulnerablePackage
- func (s *VulnerablePackage) SetSourceLambdaLayerArn(v string) *VulnerablePackage
- func (s *VulnerablePackage) SetSourceLayerHash(v string) *VulnerablePackage
- func (s *VulnerablePackage) SetVersion(v string) *VulnerablePackage
- func (s VulnerablePackage) String() string
Constants ¶
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" )
const ( // AggregationFindingTypeNetworkReachability is a AggregationFindingType enum value AggregationFindingTypeNetworkReachability = "NETWORK_REACHABILITY" // AggregationFindingTypePackageVulnerability is a AggregationFindingType enum value AggregationFindingTypePackageVulnerability = "PACKAGE_VULNERABILITY" )
const ( // AggregationResourceTypeAwsEc2Instance is a AggregationResourceType enum value AggregationResourceTypeAwsEc2Instance = "AWS_EC2_INSTANCE" // AggregationResourceTypeAwsEcrContainerImage is a AggregationResourceType enum value AggregationResourceTypeAwsEcrContainerImage = "AWS_ECR_CONTAINER_IMAGE" // AggregationResourceTypeAwsLambdaFunction is a AggregationResourceType enum value AggregationResourceTypeAwsLambdaFunction = "AWS_LAMBDA_FUNCTION" )
const ( // AggregationTypeFindingType is a AggregationType enum value AggregationTypeFindingType = "FINDING_TYPE" // AggregationTypePackage is a AggregationType enum value AggregationTypePackage = "PACKAGE" // AggregationTypeTitle is a AggregationType enum value AggregationTypeTitle = "TITLE" // AggregationTypeRepository is a AggregationType enum value AggregationTypeRepository = "REPOSITORY" // AggregationTypeAmi is a AggregationType enum value AggregationTypeAmi = "AMI" // AggregationTypeAwsEc2Instance is a AggregationType enum value AggregationTypeAwsEc2Instance = "AWS_EC2_INSTANCE" // AggregationTypeAwsEcrContainer is a AggregationType enum value AggregationTypeAwsEcrContainer = "AWS_ECR_CONTAINER" // AggregationTypeImageLayer is a AggregationType enum value AggregationTypeImageLayer = "IMAGE_LAYER" // AggregationTypeAccount is a AggregationType enum value AggregationTypeAccount = "ACCOUNT" // AggregationTypeAwsLambdaFunction is a AggregationType enum value AggregationTypeAwsLambdaFunction = "AWS_LAMBDA_FUNCTION" // AggregationTypeLambdaLayer is a AggregationType enum value AggregationTypeLambdaLayer = "LAMBDA_LAYER" )
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" )
const ( // ArchitectureX8664 is a Architecture enum value ArchitectureX8664 = "X86_64" // ArchitectureArm64 is a Architecture enum value ArchitectureArm64 = "ARM64" )
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" )
const ( // CoverageResourceTypeAwsEc2Instance is a CoverageResourceType enum value CoverageResourceTypeAwsEc2Instance = "AWS_EC2_INSTANCE" // CoverageResourceTypeAwsEcrContainerImage is a CoverageResourceType enum value CoverageResourceTypeAwsEcrContainerImage = "AWS_ECR_CONTAINER_IMAGE" // CoverageResourceTypeAwsEcrRepository is a CoverageResourceType enum value CoverageResourceTypeAwsEcrRepository = "AWS_ECR_REPOSITORY" // CoverageResourceTypeAwsLambdaFunction is a CoverageResourceType enum value CoverageResourceTypeAwsLambdaFunction = "AWS_LAMBDA_FUNCTION" )
const ( // CoverageStringComparisonEquals is a CoverageStringComparison enum value CoverageStringComparisonEquals = "EQUALS" // CoverageStringComparisonNotEquals is a CoverageStringComparison enum value CoverageStringComparisonNotEquals = "NOT_EQUALS" )
const ( // DelegatedAdminStatusEnabled is a DelegatedAdminStatus enum value DelegatedAdminStatusEnabled = "ENABLED" // DelegatedAdminStatusDisableInProgress is a DelegatedAdminStatus enum value DelegatedAdminStatusDisableInProgress = "DISABLE_IN_PROGRESS" )
const ( // Ec2DeepInspectionStatusActivated is a Ec2DeepInspectionStatus enum value Ec2DeepInspectionStatusActivated = "ACTIVATED" // Ec2DeepInspectionStatusDeactivated is a Ec2DeepInspectionStatus enum value Ec2DeepInspectionStatusDeactivated = "DEACTIVATED" // Ec2DeepInspectionStatusPending is a Ec2DeepInspectionStatus enum value Ec2DeepInspectionStatusPending = "PENDING" // Ec2DeepInspectionStatusFailed is a Ec2DeepInspectionStatus enum value Ec2DeepInspectionStatusFailed = "FAILED" )
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" )
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" )
const ( // EcrRescanDurationLifetime is a EcrRescanDuration enum value EcrRescanDurationLifetime = "LIFETIME" // EcrRescanDurationDays30 is a EcrRescanDuration enum value EcrRescanDurationDays30 = "DAYS_30" // EcrRescanDurationDays180 is a EcrRescanDuration enum value EcrRescanDurationDays180 = "DAYS_180" )
const ( // EcrRescanDurationStatusSuccess is a EcrRescanDurationStatus enum value EcrRescanDurationStatusSuccess = "SUCCESS" // EcrRescanDurationStatusPending is a EcrRescanDurationStatus enum value EcrRescanDurationStatusPending = "PENDING" // EcrRescanDurationStatusFailed is a EcrRescanDurationStatus enum value EcrRescanDurationStatusFailed = "FAILED" )
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" )
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 = "SSM_UNAVAILABLE" // ErrorCodeSsmThrottled is a ErrorCode enum value ErrorCodeSsmThrottled = "SSM_THROTTLED" ErrorCodeEventbridgeUnavailable = "EVENTBRIDGE_UNAVAILABLE" // ErrorCodeEventbridgeThrottled is a ErrorCode enum value ErrorCodeEventbridgeThrottled = "EVENTBRIDGE_THROTTLED" // ErrorCodeResourceScanNotDisabled is a ErrorCode enum value ErrorCodeResourceScanNotDisabled = "RESOURCE_SCAN_NOT_DISABLED" // ErrorCodeDisassociateAllMembers is a ErrorCode enum value ErrorCodeDisassociateAllMembers = "DISASSOCIATE_ALL_MEMBERS" // ErrorCodeAccountIsIsolated is a ErrorCode enum value ErrorCodeAccountIsIsolated = "ACCOUNT_IS_ISOLATED" )
const ( // ExploitAvailableYes is a ExploitAvailable enum value ExploitAvailableYes = "YES" // ExploitAvailableNo is a ExploitAvailable enum value ExploitAvailableNo = "NO" )
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" )
const ( // FilterActionNone is a FilterAction enum value FilterActionNone = "NONE" // FilterActionSuppress is a FilterAction enum value FilterActionSuppress = "SUPPRESS" )
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" )
const ( // FindingTypeNetworkReachability is a FindingType enum value FindingTypeNetworkReachability = "NETWORK_REACHABILITY" // FindingTypePackageVulnerability is a FindingType enum value FindingTypePackageVulnerability = "PACKAGE_VULNERABILITY" )
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" )
const ( // FixAvailableYes is a FixAvailable enum value FixAvailableYes = "YES" // FixAvailableNo is a FixAvailable enum value FixAvailableNo = "NO" // FixAvailablePartial is a FixAvailable enum value FixAvailablePartial = "PARTIAL" )
const ( // FreeTrialInfoErrorCodeAccessDenied is a FreeTrialInfoErrorCode enum value FreeTrialInfoErrorCodeAccessDenied = "ACCESS_DENIED" // FreeTrialInfoErrorCodeInternalError is a FreeTrialInfoErrorCode enum value FreeTrialInfoErrorCodeInternalError = "INTERNAL_ERROR" )
const ( // FreeTrialStatusActive is a FreeTrialStatus enum value FreeTrialStatusActive = "ACTIVE" // FreeTrialStatusInactive is a FreeTrialStatus enum value FreeTrialStatusInactive = "INACTIVE" )
const ( // FreeTrialTypeEc2 is a FreeTrialType enum value FreeTrialTypeEc2 = "EC2" // FreeTrialTypeEcr is a FreeTrialType enum value FreeTrialTypeEcr = "ECR" // FreeTrialTypeLambda is a FreeTrialType enum value FreeTrialTypeLambda = "LAMBDA" )
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" )
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" )
const ( // LambdaFunctionSortByCritical is a LambdaFunctionSortBy enum value LambdaFunctionSortByCritical = "CRITICAL" // LambdaFunctionSortByHigh is a LambdaFunctionSortBy enum value LambdaFunctionSortByHigh = "HIGH" // LambdaFunctionSortByAll is a LambdaFunctionSortBy enum value LambdaFunctionSortByAll = "ALL" )
const ( // LambdaLayerSortByCritical is a LambdaLayerSortBy enum value LambdaLayerSortByCritical = "CRITICAL" // LambdaLayerSortByHigh is a LambdaLayerSortBy enum value LambdaLayerSortByHigh = "HIGH" // LambdaLayerSortByAll is a LambdaLayerSortBy enum value LambdaLayerSortByAll = "ALL" )
const ( // NetworkProtocolTcp is a NetworkProtocol enum value NetworkProtocolTcp = "TCP" // NetworkProtocolUdp is a NetworkProtocol enum value NetworkProtocolUdp = "UDP" )
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" )
const ( // PackageManagerBundler is a PackageManager enum value PackageManagerBundler = "BUNDLER" // PackageManagerCargo is a PackageManager enum value PackageManagerCargo = "CARGO" // PackageManagerComposer is a PackageManager enum value PackageManagerComposer = "COMPOSER" // PackageManagerNpm is a PackageManager enum value PackageManagerNpm = "NPM" // PackageManagerNuget is a PackageManager enum value PackageManagerNuget = "NUGET" // PackageManagerPipenv is a PackageManager enum value PackageManagerPipenv = "PIPENV" // PackageManagerPoetry is a PackageManager enum value PackageManagerPoetry = "POETRY" // PackageManagerYarn is a PackageManager enum value PackageManagerYarn = "YARN" // PackageManagerGobinary is a PackageManager enum value PackageManagerGobinary = "GOBINARY" // PackageManagerGomod is a PackageManager enum value PackageManagerGomod = "GOMOD" // PackageManagerJar is a PackageManager enum value PackageManagerJar = "JAR" // PackageManagerOs is a PackageManager enum value PackageManagerOs = "OS" // PackageManagerPip is a PackageManager enum value PackageManagerPip = "PIP" // PackageManagerPythonpkg is a PackageManager enum value PackageManagerPythonpkg = "PYTHONPKG" // PackageManagerNodepkg is a PackageManager enum value PackageManagerNodepkg = "NODEPKG" // PackageManagerPom is a PackageManager enum value PackageManagerPom = "POM" // PackageManagerGemspec is a PackageManager enum value PackageManagerGemspec = "GEMSPEC" )
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" )
const ( // PackageTypeImage is a PackageType enum value PackageTypeImage = "IMAGE" // PackageTypeZip is a PackageType enum value PackageTypeZip = "ZIP" )
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" )
const ( // ReportFormatCsv is a ReportFormat enum value ReportFormatCsv = "CSV" // ReportFormatJson is a ReportFormat enum value ReportFormatJson = "JSON" )
const ( // ReportingErrorCodeInternalError is a ReportingErrorCode enum value ReportingErrorCodeInternalError = "INTERNAL_ERROR" // ReportingErrorCodeInvalidPermissions is a ReportingErrorCode enum value ReportingErrorCodeInvalidPermissions = "INVALID_PERMISSIONS" // ReportingErrorCodeNoFindingsFound is a ReportingErrorCode enum value ReportingErrorCodeNoFindingsFound = "NO_FINDINGS_FOUND" // ReportingErrorCodeBucketNotFound is a ReportingErrorCode enum value ReportingErrorCodeBucketNotFound = "BUCKET_NOT_FOUND" // ReportingErrorCodeIncompatibleBucketRegion is a ReportingErrorCode enum value ReportingErrorCodeIncompatibleBucketRegion = "INCOMPATIBLE_BUCKET_REGION" // ReportingErrorCodeMalformedKmsKey is a ReportingErrorCode enum value ReportingErrorCodeMalformedKmsKey = "MALFORMED_KMS_KEY" )
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" )
const ( // ResourceScanTypeEc2 is a ResourceScanType enum value ResourceScanTypeEc2 = "EC2" // ResourceScanTypeEcr is a ResourceScanType enum value ResourceScanTypeEcr = "ECR" // ResourceScanTypeLambda is a ResourceScanType enum value ResourceScanTypeLambda = "LAMBDA" )
const ( // ResourceTypeAwsEc2Instance is a ResourceType enum value ResourceTypeAwsEc2Instance = "AWS_EC2_INSTANCE" // ResourceTypeAwsEcrContainerImage is a ResourceType enum value ResourceTypeAwsEcrContainerImage = "AWS_ECR_CONTAINER_IMAGE" // ResourceTypeAwsEcrRepository is a ResourceType enum value ResourceTypeAwsEcrRepository = "AWS_ECR_REPOSITORY" // ResourceTypeAwsLambdaFunction is a ResourceType enum value ResourceTypeAwsLambdaFunction = "AWS_LAMBDA_FUNCTION" )
const ( // RuntimeNodejs is a Runtime enum value RuntimeNodejs = "NODEJS" // RuntimeNodejs12X is a Runtime enum value RuntimeNodejs12X = "NODEJS_12_X" // RuntimeNodejs14X is a Runtime enum value RuntimeNodejs14X = "NODEJS_14_X" // RuntimeNodejs16X is a Runtime enum value RuntimeNodejs16X = "NODEJS_16_X" // RuntimeJava8 is a Runtime enum value RuntimeJava8 = "JAVA_8" // RuntimeJava8Al2 is a Runtime enum value RuntimeJava8Al2 = "JAVA_8_AL2" // RuntimeJava11 is a Runtime enum value RuntimeJava11 = "JAVA_11" // RuntimePython37 is a Runtime enum value RuntimePython37 = "PYTHON_3_7" // RuntimePython38 is a Runtime enum value RuntimePython38 = "PYTHON_3_8" // RuntimePython39 is a Runtime enum value RuntimePython39 = "PYTHON_3_9" // RuntimeUnsupported is a Runtime enum value RuntimeUnsupported = "UNSUPPORTED" // RuntimeNodejs18X is a Runtime enum value RuntimeNodejs18X = "NODEJS_18_X" // RuntimeGo1X is a Runtime enum value RuntimeGo1X = "GO_1_X" )
const ( // ScanStatusCodeActive is a ScanStatusCode enum value ScanStatusCodeActive = "ACTIVE" // ScanStatusCodeInactive is a ScanStatusCode enum value ScanStatusCodeInactive = "INACTIVE" )
const ( // ScanStatusReasonPendingInitialScan is a ScanStatusReason enum value ScanStatusReasonPendingInitialScan = "PENDING_INITIAL_SCAN" // ScanStatusReasonAccessDenied is a ScanStatusReason enum value ScanStatusReasonAccessDenied = "ACCESS_DENIED" // ScanStatusReasonInternalError is a ScanStatusReason enum value ScanStatusReasonInternalError = "INTERNAL_ERROR" // ScanStatusReasonUnmanagedEc2Instance is a ScanStatusReason enum value ScanStatusReasonUnmanagedEc2Instance = "UNMANAGED_EC2_INSTANCE" // ScanStatusReasonUnsupportedOs is a ScanStatusReason enum value ScanStatusReasonUnsupportedOs = "UNSUPPORTED_OS" // ScanStatusReasonScanEligibilityExpired is a ScanStatusReason enum value ScanStatusReasonScanEligibilityExpired = "SCAN_ELIGIBILITY_EXPIRED" // ScanStatusReasonResourceTerminated is a ScanStatusReason enum value ScanStatusReasonResourceTerminated = "RESOURCE_TERMINATED" // ScanStatusReasonSuccessful is a ScanStatusReason enum value ScanStatusReasonSuccessful = "SUCCESSFUL" // ScanStatusReasonNoResourcesFound is a ScanStatusReason enum value ScanStatusReasonNoResourcesFound = "NO_RESOURCES_FOUND" // ScanStatusReasonImageSizeExceeded is a ScanStatusReason enum value ScanStatusReasonImageSizeExceeded = "IMAGE_SIZE_EXCEEDED" // ScanStatusReasonScanFrequencyManual is a ScanStatusReason enum value ScanStatusReasonScanFrequencyManual = "SCAN_FREQUENCY_MANUAL" // ScanStatusReasonScanFrequencyScanOnPush is a ScanStatusReason enum value ScanStatusReasonScanFrequencyScanOnPush = "SCAN_FREQUENCY_SCAN_ON_PUSH" // ScanStatusReasonEc2InstanceStopped is a ScanStatusReason enum value ScanStatusReasonEc2InstanceStopped = "EC2_INSTANCE_STOPPED" // ScanStatusReasonPendingDisable is a ScanStatusReason enum value ScanStatusReasonPendingDisable = "PENDING_DISABLE" // ScanStatusReasonNoInventory is a ScanStatusReason enum value ScanStatusReasonNoInventory = "NO_INVENTORY" // ScanStatusReasonStaleInventory is a ScanStatusReason enum value ScanStatusReasonStaleInventory = "STALE_INVENTORY" // ScanStatusReasonExcludedByTag is a ScanStatusReason enum value ScanStatusReasonExcludedByTag = "EXCLUDED_BY_TAG" // ScanStatusReasonUnsupportedRuntime is a ScanStatusReason enum value ScanStatusReasonUnsupportedRuntime = "UNSUPPORTED_RUNTIME" // ScanStatusReasonUnsupportedMediaType is a ScanStatusReason enum value ScanStatusReasonUnsupportedMediaType = "UNSUPPORTED_MEDIA_TYPE" // ScanStatusReasonUnsupportedConfigFile is a ScanStatusReason enum value ScanStatusReasonUnsupportedConfigFile = "UNSUPPORTED_CONFIG_FILE" // ScanStatusReasonDeepInspectionPackageCollectionLimitExceeded is a ScanStatusReason enum value ScanStatusReasonDeepInspectionPackageCollectionLimitExceeded = "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED" // ScanStatusReasonDeepInspectionDailySsmInventoryLimitExceeded is a ScanStatusReason enum value ScanStatusReasonDeepInspectionDailySsmInventoryLimitExceeded = "DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED" // ScanStatusReasonDeepInspectionCollectionTimeLimitExceeded is a ScanStatusReason enum value ScanStatusReasonDeepInspectionCollectionTimeLimitExceeded = "DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED" // ScanStatusReasonDeepInspectionNoInventory is a ScanStatusReason enum value ScanStatusReasonDeepInspectionNoInventory = "DEEP_INSPECTION_NO_INVENTORY" )
const ( // ScanTypeNetwork is a ScanType enum value ScanTypeNetwork = "NETWORK" // ScanTypePackage is a ScanType enum value ScanTypePackage = "PACKAGE" )
const ( // ServiceEc2 is a Service enum value ServiceEc2 = "EC2" // ServiceEcr is a Service enum value ServiceEcr = "ECR" // ServiceLambda is a Service enum value ServiceLambda = "LAMBDA" )
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" )
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" )
const ( // SortOrderAsc is a SortOrder enum value SortOrderAsc = "ASC" // SortOrderDesc is a SortOrder enum value SortOrderDesc = "DESC" )
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" )
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" )
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" )
const ( // UsageTypeEc2InstanceHours is a UsageType enum value UsageTypeEc2InstanceHours = "EC2_INSTANCE_HOURS" // UsageTypeEcrInitialScan is a UsageType enum value UsageTypeEcrInitialScan = "ECR_INITIAL_SCAN" // UsageTypeEcrRescan is a UsageType enum value UsageTypeEcrRescan = "ECR_RESCAN" // UsageTypeLambdaFunctionHours is a UsageType enum value UsageTypeLambdaFunctionHours = "LAMBDA_FUNCTION_HOURS" )
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" )
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" )
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
const (
// CoverageMapComparisonEquals is a CoverageMapComparison enum value
CoverageMapComparisonEquals = "EQUALS"
)
const (
// CurrencyUsd is a Currency enum value
CurrencyUsd = "USD"
)
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 Architecture_Values ¶ added in v1.44.147
func Architecture_Values() []string
Architecture_Values returns all elements of the Architecture enum
func AwsEcrContainerSortBy_Values ¶
func AwsEcrContainerSortBy_Values() []string
AwsEcrContainerSortBy_Values returns all elements of the AwsEcrContainerSortBy enum
func CoverageMapComparison_Values ¶
func CoverageMapComparison_Values() []string
CoverageMapComparison_Values returns all elements of the CoverageMapComparison enum
func CoverageResourceType_Values ¶
func CoverageResourceType_Values() []string
CoverageResourceType_Values returns all elements of the CoverageResourceType enum
func CoverageStringComparison_Values ¶
func CoverageStringComparison_Values() []string
CoverageStringComparison_Values returns all elements of the CoverageStringComparison enum
func Currency_Values ¶
func Currency_Values() []string
Currency_Values returns all elements of the Currency enum
func DelegatedAdminStatus_Values ¶
func DelegatedAdminStatus_Values() []string
DelegatedAdminStatus_Values returns all elements of the DelegatedAdminStatus enum
func Ec2DeepInspectionStatus_Values ¶ added in v1.44.256
func Ec2DeepInspectionStatus_Values() []string
Ec2DeepInspectionStatus_Values returns all elements of the Ec2DeepInspectionStatus enum
func Ec2InstanceSortBy_Values ¶
func Ec2InstanceSortBy_Values() []string
Ec2InstanceSortBy_Values returns all elements of the Ec2InstanceSortBy enum
func Ec2Platform_Values ¶
func Ec2Platform_Values() []string
Ec2Platform_Values returns all elements of the Ec2Platform enum
func EcrRescanDurationStatus_Values ¶ added in v1.44.55
func EcrRescanDurationStatus_Values() []string
EcrRescanDurationStatus_Values returns all elements of the EcrRescanDurationStatus enum
func EcrRescanDuration_Values ¶ added in v1.44.55
func EcrRescanDuration_Values() []string
EcrRescanDuration_Values returns all elements of the EcrRescanDuration enum
func EcrScanFrequency_Values ¶
func EcrScanFrequency_Values() []string
EcrScanFrequency_Values returns all elements of the EcrScanFrequency enum
func ErrorCode_Values ¶
func ErrorCode_Values() []string
ErrorCode_Values returns all elements of the ErrorCode enum
func ExploitAvailable_Values ¶ added in v1.44.147
func ExploitAvailable_Values() []string
ExploitAvailable_Values returns all elements of the ExploitAvailable enum
func ExternalReportStatus_Values ¶
func ExternalReportStatus_Values() []string
ExternalReportStatus_Values returns all elements of the ExternalReportStatus enum
func FilterAction_Values ¶
func FilterAction_Values() []string
FilterAction_Values returns all elements of the FilterAction enum
func FindingStatus_Values ¶
func FindingStatus_Values() []string
FindingStatus_Values returns all elements of the FindingStatus enum
func FindingTypeSortBy_Values ¶
func FindingTypeSortBy_Values() []string
FindingTypeSortBy_Values returns all elements of the FindingTypeSortBy enum
func FindingType_Values ¶
func FindingType_Values() []string
FindingType_Values returns all elements of the FindingType enum
func FixAvailable_Values ¶ added in v1.44.93
func FixAvailable_Values() []string
FixAvailable_Values returns all elements of the FixAvailable enum
func FreeTrialInfoErrorCode_Values ¶
func FreeTrialInfoErrorCode_Values() []string
FreeTrialInfoErrorCode_Values returns all elements of the FreeTrialInfoErrorCode enum
func FreeTrialStatus_Values ¶
func FreeTrialStatus_Values() []string
FreeTrialStatus_Values returns all elements of the FreeTrialStatus enum
func FreeTrialType_Values ¶
func FreeTrialType_Values() []string
FreeTrialType_Values returns all elements of the FreeTrialType enum
func GroupKey_Values ¶
func GroupKey_Values() []string
GroupKey_Values returns all elements of the GroupKey enum
func ImageLayerSortBy_Values ¶
func ImageLayerSortBy_Values() []string
ImageLayerSortBy_Values returns all elements of the ImageLayerSortBy enum
func LambdaFunctionSortBy_Values ¶ added in v1.44.147
func LambdaFunctionSortBy_Values() []string
LambdaFunctionSortBy_Values returns all elements of the LambdaFunctionSortBy enum
func LambdaLayerSortBy_Values ¶ added in v1.44.147
func LambdaLayerSortBy_Values() []string
LambdaLayerSortBy_Values returns all elements of the LambdaLayerSortBy enum
func MapComparison_Values ¶
func MapComparison_Values() []string
MapComparison_Values returns all elements of the MapComparison enum
func NetworkProtocol_Values ¶
func NetworkProtocol_Values() []string
NetworkProtocol_Values returns all elements of the NetworkProtocol enum
func Operation_Values ¶
func Operation_Values() []string
Operation_Values returns all elements of the Operation enum
func PackageManager_Values ¶
func PackageManager_Values() []string
PackageManager_Values returns all elements of the PackageManager enum
func PackageSortBy_Values ¶
func PackageSortBy_Values() []string
PackageSortBy_Values returns all elements of the PackageSortBy enum
func PackageType_Values ¶ added in v1.44.147
func PackageType_Values() []string
PackageType_Values returns all elements of the PackageType enum
func RelationshipStatus_Values ¶
func RelationshipStatus_Values() []string
RelationshipStatus_Values returns all elements of the RelationshipStatus enum
func ReportFormat_Values ¶
func ReportFormat_Values() []string
ReportFormat_Values returns all elements of the ReportFormat enum
func ReportingErrorCode_Values ¶
func ReportingErrorCode_Values() []string
ReportingErrorCode_Values returns all elements of the ReportingErrorCode enum
func RepositorySortBy_Values ¶
func RepositorySortBy_Values() []string
RepositorySortBy_Values returns all elements of the RepositorySortBy enum
func 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 Runtime_Values ¶ added in v1.44.147
func Runtime_Values() []string
Runtime_Values returns all elements of the Runtime 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 ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
SetAccountId sets the AccountId field's value.
func (*Account) SetResourceStatus ¶
func (s *Account) SetResourceStatus(v *ResourceStatus) *Account
SetResourceStatus sets the ResourceStatus field's value.
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 ¶
func (s *AccountAggregationResponse) SetAccountId(v string) *AccountAggregationResponse
SetAccountId sets the AccountId field's value.
func (*AccountAggregationResponse) SetSeverityCounts ¶
func (s *AccountAggregationResponse) SetSeverityCounts(v *SeverityCounts) *AccountAggregationResponse
SetSeverityCounts sets the SeverityCounts field's value.
func (AccountAggregationResponse) String ¶
func (s AccountAggregationResponse) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AccountState ¶
type AccountState struct { // The Amazon Web Services account ID. // // AccountId is a required field AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"` // An object detailing which resources Amazon Inspector is enabled to scan for // the account. // // ResourceState is a required field ResourceState *ResourceState `locationName:"resourceState" type:"structure" required:"true"` // An object detailing the status of Amazon Inspector for the account. // // State is a required field State *State `locationName:"state" type:"structure" required:"true"` // contains filtered or unexported fields }
An object with details the status of an Amazon Web Services account within your Amazon Inspector environment.
func (AccountState) GoString ¶
func (s AccountState) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AccountState) SetAccountId ¶
func (s *AccountState) SetAccountId(v string) *AccountState
SetAccountId sets the AccountId field's value.
func (*AccountState) SetResourceState ¶
func (s *AccountState) SetResourceState(v *ResourceState) *AccountState
SetResourceState sets the ResourceState field's value.
func (*AccountState) SetState ¶
func (s *AccountState) SetState(v *State) *AccountState
SetState sets the State field's value.
func (AccountState) String ¶
func (s AccountState) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AggregationRequest ¶
type AggregationRequest struct { // An object that contains details about an aggregation request based on Amazon // Web Services account IDs. AccountAggregation *AccountAggregation `locationName:"accountAggregation" type:"structure"` // An object that contains details about an aggregation request based on Amazon // Machine Images (AMIs). AmiAggregation *AmiAggregation `locationName:"amiAggregation" type:"structure"` // An object that contains details about an aggregation request based on Amazon // ECR container images. AwsEcrContainerAggregation *AwsEcrContainerAggregation `locationName:"awsEcrContainerAggregation" type:"structure"` // An object that contains details about an aggregation request based on Amazon // EC2 instances. Ec2InstanceAggregation *Ec2InstanceAggregation `locationName:"ec2InstanceAggregation" type:"structure"` // An object that contains details about an aggregation request based on finding // types. FindingTypeAggregation *FindingTypeAggregation `locationName:"findingTypeAggregation" type:"structure"` // An object that contains details about an aggregation request based on container // image layers. ImageLayerAggregation *ImageLayerAggregation `locationName:"imageLayerAggregation" type:"structure"` // Returns an object with findings aggregated by AWS Lambda function. LambdaFunctionAggregation *LambdaFunctionAggregation `locationName:"lambdaFunctionAggregation" type:"structure"` // Returns an object with findings aggregated by AWS Lambda layer. LambdaLayerAggregation *LambdaLayerAggregation `locationName:"lambdaLayerAggregation" type:"structure"` // An object that contains details about an aggregation request based on operating // system package type. PackageAggregation *PackageAggregation `locationName:"packageAggregation" type:"structure"` // An object that contains details about an aggregation request based on Amazon // ECR repositories. RepositoryAggregation *RepositoryAggregation `locationName:"repositoryAggregation" type:"structure"` // An object that contains details about an aggregation request based on finding // title. TitleAggregation *TitleAggregation `locationName:"titleAggregation" type:"structure"` // contains filtered or unexported fields }
Contains details about an aggregation request.
func (AggregationRequest) GoString ¶
func (s AggregationRequest) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AggregationRequest) SetAccountAggregation ¶
func (s *AggregationRequest) SetAccountAggregation(v *AccountAggregation) *AggregationRequest
SetAccountAggregation sets the AccountAggregation field's value.
func (*AggregationRequest) SetAmiAggregation ¶
func (s *AggregationRequest) SetAmiAggregation(v *AmiAggregation) *AggregationRequest
SetAmiAggregation sets the AmiAggregation field's value.
func (*AggregationRequest) SetAwsEcrContainerAggregation ¶
func (s *AggregationRequest) SetAwsEcrContainerAggregation(v *AwsEcrContainerAggregation) *AggregationRequest
SetAwsEcrContainerAggregation sets the AwsEcrContainerAggregation field's value.
func (*AggregationRequest) SetEc2InstanceAggregation ¶
func (s *AggregationRequest) SetEc2InstanceAggregation(v *Ec2InstanceAggregation) *AggregationRequest
SetEc2InstanceAggregation sets the Ec2InstanceAggregation field's value.
func (*AggregationRequest) SetFindingTypeAggregation ¶
func (s *AggregationRequest) SetFindingTypeAggregation(v *FindingTypeAggregation) *AggregationRequest
SetFindingTypeAggregation sets the FindingTypeAggregation field's value.
func (*AggregationRequest) SetImageLayerAggregation ¶
func (s *AggregationRequest) SetImageLayerAggregation(v *ImageLayerAggregation) *AggregationRequest
SetImageLayerAggregation sets the ImageLayerAggregation field's value.
func (*AggregationRequest) SetLambdaFunctionAggregation ¶ added in v1.44.147
func (s *AggregationRequest) SetLambdaFunctionAggregation(v *LambdaFunctionAggregation) *AggregationRequest
SetLambdaFunctionAggregation sets the LambdaFunctionAggregation field's value.
func (*AggregationRequest) SetLambdaLayerAggregation ¶ added in v1.44.147
func (s *AggregationRequest) SetLambdaLayerAggregation(v *LambdaLayerAggregation) *AggregationRequest
SetLambdaLayerAggregation sets the LambdaLayerAggregation field's value.
func (*AggregationRequest) SetPackageAggregation ¶
func (s *AggregationRequest) SetPackageAggregation(v *PackageAggregation) *AggregationRequest
SetPackageAggregation sets the PackageAggregation field's value.
func (*AggregationRequest) SetRepositoryAggregation ¶
func (s *AggregationRequest) SetRepositoryAggregation(v *RepositoryAggregation) *AggregationRequest
SetRepositoryAggregation sets the RepositoryAggregation field's value.
func (*AggregationRequest) SetTitleAggregation ¶
func (s *AggregationRequest) SetTitleAggregation(v *TitleAggregation) *AggregationRequest
SetTitleAggregation sets the TitleAggregation field's value.
func (AggregationRequest) String ¶
func (s AggregationRequest) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AggregationRequest) Validate ¶
func (s *AggregationRequest) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AggregationResponse ¶
type AggregationResponse struct { // An object that contains details about an aggregation response based on Amazon // Web Services account IDs. AccountAggregation *AccountAggregationResponse `locationName:"accountAggregation" type:"structure"` // An object that contains details about an aggregation response based on Amazon // Machine Images (AMIs). AmiAggregation *AmiAggregationResponse `locationName:"amiAggregation" type:"structure"` // An object that contains details about an aggregation response based on Amazon // ECR container images. AwsEcrContainerAggregation *AwsEcrContainerAggregationResponse `locationName:"awsEcrContainerAggregation" type:"structure"` // An object that contains details about an aggregation response based on Amazon // EC2 instances. Ec2InstanceAggregation *Ec2InstanceAggregationResponse `locationName:"ec2InstanceAggregation" type:"structure"` // An object that contains details about an aggregation response based on finding // types. FindingTypeAggregation *FindingTypeAggregationResponse `locationName:"findingTypeAggregation" type:"structure"` // An object that contains details about an aggregation response based on container // image layers. ImageLayerAggregation *ImageLayerAggregationResponse `locationName:"imageLayerAggregation" type:"structure"` // An aggregation of findings by AWS Lambda function. LambdaFunctionAggregation *LambdaFunctionAggregationResponse `locationName:"lambdaFunctionAggregation" type:"structure"` // An aggregation of findings by AWS Lambda layer. LambdaLayerAggregation *LambdaLayerAggregationResponse `locationName:"lambdaLayerAggregation" type:"structure"` // An object that contains details about an aggregation response based on operating // system package type. PackageAggregation *PackageAggregationResponse `locationName:"packageAggregation" type:"structure"` // An object that contains details about an aggregation response based on Amazon // ECR repositories. RepositoryAggregation *RepositoryAggregationResponse `locationName:"repositoryAggregation" type:"structure"` // An object that contains details about an aggregation response based on finding // title. TitleAggregation *TitleAggregationResponse `locationName:"titleAggregation" type:"structure"` // contains filtered or unexported fields }
A structure that contains details about the results of an aggregation type.
func (AggregationResponse) GoString ¶
func (s AggregationResponse) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AggregationResponse) SetAccountAggregation ¶
func (s *AggregationResponse) SetAccountAggregation(v *AccountAggregationResponse) *AggregationResponse
SetAccountAggregation sets the AccountAggregation field's value.
func (*AggregationResponse) SetAmiAggregation ¶
func (s *AggregationResponse) SetAmiAggregation(v *AmiAggregationResponse) *AggregationResponse
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 ¶
func (s *AggregationResponse) SetEc2InstanceAggregation(v *Ec2InstanceAggregationResponse) *AggregationResponse
SetEc2InstanceAggregation sets the Ec2InstanceAggregation field's value.
func (*AggregationResponse) SetFindingTypeAggregation ¶
func (s *AggregationResponse) SetFindingTypeAggregation(v *FindingTypeAggregationResponse) *AggregationResponse
SetFindingTypeAggregation sets the FindingTypeAggregation field's value.
func (*AggregationResponse) SetImageLayerAggregation ¶
func (s *AggregationResponse) SetImageLayerAggregation(v *ImageLayerAggregationResponse) *AggregationResponse
SetImageLayerAggregation sets the ImageLayerAggregation field's value.
func (*AggregationResponse) SetLambdaFunctionAggregation ¶ added in v1.44.147
func (s *AggregationResponse) SetLambdaFunctionAggregation(v *LambdaFunctionAggregationResponse) *AggregationResponse
SetLambdaFunctionAggregation sets the LambdaFunctionAggregation field's value.
func (*AggregationResponse) SetLambdaLayerAggregation ¶ added in v1.44.147
func (s *AggregationResponse) SetLambdaLayerAggregation(v *LambdaLayerAggregationResponse) *AggregationResponse
SetLambdaLayerAggregation sets the LambdaLayerAggregation field's value.
func (*AggregationResponse) SetPackageAggregation ¶
func (s *AggregationResponse) SetPackageAggregation(v *PackageAggregationResponse) *AggregationResponse
SetPackageAggregation sets the PackageAggregation field's value.
func (*AggregationResponse) SetRepositoryAggregation ¶
func (s *AggregationResponse) SetRepositoryAggregation(v *RepositoryAggregationResponse) *AggregationResponse
SetRepositoryAggregation sets the RepositoryAggregation field's value.
func (*AggregationResponse) SetTitleAggregation ¶
func (s *AggregationResponse) SetTitleAggregation(v *TitleAggregationResponse) *AggregationResponse
SetTitleAggregation sets the TitleAggregation field's value.
func (AggregationResponse) String ¶
func (s AggregationResponse) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AmiAggregation ¶
type AmiAggregation struct { // The IDs of AMIs to aggregate findings for. Amis []*StringFilter `locationName:"amis" min:"1" type:"list"` // The value to sort results by. SortBy *string `locationName:"sortBy" type:"string" enum:"AmiSortBy"` // The order to sort results by. SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrder"` // contains filtered or unexported fields }
The details that define an aggregation based on Amazon machine images (AMIs).
func (AmiAggregation) GoString ¶
func (s AmiAggregation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AmiAggregation) SetAmis ¶
func (s *AmiAggregation) SetAmis(v []*StringFilter) *AmiAggregation
SetAmis sets the Amis field's value.
func (*AmiAggregation) SetSortBy ¶
func (s *AmiAggregation) SetSortBy(v string) *AmiAggregation
SetSortBy sets the SortBy field's value.
func (*AmiAggregation) SetSortOrder ¶
func (s *AmiAggregation) SetSortOrder(v string) *AmiAggregation
SetSortOrder sets the SortOrder field's value.
func (AmiAggregation) String ¶
func (s AmiAggregation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AmiAggregation) Validate ¶
func (s *AmiAggregation) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AmiAggregationResponse ¶
type AmiAggregationResponse struct { // The Amazon Web Services account ID for the AMI. AccountId *string `locationName:"accountId" min:"12" type:"string"` // The IDs of Amazon EC2 instances using this AMI. AffectedInstances *int64 `locationName:"affectedInstances" type:"long"` // The ID of the AMI that findings were aggregated for. // // Ami is a required field Ami *string `locationName:"ami" type:"string" required:"true"` // An object that contains the count of matched findings per severity. SeverityCounts *SeverityCounts `locationName:"severityCounts" type:"structure"` // contains filtered or unexported fields }
A response that contains the results of a finding aggregation by AMI.
func (AmiAggregationResponse) GoString ¶
func (s AmiAggregationResponse) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AmiAggregationResponse) SetAccountId ¶
func (s *AmiAggregationResponse) SetAccountId(v string) *AmiAggregationResponse
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 ¶
func (s *AmiAggregationResponse) SetAmi(v string) *AmiAggregationResponse
SetAmi sets the Ami field's value.
func (*AmiAggregationResponse) SetSeverityCounts ¶
func (s *AmiAggregationResponse) SetSeverityCounts(v *SeverityCounts) *AmiAggregationResponse
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 ¶
func (s *AssociateMemberOutput) SetAccountId(v string) *AssociateMemberOutput
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"` // Represents whether AWS Lambda standard scans are automatically enabled for // new members of your Amazon Inspector organization. Lambda *bool `locationName:"lambda" type:"boolean"` // contains filtered or unexported fields }
Represents which scan types are automatically enabled for new members of your Amazon Inspector organization.
func (AutoEnable) GoString ¶
func (s AutoEnable) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AutoEnable) SetEc2 ¶
func (s *AutoEnable) SetEc2(v bool) *AutoEnable
SetEc2 sets the Ec2 field's value.
func (*AutoEnable) SetEcr ¶
func (s *AutoEnable) SetEcr(v bool) *AutoEnable
SetEcr sets the Ecr field's value.
func (*AutoEnable) SetLambda ¶ added in v1.44.147
func (s *AutoEnable) SetLambda(v bool) *AutoEnable
SetLambda sets the Lambda field's value.
func (AutoEnable) 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 ¶
func (s *AwsEc2InstanceDetails) SetImageId(v string) *AwsEc2InstanceDetails
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 ¶
func (s *AwsEc2InstanceDetails) SetKeyName(v string) *AwsEc2InstanceDetails
SetKeyName sets the KeyName field's value.
func (*AwsEc2InstanceDetails) SetLaunchedAt ¶
func (s *AwsEc2InstanceDetails) SetLaunchedAt(v time.Time) *AwsEc2InstanceDetails
SetLaunchedAt sets the LaunchedAt field's value.
func (*AwsEc2InstanceDetails) SetPlatform ¶
func (s *AwsEc2InstanceDetails) SetPlatform(v string) *AwsEc2InstanceDetails
SetPlatform sets the Platform field's value.
func (*AwsEc2InstanceDetails) SetSubnetId ¶
func (s *AwsEc2InstanceDetails) SetSubnetId(v string) *AwsEc2InstanceDetails
SetSubnetId sets the SubnetId field's value.
func (*AwsEc2InstanceDetails) SetType ¶
func (s *AwsEc2InstanceDetails) SetType(v string) *AwsEc2InstanceDetails
SetType sets the Type field's value.
func (*AwsEc2InstanceDetails) SetVpcId ¶
func (s *AwsEc2InstanceDetails) SetVpcId(v string) *AwsEc2InstanceDetails
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 ¶
func (s *AwsEcrContainerAggregation) SetArchitectures(v []*StringFilter) *AwsEcrContainerAggregation
SetArchitectures sets the Architectures field's value.
func (*AwsEcrContainerAggregation) SetImageShas ¶
func (s *AwsEcrContainerAggregation) SetImageShas(v []*StringFilter) *AwsEcrContainerAggregation
SetImageShas sets the ImageShas field's value.
func (*AwsEcrContainerAggregation) SetImageTags ¶
func (s *AwsEcrContainerAggregation) SetImageTags(v []*StringFilter) *AwsEcrContainerAggregation
SetImageTags sets the ImageTags field's value.
func (*AwsEcrContainerAggregation) SetRepositories ¶
func (s *AwsEcrContainerAggregation) SetRepositories(v []*StringFilter) *AwsEcrContainerAggregation
SetRepositories sets the Repositories field's value.
func (*AwsEcrContainerAggregation) SetResourceIds ¶
func (s *AwsEcrContainerAggregation) SetResourceIds(v []*StringFilter) *AwsEcrContainerAggregation
SetResourceIds sets the ResourceIds field's value.
func (*AwsEcrContainerAggregation) SetSortBy ¶
func (s *AwsEcrContainerAggregation) SetSortBy(v string) *AwsEcrContainerAggregation
SetSortBy sets the SortBy field's value.
func (*AwsEcrContainerAggregation) SetSortOrder ¶
func (s *AwsEcrContainerAggregation) SetSortOrder(v string) *AwsEcrContainerAggregation
SetSortOrder sets the SortOrder field's value.
func (AwsEcrContainerAggregation) String ¶
func (s AwsEcrContainerAggregation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s AwsEcrContainerAggregationResponse) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s *AwsEcrContainerAggregationResponse) SetAccountId(v string) *AwsEcrContainerAggregationResponse
SetAccountId sets the AccountId field's value.
func (*AwsEcrContainerAggregationResponse) SetArchitecture ¶
func (s *AwsEcrContainerAggregationResponse) SetArchitecture(v string) *AwsEcrContainerAggregationResponse
SetArchitecture sets the Architecture field's value.
func (*AwsEcrContainerAggregationResponse) SetImageSha ¶
func (s *AwsEcrContainerAggregationResponse) SetImageSha(v string) *AwsEcrContainerAggregationResponse
SetImageSha sets the ImageSha field's value.
func (*AwsEcrContainerAggregationResponse) SetImageTags ¶
func (s *AwsEcrContainerAggregationResponse) SetImageTags(v []*string) *AwsEcrContainerAggregationResponse
SetImageTags sets the ImageTags field's value.
func (*AwsEcrContainerAggregationResponse) SetRepository ¶
func (s *AwsEcrContainerAggregationResponse) SetRepository(v string) *AwsEcrContainerAggregationResponse
SetRepository sets the Repository field's value.
func (*AwsEcrContainerAggregationResponse) SetResourceId ¶
func (s *AwsEcrContainerAggregationResponse) SetResourceId(v string) *AwsEcrContainerAggregationResponse
SetResourceId sets the ResourceId field's value.
func (*AwsEcrContainerAggregationResponse) SetSeverityCounts ¶
func (s *AwsEcrContainerAggregationResponse) SetSeverityCounts(v *SeverityCounts) *AwsEcrContainerAggregationResponse
SetSeverityCounts sets the SeverityCounts field's value.
func (AwsEcrContainerAggregationResponse) String ¶
func (s AwsEcrContainerAggregationResponse) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AwsEcrContainerImageDetails ¶
type AwsEcrContainerImageDetails struct { // The architecture of the Amazon ECR container image. Architecture *string `locationName:"architecture" min:"1" type:"string"` // The image author of the Amazon ECR container image. Author *string `locationName:"author" type:"string"` // The image hash of the Amazon ECR container image. // // ImageHash is a required field ImageHash *string `locationName:"imageHash" min:"71" type:"string" required:"true"` // The image tags attached to the Amazon ECR container image. ImageTags []*string `locationName:"imageTags" type:"list"` // The platform of the Amazon ECR container image. Platform *string `locationName:"platform" min:"1" type:"string"` // The date and time the Amazon ECR container image was pushed. PushedAt *time.Time `locationName:"pushedAt" type:"timestamp"` // The registry for the Amazon ECR container image. // // Registry is a required field Registry *string `locationName:"registry" min:"1" type:"string" required:"true"` // The name of the repository the Amazon ECR container image resides in. // // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
The image details of the Amazon ECR container image.
func (AwsEcrContainerImageDetails) GoString ¶
func (s AwsEcrContainerImageDetails) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AwsEcrContainerImageDetails) SetArchitecture ¶
func (s *AwsEcrContainerImageDetails) SetArchitecture(v string) *AwsEcrContainerImageDetails
SetArchitecture sets the Architecture field's value.
func (*AwsEcrContainerImageDetails) SetAuthor ¶
func (s *AwsEcrContainerImageDetails) SetAuthor(v string) *AwsEcrContainerImageDetails
SetAuthor sets the Author field's value.
func (*AwsEcrContainerImageDetails) SetImageHash ¶
func (s *AwsEcrContainerImageDetails) SetImageHash(v string) *AwsEcrContainerImageDetails
SetImageHash sets the ImageHash field's value.
func (*AwsEcrContainerImageDetails) SetImageTags ¶
func (s *AwsEcrContainerImageDetails) SetImageTags(v []*string) *AwsEcrContainerImageDetails
SetImageTags sets the ImageTags field's value.
func (*AwsEcrContainerImageDetails) SetPlatform ¶
func (s *AwsEcrContainerImageDetails) SetPlatform(v string) *AwsEcrContainerImageDetails
SetPlatform sets the Platform field's value.
func (*AwsEcrContainerImageDetails) SetPushedAt ¶
func (s *AwsEcrContainerImageDetails) SetPushedAt(v time.Time) *AwsEcrContainerImageDetails
SetPushedAt sets the PushedAt field's value.
func (*AwsEcrContainerImageDetails) SetRegistry ¶
func (s *AwsEcrContainerImageDetails) SetRegistry(v string) *AwsEcrContainerImageDetails
SetRegistry sets the Registry field's value.
func (*AwsEcrContainerImageDetails) SetRepositoryName ¶
func (s *AwsEcrContainerImageDetails) SetRepositoryName(v string) *AwsEcrContainerImageDetails
SetRepositoryName sets the RepositoryName field's value.
func (AwsEcrContainerImageDetails) String ¶
func (s AwsEcrContainerImageDetails) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AwsLambdaFunctionDetails ¶ added in v1.44.147
type AwsLambdaFunctionDetails struct { // The instruction set architecture that the AWS Lambda function supports. Architecture // is a string array with one of the valid values. The default architecture // value is x86_64. Architectures []*string `locationName:"architectures" min:"1" type:"list" enum:"Architecture"` // The SHA256 hash of the AWS Lambda function's deployment package. // // CodeSha256 is a required field CodeSha256 *string `locationName:"codeSha256" min:"1" type:"string" required:"true"` // The AWS Lambda function's execution role. // // ExecutionRoleArn is a required field ExecutionRoleArn *string `locationName:"executionRoleArn" type:"string" required:"true"` // The name of the AWS Lambda function. // // FunctionName is a required field FunctionName *string `locationName:"functionName" type:"string" required:"true"` // The date and time that a user last updated the configuration, in ISO 8601 // format (https://www.iso.org/iso-8601-date-and-time-format.html) LastModifiedAt *time.Time `locationName:"lastModifiedAt" type:"timestamp"` // The AWS Lambda function's layers (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). // A Lambda function can have up to five layers. Layers []*string `locationName:"layers" min:"1" type:"list"` // The type of deployment package. Set to Image for container image and set // Zip for .zip file archive. PackageType *string `locationName:"packageType" type:"string" enum:"PackageType"` // The runtime environment for the AWS Lambda function. // // Runtime is a required field Runtime *string `locationName:"runtime" type:"string" required:"true" enum:"Runtime"` // The version of the AWS Lambda function. // // Version is a required field Version *string `locationName:"version" type:"string" required:"true"` // The AWS Lambda function's networking configuration. VpcConfig *LambdaVpcConfig `locationName:"vpcConfig" type:"structure"` // contains filtered or unexported fields }
A summary of information about the AWS Lambda function.
func (AwsLambdaFunctionDetails) GoString ¶ added in v1.44.147
func (s AwsLambdaFunctionDetails) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AwsLambdaFunctionDetails) SetArchitectures ¶ added in v1.44.147
func (s *AwsLambdaFunctionDetails) SetArchitectures(v []*string) *AwsLambdaFunctionDetails
SetArchitectures sets the Architectures field's value.
func (*AwsLambdaFunctionDetails) SetCodeSha256 ¶ added in v1.44.147
func (s *AwsLambdaFunctionDetails) SetCodeSha256(v string) *AwsLambdaFunctionDetails
SetCodeSha256 sets the CodeSha256 field's value.
func (*AwsLambdaFunctionDetails) SetExecutionRoleArn ¶ added in v1.44.147
func (s *AwsLambdaFunctionDetails) SetExecutionRoleArn(v string) *AwsLambdaFunctionDetails
SetExecutionRoleArn sets the ExecutionRoleArn field's value.
func (*AwsLambdaFunctionDetails) SetFunctionName ¶ added in v1.44.147
func (s *AwsLambdaFunctionDetails) SetFunctionName(v string) *AwsLambdaFunctionDetails
SetFunctionName sets the FunctionName field's value.
func (*AwsLambdaFunctionDetails) SetLastModifiedAt ¶ added in v1.44.147
func (s *AwsLambdaFunctionDetails) SetLastModifiedAt(v time.Time) *AwsLambdaFunctionDetails
SetLastModifiedAt sets the LastModifiedAt field's value.
func (*AwsLambdaFunctionDetails) SetLayers ¶ added in v1.44.147
func (s *AwsLambdaFunctionDetails) SetLayers(v []*string) *AwsLambdaFunctionDetails
SetLayers sets the Layers field's value.
func (*AwsLambdaFunctionDetails) SetPackageType ¶ added in v1.44.147
func (s *AwsLambdaFunctionDetails) SetPackageType(v string) *AwsLambdaFunctionDetails
SetPackageType sets the PackageType field's value.
func (*AwsLambdaFunctionDetails) SetRuntime ¶ added in v1.44.147
func (s *AwsLambdaFunctionDetails) SetRuntime(v string) *AwsLambdaFunctionDetails
SetRuntime sets the Runtime field's value.
func (*AwsLambdaFunctionDetails) SetVersion ¶ added in v1.44.147
func (s *AwsLambdaFunctionDetails) SetVersion(v string) *AwsLambdaFunctionDetails
SetVersion sets the Version field's value.
func (*AwsLambdaFunctionDetails) SetVpcConfig ¶ added in v1.44.147
func (s *AwsLambdaFunctionDetails) SetVpcConfig(v *LambdaVpcConfig) *AwsLambdaFunctionDetails
SetVpcConfig sets the VpcConfig field's value.
func (AwsLambdaFunctionDetails) String ¶ added in v1.44.147
func (s AwsLambdaFunctionDetails) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BadRequestException ¶
type BadRequestException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
One or more tags submitted as part of the request is not valid.
func (*BadRequestException) Code ¶
func (s *BadRequestException) Code() string
Code returns the exception type name.
func (*BadRequestException) Error ¶
func (s *BadRequestException) Error() string
func (BadRequestException) GoString ¶
func (s BadRequestException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BadRequestException) Message ¶
func (s *BadRequestException) Message() string
Message returns the exception's message.
func (*BadRequestException) OrigErr ¶
func (s *BadRequestException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*BadRequestException) RequestID ¶
func (s *BadRequestException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*BadRequestException) StatusCode ¶
func (s *BadRequestException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (BadRequestException) String ¶
func (s BadRequestException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BatchGetAccountStatusInput ¶
type BatchGetAccountStatusInput struct { // The 12-digit Amazon Web Services account IDs of the accounts to retrieve // Amazon Inspector status for. AccountIds []*string `locationName:"accountIds" type:"list"` // contains filtered or unexported fields }
func (BatchGetAccountStatusInput) GoString ¶
func (s BatchGetAccountStatusInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BatchGetAccountStatusInput) SetAccountIds ¶
func (s *BatchGetAccountStatusInput) SetAccountIds(v []*string) *BatchGetAccountStatusInput
SetAccountIds sets the AccountIds field's value.
func (BatchGetAccountStatusInput) String ¶
func (s BatchGetAccountStatusInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ¶
func (s *BatchGetAccountStatusOutput) SetAccounts(v []*AccountState) *BatchGetAccountStatusOutput
SetAccounts sets the Accounts field's value.
func (*BatchGetAccountStatusOutput) SetFailedAccounts ¶
func (s *BatchGetAccountStatusOutput) SetFailedAccounts(v []*FailedAccount) *BatchGetAccountStatusOutput
SetFailedAccounts sets the FailedAccounts field's value.
func (BatchGetAccountStatusOutput) String ¶
func (s BatchGetAccountStatusOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ¶
func (s *BatchGetFreeTrialInfoInput) SetAccountIds(v []*string) *BatchGetFreeTrialInfoInput
SetAccountIds sets the AccountIds field's value.
func (BatchGetFreeTrialInfoInput) String ¶
func (s BatchGetFreeTrialInfoInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s *BatchGetFreeTrialInfoOutput) SetAccounts(v []*FreeTrialAccountInfo) *BatchGetFreeTrialInfoOutput
SetAccounts sets the Accounts field's value.
func (*BatchGetFreeTrialInfoOutput) SetFailedAccounts ¶
func (s *BatchGetFreeTrialInfoOutput) SetFailedAccounts(v []*FreeTrialInfoError) *BatchGetFreeTrialInfoOutput
SetFailedAccounts sets the FailedAccounts field's value.
func (BatchGetFreeTrialInfoOutput) String ¶
func (s BatchGetFreeTrialInfoOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BatchGetMemberEc2DeepInspectionStatusInput ¶ added in v1.44.256
type BatchGetMemberEc2DeepInspectionStatusInput struct { AccountIds []*string `locationName:"accountIds" type:"list"` // contains filtered or unexported fields }
func (BatchGetMemberEc2DeepInspectionStatusInput) GoString ¶ added in v1.44.256
func (s BatchGetMemberEc2DeepInspectionStatusInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BatchGetMemberEc2DeepInspectionStatusInput) SetAccountIds ¶ added in v1.44.256
func (s *BatchGetMemberEc2DeepInspectionStatusInput) SetAccountIds(v []*string) *BatchGetMemberEc2DeepInspectionStatusInput
SetAccountIds sets the AccountIds field's value.
func (BatchGetMemberEc2DeepInspectionStatusInput) String ¶ added in v1.44.256
func (s BatchGetMemberEc2DeepInspectionStatusInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BatchGetMemberEc2DeepInspectionStatusOutput ¶ added in v1.44.256
type BatchGetMemberEc2DeepInspectionStatusOutput struct { AccountIds []*MemberAccountEc2DeepInspectionStatusState `locationName:"accountIds" type:"list"` FailedAccountIds []*FailedMemberAccountEc2DeepInspectionStatusState `locationName:"failedAccountIds" type:"list"` // contains filtered or unexported fields }
func (BatchGetMemberEc2DeepInspectionStatusOutput) GoString ¶ added in v1.44.256
func (s BatchGetMemberEc2DeepInspectionStatusOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BatchGetMemberEc2DeepInspectionStatusOutput) SetAccountIds ¶ added in v1.44.256
func (s *BatchGetMemberEc2DeepInspectionStatusOutput) SetAccountIds(v []*MemberAccountEc2DeepInspectionStatusState) *BatchGetMemberEc2DeepInspectionStatusOutput
SetAccountIds sets the AccountIds field's value.
func (*BatchGetMemberEc2DeepInspectionStatusOutput) SetFailedAccountIds ¶ added in v1.44.256
func (s *BatchGetMemberEc2DeepInspectionStatusOutput) SetFailedAccountIds(v []*FailedMemberAccountEc2DeepInspectionStatusState) *BatchGetMemberEc2DeepInspectionStatusOutput
SetFailedAccountIds sets the FailedAccountIds field's value.
func (BatchGetMemberEc2DeepInspectionStatusOutput) String ¶ added in v1.44.256
func (s BatchGetMemberEc2DeepInspectionStatusOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BatchUpdateMemberEc2DeepInspectionStatusInput ¶ added in v1.44.256
type BatchUpdateMemberEc2DeepInspectionStatusInput struct { // The unique identifiers for the Amazon Web Services accounts to change Amazon // Inspector deep inspection status for. // // AccountIds is a required field AccountIds []*MemberAccountEc2DeepInspectionStatus `locationName:"accountIds" type:"list" required:"true"` // contains filtered or unexported fields }
func (BatchUpdateMemberEc2DeepInspectionStatusInput) GoString ¶ added in v1.44.256
func (s BatchUpdateMemberEc2DeepInspectionStatusInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BatchUpdateMemberEc2DeepInspectionStatusInput) SetAccountIds ¶ added in v1.44.256
func (s *BatchUpdateMemberEc2DeepInspectionStatusInput) SetAccountIds(v []*MemberAccountEc2DeepInspectionStatus) *BatchUpdateMemberEc2DeepInspectionStatusInput
SetAccountIds sets the AccountIds field's value.
func (BatchUpdateMemberEc2DeepInspectionStatusInput) String ¶ added in v1.44.256
func (s BatchUpdateMemberEc2DeepInspectionStatusInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BatchUpdateMemberEc2DeepInspectionStatusInput) Validate ¶ added in v1.44.256
func (s *BatchUpdateMemberEc2DeepInspectionStatusInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BatchUpdateMemberEc2DeepInspectionStatusOutput ¶ added in v1.44.256
type BatchUpdateMemberEc2DeepInspectionStatusOutput struct { // An array of objects that provide details for each of the accounts that Amazon // Inspector deep inspection status was successfully changed for. AccountIds []*MemberAccountEc2DeepInspectionStatusState `locationName:"accountIds" type:"list"` // An array of objects that provide details for each of the accounts that Amazon // Inspector deep inspection status could not be successfully changed for. FailedAccountIds []*FailedMemberAccountEc2DeepInspectionStatusState `locationName:"failedAccountIds" type:"list"` // contains filtered or unexported fields }
func (BatchUpdateMemberEc2DeepInspectionStatusOutput) GoString ¶ added in v1.44.256
func (s BatchUpdateMemberEc2DeepInspectionStatusOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BatchUpdateMemberEc2DeepInspectionStatusOutput) SetAccountIds ¶ added in v1.44.256
func (s *BatchUpdateMemberEc2DeepInspectionStatusOutput) SetAccountIds(v []*MemberAccountEc2DeepInspectionStatusState) *BatchUpdateMemberEc2DeepInspectionStatusOutput
SetAccountIds sets the AccountIds field's value.
func (*BatchUpdateMemberEc2DeepInspectionStatusOutput) SetFailedAccountIds ¶ added in v1.44.256
func (s *BatchUpdateMemberEc2DeepInspectionStatusOutput) SetFailedAccountIds(v []*FailedMemberAccountEc2DeepInspectionStatusState) *BatchUpdateMemberEc2DeepInspectionStatusOutput
SetFailedAccountIds sets the FailedAccountIds field's value.
func (BatchUpdateMemberEc2DeepInspectionStatusOutput) String ¶ added in v1.44.256
func (s BatchUpdateMemberEc2DeepInspectionStatusOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ¶
func (s *CancelFindingsReportInput) SetReportId(v string) *CancelFindingsReportInput
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 ¶
func (s *CancelFindingsReportOutput) SetReportId(v string) *CancelFindingsReportOutput
SetReportId sets the ReportId field's value.
func (CancelFindingsReportOutput) String ¶
func (s CancelFindingsReportOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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) SetGroupKey ¶
SetGroupKey sets the GroupKey field's value.
type CoverageFilterCriteria ¶
type CoverageFilterCriteria struct { // An array of Amazon Web Services account IDs to return coverage statistics // for. AccountId []*CoverageStringFilter `locationName:"accountId" min:"1" type:"list"` // The Amazon EC2 instance tags to filter on. Ec2InstanceTags []*CoverageMapFilter `locationName:"ec2InstanceTags" min:"1" type:"list"` // The Amazon ECR image tags to filter on. EcrImageTags []*CoverageStringFilter `locationName:"ecrImageTags" min:"1" type:"list"` // The Amazon ECR repository name to filter on. EcrRepositoryName []*CoverageStringFilter `locationName:"ecrRepositoryName" min:"1" type:"list"` // Returns coverage statistics for AWS Lambda functions filtered by function // names. LambdaFunctionName []*CoverageStringFilter `locationName:"lambdaFunctionName" min:"1" type:"list"` // Returns coverage statistics for AWS Lambda functions filtered by runtime. LambdaFunctionRuntime []*CoverageStringFilter `locationName:"lambdaFunctionRuntime" min:"1" type:"list"` // Returns coverage statistics for AWS Lambda functions filtered by tag. LambdaFunctionTags []*CoverageMapFilter `locationName:"lambdaFunctionTags" min:"1" type:"list"` // An array of Amazon Web Services resource IDs to return coverage statistics // for. ResourceId []*CoverageStringFilter `locationName:"resourceId" min:"1" type:"list"` // An array of Amazon Web Services resource types to return coverage statistics // for. The values can be AWS_EC2_INSTANCE or AWS_ECR_REPOSITORY. 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 ¶
func (s *CoverageFilterCriteria) SetAccountId(v []*CoverageStringFilter) *CoverageFilterCriteria
SetAccountId sets the AccountId field's value.
func (*CoverageFilterCriteria) SetEc2InstanceTags ¶
func (s *CoverageFilterCriteria) SetEc2InstanceTags(v []*CoverageMapFilter) *CoverageFilterCriteria
SetEc2InstanceTags sets the Ec2InstanceTags field's value.
func (*CoverageFilterCriteria) SetEcrImageTags ¶
func (s *CoverageFilterCriteria) SetEcrImageTags(v []*CoverageStringFilter) *CoverageFilterCriteria
SetEcrImageTags sets the EcrImageTags field's value.
func (*CoverageFilterCriteria) SetEcrRepositoryName ¶
func (s *CoverageFilterCriteria) SetEcrRepositoryName(v []*CoverageStringFilter) *CoverageFilterCriteria
SetEcrRepositoryName sets the EcrRepositoryName field's value.
func (*CoverageFilterCriteria) SetLambdaFunctionName ¶ added in v1.44.147
func (s *CoverageFilterCriteria) SetLambdaFunctionName(v []*CoverageStringFilter) *CoverageFilterCriteria
SetLambdaFunctionName sets the LambdaFunctionName field's value.
func (*CoverageFilterCriteria) SetLambdaFunctionRuntime ¶ added in v1.44.147
func (s *CoverageFilterCriteria) SetLambdaFunctionRuntime(v []*CoverageStringFilter) *CoverageFilterCriteria
SetLambdaFunctionRuntime sets the LambdaFunctionRuntime field's value.
func (*CoverageFilterCriteria) SetLambdaFunctionTags ¶ added in v1.44.147
func (s *CoverageFilterCriteria) SetLambdaFunctionTags(v []*CoverageMapFilter) *CoverageFilterCriteria
SetLambdaFunctionTags sets the LambdaFunctionTags field's value.
func (*CoverageFilterCriteria) SetResourceId ¶
func (s *CoverageFilterCriteria) SetResourceId(v []*CoverageStringFilter) *CoverageFilterCriteria
SetResourceId sets the ResourceId field's value.
func (*CoverageFilterCriteria) SetResourceType ¶
func (s *CoverageFilterCriteria) SetResourceType(v []*CoverageStringFilter) *CoverageFilterCriteria
SetResourceType sets the ResourceType field's value.
func (*CoverageFilterCriteria) SetScanStatusCode ¶
func (s *CoverageFilterCriteria) SetScanStatusCode(v []*CoverageStringFilter) *CoverageFilterCriteria
SetScanStatusCode sets the ScanStatusCode field's value.
func (*CoverageFilterCriteria) SetScanStatusReason ¶
func (s *CoverageFilterCriteria) SetScanStatusReason(v []*CoverageStringFilter) *CoverageFilterCriteria
SetScanStatusReason sets the ScanStatusReason field's value.
func (*CoverageFilterCriteria) SetScanType ¶
func (s *CoverageFilterCriteria) SetScanType(v []*CoverageStringFilter) *CoverageFilterCriteria
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 ¶
func (s *CoverageMapFilter) SetKey(v string) *CoverageMapFilter
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 ¶
func (s *CoverageStringFilter) SetValue(v string) *CoverageStringFilter
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"` // The reason for creating the filter. Reason *string `locationName:"reason" min:"1" type:"string"` // A list of tags for the filter. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (CreateFilterInput) GoString ¶
func (s CreateFilterInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateFilterInput) SetAction ¶
func (s *CreateFilterInput) SetAction(v string) *CreateFilterInput
SetAction sets the Action field's value.
func (*CreateFilterInput) SetDescription ¶
func (s *CreateFilterInput) SetDescription(v string) *CreateFilterInput
SetDescription sets the Description field's value.
func (*CreateFilterInput) SetFilterCriteria ¶
func (s *CreateFilterInput) SetFilterCriteria(v *FilterCriteria) *CreateFilterInput
SetFilterCriteria sets the FilterCriteria field's value.
func (*CreateFilterInput) SetName ¶
func (s *CreateFilterInput) SetName(v string) *CreateFilterInput
SetName sets the Name field's value.
func (*CreateFilterInput) SetReason ¶ added in v1.44.55
func (s *CreateFilterInput) SetReason(v string) *CreateFilterInput
SetReason sets the Reason field's value.
func (*CreateFilterInput) SetTags ¶
func (s *CreateFilterInput) SetTags(v map[string]*string) *CreateFilterInput
SetTags sets the Tags field's value.
func (CreateFilterInput) String ¶
func (s CreateFilterInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateFilterInput) Validate ¶
func (s *CreateFilterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateFilterOutput ¶
type CreateFilterOutput struct { // The Amazon Resource Number (ARN) of the successfully created filter. // // Arn is a required field Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateFilterOutput) GoString ¶
func (s CreateFilterOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateFilterOutput) SetArn ¶
func (s *CreateFilterOutput) SetArn(v string) *CreateFilterOutput
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 ¶
func (s *CreateFindingsReportInput) SetFilterCriteria(v *FilterCriteria) *CreateFindingsReportInput
SetFilterCriteria sets the FilterCriteria field's value.
func (*CreateFindingsReportInput) SetReportFormat ¶
func (s *CreateFindingsReportInput) SetReportFormat(v string) *CreateFindingsReportInput
SetReportFormat sets the ReportFormat field's value.
func (*CreateFindingsReportInput) SetS3Destination ¶
func (s *CreateFindingsReportInput) SetS3Destination(v *Destination) *CreateFindingsReportInput
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 ¶
func (s *CreateFindingsReportOutput) SetReportId(v string) *CreateFindingsReportOutput
SetReportId sets the ReportId field's value.
func (CreateFindingsReportOutput) String ¶
func (s CreateFindingsReportOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
SetBaseScore sets the BaseScore field's value.
func (*CvssScore) SetScoringVector ¶
SetScoringVector sets the ScoringVector field's value.
func (*CvssScore) SetVersion ¶
SetVersion sets the Version field's value.
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 ¶
func (s *CvssScoreAdjustment) SetMetric(v string) *CvssScoreAdjustment
SetMetric sets the Metric field's value.
func (*CvssScoreAdjustment) SetReason ¶
func (s *CvssScoreAdjustment) SetReason(v string) *CvssScoreAdjustment
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 ¶
func (s *DelegatedAdminAccount) SetAccountId(v string) *DelegatedAdminAccount
SetAccountId sets the AccountId field's value.
func (*DelegatedAdminAccount) SetStatus ¶
func (s *DelegatedAdminAccount) SetStatus(v string) *DelegatedAdminAccount
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 ¶
func (s *DeleteFilterInput) SetArn(v string) *DeleteFilterInput
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 ¶
func (s *DeleteFilterOutput) SetArn(v string) *DeleteFilterOutput
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 ¶
func (s DescribeOrganizationConfigurationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s DescribeOrganizationConfigurationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ¶
func (s DescribeOrganizationConfigurationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s *DescribeOrganizationConfigurationOutput) SetAutoEnable(v *AutoEnable) *DescribeOrganizationConfigurationOutput
SetAutoEnable sets the AutoEnable field's value.
func (*DescribeOrganizationConfigurationOutput) SetMaxAccountLimitReached ¶
func (s *DescribeOrganizationConfigurationOutput) SetMaxAccountLimitReached(v bool) *DescribeOrganizationConfigurationOutput
SetMaxAccountLimitReached sets the MaxAccountLimitReached field's value.
func (DescribeOrganizationConfigurationOutput) String ¶
func (s DescribeOrganizationConfigurationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 Amazon S3 bucket 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 ¶
func (s DisableDelegatedAdminAccountInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s *DisableDelegatedAdminAccountInput) SetDelegatedAdminAccountId(v string) *DisableDelegatedAdminAccountInput
SetDelegatedAdminAccountId sets the DelegatedAdminAccountId field's value.
func (DisableDelegatedAdminAccountInput) String ¶
func (s DisableDelegatedAdminAccountInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s *DisableDelegatedAdminAccountInput) Validate() error
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 ¶
func (s DisableDelegatedAdminAccountOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s *DisableDelegatedAdminAccountOutput) SetDelegatedAdminAccountId(v string) *DisableDelegatedAdminAccountOutput
SetDelegatedAdminAccountId sets the DelegatedAdminAccountId field's value.
func (DisableDelegatedAdminAccountOutput) String ¶
func (s DisableDelegatedAdminAccountOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ¶
func (s *DisassociateMemberInput) SetAccountId(v string) *DisassociateMemberInput
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 ¶
func (s *DisassociateMemberOutput) SetAccountId(v string) *DisassociateMemberOutput
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 ¶
func (s *Ec2InstanceAggregation) SetAmis(v []*StringFilter) *Ec2InstanceAggregation
SetAmis sets the Amis field's value.
func (*Ec2InstanceAggregation) SetInstanceIds ¶
func (s *Ec2InstanceAggregation) SetInstanceIds(v []*StringFilter) *Ec2InstanceAggregation
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 ¶
func (s *Ec2InstanceAggregation) SetSortBy(v string) *Ec2InstanceAggregation
SetSortBy sets the SortBy field's value.
func (*Ec2InstanceAggregation) SetSortOrder ¶
func (s *Ec2InstanceAggregation) SetSortOrder(v string) *Ec2InstanceAggregation
SetSortOrder sets the SortOrder field's value.
func (Ec2InstanceAggregation) String ¶
func (s Ec2InstanceAggregation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Ec2InstanceAggregation) Validate ¶
func (s *Ec2InstanceAggregation) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Ec2InstanceAggregationResponse ¶
type Ec2InstanceAggregationResponse struct { // The Amazon Web Services account for the Amazon EC2 instance. AccountId *string `locationName:"accountId" type:"string"` // The Amazon Machine Image (AMI) of the Amazon EC2 instance. Ami *string `locationName:"ami" type:"string"` // The Amazon EC2 instance ID. // // InstanceId is a required field InstanceId *string `locationName:"instanceId" min:"1" type:"string" required:"true"` // The tags attached to the instance. InstanceTags map[string]*string `locationName:"instanceTags" type:"map"` // The number of network findings for the Amazon EC2 instance. NetworkFindings *int64 `locationName:"networkFindings" type:"long"` // The operating system of the Amazon EC2 instance. OperatingSystem *string `locationName:"operatingSystem" type:"string"` // An object that contains the count of matched findings per severity. SeverityCounts *SeverityCounts `locationName:"severityCounts" type:"structure"` // contains filtered or unexported fields }
A response that contains the results of a finding aggregation by Amazon EC2 instance.
func (Ec2InstanceAggregationResponse) GoString ¶
func (s Ec2InstanceAggregationResponse) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s *Ec2InstanceAggregationResponse) SetAccountId(v string) *Ec2InstanceAggregationResponse
SetAccountId sets the AccountId field's value.
func (*Ec2InstanceAggregationResponse) SetAmi ¶
func (s *Ec2InstanceAggregationResponse) SetAmi(v string) *Ec2InstanceAggregationResponse
SetAmi sets the Ami field's value.
func (*Ec2InstanceAggregationResponse) SetInstanceId ¶
func (s *Ec2InstanceAggregationResponse) SetInstanceId(v string) *Ec2InstanceAggregationResponse
SetInstanceId sets the InstanceId field's value.
func (*Ec2InstanceAggregationResponse) SetInstanceTags ¶
func (s *Ec2InstanceAggregationResponse) SetInstanceTags(v map[string]*string) *Ec2InstanceAggregationResponse
SetInstanceTags sets the InstanceTags field's value.
func (*Ec2InstanceAggregationResponse) SetNetworkFindings ¶
func (s *Ec2InstanceAggregationResponse) SetNetworkFindings(v int64) *Ec2InstanceAggregationResponse
SetNetworkFindings sets the NetworkFindings field's value.
func (*Ec2InstanceAggregationResponse) SetOperatingSystem ¶
func (s *Ec2InstanceAggregationResponse) SetOperatingSystem(v string) *Ec2InstanceAggregationResponse
SetOperatingSystem sets the OperatingSystem field's value.
func (*Ec2InstanceAggregationResponse) SetSeverityCounts ¶
func (s *Ec2InstanceAggregationResponse) SetSeverityCounts(v *SeverityCounts) *Ec2InstanceAggregationResponse
SetSeverityCounts sets the SeverityCounts field's value.
func (Ec2InstanceAggregationResponse) String ¶
func (s Ec2InstanceAggregationResponse) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Ec2Metadata ¶
type Ec2Metadata struct { // The ID of the Amazon Machine Image (AMI) used to launch the instance. AmiId *string `locationName:"amiId" type:"string"` // The platform of the instance. Platform *string `locationName:"platform" type:"string" enum:"Ec2Platform"` // The tags attached to the instance. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Meta data details of an Amazon EC2 instance.
func (Ec2Metadata) GoString ¶
func (s Ec2Metadata) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Ec2Metadata) SetAmiId ¶
func (s *Ec2Metadata) SetAmiId(v string) *Ec2Metadata
SetAmiId sets the AmiId field's value.
func (*Ec2Metadata) SetPlatform ¶
func (s *Ec2Metadata) SetPlatform(v string) *Ec2Metadata
SetPlatform sets the Platform field's value.
func (*Ec2Metadata) SetTags ¶
func (s *Ec2Metadata) SetTags(v map[string]*string) *Ec2Metadata
SetTags sets the Tags field's value.
func (Ec2Metadata) String ¶
func (s Ec2Metadata) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EcrConfiguration ¶ added in v1.44.55
type EcrConfiguration struct { // The ECR automated re-scan duration defines how long an ECR image will be // actively scanned by Amazon Inspector. When the number of days since an image // was last pushed exceeds the automated re-scan duration the monitoring state // of that image becomes inactive and all associated findings are scheduled // for closure. // // RescanDuration is a required field RescanDuration *string `locationName:"rescanDuration" type:"string" required:"true" enum:"EcrRescanDuration"` // contains filtered or unexported fields }
Details about the ECR automated re-scan duration setting for your environment.
func (EcrConfiguration) GoString ¶ added in v1.44.55
func (s EcrConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EcrConfiguration) SetRescanDuration ¶ added in v1.44.55
func (s *EcrConfiguration) SetRescanDuration(v string) *EcrConfiguration
SetRescanDuration sets the RescanDuration field's value.
func (EcrConfiguration) String ¶ added in v1.44.55
func (s EcrConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EcrConfiguration) Validate ¶ added in v1.44.55
func (s *EcrConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EcrConfigurationState ¶ added in v1.44.55
type EcrConfigurationState struct { // An object that contains details about the state of the ECR automated re-scan // setting. RescanDurationState *EcrRescanDurationState `locationName:"rescanDurationState" type:"structure"` // contains filtered or unexported fields }
Details about the state of the ECR scans for your environment.
func (EcrConfigurationState) GoString ¶ added in v1.44.55
func (s EcrConfigurationState) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EcrConfigurationState) SetRescanDurationState ¶ added in v1.44.55
func (s *EcrConfigurationState) SetRescanDurationState(v *EcrRescanDurationState) *EcrConfigurationState
SetRescanDurationState sets the RescanDurationState field's value.
func (EcrConfigurationState) String ¶ added in v1.44.55
func (s EcrConfigurationState) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EcrContainerImageMetadata ¶
type EcrContainerImageMetadata struct { // Tags associated with the Amazon ECR image metadata. Tags []*string `locationName:"tags" type:"list"` // contains filtered or unexported fields }
Information on the Amazon ECR image metadata associated with a finding.
func (EcrContainerImageMetadata) GoString ¶
func (s EcrContainerImageMetadata) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EcrContainerImageMetadata) SetTags ¶
func (s *EcrContainerImageMetadata) SetTags(v []*string) *EcrContainerImageMetadata
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 ¶
func (s *EcrRepositoryMetadata) SetName(v string) *EcrRepositoryMetadata
SetName sets the Name field's value.
func (*EcrRepositoryMetadata) SetScanFrequency ¶
func (s *EcrRepositoryMetadata) SetScanFrequency(v string) *EcrRepositoryMetadata
SetScanFrequency sets the ScanFrequency field's value.
func (EcrRepositoryMetadata) String ¶
func (s EcrRepositoryMetadata) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EcrRescanDurationState ¶ added in v1.44.55
type EcrRescanDurationState struct { // The ECR automated re-scan duration defines how long an ECR image will be // actively scanned by Amazon Inspector. When the number of days since an image // was last pushed exceeds the automated re-scan duration the monitoring state // of that image becomes inactive and all associated findings are scheduled // for closure. RescanDuration *string `locationName:"rescanDuration" type:"string" enum:"EcrRescanDuration"` // The status of changes to the ECR automated re-scan duration. Status *string `locationName:"status" type:"string" enum:"EcrRescanDurationStatus"` // A timestamp representing when the last time the ECR scan duration setting // was changed. UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp"` // contains filtered or unexported fields }
Details about the state of any changes to the ECR automated re-scan duration setting.
func (EcrRescanDurationState) GoString ¶ added in v1.44.55
func (s EcrRescanDurationState) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EcrRescanDurationState) SetRescanDuration ¶ added in v1.44.55
func (s *EcrRescanDurationState) SetRescanDuration(v string) *EcrRescanDurationState
SetRescanDuration sets the RescanDuration field's value.
func (*EcrRescanDurationState) SetStatus ¶ added in v1.44.55
func (s *EcrRescanDurationState) SetStatus(v string) *EcrRescanDurationState
SetStatus sets the Status field's value.
func (*EcrRescanDurationState) SetUpdatedAt ¶ added in v1.44.55
func (s *EcrRescanDurationState) SetUpdatedAt(v time.Time) *EcrRescanDurationState
SetUpdatedAt sets the UpdatedAt field's value.
func (EcrRescanDurationState) String ¶ added in v1.44.55
func (s EcrRescanDurationState) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EnableDelegatedAdminAccountInput ¶
type EnableDelegatedAdminAccountInput struct { // The idempotency token for the request. ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // The Amazon Web Services account ID of the Amazon Inspector delegated administrator. // // DelegatedAdminAccountId is a required field DelegatedAdminAccountId *string `locationName:"delegatedAdminAccountId" min:"12" type:"string" required:"true"` // contains filtered or unexported fields }
func (EnableDelegatedAdminAccountInput) GoString ¶
func (s EnableDelegatedAdminAccountInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s *EnableDelegatedAdminAccountInput) SetClientToken(v string) *EnableDelegatedAdminAccountInput
SetClientToken sets the ClientToken field's value.
func (*EnableDelegatedAdminAccountInput) SetDelegatedAdminAccountId ¶
func (s *EnableDelegatedAdminAccountInput) SetDelegatedAdminAccountId(v string) *EnableDelegatedAdminAccountInput
SetDelegatedAdminAccountId sets the DelegatedAdminAccountId field's value.
func (EnableDelegatedAdminAccountInput) String ¶
func (s EnableDelegatedAdminAccountInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s *EnableDelegatedAdminAccountInput) Validate() error
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 ¶
func (s EnableDelegatedAdminAccountOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s *EnableDelegatedAdminAccountOutput) SetDelegatedAdminAccountId(v string) *EnableDelegatedAdminAccountOutput
SetDelegatedAdminAccountId sets the DelegatedAdminAccountId field's value.
func (EnableDelegatedAdminAccountOutput) String ¶
func (s EnableDelegatedAdminAccountOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ExploitabilityDetails ¶ added in v1.44.147
type ExploitabilityDetails struct { // The date and time of the last exploit associated with a finding discovered // in your environment. LastKnownExploitAt *time.Time `locationName:"lastKnownExploitAt" type:"timestamp"` // contains filtered or unexported fields }
The details of an exploit available for a finding discovered in your environment.
func (ExploitabilityDetails) GoString ¶ added in v1.44.147
func (s ExploitabilityDetails) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExploitabilityDetails) SetLastKnownExploitAt ¶ added in v1.44.147
func (s *ExploitabilityDetails) SetLastKnownExploitAt(v time.Time) *ExploitabilityDetails
SetLastKnownExploitAt sets the LastKnownExploitAt field's value.
func (ExploitabilityDetails) String ¶ added in v1.44.147
func (s ExploitabilityDetails) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FailedAccount ¶
type FailedAccount struct { // The Amazon Web Services account ID. // // AccountId is a required field AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"` // The error code explaining why the account failed to enable Amazon Inspector. // // ErrorCode is a required field ErrorCode *string `locationName:"errorCode" type:"string" required:"true" enum:"ErrorCode"` // The error message received when the account failed to enable Amazon Inspector. // // ErrorMessage is a required field ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string" required:"true"` // An object detailing which resources Amazon Inspector is enabled to scan for // the account. ResourceStatus *ResourceStatus `locationName:"resourceStatus" type:"structure"` // The status of Amazon Inspector for the account. Status *string `locationName:"status" type:"string" enum:"Status"` // contains filtered or unexported fields }
An object with details on why an account failed to enable Amazon Inspector.
func (FailedAccount) GoString ¶
func (s FailedAccount) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*FailedAccount) SetAccountId ¶
func (s *FailedAccount) SetAccountId(v string) *FailedAccount
SetAccountId sets the AccountId field's value.
func (*FailedAccount) SetErrorCode ¶
func (s *FailedAccount) SetErrorCode(v string) *FailedAccount
SetErrorCode sets the ErrorCode field's value.
func (*FailedAccount) SetErrorMessage ¶
func (s *FailedAccount) SetErrorMessage(v string) *FailedAccount
SetErrorMessage sets the ErrorMessage field's value.
func (*FailedAccount) SetResourceStatus ¶
func (s *FailedAccount) SetResourceStatus(v *ResourceStatus) *FailedAccount
SetResourceStatus sets the ResourceStatus field's value.
func (*FailedAccount) SetStatus ¶
func (s *FailedAccount) SetStatus(v string) *FailedAccount
SetStatus sets the Status field's value.
func (FailedAccount) String ¶
func (s FailedAccount) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FailedMemberAccountEc2DeepInspectionStatusState ¶ added in v1.44.256
type FailedMemberAccountEc2DeepInspectionStatusState struct { // The unique identifier for the Amazon Web Services account of the organization // member that failed to activate Amazon Inspector deep inspection. // // AccountId is a required field AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"` // The status of EC2 scanning in the account that failed to activate Amazon // Inspector deep inspection. Ec2ScanStatus *string `locationName:"ec2ScanStatus" type:"string" enum:"Status"` // The error message explaining why the account failed to activate Amazon Inspector // deep inspection. ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string"` // contains filtered or unexported fields }
An object that contains details about a member account in your organization that failed to activate Amazon Inspector deep inspection.
func (FailedMemberAccountEc2DeepInspectionStatusState) GoString ¶ added in v1.44.256
func (s FailedMemberAccountEc2DeepInspectionStatusState) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*FailedMemberAccountEc2DeepInspectionStatusState) SetAccountId ¶ added in v1.44.256
func (s *FailedMemberAccountEc2DeepInspectionStatusState) SetAccountId(v string) *FailedMemberAccountEc2DeepInspectionStatusState
SetAccountId sets the AccountId field's value.
func (*FailedMemberAccountEc2DeepInspectionStatusState) SetEc2ScanStatus ¶ added in v1.44.256
func (s *FailedMemberAccountEc2DeepInspectionStatusState) SetEc2ScanStatus(v string) *FailedMemberAccountEc2DeepInspectionStatusState
SetEc2ScanStatus sets the Ec2ScanStatus field's value.
func (*FailedMemberAccountEc2DeepInspectionStatusState) SetErrorMessage ¶ added in v1.44.256
func (s *FailedMemberAccountEc2DeepInspectionStatusState) SetErrorMessage(v string) *FailedMemberAccountEc2DeepInspectionStatusState
SetErrorMessage sets the ErrorMessage field's value.
func (FailedMemberAccountEc2DeepInspectionStatusState) String ¶ added in v1.44.256
func (s FailedMemberAccountEc2DeepInspectionStatusState) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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) SetCreatedAt ¶
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 ¶
SetDescription sets the Description field's value.
func (*Filter) SetOwnerId ¶
SetOwnerId sets the OwnerId field's value.
func (*Filter) SetUpdatedAt ¶
SetUpdatedAt sets the UpdatedAt field's value.
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"` // Filters the list of AWS Lambda findings by the availability of exploits. ExploitAvailable []*StringFilter `locationName:"exploitAvailable" min:"1" type:"list"` // Details on the finding ARNs used to filter findings. FindingArn []*StringFilter `locationName:"findingArn" min:"1" type:"list"` // Details on the finding status types used to filter findings. FindingStatus []*StringFilter `locationName:"findingStatus" min:"1" type:"list"` // Details on the finding types used to filter findings. FindingType []*StringFilter `locationName:"findingType" min:"1" type:"list"` // Details on the date and time a finding was first seen used to filter findings. FirstObservedAt []*DateFilter `locationName:"firstObservedAt" min:"1" type:"list"` // Details on whether a fix is available through a version update. This value // can be YES, NO, or PARTIAL. A PARTIAL fix means that some, but not all, of // the packages identified in the finding have fixes available through updated // versions. FixAvailable []*StringFilter `locationName:"fixAvailable" min:"1" type:"list"` // The Amazon Inspector score to filter on. InspectorScore []*NumberFilter `locationName:"inspectorScore" min:"1" type:"list"` // Filters the list of AWS Lambda functions by execution role. LambdaFunctionExecutionRoleArn []*StringFilter `locationName:"lambdaFunctionExecutionRoleArn" min:"1" type:"list"` // Filters the list of AWS Lambda functions by the date and time that a user // last updated the configuration, in ISO 8601 format (https://www.iso.org/iso-8601-date-and-time-format.html) LambdaFunctionLastModifiedAt []*DateFilter `locationName:"lambdaFunctionLastModifiedAt" min:"1" type:"list"` // Filters the list of AWS Lambda functions by the function's layers (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). // A Lambda function can have up to five layers. LambdaFunctionLayers []*StringFilter `locationName:"lambdaFunctionLayers" min:"1" type:"list"` // Filters the list of AWS Lambda functions by the name of the function. LambdaFunctionName []*StringFilter `locationName:"lambdaFunctionName" min:"1" type:"list"` // Filters the list of AWS Lambda functions by the runtime environment for the // Lambda function. LambdaFunctionRuntime []*StringFilter `locationName:"lambdaFunctionRuntime" min:"1" type:"list"` // Details on the date and time a finding was last seen used to filter findings. LastObservedAt []*DateFilter `locationName:"lastObservedAt" min:"1" type:"list"` // Details on 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) SetExploitAvailable ¶ added in v1.44.147
func (s *FilterCriteria) SetExploitAvailable(v []*StringFilter) *FilterCriteria
SetExploitAvailable sets the ExploitAvailable field's value.
func (*FilterCriteria) SetFindingArn ¶
func (s *FilterCriteria) SetFindingArn(v []*StringFilter) *FilterCriteria
SetFindingArn sets the FindingArn field's value.
func (*FilterCriteria) SetFindingStatus ¶
func (s *FilterCriteria) SetFindingStatus(v []*StringFilter) *FilterCriteria
SetFindingStatus sets the FindingStatus field's value.
func (*FilterCriteria) SetFindingType ¶
func (s *FilterCriteria) SetFindingType(v []*StringFilter) *FilterCriteria
SetFindingType sets the FindingType field's value.
func (*FilterCriteria) SetFirstObservedAt ¶
func (s *FilterCriteria) SetFirstObservedAt(v []*DateFilter) *FilterCriteria
SetFirstObservedAt sets the FirstObservedAt field's value.
func (*FilterCriteria) SetFixAvailable ¶ added in v1.44.93
func (s *FilterCriteria) SetFixAvailable(v []*StringFilter) *FilterCriteria
SetFixAvailable sets the FixAvailable field's value.
func (*FilterCriteria) SetInspectorScore ¶
func (s *FilterCriteria) SetInspectorScore(v []*NumberFilter) *FilterCriteria
SetInspectorScore sets the InspectorScore field's value.
func (*FilterCriteria) SetLambdaFunctionExecutionRoleArn ¶ added in v1.44.147
func (s *FilterCriteria) SetLambdaFunctionExecutionRoleArn(v []*StringFilter) *FilterCriteria
SetLambdaFunctionExecutionRoleArn sets the LambdaFunctionExecutionRoleArn field's value.
func (*FilterCriteria) SetLambdaFunctionLastModifiedAt ¶ added in v1.44.147
func (s *FilterCriteria) SetLambdaFunctionLastModifiedAt(v []*DateFilter) *FilterCriteria
SetLambdaFunctionLastModifiedAt sets the LambdaFunctionLastModifiedAt field's value.
func (*FilterCriteria) SetLambdaFunctionLayers ¶ added in v1.44.147
func (s *FilterCriteria) SetLambdaFunctionLayers(v []*StringFilter) *FilterCriteria
SetLambdaFunctionLayers sets the LambdaFunctionLayers field's value.
func (*FilterCriteria) SetLambdaFunctionName ¶ added in v1.44.147
func (s *FilterCriteria) SetLambdaFunctionName(v []*StringFilter) *FilterCriteria
SetLambdaFunctionName sets the LambdaFunctionName field's value.
func (*FilterCriteria) SetLambdaFunctionRuntime ¶ added in v1.44.147
func (s *FilterCriteria) SetLambdaFunctionRuntime(v []*StringFilter) *FilterCriteria
SetLambdaFunctionRuntime sets the LambdaFunctionRuntime field's value.
func (*FilterCriteria) SetLastObservedAt ¶
func (s *FilterCriteria) SetLastObservedAt(v []*DateFilter) *FilterCriteria
SetLastObservedAt sets the LastObservedAt field's value.
func (*FilterCriteria) SetNetworkProtocol ¶
func (s *FilterCriteria) SetNetworkProtocol(v []*StringFilter) *FilterCriteria
SetNetworkProtocol sets the NetworkProtocol field's value.
func (*FilterCriteria) SetPortRange ¶
func (s *FilterCriteria) SetPortRange(v []*PortRangeFilter) *FilterCriteria
SetPortRange sets the PortRange field's value.
func (*FilterCriteria) SetRelatedVulnerabilities ¶
func (s *FilterCriteria) SetRelatedVulnerabilities(v []*StringFilter) *FilterCriteria
SetRelatedVulnerabilities sets the RelatedVulnerabilities field's value.
func (*FilterCriteria) SetResourceId ¶
func (s *FilterCriteria) SetResourceId(v []*StringFilter) *FilterCriteria
SetResourceId sets the ResourceId field's value.
func (*FilterCriteria) SetResourceTags ¶
func (s *FilterCriteria) SetResourceTags(v []*MapFilter) *FilterCriteria
SetResourceTags sets the ResourceTags field's value.
func (*FilterCriteria) SetResourceType ¶
func (s *FilterCriteria) SetResourceType(v []*StringFilter) *FilterCriteria
SetResourceType sets the ResourceType field's value.
func (*FilterCriteria) SetSeverity ¶
func (s *FilterCriteria) SetSeverity(v []*StringFilter) *FilterCriteria
SetSeverity sets the Severity field's value.
func (*FilterCriteria) SetTitle ¶
func (s *FilterCriteria) SetTitle(v []*StringFilter) *FilterCriteria
SetTitle sets the Title field's value.
func (*FilterCriteria) SetUpdatedAt ¶
func (s *FilterCriteria) SetUpdatedAt(v []*DateFilter) *FilterCriteria
SetUpdatedAt sets the UpdatedAt field's value.
func (*FilterCriteria) SetVendorSeverity ¶
func (s *FilterCriteria) SetVendorSeverity(v []*StringFilter) *FilterCriteria
SetVendorSeverity sets the VendorSeverity field's value.
func (*FilterCriteria) SetVulnerabilityId ¶
func (s *FilterCriteria) SetVulnerabilityId(v []*StringFilter) *FilterCriteria
SetVulnerabilityId sets the VulnerabilityId field's value.
func (*FilterCriteria) SetVulnerabilitySource ¶
func (s *FilterCriteria) SetVulnerabilitySource(v []*StringFilter) *FilterCriteria
SetVulnerabilitySource sets the VulnerabilitySource field's value.
func (*FilterCriteria) SetVulnerablePackages ¶
func (s *FilterCriteria) SetVulnerablePackages(v []*PackageFilter) *FilterCriteria
SetVulnerablePackages sets the VulnerablePackages field's value.
func (FilterCriteria) String ¶
func (s FilterCriteria) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*FilterCriteria) Validate ¶
func (s *FilterCriteria) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Finding ¶
type Finding struct { // The Amazon Web Services account ID associated with the finding. // // AwsAccountId is a required field AwsAccountId *string `locationName:"awsAccountId" min:"12" type:"string" required:"true"` // The description of the finding. // // Description is a required field Description *string `locationName:"description" min:"1" type:"string" required:"true"` // If a finding discovered in your environment has an exploit available. ExploitAvailable *string `locationName:"exploitAvailable" type:"string" enum:"ExploitAvailable"` // The details of an exploit available for a finding discovered in your environment. ExploitabilityDetails *ExploitabilityDetails `locationName:"exploitabilityDetails" type:"structure"` // The Amazon Resource Number (ARN) of the finding. // // FindingArn is a required field FindingArn *string `locationName:"findingArn" min:"1" type:"string" required:"true"` // The date and time that the finding was first observed. // // FirstObservedAt is a required field FirstObservedAt *time.Time `locationName:"firstObservedAt" type:"timestamp" required:"true"` // Details on whether a fix is available through a version update. This value // can be YES, NO, or PARTIAL. A PARTIAL fix means that some, but not all, of // the packages identified in the finding have fixes available through updated // versions. FixAvailable *string `locationName:"fixAvailable" type:"string" enum:"FixAvailable"` // The Amazon Inspector score given to the finding. InspectorScore *float64 `locationName:"inspectorScore" type:"double"` // An object that contains details of the Amazon Inspector score. InspectorScoreDetails *InspectorScoreDetails `locationName:"inspectorScoreDetails" type:"structure"` // The date and time that the finding was last observed. // // LastObservedAt is a required field LastObservedAt *time.Time `locationName:"lastObservedAt" type:"timestamp" required:"true"` // An object that contains the details of a network reachability finding. NetworkReachabilityDetails *NetworkReachabilityDetails `locationName:"networkReachabilityDetails" type:"structure"` // An object that contains the details of a package vulnerability finding. PackageVulnerabilityDetails *PackageVulnerabilityDetails `locationName:"packageVulnerabilityDetails" type:"structure"` // An object that contains the details about how to remediate a finding. // // Remediation is a required field Remediation *Remediation `locationName:"remediation" type:"structure" required:"true"` // Contains information on the resources involved in a finding. // // 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 ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
SetAwsAccountId sets the AwsAccountId field's value.
func (*Finding) SetDescription ¶
SetDescription sets the Description field's value.
func (*Finding) SetExploitAvailable ¶ added in v1.44.147
SetExploitAvailable sets the ExploitAvailable field's value.
func (*Finding) SetExploitabilityDetails ¶ added in v1.44.147
func (s *Finding) SetExploitabilityDetails(v *ExploitabilityDetails) *Finding
SetExploitabilityDetails sets the ExploitabilityDetails field's value.
func (*Finding) SetFindingArn ¶
SetFindingArn sets the FindingArn field's value.
func (*Finding) SetFirstObservedAt ¶
SetFirstObservedAt sets the FirstObservedAt field's value.
func (*Finding) SetFixAvailable ¶ added in v1.44.93
SetFixAvailable sets the FixAvailable field's value.
func (*Finding) SetInspectorScore ¶
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 ¶
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 ¶
SetResources sets the Resources field's value.
func (*Finding) SetSeverity ¶
SetSeverity sets the Severity field's value.
func (*Finding) SetUpdatedAt ¶
SetUpdatedAt sets the UpdatedAt field's value.
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 ¶
func (s *FindingTypeAggregation) SetFindingType(v string) *FindingTypeAggregation
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 ¶
func (s *FindingTypeAggregation) SetSortBy(v string) *FindingTypeAggregation
SetSortBy sets the SortBy field's value.
func (*FindingTypeAggregation) SetSortOrder ¶
func (s *FindingTypeAggregation) SetSortOrder(v string) *FindingTypeAggregation
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 ¶
func (s FindingTypeAggregationResponse) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s *FindingTypeAggregationResponse) SetAccountId(v string) *FindingTypeAggregationResponse
SetAccountId sets the AccountId field's value.
func (*FindingTypeAggregationResponse) SetSeverityCounts ¶
func (s *FindingTypeAggregationResponse) SetSeverityCounts(v *SeverityCounts) *FindingTypeAggregationResponse
SetSeverityCounts sets the SeverityCounts field's value.
func (FindingTypeAggregationResponse) String ¶
func (s FindingTypeAggregationResponse) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ¶
func (s *FreeTrialInfoError) SetCode(v string) *FreeTrialInfoError
SetCode sets the Code field's value.
func (*FreeTrialInfoError) SetMessage ¶
func (s *FreeTrialInfoError) SetMessage(v string) *FreeTrialInfoError
SetMessage sets the Message field's value.
func (FreeTrialInfoError) String ¶
func (s FreeTrialInfoError) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetConfigurationInput ¶ added in v1.44.55
type GetConfigurationInput struct {
// contains filtered or unexported fields
}
func (GetConfigurationInput) GoString ¶ added in v1.44.55
func (s GetConfigurationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (GetConfigurationInput) String ¶ added in v1.44.55
func (s GetConfigurationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetConfigurationOutput ¶ added in v1.44.55
type GetConfigurationOutput struct { // Specifies how the ECR automated re-scan duration is currently configured // for your environment. EcrConfiguration *EcrConfigurationState `locationName:"ecrConfiguration" type:"structure"` // contains filtered or unexported fields }
func (GetConfigurationOutput) GoString ¶ added in v1.44.55
func (s GetConfigurationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetConfigurationOutput) SetEcrConfiguration ¶ added in v1.44.55
func (s *GetConfigurationOutput) SetEcrConfiguration(v *EcrConfigurationState) *GetConfigurationOutput
SetEcrConfiguration sets the EcrConfiguration field's value.
func (GetConfigurationOutput) String ¶ added in v1.44.55
func (s GetConfigurationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetDelegatedAdminAccountInput ¶
type GetDelegatedAdminAccountInput struct {
// contains filtered or unexported fields
}
func (GetDelegatedAdminAccountInput) GoString ¶
func (s GetDelegatedAdminAccountInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s GetDelegatedAdminAccountInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ¶
func (s GetDelegatedAdminAccountOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s *GetDelegatedAdminAccountOutput) SetDelegatedAdmin(v *DelegatedAdmin) *GetDelegatedAdminAccountOutput
SetDelegatedAdmin sets the DelegatedAdmin field's value.
func (GetDelegatedAdminAccountOutput) String ¶
func (s GetDelegatedAdminAccountOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetEc2DeepInspectionConfigurationInput ¶ added in v1.44.256
type GetEc2DeepInspectionConfigurationInput struct {
// contains filtered or unexported fields
}
func (GetEc2DeepInspectionConfigurationInput) GoString ¶ added in v1.44.256
func (s GetEc2DeepInspectionConfigurationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (GetEc2DeepInspectionConfigurationInput) String ¶ added in v1.44.256
func (s GetEc2DeepInspectionConfigurationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetEc2DeepInspectionConfigurationOutput ¶ added in v1.44.256
type GetEc2DeepInspectionConfigurationOutput struct { // An error message explaining why Amazon Inspector deep inspection configurations // could not be retrieved for your account. ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string"` // The Amazon Inspector deep inspection custom paths for your organization. OrgPackagePaths []*string `locationName:"orgPackagePaths" type:"list"` // The Amazon Inspector deep inspection custom paths for your account. PackagePaths []*string `locationName:"packagePaths" type:"list"` // The activation status of Amazon Inspector deep inspection in your account. Status *string `locationName:"status" type:"string" enum:"Ec2DeepInspectionStatus"` // contains filtered or unexported fields }
func (GetEc2DeepInspectionConfigurationOutput) GoString ¶ added in v1.44.256
func (s GetEc2DeepInspectionConfigurationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEc2DeepInspectionConfigurationOutput) SetErrorMessage ¶ added in v1.44.256
func (s *GetEc2DeepInspectionConfigurationOutput) SetErrorMessage(v string) *GetEc2DeepInspectionConfigurationOutput
SetErrorMessage sets the ErrorMessage field's value.
func (*GetEc2DeepInspectionConfigurationOutput) SetOrgPackagePaths ¶ added in v1.44.256
func (s *GetEc2DeepInspectionConfigurationOutput) SetOrgPackagePaths(v []*string) *GetEc2DeepInspectionConfigurationOutput
SetOrgPackagePaths sets the OrgPackagePaths field's value.
func (*GetEc2DeepInspectionConfigurationOutput) SetPackagePaths ¶ added in v1.44.256
func (s *GetEc2DeepInspectionConfigurationOutput) SetPackagePaths(v []*string) *GetEc2DeepInspectionConfigurationOutput
SetPackagePaths sets the PackagePaths field's value.
func (*GetEc2DeepInspectionConfigurationOutput) SetStatus ¶ added in v1.44.256
func (s *GetEc2DeepInspectionConfigurationOutput) SetStatus(v string) *GetEc2DeepInspectionConfigurationOutput
SetStatus sets the Status field's value.
func (GetEc2DeepInspectionConfigurationOutput) String ¶ added in v1.44.256
func (s GetEc2DeepInspectionConfigurationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ¶
func (s *GetFindingsReportStatusInput) SetReportId(v string) *GetFindingsReportStatusInput
SetReportId sets the ReportId field's value.
func (GetFindingsReportStatusInput) String ¶
func (s GetFindingsReportStatusInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ¶
func (s GetFindingsReportStatusOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s *GetFindingsReportStatusOutput) SetDestination(v *Destination) *GetFindingsReportStatusOutput
SetDestination sets the Destination field's value.
func (*GetFindingsReportStatusOutput) SetErrorCode ¶
func (s *GetFindingsReportStatusOutput) SetErrorCode(v string) *GetFindingsReportStatusOutput
SetErrorCode sets the ErrorCode field's value.
func (*GetFindingsReportStatusOutput) SetErrorMessage ¶
func (s *GetFindingsReportStatusOutput) SetErrorMessage(v string) *GetFindingsReportStatusOutput
SetErrorMessage sets the ErrorMessage field's value.
func (*GetFindingsReportStatusOutput) SetFilterCriteria ¶
func (s *GetFindingsReportStatusOutput) SetFilterCriteria(v *FilterCriteria) *GetFindingsReportStatusOutput
SetFilterCriteria sets the FilterCriteria field's value.
func (*GetFindingsReportStatusOutput) SetReportId ¶
func (s *GetFindingsReportStatusOutput) SetReportId(v string) *GetFindingsReportStatusOutput
SetReportId sets the ReportId field's value.
func (*GetFindingsReportStatusOutput) SetStatus ¶
func (s *GetFindingsReportStatusOutput) SetStatus(v string) *GetFindingsReportStatusOutput
SetStatus sets the Status field's value.
func (GetFindingsReportStatusOutput) String ¶
func (s GetFindingsReportStatusOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ¶
func (s *ImageLayerAggregation) SetSortBy(v string) *ImageLayerAggregation
SetSortBy sets the SortBy field's value.
func (*ImageLayerAggregation) SetSortOrder ¶
func (s *ImageLayerAggregation) SetSortOrder(v string) *ImageLayerAggregation
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 ¶
func (s ImageLayerAggregationResponse) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s *ImageLayerAggregationResponse) SetAccountId(v string) *ImageLayerAggregationResponse
SetAccountId sets the AccountId field's value.
func (*ImageLayerAggregationResponse) SetLayerHash ¶
func (s *ImageLayerAggregationResponse) SetLayerHash(v string) *ImageLayerAggregationResponse
SetLayerHash sets the LayerHash field's value.
func (*ImageLayerAggregationResponse) SetRepository ¶
func (s *ImageLayerAggregationResponse) SetRepository(v string) *ImageLayerAggregationResponse
SetRepository sets the Repository field's value.
func (*ImageLayerAggregationResponse) SetResourceId ¶
func (s *ImageLayerAggregationResponse) SetResourceId(v string) *ImageLayerAggregationResponse
SetResourceId sets the ResourceId field's value.
func (*ImageLayerAggregationResponse) SetSeverityCounts ¶
func (s *ImageLayerAggregationResponse) SetSeverityCounts(v *SeverityCounts) *ImageLayerAggregationResponse
SetSeverityCounts sets the SeverityCounts field's value.
func (ImageLayerAggregationResponse) String ¶
func (s ImageLayerAggregationResponse) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ¶
Inspector2 provides the API operation methods for making requests to Inspector2. See this package's package overview docs for details on the service.
Inspector2 methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *Inspector2
New creates a new instance of the Inspector2 client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
mySession := session.Must(session.NewSession()) // Create a Inspector2 client from just a session. svc := inspector2.New(mySession) // Create a Inspector2 client with additional configuration svc := inspector2.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*Inspector2) AssociateMember ¶
func (c *Inspector2) AssociateMember(input *AssociateMemberInput) (*AssociateMemberOutput, error)
AssociateMember API operation for Inspector2.
Associates an Amazon Web Services account with an Amazon Inspector delegated administrator. An HTTP 200 response indicates the association was successfully started, but doesn’t indicate whether it was completed. You can check if the association completed by using ListMembers (https://docs.aws.amazon.com/inspector/v2/APIReference/API_ListMembers.html) for multiple accounts or GetMembers (https://docs.aws.amazon.com/inspector/v2/APIReference/API_GetMember.html) for a single account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Inspector2's API operation AssociateMember for usage and error information.
Returned Error Types:
ValidationException The request has failed validation due to missing required fields or having invalid inputs.
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The limit on the number of requests per second was exceeded.
InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/AssociateMember
func (*Inspector2) AssociateMemberRequest ¶
func (c *Inspector2) AssociateMemberRequest(input *AssociateMemberInput) (req *request.Request, output *AssociateMemberOutput)
AssociateMemberRequest generates a "aws/request.Request" representing the client's request for the AssociateMember operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AssociateMember for more information on using the AssociateMember API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the AssociateMemberRequest method. req, resp := client.AssociateMemberRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/AssociateMember
func (*Inspector2) AssociateMemberWithContext ¶
func (c *Inspector2) AssociateMemberWithContext(ctx aws.Context, input *AssociateMemberInput, opts ...request.Option) (*AssociateMemberOutput, error)
AssociateMemberWithContext is the same as AssociateMember with the addition of the ability to pass a context and additional request options.
See AssociateMember for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Inspector2) BatchGetAccountStatus ¶
func (c *Inspector2) BatchGetAccountStatus(input *BatchGetAccountStatusInput) (*BatchGetAccountStatusOutput, error)
BatchGetAccountStatus API operation for Inspector2.
Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Inspector2's API operation BatchGetAccountStatus for usage and error information.
Returned Error Types:
ValidationException The request has failed validation due to missing required fields or having invalid inputs.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.
ThrottlingException The limit on the number of requests per second was exceeded.
InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetAccountStatus
func (*Inspector2) BatchGetAccountStatusRequest ¶
func (c *Inspector2) BatchGetAccountStatusRequest(input *BatchGetAccountStatusInput) (req *request.Request, output *BatchGetAccountStatusOutput)
BatchGetAccountStatusRequest generates a "aws/request.Request" representing the client's request for the BatchGetAccountStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See BatchGetAccountStatus for more information on using the BatchGetAccountStatus API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the BatchGetAccountStatusRequest method. req, resp := client.BatchGetAccountStatusRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetAccountStatus
func (*Inspector2) BatchGetAccountStatusWithContext ¶
func (c *Inspector2) BatchGetAccountStatusWithContext(ctx aws.Context, input *BatchGetAccountStatusInput, opts ...request.Option) (*BatchGetAccountStatusOutput, error)
BatchGetAccountStatusWithContext is the same as BatchGetAccountStatus with the addition of the ability to pass a context and additional request options.
See BatchGetAccountStatus for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Inspector2) BatchGetFreeTrialInfo ¶
func (c *Inspector2) BatchGetFreeTrialInfo(input *BatchGetFreeTrialInfoInput) (*BatchGetFreeTrialInfoOutput, error)
BatchGetFreeTrialInfo API operation for Inspector2.
Gets free trial status for multiple Amazon Web Services accounts.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Inspector2's API operation BatchGetFreeTrialInfo for usage and error information.
Returned Error Types:
ValidationException The request has failed validation due to missing required fields or having invalid inputs.
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The limit on the number of requests per second was exceeded.
InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetFreeTrialInfo
func (*Inspector2) BatchGetFreeTrialInfoRequest ¶
func (c *Inspector2) BatchGetFreeTrialInfoRequest(input *BatchGetFreeTrialInfoInput) (req *request.Request, output *BatchGetFreeTrialInfoOutput)
BatchGetFreeTrialInfoRequest generates a "aws/request.Request" representing the client's request for the BatchGetFreeTrialInfo operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See BatchGetFreeTrialInfo for more information on using the BatchGetFreeTrialInfo API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the BatchGetFreeTrialInfoRequest method. req, resp := client.BatchGetFreeTrialInfoRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetFreeTrialInfo
func (*Inspector2) BatchGetFreeTrialInfoWithContext ¶
func (c *Inspector2) BatchGetFreeTrialInfoWithContext(ctx aws.Context, input *BatchGetFreeTrialInfoInput, opts ...request.Option) (*BatchGetFreeTrialInfoOutput, error)
BatchGetFreeTrialInfoWithContext is the same as BatchGetFreeTrialInfo with the addition of the ability to pass a context and additional request options.
See BatchGetFreeTrialInfo for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Inspector2) BatchGetMemberEc2DeepInspectionStatus ¶ added in v1.44.256
func (c *Inspector2) BatchGetMemberEc2DeepInspectionStatus(input *BatchGetMemberEc2DeepInspectionStatusInput) (*BatchGetMemberEc2DeepInspectionStatusOutput, error)
BatchGetMemberEc2DeepInspectionStatus API operation for Inspector2.
Retrieves Amazon Inspector deep inspection activation status of multiple member accounts within your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Inspector2's API operation BatchGetMemberEc2DeepInspectionStatus for usage and error information.
Returned Error Types:
ValidationException The request has failed validation due to missing required fields or having invalid inputs.
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The limit on the number of requests per second was exceeded.
InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetMemberEc2DeepInspectionStatus
func (*Inspector2) BatchGetMemberEc2DeepInspectionStatusRequest ¶ added in v1.44.256
func (c *Inspector2) BatchGetMemberEc2DeepInspectionStatusRequest(input *BatchGetMemberEc2DeepInspectionStatusInput) (req *request.Request, output *BatchGetMemberEc2DeepInspectionStatusOutput)
BatchGetMemberEc2DeepInspectionStatusRequest generates a "aws/request.Request" representing the client's request for the BatchGetMemberEc2DeepInspectionStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See BatchGetMemberEc2DeepInspectionStatus for more information on using the BatchGetMemberEc2DeepInspectionStatus API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the BatchGetMemberEc2DeepInspectionStatusRequest method. req, resp := client.BatchGetMemberEc2DeepInspectionStatusRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetMemberEc2DeepInspectionStatus
func (*Inspector2) BatchGetMemberEc2DeepInspectionStatusWithContext ¶ added in v1.44.256
func (c *Inspector2) BatchGetMemberEc2DeepInspectionStatusWithContext(ctx aws.Context, input *BatchGetMemberEc2DeepInspectionStatusInput, opts ...request.Option) (*BatchGetMemberEc2DeepInspectionStatusOutput, error)
BatchGetMemberEc2DeepInspectionStatusWithContext is the same as BatchGetMemberEc2DeepInspectionStatus with the addition of the ability to pass a context and additional request options.
See BatchGetMemberEc2DeepInspectionStatus for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Inspector2) BatchUpdateMemberEc2DeepInspectionStatus ¶ added in v1.44.256
func (c *Inspector2) BatchUpdateMemberEc2DeepInspectionStatus(input *BatchUpdateMemberEc2DeepInspectionStatusInput) (*BatchUpdateMemberEc2DeepInspectionStatusOutput, error)
BatchUpdateMemberEc2DeepInspectionStatus API operation for Inspector2.
Activates or deactivates Amazon Inspector deep inspection for the provided member accounts in your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Inspector2's API operation BatchUpdateMemberEc2DeepInspectionStatus for usage and error information.
Returned Error Types:
ValidationException The request has failed validation due to missing required fields or having invalid inputs.
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The limit on the number of requests per second was exceeded.
InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.
func (*Inspector2) BatchUpdateMemberEc2DeepInspectionStatusRequest ¶ added in v1.44.256
func (c *Inspector2) BatchUpdateMemberEc2DeepInspectionStatusRequest(input *BatchUpdateMemberEc2DeepInspectionStatusInput) (req *request.Request, output *BatchUpdateMemberEc2DeepInspectionStatusOutput)
BatchUpdateMemberEc2DeepInspectionStatusRequest generates a "aws/request.Request" representing the client's request for the BatchUpdateMemberEc2DeepInspectionStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See BatchUpdateMemberEc2DeepInspectionStatus for more information on using the BatchUpdateMemberEc2DeepInspectionStatus API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the BatchUpdateMemberEc2DeepInspectionStatusRequest method. req, resp := client.BatchUpdateMemberEc2DeepInspectionStatusRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*Inspector2) BatchUpdateMemberEc2DeepInspectionStatusWithContext ¶ added in v1.44.256
func (c *Inspector2) BatchUpdateMemberEc2DeepInspectionStatusWithContext(ctx aws.Context, input *BatchUpdateMemberEc2DeepInspectionStatusInput, opts ...request.Option) (*BatchUpdateMemberEc2DeepInspectionStatusOutput, error)
BatchUpdateMemberEc2DeepInspectionStatusWithContext is the same as BatchUpdateMemberEc2DeepInspectionStatus with the addition of the ability to pass a context and additional request options.
See BatchUpdateMemberEc2DeepInspectionStatus for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Inspector2) CancelFindingsReport ¶
func (c *Inspector2) CancelFindingsReport(input *CancelFindingsReportInput) (*CancelFindingsReportOutput, error)
CancelFindingsReport API operation for Inspector2.
Cancels the given findings report.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Inspector2's API operation CancelFindingsReport for usage and error information.
Returned Error Types:
ValidationException The request has failed validation due to missing required fields or having invalid inputs.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.
ThrottlingException The limit on the number of requests per second was exceeded.
InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CancelFindingsReport
func (*Inspector2) CancelFindingsReportRequest ¶
func (c *Inspector2) CancelFindingsReportRequest(input *CancelFindingsReportInput) (req *request.Request, output *CancelFindingsReportOutput)
CancelFindingsReportRequest generates a "aws/request.Request" representing the client's request for the CancelFindingsReport operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CancelFindingsReport for more information on using the CancelFindingsReport API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CancelFindingsReportRequest method. req, resp := client.CancelFindingsReportRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CancelFindingsReport
func (*Inspector2) CancelFindingsReportWithContext ¶
func (c *Inspector2) CancelFindingsReportWithContext(ctx aws.Context, input *CancelFindingsReportInput, opts ...request.Option) (*CancelFindingsReportOutput, error)
CancelFindingsReportWithContext is the same as CancelFindingsReport with the addition of the ability to pass a context and additional request options.
See CancelFindingsReport for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Inspector2) 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. By default only ACTIVE findings are returned in the report. To see SUPRESSED or CLOSED findings you must specify a value for the findingStatus filter criteria.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Inspector2's API operation CreateFindingsReport for usage and error information.
Returned Error Types:
ValidationException The request has failed validation due to missing required fields or having invalid inputs.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.
ThrottlingException The limit on the number of requests per second was exceeded.
InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateFindingsReport
func (*Inspector2) CreateFindingsReportRequest ¶
func (c *Inspector2) CreateFindingsReportRequest(input *CreateFindingsReportInput) (req *request.Request, output *CreateFindingsReportOutput)
CreateFindingsReportRequest generates a "aws/request.Request" representing the client's request for the CreateFindingsReport operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateFindingsReport for more information on using the CreateFindingsReport API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateFindingsReportRequest method. req, resp := client.CreateFindingsReportRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateFindingsReport
func (*Inspector2) CreateFindingsReportWithContext ¶
func (c *Inspector2) CreateFindingsReportWithContext(ctx aws.Context, input *CreateFindingsReportInput, opts ...request.Option) (*CreateFindingsReportOutput, error)
CreateFindingsReportWithContext is the same as CreateFindingsReport with the addition of the ability to pass a context and additional request options.
See CreateFindingsReport for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Inspector2) 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 ¶
func (c *Inspector2) DescribeOrganizationConfiguration(input *DescribeOrganizationConfigurationInput) (*DescribeOrganizationConfigurationOutput, error)
DescribeOrganizationConfiguration API operation for Inspector2.
Describe Amazon Inspector configuration settings for an Amazon Web Services organization.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Inspector2's API operation DescribeOrganizationConfiguration for usage and error information.
Returned Error Types:
ValidationException The request has failed validation due to missing required fields or having invalid inputs.
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The limit on the number of requests per second was exceeded.
InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DescribeOrganizationConfiguration
func (*Inspector2) DescribeOrganizationConfigurationRequest ¶
func (c *Inspector2) DescribeOrganizationConfigurationRequest(input *DescribeOrganizationConfigurationInput) (req *request.Request, output *DescribeOrganizationConfigurationOutput)
DescribeOrganizationConfigurationRequest generates a "aws/request.Request" representing the client's request for the DescribeOrganizationConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeOrganizationConfiguration for more information on using the DescribeOrganizationConfiguration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeOrganizationConfigurationRequest method. req, resp := client.DescribeOrganizationConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DescribeOrganizationConfiguration
func (*Inspector2) DescribeOrganizationConfigurationWithContext ¶
func (c *Inspector2) DescribeOrganizationConfigurationWithContext(ctx aws.Context, input *DescribeOrganizationConfigurationInput, opts ...request.Option) (*DescribeOrganizationConfigurationOutput, error)
DescribeOrganizationConfigurationWithContext is the same as DescribeOrganizationConfiguration with the addition of the ability to pass a context and additional request options.
See DescribeOrganizationConfiguration for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Inspector2) Disable ¶
func (c *Inspector2) Disable(input *DisableInput) (*DisableOutput, error)
Disable API operation for Inspector2.
Disables Amazon Inspector scans for one or more Amazon Web Services accounts. Disabling all scan types in an account disables the Amazon Inspector service.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Inspector2's API operation Disable for usage and error information.
Returned Error Types:
ValidationException The request has failed validation due to missing required fields or having invalid inputs.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.
ThrottlingException The limit on the number of requests per second was exceeded.
InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Disable
func (*Inspector2) DisableDelegatedAdminAccount ¶
func (c *Inspector2) DisableDelegatedAdminAccount(input *DisableDelegatedAdminAccountInput) (*DisableDelegatedAdminAccountOutput, error)
DisableDelegatedAdminAccount API operation for Inspector2.
Disables the Amazon Inspector delegated administrator for your organization.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Inspector2's API operation DisableDelegatedAdminAccount for usage and error information.
Returned Error Types:
ConflictException A conflict occurred.
ValidationException The request has failed validation due to missing required fields or having invalid inputs.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.
ThrottlingException The limit on the number of requests per second was exceeded.
InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DisableDelegatedAdminAccount
func (*Inspector2) DisableDelegatedAdminAccountRequest ¶
func (c *Inspector2) DisableDelegatedAdminAccountRequest(input *DisableDelegatedAdminAccountInput) (req *request.Request, output *DisableDelegatedAdminAccountOutput)
DisableDelegatedAdminAccountRequest generates a "aws/request.Request" representing the client's request for the DisableDelegatedAdminAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DisableDelegatedAdminAccount for more information on using the DisableDelegatedAdminAccount API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DisableDelegatedAdminAccountRequest method. req, resp := client.DisableDelegatedAdminAccountRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DisableDelegatedAdminAccount
func (*Inspector2) DisableDelegatedAdminAccountWithContext ¶
func (c *Inspector2) DisableDelegatedAdminAccountWithContext(ctx aws.Context, input *DisableDelegatedAdminAccountInput, opts ...request.Option) (*DisableDelegatedAdminAccountOutput, error)
DisableDelegatedAdminAccountWithContext is the same as DisableDelegatedAdminAccount with the addition of the ability to pass a context and additional request options.
See DisableDelegatedAdminAccount for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Inspector2) DisableRequest ¶
func (c *Inspector2) DisableRequest(input *DisableInput) (req *request.Request, output *DisableOutput)
DisableRequest generates a "aws/request.Request" representing the client's request for the Disable operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See Disable for more information on using the Disable API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DisableRequest method. req, resp := client.DisableRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Disable
func (*Inspector2) DisableWithContext ¶
func (c *Inspector2) DisableWithContext(ctx aws.Context, input *DisableInput, opts ...request.Option) (*DisableOutput, error)
DisableWithContext is the same as Disable with the addition of the ability to pass a context and additional request options.
See Disable for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Inspector2) DisassociateMember ¶
func (c *Inspector2) DisassociateMember(input *DisassociateMemberInput) (*DisassociateMemberOutput, error)
DisassociateMember API operation for Inspector2.
Disassociates a member account from an Amazon Inspector delegated administrator.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Inspector2's API operation DisassociateMember for usage and error information.
Returned Error Types:
ValidationException The request has failed validation due to missing required fields or having invalid inputs.
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The limit on the number of requests per second was exceeded.
InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DisassociateMember
func (*Inspector2) DisassociateMemberRequest ¶
func (c *Inspector2) DisassociateMemberRequest(input *DisassociateMemberInput) (req *request.Request, output *DisassociateMemberOutput)
DisassociateMemberRequest generates a "aws/request.Request" representing the client's request for the DisassociateMember operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DisassociateMember for more information on using the DisassociateMember API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DisassociateMemberRequest method. req, resp := client.DisassociateMemberRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DisassociateMember
func (*Inspector2) DisassociateMemberWithContext ¶
func (c *Inspector2) DisassociateMemberWithContext(ctx aws.Context, input *DisassociateMemberInput, opts ...request.Option) (*DisassociateMemberOutput, error)
DisassociateMemberWithContext is the same as DisassociateMember with the addition of the ability to pass a context and additional request options.
See DisassociateMember for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Inspector2) Enable ¶
func (c *Inspector2) Enable(input *EnableInput) (*EnableOutput, error)
Enable API operation for Inspector2.
Enables Amazon Inspector scans for one or more Amazon Web Services accounts.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Inspector2's API operation Enable for usage and error information.
Returned Error Types:
ValidationException The request has failed validation due to missing required fields or having invalid inputs.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.
ThrottlingException The limit on the number of requests per second was exceeded.
InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Enable
func (*Inspector2) EnableDelegatedAdminAccount ¶
func (c *Inspector2) EnableDelegatedAdminAccount(input *EnableDelegatedAdminAccountInput) (*EnableDelegatedAdminAccountOutput, error)
EnableDelegatedAdminAccount API operation for Inspector2.
Enables the Amazon Inspector delegated administrator for your Organizations organization.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Inspector2's API operation EnableDelegatedAdminAccount for usage and error information.
Returned Error Types:
ConflictException A conflict occurred.
ValidationException The request has failed validation due to missing required fields or having invalid inputs.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.
ThrottlingException The limit on the number of requests per second was exceeded.
InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/EnableDelegatedAdminAccount
func (*Inspector2) EnableDelegatedAdminAccountRequest ¶
func (c *Inspector2) EnableDelegatedAdminAccountRequest(input *EnableDelegatedAdminAccountInput) (req *request.Request, output *EnableDelegatedAdminAccountOutput)
EnableDelegatedAdminAccountRequest generates a "aws/request.Request" representing the client's request for the EnableDelegatedAdminAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See EnableDelegatedAdminAccount for more information on using the EnableDelegatedAdminAccount API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the EnableDelegatedAdminAccountRequest method. req, resp := client.EnableDelegatedAdminAccountRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/EnableDelegatedAdminAccount
func (*Inspector2) EnableDelegatedAdminAccountWithContext ¶
func (c *Inspector2) EnableDelegatedAdminAccountWithContext(ctx aws.Context, input *EnableDelegatedAdminAccountInput, opts ...request.Option) (*EnableDelegatedAdminAccountOutput, error)
EnableDelegatedAdminAccountWithContext is the same as EnableDelegatedAdminAccount with the addition of the ability to pass a context and additional request options.
See EnableDelegatedAdminAccount for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Inspector2) EnableRequest ¶
func (c *Inspector2) EnableRequest(input *EnableInput) (req *request.Request, output *EnableOutput)
EnableRequest generates a "aws/request.Request" representing the client's request for the Enable operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See Enable for more information on using the Enable API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the EnableRequest method. req, resp := client.EnableRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Enable
func (*Inspector2) EnableWithContext ¶
func (c *Inspector2) EnableWithContext(ctx aws.Context, input *EnableInput, opts ...request.Option) (*EnableOutput, error)
EnableWithContext is the same as Enable with the addition of the ability to pass a context and additional request options.
See Enable for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Inspector2) GetConfiguration ¶ added in v1.44.55
func (c *Inspector2) GetConfiguration(input *GetConfigurationInput) (*GetConfigurationOutput, error)
GetConfiguration API operation for Inspector2.
Retrieves setting configurations for Inspector scans.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Inspector2's API operation GetConfiguration for usage and error information.
Returned Error Types:
ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.
ThrottlingException The limit on the number of requests per second was exceeded.
InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetConfiguration
func (*Inspector2) GetConfigurationRequest ¶ added in v1.44.55
func (c *Inspector2) GetConfigurationRequest(input *GetConfigurationInput) (req *request.Request, output *GetConfigurationOutput)
GetConfigurationRequest generates a "aws/request.Request" representing the client's request for the GetConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetConfiguration for more information on using the GetConfiguration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetConfigurationRequest method. req, resp := client.GetConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetConfiguration
func (*Inspector2) GetConfigurationWithContext ¶ added in v1.44.55
func (c *Inspector2) GetConfigurationWithContext(ctx aws.Context, input *GetConfigurationInput, opts ...request.Option) (*GetConfigurationOutput, error)
GetConfigurationWithContext is the same as GetConfiguration with the addition of the ability to pass a context and additional request options.
See GetConfiguration for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Inspector2) GetDelegatedAdminAccount ¶
func (c *Inspector2) GetDelegatedAdminAccount(input *GetDelegatedAdminAccountInput) (*GetDelegatedAdminAccountOutput, error)
GetDelegatedAdminAccount API operation for Inspector2.
Retrieves information about the Amazon Inspector delegated administrator for your organization.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Inspector2's API operation GetDelegatedAdminAccount for usage and error information.
Returned Error Types:
AccessDeniedException You do not have sufficient access to perform this action.
ValidationException The request has failed validation due to missing required fields or having invalid inputs.
ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.
ThrottlingException The limit on the number of requests per second was exceeded.
InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetDelegatedAdminAccount
func (*Inspector2) GetDelegatedAdminAccountRequest ¶
func (c *Inspector2) GetDelegatedAdminAccountRequest(input *GetDelegatedAdminAccountInput) (req *request.Request, output *GetDelegatedAdminAccountOutput)
GetDelegatedAdminAccountRequest generates a "aws/request.Request" representing the client's request for the GetDelegatedAdminAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetDelegatedAdminAccount for more information on using the GetDelegatedAdminAccount API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetDelegatedAdminAccountRequest method. req, resp := client.GetDelegatedAdminAccountRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetDelegatedAdminAccount
func (*Inspector2) GetDelegatedAdminAccountWithContext ¶
func (c *Inspector2) GetDelegatedAdminAccountWithContext(ctx aws.Context, input *GetDelegatedAdminAccountInput, opts ...request.Option) (*GetDelegatedAdminAccountOutput, error)
GetDelegatedAdminAccountWithContext is the same as GetDelegatedAdminAccount with the addition of the ability to pass a context and additional request options.
See GetDelegatedAdminAccount for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Inspector2) GetEc2DeepInspectionConfiguration ¶ added in v1.44.256
func (c *Inspector2) GetEc2DeepInspectionConfiguration(input *GetEc2DeepInspectionConfigurationInput) (*GetEc2DeepInspectionConfigurationOutput, error)
GetEc2DeepInspectionConfiguration API operation for Inspector2.
Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Inspector2's API operation GetEc2DeepInspectionConfiguration for usage and error information.
Returned Error Types:
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.
ThrottlingException The limit on the number of requests per second was exceeded.
InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetEc2DeepInspectionConfiguration
func (*Inspector2) GetEc2DeepInspectionConfigurationRequest ¶ added in v1.44.256
func (c *Inspector2) GetEc2DeepInspectionConfigurationRequest(input *GetEc2DeepInspectionConfigurationInput) (req *request.Request, output *GetEc2DeepInspectionConfigurationOutput)
GetEc2DeepInspectionConfigurationRequest generates a "aws/request.Request" representing the client's request for the GetEc2DeepInspectionConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetEc2DeepInspectionConfiguration for more information on using the GetEc2DeepInspectionConfiguration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetEc2DeepInspectionConfigurationRequest method. req, resp := client.GetEc2DeepInspectionConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetEc2DeepInspectionConfiguration
func (*Inspector2) GetEc2DeepInspectionConfigurationWithContext ¶ added in v1.44.256
func (c *Inspector2) GetEc2DeepInspectionConfigurationWithContext(ctx aws.Context, input *GetEc2DeepInspectionConfigurationInput, opts ...request.Option) (*GetEc2DeepInspectionConfigurationOutput, error)
GetEc2DeepInspectionConfigurationWithContext is the same as GetEc2DeepInspectionConfiguration with the addition of the ability to pass a context and additional request options.
See GetEc2DeepInspectionConfiguration for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Inspector2) 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) UpdateConfiguration ¶ added in v1.44.55
func (c *Inspector2) UpdateConfiguration(input *UpdateConfigurationInput) (*UpdateConfigurationOutput, error)
UpdateConfiguration API operation for Inspector2.
Updates setting configurations for your Amazon Inspector account. When you use this API as an Amazon Inspector delegated administrator this updates the setting for all accounts you manage. Member accounts in an organization cannot update this setting.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Inspector2's API operation UpdateConfiguration for usage and error information.
Returned Error Types:
ValidationException The request has failed validation due to missing required fields or having invalid inputs.
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The limit on the number of requests per second was exceeded.
InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateConfiguration
func (*Inspector2) UpdateConfigurationRequest ¶ added in v1.44.55
func (c *Inspector2) UpdateConfigurationRequest(input *UpdateConfigurationInput) (req *request.Request, output *UpdateConfigurationOutput)
UpdateConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateConfiguration for more information on using the UpdateConfiguration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateConfigurationRequest method. req, resp := client.UpdateConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateConfiguration
func (*Inspector2) UpdateConfigurationWithContext ¶ added in v1.44.55
func (c *Inspector2) UpdateConfigurationWithContext(ctx aws.Context, input *UpdateConfigurationInput, opts ...request.Option) (*UpdateConfigurationOutput, error)
UpdateConfigurationWithContext is the same as UpdateConfiguration with the addition of the ability to pass a context and additional request options.
See UpdateConfiguration for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Inspector2) UpdateEc2DeepInspectionConfiguration ¶ added in v1.44.256
func (c *Inspector2) UpdateEc2DeepInspectionConfiguration(input *UpdateEc2DeepInspectionConfigurationInput) (*UpdateEc2DeepInspectionConfigurationOutput, error)
UpdateEc2DeepInspectionConfiguration API operation for Inspector2.
Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Inspector2's API operation UpdateEc2DeepInspectionConfiguration for usage and error information.
Returned Error Types:
ValidationException The request has failed validation due to missing required fields or having invalid inputs.
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The limit on the number of requests per second was exceeded.
InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateEc2DeepInspectionConfiguration
func (*Inspector2) UpdateEc2DeepInspectionConfigurationRequest ¶ added in v1.44.256
func (c *Inspector2) UpdateEc2DeepInspectionConfigurationRequest(input *UpdateEc2DeepInspectionConfigurationInput) (req *request.Request, output *UpdateEc2DeepInspectionConfigurationOutput)
UpdateEc2DeepInspectionConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateEc2DeepInspectionConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateEc2DeepInspectionConfiguration for more information on using the UpdateEc2DeepInspectionConfiguration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateEc2DeepInspectionConfigurationRequest method. req, resp := client.UpdateEc2DeepInspectionConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateEc2DeepInspectionConfiguration
func (*Inspector2) UpdateEc2DeepInspectionConfigurationWithContext ¶ added in v1.44.256
func (c *Inspector2) UpdateEc2DeepInspectionConfigurationWithContext(ctx aws.Context, input *UpdateEc2DeepInspectionConfigurationInput, opts ...request.Option) (*UpdateEc2DeepInspectionConfigurationOutput, error)
UpdateEc2DeepInspectionConfigurationWithContext is the same as UpdateEc2DeepInspectionConfiguration with the addition of the ability to pass a context and additional request options.
See UpdateEc2DeepInspectionConfiguration for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Inspector2) UpdateFilter ¶
func (c *Inspector2) UpdateFilter(input *UpdateFilterInput) (*UpdateFilterOutput, error)
UpdateFilter API operation for Inspector2.
Specifies the action that is to be applied to the findings that match the filter.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Inspector2's API operation UpdateFilter for usage and error information.
Returned Error Types:
ValidationException The request has failed validation due to missing required fields or having invalid inputs.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.
ThrottlingException The limit on the number of requests per second was exceeded.
InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateFilter
func (*Inspector2) UpdateFilterRequest ¶
func (c *Inspector2) UpdateFilterRequest(input *UpdateFilterInput) (req *request.Request, output *UpdateFilterOutput)
UpdateFilterRequest generates a "aws/request.Request" representing the client's request for the UpdateFilter operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateFilter for more information on using the UpdateFilter API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateFilterRequest method. req, resp := client.UpdateFilterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateFilter
func (*Inspector2) UpdateFilterWithContext ¶
func (c *Inspector2) UpdateFilterWithContext(ctx aws.Context, input *UpdateFilterInput, opts ...request.Option) (*UpdateFilterOutput, error)
UpdateFilterWithContext is the same as UpdateFilter with the addition of the ability to pass a context and additional request options.
See UpdateFilter for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Inspector2) UpdateOrgEc2DeepInspectionConfiguration ¶ added in v1.44.256
func (c *Inspector2) UpdateOrgEc2DeepInspectionConfiguration(input *UpdateOrgEc2DeepInspectionConfigurationInput) (*UpdateOrgEc2DeepInspectionConfigurationOutput, error)
UpdateOrgEc2DeepInspectionConfiguration API operation for Inspector2.
Updates the Amazon Inspector deep inspection custom paths for your organization. You must be an Amazon Inspector delegated administrator to use this API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Inspector2's API operation UpdateOrgEc2DeepInspectionConfiguration for usage and error information.
Returned Error Types:
ValidationException The request has failed validation due to missing required fields or having invalid inputs.
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The limit on the number of requests per second was exceeded.
InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.
func (*Inspector2) UpdateOrgEc2DeepInspectionConfigurationRequest ¶ added in v1.44.256
func (c *Inspector2) UpdateOrgEc2DeepInspectionConfigurationRequest(input *UpdateOrgEc2DeepInspectionConfigurationInput) (req *request.Request, output *UpdateOrgEc2DeepInspectionConfigurationOutput)
UpdateOrgEc2DeepInspectionConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateOrgEc2DeepInspectionConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateOrgEc2DeepInspectionConfiguration for more information on using the UpdateOrgEc2DeepInspectionConfiguration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateOrgEc2DeepInspectionConfigurationRequest method. req, resp := client.UpdateOrgEc2DeepInspectionConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*Inspector2) UpdateOrgEc2DeepInspectionConfigurationWithContext ¶ added in v1.44.256
func (c *Inspector2) UpdateOrgEc2DeepInspectionConfigurationWithContext(ctx aws.Context, input *UpdateOrgEc2DeepInspectionConfigurationInput, opts ...request.Option) (*UpdateOrgEc2DeepInspectionConfigurationOutput, error)
UpdateOrgEc2DeepInspectionConfigurationWithContext is the same as UpdateOrgEc2DeepInspectionConfiguration with the addition of the ability to pass a context and additional request options.
See UpdateOrgEc2DeepInspectionConfiguration for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Inspector2) UpdateOrganizationConfiguration ¶
func (c *Inspector2) UpdateOrganizationConfiguration(input *UpdateOrganizationConfigurationInput) (*UpdateOrganizationConfigurationOutput, error)
UpdateOrganizationConfiguration API operation for Inspector2.
Updates the configurations for your Amazon Inspector organization.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Inspector2's API operation UpdateOrganizationConfiguration for usage and error information.
Returned Error Types:
AccessDeniedException You do not have sufficient access to perform this action.
ValidationException The request has failed validation due to missing required fields or having invalid inputs.
ThrottlingException The limit on the number of requests per second was exceeded.
InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateOrganizationConfiguration
func (*Inspector2) UpdateOrganizationConfigurationRequest ¶
func (c *Inspector2) UpdateOrganizationConfigurationRequest(input *UpdateOrganizationConfigurationInput) (req *request.Request, output *UpdateOrganizationConfigurationOutput)
UpdateOrganizationConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateOrganizationConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateOrganizationConfiguration for more information on using the UpdateOrganizationConfiguration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateOrganizationConfigurationRequest method. req, resp := client.UpdateOrganizationConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateOrganizationConfiguration
func (*Inspector2) UpdateOrganizationConfigurationWithContext ¶
func (c *Inspector2) UpdateOrganizationConfigurationWithContext(ctx aws.Context, input *UpdateOrganizationConfigurationInput, opts ...request.Option) (*UpdateOrganizationConfigurationOutput, error)
UpdateOrganizationConfigurationWithContext is the same as UpdateOrganizationConfiguration with the addition of the ability to pass a context and additional request options.
See UpdateOrganizationConfiguration for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type InspectorScoreDetails ¶
type InspectorScoreDetails struct { // An object that contains details about the CVSS score given to a finding. AdjustedCvss *CvssScoreDetails `locationName:"adjustedCvss" type:"structure"` // contains filtered or unexported fields }
Information about the Amazon Inspector score given to a finding.
func (InspectorScoreDetails) GoString ¶
func (s InspectorScoreDetails) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InspectorScoreDetails) SetAdjustedCvss ¶
func (s *InspectorScoreDetails) SetAdjustedCvss(v *CvssScoreDetails) *InspectorScoreDetails
SetAdjustedCvss sets the AdjustedCvss field's value.
func (InspectorScoreDetails) String ¶
func (s InspectorScoreDetails) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InternalServerException ¶
type InternalServerException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // The number of seconds to wait before retrying the request. RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"` // contains filtered or unexported fields }
The request has failed due to an internal failure of the Amazon Inspector service.
func (*InternalServerException) Code ¶
func (s *InternalServerException) Code() string
Code returns the exception type name.
func (*InternalServerException) Error ¶
func (s *InternalServerException) Error() string
func (InternalServerException) GoString ¶
func (s InternalServerException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InternalServerException) Message ¶
func (s *InternalServerException) Message() string
Message returns the exception's message.
func (*InternalServerException) OrigErr ¶
func (s *InternalServerException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InternalServerException) RequestID ¶
func (s *InternalServerException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InternalServerException) StatusCode ¶
func (s *InternalServerException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InternalServerException) String ¶
func (s InternalServerException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LambdaFunctionAggregation ¶ added in v1.44.147
type LambdaFunctionAggregation struct { // The AWS Lambda function names to include in the aggregation results. FunctionNames []*StringFilter `locationName:"functionNames" min:"1" type:"list"` // The tags to include in the aggregation results. FunctionTags []*MapFilter `locationName:"functionTags" min:"1" type:"list"` // The resource IDs to include in the aggregation results. ResourceIds []*StringFilter `locationName:"resourceIds" min:"1" type:"list"` // Returns findings aggregated by AWS Lambda function runtime environments. Runtimes []*StringFilter `locationName:"runtimes" min:"1" type:"list"` // The finding severity to use for sorting the results. SortBy *string `locationName:"sortBy" type:"string" enum:"LambdaFunctionSortBy"` // The order to use for sorting the results. SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrder"` // contains filtered or unexported fields }
The details that define a findings aggregation based on AWS Lambda functions.
func (LambdaFunctionAggregation) GoString ¶ added in v1.44.147
func (s LambdaFunctionAggregation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LambdaFunctionAggregation) SetFunctionNames ¶ added in v1.44.147
func (s *LambdaFunctionAggregation) SetFunctionNames(v []*StringFilter) *LambdaFunctionAggregation
SetFunctionNames sets the FunctionNames field's value.
func (*LambdaFunctionAggregation) SetFunctionTags ¶ added in v1.44.147
func (s *LambdaFunctionAggregation) SetFunctionTags(v []*MapFilter) *LambdaFunctionAggregation
SetFunctionTags sets the FunctionTags field's value.
func (*LambdaFunctionAggregation) SetResourceIds ¶ added in v1.44.147
func (s *LambdaFunctionAggregation) SetResourceIds(v []*StringFilter) *LambdaFunctionAggregation
SetResourceIds sets the ResourceIds field's value.
func (*LambdaFunctionAggregation) SetRuntimes ¶ added in v1.44.147
func (s *LambdaFunctionAggregation) SetRuntimes(v []*StringFilter) *LambdaFunctionAggregation
SetRuntimes sets the Runtimes field's value.
func (*LambdaFunctionAggregation) SetSortBy ¶ added in v1.44.147
func (s *LambdaFunctionAggregation) SetSortBy(v string) *LambdaFunctionAggregation
SetSortBy sets the SortBy field's value.
func (*LambdaFunctionAggregation) SetSortOrder ¶ added in v1.44.147
func (s *LambdaFunctionAggregation) SetSortOrder(v string) *LambdaFunctionAggregation
SetSortOrder sets the SortOrder field's value.
func (LambdaFunctionAggregation) String ¶ added in v1.44.147
func (s LambdaFunctionAggregation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LambdaFunctionAggregation) Validate ¶ added in v1.44.147
func (s *LambdaFunctionAggregation) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LambdaFunctionAggregationResponse ¶ added in v1.44.147
type LambdaFunctionAggregationResponse struct { // The ID of the AWS account that owns the AWS Lambda function. AccountId *string `locationName:"accountId" min:"12" type:"string"` // The AWS Lambda function names included in the aggregation results. FunctionName *string `locationName:"functionName" type:"string"` // The tags included in the aggregation results. LambdaTags map[string]*string `locationName:"lambdaTags" type:"map"` // The date that the AWS Lambda function included in the aggregation results // was last changed. LastModifiedAt *time.Time `locationName:"lastModifiedAt" type:"timestamp"` // The resource IDs included in the aggregation results. // // ResourceId is a required field ResourceId *string `locationName:"resourceId" min:"1" type:"string" required:"true"` // The runtimes included in the aggregation results. Runtime *string `locationName:"runtime" type:"string"` // An object that contains the counts of aggregated finding per severity. SeverityCounts *SeverityCounts `locationName:"severityCounts" type:"structure"` // contains filtered or unexported fields }
A response that contains the results of an AWS Lambda function finding aggregation.
func (LambdaFunctionAggregationResponse) GoString ¶ added in v1.44.147
func (s LambdaFunctionAggregationResponse) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LambdaFunctionAggregationResponse) SetAccountId ¶ added in v1.44.147
func (s *LambdaFunctionAggregationResponse) SetAccountId(v string) *LambdaFunctionAggregationResponse
SetAccountId sets the AccountId field's value.
func (*LambdaFunctionAggregationResponse) SetFunctionName ¶ added in v1.44.147
func (s *LambdaFunctionAggregationResponse) SetFunctionName(v string) *LambdaFunctionAggregationResponse
SetFunctionName sets the FunctionName field's value.
func (*LambdaFunctionAggregationResponse) SetLambdaTags ¶ added in v1.44.147
func (s *LambdaFunctionAggregationResponse) SetLambdaTags(v map[string]*string) *LambdaFunctionAggregationResponse
SetLambdaTags sets the LambdaTags field's value.
func (*LambdaFunctionAggregationResponse) SetLastModifiedAt ¶ added in v1.44.147
func (s *LambdaFunctionAggregationResponse) SetLastModifiedAt(v time.Time) *LambdaFunctionAggregationResponse
SetLastModifiedAt sets the LastModifiedAt field's value.
func (*LambdaFunctionAggregationResponse) SetResourceId ¶ added in v1.44.147
func (s *LambdaFunctionAggregationResponse) SetResourceId(v string) *LambdaFunctionAggregationResponse
SetResourceId sets the ResourceId field's value.
func (*LambdaFunctionAggregationResponse) SetRuntime ¶ added in v1.44.147
func (s *LambdaFunctionAggregationResponse) SetRuntime(v string) *LambdaFunctionAggregationResponse
SetRuntime sets the Runtime field's value.
func (*LambdaFunctionAggregationResponse) SetSeverityCounts ¶ added in v1.44.147
func (s *LambdaFunctionAggregationResponse) SetSeverityCounts(v *SeverityCounts) *LambdaFunctionAggregationResponse
SetSeverityCounts sets the SeverityCounts field's value.
func (LambdaFunctionAggregationResponse) String ¶ added in v1.44.147
func (s LambdaFunctionAggregationResponse) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LambdaFunctionMetadata ¶ added in v1.44.147
type LambdaFunctionMetadata struct { // The name of a function. FunctionName *string `locationName:"functionName" type:"string"` // The resource tags on an AWS Lambda function. FunctionTags map[string]*string `locationName:"functionTags" type:"map"` // The layers for an AWS Lambda function. A Lambda function can have up to five // layers. Layers []*string `locationName:"layers" type:"list"` // An AWS Lambda function's runtime. Runtime *string `locationName:"runtime" type:"string" enum:"Runtime"` // contains filtered or unexported fields }
The AWS Lambda function metadata.
func (LambdaFunctionMetadata) GoString ¶ added in v1.44.147
func (s LambdaFunctionMetadata) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LambdaFunctionMetadata) SetFunctionName ¶ added in v1.44.147
func (s *LambdaFunctionMetadata) SetFunctionName(v string) *LambdaFunctionMetadata
SetFunctionName sets the FunctionName field's value.
func (*LambdaFunctionMetadata) SetFunctionTags ¶ added in v1.44.147
func (s *LambdaFunctionMetadata) SetFunctionTags(v map[string]*string) *LambdaFunctionMetadata
SetFunctionTags sets the FunctionTags field's value.
func (*LambdaFunctionMetadata) SetLayers ¶ added in v1.44.147
func (s *LambdaFunctionMetadata) SetLayers(v []*string) *LambdaFunctionMetadata
SetLayers sets the Layers field's value.
func (*LambdaFunctionMetadata) SetRuntime ¶ added in v1.44.147
func (s *LambdaFunctionMetadata) SetRuntime(v string) *LambdaFunctionMetadata
SetRuntime sets the Runtime field's value.
func (LambdaFunctionMetadata) String ¶ added in v1.44.147
func (s LambdaFunctionMetadata) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LambdaLayerAggregation ¶ added in v1.44.147
type LambdaLayerAggregation struct { // The names of the AWS Lambda functions associated with the layers. FunctionNames []*StringFilter `locationName:"functionNames" min:"1" type:"list"` // The Amazon Resource Name (ARN) of the AWS Lambda function layer. LayerArns []*StringFilter `locationName:"layerArns" min:"1" type:"list"` // The resource IDs for the AWS Lambda function layers. ResourceIds []*StringFilter `locationName:"resourceIds" min:"1" type:"list"` // The finding severity to use for sorting the results. SortBy *string `locationName:"sortBy" type:"string" enum:"LambdaLayerSortBy"` // The order to use for sorting the results. SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrder"` // contains filtered or unexported fields }
The details that define a findings aggregation based on an AWS Lambda function's layers.
func (LambdaLayerAggregation) GoString ¶ added in v1.44.147
func (s LambdaLayerAggregation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LambdaLayerAggregation) SetFunctionNames ¶ added in v1.44.147
func (s *LambdaLayerAggregation) SetFunctionNames(v []*StringFilter) *LambdaLayerAggregation
SetFunctionNames sets the FunctionNames field's value.
func (*LambdaLayerAggregation) SetLayerArns ¶ added in v1.44.147
func (s *LambdaLayerAggregation) SetLayerArns(v []*StringFilter) *LambdaLayerAggregation
SetLayerArns sets the LayerArns field's value.
func (*LambdaLayerAggregation) SetResourceIds ¶ added in v1.44.147
func (s *LambdaLayerAggregation) SetResourceIds(v []*StringFilter) *LambdaLayerAggregation
SetResourceIds sets the ResourceIds field's value.
func (*LambdaLayerAggregation) SetSortBy ¶ added in v1.44.147
func (s *LambdaLayerAggregation) SetSortBy(v string) *LambdaLayerAggregation
SetSortBy sets the SortBy field's value.
func (*LambdaLayerAggregation) SetSortOrder ¶ added in v1.44.147
func (s *LambdaLayerAggregation) SetSortOrder(v string) *LambdaLayerAggregation
SetSortOrder sets the SortOrder field's value.
func (LambdaLayerAggregation) String ¶ added in v1.44.147
func (s LambdaLayerAggregation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LambdaLayerAggregation) Validate ¶ added in v1.44.147
func (s *LambdaLayerAggregation) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LambdaLayerAggregationResponse ¶ added in v1.44.147
type LambdaLayerAggregationResponse struct { // The account ID of the AWS Lambda function layer. // // AccountId is a required field AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"` // The names of the AWS Lambda functions associated with the layers. // // FunctionName is a required field FunctionName *string `locationName:"functionName" min:"1" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the AWS Lambda function layer. // // LayerArn is a required field LayerArn *string `locationName:"layerArn" min:"1" type:"string" required:"true"` // The Resource ID of the AWS Lambda function layer. // // ResourceId is a required field ResourceId *string `locationName:"resourceId" min:"1" type:"string" required:"true"` // An object that contains the counts of aggregated finding per severity. SeverityCounts *SeverityCounts `locationName:"severityCounts" type:"structure"` // contains filtered or unexported fields }
A response that contains the results of an AWS Lambda function layer finding aggregation.
func (LambdaLayerAggregationResponse) GoString ¶ added in v1.44.147
func (s LambdaLayerAggregationResponse) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LambdaLayerAggregationResponse) SetAccountId ¶ added in v1.44.147
func (s *LambdaLayerAggregationResponse) SetAccountId(v string) *LambdaLayerAggregationResponse
SetAccountId sets the AccountId field's value.
func (*LambdaLayerAggregationResponse) SetFunctionName ¶ added in v1.44.147
func (s *LambdaLayerAggregationResponse) SetFunctionName(v string) *LambdaLayerAggregationResponse
SetFunctionName sets the FunctionName field's value.
func (*LambdaLayerAggregationResponse) SetLayerArn ¶ added in v1.44.147
func (s *LambdaLayerAggregationResponse) SetLayerArn(v string) *LambdaLayerAggregationResponse
SetLayerArn sets the LayerArn field's value.
func (*LambdaLayerAggregationResponse) SetResourceId ¶ added in v1.44.147
func (s *LambdaLayerAggregationResponse) SetResourceId(v string) *LambdaLayerAggregationResponse
SetResourceId sets the ResourceId field's value.
func (*LambdaLayerAggregationResponse) SetSeverityCounts ¶ added in v1.44.147
func (s *LambdaLayerAggregationResponse) SetSeverityCounts(v *SeverityCounts) *LambdaLayerAggregationResponse
SetSeverityCounts sets the SeverityCounts field's value.
func (LambdaLayerAggregationResponse) String ¶ added in v1.44.147
func (s LambdaLayerAggregationResponse) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LambdaVpcConfig ¶ added in v1.44.147
type LambdaVpcConfig struct { // The VPC security groups and subnets that are attached to an AWS Lambda function. // For more information, see VPC Settings (https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html). SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"` // A list of VPC subnet IDs. SubnetIds []*string `locationName:"subnetIds" type:"list"` // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
The VPC security groups and subnets that are attached to an AWS Lambda function. For more information, see VPC Settings (https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html).
func (LambdaVpcConfig) GoString ¶ added in v1.44.147
func (s LambdaVpcConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LambdaVpcConfig) SetSecurityGroupIds ¶ added in v1.44.147
func (s *LambdaVpcConfig) SetSecurityGroupIds(v []*string) *LambdaVpcConfig
SetSecurityGroupIds sets the SecurityGroupIds field's value.
func (*LambdaVpcConfig) SetSubnetIds ¶ added in v1.44.147
func (s *LambdaVpcConfig) SetSubnetIds(v []*string) *LambdaVpcConfig
SetSubnetIds sets the SubnetIds field's value.
func (*LambdaVpcConfig) SetVpcId ¶ added in v1.44.147
func (s *LambdaVpcConfig) SetVpcId(v string) *LambdaVpcConfig
SetVpcId sets the VpcId field's value.
func (LambdaVpcConfig) String ¶ added in v1.44.147
func (s LambdaVpcConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListAccountPermissionsInput ¶
type ListAccountPermissionsInput struct { // The maximum number of results 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 ¶
func (s *ListAccountPermissionsInput) SetMaxResults(v int64) *ListAccountPermissionsInput
SetMaxResults sets the MaxResults field's value.
func (*ListAccountPermissionsInput) SetNextToken ¶
func (s *ListAccountPermissionsInput) SetNextToken(v string) *ListAccountPermissionsInput
SetNextToken sets the NextToken field's value.
func (*ListAccountPermissionsInput) SetService ¶
func (s *ListAccountPermissionsInput) SetService(v string) *ListAccountPermissionsInput
SetService sets the Service field's value.
func (ListAccountPermissionsInput) String ¶
func (s ListAccountPermissionsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s *ListAccountPermissionsOutput) SetNextToken(v string) *ListAccountPermissionsOutput
SetNextToken sets the NextToken field's value.
func (*ListAccountPermissionsOutput) SetPermissions ¶
func (s *ListAccountPermissionsOutput) SetPermissions(v []*Permission) *ListAccountPermissionsOutput
SetPermissions sets the Permissions field's value.
func (ListAccountPermissionsOutput) String ¶
func (s ListAccountPermissionsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ¶
func (s *ListCoverageInput) SetFilterCriteria(v *CoverageFilterCriteria) *ListCoverageInput
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 ¶
func (s *ListCoverageStatisticsInput) SetFilterCriteria(v *CoverageFilterCriteria) *ListCoverageStatisticsInput
SetFilterCriteria sets the FilterCriteria field's value.
func (*ListCoverageStatisticsInput) SetGroupBy ¶
func (s *ListCoverageStatisticsInput) SetGroupBy(v string) *ListCoverageStatisticsInput
SetGroupBy sets the GroupBy field's value.
func (*ListCoverageStatisticsInput) SetNextToken ¶
func (s *ListCoverageStatisticsInput) SetNextToken(v string) *ListCoverageStatisticsInput
SetNextToken sets the NextToken field's value.
func (ListCoverageStatisticsInput) String ¶
func (s ListCoverageStatisticsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s *ListCoverageStatisticsOutput) SetCountsByGroup(v []*Counts) *ListCoverageStatisticsOutput
SetCountsByGroup sets the CountsByGroup field's value.
func (*ListCoverageStatisticsOutput) SetNextToken ¶
func (s *ListCoverageStatisticsOutput) SetNextToken(v string) *ListCoverageStatisticsOutput
SetNextToken sets the NextToken field's value.
func (*ListCoverageStatisticsOutput) SetTotalCounts ¶
func (s *ListCoverageStatisticsOutput) SetTotalCounts(v int64) *ListCoverageStatisticsOutput
SetTotalCounts sets the TotalCounts field's value.
func (ListCoverageStatisticsOutput) String ¶
func (s ListCoverageStatisticsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ¶
func (s ListDelegatedAdminAccountsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s *ListDelegatedAdminAccountsInput) SetMaxResults(v int64) *ListDelegatedAdminAccountsInput
SetMaxResults sets the MaxResults field's value.
func (*ListDelegatedAdminAccountsInput) SetNextToken ¶
func (s *ListDelegatedAdminAccountsInput) SetNextToken(v string) *ListDelegatedAdminAccountsInput
SetNextToken sets the NextToken field's value.
func (ListDelegatedAdminAccountsInput) String ¶
func (s ListDelegatedAdminAccountsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s ListDelegatedAdminAccountsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s *ListDelegatedAdminAccountsOutput) SetDelegatedAdminAccounts(v []*DelegatedAdminAccount) *ListDelegatedAdminAccountsOutput
SetDelegatedAdminAccounts sets the DelegatedAdminAccounts field's value.
func (*ListDelegatedAdminAccountsOutput) SetNextToken ¶
func (s *ListDelegatedAdminAccountsOutput) SetNextToken(v string) *ListDelegatedAdminAccountsOutput
SetNextToken sets the NextToken field's value.
func (ListDelegatedAdminAccountsOutput) String ¶
func (s ListDelegatedAdminAccountsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ¶
func (s *ListFindingAggregationsInput) SetAccountIds(v []*StringFilter) *ListFindingAggregationsInput
SetAccountIds sets the AccountIds field's value.
func (*ListFindingAggregationsInput) SetAggregationRequest ¶
func (s *ListFindingAggregationsInput) SetAggregationRequest(v *AggregationRequest) *ListFindingAggregationsInput
SetAggregationRequest sets the AggregationRequest field's value.
func (*ListFindingAggregationsInput) SetAggregationType ¶
func (s *ListFindingAggregationsInput) SetAggregationType(v string) *ListFindingAggregationsInput
SetAggregationType sets the AggregationType field's value.
func (*ListFindingAggregationsInput) SetMaxResults ¶
func (s *ListFindingAggregationsInput) SetMaxResults(v int64) *ListFindingAggregationsInput
SetMaxResults sets the MaxResults field's value.
func (*ListFindingAggregationsInput) SetNextToken ¶
func (s *ListFindingAggregationsInput) SetNextToken(v string) *ListFindingAggregationsInput
SetNextToken sets the NextToken field's value.
func (ListFindingAggregationsInput) String ¶
func (s ListFindingAggregationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s ListFindingAggregationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s *ListFindingAggregationsOutput) SetAggregationType(v string) *ListFindingAggregationsOutput
SetAggregationType sets the AggregationType field's value.
func (*ListFindingAggregationsOutput) SetNextToken ¶
func (s *ListFindingAggregationsOutput) SetNextToken(v string) *ListFindingAggregationsOutput
SetNextToken sets the NextToken field's value.
func (*ListFindingAggregationsOutput) SetResponses ¶
func (s *ListFindingAggregationsOutput) SetResponses(v []*AggregationResponse) *ListFindingAggregationsOutput
SetResponses sets the Responses field's value.
func (ListFindingAggregationsOutput) String ¶
func (s ListFindingAggregationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ¶
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
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 ¶
func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput
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 ¶
func (s *ListUsageTotalsOutput) SetNextToken(v string) *ListUsageTotalsOutput
SetNextToken sets the NextToken field's value.
func (*ListUsageTotalsOutput) SetTotals ¶
func (s *ListUsageTotalsOutput) SetTotals(v []*UsageTotal) *ListUsageTotalsOutput
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 ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
SetComparison sets the Comparison field's value.
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 ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
SetAccountId sets the AccountId field's value.
func (*Member) SetDelegatedAdminAccountId ¶
SetDelegatedAdminAccountId sets the DelegatedAdminAccountId field's value.
func (*Member) SetRelationshipStatus ¶
SetRelationshipStatus sets the RelationshipStatus field's value.
func (*Member) SetUpdatedAt ¶
SetUpdatedAt sets the UpdatedAt field's value.
type MemberAccountEc2DeepInspectionStatus ¶ added in v1.44.256
type MemberAccountEc2DeepInspectionStatus struct { // The unique identifier for the Amazon Web Services account of the organization // member. // // AccountId is a required field AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"` // Whether Amazon Inspector deep inspection is active in the account. If TRUE // Amazon Inspector deep inspection is active, if FALSE it is not active. // // ActivateDeepInspection is a required field ActivateDeepInspection *bool `locationName:"activateDeepInspection" type:"boolean" required:"true"` // contains filtered or unexported fields }
An object that contains details about the status of Amazon Inspector deep inspection for a member account in your organization.
func (MemberAccountEc2DeepInspectionStatus) GoString ¶ added in v1.44.256
func (s MemberAccountEc2DeepInspectionStatus) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*MemberAccountEc2DeepInspectionStatus) SetAccountId ¶ added in v1.44.256
func (s *MemberAccountEc2DeepInspectionStatus) SetAccountId(v string) *MemberAccountEc2DeepInspectionStatus
SetAccountId sets the AccountId field's value.
func (*MemberAccountEc2DeepInspectionStatus) SetActivateDeepInspection ¶ added in v1.44.256
func (s *MemberAccountEc2DeepInspectionStatus) SetActivateDeepInspection(v bool) *MemberAccountEc2DeepInspectionStatus
SetActivateDeepInspection sets the ActivateDeepInspection field's value.
func (MemberAccountEc2DeepInspectionStatus) String ¶ added in v1.44.256
func (s MemberAccountEc2DeepInspectionStatus) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*MemberAccountEc2DeepInspectionStatus) Validate ¶ added in v1.44.256
func (s *MemberAccountEc2DeepInspectionStatus) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type MemberAccountEc2DeepInspectionStatusState ¶ added in v1.44.256
type MemberAccountEc2DeepInspectionStatusState struct { // The unique identifier for the Amazon Web Services account of the organization // member // // AccountId is a required field AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"` // The error message explaining why the account failed to activate Amazon Inspector // deep inspection. ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string"` // The state of Amazon Inspector deep inspection in the member account. Status *string `locationName:"status" type:"string" enum:"Ec2DeepInspectionStatus"` // contains filtered or unexported fields }
An object that contains details about the state of Amazon Inspector deep inspection for a member account.
func (MemberAccountEc2DeepInspectionStatusState) GoString ¶ added in v1.44.256
func (s MemberAccountEc2DeepInspectionStatusState) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*MemberAccountEc2DeepInspectionStatusState) SetAccountId ¶ added in v1.44.256
func (s *MemberAccountEc2DeepInspectionStatusState) SetAccountId(v string) *MemberAccountEc2DeepInspectionStatusState
SetAccountId sets the AccountId field's value.
func (*MemberAccountEc2DeepInspectionStatusState) SetErrorMessage ¶ added in v1.44.256
func (s *MemberAccountEc2DeepInspectionStatusState) SetErrorMessage(v string) *MemberAccountEc2DeepInspectionStatusState
SetErrorMessage sets the ErrorMessage field's value.
func (*MemberAccountEc2DeepInspectionStatusState) SetStatus ¶ added in v1.44.256
func (s *MemberAccountEc2DeepInspectionStatusState) SetStatus(v string) *MemberAccountEc2DeepInspectionStatusState
SetStatus sets the Status field's value.
func (MemberAccountEc2DeepInspectionStatusState) String ¶ added in v1.44.256
func (s MemberAccountEc2DeepInspectionStatusState) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ¶
func (s *NetworkReachabilityDetails) SetNetworkPath(v *NetworkPath) *NetworkReachabilityDetails
SetNetworkPath sets the NetworkPath field's value.
func (*NetworkReachabilityDetails) SetOpenPortRange ¶
func (s *NetworkReachabilityDetails) SetOpenPortRange(v *PortRange) *NetworkReachabilityDetails
SetOpenPortRange sets the OpenPortRange field's value.
func (*NetworkReachabilityDetails) SetProtocol ¶
func (s *NetworkReachabilityDetails) SetProtocol(v string) *NetworkReachabilityDetails
SetProtocol sets the Protocol field's value.
func (NetworkReachabilityDetails) String ¶
func (s NetworkReachabilityDetails) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ¶
func (s *PackageAggregationResponse) SetAccountId(v string) *PackageAggregationResponse
SetAccountId sets the AccountId field's value.
func (*PackageAggregationResponse) SetPackageName ¶
func (s *PackageAggregationResponse) SetPackageName(v string) *PackageAggregationResponse
SetPackageName sets the PackageName field's value.
func (*PackageAggregationResponse) SetSeverityCounts ¶
func (s *PackageAggregationResponse) SetSeverityCounts(v *SeverityCounts) *PackageAggregationResponse
SetSeverityCounts sets the SeverityCounts field's value.
func (PackageAggregationResponse) String ¶
func (s PackageAggregationResponse) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PackageFilter ¶
type PackageFilter struct { // An object that contains details on the package architecture type to filter // on. Architecture *StringFilter `locationName:"architecture" type:"structure"` // An object that contains details on the package epoch to filter on. Epoch *NumberFilter `locationName:"epoch" type:"structure"` // An object that contains details on the name of the package to filter on. Name *StringFilter `locationName:"name" type:"structure"` // An object that contains details on the package release to filter on. Release *StringFilter `locationName:"release" type:"structure"` // An object that describes the details of a string filter. SourceLambdaLayerArn *StringFilter `locationName:"sourceLambdaLayerArn" type:"structure"` // An object that contains details on the source layer hash to filter on. SourceLayerHash *StringFilter `locationName:"sourceLayerHash" type:"structure"` // The package version to filter on. Version *StringFilter `locationName:"version" type:"structure"` // contains filtered or unexported fields }
Contains information on the details of a package filter.
func (PackageFilter) GoString ¶
func (s PackageFilter) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PackageFilter) SetArchitecture ¶
func (s *PackageFilter) SetArchitecture(v *StringFilter) *PackageFilter
SetArchitecture sets the Architecture field's value.
func (*PackageFilter) SetEpoch ¶
func (s *PackageFilter) SetEpoch(v *NumberFilter) *PackageFilter
SetEpoch sets the Epoch field's value.
func (*PackageFilter) SetName ¶
func (s *PackageFilter) SetName(v *StringFilter) *PackageFilter
SetName sets the Name field's value.
func (*PackageFilter) SetRelease ¶
func (s *PackageFilter) SetRelease(v *StringFilter) *PackageFilter
SetRelease sets the Release field's value.
func (*PackageFilter) SetSourceLambdaLayerArn ¶ added in v1.44.147
func (s *PackageFilter) SetSourceLambdaLayerArn(v *StringFilter) *PackageFilter
SetSourceLambdaLayerArn sets the SourceLambdaLayerArn field's value.
func (*PackageFilter) SetSourceLayerHash ¶
func (s *PackageFilter) SetSourceLayerHash(v *StringFilter) *PackageFilter
SetSourceLayerHash sets the SourceLayerHash field's value.
func (*PackageFilter) SetVersion ¶
func (s *PackageFilter) SetVersion(v *StringFilter) *PackageFilter
SetVersion sets the Version field's value.
func (PackageFilter) String ¶
func (s PackageFilter) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PackageFilter) Validate ¶
func (s *PackageFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PackageVulnerabilityDetails ¶
type PackageVulnerabilityDetails struct { // An object that contains details about the CVSS score of a finding. Cvss []*CvssScore `locationName:"cvss" type:"list"` // One or more URLs that contain details about this vulnerability type. ReferenceUrls []*string `locationName:"referenceUrls" type:"list"` // One or more vulnerabilities related to the one identified in this finding. RelatedVulnerabilities []*string `locationName:"relatedVulnerabilities" type:"list"` // The source of the vulnerability information. // // Source is a required field Source *string `locationName:"source" min:"1" type:"string" required:"true"` // A URL to the source of the vulnerability information. SourceUrl *string `locationName:"sourceUrl" min:"1" type:"string"` // The date and time that this vulnerability was first added to the vendor's // database. VendorCreatedAt *time.Time `locationName:"vendorCreatedAt" type:"timestamp"` // The severity the vendor has given to this vulnerability type. VendorSeverity *string `locationName:"vendorSeverity" min:"1" type:"string"` // The date and time the vendor last updated this vulnerability in their database. VendorUpdatedAt *time.Time `locationName:"vendorUpdatedAt" type:"timestamp"` // The ID given to this vulnerability. // // VulnerabilityId is a required field VulnerabilityId *string `locationName:"vulnerabilityId" min:"1" type:"string" required:"true"` // The packages impacted by this vulnerability. VulnerablePackages []*VulnerablePackage `locationName:"vulnerablePackages" type:"list"` // contains filtered or unexported fields }
Information about a package vulnerability finding.
func (PackageVulnerabilityDetails) GoString ¶
func (s PackageVulnerabilityDetails) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PackageVulnerabilityDetails) SetCvss ¶
func (s *PackageVulnerabilityDetails) SetCvss(v []*CvssScore) *PackageVulnerabilityDetails
SetCvss sets the Cvss field's value.
func (*PackageVulnerabilityDetails) SetReferenceUrls ¶
func (s *PackageVulnerabilityDetails) SetReferenceUrls(v []*string) *PackageVulnerabilityDetails
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 ¶
func (s *PackageVulnerabilityDetails) SetSource(v string) *PackageVulnerabilityDetails
SetSource sets the Source field's value.
func (*PackageVulnerabilityDetails) SetSourceUrl ¶
func (s *PackageVulnerabilityDetails) SetSourceUrl(v string) *PackageVulnerabilityDetails
SetSourceUrl sets the SourceUrl field's value.
func (*PackageVulnerabilityDetails) SetVendorCreatedAt ¶
func (s *PackageVulnerabilityDetails) SetVendorCreatedAt(v time.Time) *PackageVulnerabilityDetails
SetVendorCreatedAt sets the VendorCreatedAt field's value.
func (*PackageVulnerabilityDetails) SetVendorSeverity ¶
func (s *PackageVulnerabilityDetails) SetVendorSeverity(v string) *PackageVulnerabilityDetails
SetVendorSeverity sets the VendorSeverity field's value.
func (*PackageVulnerabilityDetails) SetVendorUpdatedAt ¶
func (s *PackageVulnerabilityDetails) SetVendorUpdatedAt(v time.Time) *PackageVulnerabilityDetails
SetVendorUpdatedAt sets the VendorUpdatedAt field's value.
func (*PackageVulnerabilityDetails) SetVulnerabilityId ¶
func (s *PackageVulnerabilityDetails) SetVulnerabilityId(v string) *PackageVulnerabilityDetails
SetVulnerabilityId sets the VulnerabilityId field's value.
func (*PackageVulnerabilityDetails) SetVulnerablePackages ¶
func (s *PackageVulnerabilityDetails) SetVulnerablePackages(v []*VulnerablePackage) *PackageVulnerabilityDetails
SetVulnerablePackages sets the VulnerablePackages field's value.
func (PackageVulnerabilityDetails) String ¶
func (s PackageVulnerabilityDetails) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ¶
func (s *RepositoryAggregation) SetSortBy(v string) *RepositoryAggregation
SetSortBy sets the SortBy field's value.
func (*RepositoryAggregation) SetSortOrder ¶
func (s *RepositoryAggregation) SetSortOrder(v string) *RepositoryAggregation
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 ¶
func (s RepositoryAggregationResponse) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s *RepositoryAggregationResponse) SetAccountId(v string) *RepositoryAggregationResponse
SetAccountId sets the AccountId field's value.
func (*RepositoryAggregationResponse) SetAffectedImages ¶
func (s *RepositoryAggregationResponse) SetAffectedImages(v int64) *RepositoryAggregationResponse
SetAffectedImages sets the AffectedImages field's value.
func (*RepositoryAggregationResponse) SetRepository ¶
func (s *RepositoryAggregationResponse) SetRepository(v string) *RepositoryAggregationResponse
SetRepository sets the Repository field's value.
func (*RepositoryAggregationResponse) SetSeverityCounts ¶
func (s *RepositoryAggregationResponse) SetSeverityCounts(v *SeverityCounts) *RepositoryAggregationResponse
SetSeverityCounts sets the SeverityCounts field's value.
func (RepositoryAggregationResponse) String ¶
func (s RepositoryAggregationResponse) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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) SetPartition ¶
SetPartition sets the Partition field's value.
type ResourceDetails ¶
type ResourceDetails struct { // An object that contains details about the Amazon EC2 instance involved in // the finding. AwsEc2Instance *AwsEc2InstanceDetails `locationName:"awsEc2Instance" type:"structure"` // An object that contains details about the Amazon ECR container image involved // in the finding. AwsEcrContainerImage *AwsEcrContainerImageDetails `locationName:"awsEcrContainerImage" type:"structure"` // A summary of the information about an AWS Lambda function affected by a finding. AwsLambdaFunction *AwsLambdaFunctionDetails `locationName:"awsLambdaFunction" type:"structure"` // contains filtered or unexported fields }
Contains details about the resource involved in the finding.
func (ResourceDetails) GoString ¶
func (s ResourceDetails) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceDetails) SetAwsEc2Instance ¶
func (s *ResourceDetails) SetAwsEc2Instance(v *AwsEc2InstanceDetails) *ResourceDetails
SetAwsEc2Instance sets the AwsEc2Instance field's value.
func (*ResourceDetails) SetAwsEcrContainerImage ¶
func (s *ResourceDetails) SetAwsEcrContainerImage(v *AwsEcrContainerImageDetails) *ResourceDetails
SetAwsEcrContainerImage sets the AwsEcrContainerImage field's value.
func (*ResourceDetails) SetAwsLambdaFunction ¶ added in v1.44.147
func (s *ResourceDetails) SetAwsLambdaFunction(v *AwsLambdaFunctionDetails) *ResourceDetails
SetAwsLambdaFunction sets the AwsLambdaFunction field's value.
func (ResourceDetails) String ¶
func (s ResourceDetails) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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 ¶
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (*ResourceNotFoundException) Error ¶
func (s *ResourceNotFoundException) Error() string
func (ResourceNotFoundException) GoString ¶
func (s ResourceNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceNotFoundException) Message ¶
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (*ResourceNotFoundException) OrigErr ¶
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceNotFoundException) RequestID ¶
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceNotFoundException) StatusCode ¶
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceNotFoundException) String ¶
func (s ResourceNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceScanMetadata ¶
type ResourceScanMetadata struct { // An object that contains metadata details for an Amazon EC2 instance. Ec2 *Ec2Metadata `locationName:"ec2" type:"structure"` // An object that contains details about the container metadata for an Amazon // ECR image. EcrImage *EcrContainerImageMetadata `locationName:"ecrImage" type:"structure"` // An object that contains details about the repository an Amazon ECR image // resides in. EcrRepository *EcrRepositoryMetadata `locationName:"ecrRepository" type:"structure"` // An object that contains metadata details for an AWS Lambda function. LambdaFunction *LambdaFunctionMetadata `locationName:"lambdaFunction" type:"structure"` // contains filtered or unexported fields }
An object that contains details about the metadata for an Amazon ECR resource.
func (ResourceScanMetadata) GoString ¶
func (s ResourceScanMetadata) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceScanMetadata) SetEc2 ¶
func (s *ResourceScanMetadata) SetEc2(v *Ec2Metadata) *ResourceScanMetadata
SetEc2 sets the Ec2 field's value.
func (*ResourceScanMetadata) SetEcrImage ¶
func (s *ResourceScanMetadata) SetEcrImage(v *EcrContainerImageMetadata) *ResourceScanMetadata
SetEcrImage sets the EcrImage field's value.
func (*ResourceScanMetadata) SetEcrRepository ¶
func (s *ResourceScanMetadata) SetEcrRepository(v *EcrRepositoryMetadata) *ResourceScanMetadata
SetEcrRepository sets the EcrRepository field's value.
func (*ResourceScanMetadata) SetLambdaFunction ¶ added in v1.44.147
func (s *ResourceScanMetadata) SetLambdaFunction(v *LambdaFunctionMetadata) *ResourceScanMetadata
SetLambdaFunction sets the LambdaFunction field's value.
func (ResourceScanMetadata) String ¶
func (s ResourceScanMetadata) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceState ¶
type ResourceState struct { // An object detailing the state of Amazon Inspector scanning for Amazon EC2 // resources. // // Ec2 is a required field Ec2 *State `locationName:"ec2" type:"structure" required:"true"` // An object detailing the state of Amazon Inspector scanning for Amazon ECR // resources. // // Ecr is a required field Ecr *State `locationName:"ecr" type:"structure" required:"true"` // An object that described the state of Amazon Inspector scans for an account. Lambda *State `locationName:"lambda" type:"structure"` // contains filtered or unexported fields }
Details the state of Amazon Inspector for each resource type Amazon Inspector scans.
func (ResourceState) GoString ¶
func (s ResourceState) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceState) SetEc2 ¶
func (s *ResourceState) SetEc2(v *State) *ResourceState
SetEc2 sets the Ec2 field's value.
func (*ResourceState) SetEcr ¶
func (s *ResourceState) SetEcr(v *State) *ResourceState
SetEcr sets the Ecr field's value.
func (*ResourceState) SetLambda ¶ added in v1.44.147
func (s *ResourceState) SetLambda(v *State) *ResourceState
SetLambda sets the Lambda field's value.
func (ResourceState) String ¶
func (s ResourceState) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceStatus ¶
type ResourceStatus struct { // The status of Amazon Inspector scanning for Amazon EC2 resources. // // Ec2 is a required field Ec2 *string `locationName:"ec2" type:"string" required:"true" enum:"Status"` // The status of Amazon Inspector scanning for Amazon ECR resources. // // Ecr is a required field Ecr *string `locationName:"ecr" type:"string" required:"true" enum:"Status"` // The status of Amazon Inspector scanning for AWS Lambda function. Lambda *string `locationName:"lambda" type:"string" enum:"Status"` // contains filtered or unexported fields }
Details the status of Amazon Inspector for each resource type Amazon Inspector scans.
func (ResourceStatus) GoString ¶
func (s ResourceStatus) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceStatus) SetEc2 ¶
func (s *ResourceStatus) SetEc2(v string) *ResourceStatus
SetEc2 sets the Ec2 field's value.
func (*ResourceStatus) SetEcr ¶
func (s *ResourceStatus) SetEcr(v string) *ResourceStatus
SetEcr sets the Ecr field's value.
func (*ResourceStatus) SetLambda ¶ added in v1.44.147
func (s *ResourceStatus) SetLambda(v string) *ResourceStatus
SetLambda sets the Lambda field's value.
func (ResourceStatus) 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 ¶
func (s *ServiceQuotaExceededException) Code() string
Code returns the exception type name.
func (*ServiceQuotaExceededException) Error ¶
func (s *ServiceQuotaExceededException) Error() string
func (ServiceQuotaExceededException) GoString ¶
func (s ServiceQuotaExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s *ServiceQuotaExceededException) Message() string
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 ¶
func (s ServiceQuotaExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
SetErrorCode sets the ErrorCode field's value.
func (*State) SetErrorMessage ¶
SetErrorMessage sets the ErrorMessage field's value.
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 ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
SetComponentId sets the ComponentId field's value.
func (*Step) SetComponentType ¶
SetComponentType sets the ComponentType field's value.
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"` // The number of seconds to wait before retrying the request. RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"` // contains filtered or unexported fields }
The limit on the number of requests per second was exceeded.
func (*ThrottlingException) Code ¶
func (s *ThrottlingException) Code() string
Code returns the exception type name.
func (*ThrottlingException) Error ¶
func (s *ThrottlingException) Error() string
func (ThrottlingException) GoString ¶
func (s ThrottlingException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ThrottlingException) Message ¶
func (s *ThrottlingException) Message() string
Message returns the exception's message.
func (*ThrottlingException) OrigErr ¶
func (s *ThrottlingException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ThrottlingException) RequestID ¶
func (s *ThrottlingException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ThrottlingException) StatusCode ¶
func (s *ThrottlingException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ThrottlingException) String ¶
func (s ThrottlingException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TitleAggregation ¶
type TitleAggregation struct { // The 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 ¶
func (s *TitleAggregationResponse) SetAccountId(v string) *TitleAggregationResponse
SetAccountId sets the AccountId field's value.
func (*TitleAggregationResponse) SetSeverityCounts ¶
func (s *TitleAggregationResponse) SetSeverityCounts(v *SeverityCounts) *TitleAggregationResponse
SetSeverityCounts sets the SeverityCounts field's value.
func (*TitleAggregationResponse) SetTitle ¶
func (s *TitleAggregationResponse) SetTitle(v string) *TitleAggregationResponse
SetTitle sets the Title field's value.
func (*TitleAggregationResponse) SetVulnerabilityId ¶
func (s *TitleAggregationResponse) SetVulnerabilityId(v string) *TitleAggregationResponse
SetVulnerabilityId sets the VulnerabilityId field's value.
func (TitleAggregationResponse) String ¶
func (s TitleAggregationResponse) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) for the resource to remove tags from. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"` // The tag keys to remove from the resource. // // TagKeys is a required field TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagResourceInput) GoString ¶
func (s UntagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UntagResourceInput) SetResourceArn ¶
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*UntagResourceInput) SetTagKeys ¶
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
func (UntagResourceInput) String ¶
func (s UntagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UntagResourceInput) Validate ¶
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) GoString ¶
func (s UntagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (UntagResourceOutput) String ¶
func (s UntagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateConfigurationInput ¶ added in v1.44.55
type UpdateConfigurationInput struct { // Specifies how the ECR automated re-scan will be updated for your environment. // // EcrConfiguration is a required field EcrConfiguration *EcrConfiguration `locationName:"ecrConfiguration" type:"structure" required:"true"` // contains filtered or unexported fields }
func (UpdateConfigurationInput) GoString ¶ added in v1.44.55
func (s UpdateConfigurationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateConfigurationInput) SetEcrConfiguration ¶ added in v1.44.55
func (s *UpdateConfigurationInput) SetEcrConfiguration(v *EcrConfiguration) *UpdateConfigurationInput
SetEcrConfiguration sets the EcrConfiguration field's value.
func (UpdateConfigurationInput) String ¶ added in v1.44.55
func (s UpdateConfigurationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateConfigurationInput) Validate ¶ added in v1.44.55
func (s *UpdateConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateConfigurationOutput ¶ added in v1.44.55
type UpdateConfigurationOutput struct {
// contains filtered or unexported fields
}
func (UpdateConfigurationOutput) GoString ¶ added in v1.44.55
func (s UpdateConfigurationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (UpdateConfigurationOutput) String ¶ added in v1.44.55
func (s UpdateConfigurationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateEc2DeepInspectionConfigurationInput ¶ added in v1.44.256
type UpdateEc2DeepInspectionConfigurationInput struct { // Specify TRUE to activate Amazon Inspector deep inspection in your account, // or FALSE to deactivate. Member accounts in an organization cannot deactivate // deep inspection, instead the delegated administrator for the organization // can deactivate a member account using BatchUpdateMemberEc2DeepInspectionStatus // (https://docs.aws.amazon.com/inspector/v2/APIReference/API_BatchUpdateMemberEc2DeepInspectionStatus.html). ActivateDeepInspection *bool `locationName:"activateDeepInspection" type:"boolean"` // The Amazon Inspector deep inspection custom paths you are adding for your // account. PackagePaths []*string `locationName:"packagePaths" type:"list"` // contains filtered or unexported fields }
func (UpdateEc2DeepInspectionConfigurationInput) GoString ¶ added in v1.44.256
func (s UpdateEc2DeepInspectionConfigurationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateEc2DeepInspectionConfigurationInput) SetActivateDeepInspection ¶ added in v1.44.256
func (s *UpdateEc2DeepInspectionConfigurationInput) SetActivateDeepInspection(v bool) *UpdateEc2DeepInspectionConfigurationInput
SetActivateDeepInspection sets the ActivateDeepInspection field's value.
func (*UpdateEc2DeepInspectionConfigurationInput) SetPackagePaths ¶ added in v1.44.256
func (s *UpdateEc2DeepInspectionConfigurationInput) SetPackagePaths(v []*string) *UpdateEc2DeepInspectionConfigurationInput
SetPackagePaths sets the PackagePaths field's value.
func (UpdateEc2DeepInspectionConfigurationInput) String ¶ added in v1.44.256
func (s UpdateEc2DeepInspectionConfigurationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateEc2DeepInspectionConfigurationOutput ¶ added in v1.44.256
type UpdateEc2DeepInspectionConfigurationOutput struct { // An error message explaining why new Amazon Inspector deep inspection custom // paths could not be added. ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string"` // The current Amazon Inspector deep inspection custom paths for the organization. OrgPackagePaths []*string `locationName:"orgPackagePaths" type:"list"` // The current Amazon Inspector deep inspection custom paths for your account. PackagePaths []*string `locationName:"packagePaths" type:"list"` // The status of Amazon Inspector deep inspection in your account. Status *string `locationName:"status" type:"string" enum:"Ec2DeepInspectionStatus"` // contains filtered or unexported fields }
func (UpdateEc2DeepInspectionConfigurationOutput) GoString ¶ added in v1.44.256
func (s UpdateEc2DeepInspectionConfigurationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateEc2DeepInspectionConfigurationOutput) SetErrorMessage ¶ added in v1.44.256
func (s *UpdateEc2DeepInspectionConfigurationOutput) SetErrorMessage(v string) *UpdateEc2DeepInspectionConfigurationOutput
SetErrorMessage sets the ErrorMessage field's value.
func (*UpdateEc2DeepInspectionConfigurationOutput) SetOrgPackagePaths ¶ added in v1.44.256
func (s *UpdateEc2DeepInspectionConfigurationOutput) SetOrgPackagePaths(v []*string) *UpdateEc2DeepInspectionConfigurationOutput
SetOrgPackagePaths sets the OrgPackagePaths field's value.
func (*UpdateEc2DeepInspectionConfigurationOutput) SetPackagePaths ¶ added in v1.44.256
func (s *UpdateEc2DeepInspectionConfigurationOutput) SetPackagePaths(v []*string) *UpdateEc2DeepInspectionConfigurationOutput
SetPackagePaths sets the PackagePaths field's value.
func (*UpdateEc2DeepInspectionConfigurationOutput) SetStatus ¶ added in v1.44.256
func (s *UpdateEc2DeepInspectionConfigurationOutput) SetStatus(v string) *UpdateEc2DeepInspectionConfigurationOutput
SetStatus sets the Status field's value.
func (UpdateEc2DeepInspectionConfigurationOutput) String ¶ added in v1.44.256
func (s UpdateEc2DeepInspectionConfigurationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateFilterInput ¶
type UpdateFilterInput struct { // Specifies the action that is to be applied to the findings that match the // filter. Action *string `locationName:"action" type:"string" enum:"FilterAction"` // A description of the filter. Description *string `locationName:"description" min:"1" type:"string"` // The Amazon Resource Number (ARN) of the filter to update. // // FilterArn is a required field FilterArn *string `locationName:"filterArn" min:"1" type:"string" required:"true"` // Defines the criteria to be update in the filter. FilterCriteria *FilterCriteria `locationName:"filterCriteria" type:"structure"` // The name of the filter. Name *string `locationName:"name" min:"1" type:"string"` // The reason the filter was updated. Reason *string `locationName:"reason" min:"1" type:"string"` // contains filtered or unexported fields }
func (UpdateFilterInput) GoString ¶
func (s UpdateFilterInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateFilterInput) SetAction ¶
func (s *UpdateFilterInput) SetAction(v string) *UpdateFilterInput
SetAction sets the Action field's value.
func (*UpdateFilterInput) SetDescription ¶
func (s *UpdateFilterInput) SetDescription(v string) *UpdateFilterInput
SetDescription sets the Description field's value.
func (*UpdateFilterInput) SetFilterArn ¶
func (s *UpdateFilterInput) SetFilterArn(v string) *UpdateFilterInput
SetFilterArn sets the FilterArn field's value.
func (*UpdateFilterInput) SetFilterCriteria ¶
func (s *UpdateFilterInput) SetFilterCriteria(v *FilterCriteria) *UpdateFilterInput
SetFilterCriteria sets the FilterCriteria field's value.
func (*UpdateFilterInput) SetName ¶
func (s *UpdateFilterInput) SetName(v string) *UpdateFilterInput
SetName sets the Name field's value.
func (*UpdateFilterInput) SetReason ¶ added in v1.44.55
func (s *UpdateFilterInput) SetReason(v string) *UpdateFilterInput
SetReason sets the Reason field's value.
func (UpdateFilterInput) String ¶
func (s UpdateFilterInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateFilterInput) Validate ¶
func (s *UpdateFilterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateFilterOutput ¶
type UpdateFilterOutput struct { // The Amazon Resource Number (ARN) of the successfully updated filter. // // Arn is a required field Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateFilterOutput) GoString ¶
func (s UpdateFilterOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateFilterOutput) SetArn ¶
func (s *UpdateFilterOutput) SetArn(v string) *UpdateFilterOutput
SetArn sets the Arn field's value.
func (UpdateFilterOutput) String ¶
func (s UpdateFilterOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateOrgEc2DeepInspectionConfigurationInput ¶ added in v1.44.256
type UpdateOrgEc2DeepInspectionConfigurationInput struct { // The Amazon Inspector deep inspection custom paths you are adding for your // organization. // // OrgPackagePaths is a required field OrgPackagePaths []*string `locationName:"orgPackagePaths" type:"list" required:"true"` // contains filtered or unexported fields }
func (UpdateOrgEc2DeepInspectionConfigurationInput) GoString ¶ added in v1.44.256
func (s UpdateOrgEc2DeepInspectionConfigurationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateOrgEc2DeepInspectionConfigurationInput) SetOrgPackagePaths ¶ added in v1.44.256
func (s *UpdateOrgEc2DeepInspectionConfigurationInput) SetOrgPackagePaths(v []*string) *UpdateOrgEc2DeepInspectionConfigurationInput
SetOrgPackagePaths sets the OrgPackagePaths field's value.
func (UpdateOrgEc2DeepInspectionConfigurationInput) String ¶ added in v1.44.256
func (s UpdateOrgEc2DeepInspectionConfigurationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateOrgEc2DeepInspectionConfigurationInput) Validate ¶ added in v1.44.256
func (s *UpdateOrgEc2DeepInspectionConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateOrgEc2DeepInspectionConfigurationOutput ¶ added in v1.44.256
type UpdateOrgEc2DeepInspectionConfigurationOutput struct {
// contains filtered or unexported fields
}
func (UpdateOrgEc2DeepInspectionConfigurationOutput) GoString ¶ added in v1.44.256
func (s UpdateOrgEc2DeepInspectionConfigurationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (UpdateOrgEc2DeepInspectionConfigurationOutput) String ¶ added in v1.44.256
func (s UpdateOrgEc2DeepInspectionConfigurationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ¶
func (s UpdateOrganizationConfigurationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s *UpdateOrganizationConfigurationInput) SetAutoEnable(v *AutoEnable) *UpdateOrganizationConfigurationInput
SetAutoEnable sets the AutoEnable field's value.
func (UpdateOrganizationConfigurationInput) String ¶
func (s UpdateOrganizationConfigurationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s *UpdateOrganizationConfigurationInput) Validate() error
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 ¶
func (s UpdateOrganizationConfigurationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
func (s *UpdateOrganizationConfigurationOutput) SetAutoEnable(v *AutoEnable) *UpdateOrganizationConfigurationOutput
SetAutoEnable sets the AutoEnable field's value.
func (UpdateOrganizationConfigurationOutput) String ¶
func (s UpdateOrganizationConfigurationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the 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 ¶
SetCurrency sets the Currency field's value.
func (*Usage) SetEstimatedMonthlyCost ¶
SetEstimatedMonthlyCost sets the EstimatedMonthlyCost field's value.
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 ¶
func (s *ValidationExceptionField) SetMessage(v string) *ValidationExceptionField
SetMessage sets the Message field's value.
func (*ValidationExceptionField) SetName ¶
func (s *ValidationExceptionField) SetName(v string) *ValidationExceptionField
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 code to run in your environment to update packages with a fix available. Remediation *string `locationName:"remediation" min:"1" type:"string"` // The Amazon Resource Number (ARN) of the AWS Lambda function affected by a // finding. SourceLambdaLayerArn *string `locationName:"sourceLambdaLayerArn" type:"string"` // The source layer hash of the vulnerable package. SourceLayerHash *string `locationName:"sourceLayerHash" min:"71" type:"string"` // The version of the vulnerable package. // // Version is a required field Version *string `locationName:"version" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Information on the vulnerable package identified by a finding.
func (VulnerablePackage) GoString ¶
func (s VulnerablePackage) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VulnerablePackage) SetArch ¶
func (s *VulnerablePackage) SetArch(v string) *VulnerablePackage
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 ¶
func (s *VulnerablePackage) SetName(v string) *VulnerablePackage
SetName sets the Name field's value.
func (*VulnerablePackage) SetPackageManager ¶
func (s *VulnerablePackage) SetPackageManager(v string) *VulnerablePackage
SetPackageManager sets the PackageManager field's value.
func (*VulnerablePackage) SetRelease ¶
func (s *VulnerablePackage) SetRelease(v string) *VulnerablePackage
SetRelease sets the Release field's value.
func (*VulnerablePackage) SetRemediation ¶ added in v1.44.93
func (s *VulnerablePackage) SetRemediation(v string) *VulnerablePackage
SetRemediation sets the Remediation field's value.
func (*VulnerablePackage) SetSourceLambdaLayerArn ¶ added in v1.44.147
func (s *VulnerablePackage) SetSourceLambdaLayerArn(v string) *VulnerablePackage
SetSourceLambdaLayerArn sets the SourceLambdaLayerArn field's value.
func (*VulnerablePackage) SetSourceLayerHash ¶
func (s *VulnerablePackage) SetSourceLayerHash(v string) *VulnerablePackage
SetSourceLayerHash sets the SourceLayerHash field's value.
func (*VulnerablePackage) SetVersion ¶
func (s *VulnerablePackage) SetVersion(v string) *VulnerablePackage
SetVersion sets the Version field's value.
func (VulnerablePackage) String ¶
func (s VulnerablePackage) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
Directories
¶
Path | Synopsis |
---|---|
Package inspector2iface provides an interface to enable mocking the Inspector2 service client for testing your code.
|
Package inspector2iface provides an interface to enable mocking the Inspector2 service client for testing your code. |