...
AWS SDK for Go API Reference
We announced the upcoming end-of-support for AWS SDK for Go (v1). We recommend that you migrate to AWS SDK for Go v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
import "github.com/aws/aws-sdk-go/service/inspector2"
Overview
Constants

Overview ▾

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

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

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

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

Using the Client

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

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

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

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

The stub package, inspector2iface, can be used to provide alternative implementations of service clients, such as mocking the client for testing.

Operations ▾

Types ▾

type Inspector2
func New(p client.ConfigProvider, cfgs ...*aws.Config) *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) BatchGetCodeSnippet(input *BatchGetCodeSnippetInput) (*BatchGetCodeSnippetOutput, error)
func (c *Inspector2) BatchGetCodeSnippetRequest(input *BatchGetCodeSnippetInput) (req *request.Request, output *BatchGetCodeSnippetOutput)
func (c *Inspector2) BatchGetCodeSnippetWithContext(ctx aws.Context, input *BatchGetCodeSnippetInput, opts ...request.Option) (*BatchGetCodeSnippetOutput, error)
func (c *Inspector2) BatchGetFindingDetails(input *BatchGetFindingDetailsInput) (*BatchGetFindingDetailsOutput, error)
func (c *Inspector2) BatchGetFindingDetailsRequest(input *BatchGetFindingDetailsInput) (req *request.Request, output *BatchGetFindingDetailsOutput)
func (c *Inspector2) BatchGetFindingDetailsWithContext(ctx aws.Context, input *BatchGetFindingDetailsInput, opts ...request.Option) (*BatchGetFindingDetailsOutput, 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, opts ...request.Option) (*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, opts ...request.Option) (*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) CancelSbomExport(input *CancelSbomExportInput) (*CancelSbomExportOutput, error)
func (c *Inspector2) CancelSbomExportRequest(input *CancelSbomExportInput) (req *request.Request, output *CancelSbomExportOutput)
func (c *Inspector2) CancelSbomExportWithContext(ctx aws.Context, input *CancelSbomExportInput, opts ...request.Option) (*CancelSbomExportOutput, error)
func (c *Inspector2) CreateCisScanConfiguration(input *CreateCisScanConfigurationInput) (*CreateCisScanConfigurationOutput, error)
func (c *Inspector2) CreateCisScanConfigurationRequest(input *CreateCisScanConfigurationInput) (req *request.Request, output *CreateCisScanConfigurationOutput)
func (c *Inspector2) CreateCisScanConfigurationWithContext(ctx aws.Context, input *CreateCisScanConfigurationInput, opts ...request.Option) (*CreateCisScanConfigurationOutput, 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) CreateSbomExport(input *CreateSbomExportInput) (*CreateSbomExportOutput, error)
func (c *Inspector2) CreateSbomExportRequest(input *CreateSbomExportInput) (req *request.Request, output *CreateSbomExportOutput)
func (c *Inspector2) CreateSbomExportWithContext(ctx aws.Context, input *CreateSbomExportInput, opts ...request.Option) (*CreateSbomExportOutput, error)
func (c *Inspector2) DeleteCisScanConfiguration(input *DeleteCisScanConfigurationInput) (*DeleteCisScanConfigurationOutput, error)
func (c *Inspector2) DeleteCisScanConfigurationRequest(input *DeleteCisScanConfigurationInput) (req *request.Request, output *DeleteCisScanConfigurationOutput)
func (c *Inspector2) DeleteCisScanConfigurationWithContext(ctx aws.Context, input *DeleteCisScanConfigurationInput, opts ...request.Option) (*DeleteCisScanConfigurationOutput, 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, opts ...request.Option) (*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, opts ...request.Option) (*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, opts ...request.Option) (*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) GetCisScanReport(input *GetCisScanReportInput) (*GetCisScanReportOutput, error)
func (c *Inspector2) GetCisScanReportRequest(input *GetCisScanReportInput) (req *request.Request, output *GetCisScanReportOutput)
func (c *Inspector2) GetCisScanReportWithContext(ctx aws.Context, input *GetCisScanReportInput, opts ...request.Option) (*GetCisScanReportOutput, error)
func (c *Inspector2) GetCisScanResultDetails(input *GetCisScanResultDetailsInput) (*GetCisScanResultDetailsOutput, error)
func (c *Inspector2) GetCisScanResultDetailsPages(input *GetCisScanResultDetailsInput, fn func(*GetCisScanResultDetailsOutput, bool) bool) error
func (c *Inspector2) GetCisScanResultDetailsPagesWithContext(ctx aws.Context, input *GetCisScanResultDetailsInput, fn func(*GetCisScanResultDetailsOutput, bool) bool, opts ...request.Option) error
func (c *Inspector2) GetCisScanResultDetailsRequest(input *GetCisScanResultDetailsInput) (req *request.Request, output *GetCisScanResultDetailsOutput)
func (c *Inspector2) GetCisScanResultDetailsWithContext(ctx aws.Context, input *GetCisScanResultDetailsInput, opts ...request.Option) (*GetCisScanResultDetailsOutput, 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, opts ...request.Option) (*GetEc2DeepInspectionConfigurationOutput, error)
func (c *Inspector2) GetEncryptionKey(input *GetEncryptionKeyInput) (*GetEncryptionKeyOutput, error)
func (c *Inspector2) GetEncryptionKeyRequest(input *GetEncryptionKeyInput) (req *request.Request, output *GetEncryptionKeyOutput)
func (c *Inspector2) GetEncryptionKeyWithContext(ctx aws.Context, input *GetEncryptionKeyInput, opts ...request.Option) (*GetEncryptionKeyOutput, 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) GetSbomExport(input *GetSbomExportInput) (*GetSbomExportOutput, error)
func (c *Inspector2) GetSbomExportRequest(input *GetSbomExportInput) (req *request.Request, output *GetSbomExportOutput)
func (c *Inspector2) GetSbomExportWithContext(ctx aws.Context, input *GetSbomExportInput, opts ...request.Option) (*GetSbomExportOutput, error)
func (c *Inspector2) ListAccountPermissions(input *ListAccountPermissionsInput) (*ListAccountPermissionsOutput, error)
func (c *Inspector2) ListAccountPermissionsPages(input *ListAccountPermissionsInput, fn func(*ListAccountPermissionsOutput, bool) bool) error
func (c *Inspector2) ListAccountPermissionsPagesWithContext(ctx aws.Context, input *ListAccountPermissionsInput, fn func(*ListAccountPermissionsOutput, bool) bool, opts ...request.Option) 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) ListCisScanConfigurations(input *ListCisScanConfigurationsInput) (*ListCisScanConfigurationsOutput, error)
func (c *Inspector2) ListCisScanConfigurationsPages(input *ListCisScanConfigurationsInput, fn func(*ListCisScanConfigurationsOutput, bool) bool) error
func (c *Inspector2) ListCisScanConfigurationsPagesWithContext(ctx aws.Context, input *ListCisScanConfigurationsInput, fn func(*ListCisScanConfigurationsOutput, bool) bool, opts ...request.Option) error
func (c *Inspector2) ListCisScanConfigurationsRequest(input *ListCisScanConfigurationsInput) (req *request.Request, output *ListCisScanConfigurationsOutput)
func (c *Inspector2) ListCisScanConfigurationsWithContext(ctx aws.Context, input *ListCisScanConfigurationsInput, opts ...request.Option) (*ListCisScanConfigurationsOutput, error)
func (c *Inspector2) ListCisScanResultsAggregatedByChecks(input *ListCisScanResultsAggregatedByChecksInput) (*ListCisScanResultsAggregatedByChecksOutput, error)
func (c *Inspector2) ListCisScanResultsAggregatedByChecksPages(input *ListCisScanResultsAggregatedByChecksInput, fn func(*ListCisScanResultsAggregatedByChecksOutput, bool) bool) error
func (c *Inspector2) ListCisScanResultsAggregatedByChecksPagesWithContext(ctx aws.Context, input *ListCisScanResultsAggregatedByChecksInput, fn func(*ListCisScanResultsAggregatedByChecksOutput, bool) bool, opts ...request.Option) error
func (c *Inspector2) ListCisScanResultsAggregatedByChecksRequest(input *ListCisScanResultsAggregatedByChecksInput) (req *request.Request, output *ListCisScanResultsAggregatedByChecksOutput)
func (c *Inspector2) ListCisScanResultsAggregatedByChecksWithContext(ctx aws.Context, input *ListCisScanResultsAggregatedByChecksInput, opts ...request.Option) (*ListCisScanResultsAggregatedByChecksOutput, error)
func (c *Inspector2) ListCisScanResultsAggregatedByTargetResource(input *ListCisScanResultsAggregatedByTargetResourceInput) (*ListCisScanResultsAggregatedByTargetResourceOutput, error)
func (c *Inspector2) ListCisScanResultsAggregatedByTargetResourcePages(input *ListCisScanResultsAggregatedByTargetResourceInput, fn func(*ListCisScanResultsAggregatedByTargetResourceOutput, bool) bool) error
func (c *Inspector2) ListCisScanResultsAggregatedByTargetResourcePagesWithContext(ctx aws.Context, input *ListCisScanResultsAggregatedByTargetResourceInput, fn func(*ListCisScanResultsAggregatedByTargetResourceOutput, bool) bool, opts ...request.Option) error
func (c *Inspector2) ListCisScanResultsAggregatedByTargetResourceRequest(input *ListCisScanResultsAggregatedByTargetResourceInput) (req *request.Request, output *ListCisScanResultsAggregatedByTargetResourceOutput)
func (c *Inspector2) ListCisScanResultsAggregatedByTargetResourceWithContext(ctx aws.Context, input *ListCisScanResultsAggregatedByTargetResourceInput, opts ...request.Option) (*ListCisScanResultsAggregatedByTargetResourceOutput, error)
func (c *Inspector2) ListCisScans(input *ListCisScansInput) (*ListCisScansOutput, error)
func (c *Inspector2) ListCisScansPages(input *ListCisScansInput, fn func(*ListCisScansOutput, bool) bool) error
func (c *Inspector2) ListCisScansPagesWithContext(ctx aws.Context, input *ListCisScansInput, fn func(*ListCisScansOutput, bool) bool, opts ...request.Option) error
func (c *Inspector2) ListCisScansRequest(input *ListCisScansInput) (req *request.Request, output *ListCisScansOutput)
func (c *Inspector2) ListCisScansWithContext(ctx aws.Context, input *ListCisScansInput, opts ...request.Option) (*ListCisScansOutput, 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, fn func(*ListCoverageOutput, bool) bool, opts ...request.Option) 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, fn func(*ListCoverageStatisticsOutput, bool) bool) error
func (c *Inspector2) ListCoverageStatisticsPagesWithContext(ctx aws.Context, input *ListCoverageStatisticsInput, fn func(*ListCoverageStatisticsOutput, bool) bool, opts ...request.Option) 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, fn func(*ListDelegatedAdminAccountsOutput, bool) bool) error
func (c *Inspector2) ListDelegatedAdminAccountsPagesWithContext(ctx aws.Context, input *ListDelegatedAdminAccountsInput, fn func(*ListDelegatedAdminAccountsOutput, bool) bool, opts ...request.Option) error
func (c *Inspector2) ListDelegatedAdminAccountsRequest(input *ListDelegatedAdminAccountsInput) (req *request.Request, output *ListDelegatedAdminAccountsOutput)
func (c *Inspector2) ListDelegatedAdminAccountsWithContext(ctx aws.Context, input *ListDelegatedAdminAccountsInput, opts ...request.Option) (*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, fn func(*ListFiltersOutput, bool) bool, opts ...request.Option) 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, fn func(*ListFindingAggregationsOutput, bool) bool) error
func (c *Inspector2) ListFindingAggregationsPagesWithContext(ctx aws.Context, input *ListFindingAggregationsInput, fn func(*ListFindingAggregationsOutput, bool) bool, opts ...request.Option) 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, fn func(*ListFindingsOutput, bool) bool, opts ...request.Option) 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, fn func(*ListMembersOutput, bool) bool, opts ...request.Option) 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, fn func(*ListUsageTotalsOutput, bool) bool, opts ...request.Option) 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) ResetEncryptionKey(input *ResetEncryptionKeyInput) (*ResetEncryptionKeyOutput, error)
func (c *Inspector2) ResetEncryptionKeyRequest(input *ResetEncryptionKeyInput) (req *request.Request, output *ResetEncryptionKeyOutput)
func (c *Inspector2) ResetEncryptionKeyWithContext(ctx aws.Context, input *ResetEncryptionKeyInput, opts ...request.Option) (*ResetEncryptionKeyOutput, error)
func (c *Inspector2) SearchVulnerabilities(input *SearchVulnerabilitiesInput) (*SearchVulnerabilitiesOutput, error)
func (c *Inspector2) SearchVulnerabilitiesPages(input *SearchVulnerabilitiesInput, fn func(*SearchVulnerabilitiesOutput, bool) bool) error
func (c *Inspector2) SearchVulnerabilitiesPagesWithContext(ctx aws.Context, input *SearchVulnerabilitiesInput, fn func(*SearchVulnerabilitiesOutput, bool) bool, opts ...request.Option) error
func (c *Inspector2) SearchVulnerabilitiesRequest(input *SearchVulnerabilitiesInput) (req *request.Request, output *SearchVulnerabilitiesOutput)
func (c *Inspector2) SearchVulnerabilitiesWithContext(ctx aws.Context, input *SearchVulnerabilitiesInput, opts ...request.Option) (*SearchVulnerabilitiesOutput, error)
func (c *Inspector2) SendCisSessionHealth(input *SendCisSessionHealthInput) (*SendCisSessionHealthOutput, error)
func (c *Inspector2) SendCisSessionHealthRequest(input *SendCisSessionHealthInput) (req *request.Request, output *SendCisSessionHealthOutput)
func (c *Inspector2) SendCisSessionHealthWithContext(ctx aws.Context, input *SendCisSessionHealthInput, opts ...request.Option) (*SendCisSessionHealthOutput, error)
func (c *Inspector2) SendCisSessionTelemetry(input *SendCisSessionTelemetryInput) (*SendCisSessionTelemetryOutput, error)
func (c *Inspector2) SendCisSessionTelemetryRequest(input *SendCisSessionTelemetryInput) (req *request.Request, output *SendCisSessionTelemetryOutput)
func (c *Inspector2) SendCisSessionTelemetryWithContext(ctx aws.Context, input *SendCisSessionTelemetryInput, opts ...request.Option) (*SendCisSessionTelemetryOutput, error)
func (c *Inspector2) StartCisSession(input *StartCisSessionInput) (*StartCisSessionOutput, error)
func (c *Inspector2) StartCisSessionRequest(input *StartCisSessionInput) (req *request.Request, output *StartCisSessionOutput)
func (c *Inspector2) StartCisSessionWithContext(ctx aws.Context, input *StartCisSessionInput, opts ...request.Option) (*StartCisSessionOutput, error)
func (c *Inspector2) StopCisSession(input *StopCisSessionInput) (*StopCisSessionOutput, error)
func (c *Inspector2) StopCisSessionRequest(input *StopCisSessionInput) (req *request.Request, output *StopCisSessionOutput)
func (c *Inspector2) StopCisSessionWithContext(ctx aws.Context, input *StopCisSessionInput, opts ...request.Option) (*StopCisSessionOutput, 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) UpdateCisScanConfiguration(input *UpdateCisScanConfigurationInput) (*UpdateCisScanConfigurationOutput, error)
func (c *Inspector2) UpdateCisScanConfigurationRequest(input *UpdateCisScanConfigurationInput) (req *request.Request, output *UpdateCisScanConfigurationOutput)
func (c *Inspector2) UpdateCisScanConfigurationWithContext(ctx aws.Context, input *UpdateCisScanConfigurationInput, opts ...request.Option) (*UpdateCisScanConfigurationOutput, 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, opts ...request.Option) (*UpdateEc2DeepInspectionConfigurationOutput, error)
func (c *Inspector2) UpdateEncryptionKey(input *UpdateEncryptionKeyInput) (*UpdateEncryptionKeyOutput, error)
func (c *Inspector2) UpdateEncryptionKeyRequest(input *UpdateEncryptionKeyInput) (req *request.Request, output *UpdateEncryptionKeyOutput)
func (c *Inspector2) UpdateEncryptionKeyWithContext(ctx aws.Context, input *UpdateEncryptionKeyInput, opts ...request.Option) (*UpdateEncryptionKeyOutput, 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, opts ...request.Option) (*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, opts ...request.Option) (*UpdateOrganizationConfigurationOutput, error)
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 CisFindingStatusComparison_Values() []string
func CisFindingStatus_Values() []string
func CisReportStatus_Values() []string
func CisResultStatusComparison_Values() []string
func CisResultStatus_Values() []string
func CisRuleStatus_Values() []string
func CisScanConfigurationsSortBy_Values() []string
func CisScanResultDetailsSortBy_Values() []string
func CisScanResultsAggregatedByChecksSortBy_Values() []string
func CisScanResultsAggregatedByTargetResourceSortBy_Values() []string
func CisScanStatusComparison_Values() []string
func CisScanStatus_Values() []string
func CisSecurityLevelComparison_Values() []string
func CisSecurityLevel_Values() []string
func CisSortOrder_Values() []string
func CisStringComparison_Values() []string
func CisTargetStatusComparison_Values() []string
func CisTargetStatusReason_Values() []string
func CisTargetStatus_Values() []string
func CodeSnippetErrorCode_Values() []string
func CoverageMapComparison_Values() []string
func CoverageResourceType_Values() []string
func CoverageStringComparison_Values() []string
func Currency_Values() []string
func Day_Values() []string
func DelegatedAdminStatus_Values() []string
func Ec2DeepInspectionStatus_Values() []string
func Ec2InstanceSortBy_Values() []string
func Ec2Platform_Values() []string
func EcrPullDateRescanDuration_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 FindingDetailsErrorCode_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 ListCisScansDetailLevel_Values() []string
func ListCisScansSortBy_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 ResourceMapComparison_Values() []string
func ResourceScanType_Values() []string
func ResourceStringComparison_Values() []string
func ResourceType_Values() []string
func Runtime_Values() []string
func SbomReportFormat_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 StopCisSessionStatus_Values() []string
func StringComparison_Values() []string
func TagComparison_Values() []string
func TitleSortBy_Values() []string
func UsageType_Values() []string
func ValidationExceptionReason_Values() []string
func VulnerabilitySource_Values() []string
type AccessDeniedException
type Account
type AccountAggregation
type AccountAggregationResponse
type AccountState
type AggregationRequest
type AggregationResponse
type AmiAggregation
type AmiAggregationResponse
type AssociateMemberInput
type AssociateMemberOutput
type AtigData
type AutoEnable
type AwsEc2InstanceDetails
type AwsEcrContainerAggregation
type AwsEcrContainerAggregationResponse
type AwsEcrContainerImageDetails
type AwsLambdaFunctionDetails
type BadRequestException
type BatchGetAccountStatusInput
type BatchGetAccountStatusOutput
type BatchGetCodeSnippetInput
type BatchGetCodeSnippetOutput
type BatchGetFindingDetailsInput
type BatchGetFindingDetailsOutput
type BatchGetFreeTrialInfoInput
type BatchGetFreeTrialInfoOutput
type BatchGetMemberEc2DeepInspectionStatusInput
type BatchGetMemberEc2DeepInspectionStatusOutput
type BatchUpdateMemberEc2DeepInspectionStatusInput
type BatchUpdateMemberEc2DeepInspectionStatusOutput
type CancelFindingsReportInput
type CancelFindingsReportOutput
type CancelSbomExportInput
type CancelSbomExportOutput
type CisCheckAggregation
type CisDateFilter
type CisFindingStatusFilter
type CisNumberFilter
type CisResultStatusFilter
type CisScan
type CisScanConfiguration
type CisScanResultDetails
type CisScanResultDetailsFilterCriteria
type CisScanResultsAggregatedByChecksFilterCriteria
type CisScanResultsAggregatedByTargetResourceFilterCriteria
type CisScanStatusFilter
type CisSecurityLevelFilter
type CisSessionMessage
type CisStringFilter
type CisTargetResourceAggregation
type CisTargetStatusFilter
type CisTargetStatusReasonFilter
type CisTargets
type CisaData
type CodeFilePath
type CodeLine
type CodeSnippetError
type CodeSnippetResult
type CodeVulnerabilityDetails
type ComputePlatform
type ConflictException
type Counts
type CoverageDateFilter
type CoverageFilterCriteria
type CoverageMapFilter
type CoverageStringFilter
type CoveredResource
type CreateCisScanConfigurationInput
type CreateCisScanConfigurationOutput
type CreateCisTargets
type CreateFilterInput
type CreateFilterOutput
type CreateFindingsReportInput
type CreateFindingsReportOutput
type CreateSbomExportInput
type CreateSbomExportOutput
type Cvss2
type Cvss3
type CvssScore
type CvssScoreAdjustment
type CvssScoreDetails
type DailySchedule
type DateFilter
type DelegatedAdmin
type DelegatedAdminAccount
type DeleteCisScanConfigurationInput
type DeleteCisScanConfigurationOutput
type DeleteFilterInput
type DeleteFilterOutput
type DescribeOrganizationConfigurationInput
type DescribeOrganizationConfigurationOutput
type Destination
type DisableDelegatedAdminAccountInput
type DisableDelegatedAdminAccountOutput
type DisableInput
type DisableOutput
type DisassociateMemberInput
type DisassociateMemberOutput
type Ec2InstanceAggregation
type Ec2InstanceAggregationResponse
type Ec2Metadata
type EcrConfiguration
type EcrConfigurationState
type EcrContainerImageMetadata
type EcrRepositoryMetadata
type EcrRescanDurationState
type EnableDelegatedAdminAccountInput
type EnableDelegatedAdminAccountOutput
type EnableInput
type EnableOutput
type Epss
type EpssDetails
type Evidence
type ExploitObserved
type ExploitabilityDetails
type FailedAccount
type FailedMemberAccountEc2DeepInspectionStatusState
type Filter
type FilterCriteria
type Finding
type FindingDetail
type FindingDetailsError
type FindingTypeAggregation
type FindingTypeAggregationResponse
type FreeTrialAccountInfo
type FreeTrialInfo
type FreeTrialInfoError
type GetCisScanReportInput
type GetCisScanReportOutput
type GetCisScanResultDetailsInput
type GetCisScanResultDetailsOutput
type GetConfigurationInput
type GetConfigurationOutput
type GetDelegatedAdminAccountInput
type GetDelegatedAdminAccountOutput
type GetEc2DeepInspectionConfigurationInput
type GetEc2DeepInspectionConfigurationOutput
type GetEncryptionKeyInput
type GetEncryptionKeyOutput
type GetFindingsReportStatusInput
type GetFindingsReportStatusOutput
type GetMemberInput
type GetMemberOutput
type GetSbomExportInput
type GetSbomExportOutput
type ImageLayerAggregation
type ImageLayerAggregationResponse
type InspectorScoreDetails
type InternalServerException
type LambdaFunctionAggregation
type LambdaFunctionAggregationResponse
type LambdaFunctionMetadata
type LambdaLayerAggregation
type LambdaLayerAggregationResponse
type LambdaVpcConfig
type ListAccountPermissionsInput
type ListAccountPermissionsOutput
type ListCisScanConfigurationsFilterCriteria
type ListCisScanConfigurationsInput
type ListCisScanConfigurationsOutput
type ListCisScanResultsAggregatedByChecksInput
type ListCisScanResultsAggregatedByChecksOutput
type ListCisScanResultsAggregatedByTargetResourceInput
type ListCisScanResultsAggregatedByTargetResourceOutput
type ListCisScansFilterCriteria
type ListCisScansInput
type ListCisScansOutput
type ListCoverageInput
type ListCoverageOutput
type ListCoverageStatisticsInput
type ListCoverageStatisticsOutput
type ListDelegatedAdminAccountsInput
type ListDelegatedAdminAccountsOutput
type ListFiltersInput
type ListFiltersOutput
type ListFindingAggregationsInput
type ListFindingAggregationsOutput
type ListFindingsInput
type ListFindingsOutput
type ListMembersInput
type ListMembersOutput
type ListTagsForResourceInput
type ListTagsForResourceOutput
type ListUsageTotalsInput
type ListUsageTotalsOutput
type MapFilter
type Member
type MemberAccountEc2DeepInspectionStatus
type MemberAccountEc2DeepInspectionStatusState
type MonthlySchedule
type NetworkPath
type NetworkReachabilityDetails
type NumberFilter
type OneTimeSchedule
type PackageAggregation
type PackageAggregationResponse
type PackageFilter
type PackageVulnerabilityDetails
type Permission
type PortRange
type PortRangeFilter
type Recommendation
type Remediation
type RepositoryAggregation
type RepositoryAggregationResponse
type ResetEncryptionKeyInput
type ResetEncryptionKeyOutput
type Resource
type ResourceDetails
type ResourceFilterCriteria
type ResourceMapFilter
type ResourceNotFoundException
type ResourceScanMetadata
type ResourceState
type ResourceStatus
type ResourceStringFilter
type ScanStatus
type Schedule
type SearchVulnerabilitiesFilterCriteria
type SearchVulnerabilitiesInput
type SearchVulnerabilitiesOutput
type SendCisSessionHealthInput
type SendCisSessionHealthOutput
type SendCisSessionTelemetryInput
type SendCisSessionTelemetryOutput
type ServiceQuotaExceededException
type SeverityCounts
type SortCriteria
type StartCisSessionInput
type StartCisSessionMessage
type StartCisSessionOutput
type State
type StatusCounts
type Step
type StopCisMessageProgress
type StopCisSessionInput
type StopCisSessionMessage
type StopCisSessionOutput
type StringFilter
type SuggestedFix
type TagFilter
type TagResourceInput
type TagResourceOutput
type ThrottlingException
type Time
type TitleAggregation
type TitleAggregationResponse
type UntagResourceInput
type UntagResourceOutput
type UpdateCisScanConfigurationInput
type UpdateCisScanConfigurationOutput
type UpdateCisTargets
type UpdateConfigurationInput
type UpdateConfigurationOutput
type UpdateEc2DeepInspectionConfigurationInput
type UpdateEc2DeepInspectionConfigurationOutput
type UpdateEncryptionKeyInput
type UpdateEncryptionKeyOutput
type UpdateFilterInput
type UpdateFilterOutput
type UpdateOrgEc2DeepInspectionConfigurationInput
type UpdateOrgEc2DeepInspectionConfigurationOutput
type UpdateOrganizationConfigurationInput
type UpdateOrganizationConfigurationOutput
type Usage
type UsageTotal
type ValidationException
type ValidationExceptionField
type Vulnerability
type VulnerablePackage
type WeeklySchedule

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"

    // AggregationFindingTypeCodeVulnerability is a AggregationFindingType enum value
    AggregationFindingTypeCodeVulnerability = "CODE_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 (
    // CisFindingStatusPassed is a CisFindingStatus enum value
    CisFindingStatusPassed = "PASSED"

    // CisFindingStatusFailed is a CisFindingStatus enum value
    CisFindingStatusFailed = "FAILED"

    // CisFindingStatusSkipped is a CisFindingStatus enum value
    CisFindingStatusSkipped = "SKIPPED"
)
const (
    // CisReportStatusSucceeded is a CisReportStatus enum value
    CisReportStatusSucceeded = "SUCCEEDED"

    // CisReportStatusFailed is a CisReportStatus enum value
    CisReportStatusFailed = "FAILED"

    // CisReportStatusInProgress is a CisReportStatus enum value
    CisReportStatusInProgress = "IN_PROGRESS"
)
const (
    // CisResultStatusPassed is a CisResultStatus enum value
    CisResultStatusPassed = "PASSED"

    // CisResultStatusFailed is a CisResultStatus enum value
    CisResultStatusFailed = "FAILED"

    // CisResultStatusSkipped is a CisResultStatus enum value
    CisResultStatusSkipped = "SKIPPED"
)
const (
    // CisRuleStatusFailed is a CisRuleStatus enum value
    CisRuleStatusFailed = "FAILED"

    // CisRuleStatusPassed is a CisRuleStatus enum value
    CisRuleStatusPassed = "PASSED"

    // CisRuleStatusNotEvaluated is a CisRuleStatus enum value
    CisRuleStatusNotEvaluated = "NOT_EVALUATED"

    // CisRuleStatusInformational is a CisRuleStatus enum value
    CisRuleStatusInformational = "INFORMATIONAL"

    // CisRuleStatusUnknown is a CisRuleStatus enum value
    CisRuleStatusUnknown = "UNKNOWN"

    // CisRuleStatusNotApplicable is a CisRuleStatus enum value
    CisRuleStatusNotApplicable = "NOT_APPLICABLE"

    // CisRuleStatusError is a CisRuleStatus enum value
    CisRuleStatusError = "ERROR"
)
const (
    // CisScanConfigurationsSortByScanName is a CisScanConfigurationsSortBy enum value
    CisScanConfigurationsSortByScanName = "SCAN_NAME"

    // CisScanConfigurationsSortByScanConfigurationArn is a CisScanConfigurationsSortBy enum value
    CisScanConfigurationsSortByScanConfigurationArn = "SCAN_CONFIGURATION_ARN"
)
const (
    // CisScanResultDetailsSortByCheckId is a CisScanResultDetailsSortBy enum value
    CisScanResultDetailsSortByCheckId = "CHECK_ID"

    // CisScanResultDetailsSortByStatus is a CisScanResultDetailsSortBy enum value
    CisScanResultDetailsSortByStatus = "STATUS"
)
const (
    // CisScanResultsAggregatedByChecksSortByCheckId is a CisScanResultsAggregatedByChecksSortBy enum value
    CisScanResultsAggregatedByChecksSortByCheckId = "CHECK_ID"

    // CisScanResultsAggregatedByChecksSortByTitle is a CisScanResultsAggregatedByChecksSortBy enum value
    CisScanResultsAggregatedByChecksSortByTitle = "TITLE"

    // CisScanResultsAggregatedByChecksSortByPlatform is a CisScanResultsAggregatedByChecksSortBy enum value
    CisScanResultsAggregatedByChecksSortByPlatform = "PLATFORM"

    // CisScanResultsAggregatedByChecksSortByFailedCounts is a CisScanResultsAggregatedByChecksSortBy enum value
    CisScanResultsAggregatedByChecksSortByFailedCounts = "FAILED_COUNTS"

    // CisScanResultsAggregatedByChecksSortBySecurityLevel is a CisScanResultsAggregatedByChecksSortBy enum value
    CisScanResultsAggregatedByChecksSortBySecurityLevel = "SECURITY_LEVEL"
)
const (
    // CisScanResultsAggregatedByTargetResourceSortByResourceId is a CisScanResultsAggregatedByTargetResourceSortBy enum value
    CisScanResultsAggregatedByTargetResourceSortByResourceId = "RESOURCE_ID"

    // CisScanResultsAggregatedByTargetResourceSortByFailedCounts is a CisScanResultsAggregatedByTargetResourceSortBy enum value
    CisScanResultsAggregatedByTargetResourceSortByFailedCounts = "FAILED_COUNTS"

    // CisScanResultsAggregatedByTargetResourceSortByAccountId is a CisScanResultsAggregatedByTargetResourceSortBy enum value
    CisScanResultsAggregatedByTargetResourceSortByAccountId = "ACCOUNT_ID"

    // CisScanResultsAggregatedByTargetResourceSortByPlatform is a CisScanResultsAggregatedByTargetResourceSortBy enum value
    CisScanResultsAggregatedByTargetResourceSortByPlatform = "PLATFORM"

    // CisScanResultsAggregatedByTargetResourceSortByTargetStatus is a CisScanResultsAggregatedByTargetResourceSortBy enum value
    CisScanResultsAggregatedByTargetResourceSortByTargetStatus = "TARGET_STATUS"

    // CisScanResultsAggregatedByTargetResourceSortByTargetStatusReason is a CisScanResultsAggregatedByTargetResourceSortBy enum value
    CisScanResultsAggregatedByTargetResourceSortByTargetStatusReason = "TARGET_STATUS_REASON"
)
const (
    // CisScanStatusFailed is a CisScanStatus enum value
    CisScanStatusFailed = "FAILED"

    // CisScanStatusCompleted is a CisScanStatus enum value
    CisScanStatusCompleted = "COMPLETED"

    // CisScanStatusCancelled is a CisScanStatus enum value
    CisScanStatusCancelled = "CANCELLED"

    // CisScanStatusInProgress is a CisScanStatus enum value
    CisScanStatusInProgress = "IN_PROGRESS"
)
const (
    // CisSecurityLevelLevel1 is a CisSecurityLevel enum value
    CisSecurityLevelLevel1 = "LEVEL_1"

    // CisSecurityLevelLevel2 is a CisSecurityLevel enum value
    CisSecurityLevelLevel2 = "LEVEL_2"
)
const (
    // CisSortOrderAsc is a CisSortOrder enum value
    CisSortOrderAsc = "ASC"

    // CisSortOrderDesc is a CisSortOrder enum value
    CisSortOrderDesc = "DESC"
)
const (
    // CisStringComparisonEquals is a CisStringComparison enum value
    CisStringComparisonEquals = "EQUALS"

    // CisStringComparisonPrefix is a CisStringComparison enum value
    CisStringComparisonPrefix = "PREFIX"

    // CisStringComparisonNotEquals is a CisStringComparison enum value
    CisStringComparisonNotEquals = "NOT_EQUALS"
)
const (
    // CisTargetStatusTimedOut is a CisTargetStatus enum value
    CisTargetStatusTimedOut = "TIMED_OUT"

    // CisTargetStatusCancelled is a CisTargetStatus enum value
    CisTargetStatusCancelled = "CANCELLED"

    // CisTargetStatusCompleted is a CisTargetStatus enum value
    CisTargetStatusCompleted = "COMPLETED"
)
const (
    // CisTargetStatusReasonScanInProgress is a CisTargetStatusReason enum value
    CisTargetStatusReasonScanInProgress = "SCAN_IN_PROGRESS"

    // CisTargetStatusReasonUnsupportedOs is a CisTargetStatusReason enum value
    CisTargetStatusReasonUnsupportedOs = "UNSUPPORTED_OS"

    // CisTargetStatusReasonSsmUnmanaged is a CisTargetStatusReason enum value
    CisTargetStatusReasonSsmUnmanaged = "SSM_UNMANAGED"
)
const (
    // CodeSnippetErrorCodeInternalError is a CodeSnippetErrorCode enum value
    CodeSnippetErrorCodeInternalError = "INTERNAL_ERROR"

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

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

    // CodeSnippetErrorCodeInvalidInput is a CodeSnippetErrorCode enum value
    CodeSnippetErrorCodeInvalidInput = "INVALID_INPUT"
)
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 (
    // DaySun is a Day enum value
    DaySun = "SUN"

    // DayMon is a Day enum value
    DayMon = "MON"

    // DayTue is a Day enum value
    DayTue = "TUE"

    // DayWed is a Day enum value
    DayWed = "WED"

    // DayThu is a Day enum value
    DayThu = "THU"

    // DayFri is a Day enum value
    DayFri = "FRI"

    // DaySat is a Day enum value
    DaySat = "SAT"
)
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"

    // Ec2PlatformMacos is a Ec2Platform enum value
    Ec2PlatformMacos = "MACOS"
)
const (
    // EcrPullDateRescanDurationDays14 is a EcrPullDateRescanDuration enum value
    EcrPullDateRescanDurationDays14 = "DAYS_14"

    // EcrPullDateRescanDurationDays30 is a EcrPullDateRescanDuration enum value
    EcrPullDateRescanDurationDays30 = "DAYS_30"

    // EcrPullDateRescanDurationDays60 is a EcrPullDateRescanDuration enum value
    EcrPullDateRescanDurationDays60 = "DAYS_60"

    // EcrPullDateRescanDurationDays90 is a EcrPullDateRescanDuration enum value
    EcrPullDateRescanDurationDays90 = "DAYS_90"

    // EcrPullDateRescanDurationDays180 is a EcrPullDateRescanDuration enum value
    EcrPullDateRescanDurationDays180 = "DAYS_180"
)
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"

    // EcrRescanDurationDays14 is a EcrRescanDuration enum value
    EcrRescanDurationDays14 = "DAYS_14"

    // EcrRescanDurationDays60 is a EcrRescanDuration enum value
    EcrRescanDurationDays60 = "DAYS_60"

    // EcrRescanDurationDays90 is a EcrRescanDuration enum value
    EcrRescanDurationDays90 = "DAYS_90"
)
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 is a ErrorCode enum value
    ErrorCodeSsmUnavailable = "SSM_UNAVAILABLE"

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

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

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

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

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

    // ErrorCodeAccountIsIsolated is a ErrorCode enum value
    ErrorCodeAccountIsIsolated = "ACCOUNT_IS_ISOLATED"
)
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 (
    // FindingDetailsErrorCodeInternalError is a FindingDetailsErrorCode enum value
    FindingDetailsErrorCodeInternalError = "INTERNAL_ERROR"

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

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

    // FindingDetailsErrorCodeInvalidInput is a FindingDetailsErrorCode enum value
    FindingDetailsErrorCodeInvalidInput = "INVALID_INPUT"
)
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"

    // FindingTypeCodeVulnerability is a FindingType enum value
    FindingTypeCodeVulnerability = "CODE_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"

    // FreeTrialTypeLambdaCode is a FreeTrialType enum value
    FreeTrialTypeLambdaCode = "LAMBDA_CODE"
)
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 (
    // ListCisScansDetailLevelOrganization is a ListCisScansDetailLevel enum value
    ListCisScansDetailLevelOrganization = "ORGANIZATION"

    // ListCisScansDetailLevelMember is a ListCisScansDetailLevel enum value
    ListCisScansDetailLevelMember = "MEMBER"
)
const (
    // ListCisScansSortByStatus is a ListCisScansSortBy enum value
    ListCisScansSortByStatus = "STATUS"

    // ListCisScansSortByScheduledBy is a ListCisScansSortBy enum value
    ListCisScansSortByScheduledBy = "SCHEDULED_BY"

    // ListCisScansSortByScanStartDate is a ListCisScansSortBy enum value
    ListCisScansSortByScanStartDate = "SCAN_START_DATE"

    // ListCisScansSortByFailedChecks is a ListCisScansSortBy enum value
    ListCisScansSortByFailedChecks = "FAILED_CHECKS"
)
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"

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

    // ResourceStringComparisonNotEquals is a ResourceStringComparison enum value
    ResourceStringComparisonNotEquals = "NOT_EQUALS"
)
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"

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

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

    // SbomReportFormatSpdx23 is a SbomReportFormat enum value
    SbomReportFormatSpdx23 = "SPDX_2_3"
)
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"

    // ScanTypeCode is a ScanType enum value
    ScanTypeCode = "CODE"
)
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"

    // SortFieldEpssScore is a SortField enum value
    SortFieldEpssScore = "EPSS_SCORE"
)
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 (
    // StopCisSessionStatusSuccess is a StopCisSessionStatus enum value
    StopCisSessionStatusSuccess = "SUCCESS"

    // StopCisSessionStatusFailed is a StopCisSessionStatus enum value
    StopCisSessionStatusFailed = "FAILED"

    // StopCisSessionStatusInterrupted is a StopCisSessionStatus enum value
    StopCisSessionStatusInterrupted = "INTERRUPTED"

    // StopCisSessionStatusUnsupportedOs is a StopCisSessionStatus enum value
    StopCisSessionStatusUnsupportedOs = "UNSUPPORTED_OS"
)
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"

    // UsageTypeLambdaFunctionCodeHours is a UsageType enum value
    UsageTypeLambdaFunctionCodeHours = "LAMBDA_FUNCTION_CODE_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 (
    // CisFindingStatusComparisonEquals is a CisFindingStatusComparison enum value
    CisFindingStatusComparisonEquals = "EQUALS"
)
const (
    // CisResultStatusComparisonEquals is a CisResultStatusComparison enum value
    CisResultStatusComparisonEquals = "EQUALS"
)
const (
    // CisScanStatusComparisonEquals is a CisScanStatusComparison enum value
    CisScanStatusComparisonEquals = "EQUALS"
)
const (
    // CisSecurityLevelComparisonEquals is a CisSecurityLevelComparison enum value
    CisSecurityLevelComparisonEquals = "EQUALS"
)
const (
    // CisTargetStatusComparisonEquals is a CisTargetStatusComparison enum value
    CisTargetStatusComparisonEquals = "EQUALS"
)
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"
)
const (
    // ResourceMapComparisonEquals is a ResourceMapComparison enum value
    ResourceMapComparisonEquals = "EQUALS"
)
const (
    // TagComparisonEquals is a TagComparison enum value
    TagComparisonEquals = "EQUALS"
)
const (
    // VulnerabilitySourceNvd is a VulnerabilitySource enum value
    VulnerabilitySourceNvd = "NVD"
)

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

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 CisFindingStatusComparison_Values

func CisFindingStatusComparison_Values() []string

CisFindingStatusComparison_Values returns all elements of the CisFindingStatusComparison enum

func CisFindingStatus_Values

func CisFindingStatus_Values() []string

CisFindingStatus_Values returns all elements of the CisFindingStatus enum

func CisReportStatus_Values

func CisReportStatus_Values() []string

CisReportStatus_Values returns all elements of the CisReportStatus enum

func CisResultStatusComparison_Values

func CisResultStatusComparison_Values() []string

CisResultStatusComparison_Values returns all elements of the CisResultStatusComparison enum

func CisResultStatus_Values

func CisResultStatus_Values() []string

CisResultStatus_Values returns all elements of the CisResultStatus enum

func CisRuleStatus_Values

func CisRuleStatus_Values() []string

CisRuleStatus_Values returns all elements of the CisRuleStatus enum

func CisScanConfigurationsSortBy_Values

func CisScanConfigurationsSortBy_Values() []string

CisScanConfigurationsSortBy_Values returns all elements of the CisScanConfigurationsSortBy enum

func CisScanResultDetailsSortBy_Values

func CisScanResultDetailsSortBy_Values() []string

CisScanResultDetailsSortBy_Values returns all elements of the CisScanResultDetailsSortBy enum

func CisScanResultsAggregatedByChecksSortBy_Values

func CisScanResultsAggregatedByChecksSortBy_Values() []string

CisScanResultsAggregatedByChecksSortBy_Values returns all elements of the CisScanResultsAggregatedByChecksSortBy enum

func CisScanResultsAggregatedByTargetResourceSortBy_Values

func CisScanResultsAggregatedByTargetResourceSortBy_Values() []string

CisScanResultsAggregatedByTargetResourceSortBy_Values returns all elements of the CisScanResultsAggregatedByTargetResourceSortBy enum

func CisScanStatusComparison_Values

func CisScanStatusComparison_Values() []string

CisScanStatusComparison_Values returns all elements of the CisScanStatusComparison enum

func CisScanStatus_Values

func CisScanStatus_Values() []string

CisScanStatus_Values returns all elements of the CisScanStatus enum

func CisSecurityLevelComparison_Values

func CisSecurityLevelComparison_Values() []string

CisSecurityLevelComparison_Values returns all elements of the CisSecurityLevelComparison enum

func CisSecurityLevel_Values

func CisSecurityLevel_Values() []string

CisSecurityLevel_Values returns all elements of the CisSecurityLevel enum

func CisSortOrder_Values

func CisSortOrder_Values() []string

CisSortOrder_Values returns all elements of the CisSortOrder enum

func CisStringComparison_Values

func CisStringComparison_Values() []string

CisStringComparison_Values returns all elements of the CisStringComparison enum

func CisTargetStatusComparison_Values

func CisTargetStatusComparison_Values() []string

CisTargetStatusComparison_Values returns all elements of the CisTargetStatusComparison enum

func CisTargetStatusReason_Values

func CisTargetStatusReason_Values() []string

CisTargetStatusReason_Values returns all elements of the CisTargetStatusReason enum

func CisTargetStatus_Values

func CisTargetStatus_Values() []string

CisTargetStatus_Values returns all elements of the CisTargetStatus enum

func CodeSnippetErrorCode_Values

func CodeSnippetErrorCode_Values() []string

CodeSnippetErrorCode_Values returns all elements of the CodeSnippetErrorCode enum

func CoverageMapComparison_Values

func CoverageMapComparison_Values() []string

CoverageMapComparison_Values returns all elements of the CoverageMapComparison enum

func CoverageResourceType_Values

func CoverageResourceType_Values() []string

CoverageResourceType_Values returns all elements of the CoverageResourceType enum

func CoverageStringComparison_Values

func CoverageStringComparison_Values() []string

CoverageStringComparison_Values returns all elements of the CoverageStringComparison enum

func Currency_Values

func Currency_Values() []string

Currency_Values returns all elements of the Currency enum

func Day_Values

func Day_Values() []string

Day_Values returns all elements of the Day enum

func DelegatedAdminStatus_Values

func DelegatedAdminStatus_Values() []string

DelegatedAdminStatus_Values returns all elements of the DelegatedAdminStatus enum

func Ec2DeepInspectionStatus_Values

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 EcrPullDateRescanDuration_Values

func EcrPullDateRescanDuration_Values() []string

EcrPullDateRescanDuration_Values returns all elements of the EcrPullDateRescanDuration enum

func EcrRescanDurationStatus_Values

func EcrRescanDurationStatus_Values() []string

EcrRescanDurationStatus_Values returns all elements of the EcrRescanDurationStatus enum

func EcrRescanDuration_Values

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

func ExploitAvailable_Values() []string

ExploitAvailable_Values returns all elements of the ExploitAvailable enum

func ExternalReportStatus_Values

func ExternalReportStatus_Values() []string

ExternalReportStatus_Values returns all elements of the ExternalReportStatus enum

func FilterAction_Values

func FilterAction_Values() []string

FilterAction_Values returns all elements of the FilterAction enum

func FindingDetailsErrorCode_Values

func FindingDetailsErrorCode_Values() []string

FindingDetailsErrorCode_Values returns all elements of the FindingDetailsErrorCode enum

func FindingStatus_Values

func FindingStatus_Values() []string

FindingStatus_Values returns all elements of the FindingStatus enum

func FindingTypeSortBy_Values

func FindingTypeSortBy_Values() []string

FindingTypeSortBy_Values returns all elements of the FindingTypeSortBy enum

func FindingType_Values

func FindingType_Values() []string

FindingType_Values returns all elements of the FindingType enum

func FixAvailable_Values

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

func LambdaFunctionSortBy_Values() []string

LambdaFunctionSortBy_Values returns all elements of the LambdaFunctionSortBy enum

func LambdaLayerSortBy_Values

func LambdaLayerSortBy_Values() []string

LambdaLayerSortBy_Values returns all elements of the LambdaLayerSortBy enum

func ListCisScansDetailLevel_Values

func ListCisScansDetailLevel_Values() []string

ListCisScansDetailLevel_Values returns all elements of the ListCisScansDetailLevel enum

func ListCisScansSortBy_Values

func ListCisScansSortBy_Values() []string

ListCisScansSortBy_Values returns all elements of the ListCisScansSortBy 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

func PackageType_Values() []string

PackageType_Values returns all elements of the PackageType enum

func RelationshipStatus_Values

func RelationshipStatus_Values() []string

RelationshipStatus_Values returns all elements of the RelationshipStatus enum

func ReportFormat_Values

func ReportFormat_Values() []string

ReportFormat_Values returns all elements of the ReportFormat enum

func ReportingErrorCode_Values

func ReportingErrorCode_Values() []string

ReportingErrorCode_Values returns all elements of the ReportingErrorCode enum

func RepositorySortBy_Values

func RepositorySortBy_Values() []string

RepositorySortBy_Values returns all elements of the RepositorySortBy enum

func ResourceMapComparison_Values

func ResourceMapComparison_Values() []string

ResourceMapComparison_Values returns all elements of the ResourceMapComparison enum

func ResourceScanType_Values

func ResourceScanType_Values() []string

ResourceScanType_Values returns all elements of the ResourceScanType enum

func ResourceStringComparison_Values

func ResourceStringComparison_Values() []string

ResourceStringComparison_Values returns all elements of the ResourceStringComparison enum

func ResourceType_Values

func ResourceType_Values() []string

ResourceType_Values returns all elements of the ResourceType enum

func Runtime_Values

func Runtime_Values() []string

Runtime_Values returns all elements of the Runtime enum

func SbomReportFormat_Values

func SbomReportFormat_Values() []string

SbomReportFormat_Values returns all elements of the SbomReportFormat enum

func ScanStatusCode_Values

func ScanStatusCode_Values() []string

ScanStatusCode_Values returns all elements of the ScanStatusCode enum

func ScanStatusReason_Values

func ScanStatusReason_Values() []string

ScanStatusReason_Values returns all elements of the ScanStatusReason enum

func ScanType_Values

func ScanType_Values() []string

ScanType_Values returns all elements of the ScanType enum

func Service_Values

func Service_Values() []string

Service_Values returns all elements of the Service enum

func Severity_Values

func Severity_Values() []string

Severity_Values returns all elements of the Severity enum

func SortField_Values

func SortField_Values() []string

SortField_Values returns all elements of the SortField enum

func SortOrder_Values

func SortOrder_Values() []string

SortOrder_Values returns all elements of the SortOrder enum

func Status_Values

func Status_Values() []string

Status_Values returns all elements of the Status enum

func StopCisSessionStatus_Values

func StopCisSessionStatus_Values() []string

StopCisSessionStatus_Values returns all elements of the StopCisSessionStatus enum

func StringComparison_Values

func StringComparison_Values() []string

StringComparison_Values returns all elements of the StringComparison enum

func TagComparison_Values

func TagComparison_Values() []string

TagComparison_Values returns all elements of the TagComparison enum

func TitleSortBy_Values

func TitleSortBy_Values() []string

TitleSortBy_Values returns all elements of the TitleSortBy enum

func UsageType_Values

func UsageType_Values() []string

UsageType_Values returns all elements of the UsageType enum

func ValidationExceptionReason_Values

func ValidationExceptionReason_Values() []string

ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum

func VulnerabilitySource_Values

func VulnerabilitySource_Values() []string

VulnerabilitySource_Values returns all elements of the VulnerabilitySource enum

type AccessDeniedException

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

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

You do not have sufficient access to perform this action.

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation.

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

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

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

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation.

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

type Account

type Account struct {

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

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

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

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

func (Account) GoString

func (s Account) GoString() string

GoString returns the string representation.

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

func (*Account) SetAccountId

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

SetAccountId sets the AccountId field's value.

func (*Account) SetResourceStatus

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

SetResourceStatus sets the ResourceStatus field's value.

func (*Account) SetStatus

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

SetStatus sets the Status field's value.

func (Account) String

func (s Account) String() string

String returns the string representation.

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

type AccountAggregation

type AccountAggregation struct {

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

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

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

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

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

func (AccountAggregation) GoString

func (s AccountAggregation) GoString() string

GoString returns the string representation.

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

func (*AccountAggregation) SetFindingType

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

SetFindingType sets the FindingType field's value.

func (*AccountAggregation) SetResourceType

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

SetResourceType sets the ResourceType field's value.

func (*AccountAggregation) SetSortBy

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

SetSortBy sets the SortBy field's value.

func (*AccountAggregation) SetSortOrder

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

SetSortOrder sets the SortOrder field's value.

func (AccountAggregation) String

func (s AccountAggregation) String() string

String returns the string representation.

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

type AccountAggregationResponse

type AccountAggregationResponse struct {

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

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

An aggregation of findings by Amazon Web Services account ID.

func (AccountAggregationResponse) GoString

func (s AccountAggregationResponse) GoString() string

GoString returns the string representation.

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

func (*AccountAggregationResponse) SetAccountId

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 Amazon Web Services Lambda
    // function.
    LambdaFunctionAggregation *LambdaFunctionAggregation `locationName:"lambdaFunctionAggregation" type:"structure"`

    // Returns an object with findings aggregated by Amazon Web Services 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

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

SetLambdaFunctionAggregation sets the LambdaFunctionAggregation field's value.

func (*AggregationRequest) SetLambdaLayerAggregation

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 Amazon Web Services Lambda function.
    LambdaFunctionAggregation *LambdaFunctionAggregationResponse `locationName:"lambdaFunctionAggregation" type:"structure"`

    // An aggregation of findings by Amazon Web Services 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

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

SetLambdaFunctionAggregation sets the LambdaFunctionAggregation field's value.

func (*AggregationResponse) SetLambdaLayerAggregation

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 AtigData

type AtigData struct {

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

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

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

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

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

func (AtigData) GoString

func (s AtigData) GoString() string

GoString returns the string representation.

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

func (*AtigData) SetFirstSeen

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

SetFirstSeen sets the FirstSeen field's value.

func (*AtigData) SetLastSeen

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

SetLastSeen sets the LastSeen field's value.

func (*AtigData) SetTargets

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

SetTargets sets the Targets field's value.

func (*AtigData) SetTtps

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

SetTtps sets the Ttps field's value.

func (AtigData) String

func (s AtigData) String() string

String returns the string representation.

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

type AutoEnable

type AutoEnable struct {

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

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

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

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

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

func (AutoEnable) GoString

func (s AutoEnable) GoString() string

GoString returns the string representation.

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

func (*AutoEnable) SetEc2

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

SetEc2 sets the Ec2 field's value.

func (*AutoEnable) SetEcr

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

SetEcr sets the Ecr field's value.

func (*AutoEnable) SetLambda

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

SetLambda sets the Lambda field's value.

func (*AutoEnable) SetLambdaCode

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

SetLambdaCode sets the LambdaCode field's value.

func (AutoEnable) String

func (s AutoEnable) String() string

String returns the string representation.

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

func (*AutoEnable) Validate

func (s *AutoEnable) Validate() error

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

type AwsEc2InstanceDetails

type AwsEc2InstanceDetails struct {

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

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

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

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

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

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

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

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

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

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

Details of the Amazon EC2 instance involved in a finding.

func (AwsEc2InstanceDetails) GoString

func (s AwsEc2InstanceDetails) GoString() string

GoString returns the string representation.

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

func (*AwsEc2InstanceDetails) SetIamInstanceProfileArn

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

SetIamInstanceProfileArn sets the IamInstanceProfileArn field's value.

func (*AwsEc2InstanceDetails) SetImageId

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

type AwsLambdaFunctionDetails struct {

    // The instruction set architecture that the Amazon Web Services 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 Amazon Web Services Lambda function's deployment package.
    //
    // CodeSha256 is a required field
    CodeSha256 *string `locationName:"codeSha256" min:"1" type:"string" required:"true"`

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

    // The name of the Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services Lambda function.
    //
    // Runtime is a required field
    Runtime *string `locationName:"runtime" type:"string" required:"true" enum:"Runtime"`

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

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

A summary of information about the Amazon Web Services Lambda function.

func (AwsLambdaFunctionDetails) GoString

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

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

SetArchitectures sets the Architectures field's value.

func (*AwsLambdaFunctionDetails) SetCodeSha256

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

SetCodeSha256 sets the CodeSha256 field's value.

func (*AwsLambdaFunctionDetails) SetExecutionRoleArn

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

SetExecutionRoleArn sets the ExecutionRoleArn field's value.

func (*AwsLambdaFunctionDetails) SetFunctionName

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

SetFunctionName sets the FunctionName field's value.

func (*AwsLambdaFunctionDetails) SetLastModifiedAt

func (s *AwsLambdaFunctionDetails) SetLastModifiedAt(v time.Time) *AwsLambdaFunctionDetails

SetLastModifiedAt sets the LastModifiedAt field's value.

func (*AwsLambdaFunctionDetails) SetLayers

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

SetLayers sets the Layers field's value.

func (*AwsLambdaFunctionDetails) SetPackageType

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

SetPackageType sets the PackageType field's value.

func (*AwsLambdaFunctionDetails) SetRuntime

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

SetRuntime sets the Runtime field's value.

func (*AwsLambdaFunctionDetails) SetVersion

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

SetVersion sets the Version field's value.

func (*AwsLambdaFunctionDetails) SetVpcConfig

func (s *AwsLambdaFunctionDetails) SetVpcConfig(v *LambdaVpcConfig) *AwsLambdaFunctionDetails

SetVpcConfig sets the VpcConfig field's value.

func (AwsLambdaFunctionDetails) String

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 BatchGetCodeSnippetInput

type BatchGetCodeSnippetInput struct {

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

func (BatchGetCodeSnippetInput) GoString

func (s BatchGetCodeSnippetInput) GoString() string

GoString returns the string representation.

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

func (*BatchGetCodeSnippetInput) SetFindingArns

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

SetFindingArns sets the FindingArns field's value.

func (BatchGetCodeSnippetInput) String

func (s BatchGetCodeSnippetInput) String() string

String returns the string representation.

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

func (*BatchGetCodeSnippetInput) Validate

func (s *BatchGetCodeSnippetInput) Validate() error

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

type BatchGetCodeSnippetOutput

type BatchGetCodeSnippetOutput struct {

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

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

func (BatchGetCodeSnippetOutput) GoString

func (s BatchGetCodeSnippetOutput) GoString() string

GoString returns the string representation.

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

func (*BatchGetCodeSnippetOutput) SetCodeSnippetResults

func (s *BatchGetCodeSnippetOutput) SetCodeSnippetResults(v []*CodeSnippetResult) *BatchGetCodeSnippetOutput

SetCodeSnippetResults sets the CodeSnippetResults field's value.

func (*BatchGetCodeSnippetOutput) SetErrors

func (s *BatchGetCodeSnippetOutput) SetErrors(v []*CodeSnippetError) *BatchGetCodeSnippetOutput

SetErrors sets the Errors field's value.

func (BatchGetCodeSnippetOutput) String

func (s BatchGetCodeSnippetOutput) String() string

String returns the string representation.

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

type BatchGetFindingDetailsInput

type BatchGetFindingDetailsInput struct {

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

func (BatchGetFindingDetailsInput) GoString

func (s BatchGetFindingDetailsInput) GoString() string

GoString returns the string representation.

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

func (*BatchGetFindingDetailsInput) SetFindingArns

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

SetFindingArns sets the FindingArns field's value.

func (BatchGetFindingDetailsInput) String

func (s BatchGetFindingDetailsInput) String() string

String returns the string representation.

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

func (*BatchGetFindingDetailsInput) Validate

func (s *BatchGetFindingDetailsInput) Validate() error

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

type BatchGetFindingDetailsOutput

type BatchGetFindingDetailsOutput struct {

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

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

func (BatchGetFindingDetailsOutput) GoString

func (s BatchGetFindingDetailsOutput) GoString() string

GoString returns the string representation.

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

func (*BatchGetFindingDetailsOutput) SetErrors

func (s *BatchGetFindingDetailsOutput) SetErrors(v []*FindingDetailsError) *BatchGetFindingDetailsOutput

SetErrors sets the Errors field's value.

func (*BatchGetFindingDetailsOutput) SetFindingDetails

func (s *BatchGetFindingDetailsOutput) SetFindingDetails(v []*FindingDetail) *BatchGetFindingDetailsOutput

SetFindingDetails sets the FindingDetails field's value.

func (BatchGetFindingDetailsOutput) String

func (s BatchGetFindingDetailsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the 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

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

func (BatchGetMemberEc2DeepInspectionStatusInput) GoString

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

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

SetAccountIds sets the AccountIds field's value.

func (BatchGetMemberEc2DeepInspectionStatusInput) String

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

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

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

func (BatchGetMemberEc2DeepInspectionStatusOutput) GoString

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

func (s *BatchGetMemberEc2DeepInspectionStatusOutput) SetAccountIds(v []*MemberAccountEc2DeepInspectionStatusState) *BatchGetMemberEc2DeepInspectionStatusOutput

SetAccountIds sets the AccountIds field's value.

func (*BatchGetMemberEc2DeepInspectionStatusOutput) SetFailedAccountIds

func (s *BatchGetMemberEc2DeepInspectionStatusOutput) SetFailedAccountIds(v []*FailedMemberAccountEc2DeepInspectionStatusState) *BatchGetMemberEc2DeepInspectionStatusOutput

SetFailedAccountIds sets the FailedAccountIds field's value.

func (BatchGetMemberEc2DeepInspectionStatusOutput) String

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

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

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

func (s *BatchUpdateMemberEc2DeepInspectionStatusInput) SetAccountIds(v []*MemberAccountEc2DeepInspectionStatus) *BatchUpdateMemberEc2DeepInspectionStatusInput

SetAccountIds sets the AccountIds field's value.

func (BatchUpdateMemberEc2DeepInspectionStatusInput) String

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

func (s *BatchUpdateMemberEc2DeepInspectionStatusInput) Validate() error

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

type BatchUpdateMemberEc2DeepInspectionStatusOutput

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

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

func (s *BatchUpdateMemberEc2DeepInspectionStatusOutput) SetAccountIds(v []*MemberAccountEc2DeepInspectionStatusState) *BatchUpdateMemberEc2DeepInspectionStatusOutput

SetAccountIds sets the AccountIds field's value.

func (*BatchUpdateMemberEc2DeepInspectionStatusOutput) SetFailedAccountIds

func (s *BatchUpdateMemberEc2DeepInspectionStatusOutput) SetFailedAccountIds(v []*FailedMemberAccountEc2DeepInspectionStatusState) *BatchUpdateMemberEc2DeepInspectionStatusOutput

SetFailedAccountIds sets the FailedAccountIds field's value.

func (BatchUpdateMemberEc2DeepInspectionStatusOutput) String

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 CancelSbomExportInput

type CancelSbomExportInput struct {

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

func (CancelSbomExportInput) GoString

func (s CancelSbomExportInput) GoString() string

GoString returns the string representation.

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

func (*CancelSbomExportInput) SetReportId

func (s *CancelSbomExportInput) SetReportId(v string) *CancelSbomExportInput

SetReportId sets the ReportId field's value.

func (CancelSbomExportInput) String

func (s CancelSbomExportInput) String() string

String returns the string representation.

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

func (*CancelSbomExportInput) Validate

func (s *CancelSbomExportInput) Validate() error

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

type CancelSbomExportOutput

type CancelSbomExportOutput struct {

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

func (CancelSbomExportOutput) GoString

func (s CancelSbomExportOutput) GoString() string

GoString returns the string representation.

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

func (*CancelSbomExportOutput) SetReportId

func (s *CancelSbomExportOutput) SetReportId(v string) *CancelSbomExportOutput

SetReportId sets the ReportId field's value.

func (CancelSbomExportOutput) String

func (s CancelSbomExportOutput) String() string

String returns the string representation.

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

type CisCheckAggregation

type CisCheckAggregation struct {

    // The account ID for the CIS check.
    AccountId *string `locationName:"accountId" min:"12" type:"string"`

    // The description for the CIS check.
    CheckDescription *string `locationName:"checkDescription" type:"string"`

    // The check ID for the CIS check.
    CheckId *string `locationName:"checkId" type:"string"`

    // The CIS check level.
    Level *string `locationName:"level" type:"string" enum:"CisSecurityLevel"`

    // The CIS check platform.
    Platform *string `locationName:"platform" type:"string"`

    // The scan ARN for the CIS check scan ARN.
    //
    // ScanArn is a required field
    ScanArn *string `locationName:"scanArn" type:"string" required:"true"`

    // The CIS check status counts.
    StatusCounts *StatusCounts `locationName:"statusCounts" type:"structure"`

    // The CIS check title.
    Title *string `locationName:"title" type:"string"`
    // contains filtered or unexported fields
}

A CIS check.

func (CisCheckAggregation) GoString

func (s CisCheckAggregation) GoString() string

GoString returns the string representation.

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

func (*CisCheckAggregation) SetAccountId

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

SetAccountId sets the AccountId field's value.

func (*CisCheckAggregation) SetCheckDescription

func (s *CisCheckAggregation) SetCheckDescription(v string) *CisCheckAggregation

SetCheckDescription sets the CheckDescription field's value.

func (*CisCheckAggregation) SetCheckId

func (s *CisCheckAggregation) SetCheckId(v string) *CisCheckAggregation

SetCheckId sets the CheckId field's value.

func (*CisCheckAggregation) SetLevel

func (s *CisCheckAggregation) SetLevel(v string) *CisCheckAggregation

SetLevel sets the Level field's value.

func (*CisCheckAggregation) SetPlatform

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

SetPlatform sets the Platform field's value.

func (*CisCheckAggregation) SetScanArn

func (s *CisCheckAggregation) SetScanArn(v string) *CisCheckAggregation

SetScanArn sets the ScanArn field's value.

func (*CisCheckAggregation) SetStatusCounts

func (s *CisCheckAggregation) SetStatusCounts(v *StatusCounts) *CisCheckAggregation

SetStatusCounts sets the StatusCounts field's value.

func (*CisCheckAggregation) SetTitle

func (s *CisCheckAggregation) SetTitle(v string) *CisCheckAggregation

SetTitle sets the Title field's value.

func (CisCheckAggregation) String

func (s CisCheckAggregation) String() string

String returns the string representation.

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

type CisDateFilter

type CisDateFilter struct {

    // The CIS date filter's earliest scan start time.
    EarliestScanStartTime *time.Time `locationName:"earliestScanStartTime" type:"timestamp"`

    // The CIS date filter's latest scan start time.
    LatestScanStartTime *time.Time `locationName:"latestScanStartTime" type:"timestamp"`
    // contains filtered or unexported fields
}

The CIS date filter.

func (CisDateFilter) GoString

func (s CisDateFilter) GoString() string

GoString returns the string representation.

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

func (*CisDateFilter) SetEarliestScanStartTime

func (s *CisDateFilter) SetEarliestScanStartTime(v time.Time) *CisDateFilter

SetEarliestScanStartTime sets the EarliestScanStartTime field's value.

func (*CisDateFilter) SetLatestScanStartTime

func (s *CisDateFilter) SetLatestScanStartTime(v time.Time) *CisDateFilter

SetLatestScanStartTime sets the LatestScanStartTime field's value.

func (CisDateFilter) String

func (s CisDateFilter) String() string

String returns the string representation.

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

type CisFindingStatusFilter

type CisFindingStatusFilter struct {

    // The comparison value of the CIS finding status filter.
    //
    // Comparison is a required field
    Comparison *string `locationName:"comparison" type:"string" required:"true" enum:"CisFindingStatusComparison"`

    // The value of the CIS finding status filter.
    //
    // Value is a required field
    Value *string `locationName:"value" type:"string" required:"true" enum:"CisFindingStatus"`
    // contains filtered or unexported fields
}

The CIS finding status filter.

func (CisFindingStatusFilter) GoString

func (s CisFindingStatusFilter) GoString() string

GoString returns the string representation.

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

func (*CisFindingStatusFilter) SetComparison

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

SetComparison sets the Comparison field's value.

func (*CisFindingStatusFilter) SetValue

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

SetValue sets the Value field's value.

func (CisFindingStatusFilter) String

func (s CisFindingStatusFilter) String() string

String returns the string representation.

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

func (*CisFindingStatusFilter) Validate

func (s *CisFindingStatusFilter) Validate() error

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

type CisNumberFilter

type CisNumberFilter struct {

    // The CIS number filter's lower inclusive.
    LowerInclusive *int64 `locationName:"lowerInclusive" type:"integer"`

    // The CIS number filter's upper inclusive.
    UpperInclusive *int64 `locationName:"upperInclusive" type:"integer"`
    // contains filtered or unexported fields
}

The CIS number filter.

func (CisNumberFilter) GoString

func (s CisNumberFilter) GoString() string

GoString returns the string representation.

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

func (*CisNumberFilter) SetLowerInclusive

func (s *CisNumberFilter) SetLowerInclusive(v int64) *CisNumberFilter

SetLowerInclusive sets the LowerInclusive field's value.

func (*CisNumberFilter) SetUpperInclusive

func (s *CisNumberFilter) SetUpperInclusive(v int64) *CisNumberFilter

SetUpperInclusive sets the UpperInclusive field's value.

func (CisNumberFilter) String

func (s CisNumberFilter) String() string

String returns the string representation.

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

type CisResultStatusFilter

type CisResultStatusFilter struct {

    // The comparison value of the CIS result status filter.
    //
    // Comparison is a required field
    Comparison *string `locationName:"comparison" type:"string" required:"true" enum:"CisResultStatusComparison"`

    // The value of the CIS result status filter.
    //
    // Value is a required field
    Value *string `locationName:"value" type:"string" required:"true" enum:"CisResultStatus"`
    // contains filtered or unexported fields
}

The CIS result status filter.

func (CisResultStatusFilter) GoString

func (s CisResultStatusFilter) GoString() string

GoString returns the string representation.

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

func (*CisResultStatusFilter) SetComparison

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

SetComparison sets the Comparison field's value.

func (*CisResultStatusFilter) SetValue

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

SetValue sets the Value field's value.

func (CisResultStatusFilter) String

func (s CisResultStatusFilter) String() string

String returns the string representation.

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

func (*CisResultStatusFilter) Validate

func (s *CisResultStatusFilter) Validate() error

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

type CisScan

type CisScan struct {

    // The CIS scan's failed checks.
    FailedChecks *int64 `locationName:"failedChecks" type:"integer"`

    // The CIS scan's ARN.
    //
    // ScanArn is a required field
    ScanArn *string `locationName:"scanArn" type:"string" required:"true"`

    // The CIS scan's configuration ARN.
    //
    // ScanConfigurationArn is a required field
    ScanConfigurationArn *string `locationName:"scanConfigurationArn" type:"string" required:"true"`

    // The CIS scan's date.
    ScanDate *time.Time `locationName:"scanDate" type:"timestamp"`

    // The the name of the scan configuration that's associated with this scan.
    ScanName *string `locationName:"scanName" min:"1" type:"string"`

    // The account or organization that schedules the CIS scan.
    ScheduledBy *string `locationName:"scheduledBy" type:"string"`

    // The security level for the CIS scan. Security level refers to the Benchmark
    // levels that CIS assigns to a profile.
    SecurityLevel *string `locationName:"securityLevel" type:"string" enum:"CisSecurityLevel"`

    // The CIS scan's status.
    Status *string `locationName:"status" type:"string" enum:"CisScanStatus"`

    // The CIS scan's targets.
    Targets *CisTargets `locationName:"targets" type:"structure"`

    // The CIS scan's total checks.
    TotalChecks *int64 `locationName:"totalChecks" type:"integer"`
    // contains filtered or unexported fields
}

The CIS scan.

func (CisScan) GoString

func (s CisScan) GoString() string

GoString returns the string representation.

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

func (*CisScan) SetFailedChecks

func (s *CisScan) SetFailedChecks(v int64) *CisScan

SetFailedChecks sets the FailedChecks field's value.

func (*CisScan) SetScanArn

func (s *CisScan) SetScanArn(v string) *CisScan

SetScanArn sets the ScanArn field's value.

func (*CisScan) SetScanConfigurationArn

func (s *CisScan) SetScanConfigurationArn(v string) *CisScan

SetScanConfigurationArn sets the ScanConfigurationArn field's value.

func (*CisScan) SetScanDate

func (s *CisScan) SetScanDate(v time.Time) *CisScan

SetScanDate sets the ScanDate field's value.

func (*CisScan) SetScanName

func (s *CisScan) SetScanName(v string) *CisScan

SetScanName sets the ScanName field's value.

func (*CisScan) SetScheduledBy

func (s *CisScan) SetScheduledBy(v string) *CisScan

SetScheduledBy sets the ScheduledBy field's value.

func (*CisScan) SetSecurityLevel

func (s *CisScan) SetSecurityLevel(v string) *CisScan

SetSecurityLevel sets the SecurityLevel field's value.

func (*CisScan) SetStatus

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

SetStatus sets the Status field's value.

func (*CisScan) SetTargets

func (s *CisScan) SetTargets(v *CisTargets) *CisScan

SetTargets sets the Targets field's value.

func (*CisScan) SetTotalChecks

func (s *CisScan) SetTotalChecks(v int64) *CisScan

SetTotalChecks sets the TotalChecks field's value.

func (CisScan) String

func (s CisScan) String() string

String returns the string representation.

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

type CisScanConfiguration

type CisScanConfiguration struct {

    // The CIS scan configuration's owner ID.
    OwnerId *string `locationName:"ownerId" type:"string"`

    // The CIS scan configuration's scan configuration ARN.
    //
    // ScanConfigurationArn is a required field
    ScanConfigurationArn *string `locationName:"scanConfigurationArn" type:"string" required:"true"`

    // The name of the CIS scan configuration.
    ScanName *string `locationName:"scanName" min:"1" type:"string"`

    // The CIS scan configuration's schedule.
    Schedule *Schedule `locationName:"schedule" type:"structure"`

    // The CIS scan configuration's security level.
    SecurityLevel *string `locationName:"securityLevel" type:"string" enum:"CisSecurityLevel"`

    // The CIS scan configuration's tags.
    Tags map[string]*string `locationName:"tags" type:"map"`

    // The CIS scan configuration's targets.
    Targets *CisTargets `locationName:"targets" type:"structure"`
    // contains filtered or unexported fields
}

The CIS scan configuration.

func (CisScanConfiguration) GoString

func (s CisScanConfiguration) GoString() string

GoString returns the string representation.

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

func (*CisScanConfiguration) SetOwnerId

func (s *CisScanConfiguration) SetOwnerId(v string) *CisScanConfiguration

SetOwnerId sets the OwnerId field's value.

func (*CisScanConfiguration) SetScanConfigurationArn

func (s *CisScanConfiguration) SetScanConfigurationArn(v string) *CisScanConfiguration

SetScanConfigurationArn sets the ScanConfigurationArn field's value.

func (*CisScanConfiguration) SetScanName

func (s *CisScanConfiguration) SetScanName(v string) *CisScanConfiguration

SetScanName sets the ScanName field's value.

func (*CisScanConfiguration) SetSchedule

func (s *CisScanConfiguration) SetSchedule(v *Schedule) *CisScanConfiguration

SetSchedule sets the Schedule field's value.

func (*CisScanConfiguration) SetSecurityLevel

func (s *CisScanConfiguration) SetSecurityLevel(v string) *CisScanConfiguration

SetSecurityLevel sets the SecurityLevel field's value.

func (*CisScanConfiguration) SetTags

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

SetTags sets the Tags field's value.

func (*CisScanConfiguration) SetTargets

func (s *CisScanConfiguration) SetTargets(v *CisTargets) *CisScanConfiguration

SetTargets sets the Targets field's value.

func (CisScanConfiguration) String

func (s CisScanConfiguration) String() string

String returns the string representation.

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

type CisScanResultDetails

type CisScanResultDetails struct {

    // The CIS scan result details' account ID.
    AccountId *string `locationName:"accountId" min:"12" type:"string"`

    // The account ID that's associated with the CIS scan result details.
    CheckDescription *string `locationName:"checkDescription" type:"string"`

    // The CIS scan result details' check ID.
    CheckId *string `locationName:"checkId" type:"string"`

    // The CIS scan result details' finding ARN.
    FindingArn *string `locationName:"findingArn" type:"string"`

    // The CIS scan result details' level.
    Level *string `locationName:"level" type:"string" enum:"CisSecurityLevel"`

    // The CIS scan result details' platform.
    Platform *string `locationName:"platform" type:"string"`

    // The CIS scan result details' remediation.
    Remediation *string `locationName:"remediation" type:"string"`

    // The CIS scan result details' scan ARN.
    //
    // ScanArn is a required field
    ScanArn *string `locationName:"scanArn" type:"string" required:"true"`

    // The CIS scan result details' status.
    Status *string `locationName:"status" type:"string" enum:"CisFindingStatus"`

    // The CIS scan result details' status reason.
    StatusReason *string `locationName:"statusReason" type:"string"`

    // The CIS scan result details' target resource ID.
    TargetResourceId *string `locationName:"targetResourceId" min:"10" type:"string"`

    // The CIS scan result details' title.
    Title *string `locationName:"title" type:"string"`
    // contains filtered or unexported fields
}

The CIS scan result details.

func (CisScanResultDetails) GoString

func (s CisScanResultDetails) GoString() string

GoString returns the string representation.

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

func (*CisScanResultDetails) SetAccountId

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

SetAccountId sets the AccountId field's value.

func (*CisScanResultDetails) SetCheckDescription

func (s *CisScanResultDetails) SetCheckDescription(v string) *CisScanResultDetails

SetCheckDescription sets the CheckDescription field's value.

func (*CisScanResultDetails) SetCheckId

func (s *CisScanResultDetails) SetCheckId(v string) *CisScanResultDetails

SetCheckId sets the CheckId field's value.

func (*CisScanResultDetails) SetFindingArn

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

SetFindingArn sets the FindingArn field's value.

func (*CisScanResultDetails) SetLevel

func (s *CisScanResultDetails) SetLevel(v string) *CisScanResultDetails

SetLevel sets the Level field's value.

func (*CisScanResultDetails) SetPlatform

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

SetPlatform sets the Platform field's value.

func (*CisScanResultDetails) SetRemediation

func (s *CisScanResultDetails) SetRemediation(v string) *CisScanResultDetails

SetRemediation sets the Remediation field's value.

func (*CisScanResultDetails) SetScanArn

func (s *CisScanResultDetails) SetScanArn(v string) *CisScanResultDetails

SetScanArn sets the ScanArn field's value.

func (*CisScanResultDetails) SetStatus

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

SetStatus sets the Status field's value.

func (*CisScanResultDetails) SetStatusReason

func (s *CisScanResultDetails) SetStatusReason(v string) *CisScanResultDetails

SetStatusReason sets the StatusReason field's value.

func (*CisScanResultDetails) SetTargetResourceId

func (s *CisScanResultDetails) SetTargetResourceId(v string) *CisScanResultDetails

SetTargetResourceId sets the TargetResourceId field's value.

func (*CisScanResultDetails) SetTitle

func (s *CisScanResultDetails) SetTitle(v string) *CisScanResultDetails

SetTitle sets the Title field's value.

func (CisScanResultDetails) String

func (s CisScanResultDetails) String() string

String returns the string representation.

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

type CisScanResultDetailsFilterCriteria

type CisScanResultDetailsFilterCriteria struct {

    // The criteria's check ID filters.
    CheckIdFilters []*CisStringFilter `locationName:"checkIdFilters" min:"1" type:"list"`

    // The criteria's finding ARN filters.
    FindingArnFilters []*CisStringFilter `locationName:"findingArnFilters" min:"1" type:"list"`

    // The criteria's finding status filters.
    FindingStatusFilters []*CisFindingStatusFilter `locationName:"findingStatusFilters" min:"1" type:"list"`

    // The criteria's security level filters. . Security level refers to the Benchmark
    // levels that CIS assigns to a profile.
    SecurityLevelFilters []*CisSecurityLevelFilter `locationName:"securityLevelFilters" min:"1" type:"list"`

    // The criteria's title filters.
    TitleFilters []*CisStringFilter `locationName:"titleFilters" min:"1" type:"list"`
    // contains filtered or unexported fields
}

The CIS scan result details filter criteria.

func (CisScanResultDetailsFilterCriteria) GoString

func (s CisScanResultDetailsFilterCriteria) GoString() string

GoString returns the string representation.

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

func (*CisScanResultDetailsFilterCriteria) SetCheckIdFilters

func (s *CisScanResultDetailsFilterCriteria) SetCheckIdFilters(v []*CisStringFilter) *CisScanResultDetailsFilterCriteria

SetCheckIdFilters sets the CheckIdFilters field's value.

func (*CisScanResultDetailsFilterCriteria) SetFindingArnFilters

func (s *CisScanResultDetailsFilterCriteria) SetFindingArnFilters(v []*CisStringFilter) *CisScanResultDetailsFilterCriteria

SetFindingArnFilters sets the FindingArnFilters field's value.

func (*CisScanResultDetailsFilterCriteria) SetFindingStatusFilters

func (s *CisScanResultDetailsFilterCriteria) SetFindingStatusFilters(v []*CisFindingStatusFilter) *CisScanResultDetailsFilterCriteria

SetFindingStatusFilters sets the FindingStatusFilters field's value.

func (*CisScanResultDetailsFilterCriteria) SetSecurityLevelFilters

func (s *CisScanResultDetailsFilterCriteria) SetSecurityLevelFilters(v []*CisSecurityLevelFilter) *CisScanResultDetailsFilterCriteria

SetSecurityLevelFilters sets the SecurityLevelFilters field's value.

func (*CisScanResultDetailsFilterCriteria) SetTitleFilters

func (s *CisScanResultDetailsFilterCriteria) SetTitleFilters(v []*CisStringFilter) *CisScanResultDetailsFilterCriteria

SetTitleFilters sets the TitleFilters field's value.

func (CisScanResultDetailsFilterCriteria) String

func (s CisScanResultDetailsFilterCriteria) String() string

String returns the string representation.

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

func (*CisScanResultDetailsFilterCriteria) Validate

func (s *CisScanResultDetailsFilterCriteria) Validate() error

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

type CisScanResultsAggregatedByChecksFilterCriteria

type CisScanResultsAggregatedByChecksFilterCriteria struct {

    // The criteria's account ID filters.
    AccountIdFilters []*CisStringFilter `locationName:"accountIdFilters" min:"1" type:"list"`

    // The criteria's check ID filters.
    CheckIdFilters []*CisStringFilter `locationName:"checkIdFilters" min:"1" type:"list"`

    // The criteria's failed resources filters.
    FailedResourcesFilters []*CisNumberFilter `locationName:"failedResourcesFilters" min:"1" type:"list"`

    // The criteria's platform filters.
    PlatformFilters []*CisStringFilter `locationName:"platformFilters" min:"1" type:"list"`

    // The criteria's security level filters.
    SecurityLevelFilters []*CisSecurityLevelFilter `locationName:"securityLevelFilters" min:"1" type:"list"`

    // The criteria's title filters.
    TitleFilters []*CisStringFilter `locationName:"titleFilters" min:"1" type:"list"`
    // contains filtered or unexported fields
}

The scan results aggregated by checks filter criteria.

func (CisScanResultsAggregatedByChecksFilterCriteria) GoString

func (s CisScanResultsAggregatedByChecksFilterCriteria) GoString() string

GoString returns the string representation.

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

func (*CisScanResultsAggregatedByChecksFilterCriteria) SetAccountIdFilters

func (s *CisScanResultsAggregatedByChecksFilterCriteria) SetAccountIdFilters(v []*CisStringFilter) *CisScanResultsAggregatedByChecksFilterCriteria

SetAccountIdFilters sets the AccountIdFilters field's value.

func (*CisScanResultsAggregatedByChecksFilterCriteria) SetCheckIdFilters

func (s *CisScanResultsAggregatedByChecksFilterCriteria) SetCheckIdFilters(v []*CisStringFilter) *CisScanResultsAggregatedByChecksFilterCriteria

SetCheckIdFilters sets the CheckIdFilters field's value.

func (*CisScanResultsAggregatedByChecksFilterCriteria) SetFailedResourcesFilters

func (s *CisScanResultsAggregatedByChecksFilterCriteria) SetFailedResourcesFilters(v []*CisNumberFilter) *CisScanResultsAggregatedByChecksFilterCriteria

SetFailedResourcesFilters sets the FailedResourcesFilters field's value.

func (*CisScanResultsAggregatedByChecksFilterCriteria) SetPlatformFilters

func (s *CisScanResultsAggregatedByChecksFilterCriteria) SetPlatformFilters(v []*CisStringFilter) *CisScanResultsAggregatedByChecksFilterCriteria

SetPlatformFilters sets the PlatformFilters field's value.

func (*CisScanResultsAggregatedByChecksFilterCriteria) SetSecurityLevelFilters

func (s *CisScanResultsAggregatedByChecksFilterCriteria) SetSecurityLevelFilters(v []*CisSecurityLevelFilter) *CisScanResultsAggregatedByChecksFilterCriteria

SetSecurityLevelFilters sets the SecurityLevelFilters field's value.

func (*CisScanResultsAggregatedByChecksFilterCriteria) SetTitleFilters

func (s *CisScanResultsAggregatedByChecksFilterCriteria) SetTitleFilters(v []*CisStringFilter) *CisScanResultsAggregatedByChecksFilterCriteria

SetTitleFilters sets the TitleFilters field's value.

func (CisScanResultsAggregatedByChecksFilterCriteria) String

func (s CisScanResultsAggregatedByChecksFilterCriteria) String() string

String returns the string representation.

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

func (*CisScanResultsAggregatedByChecksFilterCriteria) Validate

func (s *CisScanResultsAggregatedByChecksFilterCriteria) Validate() error

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

type CisScanResultsAggregatedByTargetResourceFilterCriteria

type CisScanResultsAggregatedByTargetResourceFilterCriteria struct {

    // The criteria's account ID filters.
    AccountIdFilters []*CisStringFilter `locationName:"accountIdFilters" min:"1" type:"list"`

    // The criteria's check ID filters.
    CheckIdFilters []*CisStringFilter `locationName:"checkIdFilters" min:"1" type:"list"`

    // The criteria's failed checks filters.
    FailedChecksFilters []*CisNumberFilter `locationName:"failedChecksFilters" min:"1" type:"list"`

    // The criteria's platform filters.
    PlatformFilters []*CisStringFilter `locationName:"platformFilters" min:"1" type:"list"`

    // The criteria's status filter.
    StatusFilters []*CisResultStatusFilter `locationName:"statusFilters" min:"1" type:"list"`

    // The criteria's target resource ID filters.
    TargetResourceIdFilters []*CisStringFilter `locationName:"targetResourceIdFilters" min:"1" type:"list"`

    // The criteria's target resource tag filters.
    TargetResourceTagFilters []*TagFilter `locationName:"targetResourceTagFilters" min:"1" type:"list"`

    // The criteria's target status filters.
    TargetStatusFilters []*CisTargetStatusFilter `locationName:"targetStatusFilters" min:"1" type:"list"`

    // The criteria's target status reason filters.
    TargetStatusReasonFilters []*CisTargetStatusReasonFilter `locationName:"targetStatusReasonFilters" min:"1" type:"list"`
    // contains filtered or unexported fields
}

The scan results aggregated by target resource filter criteria.

func (CisScanResultsAggregatedByTargetResourceFilterCriteria) GoString

func (s CisScanResultsAggregatedByTargetResourceFilterCriteria) GoString() string

GoString returns the string representation.

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

func (*CisScanResultsAggregatedByTargetResourceFilterCriteria) SetAccountIdFilters

func (s *CisScanResultsAggregatedByTargetResourceFilterCriteria) SetAccountIdFilters(v []*CisStringFilter) *CisScanResultsAggregatedByTargetResourceFilterCriteria

SetAccountIdFilters sets the AccountIdFilters field's value.

func (*CisScanResultsAggregatedByTargetResourceFilterCriteria) SetCheckIdFilters

func (s *CisScanResultsAggregatedByTargetResourceFilterCriteria) SetCheckIdFilters(v []*CisStringFilter) *CisScanResultsAggregatedByTargetResourceFilterCriteria

SetCheckIdFilters sets the CheckIdFilters field's value.

func (*CisScanResultsAggregatedByTargetResourceFilterCriteria) SetFailedChecksFilters

func (s *CisScanResultsAggregatedByTargetResourceFilterCriteria) SetFailedChecksFilters(v []*CisNumberFilter) *CisScanResultsAggregatedByTargetResourceFilterCriteria

SetFailedChecksFilters sets the FailedChecksFilters field's value.

func (*CisScanResultsAggregatedByTargetResourceFilterCriteria) SetPlatformFilters

func (s *CisScanResultsAggregatedByTargetResourceFilterCriteria) SetPlatformFilters(v []*CisStringFilter) *CisScanResultsAggregatedByTargetResourceFilterCriteria

SetPlatformFilters sets the PlatformFilters field's value.

func (*CisScanResultsAggregatedByTargetResourceFilterCriteria) SetStatusFilters

func (s *CisScanResultsAggregatedByTargetResourceFilterCriteria) SetStatusFilters(v []*CisResultStatusFilter) *CisScanResultsAggregatedByTargetResourceFilterCriteria

SetStatusFilters sets the StatusFilters field's value.

func (*CisScanResultsAggregatedByTargetResourceFilterCriteria) SetTargetResourceIdFilters

func (s *CisScanResultsAggregatedByTargetResourceFilterCriteria) SetTargetResourceIdFilters(v []*CisStringFilter) *CisScanResultsAggregatedByTargetResourceFilterCriteria

SetTargetResourceIdFilters sets the TargetResourceIdFilters field's value.

func (*CisScanResultsAggregatedByTargetResourceFilterCriteria) SetTargetResourceTagFilters

func (s *CisScanResultsAggregatedByTargetResourceFilterCriteria) SetTargetResourceTagFilters(v []*TagFilter) *CisScanResultsAggregatedByTargetResourceFilterCriteria

SetTargetResourceTagFilters sets the TargetResourceTagFilters field's value.

func (*CisScanResultsAggregatedByTargetResourceFilterCriteria) SetTargetStatusFilters

func (s *CisScanResultsAggregatedByTargetResourceFilterCriteria) SetTargetStatusFilters(v []*CisTargetStatusFilter) *CisScanResultsAggregatedByTargetResourceFilterCriteria

SetTargetStatusFilters sets the TargetStatusFilters field's value.

func (*CisScanResultsAggregatedByTargetResourceFilterCriteria) SetTargetStatusReasonFilters

func (s *CisScanResultsAggregatedByTargetResourceFilterCriteria) SetTargetStatusReasonFilters(v []*CisTargetStatusReasonFilter) *CisScanResultsAggregatedByTargetResourceFilterCriteria

SetTargetStatusReasonFilters sets the TargetStatusReasonFilters field's value.

func (CisScanResultsAggregatedByTargetResourceFilterCriteria) String

func (s CisScanResultsAggregatedByTargetResourceFilterCriteria) String() string

String returns the string representation.

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

func (*CisScanResultsAggregatedByTargetResourceFilterCriteria) Validate

func (s *CisScanResultsAggregatedByTargetResourceFilterCriteria) Validate() error

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

type CisScanStatusFilter

type CisScanStatusFilter struct {

    // The filter comparison value.
    //
    // Comparison is a required field
    Comparison *string `locationName:"comparison" type:"string" required:"true" enum:"CisScanStatusComparison"`

    // The filter value.
    //
    // Value is a required field
    Value *string `locationName:"value" type:"string" required:"true" enum:"CisScanStatus"`
    // contains filtered or unexported fields
}

The CIS scan status filter.

func (CisScanStatusFilter) GoString

func (s CisScanStatusFilter) GoString() string

GoString returns the string representation.

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

func (*CisScanStatusFilter) SetComparison

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

SetComparison sets the Comparison field's value.

func (*CisScanStatusFilter) SetValue

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

SetValue sets the Value field's value.

func (CisScanStatusFilter) String

func (s CisScanStatusFilter) String() string

String returns the string representation.

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

func (*CisScanStatusFilter) Validate

func (s *CisScanStatusFilter) Validate() error

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

type CisSecurityLevelFilter

type CisSecurityLevelFilter struct {

    // The CIS security filter comparison value.
    //
    // Comparison is a required field
    Comparison *string `locationName:"comparison" type:"string" required:"true" enum:"CisSecurityLevelComparison"`

    // The CIS security filter value.
    //
    // Value is a required field
    Value *string `locationName:"value" type:"string" required:"true" enum:"CisSecurityLevel"`
    // contains filtered or unexported fields
}

The CIS security level filter. Security level refers to the Benchmark levels that CIS assigns to a profile.

func (CisSecurityLevelFilter) GoString

func (s CisSecurityLevelFilter) GoString() string

GoString returns the string representation.

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

func (*CisSecurityLevelFilter) SetComparison

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

SetComparison sets the Comparison field's value.

func (*CisSecurityLevelFilter) SetValue

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

SetValue sets the Value field's value.

func (CisSecurityLevelFilter) String

func (s CisSecurityLevelFilter) String() string

String returns the string representation.

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

func (*CisSecurityLevelFilter) Validate

func (s *CisSecurityLevelFilter) Validate() error

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

type CisSessionMessage

type CisSessionMessage struct {

    // The CIS rule details for the CIS session message.
    // CisRuleDetails is automatically base64 encoded/decoded by the SDK.
    //
    // CisRuleDetails is a required field
    CisRuleDetails []byte `locationName:"cisRuleDetails" type:"blob" required:"true"`

    // The rule ID for the CIS session message.
    //
    // RuleId is a required field
    RuleId *string `locationName:"ruleId" min:"1" type:"string" required:"true"`

    // The status of the CIS session message.
    //
    // Status is a required field
    Status *string `locationName:"status" type:"string" required:"true" enum:"CisRuleStatus"`
    // contains filtered or unexported fields
}

The CIS session message.

func (CisSessionMessage) GoString

func (s CisSessionMessage) GoString() string

GoString returns the string representation.

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

func (*CisSessionMessage) SetCisRuleDetails

func (s *CisSessionMessage) SetCisRuleDetails(v []byte) *CisSessionMessage

SetCisRuleDetails sets the CisRuleDetails field's value.

func (*CisSessionMessage) SetRuleId

func (s *CisSessionMessage) SetRuleId(v string) *CisSessionMessage

SetRuleId sets the RuleId field's value.

func (*CisSessionMessage) SetStatus

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

SetStatus sets the Status field's value.

func (CisSessionMessage) String

func (s CisSessionMessage) String() string

String returns the string representation.

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

func (*CisSessionMessage) Validate

func (s *CisSessionMessage) Validate() error

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

type CisStringFilter

type CisStringFilter struct {

    // The comparison value of the CIS string filter.
    //
    // Comparison is a required field
    Comparison *string `locationName:"comparison" type:"string" required:"true" enum:"CisStringComparison"`

    // The value of the CIS string filter.
    //
    // Value is a required field
    Value *string `locationName:"value" type:"string" required:"true"`
    // contains filtered or unexported fields
}

The CIS string filter.

func (CisStringFilter) GoString

func (s CisStringFilter) GoString() string

GoString returns the string representation.

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

func (*CisStringFilter) SetComparison

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

SetComparison sets the Comparison field's value.

func (*CisStringFilter) SetValue

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

SetValue sets the Value field's value.

func (CisStringFilter) String

func (s CisStringFilter) String() string

String returns the string representation.

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

func (*CisStringFilter) Validate

func (s *CisStringFilter) Validate() error

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

type CisTargetResourceAggregation

type CisTargetResourceAggregation struct {

    // The account ID for the CIS target resource.
    AccountId *string `locationName:"accountId" min:"12" type:"string"`

    // The platform for the CIS target resource.
    Platform *string `locationName:"platform" type:"string"`

    // The scan ARN for the CIS target resource.
    //
    // ScanArn is a required field
    ScanArn *string `locationName:"scanArn" type:"string" required:"true"`

    // The target resource status counts.
    StatusCounts *StatusCounts `locationName:"statusCounts" type:"structure"`

    // The ID of the target resource.
    TargetResourceId *string `locationName:"targetResourceId" min:"10" type:"string"`

    // The tag for the target resource.
    TargetResourceTags map[string][]*string `locationName:"targetResourceTags" min:"1" type:"map"`

    // The status of the target resource.
    TargetStatus *string `locationName:"targetStatus" type:"string" enum:"CisTargetStatus"`

    // The reason for the target resource.
    TargetStatusReason *string `locationName:"targetStatusReason" type:"string" enum:"CisTargetStatusReason"`
    // contains filtered or unexported fields
}

The CIS target resource aggregation.

func (CisTargetResourceAggregation) GoString

func (s CisTargetResourceAggregation) GoString() string

GoString returns the string representation.

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

func (*CisTargetResourceAggregation) SetAccountId

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

SetAccountId sets the AccountId field's value.

func (*CisTargetResourceAggregation) SetPlatform

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

SetPlatform sets the Platform field's value.

func (*CisTargetResourceAggregation) SetScanArn

func (s *CisTargetResourceAggregation) SetScanArn(v string) *CisTargetResourceAggregation

SetScanArn sets the ScanArn field's value.

func (*CisTargetResourceAggregation) SetStatusCounts

func (s *CisTargetResourceAggregation) SetStatusCounts(v *StatusCounts) *CisTargetResourceAggregation

SetStatusCounts sets the StatusCounts field's value.

func (*CisTargetResourceAggregation) SetTargetResourceId

func (s *CisTargetResourceAggregation) SetTargetResourceId(v string) *CisTargetResourceAggregation

SetTargetResourceId sets the TargetResourceId field's value.

func (*CisTargetResourceAggregation) SetTargetResourceTags

func (s *CisTargetResourceAggregation) SetTargetResourceTags(v map[string][]*string) *CisTargetResourceAggregation

SetTargetResourceTags sets the TargetResourceTags field's value.

func (*CisTargetResourceAggregation) SetTargetStatus

func (s *CisTargetResourceAggregation) SetTargetStatus(v string) *CisTargetResourceAggregation

SetTargetStatus sets the TargetStatus field's value.

func (*CisTargetResourceAggregation) SetTargetStatusReason

func (s *CisTargetResourceAggregation) SetTargetStatusReason(v string) *CisTargetResourceAggregation

SetTargetStatusReason sets the TargetStatusReason field's value.

func (CisTargetResourceAggregation) String

func (s CisTargetResourceAggregation) String() string

String returns the string representation.

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

type CisTargetStatusFilter

type CisTargetStatusFilter struct {

    // The comparison value of the CIS target status filter.
    //
    // Comparison is a required field
    Comparison *string `locationName:"comparison" type:"string" required:"true" enum:"CisTargetStatusComparison"`

    // The value of the CIS target status filter.
    //
    // Value is a required field
    Value *string `locationName:"value" type:"string" required:"true" enum:"CisTargetStatus"`
    // contains filtered or unexported fields
}

The CIS target status filter.

func (CisTargetStatusFilter) GoString

func (s CisTargetStatusFilter) GoString() string

GoString returns the string representation.

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

func (*CisTargetStatusFilter) SetComparison

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

SetComparison sets the Comparison field's value.

func (*CisTargetStatusFilter) SetValue

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

SetValue sets the Value field's value.

func (CisTargetStatusFilter) String

func (s CisTargetStatusFilter) String() string

String returns the string representation.

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

func (*CisTargetStatusFilter) Validate

func (s *CisTargetStatusFilter) Validate() error

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

type CisTargetStatusReasonFilter

type CisTargetStatusReasonFilter struct {

    // The comparison value of the CIS target status reason filter.
    //
    // Comparison is a required field
    Comparison *string `locationName:"comparison" type:"string" required:"true" enum:"CisTargetStatusComparison"`

    // The value of the CIS target status reason filter.
    //
    // Value is a required field
    Value *string `locationName:"value" type:"string" required:"true" enum:"CisTargetStatusReason"`
    // contains filtered or unexported fields
}

The CIS target status reason filter.

func (CisTargetStatusReasonFilter) GoString

func (s CisTargetStatusReasonFilter) GoString() string

GoString returns the string representation.

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

func (*CisTargetStatusReasonFilter) SetComparison

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

SetComparison sets the Comparison field's value.

func (*CisTargetStatusReasonFilter) SetValue

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

SetValue sets the Value field's value.

func (CisTargetStatusReasonFilter) String

func (s CisTargetStatusReasonFilter) String() string

String returns the string representation.

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

func (*CisTargetStatusReasonFilter) Validate

func (s *CisTargetStatusReasonFilter) Validate() error

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

type CisTargets

type CisTargets struct {

    // The CIS target account ids.
    AccountIds []*string `locationName:"accountIds" min:"1" type:"list"`

    // The CIS target resource tags.
    TargetResourceTags map[string][]*string `locationName:"targetResourceTags" min:"1" type:"map"`
    // contains filtered or unexported fields
}

The CIS targets.

func (CisTargets) GoString

func (s CisTargets) GoString() string

GoString returns the string representation.

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

func (*CisTargets) SetAccountIds

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

SetAccountIds sets the AccountIds field's value.

func (*CisTargets) SetTargetResourceTags

func (s *CisTargets) SetTargetResourceTags(v map[string][]*string) *CisTargets

SetTargetResourceTags sets the TargetResourceTags field's value.

func (CisTargets) String

func (s CisTargets) String() string

String returns the string representation.

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

type CisaData

type CisaData struct {

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

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

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

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

func (CisaData) GoString

func (s CisaData) GoString() string

GoString returns the string representation.

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

func (*CisaData) SetAction

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

SetAction sets the Action field's value.

func (*CisaData) SetDateAdded

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

SetDateAdded sets the DateAdded field's value.

func (*CisaData) SetDateDue

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

SetDateDue sets the DateDue field's value.

func (CisaData) String

func (s CisaData) String() string

String returns the string representation.

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

type CodeFilePath

type CodeFilePath struct {

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

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

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

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

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

func (CodeFilePath) GoString

func (s CodeFilePath) GoString() string

GoString returns the string representation.

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

func (*CodeFilePath) SetEndLine

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

SetEndLine sets the EndLine field's value.

func (*CodeFilePath) SetFileName

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

SetFileName sets the FileName field's value.

func (*CodeFilePath) SetFilePath

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

SetFilePath sets the FilePath field's value.

func (*CodeFilePath) SetStartLine

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

SetStartLine sets the StartLine field's value.

func (CodeFilePath) String

func (s CodeFilePath) String() string

String returns the string representation.

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

type CodeLine

type CodeLine struct {

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

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

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

func (CodeLine) GoString

func (s CodeLine) GoString() string

GoString returns the string representation.

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

func (*CodeLine) SetContent

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

SetContent sets the Content field's value.

func (*CodeLine) SetLineNumber

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

SetLineNumber sets the LineNumber field's value.

func (CodeLine) String

func (s CodeLine) String() string

String returns the string representation.

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

type CodeSnippetError

type CodeSnippetError struct {

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

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

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

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

func (CodeSnippetError) GoString

func (s CodeSnippetError) GoString() string

GoString returns the string representation.

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

func (*CodeSnippetError) SetErrorCode

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

SetErrorCode sets the ErrorCode field's value.

func (*CodeSnippetError) SetErrorMessage

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

SetErrorMessage sets the ErrorMessage field's value.

func (*CodeSnippetError) SetFindingArn

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

SetFindingArn sets the FindingArn field's value.

func (CodeSnippetError) String

func (s CodeSnippetError) String() string

String returns the string representation.

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

type CodeSnippetResult

type CodeSnippetResult struct {

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

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

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

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

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

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

func (CodeSnippetResult) GoString

func (s CodeSnippetResult) GoString() string

GoString returns the string representation.

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

func (*CodeSnippetResult) SetCodeSnippet

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

SetCodeSnippet sets the CodeSnippet field's value.

func (*CodeSnippetResult) SetEndLine

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

SetEndLine sets the EndLine field's value.

func (*CodeSnippetResult) SetFindingArn

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

SetFindingArn sets the FindingArn field's value.

func (*CodeSnippetResult) SetStartLine

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

SetStartLine sets the StartLine field's value.

func (*CodeSnippetResult) SetSuggestedFixes

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

SetSuggestedFixes sets the SuggestedFixes field's value.

func (CodeSnippetResult) String

func (s CodeSnippetResult) String() string

String returns the string representation.

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

type CodeVulnerabilityDetails

type CodeVulnerabilityDetails struct {

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

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

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

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

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

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

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

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

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

func (CodeVulnerabilityDetails) GoString

func (s CodeVulnerabilityDetails) GoString() string

GoString returns the string representation.

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

func (*CodeVulnerabilityDetails) SetCwes

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

SetCwes sets the Cwes field's value.

func (*CodeVulnerabilityDetails) SetDetectorId

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

SetDetectorId sets the DetectorId field's value.

func (*CodeVulnerabilityDetails) SetDetectorName

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

SetDetectorName sets the DetectorName field's value.

func (*CodeVulnerabilityDetails) SetDetectorTags

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

SetDetectorTags sets the DetectorTags field's value.

func (*CodeVulnerabilityDetails) SetFilePath

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

SetFilePath sets the FilePath field's value.

func (*CodeVulnerabilityDetails) SetReferenceUrls

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

SetReferenceUrls sets the ReferenceUrls field's value.

func (*CodeVulnerabilityDetails) SetRuleId

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

SetRuleId sets the RuleId field's value.

func (*CodeVulnerabilityDetails) SetSourceLambdaLayerArn

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

SetSourceLambdaLayerArn sets the SourceLambdaLayerArn field's value.

func (CodeVulnerabilityDetails) String

func (s CodeVulnerabilityDetails) String() string

String returns the string representation.

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

type ComputePlatform

type ComputePlatform struct {

    // The compute platform product.
    Product *string `locationName:"product" type:"string"`

    // The compute platform vendor.
    Vendor *string `locationName:"vendor" type:"string"`

    // The compute platform version.
    Version *string `locationName:"version" type:"string"`
    // contains filtered or unexported fields
}

A compute platform.

func (ComputePlatform) GoString

func (s ComputePlatform) GoString() string

GoString returns the string representation.

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

func (*ComputePlatform) SetProduct

func (s *ComputePlatform) SetProduct(v string) *ComputePlatform

SetProduct sets the Product field's value.

func (*ComputePlatform) SetVendor

func (s *ComputePlatform) SetVendor(v string) *ComputePlatform

SetVendor sets the Vendor field's value.

func (*ComputePlatform) SetVersion

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

SetVersion sets the Version field's value.

func (ComputePlatform) String

func (s ComputePlatform) String() string

String returns the string representation.

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

type ConflictException

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

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

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

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

A conflict occurred.

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation.

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

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

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

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation.

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

type Counts

type Counts struct {

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

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

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

func (Counts) GoString

func (s Counts) GoString() string

GoString returns the string representation.

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

func (*Counts) SetCount

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

SetCount sets the Count field's value.

func (*Counts) SetGroupKey

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

SetGroupKey sets the GroupKey field's value.

func (Counts) String

func (s Counts) String() string

String returns the string representation.

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

type CoverageDateFilter

type CoverageDateFilter struct {

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

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

Contains details of a coverage date filter.

func (CoverageDateFilter) GoString

func (s CoverageDateFilter) GoString() string

GoString returns the string representation.

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

func (*CoverageDateFilter) SetEndInclusive

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

SetEndInclusive sets the EndInclusive field's value.

func (*CoverageDateFilter) SetStartInclusive

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

SetStartInclusive sets the StartInclusive field's value.

func (CoverageDateFilter) String

func (s CoverageDateFilter) String() string

String returns the string representation.

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

type CoverageFilterCriteria

type CoverageFilterCriteria struct {

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

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

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

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

    // The date an image was last pulled at.
    ImagePulledAt []*CoverageDateFilter `locationName:"imagePulledAt" min:"1" type:"list"`

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

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

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

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

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

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

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

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

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

A structure that identifies filter criteria for GetCoverageStatistics.

func (CoverageFilterCriteria) GoString

func (s CoverageFilterCriteria) GoString() string

GoString returns the string representation.

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

func (*CoverageFilterCriteria) SetAccountId

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

func (s *CoverageFilterCriteria) SetImagePulledAt(v []*CoverageDateFilter) *CoverageFilterCriteria

SetImagePulledAt sets the ImagePulledAt field's value.

func (*CoverageFilterCriteria) SetLambdaFunctionName

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

SetLambdaFunctionName sets the LambdaFunctionName field's value.

func (*CoverageFilterCriteria) SetLambdaFunctionRuntime

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

SetLambdaFunctionRuntime sets the LambdaFunctionRuntime field's value.

func (*CoverageFilterCriteria) SetLambdaFunctionTags

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

SetLambdaFunctionTags sets the LambdaFunctionTags field's value.

func (*CoverageFilterCriteria) SetLastScannedAt

func (s *CoverageFilterCriteria) SetLastScannedAt(v []*CoverageDateFilter) *CoverageFilterCriteria

SetLastScannedAt sets the LastScannedAt 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 date and time the resource was last checked for vulnerabilities.
    LastScannedAt *time.Time `locationName:"lastScannedAt" type:"timestamp"`

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

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

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

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

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

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

func (CoveredResource) GoString

func (s CoveredResource) GoString() string

GoString returns the string representation.

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

func (*CoveredResource) SetAccountId

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

SetAccountId sets the AccountId field's value.

func (*CoveredResource) SetLastScannedAt

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

SetLastScannedAt sets the LastScannedAt field's value.

func (*CoveredResource) SetResourceId

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

SetResourceId sets the ResourceId field's value.

func (*CoveredResource) SetResourceMetadata

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

SetResourceMetadata sets the ResourceMetadata field's value.

func (*CoveredResource) SetResourceType

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

SetResourceType sets the ResourceType field's value.

func (*CoveredResource) SetScanStatus

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

SetScanStatus sets the ScanStatus field's value.

func (*CoveredResource) SetScanType

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

SetScanType sets the ScanType field's value.

func (CoveredResource) String

func (s CoveredResource) String() string

String returns the string representation.

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

type CreateCisScanConfigurationInput

type CreateCisScanConfigurationInput struct {

    // The scan name for the CIS scan configuration.
    //
    // ScanName is a required field
    ScanName *string `locationName:"scanName" min:"1" type:"string" required:"true"`

    // The schedule for the CIS scan configuration.
    //
    // Schedule is a required field
    Schedule *Schedule `locationName:"schedule" type:"structure" required:"true"`

    // The security level for the CIS scan configuration. Security level refers
    // to the Benchmark levels that CIS assigns to a profile.
    //
    // SecurityLevel is a required field
    SecurityLevel *string `locationName:"securityLevel" type:"string" required:"true" enum:"CisSecurityLevel"`

    // The tags for the CIS scan configuration.
    Tags map[string]*string `locationName:"tags" type:"map"`

    // The targets for the CIS scan configuration.
    //
    // Targets is a required field
    Targets *CreateCisTargets `locationName:"targets" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (CreateCisScanConfigurationInput) GoString

func (s CreateCisScanConfigurationInput) GoString() string

GoString returns the string representation.

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

func (*CreateCisScanConfigurationInput) SetScanName

func (s *CreateCisScanConfigurationInput) SetScanName(v string) *CreateCisScanConfigurationInput

SetScanName sets the ScanName field's value.

func (*CreateCisScanConfigurationInput) SetSchedule

func (s *CreateCisScanConfigurationInput) SetSchedule(v *Schedule) *CreateCisScanConfigurationInput

SetSchedule sets the Schedule field's value.

func (*CreateCisScanConfigurationInput) SetSecurityLevel

func (s *CreateCisScanConfigurationInput) SetSecurityLevel(v string) *CreateCisScanConfigurationInput

SetSecurityLevel sets the SecurityLevel field's value.

func (*CreateCisScanConfigurationInput) SetTags

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

SetTags sets the Tags field's value.

func (*CreateCisScanConfigurationInput) SetTargets

func (s *CreateCisScanConfigurationInput) SetTargets(v *CreateCisTargets) *CreateCisScanConfigurationInput

SetTargets sets the Targets field's value.

func (CreateCisScanConfigurationInput) String

func (s CreateCisScanConfigurationInput) String() string

String returns the string representation.

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

func (*CreateCisScanConfigurationInput) Validate

func (s *CreateCisScanConfigurationInput) Validate() error

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

type CreateCisScanConfigurationOutput

type CreateCisScanConfigurationOutput struct {

    // The scan configuration ARN for the CIS scan configuration.
    ScanConfigurationArn *string `locationName:"scanConfigurationArn" type:"string"`
    // contains filtered or unexported fields
}

func (CreateCisScanConfigurationOutput) GoString

func (s CreateCisScanConfigurationOutput) GoString() string

GoString returns the string representation.

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

func (*CreateCisScanConfigurationOutput) SetScanConfigurationArn

func (s *CreateCisScanConfigurationOutput) SetScanConfigurationArn(v string) *CreateCisScanConfigurationOutput

SetScanConfigurationArn sets the ScanConfigurationArn field's value.

func (CreateCisScanConfigurationOutput) String

func (s CreateCisScanConfigurationOutput) String() string

String returns the string representation.

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

type CreateCisTargets

type CreateCisTargets struct {

    // The CIS target account ids.
    //
    // AccountIds is a required field
    AccountIds []*string `locationName:"accountIds" min:"1" type:"list" required:"true"`

    // The CIS target resource tags.
    //
    // TargetResourceTags is a required field
    TargetResourceTags map[string][]*string `locationName:"targetResourceTags" min:"1" type:"map" required:"true"`
    // contains filtered or unexported fields
}

Creates CIS targets.

func (CreateCisTargets) GoString

func (s CreateCisTargets) GoString() string

GoString returns the string representation.

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

func (*CreateCisTargets) SetAccountIds

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

SetAccountIds sets the AccountIds field's value.

func (*CreateCisTargets) SetTargetResourceTags

func (s *CreateCisTargets) SetTargetResourceTags(v map[string][]*string) *CreateCisTargets

SetTargetResourceTags sets the TargetResourceTags field's value.

func (CreateCisTargets) String

func (s CreateCisTargets) String() string

String returns the string representation.

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

func (*CreateCisTargets) Validate

func (s *CreateCisTargets) Validate() error

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

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

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 CreateSbomExportInput

type CreateSbomExportInput struct {

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

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

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

func (CreateSbomExportInput) GoString

func (s CreateSbomExportInput) GoString() string

GoString returns the string representation.

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

func (*CreateSbomExportInput) SetReportFormat

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

SetReportFormat sets the ReportFormat field's value.

func (*CreateSbomExportInput) SetResourceFilterCriteria

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

SetResourceFilterCriteria sets the ResourceFilterCriteria field's value.

func (*CreateSbomExportInput) SetS3Destination

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

SetS3Destination sets the S3Destination field's value.

func (CreateSbomExportInput) String

func (s CreateSbomExportInput) String() string

String returns the string representation.

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

func (*CreateSbomExportInput) Validate

func (s *CreateSbomExportInput) Validate() error

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

type CreateSbomExportOutput

type CreateSbomExportOutput struct {

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

func (CreateSbomExportOutput) GoString

func (s CreateSbomExportOutput) GoString() string

GoString returns the string representation.

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

func (*CreateSbomExportOutput) SetReportId

func (s *CreateSbomExportOutput) SetReportId(v string) *CreateSbomExportOutput

SetReportId sets the ReportId field's value.

func (CreateSbomExportOutput) String

func (s CreateSbomExportOutput) String() string

String returns the string representation.

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

type Cvss2

type Cvss2 struct {

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

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

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

func (Cvss2) GoString

func (s Cvss2) GoString() string

GoString returns the string representation.

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

func (*Cvss2) SetBaseScore

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

SetBaseScore sets the BaseScore field's value.

func (*Cvss2) SetScoringVector

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

SetScoringVector sets the ScoringVector field's value.

func (Cvss2) String

func (s Cvss2) String() string

String returns the string representation.

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

type Cvss3

type Cvss3 struct {

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

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

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

func (Cvss3) GoString

func (s Cvss3) GoString() string

GoString returns the string representation.

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

func (*Cvss3) SetBaseScore

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

SetBaseScore sets the BaseScore field's value.

func (*Cvss3) SetScoringVector

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

SetScoringVector sets the ScoringVector field's value.

func (Cvss3) String

func (s Cvss3) String() string

String returns the string representation.

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

type CvssScore

type CvssScore struct {

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

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

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

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

The CVSS score for a finding.

func (CvssScore) GoString

func (s CvssScore) GoString() string

GoString returns the string representation.

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

func (*CvssScore) SetBaseScore

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

SetBaseScore sets the BaseScore field's value.

func (*CvssScore) SetScoringVector

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

SetScoringVector sets the ScoringVector field's value.

func (*CvssScore) SetSource

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

SetSource sets the Source field's value.

func (*CvssScore) SetVersion

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

SetVersion sets the Version field's value.

func (CvssScore) String

func (s CvssScore) String() string

String returns the string representation.

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

type CvssScoreAdjustment

type CvssScoreAdjustment struct {

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

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

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

func (CvssScoreAdjustment) GoString

func (s CvssScoreAdjustment) GoString() string

GoString returns the string representation.

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

func (*CvssScoreAdjustment) SetMetric

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 DailySchedule

type DailySchedule struct {

    // The schedule start time.
    //
    // StartTime is a required field
    StartTime *Time `locationName:"startTime" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

A daily schedule.

func (DailySchedule) GoString

func (s DailySchedule) GoString() string

GoString returns the string representation.

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

func (*DailySchedule) SetStartTime

func (s *DailySchedule) SetStartTime(v *Time) *DailySchedule

SetStartTime sets the StartTime field's value.

func (DailySchedule) String

func (s DailySchedule) String() string

String returns the string representation.

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

func (*DailySchedule) Validate

func (s *DailySchedule) Validate() error

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

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 DeleteCisScanConfigurationInput

type DeleteCisScanConfigurationInput struct {

    // The ARN of the CIS scan configuration.
    //
    // ScanConfigurationArn is a required field
    ScanConfigurationArn *string `locationName:"scanConfigurationArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteCisScanConfigurationInput) GoString

func (s DeleteCisScanConfigurationInput) GoString() string

GoString returns the string representation.

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

func (*DeleteCisScanConfigurationInput) SetScanConfigurationArn

func (s *DeleteCisScanConfigurationInput) SetScanConfigurationArn(v string) *DeleteCisScanConfigurationInput

SetScanConfigurationArn sets the ScanConfigurationArn field's value.

func (DeleteCisScanConfigurationInput) String

func (s DeleteCisScanConfigurationInput) String() string

String returns the string representation.

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

func (*DeleteCisScanConfigurationInput) Validate

func (s *DeleteCisScanConfigurationInput) Validate() error

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

type DeleteCisScanConfigurationOutput

type DeleteCisScanConfigurationOutput struct {

    // The ARN of the CIS scan configuration.
    //
    // ScanConfigurationArn is a required field
    ScanConfigurationArn *string `locationName:"scanConfigurationArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteCisScanConfigurationOutput) GoString

func (s DeleteCisScanConfigurationOutput) GoString() string

GoString returns the string representation.

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

func (*DeleteCisScanConfigurationOutput) SetScanConfigurationArn

func (s *DeleteCisScanConfigurationOutput) SetScanConfigurationArn(v string) *DeleteCisScanConfigurationOutput

SetScanConfigurationArn sets the ScanConfigurationArn field's value.

func (DeleteCisScanConfigurationOutput) String

func (s DeleteCisScanConfigurationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the 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 that the findings will be written under.
    KeyPrefix *string `locationName:"keyPrefix" type:"string"`

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

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

func (Destination) GoString

func (s Destination) GoString() string

GoString returns the string representation.

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

func (*Destination) SetBucketName

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

SetBucketName sets the BucketName field's value.

func (*Destination) SetKeyPrefix

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

SetKeyPrefix sets the KeyPrefix field's value.

func (*Destination) SetKmsKeyArn

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

SetKmsKeyArn sets the KmsKeyArn field's value.

func (Destination) String

func (s Destination) String() string

String returns the string representation.

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

func (*Destination) Validate

func (s *Destination) Validate() error

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

type DisableDelegatedAdminAccountInput

type DisableDelegatedAdminAccountInput struct {

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

func (DisableDelegatedAdminAccountInput) GoString

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

type EcrConfiguration struct {

    // The rescan duration configured for image pull date.
    PullDateRescanDuration *string `locationName:"pullDateRescanDuration" type:"string" enum:"EcrPullDateRescanDuration"`

    // The rescan duration configured for image push date.
    //
    // 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

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

func (s *EcrConfiguration) SetPullDateRescanDuration(v string) *EcrConfiguration

SetPullDateRescanDuration sets the PullDateRescanDuration field's value.

func (*EcrConfiguration) SetRescanDuration

func (s *EcrConfiguration) SetRescanDuration(v string) *EcrConfiguration

SetRescanDuration sets the RescanDuration field's value.

func (EcrConfiguration) String

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

func (s *EcrConfiguration) Validate() error

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

type EcrConfigurationState

type EcrConfigurationState struct {

    // An object that contains details about the state of the ECR re-scan settings.
    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

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

func (s *EcrConfigurationState) SetRescanDurationState(v *EcrRescanDurationState) *EcrConfigurationState

SetRescanDurationState sets the RescanDurationState field's value.

func (EcrConfigurationState) String

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 {

    // The date an image was last pulled at.
    ImagePulledAt *time.Time `locationName:"imagePulledAt" type:"timestamp"`

    // 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) SetImagePulledAt

func (s *EcrContainerImageMetadata) SetImagePulledAt(v time.Time) *EcrContainerImageMetadata

SetImagePulledAt sets the ImagePulledAt field's value.

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

type EcrRescanDurationState struct {

    // The rescan duration configured for image pull date.
    PullDateRescanDuration *string `locationName:"pullDateRescanDuration" type:"string" enum:"EcrPullDateRescanDuration"`

    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 your ECR re-scan duration settings. The ECR 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 duration configured for image pull date, and the duration configured for image pull date, the monitoring state of that image becomes inactive and all associated findings are scheduled for closure.

func (EcrRescanDurationState) GoString

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

func (s *EcrRescanDurationState) SetPullDateRescanDuration(v string) *EcrRescanDurationState

SetPullDateRescanDuration sets the PullDateRescanDuration field's value.

func (*EcrRescanDurationState) SetRescanDuration

func (s *EcrRescanDurationState) SetRescanDuration(v string) *EcrRescanDurationState

SetRescanDuration sets the RescanDuration field's value.

func (*EcrRescanDurationState) SetStatus

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

SetStatus sets the Status field's value.

func (*EcrRescanDurationState) SetUpdatedAt

func (s *EcrRescanDurationState) SetUpdatedAt(v time.Time) *EcrRescanDurationState

SetUpdatedAt sets the UpdatedAt field's value.

func (EcrRescanDurationState) String

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 Epss

type Epss struct {

    // The Exploit Prediction Scoring System (EPSS) score.
    Score *float64 `locationName:"score" type:"double"`
    // contains filtered or unexported fields
}

Details about the Exploit Prediction Scoring System (EPSS) score.

func (Epss) GoString

func (s Epss) GoString() string

GoString returns the string representation.

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

func (*Epss) SetScore

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

SetScore sets the Score field's value.

func (Epss) String

func (s Epss) String() string

String returns the string representation.

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

type EpssDetails

type EpssDetails struct {

    // The EPSS score.
    Score *float64 `locationName:"score" type:"double"`
    // contains filtered or unexported fields
}

Details about the Exploit Prediction Scoring System (EPSS) score for a finding.

func (EpssDetails) GoString

func (s EpssDetails) GoString() string

GoString returns the string representation.

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

func (*EpssDetails) SetScore

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

SetScore sets the Score field's value.

func (EpssDetails) String

func (s EpssDetails) String() string

String returns the string representation.

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

type Evidence

type Evidence struct {

    // The evidence details.
    EvidenceDetail *string `locationName:"evidenceDetail" type:"string"`

    // The evidence rule.
    EvidenceRule *string `locationName:"evidenceRule" type:"string"`

    // The evidence severity.
    Severity *string `locationName:"severity" type:"string"`
    // contains filtered or unexported fields
}

Details of the evidence for a vulnerability identified in a finding.

func (Evidence) GoString

func (s Evidence) GoString() string

GoString returns the string representation.

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

func (*Evidence) SetEvidenceDetail

func (s *Evidence) SetEvidenceDetail(v string) *Evidence

SetEvidenceDetail sets the EvidenceDetail field's value.

func (*Evidence) SetEvidenceRule

func (s *Evidence) SetEvidenceRule(v string) *Evidence

SetEvidenceRule sets the EvidenceRule field's value.

func (*Evidence) SetSeverity

func (s *Evidence) SetSeverity(v string) *Evidence

SetSeverity sets the Severity field's value.

func (Evidence) String

func (s Evidence) String() string

String returns the string representation.

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

type ExploitObserved

type ExploitObserved struct {

    // The date an time when the exploit was first seen.
    FirstSeen *time.Time `locationName:"firstSeen" type:"timestamp"`

    // The date an time when the exploit was last seen.
    LastSeen *time.Time `locationName:"lastSeen" type:"timestamp"`
    // contains filtered or unexported fields
}

Contains information on when this exploit was observed.

func (ExploitObserved) GoString

func (s ExploitObserved) GoString() string

GoString returns the string representation.

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

func (*ExploitObserved) SetFirstSeen

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

SetFirstSeen sets the FirstSeen field's value.

func (*ExploitObserved) SetLastSeen

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

SetLastSeen sets the LastSeen field's value.

func (ExploitObserved) String

func (s ExploitObserved) String() string

String returns the string representation.

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

type ExploitabilityDetails

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

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

func (s *ExploitabilityDetails) SetLastKnownExploitAt(v time.Time) *ExploitabilityDetails

SetLastKnownExploitAt sets the LastKnownExploitAt field's value.

func (ExploitabilityDetails) String

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

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

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

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

SetAccountId sets the AccountId field's value.

func (*FailedMemberAccountEc2DeepInspectionStatusState) SetEc2ScanStatus

func (s *FailedMemberAccountEc2DeepInspectionStatusState) SetEc2ScanStatus(v string) *FailedMemberAccountEc2DeepInspectionStatusState

SetEc2ScanStatus sets the Ec2ScanStatus field's value.

func (*FailedMemberAccountEc2DeepInspectionStatusState) SetErrorMessage

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

SetErrorMessage sets the ErrorMessage field's value.

func (FailedMemberAccountEc2DeepInspectionStatusState) String

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

func (s Filter) GoString() string

GoString returns the string representation.

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

func (*Filter) SetAction

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

SetAction sets the Action field's value.

func (*Filter) SetArn

func (s *Filter) SetArn(v string) *Filter

SetArn sets the Arn field's value.

func (*Filter) SetCreatedAt

func (s *Filter) SetCreatedAt(v time.Time) *Filter

SetCreatedAt sets the CreatedAt field's value.

func (*Filter) SetCriteria

func (s *Filter) SetCriteria(v *FilterCriteria) *Filter

SetCriteria sets the Criteria field's value.

func (*Filter) SetDescription

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

SetDescription sets the Description field's value.

func (*Filter) SetName

func (s *Filter) SetName(v string) *Filter

SetName sets the Name field's value.

func (*Filter) SetOwnerId

func (s *Filter) SetOwnerId(v string) *Filter

SetOwnerId sets the OwnerId field's value.

func (*Filter) SetReason

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

SetReason sets the Reason field's value.

func (*Filter) SetTags

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

SetTags sets the Tags field's value.

func (*Filter) SetUpdatedAt

func (s *Filter) SetUpdatedAt(v time.Time) *Filter

SetUpdatedAt sets the UpdatedAt field's value.

func (Filter) String

func (s Filter) String() string

String returns the string representation.

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

type FilterCriteria

type FilterCriteria struct {

    // Details of the Amazon Web Services account IDs used to filter findings.
    AwsAccountId []*StringFilter `locationName:"awsAccountId" min:"1" type:"list"`

    // The name of the detector used to identify a code vulnerability in a Lambda
    // function used to filter findings.
    CodeVulnerabilityDetectorName []*StringFilter `locationName:"codeVulnerabilityDetectorName" min:"1" type:"list"`

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

    // The file path to the file in a Lambda function that contains a code vulnerability
    // used to filter findings.
    CodeVulnerabilityFilePath []*StringFilter `locationName:"codeVulnerabilityFilePath" min:"1" type:"list"`

    // Details of the component IDs used to filter findings.
    ComponentId []*StringFilter `locationName:"componentId" min:"1" type:"list"`

    // Details of the component types used to filter findings.
    ComponentType []*StringFilter `locationName:"componentType" min:"1" type:"list"`

    // Details of the Amazon EC2 instance image IDs used to filter findings.
    Ec2InstanceImageId []*StringFilter `locationName:"ec2InstanceImageId" min:"1" type:"list"`

    // Details of the Amazon EC2 instance subnet IDs used to filter findings.
    Ec2InstanceSubnetId []*StringFilter `locationName:"ec2InstanceSubnetId" min:"1" type:"list"`

    // Details of the Amazon EC2 instance VPC IDs used to filter findings.
    Ec2InstanceVpcId []*StringFilter `locationName:"ec2InstanceVpcId" min:"1" type:"list"`

    // Details of the Amazon ECR image architecture types used to filter findings.
    EcrImageArchitecture []*StringFilter `locationName:"ecrImageArchitecture" min:"1" type:"list"`

    // Details of the Amazon ECR image hashes used to filter findings.
    EcrImageHash []*StringFilter `locationName:"ecrImageHash" min:"1" type:"list"`

    // Details on the Amazon ECR image push date and time used to filter findings.
    EcrImagePushedAt []*DateFilter `locationName:"ecrImagePushedAt" min:"1" type:"list"`

    // Details on the Amazon ECR registry used to filter findings.
    EcrImageRegistry []*StringFilter `locationName:"ecrImageRegistry" min:"1" type:"list"`

    // Details on the name of the Amazon ECR repository used to filter findings.
    EcrImageRepositoryName []*StringFilter `locationName:"ecrImageRepositoryName" min:"1" type:"list"`

    // The tags attached to the Amazon ECR container image.
    EcrImageTags []*StringFilter `locationName:"ecrImageTags" min:"1" type:"list"`

    // The EPSS score used to filter findings.
    EpssScore []*NumberFilter `locationName:"epssScore" min:"1" type:"list"`

    // Filters the list of Amazon Web Services 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 Amazon Web Services Lambda functions by execution role.
    LambdaFunctionExecutionRoleArn []*StringFilter `locationName:"lambdaFunctionExecutionRoleArn" min:"1" type:"list"`

    // Filters the list of Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services Lambda functions by the name of the
    // function.
    LambdaFunctionName []*StringFilter `locationName:"lambdaFunctionName" min:"1" type:"list"`

    // Filters the list of Amazon Web Services Lambda functions by the runtime environment
    // for the Lambda function.
    LambdaFunctionRuntime []*StringFilter `locationName:"lambdaFunctionRuntime" min:"1" type:"list"`

    // Details on the date and time a finding was last seen used to filter findings.
    LastObservedAt []*DateFilter `locationName:"lastObservedAt" min:"1" type:"list"`

    // Details on network protocol used to filter findings.
    NetworkProtocol []*StringFilter `locationName:"networkProtocol" min:"1" type:"list"`

    // Details on the port ranges used to filter findings.
    PortRange []*PortRangeFilter `locationName:"portRange" min:"1" type:"list"`

    // Details on the related vulnerabilities used to filter findings.
    RelatedVulnerabilities []*StringFilter `locationName:"relatedVulnerabilities" min:"1" type:"list"`

    // Details on the resource IDs used to filter findings.
    ResourceId []*StringFilter `locationName:"resourceId" min:"1" type:"list"`

    // Details on the resource tags used to filter findings.
    ResourceTags []*MapFilter `locationName:"resourceTags" min:"1" type:"list"`

    // Details on the resource types used to filter findings.
    ResourceType []*StringFilter `locationName:"resourceType" min:"1" type:"list"`

    // Details on the severity used to filter findings.
    Severity []*StringFilter `locationName:"severity" min:"1" type:"list"`

    // Details on the finding title used to filter findings.
    Title []*StringFilter `locationName:"title" min:"1" type:"list"`

    // Details on the date and time a finding was last updated at used to filter
    // findings.
    UpdatedAt []*DateFilter `locationName:"updatedAt" min:"1" type:"list"`

    // Details on the vendor severity used to filter findings.
    VendorSeverity []*StringFilter `locationName:"vendorSeverity" min:"1" type:"list"`

    // Details on the vulnerability ID used to filter findings.
    VulnerabilityId []*StringFilter `locationName:"vulnerabilityId" min:"1" type:"list"`

    // Details on the vulnerability type used to filter findings.
    VulnerabilitySource []*StringFilter `locationName:"vulnerabilitySource" min:"1" type:"list"`

    // Details on the vulnerable packages used to filter findings.
    VulnerablePackages []*PackageFilter `locationName:"vulnerablePackages" min:"1" type:"list"`
    // contains filtered or unexported fields
}

Details on the criteria used to define the filter.

func (FilterCriteria) GoString

func (s FilterCriteria) GoString() string

GoString returns the string representation.

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

func (*FilterCriteria) SetAwsAccountId

func (s *FilterCriteria) SetAwsAccountId(v []*StringFilter) *FilterCriteria

SetAwsAccountId sets the AwsAccountId field's value.

func (*FilterCriteria) SetCodeVulnerabilityDetectorName

func (s *FilterCriteria) SetCodeVulnerabilityDetectorName(v []*StringFilter) *FilterCriteria

SetCodeVulnerabilityDetectorName sets the CodeVulnerabilityDetectorName field's value.

func (*FilterCriteria) SetCodeVulnerabilityDetectorTags

func (s *FilterCriteria) SetCodeVulnerabilityDetectorTags(v []*StringFilter) *FilterCriteria

SetCodeVulnerabilityDetectorTags sets the CodeVulnerabilityDetectorTags field's value.

func (*FilterCriteria) SetCodeVulnerabilityFilePath

func (s *FilterCriteria) SetCodeVulnerabilityFilePath(v []*StringFilter) *FilterCriteria

SetCodeVulnerabilityFilePath sets the CodeVulnerabilityFilePath field's value.

func (*FilterCriteria) SetComponentId

func (s *FilterCriteria) SetComponentId(v []*StringFilter) *FilterCriteria

SetComponentId sets the ComponentId field's value.

func (*FilterCriteria) SetComponentType

func (s *FilterCriteria) SetComponentType(v []*StringFilter) *FilterCriteria

SetComponentType sets the ComponentType field's value.

func (*FilterCriteria) SetEc2InstanceImageId

func (s *FilterCriteria) SetEc2InstanceImageId(v []*StringFilter) *FilterCriteria

SetEc2InstanceImageId sets the Ec2InstanceImageId field's value.

func (*FilterCriteria) SetEc2InstanceSubnetId

func (s *FilterCriteria) SetEc2InstanceSubnetId(v []*StringFilter) *FilterCriteria

SetEc2InstanceSubnetId sets the Ec2InstanceSubnetId field's value.

func (*FilterCriteria) SetEc2InstanceVpcId

func (s *FilterCriteria) SetEc2InstanceVpcId(v []*StringFilter) *FilterCriteria

SetEc2InstanceVpcId sets the Ec2InstanceVpcId field's value.

func (*FilterCriteria) SetEcrImageArchitecture

func (s *FilterCriteria) SetEcrImageArchitecture(v []*StringFilter) *FilterCriteria

SetEcrImageArchitecture sets the EcrImageArchitecture field's value.

func (*FilterCriteria) SetEcrImageHash

func (s *FilterCriteria) SetEcrImageHash(v []*StringFilter) *FilterCriteria

SetEcrImageHash sets the EcrImageHash field's value.

func (*FilterCriteria) SetEcrImagePushedAt

func (s *FilterCriteria) SetEcrImagePushedAt(v []*DateFilter) *FilterCriteria

SetEcrImagePushedAt sets the EcrImagePushedAt field's value.

func (*FilterCriteria) SetEcrImageRegistry

func (s *FilterCriteria) SetEcrImageRegistry(v []*StringFilter) *FilterCriteria

SetEcrImageRegistry sets the EcrImageRegistry field's value.

func (*FilterCriteria) SetEcrImageRepositoryName

func (s *FilterCriteria) SetEcrImageRepositoryName(v []*StringFilter) *FilterCriteria

SetEcrImageRepositoryName sets the EcrImageRepositoryName field's value.

func (*FilterCriteria) SetEcrImageTags

func (s *FilterCriteria) SetEcrImageTags(v []*StringFilter) *FilterCriteria

SetEcrImageTags sets the EcrImageTags field's value.

func (*FilterCriteria) SetEpssScore

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

SetEpssScore sets the EpssScore field's value.

func (*FilterCriteria) SetExploitAvailable

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

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

func (s *FilterCriteria) SetLambdaFunctionExecutionRoleArn(v []*StringFilter) *FilterCriteria

SetLambdaFunctionExecutionRoleArn sets the LambdaFunctionExecutionRoleArn field's value.

func (*FilterCriteria) SetLambdaFunctionLastModifiedAt

func (s *FilterCriteria) SetLambdaFunctionLastModifiedAt(v []*DateFilter) *FilterCriteria

SetLambdaFunctionLastModifiedAt sets the LambdaFunctionLastModifiedAt field's value.

func (*FilterCriteria) SetLambdaFunctionLayers

func (s *FilterCriteria) SetLambdaFunctionLayers(v []*StringFilter) *FilterCriteria

SetLambdaFunctionLayers sets the LambdaFunctionLayers field's value.

func (*FilterCriteria) SetLambdaFunctionName

func (s *FilterCriteria) SetLambdaFunctionName(v []*StringFilter) *FilterCriteria

SetLambdaFunctionName sets the LambdaFunctionName field's value.

func (*FilterCriteria) SetLambdaFunctionRuntime

func (s *FilterCriteria) SetLambdaFunctionRuntime(v []*StringFilter) *FilterCriteria

SetLambdaFunctionRuntime sets the LambdaFunctionRuntime field's value.

func (*FilterCriteria) SetLastObservedAt

func (s *FilterCriteria) SetLastObservedAt(v []*DateFilter) *FilterCriteria

SetLastObservedAt sets the LastObservedAt field's value.

func (*FilterCriteria) SetNetworkProtocol

func (s *FilterCriteria) SetNetworkProtocol(v []*StringFilter) *FilterCriteria

SetNetworkProtocol sets the NetworkProtocol field's value.

func (*FilterCriteria) SetPortRange

func (s *FilterCriteria) SetPortRange(v []*PortRangeFilter) *FilterCriteria

SetPortRange sets the PortRange field's value.

func (*FilterCriteria) SetRelatedVulnerabilities

func (s *FilterCriteria) SetRelatedVulnerabilities(v []*StringFilter) *FilterCriteria

SetRelatedVulnerabilities sets the RelatedVulnerabilities field's value.

func (*FilterCriteria) SetResourceId

func (s *FilterCriteria) SetResourceId(v []*StringFilter) *FilterCriteria

SetResourceId sets the ResourceId field's value.

func (*FilterCriteria) SetResourceTags

func (s *FilterCriteria) SetResourceTags(v []*MapFilter) *FilterCriteria

SetResourceTags sets the ResourceTags field's value.

func (*FilterCriteria) SetResourceType

func (s *FilterCriteria) SetResourceType(v []*StringFilter) *FilterCriteria

SetResourceType sets the ResourceType field's value.

func (*FilterCriteria) SetSeverity

func (s *FilterCriteria) SetSeverity(v []*StringFilter) *FilterCriteria

SetSeverity sets the Severity field's value.

func (*FilterCriteria) SetTitle

func (s *FilterCriteria) SetTitle(v []*StringFilter) *FilterCriteria

SetTitle sets the Title field's value.

func (*FilterCriteria) SetUpdatedAt

func (s *FilterCriteria) SetUpdatedAt(v []*DateFilter) *FilterCriteria

SetUpdatedAt sets the UpdatedAt field's value.

func (*FilterCriteria) SetVendorSeverity

func (s *FilterCriteria) SetVendorSeverity(v []*StringFilter) *FilterCriteria

SetVendorSeverity sets the VendorSeverity field's value.

func (*FilterCriteria) SetVulnerabilityId

func (s *FilterCriteria) SetVulnerabilityId(v []*StringFilter) *FilterCriteria

SetVulnerabilityId sets the VulnerabilityId field's value.

func (*FilterCriteria) SetVulnerabilitySource

func (s *FilterCriteria) SetVulnerabilitySource(v []*StringFilter) *FilterCriteria

SetVulnerabilitySource sets the VulnerabilitySource field's value.

func (*FilterCriteria) SetVulnerablePackages

func (s *FilterCriteria) SetVulnerablePackages(v []*PackageFilter) *FilterCriteria

SetVulnerablePackages sets the VulnerablePackages field's value.

func (FilterCriteria) String

func (s FilterCriteria) String() string

String returns the string representation.

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

func (*FilterCriteria) Validate

func (s *FilterCriteria) Validate() error

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

type Finding

type Finding struct {

    // The Amazon Web Services account ID associated with the finding.
    //
    // AwsAccountId is a required field
    AwsAccountId *string `locationName:"awsAccountId" min:"12" type:"string" required:"true"`

    // Details about the code vulnerability identified in a Lambda function used
    // to filter findings.
    CodeVulnerabilityDetails *CodeVulnerabilityDetails `locationName:"codeVulnerabilityDetails" type:"structure"`

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

    // The finding's EPSS score.
    Epss *EpssDetails `locationName:"epss" type:"structure"`

    // If a finding discovered in your environment has an exploit available.
    ExploitAvailable *string `locationName:"exploitAvailable" type:"string" enum:"ExploitAvailable"`

    // The details of an exploit available for a finding discovered in your environment.
    ExploitabilityDetails *ExploitabilityDetails `locationName:"exploitabilityDetails" type:"structure"`

    // The Amazon Resource Number (ARN) of the finding.
    //
    // FindingArn is a required field
    FindingArn *string `locationName:"findingArn" min:"1" type:"string" required:"true"`

    // The date and time that the finding was first observed.
    //
    // FirstObservedAt is a required field
    FirstObservedAt *time.Time `locationName:"firstObservedAt" type:"timestamp" required:"true"`

    // Details on whether a fix is available through a version update. This value
    // can be YES, NO, or PARTIAL. A PARTIAL fix means that some, but not all, of
    // the packages identified in the finding have fixes available through updated
    // versions.
    FixAvailable *string `locationName:"fixAvailable" type:"string" enum:"FixAvailable"`

    // The Amazon Inspector score given to the finding.
    InspectorScore *float64 `locationName:"inspectorScore" type:"double"`

    // An object that contains details of the Amazon Inspector score.
    InspectorScoreDetails *InspectorScoreDetails `locationName:"inspectorScoreDetails" type:"structure"`

    // The date and time that the finding was last observed.
    //
    // LastObservedAt is a required field
    LastObservedAt *time.Time `locationName:"lastObservedAt" type:"timestamp" required:"true"`

    // An object that contains the details of a network reachability finding.
    NetworkReachabilityDetails *NetworkReachabilityDetails `locationName:"networkReachabilityDetails" type:"structure"`

    // An object that contains the details of a package vulnerability finding.
    PackageVulnerabilityDetails *PackageVulnerabilityDetails `locationName:"packageVulnerabilityDetails" type:"structure"`

    // An object that contains the details about how to remediate a finding.
    //
    // Remediation is a required field
    Remediation *Remediation `locationName:"remediation" type:"structure" required:"true"`

    // Contains information on the resources involved in a finding. The resource
    // value determines the valid values for type in your request. For more information,
    // see Finding types (https://docs.aws.amazon.com/inspector/latest/user/findings-types.html)
    // in the Amazon Inspector user guide.
    //
    // Resources is a required field
    Resources []*Resource `locationName:"resources" min:"1" type:"list" required:"true"`

    // The severity of the finding. UNTRIAGED applies to PACKAGE_VULNERABILITY type
    // findings that the vendor has not assigned a severity yet. For more information,
    // see Severity levels for findings (https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-severity.html)
    // in the Amazon Inspector user guide.
    //
    // Severity is a required field
    Severity *string `locationName:"severity" type:"string" required:"true" enum:"Severity"`

    // The status of the finding.
    //
    // Status is a required field
    Status *string `locationName:"status" type:"string" required:"true" enum:"FindingStatus"`

    // The title of the finding.
    Title *string `locationName:"title" min:"1" type:"string"`

    // The type of the finding. The type value determines the valid values for resource
    // in your request. For more information, see Finding types (https://docs.aws.amazon.com/inspector/latest/user/findings-types.html)
    // in the Amazon Inspector user guide.
    //
    // Type is a required field
    Type *string `locationName:"type" type:"string" required:"true" enum:"FindingType"`

    // The date and time the finding was last updated at.
    UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp"`
    // contains filtered or unexported fields
}

Details about an Amazon Inspector finding.

func (Finding) GoString

func (s Finding) GoString() string

GoString returns the string representation.

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

func (*Finding) SetAwsAccountId

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

SetAwsAccountId sets the AwsAccountId field's value.

func (*Finding) SetCodeVulnerabilityDetails

func (s *Finding) SetCodeVulnerabilityDetails(v *CodeVulnerabilityDetails) *Finding

SetCodeVulnerabilityDetails sets the CodeVulnerabilityDetails field's value.

func (*Finding) SetDescription

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

SetDescription sets the Description field's value.

func (*Finding) SetEpss

func (s *Finding) SetEpss(v *EpssDetails) *Finding

SetEpss sets the Epss field's value.

func (*Finding) SetExploitAvailable

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

SetExploitAvailable sets the ExploitAvailable field's value.

func (*Finding) SetExploitabilityDetails

func (s *Finding) SetExploitabilityDetails(v *ExploitabilityDetails) *Finding

SetExploitabilityDetails sets the ExploitabilityDetails field's value.

func (*Finding) SetFindingArn

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

SetFindingArn sets the FindingArn field's value.

func (*Finding) SetFirstObservedAt

func (s *Finding) SetFirstObservedAt(v time.Time) *Finding

SetFirstObservedAt sets the FirstObservedAt field's value.

func (*Finding) SetFixAvailable

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

SetFixAvailable sets the FixAvailable field's value.

func (*Finding) SetInspectorScore

func (s *Finding) SetInspectorScore(v float64) *Finding

SetInspectorScore sets the InspectorScore field's value.

func (*Finding) SetInspectorScoreDetails

func (s *Finding) SetInspectorScoreDetails(v *InspectorScoreDetails) *Finding

SetInspectorScoreDetails sets the InspectorScoreDetails field's value.

func (*Finding) SetLastObservedAt

func (s *Finding) SetLastObservedAt(v time.Time) *Finding

SetLastObservedAt sets the LastObservedAt field's value.

func (*Finding) SetNetworkReachabilityDetails

func (s *Finding) SetNetworkReachabilityDetails(v *NetworkReachabilityDetails) *Finding

SetNetworkReachabilityDetails sets the NetworkReachabilityDetails field's value.

func (*Finding) SetPackageVulnerabilityDetails

func (s *Finding) SetPackageVulnerabilityDetails(v *PackageVulnerabilityDetails) *Finding

SetPackageVulnerabilityDetails sets the PackageVulnerabilityDetails field's value.

func (*Finding) SetRemediation

func (s *Finding) SetRemediation(v *Remediation) *Finding

SetRemediation sets the Remediation field's value.

func (*Finding) SetResources

func (s *Finding) SetResources(v []*Resource) *Finding

SetResources sets the Resources field's value.

func (*Finding) SetSeverity

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

SetSeverity sets the Severity field's value.

func (*Finding) SetStatus

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

SetStatus sets the Status field's value.

func (*Finding) SetTitle

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

SetTitle sets the Title field's value.

func (*Finding) SetType

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

SetType sets the Type field's value.

func (*Finding) SetUpdatedAt

func (s *Finding) SetUpdatedAt(v time.Time) *Finding

SetUpdatedAt sets the UpdatedAt field's value.

func (Finding) String

func (s Finding) String() string

String returns the string representation.

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

type FindingDetail

type FindingDetail struct {

    // The Cybersecurity and Infrastructure Security Agency (CISA) details for a
    // specific vulnerability.
    CisaData *CisaData `locationName:"cisaData" type:"structure"`

    // The Common Weakness Enumerations (CWEs) associated with the vulnerability.
    Cwes []*string `locationName:"cwes" type:"list"`

    // The Exploit Prediction Scoring System (EPSS) score of the vulnerability.
    EpssScore *float64 `locationName:"epssScore" type:"double"`

    // Information on the evidence of the vulnerability.
    Evidences []*Evidence `locationName:"evidences" type:"list"`

    // Contains information on when this exploit was observed.
    ExploitObserved *ExploitObserved `locationName:"exploitObserved" type:"structure"`

    // The finding ARN that the vulnerability details are associated with.
    FindingArn *string `locationName:"findingArn" min:"1" type:"string"`

    // The reference URLs for the vulnerability data.
    ReferenceUrls []*string `locationName:"referenceUrls" type:"list"`

    // The risk score of the vulnerability.
    RiskScore *int64 `locationName:"riskScore" type:"integer"`

    // The known malware tools or kits that can exploit the vulnerability.
    Tools []*string `locationName:"tools" type:"list"`

    // The MITRE adversary tactics, techniques, or procedures (TTPs) associated
    // with the vulnerability.
    Ttps []*string `locationName:"ttps" type:"list"`
    // contains filtered or unexported fields
}

Details of the vulnerability identified in a finding.

func (FindingDetail) GoString

func (s FindingDetail) GoString() string

GoString returns the string representation.

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

func (*FindingDetail) SetCisaData

func (s *FindingDetail) SetCisaData(v *CisaData) *FindingDetail

SetCisaData sets the CisaData field's value.

func (*FindingDetail) SetCwes

func (s *FindingDetail) SetCwes(v []*string) *FindingDetail

SetCwes sets the Cwes field's value.

func (*FindingDetail) SetEpssScore

func (s *FindingDetail) SetEpssScore(v float64) *FindingDetail

SetEpssScore sets the EpssScore field's value.

func (*FindingDetail) SetEvidences

func (s *FindingDetail) SetEvidences(v []*Evidence) *FindingDetail

SetEvidences sets the Evidences field's value.

func (*FindingDetail) SetExploitObserved

func (s *FindingDetail) SetExploitObserved(v *ExploitObserved) *FindingDetail

SetExploitObserved sets the ExploitObserved field's value.

func (*FindingDetail) SetFindingArn

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

SetFindingArn sets the FindingArn field's value.

func (*FindingDetail) SetReferenceUrls

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

SetReferenceUrls sets the ReferenceUrls field's value.

func (*FindingDetail) SetRiskScore

func (s *FindingDetail) SetRiskScore(v int64) *FindingDetail

SetRiskScore sets the RiskScore field's value.

func (*FindingDetail) SetTools

func (s *FindingDetail) SetTools(v []*string) *FindingDetail

SetTools sets the Tools field's value.

func (*FindingDetail) SetTtps

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

SetTtps sets the Ttps field's value.

func (FindingDetail) String

func (s FindingDetail) String() string

String returns the string representation.

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

type FindingDetailsError

type FindingDetailsError struct {

    // The error code.
    //
    // ErrorCode is a required field
    ErrorCode *string `locationName:"errorCode" type:"string" required:"true" enum:"FindingDetailsErrorCode"`

    // The error message.
    //
    // ErrorMessage is a required field
    ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string" required:"true"`

    // The finding ARN that returned an error.
    //
    // FindingArn is a required field
    FindingArn *string `locationName:"findingArn" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Details about an error encountered when trying to return vulnerability data for a finding.

func (FindingDetailsError) GoString

func (s FindingDetailsError) GoString() string

GoString returns the string representation.

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

func (*FindingDetailsError) SetErrorCode

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

SetErrorCode sets the ErrorCode field's value.

func (*FindingDetailsError) SetErrorMessage

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

SetErrorMessage sets the ErrorMessage field's value.

func (*FindingDetailsError) SetFindingArn

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

SetFindingArn sets the FindingArn field's value.

func (FindingDetailsError) String

func (s FindingDetailsError) String() string

String returns the string representation.

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

type FindingTypeAggregation

type FindingTypeAggregation struct {

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

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

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

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

The details that define an aggregation based on finding type.

func (FindingTypeAggregation) GoString

func (s FindingTypeAggregation) GoString() string

GoString returns the string representation.

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

func (*FindingTypeAggregation) SetFindingType

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 GetCisScanReportInput

type GetCisScanReportInput struct {

    // The scan ARN.
    //
    // ScanArn is a required field
    ScanArn *string `locationName:"scanArn" type:"string" required:"true"`

    // The target accounts.
    TargetAccounts []*string `locationName:"targetAccounts" type:"list"`
    // contains filtered or unexported fields
}

func (GetCisScanReportInput) GoString

func (s GetCisScanReportInput) GoString() string

GoString returns the string representation.

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

func (*GetCisScanReportInput) SetScanArn

func (s *GetCisScanReportInput) SetScanArn(v string) *GetCisScanReportInput

SetScanArn sets the ScanArn field's value.

func (*GetCisScanReportInput) SetTargetAccounts

func (s *GetCisScanReportInput) SetTargetAccounts(v []*string) *GetCisScanReportInput

SetTargetAccounts sets the TargetAccounts field's value.

func (GetCisScanReportInput) String

func (s GetCisScanReportInput) String() string

String returns the string representation.

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

func (*GetCisScanReportInput) Validate

func (s *GetCisScanReportInput) Validate() error

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

type GetCisScanReportOutput

type GetCisScanReportOutput struct {

    // The status.
    Status *string `locationName:"status" type:"string" enum:"CisReportStatus"`

    // The URL where the CIS scan report PDF can be downloaded.
    Url *string `locationName:"url" type:"string"`
    // contains filtered or unexported fields
}

func (GetCisScanReportOutput) GoString

func (s GetCisScanReportOutput) GoString() string

GoString returns the string representation.

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

func (*GetCisScanReportOutput) SetStatus

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

SetStatus sets the Status field's value.

func (*GetCisScanReportOutput) SetUrl

func (s *GetCisScanReportOutput) SetUrl(v string) *GetCisScanReportOutput

SetUrl sets the Url field's value.

func (GetCisScanReportOutput) String

func (s GetCisScanReportOutput) String() string

String returns the string representation.

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

type GetCisScanResultDetailsInput

type GetCisScanResultDetailsInput struct {

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

    // The filter criteria.
    FilterCriteria *CisScanResultDetailsFilterCriteria `locationName:"filterCriteria" type:"structure"`

    // The maximum number of CIS scan result details to be returned in a single
    // page of results.
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // The pagination token from a previous request that's used to retrieve the
    // next page of results.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The scan ARN.
    //
    // ScanArn is a required field
    ScanArn *string `locationName:"scanArn" type:"string" required:"true"`

    // The sort by order.
    SortBy *string `locationName:"sortBy" type:"string" enum:"CisScanResultDetailsSortBy"`

    // The sort order.
    SortOrder *string `locationName:"sortOrder" type:"string" enum:"CisSortOrder"`

    // The target resource ID.
    //
    // TargetResourceId is a required field
    TargetResourceId *string `locationName:"targetResourceId" min:"10" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetCisScanResultDetailsInput) GoString

func (s GetCisScanResultDetailsInput) GoString() string

GoString returns the string representation.

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

func (*GetCisScanResultDetailsInput) SetAccountId

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

SetAccountId sets the AccountId field's value.

func (*GetCisScanResultDetailsInput) SetFilterCriteria

func (s *GetCisScanResultDetailsInput) SetFilterCriteria(v *CisScanResultDetailsFilterCriteria) *GetCisScanResultDetailsInput

SetFilterCriteria sets the FilterCriteria field's value.

func (*GetCisScanResultDetailsInput) SetMaxResults

func (s *GetCisScanResultDetailsInput) SetMaxResults(v int64) *GetCisScanResultDetailsInput

SetMaxResults sets the MaxResults field's value.

func (*GetCisScanResultDetailsInput) SetNextToken

func (s *GetCisScanResultDetailsInput) SetNextToken(v string) *GetCisScanResultDetailsInput

SetNextToken sets the NextToken field's value.

func (*GetCisScanResultDetailsInput) SetScanArn

func (s *GetCisScanResultDetailsInput) SetScanArn(v string) *GetCisScanResultDetailsInput

SetScanArn sets the ScanArn field's value.

func (*GetCisScanResultDetailsInput) SetSortBy

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

SetSortBy sets the SortBy field's value.

func (*GetCisScanResultDetailsInput) SetSortOrder

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

SetSortOrder sets the SortOrder field's value.

func (*GetCisScanResultDetailsInput) SetTargetResourceId

func (s *GetCisScanResultDetailsInput) SetTargetResourceId(v string) *GetCisScanResultDetailsInput

SetTargetResourceId sets the TargetResourceId field's value.

func (GetCisScanResultDetailsInput) String

func (s GetCisScanResultDetailsInput) String() string

String returns the string representation.

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

func (*GetCisScanResultDetailsInput) Validate

func (s *GetCisScanResultDetailsInput) Validate() error

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

type GetCisScanResultDetailsOutput

type GetCisScanResultDetailsOutput struct {

    // The pagination token from a previous request that's used to retrieve the
    // next page of results.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The scan result details.
    ScanResultDetails []*CisScanResultDetails `locationName:"scanResultDetails" min:"1" type:"list"`
    // contains filtered or unexported fields
}

func (GetCisScanResultDetailsOutput) GoString

func (s GetCisScanResultDetailsOutput) GoString() string

GoString returns the string representation.

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

func (*GetCisScanResultDetailsOutput) SetNextToken

func (s *GetCisScanResultDetailsOutput) SetNextToken(v string) *GetCisScanResultDetailsOutput

SetNextToken sets the NextToken field's value.

func (*GetCisScanResultDetailsOutput) SetScanResultDetails

func (s *GetCisScanResultDetailsOutput) SetScanResultDetails(v []*CisScanResultDetails) *GetCisScanResultDetailsOutput

SetScanResultDetails sets the ScanResultDetails field's value.

func (GetCisScanResultDetailsOutput) String

func (s GetCisScanResultDetailsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the 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

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

func (GetConfigurationInput) GoString

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

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

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

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

func (s *GetConfigurationOutput) SetEcrConfiguration(v *EcrConfigurationState) *GetConfigurationOutput

SetEcrConfiguration sets the EcrConfiguration field's value.

func (GetConfigurationOutput) String

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

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

func (GetEc2DeepInspectionConfigurationInput) GoString

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

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

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

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

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

SetErrorMessage sets the ErrorMessage field's value.

func (*GetEc2DeepInspectionConfigurationOutput) SetOrgPackagePaths

func (s *GetEc2DeepInspectionConfigurationOutput) SetOrgPackagePaths(v []*string) *GetEc2DeepInspectionConfigurationOutput

SetOrgPackagePaths sets the OrgPackagePaths field's value.

func (*GetEc2DeepInspectionConfigurationOutput) SetPackagePaths

func (s *GetEc2DeepInspectionConfigurationOutput) SetPackagePaths(v []*string) *GetEc2DeepInspectionConfigurationOutput

SetPackagePaths sets the PackagePaths field's value.

func (*GetEc2DeepInspectionConfigurationOutput) SetStatus

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

SetStatus sets the Status field's value.

func (GetEc2DeepInspectionConfigurationOutput) String

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 GetEncryptionKeyInput

type GetEncryptionKeyInput struct {

    // The resource type the key encrypts.
    //
    // ResourceType is a required field
    ResourceType *string `location:"querystring" locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"`

    // The scan type the key encrypts.
    //
    // ScanType is a required field
    ScanType *string `location:"querystring" locationName:"scanType" type:"string" required:"true" enum:"ScanType"`
    // contains filtered or unexported fields
}

func (GetEncryptionKeyInput) GoString

func (s GetEncryptionKeyInput) GoString() string

GoString returns the string representation.

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

func (*GetEncryptionKeyInput) SetResourceType

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

SetResourceType sets the ResourceType field's value.

func (*GetEncryptionKeyInput) SetScanType

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

SetScanType sets the ScanType field's value.

func (GetEncryptionKeyInput) String

func (s GetEncryptionKeyInput) String() string

String returns the string representation.

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

func (*GetEncryptionKeyInput) Validate

func (s *GetEncryptionKeyInput) Validate() error

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

type GetEncryptionKeyOutput

type GetEncryptionKeyOutput struct {

    // A kms key ID.
    //
    // KmsKeyId is a required field
    KmsKeyId *string `locationName:"kmsKeyId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetEncryptionKeyOutput) GoString

func (s GetEncryptionKeyOutput) GoString() string

GoString returns the string representation.

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

func (*GetEncryptionKeyOutput) SetKmsKeyId

func (s *GetEncryptionKeyOutput) SetKmsKeyId(v string) *GetEncryptionKeyOutput

SetKmsKeyId sets the KmsKeyId field's value.

func (GetEncryptionKeyOutput) String

func (s GetEncryptionKeyOutput) String() string

String returns the string representation.

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

type GetFindingsReportStatusInput

type GetFindingsReportStatusInput struct {

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

func (GetFindingsReportStatusInput) GoString

func (s GetFindingsReportStatusInput) GoString() string

GoString returns the string representation.

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

func (*GetFindingsReportStatusInput) SetReportId

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 GetSbomExportInput

type GetSbomExportInput struct {

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

func (GetSbomExportInput) GoString

func (s GetSbomExportInput) GoString() string

GoString returns the string representation.

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

func (*GetSbomExportInput) SetReportId

func (s *GetSbomExportInput) SetReportId(v string) *GetSbomExportInput

SetReportId sets the ReportId field's value.

func (GetSbomExportInput) String

func (s GetSbomExportInput) String() string

String returns the string representation.

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

func (*GetSbomExportInput) Validate

func (s *GetSbomExportInput) Validate() error

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

type GetSbomExportOutput

type GetSbomExportOutput struct {

    // An error code.
    ErrorCode *string `locationName:"errorCode" type:"string" enum:"ReportingErrorCode"`

    // An error message.
    ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string"`

    // Contains details about the resource filter criteria used for the software
    // bill of materials (SBOM) report.
    FilterCriteria *ResourceFilterCriteria `locationName:"filterCriteria" type:"structure"`

    // The format of the software bill of materials (SBOM) report.
    Format *string `locationName:"format" type:"string" enum:"SbomReportFormat"`

    // The report ID of the software bill of materials (SBOM) report.
    ReportId *string `locationName:"reportId" type:"string"`

    // Contains details of the Amazon S3 bucket and KMS key used to export findings.
    S3Destination *Destination `locationName:"s3Destination" type:"structure"`

    // The status of the software bill of materials (SBOM) report.
    Status *string `locationName:"status" type:"string" enum:"ExternalReportStatus"`
    // contains filtered or unexported fields
}

func (GetSbomExportOutput) GoString

func (s GetSbomExportOutput) GoString() string

GoString returns the string representation.

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

func (*GetSbomExportOutput) SetErrorCode

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

SetErrorCode sets the ErrorCode field's value.

func (*GetSbomExportOutput) SetErrorMessage

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

SetErrorMessage sets the ErrorMessage field's value.

func (*GetSbomExportOutput) SetFilterCriteria

func (s *GetSbomExportOutput) SetFilterCriteria(v *ResourceFilterCriteria) *GetSbomExportOutput

SetFilterCriteria sets the FilterCriteria field's value.

func (*GetSbomExportOutput) SetFormat

func (s *GetSbomExportOutput) SetFormat(v string) *GetSbomExportOutput

SetFormat sets the Format field's value.

func (*GetSbomExportOutput) SetReportId

func (s *GetSbomExportOutput) SetReportId(v string) *GetSbomExportOutput

SetReportId sets the ReportId field's value.

func (*GetSbomExportOutput) SetS3Destination

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

SetS3Destination sets the S3Destination field's value.

func (*GetSbomExportOutput) SetStatus

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

SetStatus sets the Status field's value.

func (GetSbomExportOutput) String

func (s GetSbomExportOutput) String() string

String returns the string representation.

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

type ImageLayerAggregation

type ImageLayerAggregation struct {

    // The hashes associated with the layers.
    LayerHashes []*StringFilter `locationName:"layerHashes" min:"1" type:"list"`

    // The repository associated with the container image hosting the layers.
    Repositories []*StringFilter `locationName:"repositories" min:"1" type:"list"`

    // The ID of the container image layer.
    ResourceIds []*StringFilter `locationName:"resourceIds" min:"1" type:"list"`

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

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

The details that define an aggregation based on container image layers.

func (ImageLayerAggregation) GoString

func (s ImageLayerAggregation) GoString() string

GoString returns the string representation.

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

func (*ImageLayerAggregation) SetLayerHashes

func (s *ImageLayerAggregation) SetLayerHashes(v []*StringFilter) *ImageLayerAggregation

SetLayerHashes sets the LayerHashes field's value.

func (*ImageLayerAggregation) SetRepositories

func (s *ImageLayerAggregation) SetRepositories(v []*StringFilter) *ImageLayerAggregation

SetRepositories sets the Repositories field's value.

func (*ImageLayerAggregation) SetResourceIds

func (s *ImageLayerAggregation) SetResourceIds(v []*StringFilter) *ImageLayerAggregation

SetResourceIds sets the ResourceIds field's value.

func (*ImageLayerAggregation) SetSortBy

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

type Inspector2 struct {
    *client.Client
}

Inspector2 provides the API operation methods for making requests to Inspector2. See this package's package overview docs for details on the service.

Inspector2 methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *Inspector2

New creates a new instance of the Inspector2 client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a Inspector2 client from just a session.
svc := inspector2.New(mySession)

// Create a Inspector2 client with additional configuration
svc := inspector2.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*Inspector2) AssociateMember

func (c *Inspector2) AssociateMember(input *AssociateMemberInput) (*AssociateMemberOutput, error)

AssociateMember API operation for Inspector2.

Associates an Amazon Web Services account with an Amazon Inspector delegated administrator. An HTTP 200 response indicates the association was successfully started, but doesn’t indicate whether it was completed. You can check if the association completed by using ListMembers (https://docs.aws.amazon.com/inspector/v2/APIReference/API_ListMembers.html) for multiple accounts or GetMembers (https://docs.aws.amazon.com/inspector/v2/APIReference/API_GetMember.html) for a single account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation AssociateMember for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/AssociateMember

func (*Inspector2) AssociateMemberRequest

func (c *Inspector2) AssociateMemberRequest(input *AssociateMemberInput) (req *request.Request, output *AssociateMemberOutput)

AssociateMemberRequest generates a "aws/request.Request" representing the client's request for the AssociateMember operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateMember for more information on using the AssociateMember API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateMemberRequest method.
req, resp := client.AssociateMemberRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/AssociateMember

func (*Inspector2) AssociateMemberWithContext

func (c *Inspector2) AssociateMemberWithContext(ctx aws.Context, input *AssociateMemberInput, opts ...request.Option) (*AssociateMemberOutput, error)

AssociateMemberWithContext is the same as AssociateMember with the addition of the ability to pass a context and additional request options.

See AssociateMember for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) BatchGetAccountStatus

func (c *Inspector2) BatchGetAccountStatus(input *BatchGetAccountStatusInput) (*BatchGetAccountStatusOutput, error)

BatchGetAccountStatus API operation for Inspector2.

Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation BatchGetAccountStatus for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetAccountStatus

func (*Inspector2) BatchGetAccountStatusRequest

func (c *Inspector2) BatchGetAccountStatusRequest(input *BatchGetAccountStatusInput) (req *request.Request, output *BatchGetAccountStatusOutput)

BatchGetAccountStatusRequest generates a "aws/request.Request" representing the client's request for the BatchGetAccountStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchGetAccountStatus for more information on using the BatchGetAccountStatus API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchGetAccountStatusRequest method.
req, resp := client.BatchGetAccountStatusRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetAccountStatus

func (*Inspector2) BatchGetAccountStatusWithContext

func (c *Inspector2) BatchGetAccountStatusWithContext(ctx aws.Context, input *BatchGetAccountStatusInput, opts ...request.Option) (*BatchGetAccountStatusOutput, error)

BatchGetAccountStatusWithContext is the same as BatchGetAccountStatus with the addition of the ability to pass a context and additional request options.

See BatchGetAccountStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) BatchGetCodeSnippet

func (c *Inspector2) BatchGetCodeSnippet(input *BatchGetCodeSnippetInput) (*BatchGetCodeSnippetOutput, error)

BatchGetCodeSnippet API operation for Inspector2.

Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation BatchGetCodeSnippet for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetCodeSnippet

func (*Inspector2) BatchGetCodeSnippetRequest

func (c *Inspector2) BatchGetCodeSnippetRequest(input *BatchGetCodeSnippetInput) (req *request.Request, output *BatchGetCodeSnippetOutput)

BatchGetCodeSnippetRequest generates a "aws/request.Request" representing the client's request for the BatchGetCodeSnippet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchGetCodeSnippet for more information on using the BatchGetCodeSnippet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchGetCodeSnippetRequest method.
req, resp := client.BatchGetCodeSnippetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetCodeSnippet

func (*Inspector2) BatchGetCodeSnippetWithContext

func (c *Inspector2) BatchGetCodeSnippetWithContext(ctx aws.Context, input *BatchGetCodeSnippetInput, opts ...request.Option) (*BatchGetCodeSnippetOutput, error)

BatchGetCodeSnippetWithContext is the same as BatchGetCodeSnippet with the addition of the ability to pass a context and additional request options.

See BatchGetCodeSnippet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) BatchGetFindingDetails

func (c *Inspector2) BatchGetFindingDetails(input *BatchGetFindingDetailsInput) (*BatchGetFindingDetailsOutput, error)

BatchGetFindingDetails API operation for Inspector2.

Gets vulnerability details for findings.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation BatchGetFindingDetails for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetFindingDetails

func (*Inspector2) BatchGetFindingDetailsRequest

func (c *Inspector2) BatchGetFindingDetailsRequest(input *BatchGetFindingDetailsInput) (req *request.Request, output *BatchGetFindingDetailsOutput)

BatchGetFindingDetailsRequest generates a "aws/request.Request" representing the client's request for the BatchGetFindingDetails operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchGetFindingDetails for more information on using the BatchGetFindingDetails API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchGetFindingDetailsRequest method.
req, resp := client.BatchGetFindingDetailsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetFindingDetails

func (*Inspector2) BatchGetFindingDetailsWithContext

func (c *Inspector2) BatchGetFindingDetailsWithContext(ctx aws.Context, input *BatchGetFindingDetailsInput, opts ...request.Option) (*BatchGetFindingDetailsOutput, error)

BatchGetFindingDetailsWithContext is the same as BatchGetFindingDetails with the addition of the ability to pass a context and additional request options.

See BatchGetFindingDetails for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) BatchGetFreeTrialInfo

func (c *Inspector2) BatchGetFreeTrialInfo(input *BatchGetFreeTrialInfoInput) (*BatchGetFreeTrialInfoOutput, error)

BatchGetFreeTrialInfo API operation for Inspector2.

Gets free trial status for multiple Amazon Web Services accounts.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation BatchGetFreeTrialInfo for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetFreeTrialInfo

func (*Inspector2) BatchGetFreeTrialInfoRequest

func (c *Inspector2) BatchGetFreeTrialInfoRequest(input *BatchGetFreeTrialInfoInput) (req *request.Request, output *BatchGetFreeTrialInfoOutput)

BatchGetFreeTrialInfoRequest generates a "aws/request.Request" representing the client's request for the BatchGetFreeTrialInfo operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchGetFreeTrialInfo for more information on using the BatchGetFreeTrialInfo API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchGetFreeTrialInfoRequest method.
req, resp := client.BatchGetFreeTrialInfoRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetFreeTrialInfo

func (*Inspector2) BatchGetFreeTrialInfoWithContext

func (c *Inspector2) BatchGetFreeTrialInfoWithContext(ctx aws.Context, input *BatchGetFreeTrialInfoInput, opts ...request.Option) (*BatchGetFreeTrialInfoOutput, error)

BatchGetFreeTrialInfoWithContext is the same as BatchGetFreeTrialInfo with the addition of the ability to pass a context and additional request options.

See BatchGetFreeTrialInfo for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) BatchGetMemberEc2DeepInspectionStatus

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

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

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

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchUpdateMemberEc2DeepInspectionStatus

func (*Inspector2) BatchUpdateMemberEc2DeepInspectionStatusRequest

func (c *Inspector2) BatchUpdateMemberEc2DeepInspectionStatusRequest(input *BatchUpdateMemberEc2DeepInspectionStatusInput) (req *request.Request, output *BatchUpdateMemberEc2DeepInspectionStatusOutput)

BatchUpdateMemberEc2DeepInspectionStatusRequest generates a "aws/request.Request" representing the client's request for the BatchUpdateMemberEc2DeepInspectionStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchUpdateMemberEc2DeepInspectionStatus for more information on using the BatchUpdateMemberEc2DeepInspectionStatus API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchUpdateMemberEc2DeepInspectionStatusRequest method.
req, resp := client.BatchUpdateMemberEc2DeepInspectionStatusRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchUpdateMemberEc2DeepInspectionStatus

func (*Inspector2) BatchUpdateMemberEc2DeepInspectionStatusWithContext

func (c *Inspector2) BatchUpdateMemberEc2DeepInspectionStatusWithContext(ctx aws.Context, input *BatchUpdateMemberEc2DeepInspectionStatusInput, opts ...request.Option) (*BatchUpdateMemberEc2DeepInspectionStatusOutput, error)

BatchUpdateMemberEc2DeepInspectionStatusWithContext is the same as BatchUpdateMemberEc2DeepInspectionStatus with the addition of the ability to pass a context and additional request options.

See BatchUpdateMemberEc2DeepInspectionStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) CancelFindingsReport

func (c *Inspector2) CancelFindingsReport(input *CancelFindingsReportInput) (*CancelFindingsReportOutput, error)

CancelFindingsReport API operation for Inspector2.

Cancels the given findings report.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation CancelFindingsReport for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CancelFindingsReport

func (*Inspector2) CancelFindingsReportRequest

func (c *Inspector2) CancelFindingsReportRequest(input *CancelFindingsReportInput) (req *request.Request, output *CancelFindingsReportOutput)

CancelFindingsReportRequest generates a "aws/request.Request" representing the client's request for the CancelFindingsReport operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CancelFindingsReport for more information on using the CancelFindingsReport API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CancelFindingsReportRequest method.
req, resp := client.CancelFindingsReportRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CancelFindingsReport

func (*Inspector2) CancelFindingsReportWithContext

func (c *Inspector2) CancelFindingsReportWithContext(ctx aws.Context, input *CancelFindingsReportInput, opts ...request.Option) (*CancelFindingsReportOutput, error)

CancelFindingsReportWithContext is the same as CancelFindingsReport with the addition of the ability to pass a context and additional request options.

See CancelFindingsReport for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) CancelSbomExport

func (c *Inspector2) CancelSbomExport(input *CancelSbomExportInput) (*CancelSbomExportOutput, error)

CancelSbomExport API operation for Inspector2.

Cancels a software bill of materials (SBOM) report.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation CancelSbomExport for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CancelSbomExport

func (*Inspector2) CancelSbomExportRequest

func (c *Inspector2) CancelSbomExportRequest(input *CancelSbomExportInput) (req *request.Request, output *CancelSbomExportOutput)

CancelSbomExportRequest generates a "aws/request.Request" representing the client's request for the CancelSbomExport operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CancelSbomExport for more information on using the CancelSbomExport API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CancelSbomExportRequest method.
req, resp := client.CancelSbomExportRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CancelSbomExport

func (*Inspector2) CancelSbomExportWithContext

func (c *Inspector2) CancelSbomExportWithContext(ctx aws.Context, input *CancelSbomExportInput, opts ...request.Option) (*CancelSbomExportOutput, error)

CancelSbomExportWithContext is the same as CancelSbomExport with the addition of the ability to pass a context and additional request options.

See CancelSbomExport for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) CreateCisScanConfiguration

func (c *Inspector2) CreateCisScanConfiguration(input *CreateCisScanConfigurationInput) (*CreateCisScanConfigurationOutput, error)

CreateCisScanConfiguration API operation for Inspector2.

Creates a CIS scan configuration.

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 CreateCisScanConfiguration 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/CreateCisScanConfiguration

func (*Inspector2) CreateCisScanConfigurationRequest

func (c *Inspector2) CreateCisScanConfigurationRequest(input *CreateCisScanConfigurationInput) (req *request.Request, output *CreateCisScanConfigurationOutput)

CreateCisScanConfigurationRequest generates a "aws/request.Request" representing the client's request for the CreateCisScanConfiguration 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 CreateCisScanConfiguration for more information on using the CreateCisScanConfiguration 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 CreateCisScanConfigurationRequest method.
req, resp := client.CreateCisScanConfigurationRequest(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/CreateCisScanConfiguration

func (*Inspector2) CreateCisScanConfigurationWithContext

func (c *Inspector2) CreateCisScanConfigurationWithContext(ctx aws.Context, input *CreateCisScanConfigurationInput, opts ...request.Option) (*CreateCisScanConfigurationOutput, error)

CreateCisScanConfigurationWithContext is the same as CreateCisScanConfiguration with the addition of the ability to pass a context and additional request options.

See CreateCisScanConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) CreateFilter

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

CreateFilter API operation for Inspector2.

Creates a filter resource using specified filter criteria. When the filter action is set to SUPPRESS this action creates a suppression rule.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation CreateFilter for usage and error information.

Returned Error Types:

  • ServiceQuotaExceededException You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.

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

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateFilter

func (*Inspector2) CreateFilterRequest

func (c *Inspector2) CreateFilterRequest(input *CreateFilterInput) (req *request.Request, output *CreateFilterOutput)

CreateFilterRequest generates a "aws/request.Request" representing the client's request for the CreateFilter operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateFilter for more information on using the CreateFilter API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateFilterRequest method.
req, resp := client.CreateFilterRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateFilter

func (*Inspector2) CreateFilterWithContext

func (c *Inspector2) CreateFilterWithContext(ctx aws.Context, input *CreateFilterInput, opts ...request.Option) (*CreateFilterOutput, error)

CreateFilterWithContext is the same as CreateFilter with the addition of the ability to pass a context and additional request options.

See CreateFilter for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) CreateFindingsReport

func (c *Inspector2) CreateFindingsReport(input *CreateFindingsReportInput) (*CreateFindingsReportOutput, error)

CreateFindingsReport API operation for Inspector2.

Creates a finding report. By default only ACTIVE findings are returned in the report. To see SUPRESSED or CLOSED findings you must specify a value for the findingStatus filter criteria.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation CreateFindingsReport for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateFindingsReport

func (*Inspector2) CreateFindingsReportRequest

func (c *Inspector2) CreateFindingsReportRequest(input *CreateFindingsReportInput) (req *request.Request, output *CreateFindingsReportOutput)

CreateFindingsReportRequest generates a "aws/request.Request" representing the client's request for the CreateFindingsReport operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateFindingsReport for more information on using the CreateFindingsReport API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateFindingsReportRequest method.
req, resp := client.CreateFindingsReportRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateFindingsReport

func (*Inspector2) CreateFindingsReportWithContext

func (c *Inspector2) CreateFindingsReportWithContext(ctx aws.Context, input *CreateFindingsReportInput, opts ...request.Option) (*CreateFindingsReportOutput, error)

CreateFindingsReportWithContext is the same as CreateFindingsReport with the addition of the ability to pass a context and additional request options.

See CreateFindingsReport for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) CreateSbomExport

func (c *Inspector2) CreateSbomExport(input *CreateSbomExportInput) (*CreateSbomExportOutput, error)

CreateSbomExport API operation for Inspector2.

Creates a software bill of materials (SBOM) report.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation CreateSbomExport for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateSbomExport

func (*Inspector2) CreateSbomExportRequest

func (c *Inspector2) CreateSbomExportRequest(input *CreateSbomExportInput) (req *request.Request, output *CreateSbomExportOutput)

CreateSbomExportRequest generates a "aws/request.Request" representing the client's request for the CreateSbomExport operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateSbomExport for more information on using the CreateSbomExport API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateSbomExportRequest method.
req, resp := client.CreateSbomExportRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateSbomExport

func (*Inspector2) CreateSbomExportWithContext

func (c *Inspector2) CreateSbomExportWithContext(ctx aws.Context, input *CreateSbomExportInput, opts ...request.Option) (*CreateSbomExportOutput, error)

CreateSbomExportWithContext is the same as CreateSbomExport with the addition of the ability to pass a context and additional request options.

See CreateSbomExport for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) DeleteCisScanConfiguration

func (c *Inspector2) DeleteCisScanConfiguration(input *DeleteCisScanConfigurationInput) (*DeleteCisScanConfigurationOutput, error)

DeleteCisScanConfiguration API operation for Inspector2.

Deletes a CIS scan configuration.

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 DeleteCisScanConfiguration 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/DeleteCisScanConfiguration

func (*Inspector2) DeleteCisScanConfigurationRequest

func (c *Inspector2) DeleteCisScanConfigurationRequest(input *DeleteCisScanConfigurationInput) (req *request.Request, output *DeleteCisScanConfigurationOutput)

DeleteCisScanConfigurationRequest generates a "aws/request.Request" representing the client's request for the DeleteCisScanConfiguration 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 DeleteCisScanConfiguration for more information on using the DeleteCisScanConfiguration 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 DeleteCisScanConfigurationRequest method.
req, resp := client.DeleteCisScanConfigurationRequest(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/DeleteCisScanConfiguration

func (*Inspector2) DeleteCisScanConfigurationWithContext

func (c *Inspector2) DeleteCisScanConfigurationWithContext(ctx aws.Context, input *DeleteCisScanConfigurationInput, opts ...request.Option) (*DeleteCisScanConfigurationOutput, error)

DeleteCisScanConfigurationWithContext is the same as DeleteCisScanConfiguration with the addition of the ability to pass a context and additional request options.

See DeleteCisScanConfiguration 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) GetCisScanReport

func (c *Inspector2) GetCisScanReport(input *GetCisScanReportInput) (*GetCisScanReportOutput, error)

GetCisScanReport API operation for Inspector2.

Retrieves a CIS scan 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 GetCisScanReport 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/GetCisScanReport

func (*Inspector2) GetCisScanReportRequest

func (c *Inspector2) GetCisScanReportRequest(input *GetCisScanReportInput) (req *request.Request, output *GetCisScanReportOutput)

GetCisScanReportRequest generates a "aws/request.Request" representing the client's request for the GetCisScanReport 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 GetCisScanReport for more information on using the GetCisScanReport 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 GetCisScanReportRequest method.
req, resp := client.GetCisScanReportRequest(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/GetCisScanReport

func (*Inspector2) GetCisScanReportWithContext

func (c *Inspector2) GetCisScanReportWithContext(ctx aws.Context, input *GetCisScanReportInput, opts ...request.Option) (*GetCisScanReportOutput, error)

GetCisScanReportWithContext is the same as GetCisScanReport with the addition of the ability to pass a context and additional request options.

See GetCisScanReport 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) GetCisScanResultDetails

func (c *Inspector2) GetCisScanResultDetails(input *GetCisScanResultDetailsInput) (*GetCisScanResultDetailsOutput, error)

GetCisScanResultDetails API operation for Inspector2.

Retrieves CIS scan result details.

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 GetCisScanResultDetails 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/GetCisScanResultDetails

func (*Inspector2) GetCisScanResultDetailsPages

func (c *Inspector2) GetCisScanResultDetailsPages(input *GetCisScanResultDetailsInput, fn func(*GetCisScanResultDetailsOutput, bool) bool) error

GetCisScanResultDetailsPages iterates over the pages of a GetCisScanResultDetails operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetCisScanResultDetails 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 GetCisScanResultDetails operation.
pageNum := 0
err := client.GetCisScanResultDetailsPages(params,
    func(page *inspector2.GetCisScanResultDetailsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Inspector2) GetCisScanResultDetailsPagesWithContext

func (c *Inspector2) GetCisScanResultDetailsPagesWithContext(ctx aws.Context, input *GetCisScanResultDetailsInput, fn func(*GetCisScanResultDetailsOutput, bool) bool, opts ...request.Option) error

GetCisScanResultDetailsPagesWithContext same as GetCisScanResultDetailsPages 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) GetCisScanResultDetailsRequest

func (c *Inspector2) GetCisScanResultDetailsRequest(input *GetCisScanResultDetailsInput) (req *request.Request, output *GetCisScanResultDetailsOutput)

GetCisScanResultDetailsRequest generates a "aws/request.Request" representing the client's request for the GetCisScanResultDetails 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 GetCisScanResultDetails for more information on using the GetCisScanResultDetails 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 GetCisScanResultDetailsRequest method.
req, resp := client.GetCisScanResultDetailsRequest(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/GetCisScanResultDetails

func (*Inspector2) GetCisScanResultDetailsWithContext

func (c *Inspector2) GetCisScanResultDetailsWithContext(ctx aws.Context, input *GetCisScanResultDetailsInput, opts ...request.Option) (*GetCisScanResultDetailsOutput, error)

GetCisScanResultDetailsWithContext is the same as GetCisScanResultDetails with the addition of the ability to pass a context and additional request options.

See GetCisScanResultDetails 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

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

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

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

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

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

func (c *Inspector2) GetEc2DeepInspectionConfigurationWithContext(ctx aws.Context, input *GetEc2DeepInspectionConfigurationInput, opts ...request.Option) (*GetEc2DeepInspectionConfigurationOutput, error)

GetEc2DeepInspectionConfigurationWithContext is the same as GetEc2DeepInspectionConfiguration with the addition of the ability to pass a context and additional request options.

See GetEc2DeepInspectionConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) GetEncryptionKey

func (c *Inspector2) GetEncryptionKey(input *GetEncryptionKeyInput) (*GetEncryptionKeyOutput, error)

GetEncryptionKey API operation for Inspector2.

Gets an encryption key.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation GetEncryptionKey for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetEncryptionKey

func (*Inspector2) GetEncryptionKeyRequest

func (c *Inspector2) GetEncryptionKeyRequest(input *GetEncryptionKeyInput) (req *request.Request, output *GetEncryptionKeyOutput)

GetEncryptionKeyRequest generates a "aws/request.Request" representing the client's request for the GetEncryptionKey operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetEncryptionKey for more information on using the GetEncryptionKey API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetEncryptionKeyRequest method.
req, resp := client.GetEncryptionKeyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetEncryptionKey

func (*Inspector2) GetEncryptionKeyWithContext

func (c *Inspector2) GetEncryptionKeyWithContext(ctx aws.Context, input *GetEncryptionKeyInput, opts ...request.Option) (*GetEncryptionKeyOutput, error)

GetEncryptionKeyWithContext is the same as GetEncryptionKey with the addition of the ability to pass a context and additional request options.

See GetEncryptionKey for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) GetFindingsReportStatus

func (c *Inspector2) GetFindingsReportStatus(input *GetFindingsReportStatusInput) (*GetFindingsReportStatusOutput, error)

GetFindingsReportStatus API operation for Inspector2.

Gets the status of a findings report.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation GetFindingsReportStatus for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetFindingsReportStatus

func (*Inspector2) GetFindingsReportStatusRequest

func (c *Inspector2) GetFindingsReportStatusRequest(input *GetFindingsReportStatusInput) (req *request.Request, output *GetFindingsReportStatusOutput)

GetFindingsReportStatusRequest generates a "aws/request.Request" representing the client's request for the GetFindingsReportStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetFindingsReportStatus for more information on using the GetFindingsReportStatus API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetFindingsReportStatusRequest method.
req, resp := client.GetFindingsReportStatusRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetFindingsReportStatus

func (*Inspector2) GetFindingsReportStatusWithContext

func (c *Inspector2) GetFindingsReportStatusWithContext(ctx aws.Context, input *GetFindingsReportStatusInput, opts ...request.Option) (*GetFindingsReportStatusOutput, error)

GetFindingsReportStatusWithContext is the same as GetFindingsReportStatus with the addition of the ability to pass a context and additional request options.

See GetFindingsReportStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) GetMember

func (c *Inspector2) GetMember(input *GetMemberInput) (*GetMemberOutput, error)

GetMember API operation for Inspector2.

Gets member information for your organization.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation GetMember for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetMember

func (*Inspector2) GetMemberRequest

func (c *Inspector2) GetMemberRequest(input *GetMemberInput) (req *request.Request, output *GetMemberOutput)

GetMemberRequest generates a "aws/request.Request" representing the client's request for the GetMember operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMember for more information on using the GetMember API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMemberRequest method.
req, resp := client.GetMemberRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetMember

func (*Inspector2) GetMemberWithContext

func (c *Inspector2) GetMemberWithContext(ctx aws.Context, input *GetMemberInput, opts ...request.Option) (*GetMemberOutput, error)

GetMemberWithContext is the same as GetMember with the addition of the ability to pass a context and additional request options.

See GetMember for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) GetSbomExport

func (c *Inspector2) GetSbomExport(input *GetSbomExportInput) (*GetSbomExportOutput, error)

GetSbomExport API operation for Inspector2.

Gets details of a software bill of materials (SBOM) report.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation GetSbomExport for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetSbomExport

func (*Inspector2) GetSbomExportRequest

func (c *Inspector2) GetSbomExportRequest(input *GetSbomExportInput) (req *request.Request, output *GetSbomExportOutput)

GetSbomExportRequest generates a "aws/request.Request" representing the client's request for the GetSbomExport operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetSbomExport for more information on using the GetSbomExport API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetSbomExportRequest method.
req, resp := client.GetSbomExportRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetSbomExport

func (*Inspector2) GetSbomExportWithContext

func (c *Inspector2) GetSbomExportWithContext(ctx aws.Context, input *GetSbomExportInput, opts ...request.Option) (*GetSbomExportOutput, error)

GetSbomExportWithContext is the same as GetSbomExport with the addition of the ability to pass a context and additional request options.

See GetSbomExport for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListAccountPermissions

func (c *Inspector2) ListAccountPermissions(input *ListAccountPermissionsInput) (*ListAccountPermissionsOutput, error)

ListAccountPermissions API operation for Inspector2.

Lists the permissions an account has to configure Amazon Inspector.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation ListAccountPermissions for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListAccountPermissions

func (*Inspector2) ListAccountPermissionsPages

func (c *Inspector2) ListAccountPermissionsPages(input *ListAccountPermissionsInput, fn func(*ListAccountPermissionsOutput, bool) bool) error

ListAccountPermissionsPages iterates over the pages of a ListAccountPermissions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListAccountPermissions method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListAccountPermissions operation.
pageNum := 0
err := client.ListAccountPermissionsPages(params,
    func(page *inspector2.ListAccountPermissionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Inspector2) ListAccountPermissionsPagesWithContext

func (c *Inspector2) ListAccountPermissionsPagesWithContext(ctx aws.Context, input *ListAccountPermissionsInput, fn func(*ListAccountPermissionsOutput, bool) bool, opts ...request.Option) error

ListAccountPermissionsPagesWithContext same as ListAccountPermissionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListAccountPermissionsRequest

func (c *Inspector2) ListAccountPermissionsRequest(input *ListAccountPermissionsInput) (req *request.Request, output *ListAccountPermissionsOutput)

ListAccountPermissionsRequest generates a "aws/request.Request" representing the client's request for the ListAccountPermissions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListAccountPermissions for more information on using the ListAccountPermissions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListAccountPermissionsRequest method.
req, resp := client.ListAccountPermissionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListAccountPermissions

func (*Inspector2) ListAccountPermissionsWithContext

func (c *Inspector2) ListAccountPermissionsWithContext(ctx aws.Context, input *ListAccountPermissionsInput, opts ...request.Option) (*ListAccountPermissionsOutput, error)

ListAccountPermissionsWithContext is the same as ListAccountPermissions with the addition of the ability to pass a context and additional request options.

See ListAccountPermissions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListCisScanConfigurations

func (c *Inspector2) ListCisScanConfigurations(input *ListCisScanConfigurationsInput) (*ListCisScanConfigurationsOutput, error)

ListCisScanConfigurations API operation for Inspector2.

Lists CIS scan configurations.

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 ListCisScanConfigurations 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/ListCisScanConfigurations

func (*Inspector2) ListCisScanConfigurationsPages

func (c *Inspector2) ListCisScanConfigurationsPages(input *ListCisScanConfigurationsInput, fn func(*ListCisScanConfigurationsOutput, bool) bool) error

ListCisScanConfigurationsPages iterates over the pages of a ListCisScanConfigurations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListCisScanConfigurations 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 ListCisScanConfigurations operation.
pageNum := 0
err := client.ListCisScanConfigurationsPages(params,
    func(page *inspector2.ListCisScanConfigurationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Inspector2) ListCisScanConfigurationsPagesWithContext

func (c *Inspector2) ListCisScanConfigurationsPagesWithContext(ctx aws.Context, input *ListCisScanConfigurationsInput, fn func(*ListCisScanConfigurationsOutput, bool) bool, opts ...request.Option) error

ListCisScanConfigurationsPagesWithContext same as ListCisScanConfigurationsPages 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) ListCisScanConfigurationsRequest

func (c *Inspector2) ListCisScanConfigurationsRequest(input *ListCisScanConfigurationsInput) (req *request.Request, output *ListCisScanConfigurationsOutput)

ListCisScanConfigurationsRequest generates a "aws/request.Request" representing the client's request for the ListCisScanConfigurations 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 ListCisScanConfigurations for more information on using the ListCisScanConfigurations 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 ListCisScanConfigurationsRequest method.
req, resp := client.ListCisScanConfigurationsRequest(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/ListCisScanConfigurations

func (*Inspector2) ListCisScanConfigurationsWithContext

func (c *Inspector2) ListCisScanConfigurationsWithContext(ctx aws.Context, input *ListCisScanConfigurationsInput, opts ...request.Option) (*ListCisScanConfigurationsOutput, error)

ListCisScanConfigurationsWithContext is the same as ListCisScanConfigurations with the addition of the ability to pass a context and additional request options.

See ListCisScanConfigurations 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) ListCisScanResultsAggregatedByChecks

func (c *Inspector2) ListCisScanResultsAggregatedByChecks(input *ListCisScanResultsAggregatedByChecksInput) (*ListCisScanResultsAggregatedByChecksOutput, error)

ListCisScanResultsAggregatedByChecks API operation for Inspector2.

Lists scan results aggregated by checks.

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 ListCisScanResultsAggregatedByChecks 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/ListCisScanResultsAggregatedByChecks

func (*Inspector2) ListCisScanResultsAggregatedByChecksPages

func (c *Inspector2) ListCisScanResultsAggregatedByChecksPages(input *ListCisScanResultsAggregatedByChecksInput, fn func(*ListCisScanResultsAggregatedByChecksOutput, bool) bool) error

ListCisScanResultsAggregatedByChecksPages iterates over the pages of a ListCisScanResultsAggregatedByChecks operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListCisScanResultsAggregatedByChecks 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 ListCisScanResultsAggregatedByChecks operation.
pageNum := 0
err := client.ListCisScanResultsAggregatedByChecksPages(params,
    func(page *inspector2.ListCisScanResultsAggregatedByChecksOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Inspector2) ListCisScanResultsAggregatedByChecksPagesWithContext

func (c *Inspector2) ListCisScanResultsAggregatedByChecksPagesWithContext(ctx aws.Context, input *ListCisScanResultsAggregatedByChecksInput, fn func(*ListCisScanResultsAggregatedByChecksOutput, bool) bool, opts ...request.Option) error

ListCisScanResultsAggregatedByChecksPagesWithContext same as ListCisScanResultsAggregatedByChecksPages 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) ListCisScanResultsAggregatedByChecksRequest

func (c *Inspector2) ListCisScanResultsAggregatedByChecksRequest(input *ListCisScanResultsAggregatedByChecksInput) (req *request.Request, output *ListCisScanResultsAggregatedByChecksOutput)

ListCisScanResultsAggregatedByChecksRequest generates a "aws/request.Request" representing the client's request for the ListCisScanResultsAggregatedByChecks 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 ListCisScanResultsAggregatedByChecks for more information on using the ListCisScanResultsAggregatedByChecks 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 ListCisScanResultsAggregatedByChecksRequest method.
req, resp := client.ListCisScanResultsAggregatedByChecksRequest(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/ListCisScanResultsAggregatedByChecks

func (*Inspector2) ListCisScanResultsAggregatedByChecksWithContext

func (c *Inspector2) ListCisScanResultsAggregatedByChecksWithContext(ctx aws.Context, input *ListCisScanResultsAggregatedByChecksInput, opts ...request.Option) (*ListCisScanResultsAggregatedByChecksOutput, error)

ListCisScanResultsAggregatedByChecksWithContext is the same as ListCisScanResultsAggregatedByChecks with the addition of the ability to pass a context and additional request options.

See ListCisScanResultsAggregatedByChecks 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) ListCisScanResultsAggregatedByTargetResource

func (c *Inspector2) ListCisScanResultsAggregatedByTargetResource(input *ListCisScanResultsAggregatedByTargetResourceInput) (*ListCisScanResultsAggregatedByTargetResourceOutput, error)

ListCisScanResultsAggregatedByTargetResource API operation for Inspector2.

Lists scan results aggregated by a target 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 ListCisScanResultsAggregatedByTargetResource 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/ListCisScanResultsAggregatedByTargetResource

func (*Inspector2) ListCisScanResultsAggregatedByTargetResourcePages

func (c *Inspector2) ListCisScanResultsAggregatedByTargetResourcePages(input *ListCisScanResultsAggregatedByTargetResourceInput, fn func(*ListCisScanResultsAggregatedByTargetResourceOutput, bool) bool) error

ListCisScanResultsAggregatedByTargetResourcePages iterates over the pages of a ListCisScanResultsAggregatedByTargetResource operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListCisScanResultsAggregatedByTargetResource 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 ListCisScanResultsAggregatedByTargetResource operation.
pageNum := 0
err := client.ListCisScanResultsAggregatedByTargetResourcePages(params,
    func(page *inspector2.ListCisScanResultsAggregatedByTargetResourceOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Inspector2) ListCisScanResultsAggregatedByTargetResourcePagesWithContext

func (c *Inspector2) ListCisScanResultsAggregatedByTargetResourcePagesWithContext(ctx aws.Context, input *ListCisScanResultsAggregatedByTargetResourceInput, fn func(*ListCisScanResultsAggregatedByTargetResourceOutput, bool) bool, opts ...request.Option) error

ListCisScanResultsAggregatedByTargetResourcePagesWithContext same as ListCisScanResultsAggregatedByTargetResourcePages 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) ListCisScanResultsAggregatedByTargetResourceRequest

func (c *Inspector2) ListCisScanResultsAggregatedByTargetResourceRequest(input *ListCisScanResultsAggregatedByTargetResourceInput) (req *request.Request, output *ListCisScanResultsAggregatedByTargetResourceOutput)

ListCisScanResultsAggregatedByTargetResourceRequest generates a "aws/request.Request" representing the client's request for the ListCisScanResultsAggregatedByTargetResource 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 ListCisScanResultsAggregatedByTargetResource for more information on using the ListCisScanResultsAggregatedByTargetResource 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 ListCisScanResultsAggregatedByTargetResourceRequest method.
req, resp := client.ListCisScanResultsAggregatedByTargetResourceRequest(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/ListCisScanResultsAggregatedByTargetResource

func (*Inspector2) ListCisScanResultsAggregatedByTargetResourceWithContext

func (c *Inspector2) ListCisScanResultsAggregatedByTargetResourceWithContext(ctx aws.Context, input *ListCisScanResultsAggregatedByTargetResourceInput, opts ...request.Option) (*ListCisScanResultsAggregatedByTargetResourceOutput, error)

ListCisScanResultsAggregatedByTargetResourceWithContext is the same as ListCisScanResultsAggregatedByTargetResource with the addition of the ability to pass a context and additional request options.

See ListCisScanResultsAggregatedByTargetResource 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) ListCisScans

func (c *Inspector2) ListCisScans(input *ListCisScansInput) (*ListCisScansOutput, error)

ListCisScans API operation for Inspector2.

Returns a CIS scan list.

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 ListCisScans 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/ListCisScans

func (*Inspector2) ListCisScansPages

func (c *Inspector2) ListCisScansPages(input *ListCisScansInput, fn func(*ListCisScansOutput, bool) bool) error

ListCisScansPages iterates over the pages of a ListCisScans operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListCisScans 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 ListCisScans operation.
pageNum := 0
err := client.ListCisScansPages(params,
    func(page *inspector2.ListCisScansOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Inspector2) ListCisScansPagesWithContext

func (c *Inspector2) ListCisScansPagesWithContext(ctx aws.Context, input *ListCisScansInput, fn func(*ListCisScansOutput, bool) bool, opts ...request.Option) error

ListCisScansPagesWithContext same as ListCisScansPages 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) ListCisScansRequest

func (c *Inspector2) ListCisScansRequest(input *ListCisScansInput) (req *request.Request, output *ListCisScansOutput)

ListCisScansRequest generates a "aws/request.Request" representing the client's request for the ListCisScans 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 ListCisScans for more information on using the ListCisScans 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 ListCisScansRequest method.
req, resp := client.ListCisScansRequest(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/ListCisScans

func (*Inspector2) ListCisScansWithContext

func (c *Inspector2) ListCisScansWithContext(ctx aws.Context, input *ListCisScansInput, opts ...request.Option) (*ListCisScansOutput, error)

ListCisScansWithContext is the same as ListCisScans with the addition of the ability to pass a context and additional request options.

See ListCisScans for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListCoverage

func (c *Inspector2) ListCoverage(input *ListCoverageInput) (*ListCoverageOutput, error)

ListCoverage API operation for Inspector2.

Lists coverage details for you environment.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation ListCoverage for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCoverage

func (*Inspector2) ListCoveragePages

func (c *Inspector2) ListCoveragePages(input *ListCoverageInput, fn func(*ListCoverageOutput, bool) bool) error

ListCoveragePages iterates over the pages of a ListCoverage operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListCoverage method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListCoverage operation.
pageNum := 0
err := client.ListCoveragePages(params,
    func(page *inspector2.ListCoverageOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Inspector2) ListCoveragePagesWithContext

func (c *Inspector2) ListCoveragePagesWithContext(ctx aws.Context, input *ListCoverageInput, fn func(*ListCoverageOutput, bool) bool, opts ...request.Option) error

ListCoveragePagesWithContext same as ListCoveragePages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListCoverageRequest

func (c *Inspector2) ListCoverageRequest(input *ListCoverageInput) (req *request.Request, output *ListCoverageOutput)

ListCoverageRequest generates a "aws/request.Request" representing the client's request for the ListCoverage operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListCoverage for more information on using the ListCoverage API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListCoverageRequest method.
req, resp := client.ListCoverageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCoverage

func (*Inspector2) ListCoverageStatistics

func (c *Inspector2) ListCoverageStatistics(input *ListCoverageStatisticsInput) (*ListCoverageStatisticsOutput, error)

ListCoverageStatistics API operation for Inspector2.

Lists Amazon Inspector coverage statistics for your environment.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation ListCoverageStatistics for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCoverageStatistics

func (*Inspector2) ListCoverageStatisticsPages

func (c *Inspector2) ListCoverageStatisticsPages(input *ListCoverageStatisticsInput, fn func(*ListCoverageStatisticsOutput, bool) bool) error

ListCoverageStatisticsPages iterates over the pages of a ListCoverageStatistics operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListCoverageStatistics method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListCoverageStatistics operation.
pageNum := 0
err := client.ListCoverageStatisticsPages(params,
    func(page *inspector2.ListCoverageStatisticsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Inspector2) ListCoverageStatisticsPagesWithContext

func (c *Inspector2) ListCoverageStatisticsPagesWithContext(ctx aws.Context, input *ListCoverageStatisticsInput, fn func(*ListCoverageStatisticsOutput, bool) bool, opts ...request.Option) error

ListCoverageStatisticsPagesWithContext same as ListCoverageStatisticsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListCoverageStatisticsRequest

func (c *Inspector2) ListCoverageStatisticsRequest(input *ListCoverageStatisticsInput) (req *request.Request, output *ListCoverageStatisticsOutput)

ListCoverageStatisticsRequest generates a "aws/request.Request" representing the client's request for the ListCoverageStatistics operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListCoverageStatistics for more information on using the ListCoverageStatistics API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListCoverageStatisticsRequest method.
req, resp := client.ListCoverageStatisticsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCoverageStatistics

func (*Inspector2) ListCoverageStatisticsWithContext

func (c *Inspector2) ListCoverageStatisticsWithContext(ctx aws.Context, input *ListCoverageStatisticsInput, opts ...request.Option) (*ListCoverageStatisticsOutput, error)

ListCoverageStatisticsWithContext is the same as ListCoverageStatistics with the addition of the ability to pass a context and additional request options.

See ListCoverageStatistics for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListCoverageWithContext

func (c *Inspector2) ListCoverageWithContext(ctx aws.Context, input *ListCoverageInput, opts ...request.Option) (*ListCoverageOutput, error)

ListCoverageWithContext is the same as ListCoverage with the addition of the ability to pass a context and additional request options.

See ListCoverage for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListDelegatedAdminAccounts

func (c *Inspector2) ListDelegatedAdminAccounts(input *ListDelegatedAdminAccountsInput) (*ListDelegatedAdminAccountsOutput, error)

ListDelegatedAdminAccounts API operation for Inspector2.

Lists information about the Amazon Inspector delegated administrator of your organization.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation ListDelegatedAdminAccounts for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListDelegatedAdminAccounts

func (*Inspector2) ListDelegatedAdminAccountsPages

func (c *Inspector2) ListDelegatedAdminAccountsPages(input *ListDelegatedAdminAccountsInput, fn func(*ListDelegatedAdminAccountsOutput, bool) bool) error

ListDelegatedAdminAccountsPages iterates over the pages of a ListDelegatedAdminAccounts operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListDelegatedAdminAccounts method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListDelegatedAdminAccounts operation.
pageNum := 0
err := client.ListDelegatedAdminAccountsPages(params,
    func(page *inspector2.ListDelegatedAdminAccountsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Inspector2) ListDelegatedAdminAccountsPagesWithContext

func (c *Inspector2) ListDelegatedAdminAccountsPagesWithContext(ctx aws.Context, input *ListDelegatedAdminAccountsInput, fn func(*ListDelegatedAdminAccountsOutput, bool) bool, opts ...request.Option) error

ListDelegatedAdminAccountsPagesWithContext same as ListDelegatedAdminAccountsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListDelegatedAdminAccountsRequest

func (c *Inspector2) ListDelegatedAdminAccountsRequest(input *ListDelegatedAdminAccountsInput) (req *request.Request, output *ListDelegatedAdminAccountsOutput)

ListDelegatedAdminAccountsRequest generates a "aws/request.Request" representing the client's request for the ListDelegatedAdminAccounts operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListDelegatedAdminAccounts for more information on using the ListDelegatedAdminAccounts API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListDelegatedAdminAccountsRequest method.
req, resp := client.ListDelegatedAdminAccountsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListDelegatedAdminAccounts

func (*Inspector2) ListDelegatedAdminAccountsWithContext

func (c *Inspector2) ListDelegatedAdminAccountsWithContext(ctx aws.Context, input *ListDelegatedAdminAccountsInput, opts ...request.Option) (*ListDelegatedAdminAccountsOutput, error)

ListDelegatedAdminAccountsWithContext is the same as ListDelegatedAdminAccounts with the addition of the ability to pass a context and additional request options.

See ListDelegatedAdminAccounts for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListFilters

func (c *Inspector2) ListFilters(input *ListFiltersInput) (*ListFiltersOutput, error)

ListFilters API operation for Inspector2.

Lists the filters associated with your account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation ListFilters for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListFilters

func (*Inspector2) ListFiltersPages

func (c *Inspector2) ListFiltersPages(input *ListFiltersInput, fn func(*ListFiltersOutput, bool) bool) error

ListFiltersPages iterates over the pages of a ListFilters operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListFilters method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListFilters operation.
pageNum := 0
err := client.ListFiltersPages(params,
    func(page *inspector2.ListFiltersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Inspector2) ListFiltersPagesWithContext

func (c *Inspector2) ListFiltersPagesWithContext(ctx aws.Context, input *ListFiltersInput, fn func(*ListFiltersOutput, bool) bool, opts ...request.Option) error

ListFiltersPagesWithContext same as ListFiltersPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListFiltersRequest

func (c *Inspector2) ListFiltersRequest(input *ListFiltersInput) (req *request.Request, output *ListFiltersOutput)

ListFiltersRequest generates a "aws/request.Request" representing the client's request for the ListFilters operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListFilters for more information on using the ListFilters API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListFiltersRequest method.
req, resp := client.ListFiltersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListFilters

func (*Inspector2) ListFiltersWithContext

func (c *Inspector2) ListFiltersWithContext(ctx aws.Context, input *ListFiltersInput, opts ...request.Option) (*ListFiltersOutput, error)

ListFiltersWithContext is the same as ListFilters with the addition of the ability to pass a context and additional request options.

See ListFilters for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListFindingAggregations

func (c *Inspector2) ListFindingAggregations(input *ListFindingAggregationsInput) (*ListFindingAggregationsOutput, error)

ListFindingAggregations API operation for Inspector2.

Lists aggregated finding data for your environment based on specific criteria.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation ListFindingAggregations for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListFindingAggregations

func (*Inspector2) ListFindingAggregationsPages

func (c *Inspector2) ListFindingAggregationsPages(input *ListFindingAggregationsInput, fn func(*ListFindingAggregationsOutput, bool) bool) error

ListFindingAggregationsPages iterates over the pages of a ListFindingAggregations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListFindingAggregations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListFindingAggregations operation.
pageNum := 0
err := client.ListFindingAggregationsPages(params,
    func(page *inspector2.ListFindingAggregationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Inspector2) ListFindingAggregationsPagesWithContext

func (c *Inspector2) ListFindingAggregationsPagesWithContext(ctx aws.Context, input *ListFindingAggregationsInput, fn func(*ListFindingAggregationsOutput, bool) bool, opts ...request.Option) error

ListFindingAggregationsPagesWithContext same as ListFindingAggregationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListFindingAggregationsRequest

func (c *Inspector2) ListFindingAggregationsRequest(input *ListFindingAggregationsInput) (req *request.Request, output *ListFindingAggregationsOutput)

ListFindingAggregationsRequest generates a "aws/request.Request" representing the client's request for the ListFindingAggregations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListFindingAggregations for more information on using the ListFindingAggregations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListFindingAggregationsRequest method.
req, resp := client.ListFindingAggregationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListFindingAggregations

func (*Inspector2) ListFindingAggregationsWithContext

func (c *Inspector2) ListFindingAggregationsWithContext(ctx aws.Context, input *ListFindingAggregationsInput, opts ...request.Option) (*ListFindingAggregationsOutput, error)

ListFindingAggregationsWithContext is the same as ListFindingAggregations with the addition of the ability to pass a context and additional request options.

See ListFindingAggregations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListFindings

func (c *Inspector2) ListFindings(input *ListFindingsInput) (*ListFindingsOutput, error)

ListFindings API operation for Inspector2.

Lists findings for your environment.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation ListFindings for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListFindings

func (*Inspector2) ListFindingsPages

func (c *Inspector2) ListFindingsPages(input *ListFindingsInput, fn func(*ListFindingsOutput, bool) bool) error

ListFindingsPages iterates over the pages of a ListFindings operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListFindings method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListFindings operation.
pageNum := 0
err := client.ListFindingsPages(params,
    func(page *inspector2.ListFindingsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Inspector2) ListFindingsPagesWithContext

func (c *Inspector2) ListFindingsPagesWithContext(ctx aws.Context, input *ListFindingsInput, fn func(*ListFindingsOutput, bool) bool, opts ...request.Option) error

ListFindingsPagesWithContext same as ListFindingsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListFindingsRequest

func (c *Inspector2) ListFindingsRequest(input *ListFindingsInput) (req *request.Request, output *ListFindingsOutput)

ListFindingsRequest generates a "aws/request.Request" representing the client's request for the ListFindings operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListFindings for more information on using the ListFindings API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListFindingsRequest method.
req, resp := client.ListFindingsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListFindings

func (*Inspector2) ListFindingsWithContext

func (c *Inspector2) ListFindingsWithContext(ctx aws.Context, input *ListFindingsInput, opts ...request.Option) (*ListFindingsOutput, error)

ListFindingsWithContext is the same as ListFindings with the addition of the ability to pass a context and additional request options.

See ListFindings for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListMembers

func (c *Inspector2) ListMembers(input *ListMembersInput) (*ListMembersOutput, error)

ListMembers API operation for Inspector2.

List members associated with the Amazon Inspector delegated administrator for your organization.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation ListMembers for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListMembers

func (*Inspector2) ListMembersPages

func (c *Inspector2) ListMembersPages(input *ListMembersInput, fn func(*ListMembersOutput, bool) bool) error

ListMembersPages iterates over the pages of a ListMembers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListMembers method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListMembers operation.
pageNum := 0
err := client.ListMembersPages(params,
    func(page *inspector2.ListMembersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Inspector2) ListMembersPagesWithContext

func (c *Inspector2) ListMembersPagesWithContext(ctx aws.Context, input *ListMembersInput, fn func(*ListMembersOutput, bool) bool, opts ...request.Option) error

ListMembersPagesWithContext same as ListMembersPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListMembersRequest

func (c *Inspector2) ListMembersRequest(input *ListMembersInput) (req *request.Request, output *ListMembersOutput)

ListMembersRequest generates a "aws/request.Request" representing the client's request for the ListMembers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListMembers for more information on using the ListMembers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListMembersRequest method.
req, resp := client.ListMembersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListMembers

func (*Inspector2) ListMembersWithContext

func (c *Inspector2) ListMembersWithContext(ctx aws.Context, input *ListMembersInput, opts ...request.Option) (*ListMembersOutput, error)

ListMembersWithContext is the same as ListMembers with the addition of the ability to pass a context and additional request options.

See ListMembers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListTagsForResource

func (c *Inspector2) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for Inspector2.

Lists all tags attached to a given resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation ListTagsForResource for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListTagsForResource

func (*Inspector2) ListTagsForResourceRequest

func (c *Inspector2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListTagsForResource

func (*Inspector2) ListTagsForResourceWithContext

func (c *Inspector2) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListUsageTotals

func (c *Inspector2) ListUsageTotals(input *ListUsageTotalsInput) (*ListUsageTotalsOutput, error)

ListUsageTotals API operation for Inspector2.

Lists the Amazon Inspector usage totals over the last 30 days.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation ListUsageTotals for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListUsageTotals

func (*Inspector2) ListUsageTotalsPages

func (c *Inspector2) ListUsageTotalsPages(input *ListUsageTotalsInput, fn func(*ListUsageTotalsOutput, bool) bool) error

ListUsageTotalsPages iterates over the pages of a ListUsageTotals operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListUsageTotals method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListUsageTotals operation.
pageNum := 0
err := client.ListUsageTotalsPages(params,
    func(page *inspector2.ListUsageTotalsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Inspector2) ListUsageTotalsPagesWithContext

func (c *Inspector2) ListUsageTotalsPagesWithContext(ctx aws.Context, input *ListUsageTotalsInput, fn func(*ListUsageTotalsOutput, bool) bool, opts ...request.Option) error

ListUsageTotalsPagesWithContext same as ListUsageTotalsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ListUsageTotalsRequest

func (c *Inspector2) ListUsageTotalsRequest(input *ListUsageTotalsInput) (req *request.Request, output *ListUsageTotalsOutput)

ListUsageTotalsRequest generates a "aws/request.Request" representing the client's request for the ListUsageTotals operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListUsageTotals for more information on using the ListUsageTotals API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListUsageTotalsRequest method.
req, resp := client.ListUsageTotalsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListUsageTotals

func (*Inspector2) ListUsageTotalsWithContext

func (c *Inspector2) ListUsageTotalsWithContext(ctx aws.Context, input *ListUsageTotalsInput, opts ...request.Option) (*ListUsageTotalsOutput, error)

ListUsageTotalsWithContext is the same as ListUsageTotals with the addition of the ability to pass a context and additional request options.

See ListUsageTotals for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) ResetEncryptionKey

func (c *Inspector2) ResetEncryptionKey(input *ResetEncryptionKeyInput) (*ResetEncryptionKeyOutput, error)

ResetEncryptionKey API operation for Inspector2.

Resets an encryption key. After the key is reset your resources will be encrypted by an Amazon Web Services owned key.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation ResetEncryptionKey for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ResetEncryptionKey

func (*Inspector2) ResetEncryptionKeyRequest

func (c *Inspector2) ResetEncryptionKeyRequest(input *ResetEncryptionKeyInput) (req *request.Request, output *ResetEncryptionKeyOutput)

ResetEncryptionKeyRequest generates a "aws/request.Request" representing the client's request for the ResetEncryptionKey operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ResetEncryptionKey for more information on using the ResetEncryptionKey API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ResetEncryptionKeyRequest method.
req, resp := client.ResetEncryptionKeyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ResetEncryptionKey

func (*Inspector2) ResetEncryptionKeyWithContext

func (c *Inspector2) ResetEncryptionKeyWithContext(ctx aws.Context, input *ResetEncryptionKeyInput, opts ...request.Option) (*ResetEncryptionKeyOutput, error)

ResetEncryptionKeyWithContext is the same as ResetEncryptionKey with the addition of the ability to pass a context and additional request options.

See ResetEncryptionKey for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) SearchVulnerabilities

func (c *Inspector2) SearchVulnerabilities(input *SearchVulnerabilitiesInput) (*SearchVulnerabilitiesOutput, error)

SearchVulnerabilities API operation for Inspector2.

Lists Amazon Inspector coverage details for a specific vulnerability.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation SearchVulnerabilities for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/SearchVulnerabilities

func (*Inspector2) SearchVulnerabilitiesPages

func (c *Inspector2) SearchVulnerabilitiesPages(input *SearchVulnerabilitiesInput, fn func(*SearchVulnerabilitiesOutput, bool) bool) error

SearchVulnerabilitiesPages iterates over the pages of a SearchVulnerabilities operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See SearchVulnerabilities method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a SearchVulnerabilities operation.
pageNum := 0
err := client.SearchVulnerabilitiesPages(params,
    func(page *inspector2.SearchVulnerabilitiesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Inspector2) SearchVulnerabilitiesPagesWithContext

func (c *Inspector2) SearchVulnerabilitiesPagesWithContext(ctx aws.Context, input *SearchVulnerabilitiesInput, fn func(*SearchVulnerabilitiesOutput, bool) bool, opts ...request.Option) error

SearchVulnerabilitiesPagesWithContext same as SearchVulnerabilitiesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) SearchVulnerabilitiesRequest

func (c *Inspector2) SearchVulnerabilitiesRequest(input *SearchVulnerabilitiesInput) (req *request.Request, output *SearchVulnerabilitiesOutput)

SearchVulnerabilitiesRequest generates a "aws/request.Request" representing the client's request for the SearchVulnerabilities operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SearchVulnerabilities for more information on using the SearchVulnerabilities API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SearchVulnerabilitiesRequest method.
req, resp := client.SearchVulnerabilitiesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/SearchVulnerabilities

func (*Inspector2) SearchVulnerabilitiesWithContext

func (c *Inspector2) SearchVulnerabilitiesWithContext(ctx aws.Context, input *SearchVulnerabilitiesInput, opts ...request.Option) (*SearchVulnerabilitiesOutput, error)

SearchVulnerabilitiesWithContext is the same as SearchVulnerabilities with the addition of the ability to pass a context and additional request options.

See SearchVulnerabilities for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) SendCisSessionHealth

func (c *Inspector2) SendCisSessionHealth(input *SendCisSessionHealthInput) (*SendCisSessionHealthOutput, error)

SendCisSessionHealth API operation for Inspector2.

Sends a CIS session health. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the 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 SendCisSessionHealth 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.

  • 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/SendCisSessionHealth

func (*Inspector2) SendCisSessionHealthRequest

func (c *Inspector2) SendCisSessionHealthRequest(input *SendCisSessionHealthInput) (req *request.Request, output *SendCisSessionHealthOutput)

SendCisSessionHealthRequest generates a "aws/request.Request" representing the client's request for the SendCisSessionHealth 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 SendCisSessionHealth for more information on using the SendCisSessionHealth 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 SendCisSessionHealthRequest method.
req, resp := client.SendCisSessionHealthRequest(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/SendCisSessionHealth

func (*Inspector2) SendCisSessionHealthWithContext

func (c *Inspector2) SendCisSessionHealthWithContext(ctx aws.Context, input *SendCisSessionHealthInput, opts ...request.Option) (*SendCisSessionHealthOutput, error)

SendCisSessionHealthWithContext is the same as SendCisSessionHealth with the addition of the ability to pass a context and additional request options.

See SendCisSessionHealth 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) SendCisSessionTelemetry

func (c *Inspector2) SendCisSessionTelemetry(input *SendCisSessionTelemetryInput) (*SendCisSessionTelemetryOutput, error)

SendCisSessionTelemetry API operation for Inspector2.

Sends a CIS session telemetry. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the 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 SendCisSessionTelemetry 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.

  • 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/SendCisSessionTelemetry

func (*Inspector2) SendCisSessionTelemetryRequest

func (c *Inspector2) SendCisSessionTelemetryRequest(input *SendCisSessionTelemetryInput) (req *request.Request, output *SendCisSessionTelemetryOutput)

SendCisSessionTelemetryRequest generates a "aws/request.Request" representing the client's request for the SendCisSessionTelemetry 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 SendCisSessionTelemetry for more information on using the SendCisSessionTelemetry 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 SendCisSessionTelemetryRequest method.
req, resp := client.SendCisSessionTelemetryRequest(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/SendCisSessionTelemetry

func (*Inspector2) SendCisSessionTelemetryWithContext

func (c *Inspector2) SendCisSessionTelemetryWithContext(ctx aws.Context, input *SendCisSessionTelemetryInput, opts ...request.Option) (*SendCisSessionTelemetryOutput, error)

SendCisSessionTelemetryWithContext is the same as SendCisSessionTelemetry with the addition of the ability to pass a context and additional request options.

See SendCisSessionTelemetry 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) StartCisSession

func (c *Inspector2) StartCisSession(input *StartCisSessionInput) (*StartCisSessionOutput, error)

StartCisSession API operation for Inspector2.

Starts a CIS session. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the 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 StartCisSession 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.

  • 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/StartCisSession

func (*Inspector2) StartCisSessionRequest

func (c *Inspector2) StartCisSessionRequest(input *StartCisSessionInput) (req *request.Request, output *StartCisSessionOutput)

StartCisSessionRequest generates a "aws/request.Request" representing the client's request for the StartCisSession 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 StartCisSession for more information on using the StartCisSession 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 StartCisSessionRequest method.
req, resp := client.StartCisSessionRequest(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/StartCisSession

func (*Inspector2) StartCisSessionWithContext

func (c *Inspector2) StartCisSessionWithContext(ctx aws.Context, input *StartCisSessionInput, opts ...request.Option) (*StartCisSessionOutput, error)

StartCisSessionWithContext is the same as StartCisSession with the addition of the ability to pass a context and additional request options.

See StartCisSession 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) StopCisSession

func (c *Inspector2) StopCisSession(input *StopCisSessionInput) (*StopCisSessionOutput, error)

StopCisSession API operation for Inspector2.

Stops a CIS session. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the 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 StopCisSession 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.

  • 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/StopCisSession

func (*Inspector2) StopCisSessionRequest

func (c *Inspector2) StopCisSessionRequest(input *StopCisSessionInput) (req *request.Request, output *StopCisSessionOutput)

StopCisSessionRequest generates a "aws/request.Request" representing the client's request for the StopCisSession 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 StopCisSession for more information on using the StopCisSession 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 StopCisSessionRequest method.
req, resp := client.StopCisSessionRequest(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/StopCisSession

func (*Inspector2) StopCisSessionWithContext

func (c *Inspector2) StopCisSessionWithContext(ctx aws.Context, input *StopCisSessionInput, opts ...request.Option) (*StopCisSessionOutput, error)

StopCisSessionWithContext is the same as StopCisSession with the addition of the ability to pass a context and additional request options.

See StopCisSession 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) UpdateCisScanConfiguration

func (c *Inspector2) UpdateCisScanConfiguration(input *UpdateCisScanConfigurationInput) (*UpdateCisScanConfigurationOutput, error)

UpdateCisScanConfiguration API operation for Inspector2.

Updates a CIS scan configuration.

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 UpdateCisScanConfiguration 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/UpdateCisScanConfiguration

func (*Inspector2) UpdateCisScanConfigurationRequest

func (c *Inspector2) UpdateCisScanConfigurationRequest(input *UpdateCisScanConfigurationInput) (req *request.Request, output *UpdateCisScanConfigurationOutput)

UpdateCisScanConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateCisScanConfiguration 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 UpdateCisScanConfiguration for more information on using the UpdateCisScanConfiguration 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 UpdateCisScanConfigurationRequest method.
req, resp := client.UpdateCisScanConfigurationRequest(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/UpdateCisScanConfiguration

func (*Inspector2) UpdateCisScanConfigurationWithContext

func (c *Inspector2) UpdateCisScanConfigurationWithContext(ctx aws.Context, input *UpdateCisScanConfigurationInput, opts ...request.Option) (*UpdateCisScanConfigurationOutput, error)

UpdateCisScanConfigurationWithContext is the same as UpdateCisScanConfiguration with the addition of the ability to pass a context and additional request options.

See UpdateCisScanConfiguration 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

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

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

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

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

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

func (c *Inspector2) UpdateEc2DeepInspectionConfigurationWithContext(ctx aws.Context, input *UpdateEc2DeepInspectionConfigurationInput, opts ...request.Option) (*UpdateEc2DeepInspectionConfigurationOutput, error)

UpdateEc2DeepInspectionConfigurationWithContext is the same as UpdateEc2DeepInspectionConfiguration with the addition of the ability to pass a context and additional request options.

See UpdateEc2DeepInspectionConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) UpdateEncryptionKey

func (c *Inspector2) UpdateEncryptionKey(input *UpdateEncryptionKeyInput) (*UpdateEncryptionKeyOutput, error)

UpdateEncryptionKey API operation for Inspector2.

Updates an encryption key. A ResourceNotFoundException means that an Amazon Web Services owned key is being used for encryption.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation UpdateEncryptionKey for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateEncryptionKey

func (*Inspector2) UpdateEncryptionKeyRequest

func (c *Inspector2) UpdateEncryptionKeyRequest(input *UpdateEncryptionKeyInput) (req *request.Request, output *UpdateEncryptionKeyOutput)

UpdateEncryptionKeyRequest generates a "aws/request.Request" representing the client's request for the UpdateEncryptionKey operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateEncryptionKey for more information on using the UpdateEncryptionKey API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateEncryptionKeyRequest method.
req, resp := client.UpdateEncryptionKeyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateEncryptionKey

func (*Inspector2) UpdateEncryptionKeyWithContext

func (c *Inspector2) UpdateEncryptionKeyWithContext(ctx aws.Context, input *UpdateEncryptionKeyInput, opts ...request.Option) (*UpdateEncryptionKeyOutput, error)

UpdateEncryptionKeyWithContext is the same as UpdateEncryptionKey with the addition of the ability to pass a context and additional request options.

See UpdateEncryptionKey for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) UpdateFilter

func (c *Inspector2) UpdateFilter(input *UpdateFilterInput) (*UpdateFilterOutput, error)

UpdateFilter API operation for Inspector2.

Specifies the action that is to be applied to the findings that match the filter.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Inspector2's API operation UpdateFilter for usage and error information.

Returned Error Types:

  • ValidationException The request has failed validation due to missing required fields or having invalid inputs.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ResourceNotFoundException The operation tried to access an invalid resource. Make sure the resource is specified correctly.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateFilter

func (*Inspector2) UpdateFilterRequest

func (c *Inspector2) UpdateFilterRequest(input *UpdateFilterInput) (req *request.Request, output *UpdateFilterOutput)

UpdateFilterRequest generates a "aws/request.Request" representing the client's request for the UpdateFilter operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateFilter for more information on using the UpdateFilter API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateFilterRequest method.
req, resp := client.UpdateFilterRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateFilter

func (*Inspector2) UpdateFilterWithContext

func (c *Inspector2) UpdateFilterWithContext(ctx aws.Context, input *UpdateFilterInput, opts ...request.Option) (*UpdateFilterOutput, error)

UpdateFilterWithContext is the same as UpdateFilter with the addition of the ability to pass a context and additional request options.

See UpdateFilter for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Inspector2) UpdateOrgEc2DeepInspectionConfiguration

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateOrgEc2DeepInspectionConfiguration

func (*Inspector2) UpdateOrgEc2DeepInspectionConfigurationRequest

func (c *Inspector2) UpdateOrgEc2DeepInspectionConfigurationRequest(input *UpdateOrgEc2DeepInspectionConfigurationInput) (req *request.Request, output *UpdateOrgEc2DeepInspectionConfigurationOutput)

UpdateOrgEc2DeepInspectionConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateOrgEc2DeepInspectionConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateOrgEc2DeepInspectionConfiguration for more information on using the UpdateOrgEc2DeepInspectionConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateOrgEc2DeepInspectionConfigurationRequest method.
req, resp := client.UpdateOrgEc2DeepInspectionConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateOrgEc2DeepInspectionConfiguration

func (*Inspector2) UpdateOrgEc2DeepInspectionConfigurationWithContext

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

type LambdaFunctionAggregation struct {

    // The Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services Lambda functions.

func (LambdaFunctionAggregation) GoString

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

func (s *LambdaFunctionAggregation) SetFunctionNames(v []*StringFilter) *LambdaFunctionAggregation

SetFunctionNames sets the FunctionNames field's value.

func (*LambdaFunctionAggregation) SetFunctionTags

func (s *LambdaFunctionAggregation) SetFunctionTags(v []*MapFilter) *LambdaFunctionAggregation

SetFunctionTags sets the FunctionTags field's value.

func (*LambdaFunctionAggregation) SetResourceIds

func (s *LambdaFunctionAggregation) SetResourceIds(v []*StringFilter) *LambdaFunctionAggregation

SetResourceIds sets the ResourceIds field's value.

func (*LambdaFunctionAggregation) SetRuntimes

func (s *LambdaFunctionAggregation) SetRuntimes(v []*StringFilter) *LambdaFunctionAggregation

SetRuntimes sets the Runtimes field's value.

func (*LambdaFunctionAggregation) SetSortBy

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

SetSortBy sets the SortBy field's value.

func (*LambdaFunctionAggregation) SetSortOrder

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

SetSortOrder sets the SortOrder field's value.

func (LambdaFunctionAggregation) String

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

func (s *LambdaFunctionAggregation) Validate() error

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

type LambdaFunctionAggregationResponse

type LambdaFunctionAggregationResponse struct {

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

    // The Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services Lambda function finding aggregation.

func (LambdaFunctionAggregationResponse) GoString

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

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

SetAccountId sets the AccountId field's value.

func (*LambdaFunctionAggregationResponse) SetFunctionName

func (s *LambdaFunctionAggregationResponse) SetFunctionName(v string) *LambdaFunctionAggregationResponse

SetFunctionName sets the FunctionName field's value.

func (*LambdaFunctionAggregationResponse) SetLambdaTags

func (s *LambdaFunctionAggregationResponse) SetLambdaTags(v map[string]*string) *LambdaFunctionAggregationResponse

SetLambdaTags sets the LambdaTags field's value.

func (*LambdaFunctionAggregationResponse) SetLastModifiedAt

func (s *LambdaFunctionAggregationResponse) SetLastModifiedAt(v time.Time) *LambdaFunctionAggregationResponse

SetLastModifiedAt sets the LastModifiedAt field's value.

func (*LambdaFunctionAggregationResponse) SetResourceId

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

SetResourceId sets the ResourceId field's value.

func (*LambdaFunctionAggregationResponse) SetRuntime

func (s *LambdaFunctionAggregationResponse) SetRuntime(v string) *LambdaFunctionAggregationResponse

SetRuntime sets the Runtime field's value.

func (*LambdaFunctionAggregationResponse) SetSeverityCounts

func (s *LambdaFunctionAggregationResponse) SetSeverityCounts(v *SeverityCounts) *LambdaFunctionAggregationResponse

SetSeverityCounts sets the SeverityCounts field's value.

func (LambdaFunctionAggregationResponse) String

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

type LambdaFunctionMetadata struct {

    // The name of a function.
    FunctionName *string `locationName:"functionName" type:"string"`

    // The resource tags on an Amazon Web Services Lambda function.
    FunctionTags map[string]*string `locationName:"functionTags" type:"map"`

    // The layers for an Amazon Web Services Lambda function. A Lambda function
    // can have up to five layers.
    Layers []*string `locationName:"layers" type:"list"`

    // An Amazon Web Services Lambda function's runtime.
    Runtime *string `locationName:"runtime" type:"string" enum:"Runtime"`
    // contains filtered or unexported fields
}

The Amazon Web Services Lambda function metadata.

func (LambdaFunctionMetadata) GoString

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

func (s *LambdaFunctionMetadata) SetFunctionName(v string) *LambdaFunctionMetadata

SetFunctionName sets the FunctionName field's value.

func (*LambdaFunctionMetadata) SetFunctionTags

func (s *LambdaFunctionMetadata) SetFunctionTags(v map[string]*string) *LambdaFunctionMetadata

SetFunctionTags sets the FunctionTags field's value.

func (*LambdaFunctionMetadata) SetLayers

func (s *LambdaFunctionMetadata) SetLayers(v []*string) *LambdaFunctionMetadata

SetLayers sets the Layers field's value.

func (*LambdaFunctionMetadata) SetRuntime

func (s *LambdaFunctionMetadata) SetRuntime(v string) *LambdaFunctionMetadata

SetRuntime sets the Runtime field's value.

func (LambdaFunctionMetadata) String

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

type LambdaLayerAggregation struct {

    // The names of the Amazon Web Services Lambda functions associated with the
    // layers.
    FunctionNames []*StringFilter `locationName:"functionNames" min:"1" type:"list"`

    // The Amazon Resource Name (ARN) of the Amazon Web Services Lambda function
    // layer.
    LayerArns []*StringFilter `locationName:"layerArns" min:"1" type:"list"`

    // The resource IDs for the Amazon Web Services 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 Amazon Web Services Lambda function's layers.

func (LambdaLayerAggregation) GoString

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

func (s *LambdaLayerAggregation) SetFunctionNames(v []*StringFilter) *LambdaLayerAggregation

SetFunctionNames sets the FunctionNames field's value.

func (*LambdaLayerAggregation) SetLayerArns

func (s *LambdaLayerAggregation) SetLayerArns(v []*StringFilter) *LambdaLayerAggregation

SetLayerArns sets the LayerArns field's value.

func (*LambdaLayerAggregation) SetResourceIds

func (s *LambdaLayerAggregation) SetResourceIds(v []*StringFilter) *LambdaLayerAggregation

SetResourceIds sets the ResourceIds field's value.

func (*LambdaLayerAggregation) SetSortBy

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

SetSortBy sets the SortBy field's value.

func (*LambdaLayerAggregation) SetSortOrder

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

SetSortOrder sets the SortOrder field's value.

func (LambdaLayerAggregation) String

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

func (s *LambdaLayerAggregation) Validate() error

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

type LambdaLayerAggregationResponse

type LambdaLayerAggregationResponse struct {

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

    // The names of the Amazon Web Services 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 Amazon Web Services Lambda function
    // layer.
    //
    // LayerArn is a required field
    LayerArn *string `locationName:"layerArn" min:"1" type:"string" required:"true"`

    // The Resource ID of the Amazon Web Services 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 Amazon Web Services Lambda function layer finding aggregation.

func (LambdaLayerAggregationResponse) GoString

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

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

SetAccountId sets the AccountId field's value.

func (*LambdaLayerAggregationResponse) SetFunctionName

func (s *LambdaLayerAggregationResponse) SetFunctionName(v string) *LambdaLayerAggregationResponse

SetFunctionName sets the FunctionName field's value.

func (*LambdaLayerAggregationResponse) SetLayerArn

func (s *LambdaLayerAggregationResponse) SetLayerArn(v string) *LambdaLayerAggregationResponse

SetLayerArn sets the LayerArn field's value.

func (*LambdaLayerAggregationResponse) SetResourceId

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

SetResourceId sets the ResourceId field's value.

func (*LambdaLayerAggregationResponse) SetSeverityCounts

func (s *LambdaLayerAggregationResponse) SetSeverityCounts(v *SeverityCounts) *LambdaLayerAggregationResponse

SetSeverityCounts sets the SeverityCounts field's value.

func (LambdaLayerAggregationResponse) String

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

type LambdaVpcConfig struct {

    // The VPC security groups and subnets that are attached to an Amazon Web Services
    // 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 Amazon Web Services Lambda function. For more information, see VPC Settings (https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html).

func (LambdaVpcConfig) GoString

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

func (s *LambdaVpcConfig) SetSecurityGroupIds(v []*string) *LambdaVpcConfig

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*LambdaVpcConfig) SetSubnetIds

func (s *LambdaVpcConfig) SetSubnetIds(v []*string) *LambdaVpcConfig

SetSubnetIds sets the SubnetIds field's value.

func (*LambdaVpcConfig) SetVpcId

func (s *LambdaVpcConfig) SetVpcId(v string) *LambdaVpcConfig

SetVpcId sets the VpcId field's value.

func (LambdaVpcConfig) String

func (s LambdaVpcConfig) String() string

String returns the string representation.

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

type ListAccountPermissionsInput

type ListAccountPermissionsInput struct {

    // The maximum number of results the response can return. If your request would
    // return more than the maximum the response will return a nextToken value,
    // use this value when you call the action again to get the remaining results.
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // A token to use for paginating results that are returned in the response.
    // Set the value of this parameter to null for the first request to a list action.
    // If your response returns more than the maxResults maximum value it will also
    // return a nextToken value. For subsequent calls, use the NextToken value returned
    // from the previous request to continue listing results after the first page.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The service scan type to check permissions for.
    Service *string `locationName:"service" type:"string" enum:"Service"`
    // contains filtered or unexported fields
}

func (ListAccountPermissionsInput) GoString

func (s ListAccountPermissionsInput) GoString() string

GoString returns the string representation.

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

func (*ListAccountPermissionsInput) SetMaxResults

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 ListCisScanConfigurationsFilterCriteria

type ListCisScanConfigurationsFilterCriteria struct {

    // The list of scan configuration ARN filters.
    ScanConfigurationArnFilters []*CisStringFilter `locationName:"scanConfigurationArnFilters" min:"1" type:"list"`

    // The list of scan name filters.
    ScanNameFilters []*CisStringFilter `locationName:"scanNameFilters" min:"1" type:"list"`

    // The list of target resource tag filters.
    TargetResourceTagFilters []*TagFilter `locationName:"targetResourceTagFilters" min:"1" type:"list"`
    // contains filtered or unexported fields
}

A list of CIS scan configurations filter criteria.

func (ListCisScanConfigurationsFilterCriteria) GoString

func (s ListCisScanConfigurationsFilterCriteria) GoString() string

GoString returns the string representation.

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

func (*ListCisScanConfigurationsFilterCriteria) SetScanConfigurationArnFilters

func (s *ListCisScanConfigurationsFilterCriteria) SetScanConfigurationArnFilters(v []*CisStringFilter) *ListCisScanConfigurationsFilterCriteria

SetScanConfigurationArnFilters sets the ScanConfigurationArnFilters field's value.

func (*ListCisScanConfigurationsFilterCriteria) SetScanNameFilters

func (s *ListCisScanConfigurationsFilterCriteria) SetScanNameFilters(v []*CisStringFilter) *ListCisScanConfigurationsFilterCriteria

SetScanNameFilters sets the ScanNameFilters field's value.

func (*ListCisScanConfigurationsFilterCriteria) SetTargetResourceTagFilters

func (s *ListCisScanConfigurationsFilterCriteria) SetTargetResourceTagFilters(v []*TagFilter) *ListCisScanConfigurationsFilterCriteria

SetTargetResourceTagFilters sets the TargetResourceTagFilters field's value.

func (ListCisScanConfigurationsFilterCriteria) String

func (s ListCisScanConfigurationsFilterCriteria) String() string

String returns the string representation.

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

func (*ListCisScanConfigurationsFilterCriteria) Validate

func (s *ListCisScanConfigurationsFilterCriteria) Validate() error

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

type ListCisScanConfigurationsInput

type ListCisScanConfigurationsInput struct {

    // The CIS scan configuration filter criteria.
    FilterCriteria *ListCisScanConfigurationsFilterCriteria `locationName:"filterCriteria" type:"structure"`

    // The maximum number of CIS scan configurations to be returned in a single
    // page of results.
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // The pagination token from a previous request that's used to retrieve the
    // next page of results.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The CIS scan configuration sort by order.
    SortBy *string `locationName:"sortBy" type:"string" enum:"CisScanConfigurationsSortBy"`

    // The CIS scan configuration sort order order.
    SortOrder *string `locationName:"sortOrder" type:"string" enum:"CisSortOrder"`
    // contains filtered or unexported fields
}

func (ListCisScanConfigurationsInput) GoString

func (s ListCisScanConfigurationsInput) GoString() string

GoString returns the string representation.

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

func (*ListCisScanConfigurationsInput) SetFilterCriteria

func (s *ListCisScanConfigurationsInput) SetFilterCriteria(v *ListCisScanConfigurationsFilterCriteria) *ListCisScanConfigurationsInput

SetFilterCriteria sets the FilterCriteria field's value.

func (*ListCisScanConfigurationsInput) SetMaxResults

func (s *ListCisScanConfigurationsInput) SetMaxResults(v int64) *ListCisScanConfigurationsInput

SetMaxResults sets the MaxResults field's value.

func (*ListCisScanConfigurationsInput) SetNextToken

func (s *ListCisScanConfigurationsInput) SetNextToken(v string) *ListCisScanConfigurationsInput

SetNextToken sets the NextToken field's value.

func (*ListCisScanConfigurationsInput) SetSortBy

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

SetSortBy sets the SortBy field's value.

func (*ListCisScanConfigurationsInput) SetSortOrder

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

SetSortOrder sets the SortOrder field's value.

func (ListCisScanConfigurationsInput) String

func (s ListCisScanConfigurationsInput) String() string

String returns the string representation.

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

func (*ListCisScanConfigurationsInput) Validate

func (s *ListCisScanConfigurationsInput) Validate() error

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

type ListCisScanConfigurationsOutput

type ListCisScanConfigurationsOutput struct {

    // The pagination token from a previous request that's used to retrieve the
    // next page of results.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The CIS scan configuration scan configurations.
    ScanConfigurations []*CisScanConfiguration `locationName:"scanConfigurations" type:"list"`
    // contains filtered or unexported fields
}

func (ListCisScanConfigurationsOutput) GoString

func (s ListCisScanConfigurationsOutput) GoString() string

GoString returns the string representation.

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

func (*ListCisScanConfigurationsOutput) SetNextToken

func (s *ListCisScanConfigurationsOutput) SetNextToken(v string) *ListCisScanConfigurationsOutput

SetNextToken sets the NextToken field's value.

func (*ListCisScanConfigurationsOutput) SetScanConfigurations

func (s *ListCisScanConfigurationsOutput) SetScanConfigurations(v []*CisScanConfiguration) *ListCisScanConfigurationsOutput

SetScanConfigurations sets the ScanConfigurations field's value.

func (ListCisScanConfigurationsOutput) String

func (s ListCisScanConfigurationsOutput) String() string

String returns the string representation.

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

type ListCisScanResultsAggregatedByChecksInput

type ListCisScanResultsAggregatedByChecksInput struct {

    // The filter criteria.
    FilterCriteria *CisScanResultsAggregatedByChecksFilterCriteria `locationName:"filterCriteria" type:"structure"`

    // The maximum number of scan results aggregated by checks to be returned in
    // a single page of results.
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // The pagination token from a previous request that's used to retrieve the
    // next page of results.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The scan ARN.
    //
    // ScanArn is a required field
    ScanArn *string `locationName:"scanArn" type:"string" required:"true"`

    // The sort by order.
    SortBy *string `locationName:"sortBy" type:"string" enum:"CisScanResultsAggregatedByChecksSortBy"`

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

func (ListCisScanResultsAggregatedByChecksInput) GoString

func (s ListCisScanResultsAggregatedByChecksInput) GoString() string

GoString returns the string representation.

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

func (*ListCisScanResultsAggregatedByChecksInput) SetFilterCriteria

func (s *ListCisScanResultsAggregatedByChecksInput) SetFilterCriteria(v *CisScanResultsAggregatedByChecksFilterCriteria) *ListCisScanResultsAggregatedByChecksInput

SetFilterCriteria sets the FilterCriteria field's value.

func (*ListCisScanResultsAggregatedByChecksInput) SetMaxResults

func (s *ListCisScanResultsAggregatedByChecksInput) SetMaxResults(v int64) *ListCisScanResultsAggregatedByChecksInput

SetMaxResults sets the MaxResults field's value.

func (*ListCisScanResultsAggregatedByChecksInput) SetNextToken

func (s *ListCisScanResultsAggregatedByChecksInput) SetNextToken(v string) *ListCisScanResultsAggregatedByChecksInput

SetNextToken sets the NextToken field's value.

func (*ListCisScanResultsAggregatedByChecksInput) SetScanArn

func (s *ListCisScanResultsAggregatedByChecksInput) SetScanArn(v string) *ListCisScanResultsAggregatedByChecksInput

SetScanArn sets the ScanArn field's value.

func (*ListCisScanResultsAggregatedByChecksInput) SetSortBy

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

SetSortBy sets the SortBy field's value.

func (*ListCisScanResultsAggregatedByChecksInput) SetSortOrder

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

SetSortOrder sets the SortOrder field's value.

func (ListCisScanResultsAggregatedByChecksInput) String

func (s ListCisScanResultsAggregatedByChecksInput) String() string

String returns the string representation.

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

func (*ListCisScanResultsAggregatedByChecksInput) Validate

func (s *ListCisScanResultsAggregatedByChecksInput) Validate() error

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

type ListCisScanResultsAggregatedByChecksOutput

type ListCisScanResultsAggregatedByChecksOutput struct {

    // The check aggregations.
    CheckAggregations []*CisCheckAggregation `locationName:"checkAggregations" min:"1" type:"list"`

    // The pagination token from a previous request that's used to retrieve the
    // next page of results.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListCisScanResultsAggregatedByChecksOutput) GoString

func (s ListCisScanResultsAggregatedByChecksOutput) GoString() string

GoString returns the string representation.

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

func (*ListCisScanResultsAggregatedByChecksOutput) SetCheckAggregations

func (s *ListCisScanResultsAggregatedByChecksOutput) SetCheckAggregations(v []*CisCheckAggregation) *ListCisScanResultsAggregatedByChecksOutput

SetCheckAggregations sets the CheckAggregations field's value.

func (*ListCisScanResultsAggregatedByChecksOutput) SetNextToken

func (s *ListCisScanResultsAggregatedByChecksOutput) SetNextToken(v string) *ListCisScanResultsAggregatedByChecksOutput

SetNextToken sets the NextToken field's value.

func (ListCisScanResultsAggregatedByChecksOutput) String

func (s ListCisScanResultsAggregatedByChecksOutput) String() string

String returns the string representation.

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

type ListCisScanResultsAggregatedByTargetResourceInput

type ListCisScanResultsAggregatedByTargetResourceInput struct {

    // The filter criteria.
    FilterCriteria *CisScanResultsAggregatedByTargetResourceFilterCriteria `locationName:"filterCriteria" type:"structure"`

    // The maximum number of scan results aggregated by a target resource to be
    // returned in a single page of results.
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // The pagination token from a previous request that's used to retrieve the
    // next page of results.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The scan ARN.
    //
    // ScanArn is a required field
    ScanArn *string `locationName:"scanArn" type:"string" required:"true"`

    // The sort by order.
    SortBy *string `locationName:"sortBy" type:"string" enum:"CisScanResultsAggregatedByTargetResourceSortBy"`

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

func (ListCisScanResultsAggregatedByTargetResourceInput) GoString

func (s ListCisScanResultsAggregatedByTargetResourceInput) GoString() string

GoString returns the string representation.

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

func (*ListCisScanResultsAggregatedByTargetResourceInput) SetFilterCriteria

func (s *ListCisScanResultsAggregatedByTargetResourceInput) SetFilterCriteria(v *CisScanResultsAggregatedByTargetResourceFilterCriteria) *ListCisScanResultsAggregatedByTargetResourceInput

SetFilterCriteria sets the FilterCriteria field's value.

func (*ListCisScanResultsAggregatedByTargetResourceInput) SetMaxResults

func (s *ListCisScanResultsAggregatedByTargetResourceInput) SetMaxResults(v int64) *ListCisScanResultsAggregatedByTargetResourceInput

SetMaxResults sets the MaxResults field's value.

func (*ListCisScanResultsAggregatedByTargetResourceInput) SetNextToken

func (s *ListCisScanResultsAggregatedByTargetResourceInput) SetNextToken(v string) *ListCisScanResultsAggregatedByTargetResourceInput

SetNextToken sets the NextToken field's value.

func (*ListCisScanResultsAggregatedByTargetResourceInput) SetScanArn

func (s *ListCisScanResultsAggregatedByTargetResourceInput) SetScanArn(v string) *ListCisScanResultsAggregatedByTargetResourceInput

SetScanArn sets the ScanArn field's value.

func (*ListCisScanResultsAggregatedByTargetResourceInput) SetSortBy

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

SetSortBy sets the SortBy field's value.

func (*ListCisScanResultsAggregatedByTargetResourceInput) SetSortOrder

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

SetSortOrder sets the SortOrder field's value.

func (ListCisScanResultsAggregatedByTargetResourceInput) String

func (s ListCisScanResultsAggregatedByTargetResourceInput) String() string

String returns the string representation.

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

func (*ListCisScanResultsAggregatedByTargetResourceInput) Validate

func (s *ListCisScanResultsAggregatedByTargetResourceInput) Validate() error

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

type ListCisScanResultsAggregatedByTargetResourceOutput

type ListCisScanResultsAggregatedByTargetResourceOutput struct {

    // The pagination token from a previous request that's used to retrieve the
    // next page of results.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The resource aggregations.
    TargetResourceAggregations []*CisTargetResourceAggregation `locationName:"targetResourceAggregations" min:"1" type:"list"`
    // contains filtered or unexported fields
}

func (ListCisScanResultsAggregatedByTargetResourceOutput) GoString

func (s ListCisScanResultsAggregatedByTargetResourceOutput) GoString() string

GoString returns the string representation.

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

func (*ListCisScanResultsAggregatedByTargetResourceOutput) SetNextToken

func (s *ListCisScanResultsAggregatedByTargetResourceOutput) SetNextToken(v string) *ListCisScanResultsAggregatedByTargetResourceOutput

SetNextToken sets the NextToken field's value.

func (*ListCisScanResultsAggregatedByTargetResourceOutput) SetTargetResourceAggregations

func (s *ListCisScanResultsAggregatedByTargetResourceOutput) SetTargetResourceAggregations(v []*CisTargetResourceAggregation) *ListCisScanResultsAggregatedByTargetResourceOutput

SetTargetResourceAggregations sets the TargetResourceAggregations field's value.

func (ListCisScanResultsAggregatedByTargetResourceOutput) String

func (s ListCisScanResultsAggregatedByTargetResourceOutput) String() string

String returns the string representation.

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

type ListCisScansFilterCriteria

type ListCisScansFilterCriteria struct {

    // The list of failed checks filters.
    FailedChecksFilters []*CisNumberFilter `locationName:"failedChecksFilters" min:"1" type:"list"`

    // The list of scan ARN filters.
    ScanArnFilters []*CisStringFilter `locationName:"scanArnFilters" min:"1" type:"list"`

    // The list of scan at filters.
    ScanAtFilters []*CisDateFilter `locationName:"scanAtFilters" min:"1" type:"list"`

    // The list of scan configuration ARN filters.
    ScanConfigurationArnFilters []*CisStringFilter `locationName:"scanConfigurationArnFilters" min:"1" type:"list"`

    // The list of scan name filters.
    ScanNameFilters []*CisStringFilter `locationName:"scanNameFilters" min:"1" type:"list"`

    // The list of scan status filters.
    ScanStatusFilters []*CisScanStatusFilter `locationName:"scanStatusFilters" min:"1" type:"list"`

    // The list of scheduled by filters.
    ScheduledByFilters []*CisStringFilter `locationName:"scheduledByFilters" min:"1" type:"list"`

    // The list of target account ID filters.
    TargetAccountIdFilters []*CisStringFilter `locationName:"targetAccountIdFilters" min:"1" type:"list"`

    // The list of target resource ID filters.
    TargetResourceIdFilters []*CisStringFilter `locationName:"targetResourceIdFilters" min:"1" type:"list"`

    // The list of target resource tag filters.
    TargetResourceTagFilters []*TagFilter `locationName:"targetResourceTagFilters" min:"1" type:"list"`
    // contains filtered or unexported fields
}

A list of CIS scans filter criteria.

func (ListCisScansFilterCriteria) GoString

func (s ListCisScansFilterCriteria) GoString() string

GoString returns the string representation.

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

func (*ListCisScansFilterCriteria) SetFailedChecksFilters

func (s *ListCisScansFilterCriteria) SetFailedChecksFilters(v []*CisNumberFilter) *ListCisScansFilterCriteria

SetFailedChecksFilters sets the FailedChecksFilters field's value.

func (*ListCisScansFilterCriteria) SetScanArnFilters

func (s *ListCisScansFilterCriteria) SetScanArnFilters(v []*CisStringFilter) *ListCisScansFilterCriteria

SetScanArnFilters sets the ScanArnFilters field's value.

func (*ListCisScansFilterCriteria) SetScanAtFilters

func (s *ListCisScansFilterCriteria) SetScanAtFilters(v []*CisDateFilter) *ListCisScansFilterCriteria

SetScanAtFilters sets the ScanAtFilters field's value.

func (*ListCisScansFilterCriteria) SetScanConfigurationArnFilters

func (s *ListCisScansFilterCriteria) SetScanConfigurationArnFilters(v []*CisStringFilter) *ListCisScansFilterCriteria

SetScanConfigurationArnFilters sets the ScanConfigurationArnFilters field's value.

func (*ListCisScansFilterCriteria) SetScanNameFilters

func (s *ListCisScansFilterCriteria) SetScanNameFilters(v []*CisStringFilter) *ListCisScansFilterCriteria

SetScanNameFilters sets the ScanNameFilters field's value.

func (*ListCisScansFilterCriteria) SetScanStatusFilters

func (s *ListCisScansFilterCriteria) SetScanStatusFilters(v []*CisScanStatusFilter) *ListCisScansFilterCriteria

SetScanStatusFilters sets the ScanStatusFilters field's value.

func (*ListCisScansFilterCriteria) SetScheduledByFilters

func (s *ListCisScansFilterCriteria) SetScheduledByFilters(v []*CisStringFilter) *ListCisScansFilterCriteria

SetScheduledByFilters sets the ScheduledByFilters field's value.

func (*ListCisScansFilterCriteria) SetTargetAccountIdFilters

func (s *ListCisScansFilterCriteria) SetTargetAccountIdFilters(v []*CisStringFilter) *ListCisScansFilterCriteria

SetTargetAccountIdFilters sets the TargetAccountIdFilters field's value.

func (*ListCisScansFilterCriteria) SetTargetResourceIdFilters

func (s *ListCisScansFilterCriteria) SetTargetResourceIdFilters(v []*CisStringFilter) *ListCisScansFilterCriteria

SetTargetResourceIdFilters sets the TargetResourceIdFilters field's value.

func (*ListCisScansFilterCriteria) SetTargetResourceTagFilters

func (s *ListCisScansFilterCriteria) SetTargetResourceTagFilters(v []*TagFilter) *ListCisScansFilterCriteria

SetTargetResourceTagFilters sets the TargetResourceTagFilters field's value.

func (ListCisScansFilterCriteria) String

func (s ListCisScansFilterCriteria) String() string

String returns the string representation.

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

func (*ListCisScansFilterCriteria) Validate

func (s *ListCisScansFilterCriteria) Validate() error

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

type ListCisScansInput

type ListCisScansInput struct {

    // The detail applied to the CIS scan.
    DetailLevel *string `locationName:"detailLevel" type:"string" enum:"ListCisScansDetailLevel"`

    // The CIS scan filter criteria.
    FilterCriteria *ListCisScansFilterCriteria `locationName:"filterCriteria" type:"structure"`

    // The maximum number of results to be returned.
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // The pagination token from a previous request that's used to retrieve the
    // next page of results.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The CIS scans sort by order.
    SortBy *string `locationName:"sortBy" type:"string" enum:"ListCisScansSortBy"`

    // The CIS scans sort order.
    SortOrder *string `locationName:"sortOrder" type:"string" enum:"CisSortOrder"`
    // contains filtered or unexported fields
}

func (ListCisScansInput) GoString

func (s ListCisScansInput) GoString() string

GoString returns the string representation.

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

func (*ListCisScansInput) SetDetailLevel

func (s *ListCisScansInput) SetDetailLevel(v string) *ListCisScansInput

SetDetailLevel sets the DetailLevel field's value.

func (*ListCisScansInput) SetFilterCriteria

func (s *ListCisScansInput) SetFilterCriteria(v *ListCisScansFilterCriteria) *ListCisScansInput

SetFilterCriteria sets the FilterCriteria field's value.

func (*ListCisScansInput) SetMaxResults

func (s *ListCisScansInput) SetMaxResults(v int64) *ListCisScansInput

SetMaxResults sets the MaxResults field's value.

func (*ListCisScansInput) SetNextToken

func (s *ListCisScansInput) SetNextToken(v string) *ListCisScansInput

SetNextToken sets the NextToken field's value.

func (*ListCisScansInput) SetSortBy

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

SetSortBy sets the SortBy field's value.

func (*ListCisScansInput) SetSortOrder

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

SetSortOrder sets the SortOrder field's value.

func (ListCisScansInput) String

func (s ListCisScansInput) String() string

String returns the string representation.

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

func (*ListCisScansInput) Validate

func (s *ListCisScansInput) Validate() error

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

type ListCisScansOutput

type ListCisScansOutput struct {

    // The pagination token from a previous request that's used to retrieve the
    // next page of results.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The CIS scans.
    Scans []*CisScan `locationName:"scans" type:"list"`
    // contains filtered or unexported fields
}

func (ListCisScansOutput) GoString

func (s ListCisScansOutput) GoString() string

GoString returns the string representation.

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

func (*ListCisScansOutput) SetNextToken

func (s *ListCisScansOutput) SetNextToken(v string) *ListCisScansOutput

SetNextToken sets the NextToken field's value.

func (*ListCisScansOutput) SetScans

func (s *ListCisScansOutput) SetScans(v []*CisScan) *ListCisScansOutput

SetScans sets the Scans field's value.

func (ListCisScansOutput) String

func (s ListCisScansOutput) String() string

String returns the string representation.

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

type ListCoverageInput

type ListCoverageInput struct {

    // An object that contains details on the filters to apply to the coverage data
    // for your environment.
    FilterCriteria *CoverageFilterCriteria `locationName:"filterCriteria" type:"structure"`

    // The maximum number of results the response can return. If your request would
    // return more than the maximum the response will return a nextToken value,
    // use this value when you call the action again to get the remaining results.
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // A token to use for paginating results that are returned in the response.
    // Set the value of this parameter to null for the first request to a list action.
    // If your response returns more than the maxResults maximum value it will also
    // return a nextToken value. For subsequent calls, use the nextToken value returned
    // from the previous request to continue listing results after the first page.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListCoverageInput) GoString

func (s ListCoverageInput) GoString() string

GoString returns the string representation.

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

func (*ListCoverageInput) SetFilterCriteria

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 the response can return. If your request would
    // return more than the maximum the response will return a nextToken value,
    // use this value when you call the action again to get the remaining results.
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // A token to use for paginating results that are returned in the response.
    // Set the value of this parameter to null for the first request to a list action.
    // If your response returns more than the maxResults maximum value it will also
    // return a nextToken value. For subsequent calls, use the nextToken value returned
    // from the previous request to continue listing results after the first page.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListDelegatedAdminAccountsInput) GoString

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 the response can return. If your request would
    // return more than the maximum the response will return a nextToken value,
    // use this value when you call the action again to get the remaining results.
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // A token to use for paginating results that are returned in the response.
    // Set the value of this parameter to null for the first request to a list action.
    // If your response returns more than the maxResults maximum value it will also
    // return a nextToken value. For subsequent calls, use the nextToken value returned
    // from the previous request to continue listing results after the first page.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListFiltersInput) GoString

func (s ListFiltersInput) GoString() string

GoString returns the string representation.

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

func (*ListFiltersInput) SetAction

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

SetAction sets the Action field's value.

func (*ListFiltersInput) SetArns

func (s *ListFiltersInput) SetArns(v []*string) *ListFiltersInput

SetArns sets the Arns field's value.

func (*ListFiltersInput) SetMaxResults

func (s *ListFiltersInput) SetMaxResults(v int64) *ListFiltersInput

SetMaxResults sets the MaxResults field's value.

func (*ListFiltersInput) SetNextToken

func (s *ListFiltersInput) SetNextToken(v string) *ListFiltersInput

SetNextToken sets the NextToken field's value.

func (ListFiltersInput) String

func (s ListFiltersInput) String() string

String returns the string representation.

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

func (*ListFiltersInput) Validate

func (s *ListFiltersInput) Validate() error

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

type ListFiltersOutput

type ListFiltersOutput struct {

    // Contains details on the filters associated with your account.
    //
    // Filters is a required field
    Filters []*Filter `locationName:"filters" type:"list" required:"true"`

    // A token to use for paginating results that are returned in the response.
    // Set the value of this parameter to null for the first request to a list action.
    // For subsequent calls, use the NextToken value returned from the previous
    // request to continue listing results after the first page.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListFiltersOutput) GoString

func (s ListFiltersOutput) GoString() string

GoString returns the string representation.

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

func (*ListFiltersOutput) SetFilters

func (s *ListFiltersOutput) SetFilters(v []*Filter) *ListFiltersOutput

SetFilters sets the Filters field's value.

func (*ListFiltersOutput) SetNextToken

func (s *ListFiltersOutput) SetNextToken(v string) *ListFiltersOutput

SetNextToken sets the NextToken field's value.

func (ListFiltersOutput) String

func (s ListFiltersOutput) String() string

String returns the string representation.

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

type ListFindingAggregationsInput

type ListFindingAggregationsInput struct {

    // The Amazon Web Services account IDs to retrieve finding aggregation data
    // for.
    AccountIds []*StringFilter `locationName:"accountIds" min:"1" type:"list"`

    // Details of the aggregation request that is used to filter your aggregation
    // results.
    AggregationRequest *AggregationRequest `locationName:"aggregationRequest" type:"structure"`

    // The type of the aggregation request.
    //
    // AggregationType is a required field
    AggregationType *string `locationName:"aggregationType" type:"string" required:"true" enum:"AggregationType"`

    // The maximum number of results the response can return. If your request would
    // return more than the maximum the response will return a nextToken value,
    // use this value when you call the action again to get the remaining results.
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // A token to use for paginating results that are returned in the response.
    // Set the value of this parameter to null for the first request to a list action.
    // If your response returns more than the maxResults maximum value it will also
    // return a nextToken value. For subsequent calls, use the nextToken value returned
    // from the previous request to continue listing results after the first page.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListFindingAggregationsInput) GoString

func (s ListFindingAggregationsInput) GoString() string

GoString returns the string representation.

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

func (*ListFindingAggregationsInput) SetAccountIds

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 the response can return. If your request would
    // return more than the maximum the response will return a nextToken value,
    // use this value when you call the action again to get the remaining results.
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // A token to use for paginating results that are returned in the response.
    // Set the value of this parameter to null for the first request to a list action.
    // If your response returns more than the maxResults maximum value it will also
    // return a nextToken value. For subsequent calls, use the nextToken value returned
    // from the previous request to continue listing results after the first page.
    NextToken *string `locationName:"nextToken" type:"string"`

    // Details on the sort criteria to apply to your finding results.
    SortCriteria *SortCriteria `locationName:"sortCriteria" type:"structure"`
    // contains filtered or unexported fields
}

func (ListFindingsInput) GoString

func (s ListFindingsInput) GoString() string

GoString returns the string representation.

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

func (*ListFindingsInput) SetFilterCriteria

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

SetFilterCriteria sets the FilterCriteria field's value.

func (*ListFindingsInput) SetMaxResults

func (s *ListFindingsInput) SetMaxResults(v int64) *ListFindingsInput

SetMaxResults sets the MaxResults field's value.

func (*ListFindingsInput) SetNextToken

func (s *ListFindingsInput) SetNextToken(v string) *ListFindingsInput

SetNextToken sets the NextToken field's value.

func (*ListFindingsInput) SetSortCriteria

func (s *ListFindingsInput) SetSortCriteria(v *SortCriteria) *ListFindingsInput

SetSortCriteria sets the SortCriteria field's value.

func (ListFindingsInput) String

func (s ListFindingsInput) String() string

String returns the string representation.

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

func (*ListFindingsInput) Validate

func (s *ListFindingsInput) Validate() error

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

type ListFindingsOutput

type ListFindingsOutput struct {

    // Contains details on the findings in your environment.
    Findings []*Finding `locationName:"findings" type:"list"`

    // A token to use for paginating results that are returned in the response.
    // Set the value of this parameter to null for the first request to a list action.
    // For subsequent calls, use the NextToken value returned from the previous
    // request to continue listing results after the first page.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListFindingsOutput) GoString

func (s ListFindingsOutput) GoString() string

GoString returns the string representation.

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

func (*ListFindingsOutput) SetFindings

func (s *ListFindingsOutput) SetFindings(v []*Finding) *ListFindingsOutput

SetFindings sets the Findings field's value.

func (*ListFindingsOutput) SetNextToken

func (s *ListFindingsOutput) SetNextToken(v string) *ListFindingsOutput

SetNextToken sets the NextToken field's value.

func (ListFindingsOutput) String

func (s ListFindingsOutput) String() string

String returns the string representation.

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

type ListMembersInput

type ListMembersInput struct {

    // The maximum number of results the response can return. If your request would
    // return more than the maximum the response will return a nextToken value,
    // use this value when you call the action again to get the remaining results.
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // A token to use for paginating results that are returned in the response.
    // Set the value of this parameter to null for the first request to a list action.
    // If your response returns more than the maxResults maximum value it will also
    // return a nextToken value. For subsequent calls, use the nextToken value returned
    // from the previous request to continue listing results after the first page.
    NextToken *string `locationName:"nextToken" type:"string"`

    // Specifies whether to list only currently associated members if True or to
    // list all members within the organization if False.
    OnlyAssociated *bool `locationName:"onlyAssociated" type:"boolean"`
    // contains filtered or unexported fields
}

func (ListMembersInput) GoString

func (s ListMembersInput) GoString() string

GoString returns the string representation.

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

func (*ListMembersInput) SetMaxResults

func (s *ListMembersInput) SetMaxResults(v int64) *ListMembersInput

SetMaxResults sets the MaxResults field's value.

func (*ListMembersInput) SetNextToken

func (s *ListMembersInput) SetNextToken(v string) *ListMembersInput

SetNextToken sets the NextToken field's value.

func (*ListMembersInput) SetOnlyAssociated

func (s *ListMembersInput) SetOnlyAssociated(v bool) *ListMembersInput

SetOnlyAssociated sets the OnlyAssociated field's value.

func (ListMembersInput) String

func (s ListMembersInput) String() string

String returns the string representation.

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

func (*ListMembersInput) Validate

func (s *ListMembersInput) Validate() error

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

type ListMembersOutput

type ListMembersOutput struct {

    // An object that contains details for each member account.
    Members []*Member `locationName:"members" type:"list"`

    // The pagination parameter to be used on the next list operation to retrieve
    // more items.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListMembersOutput) GoString

func (s ListMembersOutput) GoString() string

GoString returns the string representation.

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

func (*ListMembersOutput) SetMembers

func (s *ListMembersOutput) SetMembers(v []*Member) *ListMembersOutput

SetMembers sets the Members field's value.

func (*ListMembersOutput) SetNextToken

func (s *ListMembersOutput) SetNextToken(v string) *ListMembersOutput

SetNextToken sets the NextToken field's value.

func (ListMembersOutput) String

func (s ListMembersOutput) String() string

String returns the string representation.

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

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

    // The Amazon resource number (ARN) of the resource to list tags of.
    //
    // ResourceArn is a required field
    ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation.

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

func (*ListTagsForResourceInput) SetResourceArn

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 the response can return. If your request would
    // return more than the maximum the response will return a nextToken value,
    // use this value when you call the action again to get the remaining results.
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // A token to use for paginating results that are returned in the response.
    // Set the value of this parameter to null for the first request to a list action.
    // If your response returns more than the maxResults maximum value it will also
    // return a nextToken value. For subsequent calls, use the nextToken value returned
    // from the previous request to continue listing results after the first page.
    NextToken *string `locationName:"nextToken" min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (ListUsageTotalsInput) GoString

func (s ListUsageTotalsInput) GoString() string

GoString returns the string representation.

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

func (*ListUsageTotalsInput) SetAccountIds

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

SetAccountIds sets the AccountIds field's value.

func (*ListUsageTotalsInput) SetMaxResults

func (s *ListUsageTotalsInput) SetMaxResults(v int64) *ListUsageTotalsInput

SetMaxResults sets the MaxResults field's value.

func (*ListUsageTotalsInput) SetNextToken

func (s *ListUsageTotalsInput) SetNextToken(v string) *ListUsageTotalsInput

SetNextToken sets the NextToken field's value.

func (ListUsageTotalsInput) String

func (s ListUsageTotalsInput) String() string

String returns the string representation.

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

func (*ListUsageTotalsInput) Validate

func (s *ListUsageTotalsInput) Validate() error

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

type ListUsageTotalsOutput

type ListUsageTotalsOutput struct {

    // The pagination parameter to be used on the next list operation to retrieve
    // more items.
    NextToken *string `locationName:"nextToken" min:"1" type:"string"`

    // An object with details on the total usage for the requested account.
    Totals []*UsageTotal `locationName:"totals" type:"list"`
    // contains filtered or unexported fields
}

func (ListUsageTotalsOutput) GoString

func (s ListUsageTotalsOutput) GoString() string

GoString returns the string representation.

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

func (*ListUsageTotalsOutput) SetNextToken

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

func (s MapFilter) GoString() string

GoString returns the string representation.

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

func (*MapFilter) SetComparison

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

SetComparison sets the Comparison field's value.

func (*MapFilter) SetKey

func (s *MapFilter) SetKey(v string) *MapFilter

SetKey sets the Key field's value.

func (*MapFilter) SetValue

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

SetValue sets the Value field's value.

func (MapFilter) String

func (s MapFilter) String() string

String returns the string representation.

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

func (*MapFilter) Validate

func (s *MapFilter) Validate() error

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

type Member

type Member struct {

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

    // The Amazon Web Services account ID of the Amazon Inspector delegated administrator
    // for this member account.
    DelegatedAdminAccountId *string `locationName:"delegatedAdminAccountId" min:"12" type:"string"`

    // The status of the member account.
    RelationshipStatus *string `locationName:"relationshipStatus" type:"string" enum:"RelationshipStatus"`

    // A timestamp showing when the status of this member was last updated.
    UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp"`
    // contains filtered or unexported fields
}

Details on a member account in your organization.

func (Member) GoString

func (s Member) GoString() string

GoString returns the string representation.

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

func (*Member) SetAccountId

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

SetAccountId sets the AccountId field's value.

func (*Member) SetDelegatedAdminAccountId

func (s *Member) SetDelegatedAdminAccountId(v string) *Member

SetDelegatedAdminAccountId sets the DelegatedAdminAccountId field's value.

func (*Member) SetRelationshipStatus

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

SetRelationshipStatus sets the RelationshipStatus field's value.

func (*Member) SetUpdatedAt

func (s *Member) SetUpdatedAt(v time.Time) *Member

SetUpdatedAt sets the UpdatedAt field's value.

func (Member) String

func (s Member) String() string

String returns the string representation.

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

type MemberAccountEc2DeepInspectionStatus

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

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

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

SetAccountId sets the AccountId field's value.

func (*MemberAccountEc2DeepInspectionStatus) SetActivateDeepInspection

func (s *MemberAccountEc2DeepInspectionStatus) SetActivateDeepInspection(v bool) *MemberAccountEc2DeepInspectionStatus

SetActivateDeepInspection sets the ActivateDeepInspection field's value.

func (MemberAccountEc2DeepInspectionStatus) String

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

func (s *MemberAccountEc2DeepInspectionStatus) Validate() error

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

type MemberAccountEc2DeepInspectionStatusState

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

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

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

SetAccountId sets the AccountId field's value.

func (*MemberAccountEc2DeepInspectionStatusState) SetErrorMessage

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

SetErrorMessage sets the ErrorMessage field's value.

func (*MemberAccountEc2DeepInspectionStatusState) SetStatus

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

SetStatus sets the Status field's value.

func (MemberAccountEc2DeepInspectionStatusState) String

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 MonthlySchedule

type MonthlySchedule struct {

    // The monthly schedule's day.
    //
    // Day is a required field
    Day *string `locationName:"day" type:"string" required:"true" enum:"Day"`

    // The monthly schedule's start time.
    //
    // StartTime is a required field
    StartTime *Time `locationName:"startTime" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

A monthly schedule.

func (MonthlySchedule) GoString

func (s MonthlySchedule) GoString() string

GoString returns the string representation.

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

func (*MonthlySchedule) SetDay

func (s *MonthlySchedule) SetDay(v string) *MonthlySchedule

SetDay sets the Day field's value.

func (*MonthlySchedule) SetStartTime

func (s *MonthlySchedule) SetStartTime(v *Time) *MonthlySchedule

SetStartTime sets the StartTime field's value.

func (MonthlySchedule) String

func (s MonthlySchedule) String() string

String returns the string representation.

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

func (*MonthlySchedule) Validate

func (s *MonthlySchedule) Validate() error

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

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 OneTimeSchedule

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

A one time schedule.

func (OneTimeSchedule) GoString

func (s OneTimeSchedule) GoString() string

GoString returns the string representation.

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

func (OneTimeSchedule) String

func (s OneTimeSchedule) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the 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

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

func (s PortRange) GoString() string

GoString returns the string representation.

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

func (*PortRange) SetBegin

func (s *PortRange) SetBegin(v int64) *PortRange

SetBegin sets the Begin field's value.

func (*PortRange) SetEnd

func (s *PortRange) SetEnd(v int64) *PortRange

SetEnd sets the End field's value.

func (PortRange) String

func (s PortRange) String() string

String returns the string representation.

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

type PortRangeFilter

type PortRangeFilter struct {

    // The port number the port range begins at.
    BeginInclusive *int64 `locationName:"beginInclusive" type:"integer"`

    // The port number the port range ends at.
    EndInclusive *int64 `locationName:"endInclusive" type:"integer"`
    // contains filtered or unexported fields
}

An object that describes the details of a port range filter.

func (PortRangeFilter) GoString

func (s PortRangeFilter) GoString() string

GoString returns the string representation.

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

func (*PortRangeFilter) SetBeginInclusive

func (s *PortRangeFilter) SetBeginInclusive(v int64) *PortRangeFilter

SetBeginInclusive sets the BeginInclusive field's value.

func (*PortRangeFilter) SetEndInclusive

func (s *PortRangeFilter) SetEndInclusive(v int64) *PortRangeFilter

SetEndInclusive sets the EndInclusive field's value.

func (PortRangeFilter) String

func (s PortRangeFilter) String() string

String returns the string representation.

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

type Recommendation

type Recommendation struct {

    // The recommended course of action to remediate the finding.
    Text *string `locationName:"text" min:"1" type:"string"`

    // The URL address to the CVE remediation recommendations.
    Url *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

Details about the recommended course of action to remediate the finding.

func (Recommendation) GoString

func (s Recommendation) GoString() string

GoString returns the string representation.

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

func (*Recommendation) SetText

func (s *Recommendation) SetText(v string) *Recommendation

SetText sets the Text field's value.

func (*Recommendation) SetUrl

func (s *Recommendation) SetUrl(v string) *Recommendation

SetUrl sets the Url field's value.

func (Recommendation) String

func (s Recommendation) String() string

String returns the string representation.

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

type Remediation

type Remediation struct {

    // An object that contains information about the recommended course of action
    // to remediate the finding.
    Recommendation *Recommendation `locationName:"recommendation" type:"structure"`
    // contains filtered or unexported fields
}

Information on how to remediate a finding.

func (Remediation) GoString

func (s Remediation) GoString() string

GoString returns the string representation.

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

func (*Remediation) SetRecommendation

func (s *Remediation) SetRecommendation(v *Recommendation) *Remediation

SetRecommendation sets the Recommendation field's value.

func (Remediation) String

func (s Remediation) String() string

String returns the string representation.

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

type RepositoryAggregation

type RepositoryAggregation struct {

    // The names of repositories to aggregate findings on.
    Repositories []*StringFilter `locationName:"repositories" min:"1" type:"list"`

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

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

The details that define an aggregation based on repository.

func (RepositoryAggregation) GoString

func (s RepositoryAggregation) GoString() string

GoString returns the string representation.

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

func (*RepositoryAggregation) SetRepositories

func (s *RepositoryAggregation) SetRepositories(v []*StringFilter) *RepositoryAggregation

SetRepositories sets the Repositories field's value.

func (*RepositoryAggregation) SetSortBy

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 ResetEncryptionKeyInput

type ResetEncryptionKeyInput struct {

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

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

func (ResetEncryptionKeyInput) GoString

func (s ResetEncryptionKeyInput) GoString() string

GoString returns the string representation.

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

func (*ResetEncryptionKeyInput) SetResourceType

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

SetResourceType sets the ResourceType field's value.

func (*ResetEncryptionKeyInput) SetScanType

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

SetScanType sets the ScanType field's value.

func (ResetEncryptionKeyInput) String

func (s ResetEncryptionKeyInput) String() string

String returns the string representation.

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

func (*ResetEncryptionKeyInput) Validate

func (s *ResetEncryptionKeyInput) Validate() error

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

type ResetEncryptionKeyOutput

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

func (ResetEncryptionKeyOutput) GoString

func (s ResetEncryptionKeyOutput) GoString() string

GoString returns the string representation.

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

func (ResetEncryptionKeyOutput) String

func (s ResetEncryptionKeyOutput) String() string

String returns the string representation.

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

type Resource

type Resource struct {

    // An object that contains details about the resource involved in a finding.
    Details *ResourceDetails `locationName:"details" type:"structure"`

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

    // The partition of the resource.
    Partition *string `locationName:"partition" min:"1" type:"string"`

    // The Amazon Web Services Region the impacted resource is located in.
    Region *string `locationName:"region" min:"1" type:"string"`

    // The tags attached to the resource.
    Tags map[string]*string `locationName:"tags" type:"map"`

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

Details about the resource involved in a finding.

func (Resource) GoString

func (s Resource) GoString() string

GoString returns the string representation.

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

func (*Resource) SetDetails

func (s *Resource) SetDetails(v *ResourceDetails) *Resource

SetDetails sets the Details field's value.

func (*Resource) SetId

func (s *Resource) SetId(v string) *Resource

SetId sets the Id field's value.

func (*Resource) SetPartition

func (s *Resource) SetPartition(v string) *Resource

SetPartition sets the Partition field's value.

func (*Resource) SetRegion

func (s *Resource) SetRegion(v string) *Resource

SetRegion sets the Region field's value.

func (*Resource) SetTags

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

SetTags sets the Tags field's value.

func (*Resource) SetType

func (s *Resource) SetType(v string) *Resource

SetType sets the Type field's value.

func (Resource) String

func (s Resource) String() string

String returns the string representation.

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

type ResourceDetails

type ResourceDetails struct {

    // An object that contains details about the Amazon EC2 instance involved in
    // the finding.
    AwsEc2Instance *AwsEc2InstanceDetails `locationName:"awsEc2Instance" type:"structure"`

    // An object that contains details about the Amazon ECR container image involved
    // in the finding.
    AwsEcrContainerImage *AwsEcrContainerImageDetails `locationName:"awsEcrContainerImage" type:"structure"`

    // A summary of the information about an Amazon Web Services 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

func (s *ResourceDetails) SetAwsLambdaFunction(v *AwsLambdaFunctionDetails) *ResourceDetails

SetAwsLambdaFunction sets the AwsLambdaFunction field's value.

func (ResourceDetails) String

func (s ResourceDetails) String() string

String returns the string representation.

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

type ResourceFilterCriteria

type ResourceFilterCriteria struct {

    // The account IDs used as resource filter criteria.
    AccountId []*ResourceStringFilter `locationName:"accountId" min:"1" type:"list"`

    // The EC2 instance tags used as resource filter criteria.
    Ec2InstanceTags []*ResourceMapFilter `locationName:"ec2InstanceTags" min:"1" type:"list"`

    // The ECR image tags used as resource filter criteria.
    EcrImageTags []*ResourceStringFilter `locationName:"ecrImageTags" min:"1" type:"list"`

    // The ECR repository names used as resource filter criteria.
    EcrRepositoryName []*ResourceStringFilter `locationName:"ecrRepositoryName" min:"1" type:"list"`

    // The Amazon Web Services Lambda function name used as resource filter criteria.
    LambdaFunctionName []*ResourceStringFilter `locationName:"lambdaFunctionName" min:"1" type:"list"`

    // The Amazon Web Services Lambda function tags used as resource filter criteria.
    LambdaFunctionTags []*ResourceMapFilter `locationName:"lambdaFunctionTags" min:"1" type:"list"`

    // The resource IDs used as resource filter criteria.
    ResourceId []*ResourceStringFilter `locationName:"resourceId" min:"1" type:"list"`

    // The resource types used as resource filter criteria.
    ResourceType []*ResourceStringFilter `locationName:"resourceType" min:"1" type:"list"`
    // contains filtered or unexported fields
}

The resource filter criteria for a Software bill of materials (SBOM) report.

func (ResourceFilterCriteria) GoString

func (s ResourceFilterCriteria) GoString() string

GoString returns the string representation.

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

func (*ResourceFilterCriteria) SetAccountId

func (s *ResourceFilterCriteria) SetAccountId(v []*ResourceStringFilter) *ResourceFilterCriteria

SetAccountId sets the AccountId field's value.

func (*ResourceFilterCriteria) SetEc2InstanceTags

func (s *ResourceFilterCriteria) SetEc2InstanceTags(v []*ResourceMapFilter) *ResourceFilterCriteria

SetEc2InstanceTags sets the Ec2InstanceTags field's value.

func (*ResourceFilterCriteria) SetEcrImageTags

func (s *ResourceFilterCriteria) SetEcrImageTags(v []*ResourceStringFilter) *ResourceFilterCriteria

SetEcrImageTags sets the EcrImageTags field's value.

func (*ResourceFilterCriteria) SetEcrRepositoryName

func (s *ResourceFilterCriteria) SetEcrRepositoryName(v []*ResourceStringFilter) *ResourceFilterCriteria

SetEcrRepositoryName sets the EcrRepositoryName field's value.

func (*ResourceFilterCriteria) SetLambdaFunctionName

func (s *ResourceFilterCriteria) SetLambdaFunctionName(v []*ResourceStringFilter) *ResourceFilterCriteria

SetLambdaFunctionName sets the LambdaFunctionName field's value.

func (*ResourceFilterCriteria) SetLambdaFunctionTags

func (s *ResourceFilterCriteria) SetLambdaFunctionTags(v []*ResourceMapFilter) *ResourceFilterCriteria

SetLambdaFunctionTags sets the LambdaFunctionTags field's value.

func (*ResourceFilterCriteria) SetResourceId

func (s *ResourceFilterCriteria) SetResourceId(v []*ResourceStringFilter) *ResourceFilterCriteria

SetResourceId sets the ResourceId field's value.

func (*ResourceFilterCriteria) SetResourceType

func (s *ResourceFilterCriteria) SetResourceType(v []*ResourceStringFilter) *ResourceFilterCriteria

SetResourceType sets the ResourceType field's value.

func (ResourceFilterCriteria) String

func (s ResourceFilterCriteria) String() string

String returns the string representation.

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

func (*ResourceFilterCriteria) Validate

func (s *ResourceFilterCriteria) Validate() error

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

type ResourceMapFilter

type ResourceMapFilter struct {

    // The filter's comparison.
    //
    // Comparison is a required field
    Comparison *string `locationName:"comparison" type:"string" required:"true" enum:"ResourceMapComparison"`

    // The filter's key.
    //
    // Key is a required field
    Key *string `locationName:"key" min:"1" type:"string" required:"true"`

    // The filter's value.
    Value *string `locationName:"value" min:"1" type:"string"`
    // contains filtered or unexported fields
}

A resource map filter for a software bill of material report.

func (ResourceMapFilter) GoString

func (s ResourceMapFilter) GoString() string

GoString returns the string representation.

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

func (*ResourceMapFilter) SetComparison

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

SetComparison sets the Comparison field's value.

func (*ResourceMapFilter) SetKey

func (s *ResourceMapFilter) SetKey(v string) *ResourceMapFilter

SetKey sets the Key field's value.

func (*ResourceMapFilter) SetValue

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

SetValue sets the Value field's value.

func (ResourceMapFilter) String

func (s ResourceMapFilter) String() string

String returns the string representation.

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

func (*ResourceMapFilter) Validate

func (s *ResourceMapFilter) Validate() error

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

type ResourceNotFoundException

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

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

The operation tried to access an invalid resource. Make sure the resource is specified correctly.

func (*ResourceNotFoundException) Code

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 Amazon Web Services 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

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

    // An object that described the state of Amazon Inspector scans for an account.
    LambdaCode *State `locationName:"lambdaCode" type:"structure"`
    // contains filtered or unexported fields
}

Details the state of Amazon Inspector for each resource type Amazon Inspector scans.

func (ResourceState) GoString

func (s ResourceState) GoString() string

GoString returns the string representation.

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

func (*ResourceState) SetEc2

func (s *ResourceState) SetEc2(v *State) *ResourceState

SetEc2 sets the Ec2 field's value.

func (*ResourceState) SetEcr

func (s *ResourceState) SetEcr(v *State) *ResourceState

SetEcr sets the Ecr field's value.

func (*ResourceState) SetLambda

func (s *ResourceState) SetLambda(v *State) *ResourceState

SetLambda sets the Lambda field's value.

func (*ResourceState) SetLambdaCode

func (s *ResourceState) SetLambdaCode(v *State) *ResourceState

SetLambdaCode sets the LambdaCode field's value.

func (ResourceState) String

func (s ResourceState) String() string

String returns the string representation.

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

type ResourceStatus

type ResourceStatus struct {

    // The status of Amazon Inspector scanning for Amazon EC2 resources.
    //
    // Ec2 is a required field
    Ec2 *string `locationName:"ec2" type:"string" required:"true" enum:"Status"`

    // The status of Amazon Inspector scanning for Amazon ECR resources.
    //
    // Ecr is a required field
    Ecr *string `locationName:"ecr" type:"string" required:"true" enum:"Status"`

    // The status of Amazon Inspector scanning for Amazon Web Services Lambda function.
    Lambda *string `locationName:"lambda" type:"string" enum:"Status"`

    // The status of Amazon Inspector scanning for custom application code for Amazon
    // Web Services Lambda functions.
    LambdaCode *string `locationName:"lambdaCode" type:"string" enum:"Status"`
    // contains filtered or unexported fields
}

Details the status of Amazon Inspector for each resource type Amazon Inspector scans.

func (ResourceStatus) GoString

func (s ResourceStatus) GoString() string

GoString returns the string representation.

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

func (*ResourceStatus) SetEc2

func (s *ResourceStatus) SetEc2(v string) *ResourceStatus

SetEc2 sets the Ec2 field's value.

func (*ResourceStatus) SetEcr

func (s *ResourceStatus) SetEcr(v string) *ResourceStatus

SetEcr sets the Ecr field's value.

func (*ResourceStatus) SetLambda

func (s *ResourceStatus) SetLambda(v string) *ResourceStatus

SetLambda sets the Lambda field's value.

func (*ResourceStatus) SetLambdaCode

func (s *ResourceStatus) SetLambdaCode(v string) *ResourceStatus

SetLambdaCode sets the LambdaCode field's value.

func (ResourceStatus) String

func (s ResourceStatus) String() string

String returns the string representation.

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

type ResourceStringFilter

type ResourceStringFilter struct {

    // The filter's comparison.
    //
    // Comparison is a required field
    Comparison *string `locationName:"comparison" type:"string" required:"true" enum:"ResourceStringComparison"`

    // The filter's value.
    //
    // Value is a required field
    Value *string `locationName:"value" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

A resource string filter for a software bill of materials report.

func (ResourceStringFilter) GoString

func (s ResourceStringFilter) GoString() string

GoString returns the string representation.

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

func (*ResourceStringFilter) SetComparison

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

SetComparison sets the Comparison field's value.

func (*ResourceStringFilter) SetValue

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

SetValue sets the Value field's value.

func (ResourceStringFilter) String

func (s ResourceStringFilter) String() string

String returns the string representation.

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

func (*ResourceStringFilter) Validate

func (s *ResourceStringFilter) Validate() error

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

type ScanStatus

type ScanStatus struct {

    // The scan status. Possible return values and descriptions are:
    //
    // PENDING_INITIAL_SCAN - This resource has been identified for scanning, results
    // will be available soon.
    //
    // ACCESS_DENIED - Resource access policy restricting Amazon Inspector access.
    // Please update the IAM policy.
    //
    // INTERNAL_ERROR - Amazon Inspector has encountered an internal error for this
    // resource. Amazon Inspector service will automatically resolve the issue and
    // resume the scanning. No action required from the user.
    //
    // UNMANAGED_EC2_INSTANCE - The EC2 instance is not managed by SSM, please use
    // the following SSM automation to remediate the issue: https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/automation-awssupport-troubleshoot-managed-instance.html
    // (https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/automation-awssupport-troubleshoot-managed-instance.html).
    // Once the instance becomes managed by SSM, Inspector will automatically begin
    // scanning this instance.
    //
    // UNSUPPORTED_OS - Amazon Inspector does not support this OS, architecture,
    // or image manifest type at this time. To see a complete list of supported
    // operating systems see: https://docs.aws.amazon.com/inspector/latest/user/supported.html
    // (https://docs.aws.amazon.com/inspector/latest/user/supported.html).
    //
    // SCAN_ELIGIBILITY_EXPIRED - The configured scan duration has lapsed for this
    // image.
    //
    // RESOURCE_TERMINATED - This resource has been terminated. The findings and
    // coverage associated with this resource are in the process of being cleaned
    // up.
    //
    // SUCCESSFUL - The scan was successful.
    //
    // NO_RESOURCES_FOUND - Reserved for future use.
    //
    // IMAGE_SIZE_EXCEEDED - Reserved for future use.
    //
    // SCAN_FREQUENCY_MANUAL - This image will not be covered by Amazon Inspector
    // due to the repository scan frequency configuration.
    //
    // SCAN_FREQUENCY_SCAN_ON_PUSH - This image will be scanned one time and will
    // not new findings because of the scan frequency configuration.
    //
    // EC2_INSTANCE_STOPPED - This EC2 instance is in a stopped state, therefore,
    // Amazon Inspector will pause scanning. The existing findings will continue
    // to exist until the instance is terminated. Once the instance is re-started,
    // Inspector will automatically start scanning the instance again. Please note
    // that you will not be charged for this instance while it’s in a stopped
    // state.
    //
    // PENDING_DISABLE - This resource is pending cleanup during disablement. The
    // customer will not be billed while a resource is in the pending disable status.
    //
    // NO INVENTORY - Amazon Inspector couldn’t find software application inventory
    // to scan for vulnerabilities. This might be caused due to required Amazon
    // Inspector associations being deleted or failing to run on your resource.
    // Please verify the status of InspectorInventoryCollection-do-not-delete association
    // in the SSM console for the resource. Additionally, you can verify the instance’s
    // inventory in the SSM Fleet Manager console.
    //
    // STALE_INVENTORY - Amazon Inspector wasn’t able to collect an updated software
    // application inventory in the last 7 days. Please confirm the required Amazon
    // Inspector associations still exist and you can still see an updated inventory
    // in the SSM console.
    //
    // EXCLUDED_BY_TAG - This resource was not scanned because it has been excluded
    // by a tag.
    //
    // UNSUPPORTED_RUNTIME - The function was not scanned because it has an unsupported
    // runtime. To see a complete list of supported runtimes see: https://docs.aws.amazon.com/inspector/latest/user/supported.html
    // (https://docs.aws.amazon.com/inspector/latest/user/supported.html).
    //
    // UNSUPPORTED_MEDIA_TYPE - The ECR image has an unsupported media type.
    //
    // UNSUPPORTED_CONFIG_FILE - Reserved for future use.
    //
    // DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED - The instance has exceeded
    // the 5000 package limit for Amazon Inspector Deep inspection. To resume Deep
    // inspection for this instance you can try to adjust the custom paths associated
    // with the account.
    //
    // DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED - The SSM agent couldn't
    // send inventory to Amazon Inspector because the SSM quota for Inventory data
    // collected per instance per day has already been reached for this instance.
    //
    // DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED - Amazon Inspector failed
    // to extract the package inventory because the package collection time exceeding
    // the maximum threshold of 15 minutes.
    //
    // DEEP_INSPECTION_NO_INVENTORY The Amazon Inspector plugin hasn't yet been
    // able to collect an inventory of packages for this instance. This is usually
    // the result of a pending scan, however, if this status persists after 6 hours,
    // use SSM to ensure that the required Amazon Inspector associations exist and
    // are running for the instance.
    //
    // Reason is a required field
    Reason *string `locationName:"reason" type:"string" required:"true" enum:"ScanStatusReason"`

    // The status code of the scan.
    //
    // StatusCode is a required field
    StatusCode *string `locationName:"statusCode" type:"string" required:"true" enum:"ScanStatusCode"`
    // contains filtered or unexported fields
}

The status of the scan.

func (ScanStatus) GoString

func (s ScanStatus) GoString() string

GoString returns the string representation.

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

func (*ScanStatus) SetReason

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

SetReason sets the Reason field's value.

func (*ScanStatus) SetStatusCode

func (s *ScanStatus) SetStatusCode(v string) *ScanStatus

SetStatusCode sets the StatusCode field's value.

func (ScanStatus) String

func (s ScanStatus) String() string

String returns the string representation.

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

type Schedule

type Schedule struct {

    // The schedule's daily.
    Daily *DailySchedule `locationName:"daily" type:"structure"`

    // The schedule's monthly.
    Monthly *MonthlySchedule `locationName:"monthly" type:"structure"`

    // The schedule's one time.
    OneTime *OneTimeSchedule `locationName:"oneTime" type:"structure"`

    // The schedule's weekly.
    Weekly *WeeklySchedule `locationName:"weekly" type:"structure"`
    // contains filtered or unexported fields
}

A schedule.

func (Schedule) GoString

func (s Schedule) GoString() string

GoString returns the string representation.

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

func (*Schedule) SetDaily

func (s *Schedule) SetDaily(v *DailySchedule) *Schedule

SetDaily sets the Daily field's value.

func (*Schedule) SetMonthly

func (s *Schedule) SetMonthly(v *MonthlySchedule) *Schedule

SetMonthly sets the Monthly field's value.

func (*Schedule) SetOneTime

func (s *Schedule) SetOneTime(v *OneTimeSchedule) *Schedule

SetOneTime sets the OneTime field's value.

func (*Schedule) SetWeekly

func (s *Schedule) SetWeekly(v *WeeklySchedule) *Schedule

SetWeekly sets the Weekly field's value.

func (Schedule) String

func (s Schedule) String() string

String returns the string representation.

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

func (*Schedule) Validate

func (s *Schedule) Validate() error

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

type SearchVulnerabilitiesFilterCriteria

type SearchVulnerabilitiesFilterCriteria struct {

    // The IDs for specific vulnerabilities.
    //
    // VulnerabilityIds is a required field
    VulnerabilityIds []*string `locationName:"vulnerabilityIds" min:"1" type:"list" required:"true"`
    // contains filtered or unexported fields
}

Details on the criteria used to define the filter for a vulnerability search.

func (SearchVulnerabilitiesFilterCriteria) GoString

func (s SearchVulnerabilitiesFilterCriteria) GoString() string

GoString returns the string representation.

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

func (*SearchVulnerabilitiesFilterCriteria) SetVulnerabilityIds

func (s *SearchVulnerabilitiesFilterCriteria) SetVulnerabilityIds(v []*string) *SearchVulnerabilitiesFilterCriteria

SetVulnerabilityIds sets the VulnerabilityIds field's value.

func (SearchVulnerabilitiesFilterCriteria) String

func (s SearchVulnerabilitiesFilterCriteria) String() string

String returns the string representation.

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

func (*SearchVulnerabilitiesFilterCriteria) Validate

func (s *SearchVulnerabilitiesFilterCriteria) Validate() error

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

type SearchVulnerabilitiesInput

type SearchVulnerabilitiesInput struct {

    // The criteria used to filter the results of a vulnerability search.
    //
    // FilterCriteria is a required field
    FilterCriteria *SearchVulnerabilitiesFilterCriteria `locationName:"filterCriteria" type:"structure" required:"true"`

    // A token to use for paginating results that are returned in the response.
    // Set the value of this parameter to null for the first request to a list action.
    // For subsequent calls, use the NextToken value returned from the previous
    // request to continue listing results after the first page.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (SearchVulnerabilitiesInput) GoString

func (s SearchVulnerabilitiesInput) GoString() string

GoString returns the string representation.

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

func (*SearchVulnerabilitiesInput) SetFilterCriteria

func (s *SearchVulnerabilitiesInput) SetFilterCriteria(v *SearchVulnerabilitiesFilterCriteria) *SearchVulnerabilitiesInput

SetFilterCriteria sets the FilterCriteria field's value.

func (*SearchVulnerabilitiesInput) SetNextToken

func (s *SearchVulnerabilitiesInput) SetNextToken(v string) *SearchVulnerabilitiesInput

SetNextToken sets the NextToken field's value.

func (SearchVulnerabilitiesInput) String

func (s SearchVulnerabilitiesInput) String() string

String returns the string representation.

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

func (*SearchVulnerabilitiesInput) Validate

func (s *SearchVulnerabilitiesInput) Validate() error

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

type SearchVulnerabilitiesOutput

type SearchVulnerabilitiesOutput struct {

    // The pagination parameter to be used on the next list operation to retrieve
    // more items.
    NextToken *string `locationName:"nextToken" type:"string"`

    // Details about the listed vulnerability.
    //
    // Vulnerabilities is a required field
    Vulnerabilities []*Vulnerability `locationName:"vulnerabilities" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (SearchVulnerabilitiesOutput) GoString

func (s SearchVulnerabilitiesOutput) GoString() string

GoString returns the string representation.

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

func (*SearchVulnerabilitiesOutput) SetNextToken

func (s *SearchVulnerabilitiesOutput) SetNextToken(v string) *SearchVulnerabilitiesOutput

SetNextToken sets the NextToken field's value.

func (*SearchVulnerabilitiesOutput) SetVulnerabilities

func (s *SearchVulnerabilitiesOutput) SetVulnerabilities(v []*Vulnerability) *SearchVulnerabilitiesOutput

SetVulnerabilities sets the Vulnerabilities field's value.

func (SearchVulnerabilitiesOutput) String

func (s SearchVulnerabilitiesOutput) String() string

String returns the string representation.

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

type SendCisSessionHealthInput

type SendCisSessionHealthInput struct {

    // A unique identifier for the scan job.
    //
    // ScanJobId is a required field
    ScanJobId *string `locationName:"scanJobId" type:"string" required:"true"`

    // The unique token that identifies the CIS session.
    //
    // SessionToken is a required field
    SessionToken *string `locationName:"sessionToken" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (SendCisSessionHealthInput) GoString

func (s SendCisSessionHealthInput) GoString() string

GoString returns the string representation.

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

func (*SendCisSessionHealthInput) SetScanJobId

func (s *SendCisSessionHealthInput) SetScanJobId(v string) *SendCisSessionHealthInput

SetScanJobId sets the ScanJobId field's value.

func (*SendCisSessionHealthInput) SetSessionToken

func (s *SendCisSessionHealthInput) SetSessionToken(v string) *SendCisSessionHealthInput

SetSessionToken sets the SessionToken field's value.

func (SendCisSessionHealthInput) String

func (s SendCisSessionHealthInput) String() string

String returns the string representation.

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

func (*SendCisSessionHealthInput) Validate

func (s *SendCisSessionHealthInput) Validate() error

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

type SendCisSessionHealthOutput

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

func (SendCisSessionHealthOutput) GoString

func (s SendCisSessionHealthOutput) GoString() string

GoString returns the string representation.

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

func (SendCisSessionHealthOutput) String

func (s SendCisSessionHealthOutput) String() string

String returns the string representation.

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

type SendCisSessionTelemetryInput

type SendCisSessionTelemetryInput struct {

    // The CIS session telemetry messages.
    //
    // Messages is a required field
    Messages []*CisSessionMessage `locationName:"messages" min:"1" type:"list" required:"true"`

    // A unique identifier for the scan job.
    //
    // ScanJobId is a required field
    ScanJobId *string `locationName:"scanJobId" type:"string" required:"true"`

    // The unique token that identifies the CIS session.
    //
    // SessionToken is a required field
    SessionToken *string `locationName:"sessionToken" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (SendCisSessionTelemetryInput) GoString

func (s SendCisSessionTelemetryInput) GoString() string

GoString returns the string representation.

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

func (*SendCisSessionTelemetryInput) SetMessages

func (s *SendCisSessionTelemetryInput) SetMessages(v []*CisSessionMessage) *SendCisSessionTelemetryInput

SetMessages sets the Messages field's value.

func (*SendCisSessionTelemetryInput) SetScanJobId

func (s *SendCisSessionTelemetryInput) SetScanJobId(v string) *SendCisSessionTelemetryInput

SetScanJobId sets the ScanJobId field's value.

func (*SendCisSessionTelemetryInput) SetSessionToken

func (s *SendCisSessionTelemetryInput) SetSessionToken(v string) *SendCisSessionTelemetryInput

SetSessionToken sets the SessionToken field's value.

func (SendCisSessionTelemetryInput) String

func (s SendCisSessionTelemetryInput) String() string

String returns the string representation.

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

func (*SendCisSessionTelemetryInput) Validate

func (s *SendCisSessionTelemetryInput) Validate() error

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

type SendCisSessionTelemetryOutput

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

func (SendCisSessionTelemetryOutput) GoString

func (s SendCisSessionTelemetryOutput) GoString() string

GoString returns the string representation.

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

func (SendCisSessionTelemetryOutput) String

func (s SendCisSessionTelemetryOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the 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 StartCisSessionInput

type StartCisSessionInput struct {

    // The start CIS session message.
    //
    // Message is a required field
    Message *StartCisSessionMessage `locationName:"message" type:"structure" required:"true"`

    // A unique identifier for the scan job.
    //
    // ScanJobId is a required field
    ScanJobId *string `locationName:"scanJobId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (StartCisSessionInput) GoString

func (s StartCisSessionInput) GoString() string

GoString returns the string representation.

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

func (*StartCisSessionInput) SetMessage

func (s *StartCisSessionInput) SetMessage(v *StartCisSessionMessage) *StartCisSessionInput

SetMessage sets the Message field's value.

func (*StartCisSessionInput) SetScanJobId

func (s *StartCisSessionInput) SetScanJobId(v string) *StartCisSessionInput

SetScanJobId sets the ScanJobId field's value.

func (StartCisSessionInput) String

func (s StartCisSessionInput) String() string

String returns the string representation.

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

func (*StartCisSessionInput) Validate

func (s *StartCisSessionInput) Validate() error

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

type StartCisSessionMessage

type StartCisSessionMessage struct {

    // The unique token that identifies the CIS session.
    //
    // SessionToken is a required field
    SessionToken *string `locationName:"sessionToken" type:"string" required:"true"`
    // contains filtered or unexported fields
}

The start CIS session message.

func (StartCisSessionMessage) GoString

func (s StartCisSessionMessage) GoString() string

GoString returns the string representation.

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

func (*StartCisSessionMessage) SetSessionToken

func (s *StartCisSessionMessage) SetSessionToken(v string) *StartCisSessionMessage

SetSessionToken sets the SessionToken field's value.

func (StartCisSessionMessage) String

func (s StartCisSessionMessage) String() string

String returns the string representation.

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

func (*StartCisSessionMessage) Validate

func (s *StartCisSessionMessage) Validate() error

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

type StartCisSessionOutput

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

func (StartCisSessionOutput) GoString

func (s StartCisSessionOutput) GoString() string

GoString returns the string representation.

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

func (StartCisSessionOutput) String

func (s StartCisSessionOutput) String() string

String returns the string representation.

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

type State

type State struct {

    // The error code explaining why the account failed to enable Amazon Inspector.
    //
    // ErrorCode is a required field
    ErrorCode *string `locationName:"errorCode" type:"string" required:"true" enum:"ErrorCode"`

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

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

An object that described the state of Amazon Inspector scans for an account.

func (State) GoString

func (s State) GoString() string

GoString returns the string representation.

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

func (*State) SetErrorCode

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

SetErrorCode sets the ErrorCode field's value.

func (*State) SetErrorMessage

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

SetErrorMessage sets the ErrorMessage field's value.

func (*State) SetStatus

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

SetStatus sets the Status field's value.

func (State) String

func (s State) String() string

String returns the string representation.

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

type StatusCounts

type StatusCounts struct {

    // The number of checks that failed.
    Failed *int64 `locationName:"failed" type:"integer"`

    // The number of checks that passed.
    Passed *int64 `locationName:"passed" type:"integer"`

    // The number of checks that were skipped.
    Skipped *int64 `locationName:"skipped" type:"integer"`
    // contains filtered or unexported fields
}

The status counts.

func (StatusCounts) GoString

func (s StatusCounts) GoString() string

GoString returns the string representation.

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

func (*StatusCounts) SetFailed

func (s *StatusCounts) SetFailed(v int64) *StatusCounts

SetFailed sets the Failed field's value.

func (*StatusCounts) SetPassed

func (s *StatusCounts) SetPassed(v int64) *StatusCounts

SetPassed sets the Passed field's value.

func (*StatusCounts) SetSkipped

func (s *StatusCounts) SetSkipped(v int64) *StatusCounts

SetSkipped sets the Skipped field's value.

func (StatusCounts) String

func (s StatusCounts) String() string

String returns the string representation.

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

type Step

type Step struct {

    // The component ID.
    //
    // ComponentId is a required field
    ComponentId *string `locationName:"componentId" type:"string" required:"true"`

    // The component type.
    //
    // ComponentType is a required field
    ComponentType *string `locationName:"componentType" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Details about the step associated with a finding.

func (Step) GoString

func (s Step) GoString() string

GoString returns the string representation.

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

func (*Step) SetComponentId

func (s *Step) SetComponentId(v string) *Step

SetComponentId sets the ComponentId field's value.

func (*Step) SetComponentType

func (s *Step) SetComponentType(v string) *Step

SetComponentType sets the ComponentType field's value.

func (Step) String

func (s Step) String() string

String returns the string representation.

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

type StopCisMessageProgress

type StopCisMessageProgress struct {

    // The progress' error checks.
    ErrorChecks *int64 `locationName:"errorChecks" type:"integer"`

    // The progress' failed checks.
    FailedChecks *int64 `locationName:"failedChecks" type:"integer"`

    // The progress' informational checks.
    InformationalChecks *int64 `locationName:"informationalChecks" type:"integer"`

    // The progress' not applicable checks.
    NotApplicableChecks *int64 `locationName:"notApplicableChecks" type:"integer"`

    // The progress' not evaluated checks.
    NotEvaluatedChecks *int64 `locationName:"notEvaluatedChecks" type:"integer"`

    // The progress' successful checks.
    SuccessfulChecks *int64 `locationName:"successfulChecks" type:"integer"`

    // The progress' total checks.
    TotalChecks *int64 `locationName:"totalChecks" type:"integer"`

    // The progress' unknown checks.
    UnknownChecks *int64 `locationName:"unknownChecks" type:"integer"`
    // contains filtered or unexported fields
}

The stop CIS message progress.

func (StopCisMessageProgress) GoString

func (s StopCisMessageProgress) GoString() string

GoString returns the string representation.

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

func (*StopCisMessageProgress) SetErrorChecks

func (s *StopCisMessageProgress) SetErrorChecks(v int64) *StopCisMessageProgress

SetErrorChecks sets the ErrorChecks field's value.

func (*StopCisMessageProgress) SetFailedChecks

func (s *StopCisMessageProgress) SetFailedChecks(v int64) *StopCisMessageProgress

SetFailedChecks sets the FailedChecks field's value.

func (*StopCisMessageProgress) SetInformationalChecks

func (s *StopCisMessageProgress) SetInformationalChecks(v int64) *StopCisMessageProgress

SetInformationalChecks sets the InformationalChecks field's value.

func (*StopCisMessageProgress) SetNotApplicableChecks

func (s *StopCisMessageProgress) SetNotApplicableChecks(v int64) *StopCisMessageProgress

SetNotApplicableChecks sets the NotApplicableChecks field's value.

func (*StopCisMessageProgress) SetNotEvaluatedChecks

func (s *StopCisMessageProgress) SetNotEvaluatedChecks(v int64) *StopCisMessageProgress

SetNotEvaluatedChecks sets the NotEvaluatedChecks field's value.

func (*StopCisMessageProgress) SetSuccessfulChecks

func (s *StopCisMessageProgress) SetSuccessfulChecks(v int64) *StopCisMessageProgress

SetSuccessfulChecks sets the SuccessfulChecks field's value.

func (*StopCisMessageProgress) SetTotalChecks

func (s *StopCisMessageProgress) SetTotalChecks(v int64) *StopCisMessageProgress

SetTotalChecks sets the TotalChecks field's value.

func (*StopCisMessageProgress) SetUnknownChecks

func (s *StopCisMessageProgress) SetUnknownChecks(v int64) *StopCisMessageProgress

SetUnknownChecks sets the UnknownChecks field's value.

func (StopCisMessageProgress) String

func (s StopCisMessageProgress) String() string

String returns the string representation.

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

type StopCisSessionInput

type StopCisSessionInput struct {

    // The stop CIS session message.
    //
    // Message is a required field
    Message *StopCisSessionMessage `locationName:"message" type:"structure" required:"true"`

    // A unique identifier for the scan job.
    //
    // ScanJobId is a required field
    ScanJobId *string `locationName:"scanJobId" type:"string" required:"true"`

    // The unique token that identifies the CIS session.
    //
    // SessionToken is a required field
    SessionToken *string `locationName:"sessionToken" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (StopCisSessionInput) GoString

func (s StopCisSessionInput) GoString() string

GoString returns the string representation.

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

func (*StopCisSessionInput) SetMessage

func (s *StopCisSessionInput) SetMessage(v *StopCisSessionMessage) *StopCisSessionInput

SetMessage sets the Message field's value.

func (*StopCisSessionInput) SetScanJobId

func (s *StopCisSessionInput) SetScanJobId(v string) *StopCisSessionInput

SetScanJobId sets the ScanJobId field's value.

func (*StopCisSessionInput) SetSessionToken

func (s *StopCisSessionInput) SetSessionToken(v string) *StopCisSessionInput

SetSessionToken sets the SessionToken field's value.

func (StopCisSessionInput) String

func (s StopCisSessionInput) String() string

String returns the string representation.

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

func (*StopCisSessionInput) Validate

func (s *StopCisSessionInput) Validate() error

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

type StopCisSessionMessage

type StopCisSessionMessage struct {

    // The message benchmark profile.
    BenchmarkProfile *string `locationName:"benchmarkProfile" type:"string"`

    // The message benchmark version.
    BenchmarkVersion *string `locationName:"benchmarkVersion" type:"string"`

    // The message compute platform.
    ComputePlatform *ComputePlatform `locationName:"computePlatform" type:"structure"`

    // The progress of the message.
    //
    // Progress is a required field
    Progress *StopCisMessageProgress `locationName:"progress" type:"structure" required:"true"`

    // The reason for the message.
    Reason *string `locationName:"reason" type:"string"`

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

The stop CIS session message.

func (StopCisSessionMessage) GoString

func (s StopCisSessionMessage) GoString() string

GoString returns the string representation.

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

func (*StopCisSessionMessage) SetBenchmarkProfile

func (s *StopCisSessionMessage) SetBenchmarkProfile(v string) *StopCisSessionMessage

SetBenchmarkProfile sets the BenchmarkProfile field's value.

func (*StopCisSessionMessage) SetBenchmarkVersion

func (s *StopCisSessionMessage) SetBenchmarkVersion(v string) *StopCisSessionMessage

SetBenchmarkVersion sets the BenchmarkVersion field's value.

func (*StopCisSessionMessage) SetComputePlatform

func (s *StopCisSessionMessage) SetComputePlatform(v *ComputePlatform) *StopCisSessionMessage

SetComputePlatform sets the ComputePlatform field's value.

func (*StopCisSessionMessage) SetProgress

func (s *StopCisSessionMessage) SetProgress(v *StopCisMessageProgress) *StopCisSessionMessage

SetProgress sets the Progress field's value.

func (*StopCisSessionMessage) SetReason

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

SetReason sets the Reason field's value.

func (*StopCisSessionMessage) SetStatus

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

SetStatus sets the Status field's value.

func (StopCisSessionMessage) String

func (s StopCisSessionMessage) String() string

String returns the string representation.

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

func (*StopCisSessionMessage) Validate

func (s *StopCisSessionMessage) Validate() error

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

type StopCisSessionOutput

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

func (StopCisSessionOutput) GoString

func (s StopCisSessionOutput) GoString() string

GoString returns the string representation.

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

func (StopCisSessionOutput) String

func (s StopCisSessionOutput) String() string

String returns the string representation.

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

type StringFilter

type StringFilter struct {

    // The operator to use when comparing values in the filter.
    //
    // Comparison is a required field
    Comparison *string `locationName:"comparison" type:"string" required:"true" enum:"StringComparison"`

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

An object that describes the details of a string filter.

func (StringFilter) GoString

func (s StringFilter) GoString() string

GoString returns the string representation.

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

func (*StringFilter) SetComparison

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

SetComparison sets the Comparison field's value.

func (*StringFilter) SetValue

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

SetValue sets the Value field's value.

func (StringFilter) String

func (s StringFilter) String() string

String returns the string representation.

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

func (*StringFilter) Validate

func (s *StringFilter) Validate() error

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

type SuggestedFix

type SuggestedFix struct {

    // The fix's code.
    Code *string `locationName:"code" min:"1" type:"string"`

    // The fix's description.
    Description *string `locationName:"description" min:"1" type:"string"`
    // contains filtered or unexported fields
}

A suggested fix for a vulnerability in your Lambda function code.

func (SuggestedFix) GoString

func (s SuggestedFix) GoString() string

GoString returns the string representation.

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

func (*SuggestedFix) SetCode

func (s *SuggestedFix) SetCode(v string) *SuggestedFix

SetCode sets the Code field's value.

func (*SuggestedFix) SetDescription

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

SetDescription sets the Description field's value.

func (SuggestedFix) String

func (s SuggestedFix) String() string

String returns the string representation.

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

type TagFilter

type TagFilter struct {

    // The tag filter comparison value.
    //
    // Comparison is a required field
    Comparison *string `locationName:"comparison" type:"string" required:"true" enum:"TagComparison"`

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

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

The tag filter.

func (TagFilter) GoString

func (s TagFilter) GoString() string

GoString returns the string representation.

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

func (*TagFilter) SetComparison

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

SetComparison sets the Comparison field's value.

func (*TagFilter) SetKey

func (s *TagFilter) SetKey(v string) *TagFilter

SetKey sets the Key field's value.

func (*TagFilter) SetValue

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

SetValue sets the Value field's value.

func (TagFilter) String

func (s TagFilter) String() string

String returns the string representation.

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

func (*TagFilter) Validate

func (s *TagFilter) 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 Time

type Time struct {

    // The time of day in 24-hour format (00:00).
    //
    // TimeOfDay is a required field
    TimeOfDay *string `locationName:"timeOfDay" type:"string" required:"true"`

    // The timezone.
    //
    // Timezone is a required field
    Timezone *string `locationName:"timezone" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

The time.

func (Time) GoString

func (s Time) GoString() string

GoString returns the string representation.

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

func (*Time) SetTimeOfDay

func (s *Time) SetTimeOfDay(v string) *Time

SetTimeOfDay sets the TimeOfDay field's value.

func (*Time) SetTimezone

func (s *Time) SetTimezone(v string) *Time

SetTimezone sets the Timezone field's value.

func (Time) String

func (s Time) String() string

String returns the string representation.

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

func (*Time) Validate

func (s *Time) Validate() error

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

type TitleAggregation

type TitleAggregation struct {

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

    // The resource type to aggregate on.
    ResourceType *string `locationName:"resourceType" type:"string" enum:"AggregationResourceType"`

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

    // The order to sort results by.
    SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrder"`

    // The finding titles to aggregate on.
    Titles []*StringFilter `locationName:"titles" min:"1" type:"list"`

    // The vulnerability IDs of the findings.
    VulnerabilityIds []*StringFilter `locationName:"vulnerabilityIds" min:"1" type:"list"`
    // contains filtered or unexported fields
}

The details that define an aggregation based on finding title.

func (TitleAggregation) GoString

func (s TitleAggregation) GoString() string

GoString returns the string representation.

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

func (*TitleAggregation) SetFindingType

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

SetFindingType sets the FindingType field's value.

func (*TitleAggregation) SetResourceType

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

SetResourceType sets the ResourceType field's value.

func (*TitleAggregation) SetSortBy

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

SetSortBy sets the SortBy field's value.

func (*TitleAggregation) SetSortOrder

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

SetSortOrder sets the SortOrder field's value.

func (*TitleAggregation) SetTitles

func (s *TitleAggregation) SetTitles(v []*StringFilter) *TitleAggregation

SetTitles sets the Titles field's value.

func (*TitleAggregation) SetVulnerabilityIds

func (s *TitleAggregation) SetVulnerabilityIds(v []*StringFilter) *TitleAggregation

SetVulnerabilityIds sets the VulnerabilityIds field's value.

func (TitleAggregation) String

func (s TitleAggregation) String() string

String returns the string representation.

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

func (*TitleAggregation) Validate

func (s *TitleAggregation) Validate() error

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

type TitleAggregationResponse

type TitleAggregationResponse struct {

    // The ID of the Amazon Web Services account associated with the findings.
    AccountId *string `locationName:"accountId" min:"12" type:"string"`

    // An object that represent the count of matched findings per severity.
    SeverityCounts *SeverityCounts `locationName:"severityCounts" type:"structure"`

    // The title that the findings were aggregated on.
    //
    // Title is a required field
    Title *string `locationName:"title" min:"1" type:"string" required:"true"`

    // The vulnerability ID of the finding.
    VulnerabilityId *string `locationName:"vulnerabilityId" type:"string"`
    // contains filtered or unexported fields
}

A response that contains details on the results of a finding aggregation by title.

func (TitleAggregationResponse) GoString

func (s TitleAggregationResponse) GoString() string

GoString returns the string representation.

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

func (*TitleAggregationResponse) SetAccountId

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 UpdateCisScanConfigurationInput

type UpdateCisScanConfigurationInput struct {

    // The CIS scan configuration ARN.
    //
    // ScanConfigurationArn is a required field
    ScanConfigurationArn *string `locationName:"scanConfigurationArn" type:"string" required:"true"`

    // The scan name for the CIS scan configuration.
    ScanName *string `locationName:"scanName" min:"1" type:"string"`

    // The schedule for the CIS scan configuration.
    Schedule *Schedule `locationName:"schedule" type:"structure"`

    // The security level for the CIS scan configuration. Security level refers
    // to the Benchmark levels that CIS assigns to a profile.
    SecurityLevel *string `locationName:"securityLevel" type:"string" enum:"CisSecurityLevel"`

    // The targets for the CIS scan configuration.
    Targets *UpdateCisTargets `locationName:"targets" type:"structure"`
    // contains filtered or unexported fields
}

func (UpdateCisScanConfigurationInput) GoString

func (s UpdateCisScanConfigurationInput) GoString() string

GoString returns the string representation.

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

func (*UpdateCisScanConfigurationInput) SetScanConfigurationArn

func (s *UpdateCisScanConfigurationInput) SetScanConfigurationArn(v string) *UpdateCisScanConfigurationInput

SetScanConfigurationArn sets the ScanConfigurationArn field's value.

func (*UpdateCisScanConfigurationInput) SetScanName

func (s *UpdateCisScanConfigurationInput) SetScanName(v string) *UpdateCisScanConfigurationInput

SetScanName sets the ScanName field's value.

func (*UpdateCisScanConfigurationInput) SetSchedule

func (s *UpdateCisScanConfigurationInput) SetSchedule(v *Schedule) *UpdateCisScanConfigurationInput

SetSchedule sets the Schedule field's value.

func (*UpdateCisScanConfigurationInput) SetSecurityLevel

func (s *UpdateCisScanConfigurationInput) SetSecurityLevel(v string) *UpdateCisScanConfigurationInput

SetSecurityLevel sets the SecurityLevel field's value.

func (*UpdateCisScanConfigurationInput) SetTargets

func (s *UpdateCisScanConfigurationInput) SetTargets(v *UpdateCisTargets) *UpdateCisScanConfigurationInput

SetTargets sets the Targets field's value.

func (UpdateCisScanConfigurationInput) String

func (s UpdateCisScanConfigurationInput) String() string

String returns the string representation.

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

func (*UpdateCisScanConfigurationInput) Validate

func (s *UpdateCisScanConfigurationInput) Validate() error

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

type UpdateCisScanConfigurationOutput

type UpdateCisScanConfigurationOutput struct {

    // The CIS scan configuration ARN.
    //
    // ScanConfigurationArn is a required field
    ScanConfigurationArn *string `locationName:"scanConfigurationArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (UpdateCisScanConfigurationOutput) GoString

func (s UpdateCisScanConfigurationOutput) GoString() string

GoString returns the string representation.

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

func (*UpdateCisScanConfigurationOutput) SetScanConfigurationArn

func (s *UpdateCisScanConfigurationOutput) SetScanConfigurationArn(v string) *UpdateCisScanConfigurationOutput

SetScanConfigurationArn sets the ScanConfigurationArn field's value.

func (UpdateCisScanConfigurationOutput) String

func (s UpdateCisScanConfigurationOutput) String() string

String returns the string representation.

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

type UpdateCisTargets

type UpdateCisTargets struct {

    // The target account ids.
    AccountIds []*string `locationName:"accountIds" min:"1" type:"list"`

    // The target resource tags.
    TargetResourceTags map[string][]*string `locationName:"targetResourceTags" min:"1" type:"map"`
    // contains filtered or unexported fields
}

Updates CIS targets.

func (UpdateCisTargets) GoString

func (s UpdateCisTargets) GoString() string

GoString returns the string representation.

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

func (*UpdateCisTargets) SetAccountIds

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

SetAccountIds sets the AccountIds field's value.

func (*UpdateCisTargets) SetTargetResourceTags

func (s *UpdateCisTargets) SetTargetResourceTags(v map[string][]*string) *UpdateCisTargets

SetTargetResourceTags sets the TargetResourceTags field's value.

func (UpdateCisTargets) String

func (s UpdateCisTargets) String() string

String returns the string representation.

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

func (*UpdateCisTargets) Validate

func (s *UpdateCisTargets) Validate() error

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

type UpdateConfigurationInput

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

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

func (s *UpdateConfigurationInput) SetEcrConfiguration(v *EcrConfiguration) *UpdateConfigurationInput

SetEcrConfiguration sets the EcrConfiguration field's value.

func (UpdateConfigurationInput) String

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

func (s *UpdateConfigurationInput) Validate() error

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

type UpdateConfigurationOutput

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

func (UpdateConfigurationOutput) GoString

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

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

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

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

func (s *UpdateEc2DeepInspectionConfigurationInput) SetActivateDeepInspection(v bool) *UpdateEc2DeepInspectionConfigurationInput

SetActivateDeepInspection sets the ActivateDeepInspection field's value.

func (*UpdateEc2DeepInspectionConfigurationInput) SetPackagePaths

func (s *UpdateEc2DeepInspectionConfigurationInput) SetPackagePaths(v []*string) *UpdateEc2DeepInspectionConfigurationInput

SetPackagePaths sets the PackagePaths field's value.

func (UpdateEc2DeepInspectionConfigurationInput) String

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

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

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

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

SetErrorMessage sets the ErrorMessage field's value.

func (*UpdateEc2DeepInspectionConfigurationOutput) SetOrgPackagePaths

func (s *UpdateEc2DeepInspectionConfigurationOutput) SetOrgPackagePaths(v []*string) *UpdateEc2DeepInspectionConfigurationOutput

SetOrgPackagePaths sets the OrgPackagePaths field's value.

func (*UpdateEc2DeepInspectionConfigurationOutput) SetPackagePaths

func (s *UpdateEc2DeepInspectionConfigurationOutput) SetPackagePaths(v []*string) *UpdateEc2DeepInspectionConfigurationOutput

SetPackagePaths sets the PackagePaths field's value.

func (*UpdateEc2DeepInspectionConfigurationOutput) SetStatus

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

SetStatus sets the Status field's value.

func (UpdateEc2DeepInspectionConfigurationOutput) String

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 UpdateEncryptionKeyInput

type UpdateEncryptionKeyInput struct {

    // A KMS key ID for the encryption key.
    //
    // KmsKeyId is a required field
    KmsKeyId *string `locationName:"kmsKeyId" type:"string" required:"true"`

    // The resource type for the encryption key.
    //
    // ResourceType is a required field
    ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"`

    // The scan type for the encryption key.
    //
    // ScanType is a required field
    ScanType *string `locationName:"scanType" type:"string" required:"true" enum:"ScanType"`
    // contains filtered or unexported fields
}

func (UpdateEncryptionKeyInput) GoString

func (s UpdateEncryptionKeyInput) GoString() string

GoString returns the string representation.

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

func (*UpdateEncryptionKeyInput) SetKmsKeyId

func (s *UpdateEncryptionKeyInput) SetKmsKeyId(v string) *UpdateEncryptionKeyInput

SetKmsKeyId sets the KmsKeyId field's value.

func (*UpdateEncryptionKeyInput) SetResourceType

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

SetResourceType sets the ResourceType field's value.

func (*UpdateEncryptionKeyInput) SetScanType

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

SetScanType sets the ScanType field's value.

func (UpdateEncryptionKeyInput) String

func (s UpdateEncryptionKeyInput) String() string

String returns the string representation.

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

func (*UpdateEncryptionKeyInput) Validate

func (s *UpdateEncryptionKeyInput) Validate() error

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

type UpdateEncryptionKeyOutput

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

func (UpdateEncryptionKeyOutput) GoString

func (s UpdateEncryptionKeyOutput) GoString() string

GoString returns the string representation.

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

func (UpdateEncryptionKeyOutput) String

func (s UpdateEncryptionKeyOutput) String() string

String returns the string representation.

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

type UpdateFilterInput

type UpdateFilterInput struct {

    // Specifies the action that is to be applied to the findings that match the
    // filter.
    Action *string `locationName:"action" type:"string" enum:"FilterAction"`

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

    // The Amazon Resource Number (ARN) of the filter to update.
    //
    // FilterArn is a required field
    FilterArn *string `locationName:"filterArn" min:"1" type:"string" required:"true"`

    // Defines the criteria to be update in the filter.
    FilterCriteria *FilterCriteria `locationName:"filterCriteria" type:"structure"`

    // The name of the filter.
    Name *string `locationName:"name" min:"1" type:"string"`

    // The reason the filter was updated.
    Reason *string `locationName:"reason" min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (UpdateFilterInput) GoString

func (s UpdateFilterInput) GoString() string

GoString returns the string representation.

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

func (*UpdateFilterInput) SetAction

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

SetAction sets the Action field's value.

func (*UpdateFilterInput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateFilterInput) SetFilterArn

func (s *UpdateFilterInput) SetFilterArn(v string) *UpdateFilterInput

SetFilterArn sets the FilterArn field's value.

func (*UpdateFilterInput) SetFilterCriteria

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

SetFilterCriteria sets the FilterCriteria field's value.

func (*UpdateFilterInput) SetName

func (s *UpdateFilterInput) SetName(v string) *UpdateFilterInput

SetName sets the Name field's value.

func (*UpdateFilterInput) SetReason

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

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

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

func (s *UpdateOrgEc2DeepInspectionConfigurationInput) SetOrgPackagePaths(v []*string) *UpdateOrgEc2DeepInspectionConfigurationInput

SetOrgPackagePaths sets the OrgPackagePaths field's value.

func (UpdateOrgEc2DeepInspectionConfigurationInput) String

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

func (s *UpdateOrgEc2DeepInspectionConfigurationInput) Validate() error

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

type UpdateOrgEc2DeepInspectionConfigurationOutput

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

func (UpdateOrgEc2DeepInspectionConfigurationOutput) GoString

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

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

func (s Usage) GoString() string

GoString returns the string representation.

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

func (*Usage) SetCurrency

func (s *Usage) SetCurrency(v string) *Usage

SetCurrency sets the Currency field's value.

func (*Usage) SetEstimatedMonthlyCost

func (s *Usage) SetEstimatedMonthlyCost(v float64) *Usage

SetEstimatedMonthlyCost sets the EstimatedMonthlyCost field's value.

func (*Usage) SetTotal

func (s *Usage) SetTotal(v float64) *Usage

SetTotal sets the Total field's value.

func (*Usage) SetType

func (s *Usage) SetType(v string) *Usage

SetType sets the Type field's value.

func (Usage) String

func (s Usage) String() string

String returns the string representation.

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

type UsageTotal

type UsageTotal struct {

    // The account ID of the account that usage data was retrieved for.
    AccountId *string `locationName:"accountId" type:"string"`

    // An object representing the total usage for an account.
    Usage []*Usage `locationName:"usage" type:"list"`
    // contains filtered or unexported fields
}

The total of usage for an account ID.

func (UsageTotal) GoString

func (s UsageTotal) GoString() string

GoString returns the string representation.

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

func (*UsageTotal) SetAccountId

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

SetAccountId sets the AccountId field's value.

func (*UsageTotal) SetUsage

func (s *UsageTotal) SetUsage(v []*Usage) *UsageTotal

SetUsage sets the Usage field's value.

func (UsageTotal) String

func (s UsageTotal) String() string

String returns the string representation.

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

type ValidationException

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

    // The fields that failed validation.
    Fields []*ValidationExceptionField `locationName:"fields" type:"list"`

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

    // The reason for the validation failure.
    //
    // Reason is a required field
    Reason *string `locationName:"reason" type:"string" required:"true" enum:"ValidationExceptionReason"`
    // contains filtered or unexported fields
}

The request has failed validation due to missing required fields or having invalid inputs.

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation.

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

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

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

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation.

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

type ValidationExceptionField

type ValidationExceptionField struct {

    // The validation exception message.
    //
    // Message is a required field
    Message *string `locationName:"message" type:"string" required:"true"`

    // The name of the validation exception.
    //
    // Name is a required field
    Name *string `locationName:"name" type:"string" required:"true"`
    // contains filtered or unexported fields
}

An object that describes a validation exception.

func (ValidationExceptionField) GoString

func (s ValidationExceptionField) GoString() string

GoString returns the string representation.

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

func (*ValidationExceptionField) SetMessage

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 Vulnerability

type Vulnerability struct {

    // An object that contains information about the Amazon Web Services Threat
    // Intel Group (ATIG) details for the vulnerability.
    AtigData *AtigData `locationName:"atigData" type:"structure"`

    // An object that contains the Cybersecurity and Infrastructure Security Agency
    // (CISA) details for the vulnerability.
    CisaData *CisaData `locationName:"cisaData" type:"structure"`

    // An object that contains the Common Vulnerability Scoring System (CVSS) Version
    // 2 details for the vulnerability.
    Cvss2 *Cvss2 `locationName:"cvss2" type:"structure"`

    // An object that contains the Common Vulnerability Scoring System (CVSS) Version
    // 3 details for the vulnerability.
    Cvss3 *Cvss3 `locationName:"cvss3" type:"structure"`

    // The Common Weakness Enumeration (CWE) associated with the vulnerability.
    Cwes []*string `locationName:"cwes" type:"list"`

    // A description of the vulnerability.
    Description *string `locationName:"description" type:"string"`

    // Platforms that the vulnerability can be detected on.
    DetectionPlatforms []*string `locationName:"detectionPlatforms" type:"list"`

    // An object that contains the Exploit Prediction Scoring System (EPSS) score
    // for a vulnerability.
    Epss *Epss `locationName:"epss" type:"structure"`

    // An object that contains details on when the exploit was observed.
    ExploitObserved *ExploitObserved `locationName:"exploitObserved" type:"structure"`

    // The ID for the specific vulnerability.
    //
    // Id is a required field
    Id *string `locationName:"id" min:"1" type:"string" required:"true"`

    // Links to various resources with more information on this vulnerability.
    ReferenceUrls []*string `locationName:"referenceUrls" type:"list"`

    // A list of related vulnerabilities.
    RelatedVulnerabilities []*string `locationName:"relatedVulnerabilities" type:"list"`

    // The source of the vulnerability information. Possible results are RHEL, AMAZON_CVE,
    // DEBIAN or NVD.
    Source *string `locationName:"source" type:"string" enum:"VulnerabilitySource"`

    // A link to the official source material for this vulnerability.
    SourceUrl *string `locationName:"sourceUrl" type:"string"`

    // The date and time when the vendor created this vulnerability.
    VendorCreatedAt *time.Time `locationName:"vendorCreatedAt" type:"timestamp"`

    // The severity assigned by the vendor.
    VendorSeverity *string `locationName:"vendorSeverity" min:"1" type:"string"`

    // The date and time when the vendor last updated this vulnerability.
    VendorUpdatedAt *time.Time `locationName:"vendorUpdatedAt" type:"timestamp"`
    // contains filtered or unexported fields
}

Contains details about a specific vulnerability Amazon Inspector can detect.

func (Vulnerability) GoString

func (s Vulnerability) GoString() string

GoString returns the string representation.

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

func (*Vulnerability) SetAtigData

func (s *Vulnerability) SetAtigData(v *AtigData) *Vulnerability

SetAtigData sets the AtigData field's value.

func (*Vulnerability) SetCisaData

func (s *Vulnerability) SetCisaData(v *CisaData) *Vulnerability

SetCisaData sets the CisaData field's value.

func (*Vulnerability) SetCvss2

func (s *Vulnerability) SetCvss2(v *Cvss2) *Vulnerability

SetCvss2 sets the Cvss2 field's value.

func (*Vulnerability) SetCvss3

func (s *Vulnerability) SetCvss3(v *Cvss3) *Vulnerability

SetCvss3 sets the Cvss3 field's value.

func (*Vulnerability) SetCwes

func (s *Vulnerability) SetCwes(v []*string) *Vulnerability

SetCwes sets the Cwes field's value.

func (*Vulnerability) SetDescription

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

SetDescription sets the Description field's value.

func (*Vulnerability) SetDetectionPlatforms

func (s *Vulnerability) SetDetectionPlatforms(v []*string) *Vulnerability

SetDetectionPlatforms sets the DetectionPlatforms field's value.

func (*Vulnerability) SetEpss

func (s *Vulnerability) SetEpss(v *Epss) *Vulnerability

SetEpss sets the Epss field's value.

func (*Vulnerability) SetExploitObserved

func (s *Vulnerability) SetExploitObserved(v *ExploitObserved) *Vulnerability

SetExploitObserved sets the ExploitObserved field's value.

func (*Vulnerability) SetId

func (s *Vulnerability) SetId(v string) *Vulnerability

SetId sets the Id field's value.

func (*Vulnerability) SetReferenceUrls

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

SetReferenceUrls sets the ReferenceUrls field's value.

func (*Vulnerability) SetRelatedVulnerabilities

func (s *Vulnerability) SetRelatedVulnerabilities(v []*string) *Vulnerability

SetRelatedVulnerabilities sets the RelatedVulnerabilities field's value.

func (*Vulnerability) SetSource

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

SetSource sets the Source field's value.

func (*Vulnerability) SetSourceUrl

func (s *Vulnerability) SetSourceUrl(v string) *Vulnerability

SetSourceUrl sets the SourceUrl field's value.

func (*Vulnerability) SetVendorCreatedAt

func (s *Vulnerability) SetVendorCreatedAt(v time.Time) *Vulnerability

SetVendorCreatedAt sets the VendorCreatedAt field's value.

func (*Vulnerability) SetVendorSeverity

func (s *Vulnerability) SetVendorSeverity(v string) *Vulnerability

SetVendorSeverity sets the VendorSeverity field's value.

func (*Vulnerability) SetVendorUpdatedAt

func (s *Vulnerability) SetVendorUpdatedAt(v time.Time) *Vulnerability

SetVendorUpdatedAt sets the VendorUpdatedAt field's value.

func (Vulnerability) String

func (s Vulnerability) String() string

String returns the string representation.

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

type VulnerablePackage

type VulnerablePackage struct {

    // The architecture of the vulnerable package.
    Arch *string `locationName:"arch" min:"1" type:"string"`

    // The epoch of the vulnerable package.
    Epoch *int64 `locationName:"epoch" type:"integer"`

    // The file path of the vulnerable package.
    FilePath *string `locationName:"filePath" min:"1" type:"string"`

    // The version of the package that contains the vulnerability fix.
    FixedInVersion *string `locationName:"fixedInVersion" min:"1" type:"string"`

    // The name of the vulnerable package.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`

    // The package manager of the vulnerable package.
    PackageManager *string `locationName:"packageManager" type:"string" enum:"PackageManager"`

    // The release of the vulnerable package.
    Release *string `locationName:"release" min:"1" type:"string"`

    // The code to run in your environment to update packages with a fix available.
    Remediation *string `locationName:"remediation" min:"1" type:"string"`

    // The Amazon Resource Number (ARN) of the Amazon Web Services 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

func (s *VulnerablePackage) SetRemediation(v string) *VulnerablePackage

SetRemediation sets the Remediation field's value.

func (*VulnerablePackage) SetSourceLambdaLayerArn

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

type WeeklySchedule

type WeeklySchedule struct {

    // The weekly schedule's days.
    //
    // Days is a required field
    Days []*string `locationName:"days" min:"1" type:"list" required:"true" enum:"Day"`

    // The weekly schedule's start time.
    //
    // StartTime is a required field
    StartTime *Time `locationName:"startTime" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

A weekly schedule.

func (WeeklySchedule) GoString

func (s WeeklySchedule) GoString() string

GoString returns the string representation.

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

func (*WeeklySchedule) SetDays

func (s *WeeklySchedule) SetDays(v []*string) *WeeklySchedule

SetDays sets the Days field's value.

func (*WeeklySchedule) SetStartTime

func (s *WeeklySchedule) SetStartTime(v *Time) *WeeklySchedule

SetStartTime sets the StartTime field's value.

func (WeeklySchedule) String

func (s WeeklySchedule) String() string

String returns the string representation.

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

func (*WeeklySchedule) Validate

func (s *WeeklySchedule) Validate() error

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