func AccountSortBy_Values() []string
AccountSortBy_Values returns all elements of the AccountSortBy enum
func AggregationFindingType_Values() []string
AggregationFindingType_Values returns all elements of the AggregationFindingType enum
func AggregationResourceType_Values() []string
AggregationResourceType_Values returns all elements of the AggregationResourceType enum
func AggregationType_Values() []string
AggregationType_Values returns all elements of the AggregationType enum
func AmiSortBy_Values() []string
AmiSortBy_Values returns all elements of the AmiSortBy enum
func Architecture_Values() []string
Architecture_Values returns all elements of the Architecture enum
func AwsEcrContainerSortBy_Values() []string
AwsEcrContainerSortBy_Values returns all elements of the AwsEcrContainerSortBy enum
func CoverageMapComparison_Values() []string
CoverageMapComparison_Values returns all elements of the CoverageMapComparison enum
func CoverageResourceType_Values() []string
CoverageResourceType_Values returns all elements of the CoverageResourceType enum
func CoverageStringComparison_Values() []string
CoverageStringComparison_Values returns all elements of the CoverageStringComparison enum
func Currency_Values() []string
Currency_Values returns all elements of the Currency enum
func DelegatedAdminStatus_Values() []string
DelegatedAdminStatus_Values returns all elements of the DelegatedAdminStatus enum
func Ec2DeepInspectionStatus_Values() []string
Ec2DeepInspectionStatus_Values returns all elements of the Ec2DeepInspectionStatus enum
func Ec2InstanceSortBy_Values() []string
Ec2InstanceSortBy_Values returns all elements of the Ec2InstanceSortBy enum
func Ec2Platform_Values() []string
Ec2Platform_Values returns all elements of the Ec2Platform enum
func EcrRescanDurationStatus_Values() []string
EcrRescanDurationStatus_Values returns all elements of the EcrRescanDurationStatus enum
func EcrRescanDuration_Values() []string
EcrRescanDuration_Values returns all elements of the EcrRescanDuration enum
func EcrScanFrequency_Values() []string
EcrScanFrequency_Values returns all elements of the EcrScanFrequency enum
func ErrorCode_Values() []string
ErrorCode_Values returns all elements of the ErrorCode enum
func ExploitAvailable_Values() []string
ExploitAvailable_Values returns all elements of the ExploitAvailable enum
func ExternalReportStatus_Values() []string
ExternalReportStatus_Values returns all elements of the ExternalReportStatus enum
func FilterAction_Values() []string
FilterAction_Values returns all elements of the FilterAction enum
func FindingStatus_Values() []string
FindingStatus_Values returns all elements of the FindingStatus enum
func FindingTypeSortBy_Values() []string
FindingTypeSortBy_Values returns all elements of the FindingTypeSortBy enum
func FindingType_Values() []string
FindingType_Values returns all elements of the FindingType enum
func FixAvailable_Values() []string
FixAvailable_Values returns all elements of the FixAvailable enum
func FreeTrialInfoErrorCode_Values() []string
FreeTrialInfoErrorCode_Values returns all elements of the FreeTrialInfoErrorCode enum
func FreeTrialStatus_Values() []string
FreeTrialStatus_Values returns all elements of the FreeTrialStatus enum
func FreeTrialType_Values() []string
FreeTrialType_Values returns all elements of the FreeTrialType enum
func GroupKey_Values() []string
GroupKey_Values returns all elements of the GroupKey enum
func ImageLayerSortBy_Values() []string
ImageLayerSortBy_Values returns all elements of the ImageLayerSortBy enum
func LambdaFunctionSortBy_Values() []string
LambdaFunctionSortBy_Values returns all elements of the LambdaFunctionSortBy enum
func LambdaLayerSortBy_Values() []string
LambdaLayerSortBy_Values returns all elements of the LambdaLayerSortBy enum
func MapComparison_Values() []string
MapComparison_Values returns all elements of the MapComparison enum
func NetworkProtocol_Values() []string
NetworkProtocol_Values returns all elements of the NetworkProtocol enum
func Operation_Values() []string
Operation_Values returns all elements of the Operation enum
func PackageManager_Values() []string
PackageManager_Values returns all elements of the PackageManager enum
func PackageSortBy_Values() []string
PackageSortBy_Values returns all elements of the PackageSortBy enum
func PackageType_Values() []string
PackageType_Values returns all elements of the PackageType enum
func RelationshipStatus_Values() []string
RelationshipStatus_Values returns all elements of the RelationshipStatus enum
func ReportFormat_Values() []string
ReportFormat_Values returns all elements of the ReportFormat enum
func ReportingErrorCode_Values() []string
ReportingErrorCode_Values returns all elements of the ReportingErrorCode enum
func RepositorySortBy_Values() []string
RepositorySortBy_Values returns all elements of the RepositorySortBy enum
func ResourceScanType_Values() []string
ResourceScanType_Values returns all elements of the ResourceScanType enum
func ResourceType_Values() []string
ResourceType_Values returns all elements of the ResourceType enum
func Runtime_Values() []string
Runtime_Values returns all elements of the Runtime enum
func ScanStatusCode_Values() []string
ScanStatusCode_Values returns all elements of the ScanStatusCode enum
func ScanStatusReason_Values() []string
ScanStatusReason_Values returns all elements of the ScanStatusReason enum
func ScanType_Values() []string
ScanType_Values returns all elements of the ScanType enum
func Service_Values() []string
Service_Values returns all elements of the Service enum
func Severity_Values() []string
Severity_Values returns all elements of the Severity enum
func SortField_Values() []string
SortField_Values returns all elements of the SortField enum
func SortOrder_Values() []string
SortOrder_Values returns all elements of the SortOrder enum
func Status_Values() []string
Status_Values returns all elements of the Status enum
func StringComparison_Values() []string
StringComparison_Values returns all elements of the StringComparison enum
func TitleSortBy_Values() []string
TitleSortBy_Values returns all elements of the TitleSortBy enum
func UsageType_Values() []string
UsageType_Values returns all elements of the UsageType enum
func ValidationExceptionReason_Values() []string
ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum
func VulnerabilitySource_Values() []string
VulnerabilitySource_Values returns all elements of the VulnerabilitySource enum
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 (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (s *AccessDeniedException) Error() string
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 (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (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 (s *Account) SetAccountId(v string) *Account
SetAccountId sets the AccountId field's value.
func (s *Account) SetResourceStatus(v *ResourceStatus) *Account
SetResourceStatus sets the ResourceStatus field's value.
func (s *Account) SetStatus(v string) *Account
SetStatus sets the Status field's value.
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 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 (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 (s *AccountAggregation) SetFindingType(v string) *AccountAggregation
SetFindingType sets the FindingType field's value.
func (s *AccountAggregation) SetResourceType(v string) *AccountAggregation
SetResourceType sets the ResourceType field's value.
func (s *AccountAggregation) SetSortBy(v string) *AccountAggregation
SetSortBy sets the SortBy field's value.
func (s *AccountAggregation) SetSortOrder(v string) *AccountAggregation
SetSortOrder sets the SortOrder field's value.
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 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 (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 (s *AccountAggregationResponse) SetAccountId(v string) *AccountAggregationResponse
SetAccountId sets the AccountId field's value.
func (s *AccountAggregationResponse) SetSeverityCounts(v *SeverityCounts) *AccountAggregationResponse
SetSeverityCounts sets the SeverityCounts field's value.
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 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 (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 (s *AccountState) SetAccountId(v string) *AccountState
SetAccountId sets the AccountId field's value.
func (s *AccountState) SetResourceState(v *ResourceState) *AccountState
SetResourceState sets the ResourceState field's value.
func (s *AccountState) SetState(v *State) *AccountState
SetState sets the State field's value.
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 struct { // An object that contains details about an aggregation request based on Amazon // Web Services account IDs. AccountAggregation *AccountAggregation `locationName:"accountAggregation" type:"structure"` // An object that contains details about an aggregation request based on Amazon // Machine Images (AMIs). AmiAggregation *AmiAggregation `locationName:"amiAggregation" type:"structure"` // An object that contains details about an aggregation request based on Amazon // ECR container images. AwsEcrContainerAggregation *AwsEcrContainerAggregation `locationName:"awsEcrContainerAggregation" type:"structure"` // An object that contains details about an aggregation request based on Amazon // EC2 instances. Ec2InstanceAggregation *Ec2InstanceAggregation `locationName:"ec2InstanceAggregation" type:"structure"` // An object that contains details about an aggregation request based on finding // types. FindingTypeAggregation *FindingTypeAggregation `locationName:"findingTypeAggregation" type:"structure"` // An object that contains details about an aggregation request based on container // image layers. ImageLayerAggregation *ImageLayerAggregation `locationName:"imageLayerAggregation" type:"structure"` // Returns an object with findings aggregated by AWS Lambda function. LambdaFunctionAggregation *LambdaFunctionAggregation `locationName:"lambdaFunctionAggregation" type:"structure"` // Returns an object with findings aggregated by AWS Lambda layer. LambdaLayerAggregation *LambdaLayerAggregation `locationName:"lambdaLayerAggregation" type:"structure"` // An object that contains details about an aggregation request based on operating // system package type. PackageAggregation *PackageAggregation `locationName:"packageAggregation" type:"structure"` // An object that contains details about an aggregation request based on Amazon // ECR repositories. RepositoryAggregation *RepositoryAggregation `locationName:"repositoryAggregation" type:"structure"` // An object that contains details about an aggregation request based on finding // title. TitleAggregation *TitleAggregation `locationName:"titleAggregation" type:"structure"` // contains filtered or unexported fields }
Contains details about an aggregation request.
func (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 (s *AggregationRequest) SetAccountAggregation(v *AccountAggregation) *AggregationRequest
SetAccountAggregation sets the AccountAggregation field's value.
func (s *AggregationRequest) SetAmiAggregation(v *AmiAggregation) *AggregationRequest
SetAmiAggregation sets the AmiAggregation field's value.
func (s *AggregationRequest) SetAwsEcrContainerAggregation(v *AwsEcrContainerAggregation) *AggregationRequest
SetAwsEcrContainerAggregation sets the AwsEcrContainerAggregation field's value.
func (s *AggregationRequest) SetEc2InstanceAggregation(v *Ec2InstanceAggregation) *AggregationRequest
SetEc2InstanceAggregation sets the Ec2InstanceAggregation field's value.
func (s *AggregationRequest) SetFindingTypeAggregation(v *FindingTypeAggregation) *AggregationRequest
SetFindingTypeAggregation sets the FindingTypeAggregation field's value.
func (s *AggregationRequest) SetImageLayerAggregation(v *ImageLayerAggregation) *AggregationRequest
SetImageLayerAggregation sets the ImageLayerAggregation field's value.
func (s *AggregationRequest) SetLambdaFunctionAggregation(v *LambdaFunctionAggregation) *AggregationRequest
SetLambdaFunctionAggregation sets the LambdaFunctionAggregation field's value.
func (s *AggregationRequest) SetLambdaLayerAggregation(v *LambdaLayerAggregation) *AggregationRequest
SetLambdaLayerAggregation sets the LambdaLayerAggregation field's value.
func (s *AggregationRequest) SetPackageAggregation(v *PackageAggregation) *AggregationRequest
SetPackageAggregation sets the PackageAggregation field's value.
func (s *AggregationRequest) SetRepositoryAggregation(v *RepositoryAggregation) *AggregationRequest
SetRepositoryAggregation sets the RepositoryAggregation field's value.
func (s *AggregationRequest) SetTitleAggregation(v *TitleAggregation) *AggregationRequest
SetTitleAggregation sets the TitleAggregation field's value.
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 (s *AggregationRequest) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AggregationResponse struct { // An object that contains details about an aggregation response based on Amazon // Web Services account IDs. AccountAggregation *AccountAggregationResponse `locationName:"accountAggregation" type:"structure"` // An object that contains details about an aggregation response based on Amazon // Machine Images (AMIs). AmiAggregation *AmiAggregationResponse `locationName:"amiAggregation" type:"structure"` // An object that contains details about an aggregation response based on Amazon // ECR container images. AwsEcrContainerAggregation *AwsEcrContainerAggregationResponse `locationName:"awsEcrContainerAggregation" type:"structure"` // An object that contains details about an aggregation response based on Amazon // EC2 instances. Ec2InstanceAggregation *Ec2InstanceAggregationResponse `locationName:"ec2InstanceAggregation" type:"structure"` // An object that contains details about an aggregation response based on finding // types. FindingTypeAggregation *FindingTypeAggregationResponse `locationName:"findingTypeAggregation" type:"structure"` // An object that contains details about an aggregation response based on container // image layers. ImageLayerAggregation *ImageLayerAggregationResponse `locationName:"imageLayerAggregation" type:"structure"` // An aggregation of findings by AWS Lambda function. LambdaFunctionAggregation *LambdaFunctionAggregationResponse `locationName:"lambdaFunctionAggregation" type:"structure"` // An aggregation of findings by AWS Lambda layer. LambdaLayerAggregation *LambdaLayerAggregationResponse `locationName:"lambdaLayerAggregation" type:"structure"` // An object that contains details about an aggregation response based on operating // system package type. PackageAggregation *PackageAggregationResponse `locationName:"packageAggregation" type:"structure"` // An object that contains details about an aggregation response based on Amazon // ECR repositories. RepositoryAggregation *RepositoryAggregationResponse `locationName:"repositoryAggregation" type:"structure"` // An object that contains details about an aggregation response based on finding // title. TitleAggregation *TitleAggregationResponse `locationName:"titleAggregation" type:"structure"` // contains filtered or unexported fields }
A structure that contains details about the results of an aggregation type.
func (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 (s *AggregationResponse) SetAccountAggregation(v *AccountAggregationResponse) *AggregationResponse
SetAccountAggregation sets the AccountAggregation field's value.
func (s *AggregationResponse) SetAmiAggregation(v *AmiAggregationResponse) *AggregationResponse
SetAmiAggregation sets the AmiAggregation field's value.
func (s *AggregationResponse) SetAwsEcrContainerAggregation(v *AwsEcrContainerAggregationResponse) *AggregationResponse
SetAwsEcrContainerAggregation sets the AwsEcrContainerAggregation field's value.
func (s *AggregationResponse) SetEc2InstanceAggregation(v *Ec2InstanceAggregationResponse) *AggregationResponse
SetEc2InstanceAggregation sets the Ec2InstanceAggregation field's value.
func (s *AggregationResponse) SetFindingTypeAggregation(v *FindingTypeAggregationResponse) *AggregationResponse
SetFindingTypeAggregation sets the FindingTypeAggregation field's value.
func (s *AggregationResponse) SetImageLayerAggregation(v *ImageLayerAggregationResponse) *AggregationResponse
SetImageLayerAggregation sets the ImageLayerAggregation field's value.
func (s *AggregationResponse) SetLambdaFunctionAggregation(v *LambdaFunctionAggregationResponse) *AggregationResponse
SetLambdaFunctionAggregation sets the LambdaFunctionAggregation field's value.
func (s *AggregationResponse) SetLambdaLayerAggregation(v *LambdaLayerAggregationResponse) *AggregationResponse
SetLambdaLayerAggregation sets the LambdaLayerAggregation field's value.
func (s *AggregationResponse) SetPackageAggregation(v *PackageAggregationResponse) *AggregationResponse
SetPackageAggregation sets the PackageAggregation field's value.
func (s *AggregationResponse) SetRepositoryAggregation(v *RepositoryAggregationResponse) *AggregationResponse
SetRepositoryAggregation sets the RepositoryAggregation field's value.
func (s *AggregationResponse) SetTitleAggregation(v *TitleAggregationResponse) *AggregationResponse
SetTitleAggregation sets the TitleAggregation field's value.
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 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 (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 (s *AmiAggregation) SetAmis(v []*StringFilter) *AmiAggregation
SetAmis sets the Amis field's value.
func (s *AmiAggregation) SetSortBy(v string) *AmiAggregation
SetSortBy sets the SortBy field's value.
func (s *AmiAggregation) SetSortOrder(v string) *AmiAggregation
SetSortOrder sets the SortOrder field's value.
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 (s *AmiAggregation) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *AmiAggregationResponse) SetAccountId(v string) *AmiAggregationResponse
SetAccountId sets the AccountId field's value.
func (s *AmiAggregationResponse) SetAffectedInstances(v int64) *AmiAggregationResponse
SetAffectedInstances sets the AffectedInstances field's value.
func (s *AmiAggregationResponse) SetAmi(v string) *AmiAggregationResponse
SetAmi sets the Ami field's value.
func (s *AmiAggregationResponse) SetSeverityCounts(v *SeverityCounts) *AmiAggregationResponse
SetSeverityCounts sets the SeverityCounts field's value.
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 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 (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 (s *AssociateMemberInput) SetAccountId(v string) *AssociateMemberInput
SetAccountId sets the AccountId field's value.
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 (s *AssociateMemberInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *AssociateMemberOutput) SetAccountId(v string) *AssociateMemberOutput
SetAccountId sets the AccountId field's value.
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 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 (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 (s *AtigData) SetFirstSeen(v time.Time) *AtigData
SetFirstSeen sets the FirstSeen field's value.
func (s *AtigData) SetLastSeen(v time.Time) *AtigData
SetLastSeen sets the LastSeen field's value.
func (s *AtigData) SetTargets(v []*string) *AtigData
SetTargets sets the Targets field's value.
func (s *AtigData) SetTtps(v []*string) *AtigData
SetTtps sets the Ttps field's value.
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 struct { // Represents whether Amazon EC2 scans are automatically enabled for new members // of your Amazon Inspector organization. // // Ec2 is a required field Ec2 *bool `locationName:"ec2" type:"boolean" required:"true"` // Represents whether Amazon ECR scans are automatically enabled for new members // of your Amazon Inspector organization. // // Ecr is a required field Ecr *bool `locationName:"ecr" type:"boolean" required:"true"` // Represents whether AWS Lambda standard scans are automatically enabled for // new members of your Amazon Inspector organization. Lambda *bool `locationName:"lambda" type:"boolean"` // contains filtered or unexported fields }
Represents which scan types are automatically enabled for new members of your Amazon Inspector organization.
func (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 (s *AutoEnable) SetEc2(v bool) *AutoEnable
SetEc2 sets the Ec2 field's value.
func (s *AutoEnable) SetEcr(v bool) *AutoEnable
SetEcr sets the Ecr field's value.
func (s *AutoEnable) SetLambda(v bool) *AutoEnable
SetLambda sets the Lambda field's value.
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 (s *AutoEnable) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *AwsEc2InstanceDetails) SetIamInstanceProfileArn(v string) *AwsEc2InstanceDetails
SetIamInstanceProfileArn sets the IamInstanceProfileArn field's value.
func (s *AwsEc2InstanceDetails) SetImageId(v string) *AwsEc2InstanceDetails
SetImageId sets the ImageId field's value.
func (s *AwsEc2InstanceDetails) SetIpV4Addresses(v []*string) *AwsEc2InstanceDetails
SetIpV4Addresses sets the IpV4Addresses field's value.
func (s *AwsEc2InstanceDetails) SetIpV6Addresses(v []*string) *AwsEc2InstanceDetails
SetIpV6Addresses sets the IpV6Addresses field's value.
func (s *AwsEc2InstanceDetails) SetKeyName(v string) *AwsEc2InstanceDetails
SetKeyName sets the KeyName field's value.
func (s *AwsEc2InstanceDetails) SetLaunchedAt(v time.Time) *AwsEc2InstanceDetails
SetLaunchedAt sets the LaunchedAt field's value.
func (s *AwsEc2InstanceDetails) SetPlatform(v string) *AwsEc2InstanceDetails
SetPlatform sets the Platform field's value.
func (s *AwsEc2InstanceDetails) SetSubnetId(v string) *AwsEc2InstanceDetails
SetSubnetId sets the SubnetId field's value.
func (s *AwsEc2InstanceDetails) SetType(v string) *AwsEc2InstanceDetails
SetType sets the Type field's value.
func (s *AwsEc2InstanceDetails) SetVpcId(v string) *AwsEc2InstanceDetails
SetVpcId sets the VpcId field's value.
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 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 (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 (s *AwsEcrContainerAggregation) SetArchitectures(v []*StringFilter) *AwsEcrContainerAggregation
SetArchitectures sets the Architectures field's value.
func (s *AwsEcrContainerAggregation) SetImageShas(v []*StringFilter) *AwsEcrContainerAggregation
SetImageShas sets the ImageShas field's value.
func (s *AwsEcrContainerAggregation) SetImageTags(v []*StringFilter) *AwsEcrContainerAggregation
SetImageTags sets the ImageTags field's value.
func (s *AwsEcrContainerAggregation) SetRepositories(v []*StringFilter) *AwsEcrContainerAggregation
SetRepositories sets the Repositories field's value.
func (s *AwsEcrContainerAggregation) SetResourceIds(v []*StringFilter) *AwsEcrContainerAggregation
SetResourceIds sets the ResourceIds field's value.
func (s *AwsEcrContainerAggregation) SetSortBy(v string) *AwsEcrContainerAggregation
SetSortBy sets the SortBy field's value.
func (s *AwsEcrContainerAggregation) SetSortOrder(v string) *AwsEcrContainerAggregation
SetSortOrder sets the SortOrder field's value.
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 (s *AwsEcrContainerAggregation) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *AwsEcrContainerAggregationResponse) SetAccountId(v string) *AwsEcrContainerAggregationResponse
SetAccountId sets the AccountId field's value.
func (s *AwsEcrContainerAggregationResponse) SetArchitecture(v string) *AwsEcrContainerAggregationResponse
SetArchitecture sets the Architecture field's value.
func (s *AwsEcrContainerAggregationResponse) SetImageSha(v string) *AwsEcrContainerAggregationResponse
SetImageSha sets the ImageSha field's value.
func (s *AwsEcrContainerAggregationResponse) SetImageTags(v []*string) *AwsEcrContainerAggregationResponse
SetImageTags sets the ImageTags field's value.
func (s *AwsEcrContainerAggregationResponse) SetRepository(v string) *AwsEcrContainerAggregationResponse
SetRepository sets the Repository field's value.
func (s *AwsEcrContainerAggregationResponse) SetResourceId(v string) *AwsEcrContainerAggregationResponse
SetResourceId sets the ResourceId field's value.
func (s *AwsEcrContainerAggregationResponse) SetSeverityCounts(v *SeverityCounts) *AwsEcrContainerAggregationResponse
SetSeverityCounts sets the SeverityCounts field's value.
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 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 (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 (s *AwsEcrContainerImageDetails) SetArchitecture(v string) *AwsEcrContainerImageDetails
SetArchitecture sets the Architecture field's value.
func (s *AwsEcrContainerImageDetails) SetAuthor(v string) *AwsEcrContainerImageDetails
SetAuthor sets the Author field's value.
func (s *AwsEcrContainerImageDetails) SetImageHash(v string) *AwsEcrContainerImageDetails
SetImageHash sets the ImageHash field's value.
func (s *AwsEcrContainerImageDetails) SetImageTags(v []*string) *AwsEcrContainerImageDetails
SetImageTags sets the ImageTags field's value.
func (s *AwsEcrContainerImageDetails) SetPlatform(v string) *AwsEcrContainerImageDetails
SetPlatform sets the Platform field's value.
func (s *AwsEcrContainerImageDetails) SetPushedAt(v time.Time) *AwsEcrContainerImageDetails
SetPushedAt sets the PushedAt field's value.
func (s *AwsEcrContainerImageDetails) SetRegistry(v string) *AwsEcrContainerImageDetails
SetRegistry sets the Registry field's value.
func (s *AwsEcrContainerImageDetails) SetRepositoryName(v string) *AwsEcrContainerImageDetails
SetRepositoryName sets the RepositoryName field's value.
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 struct { // The instruction set architecture that the AWS Lambda function supports. Architecture // is a string array with one of the valid values. The default architecture // value is x86_64. Architectures []*string `locationName:"architectures" min:"1" type:"list" enum:"Architecture"` // The SHA256 hash of the AWS Lambda function's deployment package. // // CodeSha256 is a required field CodeSha256 *string `locationName:"codeSha256" min:"1" type:"string" required:"true"` // The AWS Lambda function's execution role. // // ExecutionRoleArn is a required field ExecutionRoleArn *string `locationName:"executionRoleArn" type:"string" required:"true"` // The name of the AWS Lambda function. // // FunctionName is a required field FunctionName *string `locationName:"functionName" type:"string" required:"true"` // The date and time that a user last updated the configuration, in ISO 8601 // format (https://www.iso.org/iso-8601-date-and-time-format.html) LastModifiedAt *time.Time `locationName:"lastModifiedAt" type:"timestamp"` // The AWS Lambda function's layers (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). // A Lambda function can have up to five layers. Layers []*string `locationName:"layers" min:"1" type:"list"` // The type of deployment package. Set to Image for container image and set // Zip for .zip file archive. PackageType *string `locationName:"packageType" type:"string" enum:"PackageType"` // The runtime environment for the AWS Lambda function. // // Runtime is a required field Runtime *string `locationName:"runtime" type:"string" required:"true" enum:"Runtime"` // The version of the AWS Lambda function. // // Version is a required field Version *string `locationName:"version" type:"string" required:"true"` // The AWS Lambda function's networking configuration. VpcConfig *LambdaVpcConfig `locationName:"vpcConfig" type:"structure"` // contains filtered or unexported fields }
A summary of information about the AWS Lambda function.
func (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 (s *AwsLambdaFunctionDetails) SetArchitectures(v []*string) *AwsLambdaFunctionDetails
SetArchitectures sets the Architectures field's value.
func (s *AwsLambdaFunctionDetails) SetCodeSha256(v string) *AwsLambdaFunctionDetails
SetCodeSha256 sets the CodeSha256 field's value.
func (s *AwsLambdaFunctionDetails) SetExecutionRoleArn(v string) *AwsLambdaFunctionDetails
SetExecutionRoleArn sets the ExecutionRoleArn field's value.
func (s *AwsLambdaFunctionDetails) SetFunctionName(v string) *AwsLambdaFunctionDetails
SetFunctionName sets the FunctionName field's value.
func (s *AwsLambdaFunctionDetails) SetLastModifiedAt(v time.Time) *AwsLambdaFunctionDetails
SetLastModifiedAt sets the LastModifiedAt field's value.
func (s *AwsLambdaFunctionDetails) SetLayers(v []*string) *AwsLambdaFunctionDetails
SetLayers sets the Layers field's value.
func (s *AwsLambdaFunctionDetails) SetPackageType(v string) *AwsLambdaFunctionDetails
SetPackageType sets the PackageType field's value.
func (s *AwsLambdaFunctionDetails) SetRuntime(v string) *AwsLambdaFunctionDetails
SetRuntime sets the Runtime field's value.
func (s *AwsLambdaFunctionDetails) SetVersion(v string) *AwsLambdaFunctionDetails
SetVersion sets the Version field's value.
func (s *AwsLambdaFunctionDetails) SetVpcConfig(v *LambdaVpcConfig) *AwsLambdaFunctionDetails
SetVpcConfig sets the VpcConfig field's value.
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 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 (s *BadRequestException) Code() string
Code returns the exception type name.
func (s *BadRequestException) Error() string
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 (s *BadRequestException) Message() string
Message returns the exception's message.
func (s *BadRequestException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *BadRequestException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *BadRequestException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (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 (s *BatchGetAccountStatusInput) SetAccountIds(v []*string) *BatchGetAccountStatusInput
SetAccountIds sets the AccountIds field's value.
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 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 (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 (s *BatchGetAccountStatusOutput) SetAccounts(v []*AccountState) *BatchGetAccountStatusOutput
SetAccounts sets the Accounts field's value.
func (s *BatchGetAccountStatusOutput) SetFailedAccounts(v []*FailedAccount) *BatchGetAccountStatusOutput
SetFailedAccounts sets the FailedAccounts field's value.
func (s BatchGetAccountStatusOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BatchGetFreeTrialInfoInput 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 (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 (s *BatchGetFreeTrialInfoInput) SetAccountIds(v []*string) *BatchGetFreeTrialInfoInput
SetAccountIds sets the AccountIds field's value.
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 (s *BatchGetFreeTrialInfoInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *BatchGetFreeTrialInfoOutput) SetAccounts(v []*FreeTrialAccountInfo) *BatchGetFreeTrialInfoOutput
SetAccounts sets the Accounts field's value.
func (s *BatchGetFreeTrialInfoOutput) SetFailedAccounts(v []*FreeTrialInfoError) *BatchGetFreeTrialInfoOutput
SetFailedAccounts sets the FailedAccounts field's value.
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 struct {
AccountIds []*string `locationName:"accountIds" type:"list"`
// contains filtered or unexported fields
}
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 (s *BatchGetMemberEc2DeepInspectionStatusInput) SetAccountIds(v []*string) *BatchGetMemberEc2DeepInspectionStatusInput
SetAccountIds sets the AccountIds field's value.
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 struct { AccountIds []*MemberAccountEc2DeepInspectionStatusState `locationName:"accountIds" type:"list"` FailedAccountIds []*FailedMemberAccountEc2DeepInspectionStatusState `locationName:"failedAccountIds" type:"list"` // contains filtered or unexported fields }
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 (s *BatchGetMemberEc2DeepInspectionStatusOutput) SetAccountIds(v []*MemberAccountEc2DeepInspectionStatusState) *BatchGetMemberEc2DeepInspectionStatusOutput
SetAccountIds sets the AccountIds field's value.
func (s *BatchGetMemberEc2DeepInspectionStatusOutput) SetFailedAccountIds(v []*FailedMemberAccountEc2DeepInspectionStatusState) *BatchGetMemberEc2DeepInspectionStatusOutput
SetFailedAccountIds sets the FailedAccountIds field's value.
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 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 (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 (s *BatchUpdateMemberEc2DeepInspectionStatusInput) SetAccountIds(v []*MemberAccountEc2DeepInspectionStatus) *BatchUpdateMemberEc2DeepInspectionStatusInput
SetAccountIds sets the AccountIds field's value.
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 (s *BatchUpdateMemberEc2DeepInspectionStatusInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *BatchUpdateMemberEc2DeepInspectionStatusOutput) SetAccountIds(v []*MemberAccountEc2DeepInspectionStatusState) *BatchUpdateMemberEc2DeepInspectionStatusOutput
SetAccountIds sets the AccountIds field's value.
func (s *BatchUpdateMemberEc2DeepInspectionStatusOutput) SetFailedAccountIds(v []*FailedMemberAccountEc2DeepInspectionStatusState) *BatchUpdateMemberEc2DeepInspectionStatusOutput
SetFailedAccountIds sets the FailedAccountIds field's value.
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 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 (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 (s *CancelFindingsReportInput) SetReportId(v string) *CancelFindingsReportInput
SetReportId sets the ReportId field's value.
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 (s *CancelFindingsReportInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *CancelFindingsReportOutput) SetReportId(v string) *CancelFindingsReportOutput
SetReportId sets the ReportId field's value.
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 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 (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 (s *CisaData) SetAction(v string) *CisaData
SetAction sets the Action field's value.
func (s *CisaData) SetDateAdded(v time.Time) *CisaData
SetDateAdded sets the DateAdded field's value.
func (s *CisaData) SetDateDue(v time.Time) *CisaData
SetDateDue sets the DateDue field's value.
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 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 (s *ConflictException) Code() string
Code returns the exception type name.
func (s *ConflictException) Error() string
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 (s *ConflictException) Message() string
Message returns the exception's message.
func (s *ConflictException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ConflictException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ConflictException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (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 (s *Counts) SetCount(v int64) *Counts
SetCount sets the Count field's value.
func (s *Counts) SetGroupKey(v string) *Counts
SetGroupKey sets the GroupKey field's value.
func (s Counts) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CoverageFilterCriteria struct { // An array of Amazon Web Services account IDs to return coverage statistics // for. AccountId []*CoverageStringFilter `locationName:"accountId" min:"1" type:"list"` // The Amazon EC2 instance tags to filter on. Ec2InstanceTags []*CoverageMapFilter `locationName:"ec2InstanceTags" min:"1" type:"list"` // The Amazon ECR image tags to filter on. EcrImageTags []*CoverageStringFilter `locationName:"ecrImageTags" min:"1" type:"list"` // The Amazon ECR repository name to filter on. EcrRepositoryName []*CoverageStringFilter `locationName:"ecrRepositoryName" min:"1" type:"list"` // Returns coverage statistics for AWS Lambda functions filtered by function // names. LambdaFunctionName []*CoverageStringFilter `locationName:"lambdaFunctionName" min:"1" type:"list"` // Returns coverage statistics for AWS Lambda functions filtered by runtime. LambdaFunctionRuntime []*CoverageStringFilter `locationName:"lambdaFunctionRuntime" min:"1" type:"list"` // Returns coverage statistics for AWS Lambda functions filtered by tag. LambdaFunctionTags []*CoverageMapFilter `locationName:"lambdaFunctionTags" min:"1" type:"list"` // An array of Amazon Web Services resource IDs to return coverage statistics // for. ResourceId []*CoverageStringFilter `locationName:"resourceId" min:"1" type:"list"` // An array of Amazon Web Services resource types to return coverage statistics // for. The values can be AWS_EC2_INSTANCE or AWS_ECR_REPOSITORY. ResourceType []*CoverageStringFilter `locationName:"resourceType" min:"1" type:"list"` // The scan status code to filter on. ScanStatusCode []*CoverageStringFilter `locationName:"scanStatusCode" min:"1" type:"list"` // The scan status reason to filter on. ScanStatusReason []*CoverageStringFilter `locationName:"scanStatusReason" min:"1" type:"list"` // An array of Amazon Inspector scan types to return coverage statistics for. ScanType []*CoverageStringFilter `locationName:"scanType" min:"1" type:"list"` // contains filtered or unexported fields }
A structure that identifies filter criteria for GetCoverageStatistics.
func (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 (s *CoverageFilterCriteria) SetAccountId(v []*CoverageStringFilter) *CoverageFilterCriteria
SetAccountId sets the AccountId field's value.
func (s *CoverageFilterCriteria) SetEc2InstanceTags(v []*CoverageMapFilter) *CoverageFilterCriteria
SetEc2InstanceTags sets the Ec2InstanceTags field's value.
func (s *CoverageFilterCriteria) SetEcrImageTags(v []*CoverageStringFilter) *CoverageFilterCriteria
SetEcrImageTags sets the EcrImageTags field's value.
func (s *CoverageFilterCriteria) SetEcrRepositoryName(v []*CoverageStringFilter) *CoverageFilterCriteria
SetEcrRepositoryName sets the EcrRepositoryName field's value.
func (s *CoverageFilterCriteria) SetLambdaFunctionName(v []*CoverageStringFilter) *CoverageFilterCriteria
SetLambdaFunctionName sets the LambdaFunctionName field's value.
func (s *CoverageFilterCriteria) SetLambdaFunctionRuntime(v []*CoverageStringFilter) *CoverageFilterCriteria
SetLambdaFunctionRuntime sets the LambdaFunctionRuntime field's value.
func (s *CoverageFilterCriteria) SetLambdaFunctionTags(v []*CoverageMapFilter) *CoverageFilterCriteria
SetLambdaFunctionTags sets the LambdaFunctionTags field's value.
func (s *CoverageFilterCriteria) SetResourceId(v []*CoverageStringFilter) *CoverageFilterCriteria
SetResourceId sets the ResourceId field's value.
func (s *CoverageFilterCriteria) SetResourceType(v []*CoverageStringFilter) *CoverageFilterCriteria
SetResourceType sets the ResourceType field's value.
func (s *CoverageFilterCriteria) SetScanStatusCode(v []*CoverageStringFilter) *CoverageFilterCriteria
SetScanStatusCode sets the ScanStatusCode field's value.
func (s *CoverageFilterCriteria) SetScanStatusReason(v []*CoverageStringFilter) *CoverageFilterCriteria
SetScanStatusReason sets the ScanStatusReason field's value.
func (s *CoverageFilterCriteria) SetScanType(v []*CoverageStringFilter) *CoverageFilterCriteria
SetScanType sets the ScanType field's value.
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 (s *CoverageFilterCriteria) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *CoverageMapFilter) SetComparison(v string) *CoverageMapFilter
SetComparison sets the Comparison field's value.
func (s *CoverageMapFilter) SetKey(v string) *CoverageMapFilter
SetKey sets the Key field's value.
func (s *CoverageMapFilter) SetValue(v string) *CoverageMapFilter
SetValue sets the Value field's value.
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 (s *CoverageMapFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *CoverageStringFilter) SetComparison(v string) *CoverageStringFilter
SetComparison sets the Comparison field's value.
func (s *CoverageStringFilter) SetValue(v string) *CoverageStringFilter
SetValue sets the Value field's value.
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 (s *CoverageStringFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CoveredResource struct { // The Amazon Web Services account ID of the covered resource. // // AccountId is a required field AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"` // The ID of the covered resource. // // ResourceId is a required field ResourceId *string `locationName:"resourceId" min:"10" type:"string" required:"true"` // An object that contains details about the metadata. ResourceMetadata *ResourceScanMetadata `locationName:"resourceMetadata" type:"structure"` // The type of the covered resource. // // ResourceType is a required field ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"CoverageResourceType"` // The status of the scan covering the resource. ScanStatus *ScanStatus `locationName:"scanStatus" type:"structure"` // The Amazon Inspector scan type covering the resource. // // ScanType is a required field ScanType *string `locationName:"scanType" type:"string" required:"true" enum:"ScanType"` // contains filtered or unexported fields }
An object that contains details about a resource covered by Amazon Inspector.
func (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 (s *CoveredResource) SetAccountId(v string) *CoveredResource
SetAccountId sets the AccountId field's value.
func (s *CoveredResource) SetResourceId(v string) *CoveredResource
SetResourceId sets the ResourceId field's value.
func (s *CoveredResource) SetResourceMetadata(v *ResourceScanMetadata) *CoveredResource
SetResourceMetadata sets the ResourceMetadata field's value.
func (s *CoveredResource) SetResourceType(v string) *CoveredResource
SetResourceType sets the ResourceType field's value.
func (s *CoveredResource) SetScanStatus(v *ScanStatus) *CoveredResource
SetScanStatus sets the ScanStatus field's value.
func (s *CoveredResource) SetScanType(v string) *CoveredResource
SetScanType sets the ScanType field's value.
func (s CoveredResource) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateFilterInput 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 (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 (s *CreateFilterInput) SetAction(v string) *CreateFilterInput
SetAction sets the Action field's value.
func (s *CreateFilterInput) SetDescription(v string) *CreateFilterInput
SetDescription sets the Description field's value.
func (s *CreateFilterInput) SetFilterCriteria(v *FilterCriteria) *CreateFilterInput
SetFilterCriteria sets the FilterCriteria field's value.
func (s *CreateFilterInput) SetName(v string) *CreateFilterInput
SetName sets the Name field's value.
func (s *CreateFilterInput) SetReason(v string) *CreateFilterInput
SetReason sets the Reason field's value.
func (s *CreateFilterInput) SetTags(v map[string]*string) *CreateFilterInput
SetTags sets the Tags field's value.
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 (s *CreateFilterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *CreateFilterOutput) SetArn(v string) *CreateFilterOutput
SetArn sets the Arn field's value.
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 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 (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 (s *CreateFindingsReportInput) SetFilterCriteria(v *FilterCriteria) *CreateFindingsReportInput
SetFilterCriteria sets the FilterCriteria field's value.
func (s *CreateFindingsReportInput) SetReportFormat(v string) *CreateFindingsReportInput
SetReportFormat sets the ReportFormat field's value.
func (s *CreateFindingsReportInput) SetS3Destination(v *Destination) *CreateFindingsReportInput
SetS3Destination sets the S3Destination field's value.
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 (s *CreateFindingsReportInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateFindingsReportOutput struct { // The ID of the report. ReportId *string `locationName:"reportId" type:"string"` // contains filtered or unexported fields }
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 (s *CreateFindingsReportOutput) SetReportId(v string) *CreateFindingsReportOutput
SetReportId sets the ReportId field's value.
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 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 (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 (s *Cvss2) SetBaseScore(v float64) *Cvss2
SetBaseScore sets the BaseScore field's value.
func (s *Cvss2) SetScoringVector(v string) *Cvss2
SetScoringVector sets the ScoringVector field's value.
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 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 (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 (s *Cvss3) SetBaseScore(v float64) *Cvss3
SetBaseScore sets the BaseScore field's value.
func (s *Cvss3) SetScoringVector(v string) *Cvss3
SetScoringVector sets the ScoringVector field's value.
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 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 (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 (s *CvssScore) SetBaseScore(v float64) *CvssScore
SetBaseScore sets the BaseScore field's value.
func (s *CvssScore) SetScoringVector(v string) *CvssScore
SetScoringVector sets the ScoringVector field's value.
func (s *CvssScore) SetSource(v string) *CvssScore
SetSource sets the Source field's value.
func (s *CvssScore) SetVersion(v string) *CvssScore
SetVersion sets the Version field's value.
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 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 (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 (s *CvssScoreAdjustment) SetMetric(v string) *CvssScoreAdjustment
SetMetric sets the Metric field's value.
func (s *CvssScoreAdjustment) SetReason(v string) *CvssScoreAdjustment
SetReason sets the Reason field's value.
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 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 (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 (s *CvssScoreDetails) SetAdjustments(v []*CvssScoreAdjustment) *CvssScoreDetails
SetAdjustments sets the Adjustments field's value.
func (s *CvssScoreDetails) SetCvssSource(v string) *CvssScoreDetails
SetCvssSource sets the CvssSource field's value.
func (s *CvssScoreDetails) SetScore(v float64) *CvssScoreDetails
SetScore sets the Score field's value.
func (s *CvssScoreDetails) SetScoreSource(v string) *CvssScoreDetails
SetScoreSource sets the ScoreSource field's value.
func (s *CvssScoreDetails) SetScoringVector(v string) *CvssScoreDetails
SetScoringVector sets the ScoringVector field's value.
func (s *CvssScoreDetails) SetVersion(v string) *CvssScoreDetails
SetVersion sets the Version field's value.
func (s CvssScoreDetails) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DateFilter 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 (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 (s *DateFilter) SetEndInclusive(v time.Time) *DateFilter
SetEndInclusive sets the EndInclusive field's value.
func (s *DateFilter) SetStartInclusive(v time.Time) *DateFilter
SetStartInclusive sets the StartInclusive field's value.
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 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 (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 (s *DelegatedAdmin) SetAccountId(v string) *DelegatedAdmin
SetAccountId sets the AccountId field's value.
func (s *DelegatedAdmin) SetRelationshipStatus(v string) *DelegatedAdmin
SetRelationshipStatus sets the RelationshipStatus field's value.
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 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 (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 (s *DelegatedAdminAccount) SetAccountId(v string) *DelegatedAdminAccount
SetAccountId sets the AccountId field's value.
func (s *DelegatedAdminAccount) SetStatus(v string) *DelegatedAdminAccount
SetStatus sets the Status field's value.
func (s DelegatedAdminAccount) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteFilterInput 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 (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 (s *DeleteFilterInput) SetArn(v string) *DeleteFilterInput
SetArn sets the Arn field's value.
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 (s *DeleteFilterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *DeleteFilterOutput) SetArn(v string) *DeleteFilterOutput
SetArn sets the Arn field's value.
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 struct {
// contains filtered or unexported fields
}
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 (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 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 (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 (s *DescribeOrganizationConfigurationOutput) SetAutoEnable(v *AutoEnable) *DescribeOrganizationConfigurationOutput
SetAutoEnable sets the AutoEnable field's value.
func (s *DescribeOrganizationConfigurationOutput) SetMaxAccountLimitReached(v bool) *DescribeOrganizationConfigurationOutput
SetMaxAccountLimitReached sets the MaxAccountLimitReached field's value.
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 struct { // The name of the Amazon S3 bucket to export findings to. // // BucketName is a required field BucketName *string `locationName:"bucketName" type:"string" required:"true"` // The prefix of the Amazon S3 bucket used to export findings. KeyPrefix *string `locationName:"keyPrefix" type:"string"` // The ARN of the KMS key used to encrypt data when exporting findings. // // KmsKeyArn is a required field KmsKeyArn *string `locationName:"kmsKeyArn" type:"string" required:"true"` // contains filtered or unexported fields }
Contains details of the Amazon S3 bucket and KMS key used to export findings.
func (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 (s *Destination) SetBucketName(v string) *Destination
SetBucketName sets the BucketName field's value.
func (s *Destination) SetKeyPrefix(v string) *Destination
SetKeyPrefix sets the KeyPrefix field's value.
func (s *Destination) SetKmsKeyArn(v string) *Destination
SetKmsKeyArn sets the KmsKeyArn field's value.
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 (s *Destination) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *DisableDelegatedAdminAccountInput) SetDelegatedAdminAccountId(v string) *DisableDelegatedAdminAccountInput
SetDelegatedAdminAccountId sets the DelegatedAdminAccountId field's value.
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 (s *DisableDelegatedAdminAccountInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *DisableDelegatedAdminAccountOutput) SetDelegatedAdminAccountId(v string) *DisableDelegatedAdminAccountOutput
SetDelegatedAdminAccountId sets the DelegatedAdminAccountId field's value.
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 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 (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 (s *DisableInput) SetAccountIds(v []*string) *DisableInput
SetAccountIds sets the AccountIds field's value.
func (s *DisableInput) SetResourceTypes(v []*string) *DisableInput
SetResourceTypes sets the ResourceTypes field's value.
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 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 (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 (s *DisableOutput) SetAccounts(v []*Account) *DisableOutput
SetAccounts sets the Accounts field's value.
func (s *DisableOutput) SetFailedAccounts(v []*FailedAccount) *DisableOutput
SetFailedAccounts sets the FailedAccounts field's value.
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 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 (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 (s *DisassociateMemberInput) SetAccountId(v string) *DisassociateMemberInput
SetAccountId sets the AccountId field's value.
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 (s *DisassociateMemberInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *DisassociateMemberOutput) SetAccountId(v string) *DisassociateMemberOutput
SetAccountId sets the AccountId field's value.
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 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 (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 (s *Ec2InstanceAggregation) SetAmis(v []*StringFilter) *Ec2InstanceAggregation
SetAmis sets the Amis field's value.
func (s *Ec2InstanceAggregation) SetInstanceIds(v []*StringFilter) *Ec2InstanceAggregation
SetInstanceIds sets the InstanceIds field's value.
func (s *Ec2InstanceAggregation) SetInstanceTags(v []*MapFilter) *Ec2InstanceAggregation
SetInstanceTags sets the InstanceTags field's value.
func (s *Ec2InstanceAggregation) SetOperatingSystems(v []*StringFilter) *Ec2InstanceAggregation
SetOperatingSystems sets the OperatingSystems field's value.
func (s *Ec2InstanceAggregation) SetSortBy(v string) *Ec2InstanceAggregation
SetSortBy sets the SortBy field's value.
func (s *Ec2InstanceAggregation) SetSortOrder(v string) *Ec2InstanceAggregation
SetSortOrder sets the SortOrder field's value.
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 (s *Ec2InstanceAggregation) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *Ec2InstanceAggregationResponse) SetAccountId(v string) *Ec2InstanceAggregationResponse
SetAccountId sets the AccountId field's value.
func (s *Ec2InstanceAggregationResponse) SetAmi(v string) *Ec2InstanceAggregationResponse
SetAmi sets the Ami field's value.
func (s *Ec2InstanceAggregationResponse) SetInstanceId(v string) *Ec2InstanceAggregationResponse
SetInstanceId sets the InstanceId field's value.
func (s *Ec2InstanceAggregationResponse) SetInstanceTags(v map[string]*string) *Ec2InstanceAggregationResponse
SetInstanceTags sets the InstanceTags field's value.
func (s *Ec2InstanceAggregationResponse) SetNetworkFindings(v int64) *Ec2InstanceAggregationResponse
SetNetworkFindings sets the NetworkFindings field's value.
func (s *Ec2InstanceAggregationResponse) SetOperatingSystem(v string) *Ec2InstanceAggregationResponse
SetOperatingSystem sets the OperatingSystem field's value.
func (s *Ec2InstanceAggregationResponse) SetSeverityCounts(v *SeverityCounts) *Ec2InstanceAggregationResponse
SetSeverityCounts sets the SeverityCounts field's value.
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 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 (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 (s *Ec2Metadata) SetAmiId(v string) *Ec2Metadata
SetAmiId sets the AmiId field's value.
func (s *Ec2Metadata) SetPlatform(v string) *Ec2Metadata
SetPlatform sets the Platform field's value.
func (s *Ec2Metadata) SetTags(v map[string]*string) *Ec2Metadata
SetTags sets the Tags field's value.
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 struct { // The ECR automated re-scan duration defines how long an ECR image will be // actively scanned by Amazon Inspector. When the number of days since an image // was last pushed exceeds the automated re-scan duration the monitoring state // of that image becomes inactive and all associated findings are scheduled // for closure. // // RescanDuration is a required field RescanDuration *string `locationName:"rescanDuration" type:"string" required:"true" enum:"EcrRescanDuration"` // contains filtered or unexported fields }
Details about the ECR automated re-scan duration setting for your environment.
func (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 (s *EcrConfiguration) SetRescanDuration(v string) *EcrConfiguration
SetRescanDuration sets the RescanDuration field's value.
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 (s *EcrConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EcrConfigurationState struct { // An object that contains details about the state of the ECR automated re-scan // setting. RescanDurationState *EcrRescanDurationState `locationName:"rescanDurationState" type:"structure"` // contains filtered or unexported fields }
Details about the state of the ECR scans for your environment.
func (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 (s *EcrConfigurationState) SetRescanDurationState(v *EcrRescanDurationState) *EcrConfigurationState
SetRescanDurationState sets the RescanDurationState field's value.
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 struct { // Tags associated with the Amazon ECR image metadata. Tags []*string `locationName:"tags" type:"list"` // contains filtered or unexported fields }
Information on the Amazon ECR image metadata associated with a finding.
func (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 (s *EcrContainerImageMetadata) SetTags(v []*string) *EcrContainerImageMetadata
SetTags sets the Tags field's value.
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 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 (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 (s *EcrRepositoryMetadata) SetName(v string) *EcrRepositoryMetadata
SetName sets the Name field's value.
func (s *EcrRepositoryMetadata) SetScanFrequency(v string) *EcrRepositoryMetadata
SetScanFrequency sets the ScanFrequency field's value.
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 struct { // The ECR automated re-scan duration defines how long an ECR image will be // actively scanned by Amazon Inspector. When the number of days since an image // was last pushed exceeds the automated re-scan duration the monitoring state // of that image becomes inactive and all associated findings are scheduled // for closure. RescanDuration *string `locationName:"rescanDuration" type:"string" enum:"EcrRescanDuration"` // The status of changes to the ECR automated re-scan duration. Status *string `locationName:"status" type:"string" enum:"EcrRescanDurationStatus"` // A timestamp representing when the last time the ECR scan duration setting // was changed. UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp"` // contains filtered or unexported fields }
Details about the state of any changes to the ECR automated re-scan duration setting.
func (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 (s *EcrRescanDurationState) SetRescanDuration(v string) *EcrRescanDurationState
SetRescanDuration sets the RescanDuration field's value.
func (s *EcrRescanDurationState) SetStatus(v string) *EcrRescanDurationState
SetStatus sets the Status field's value.
func (s *EcrRescanDurationState) SetUpdatedAt(v time.Time) *EcrRescanDurationState
SetUpdatedAt sets the UpdatedAt field's value.
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 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 (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 (s *EnableDelegatedAdminAccountInput) SetClientToken(v string) *EnableDelegatedAdminAccountInput
SetClientToken sets the ClientToken field's value.
func (s *EnableDelegatedAdminAccountInput) SetDelegatedAdminAccountId(v string) *EnableDelegatedAdminAccountInput
SetDelegatedAdminAccountId sets the DelegatedAdminAccountId field's value.
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 (s *EnableDelegatedAdminAccountInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *EnableDelegatedAdminAccountOutput) SetDelegatedAdminAccountId(v string) *EnableDelegatedAdminAccountOutput
SetDelegatedAdminAccountId sets the DelegatedAdminAccountId field's value.
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 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 (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 (s *EnableInput) SetAccountIds(v []*string) *EnableInput
SetAccountIds sets the AccountIds field's value.
func (s *EnableInput) SetClientToken(v string) *EnableInput
SetClientToken sets the ClientToken field's value.
func (s *EnableInput) SetResourceTypes(v []*string) *EnableInput
SetResourceTypes sets the ResourceTypes field's value.
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 (s *EnableInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *EnableOutput) SetAccounts(v []*Account) *EnableOutput
SetAccounts sets the Accounts field's value.
func (s *EnableOutput) SetFailedAccounts(v []*FailedAccount) *EnableOutput
SetFailedAccounts sets the FailedAccounts field's value.
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 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 (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 (s *Epss) SetScore(v float64) *Epss
SetScore sets the Score field's value.
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 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 (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 (s *ExploitObserved) SetFirstSeen(v time.Time) *ExploitObserved
SetFirstSeen sets the FirstSeen field's value.
func (s *ExploitObserved) SetLastSeen(v time.Time) *ExploitObserved
SetLastSeen sets the LastSeen field's value.
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 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 (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 (s *ExploitabilityDetails) SetLastKnownExploitAt(v time.Time) *ExploitabilityDetails
SetLastKnownExploitAt sets the LastKnownExploitAt field's value.
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 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 (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 (s *FailedAccount) SetAccountId(v string) *FailedAccount
SetAccountId sets the AccountId field's value.
func (s *FailedAccount) SetErrorCode(v string) *FailedAccount
SetErrorCode sets the ErrorCode field's value.
func (s *FailedAccount) SetErrorMessage(v string) *FailedAccount
SetErrorMessage sets the ErrorMessage field's value.
func (s *FailedAccount) SetResourceStatus(v *ResourceStatus) *FailedAccount
SetResourceStatus sets the ResourceStatus field's value.
func (s *FailedAccount) SetStatus(v string) *FailedAccount
SetStatus sets the Status field's value.
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 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 (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 (s *FailedMemberAccountEc2DeepInspectionStatusState) SetAccountId(v string) *FailedMemberAccountEc2DeepInspectionStatusState
SetAccountId sets the AccountId field's value.
func (s *FailedMemberAccountEc2DeepInspectionStatusState) SetEc2ScanStatus(v string) *FailedMemberAccountEc2DeepInspectionStatusState
SetEc2ScanStatus sets the Ec2ScanStatus field's value.
func (s *FailedMemberAccountEc2DeepInspectionStatusState) SetErrorMessage(v string) *FailedMemberAccountEc2DeepInspectionStatusState
SetErrorMessage sets the ErrorMessage field's value.
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 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 (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 (s *Filter) SetAction(v string) *Filter
SetAction sets the Action field's value.
func (s *Filter) SetArn(v string) *Filter
SetArn sets the Arn field's value.
func (s *Filter) SetCreatedAt(v time.Time) *Filter
SetCreatedAt sets the CreatedAt field's value.
func (s *Filter) SetCriteria(v *FilterCriteria) *Filter
SetCriteria sets the Criteria field's value.
func (s *Filter) SetDescription(v string) *Filter
SetDescription sets the Description field's value.
func (s *Filter) SetName(v string) *Filter
SetName sets the Name field's value.
func (s *Filter) SetOwnerId(v string) *Filter
SetOwnerId sets the OwnerId field's value.
func (s *Filter) SetReason(v string) *Filter
SetReason sets the Reason field's value.
func (s *Filter) SetTags(v map[string]*string) *Filter
SetTags sets the Tags field's value.
func (s *Filter) SetUpdatedAt(v time.Time) *Filter
SetUpdatedAt sets the UpdatedAt field's value.
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 struct { // Details of the Amazon Web Services account IDs used to filter findings. AwsAccountId []*StringFilter `locationName:"awsAccountId" min:"1" type:"list"` // Details of the component IDs used to filter findings. ComponentId []*StringFilter `locationName:"componentId" min:"1" type:"list"` // Details of the component types used to filter findings. ComponentType []*StringFilter `locationName:"componentType" min:"1" type:"list"` // Details of the Amazon EC2 instance image IDs used to filter findings. Ec2InstanceImageId []*StringFilter `locationName:"ec2InstanceImageId" min:"1" type:"list"` // Details of the Amazon EC2 instance subnet IDs used to filter findings. Ec2InstanceSubnetId []*StringFilter `locationName:"ec2InstanceSubnetId" min:"1" type:"list"` // Details of the Amazon EC2 instance VPC IDs used to filter findings. Ec2InstanceVpcId []*StringFilter `locationName:"ec2InstanceVpcId" min:"1" type:"list"` // Details of the Amazon ECR image architecture types used to filter findings. EcrImageArchitecture []*StringFilter `locationName:"ecrImageArchitecture" min:"1" type:"list"` // Details of the Amazon ECR image hashes used to filter findings. EcrImageHash []*StringFilter `locationName:"ecrImageHash" min:"1" type:"list"` // Details on the Amazon ECR image push date and time used to filter findings. EcrImagePushedAt []*DateFilter `locationName:"ecrImagePushedAt" min:"1" type:"list"` // Details on the Amazon ECR registry used to filter findings. EcrImageRegistry []*StringFilter `locationName:"ecrImageRegistry" min:"1" type:"list"` // Details on the name of the Amazon ECR repository used to filter findings. EcrImageRepositoryName []*StringFilter `locationName:"ecrImageRepositoryName" min:"1" type:"list"` // The tags attached to the Amazon ECR container image. EcrImageTags []*StringFilter `locationName:"ecrImageTags" min:"1" type:"list"` // Filters the list of AWS Lambda findings by the availability of exploits. ExploitAvailable []*StringFilter `locationName:"exploitAvailable" min:"1" type:"list"` // Details on the finding ARNs used to filter findings. FindingArn []*StringFilter `locationName:"findingArn" min:"1" type:"list"` // Details on the finding status types used to filter findings. FindingStatus []*StringFilter `locationName:"findingStatus" min:"1" type:"list"` // Details on the finding types used to filter findings. FindingType []*StringFilter `locationName:"findingType" min:"1" type:"list"` // Details on the date and time a finding was first seen used to filter findings. FirstObservedAt []*DateFilter `locationName:"firstObservedAt" min:"1" type:"list"` // Details on whether a fix is available through a version update. This value // can be YES, NO, or PARTIAL. A PARTIAL fix means that some, but not all, of // the packages identified in the finding have fixes available through updated // versions. FixAvailable []*StringFilter `locationName:"fixAvailable" min:"1" type:"list"` // The Amazon Inspector score to filter on. InspectorScore []*NumberFilter `locationName:"inspectorScore" min:"1" type:"list"` // Filters the list of AWS Lambda functions by execution role. LambdaFunctionExecutionRoleArn []*StringFilter `locationName:"lambdaFunctionExecutionRoleArn" min:"1" type:"list"` // Filters the list of AWS Lambda functions by the date and time that a user // last updated the configuration, in ISO 8601 format (https://www.iso.org/iso-8601-date-and-time-format.html) LambdaFunctionLastModifiedAt []*DateFilter `locationName:"lambdaFunctionLastModifiedAt" min:"1" type:"list"` // Filters the list of AWS Lambda functions by the function's layers (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). // A Lambda function can have up to five layers. LambdaFunctionLayers []*StringFilter `locationName:"lambdaFunctionLayers" min:"1" type:"list"` // Filters the list of AWS Lambda functions by the name of the function. LambdaFunctionName []*StringFilter `locationName:"lambdaFunctionName" min:"1" type:"list"` // Filters the list of AWS Lambda functions by the runtime environment for the // Lambda function. LambdaFunctionRuntime []*StringFilter `locationName:"lambdaFunctionRuntime" min:"1" type:"list"` // Details on the date and time a finding was last seen used to filter findings. LastObservedAt []*DateFilter `locationName:"lastObservedAt" min:"1" type:"list"` // Details on the ingress source addresses used to filter findings. NetworkProtocol []*StringFilter `locationName:"networkProtocol" min:"1" type:"list"` // Details on the port ranges used to filter findings. PortRange []*PortRangeFilter `locationName:"portRange" min:"1" type:"list"` // Details on the related vulnerabilities used to filter findings. RelatedVulnerabilities []*StringFilter `locationName:"relatedVulnerabilities" min:"1" type:"list"` // Details on the resource IDs used to filter findings. ResourceId []*StringFilter `locationName:"resourceId" min:"1" type:"list"` // Details on the resource tags used to filter findings. ResourceTags []*MapFilter `locationName:"resourceTags" min:"1" type:"list"` // Details on the resource types used to filter findings. ResourceType []*StringFilter `locationName:"resourceType" min:"1" type:"list"` // Details on the severity used to filter findings. Severity []*StringFilter `locationName:"severity" min:"1" type:"list"` // Details on the finding title used to filter findings. Title []*StringFilter `locationName:"title" min:"1" type:"list"` // Details on the date and time a finding was last updated at used to filter // findings. UpdatedAt []*DateFilter `locationName:"updatedAt" min:"1" type:"list"` // Details on the vendor severity used to filter findings. VendorSeverity []*StringFilter `locationName:"vendorSeverity" min:"1" type:"list"` // Details on the vulnerability ID used to filter findings. VulnerabilityId []*StringFilter `locationName:"vulnerabilityId" min:"1" type:"list"` // Details on the vulnerability type used to filter findings. VulnerabilitySource []*StringFilter `locationName:"vulnerabilitySource" min:"1" type:"list"` // Details on the vulnerable packages used to filter findings. VulnerablePackages []*PackageFilter `locationName:"vulnerablePackages" min:"1" type:"list"` // contains filtered or unexported fields }
Details on the criteria used to define the filter.
func (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 (s *FilterCriteria) SetAwsAccountId(v []*StringFilter) *FilterCriteria
SetAwsAccountId sets the AwsAccountId field's value.
func (s *FilterCriteria) SetComponentId(v []*StringFilter) *FilterCriteria
SetComponentId sets the ComponentId field's value.
func (s *FilterCriteria) SetComponentType(v []*StringFilter) *FilterCriteria
SetComponentType sets the ComponentType field's value.
func (s *FilterCriteria) SetEc2InstanceImageId(v []*StringFilter) *FilterCriteria
SetEc2InstanceImageId sets the Ec2InstanceImageId field's value.
func (s *FilterCriteria) SetEc2InstanceSubnetId(v []*StringFilter) *FilterCriteria
SetEc2InstanceSubnetId sets the Ec2InstanceSubnetId field's value.
func (s *FilterCriteria) SetEc2InstanceVpcId(v []*StringFilter) *FilterCriteria
SetEc2InstanceVpcId sets the Ec2InstanceVpcId field's value.
func (s *FilterCriteria) SetEcrImageArchitecture(v []*StringFilter) *FilterCriteria
SetEcrImageArchitecture sets the EcrImageArchitecture field's value.
func (s *FilterCriteria) SetEcrImageHash(v []*StringFilter) *FilterCriteria
SetEcrImageHash sets the EcrImageHash field's value.
func (s *FilterCriteria) SetEcrImagePushedAt(v []*DateFilter) *FilterCriteria
SetEcrImagePushedAt sets the EcrImagePushedAt field's value.
func (s *FilterCriteria) SetEcrImageRegistry(v []*StringFilter) *FilterCriteria
SetEcrImageRegistry sets the EcrImageRegistry field's value.
func (s *FilterCriteria) SetEcrImageRepositoryName(v []*StringFilter) *FilterCriteria
SetEcrImageRepositoryName sets the EcrImageRepositoryName field's value.
func (s *FilterCriteria) SetEcrImageTags(v []*StringFilter) *FilterCriteria
SetEcrImageTags sets the EcrImageTags field's value.
func (s *FilterCriteria) SetExploitAvailable(v []*StringFilter) *FilterCriteria
SetExploitAvailable sets the ExploitAvailable field's value.
func (s *FilterCriteria) SetFindingArn(v []*StringFilter) *FilterCriteria
SetFindingArn sets the FindingArn field's value.
func (s *FilterCriteria) SetFindingStatus(v []*StringFilter) *FilterCriteria
SetFindingStatus sets the FindingStatus field's value.
func (s *FilterCriteria) SetFindingType(v []*StringFilter) *FilterCriteria
SetFindingType sets the FindingType field's value.
func (s *FilterCriteria) SetFirstObservedAt(v []*DateFilter) *FilterCriteria
SetFirstObservedAt sets the FirstObservedAt field's value.
func (s *FilterCriteria) SetFixAvailable(v []*StringFilter) *FilterCriteria
SetFixAvailable sets the FixAvailable field's value.
func (s *FilterCriteria) SetInspectorScore(v []*NumberFilter) *FilterCriteria
SetInspectorScore sets the InspectorScore field's value.
func (s *FilterCriteria) SetLambdaFunctionExecutionRoleArn(v []*StringFilter) *FilterCriteria
SetLambdaFunctionExecutionRoleArn sets the LambdaFunctionExecutionRoleArn field's value.
func (s *FilterCriteria) SetLambdaFunctionLastModifiedAt(v []*DateFilter) *FilterCriteria
SetLambdaFunctionLastModifiedAt sets the LambdaFunctionLastModifiedAt field's value.
func (s *FilterCriteria) SetLambdaFunctionLayers(v []*StringFilter) *FilterCriteria
SetLambdaFunctionLayers sets the LambdaFunctionLayers field's value.
func (s *FilterCriteria) SetLambdaFunctionName(v []*StringFilter) *FilterCriteria
SetLambdaFunctionName sets the LambdaFunctionName field's value.
func (s *FilterCriteria) SetLambdaFunctionRuntime(v []*StringFilter) *FilterCriteria
SetLambdaFunctionRuntime sets the LambdaFunctionRuntime field's value.
func (s *FilterCriteria) SetLastObservedAt(v []*DateFilter) *FilterCriteria
SetLastObservedAt sets the LastObservedAt field's value.
func (s *FilterCriteria) SetNetworkProtocol(v []*StringFilter) *FilterCriteria
SetNetworkProtocol sets the NetworkProtocol field's value.
func (s *FilterCriteria) SetPortRange(v []*PortRangeFilter) *FilterCriteria
SetPortRange sets the PortRange field's value.
func (s *FilterCriteria) SetRelatedVulnerabilities(v []*StringFilter) *FilterCriteria
SetRelatedVulnerabilities sets the RelatedVulnerabilities field's value.
func (s *FilterCriteria) SetResourceId(v []*StringFilter) *FilterCriteria
SetResourceId sets the ResourceId field's value.
func (s *FilterCriteria) SetResourceTags(v []*MapFilter) *FilterCriteria
SetResourceTags sets the ResourceTags field's value.
func (s *FilterCriteria) SetResourceType(v []*StringFilter) *FilterCriteria
SetResourceType sets the ResourceType field's value.
func (s *FilterCriteria) SetSeverity(v []*StringFilter) *FilterCriteria
SetSeverity sets the Severity field's value.
func (s *FilterCriteria) SetTitle(v []*StringFilter) *FilterCriteria
SetTitle sets the Title field's value.
func (s *FilterCriteria) SetUpdatedAt(v []*DateFilter) *FilterCriteria
SetUpdatedAt sets the UpdatedAt field's value.
func (s *FilterCriteria) SetVendorSeverity(v []*StringFilter) *FilterCriteria
SetVendorSeverity sets the VendorSeverity field's value.
func (s *FilterCriteria) SetVulnerabilityId(v []*StringFilter) *FilterCriteria
SetVulnerabilityId sets the VulnerabilityId field's value.
func (s *FilterCriteria) SetVulnerabilitySource(v []*StringFilter) *FilterCriteria
SetVulnerabilitySource sets the VulnerabilitySource field's value.
func (s *FilterCriteria) SetVulnerablePackages(v []*PackageFilter) *FilterCriteria
SetVulnerablePackages sets the VulnerablePackages field's value.
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 (s *FilterCriteria) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Finding struct { // The Amazon Web Services account ID associated with the finding. // // AwsAccountId is a required field AwsAccountId *string `locationName:"awsAccountId" min:"12" type:"string" required:"true"` // The description of the finding. // // Description is a required field Description *string `locationName:"description" min:"1" type:"string" required:"true"` // If a finding discovered in your environment has an exploit available. ExploitAvailable *string `locationName:"exploitAvailable" type:"string" enum:"ExploitAvailable"` // The details of an exploit available for a finding discovered in your environment. ExploitabilityDetails *ExploitabilityDetails `locationName:"exploitabilityDetails" type:"structure"` // The Amazon Resource Number (ARN) of the finding. // // FindingArn is a required field FindingArn *string `locationName:"findingArn" min:"1" type:"string" required:"true"` // The date and time that the finding was first observed. // // FirstObservedAt is a required field FirstObservedAt *time.Time `locationName:"firstObservedAt" type:"timestamp" required:"true"` // Details on whether a fix is available through a version update. This value // can be YES, NO, or PARTIAL. A PARTIAL fix means that some, but not all, of // the packages identified in the finding have fixes available through updated // versions. FixAvailable *string `locationName:"fixAvailable" type:"string" enum:"FixAvailable"` // The Amazon Inspector score given to the finding. InspectorScore *float64 `locationName:"inspectorScore" type:"double"` // An object that contains details of the Amazon Inspector score. InspectorScoreDetails *InspectorScoreDetails `locationName:"inspectorScoreDetails" type:"structure"` // The date and time that the finding was last observed. // // LastObservedAt is a required field LastObservedAt *time.Time `locationName:"lastObservedAt" type:"timestamp" required:"true"` // An object that contains the details of a network reachability finding. NetworkReachabilityDetails *NetworkReachabilityDetails `locationName:"networkReachabilityDetails" type:"structure"` // An object that contains the details of a package vulnerability finding. PackageVulnerabilityDetails *PackageVulnerabilityDetails `locationName:"packageVulnerabilityDetails" type:"structure"` // An object that contains the details about how to remediate a finding. // // Remediation is a required field Remediation *Remediation `locationName:"remediation" type:"structure" required:"true"` // Contains information on the resources involved in a finding. // // Resources is a required field Resources []*Resource `locationName:"resources" min:"1" type:"list" required:"true"` // The severity of the finding. // // Severity is a required field Severity *string `locationName:"severity" type:"string" required:"true" enum:"Severity"` // The status of the finding. // // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"FindingStatus"` // The title of the finding. Title *string `locationName:"title" min:"1" type:"string"` // The type of the finding. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"FindingType"` // The date and time the finding was last updated at. UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp"` // contains filtered or unexported fields }
Details about an Amazon Inspector finding.
func (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 (s *Finding) SetAwsAccountId(v string) *Finding
SetAwsAccountId sets the AwsAccountId field's value.
func (s *Finding) SetDescription(v string) *Finding
SetDescription sets the Description field's value.
func (s *Finding) SetExploitAvailable(v string) *Finding
SetExploitAvailable sets the ExploitAvailable field's value.
func (s *Finding) SetExploitabilityDetails(v *ExploitabilityDetails) *Finding
SetExploitabilityDetails sets the ExploitabilityDetails field's value.
func (s *Finding) SetFindingArn(v string) *Finding
SetFindingArn sets the FindingArn field's value.
func (s *Finding) SetFirstObservedAt(v time.Time) *Finding
SetFirstObservedAt sets the FirstObservedAt field's value.
func (s *Finding) SetFixAvailable(v string) *Finding
SetFixAvailable sets the FixAvailable field's value.
func (s *Finding) SetInspectorScore(v float64) *Finding
SetInspectorScore sets the InspectorScore field's value.
func (s *Finding) SetInspectorScoreDetails(v *InspectorScoreDetails) *Finding
SetInspectorScoreDetails sets the InspectorScoreDetails field's value.
func (s *Finding) SetLastObservedAt(v time.Time) *Finding
SetLastObservedAt sets the LastObservedAt field's value.
func (s *Finding) SetNetworkReachabilityDetails(v *NetworkReachabilityDetails) *Finding
SetNetworkReachabilityDetails sets the NetworkReachabilityDetails field's value.
func (s *Finding) SetPackageVulnerabilityDetails(v *PackageVulnerabilityDetails) *Finding
SetPackageVulnerabilityDetails sets the PackageVulnerabilityDetails field's value.
func (s *Finding) SetRemediation(v *Remediation) *Finding
SetRemediation sets the Remediation field's value.
func (s *Finding) SetResources(v []*Resource) *Finding
SetResources sets the Resources field's value.
func (s *Finding) SetSeverity(v string) *Finding
SetSeverity sets the Severity field's value.
func (s *Finding) SetStatus(v string) *Finding
SetStatus sets the Status field's value.
func (s *Finding) SetTitle(v string) *Finding
SetTitle sets the Title field's value.
func (s *Finding) SetType(v string) *Finding
SetType sets the Type field's value.
func (s *Finding) SetUpdatedAt(v time.Time) *Finding
SetUpdatedAt sets the UpdatedAt field's value.
func (s Finding) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FindingTypeAggregation 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 (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 (s *FindingTypeAggregation) SetFindingType(v string) *FindingTypeAggregation
SetFindingType sets the FindingType field's value.
func (s *FindingTypeAggregation) SetResourceType(v string) *FindingTypeAggregation
SetResourceType sets the ResourceType field's value.
func (s *FindingTypeAggregation) SetSortBy(v string) *FindingTypeAggregation
SetSortBy sets the SortBy field's value.
func (s *FindingTypeAggregation) SetSortOrder(v string) *FindingTypeAggregation
SetSortOrder sets the SortOrder field's value.
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 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 (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 (s *FindingTypeAggregationResponse) SetAccountId(v string) *FindingTypeAggregationResponse
SetAccountId sets the AccountId field's value.
func (s *FindingTypeAggregationResponse) SetSeverityCounts(v *SeverityCounts) *FindingTypeAggregationResponse
SetSeverityCounts sets the SeverityCounts field's value.
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 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 (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 (s *FreeTrialAccountInfo) SetAccountId(v string) *FreeTrialAccountInfo
SetAccountId sets the AccountId field's value.
func (s *FreeTrialAccountInfo) SetFreeTrialInfo(v []*FreeTrialInfo) *FreeTrialAccountInfo
SetFreeTrialInfo sets the FreeTrialInfo field's value.
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 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 (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 (s *FreeTrialInfo) SetEnd(v time.Time) *FreeTrialInfo
SetEnd sets the End field's value.
func (s *FreeTrialInfo) SetStart(v time.Time) *FreeTrialInfo
SetStart sets the Start field's value.
func (s *FreeTrialInfo) SetStatus(v string) *FreeTrialInfo
SetStatus sets the Status field's value.
func (s *FreeTrialInfo) SetType(v string) *FreeTrialInfo
SetType sets the Type field's value.
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 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 (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 (s *FreeTrialInfoError) SetAccountId(v string) *FreeTrialInfoError
SetAccountId sets the AccountId field's value.
func (s *FreeTrialInfoError) SetCode(v string) *FreeTrialInfoError
SetCode sets the Code field's value.
func (s *FreeTrialInfoError) SetMessage(v string) *FreeTrialInfoError
SetMessage sets the Message field's value.
func (s FreeTrialInfoError) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetConfigurationInput struct {
// contains filtered or unexported fields
}
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 (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 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 (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 (s *GetConfigurationOutput) SetEcrConfiguration(v *EcrConfigurationState) *GetConfigurationOutput
SetEcrConfiguration sets the EcrConfiguration field's value.
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 struct {
// contains filtered or unexported fields
}
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 (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 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 (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 (s *GetDelegatedAdminAccountOutput) SetDelegatedAdmin(v *DelegatedAdmin) *GetDelegatedAdminAccountOutput
SetDelegatedAdmin sets the DelegatedAdmin field's value.
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 struct {
// contains filtered or unexported fields
}
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 (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 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 (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 (s *GetEc2DeepInspectionConfigurationOutput) SetErrorMessage(v string) *GetEc2DeepInspectionConfigurationOutput
SetErrorMessage sets the ErrorMessage field's value.
func (s *GetEc2DeepInspectionConfigurationOutput) SetOrgPackagePaths(v []*string) *GetEc2DeepInspectionConfigurationOutput
SetOrgPackagePaths sets the OrgPackagePaths field's value.
func (s *GetEc2DeepInspectionConfigurationOutput) SetPackagePaths(v []*string) *GetEc2DeepInspectionConfigurationOutput
SetPackagePaths sets the PackagePaths field's value.
func (s *GetEc2DeepInspectionConfigurationOutput) SetStatus(v string) *GetEc2DeepInspectionConfigurationOutput
SetStatus sets the Status field's value.
func (s GetEc2DeepInspectionConfigurationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetFindingsReportStatusInput struct { // The ID of the report to retrieve the status of. ReportId *string `locationName:"reportId" type:"string"` // contains filtered or unexported fields }
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 (s *GetFindingsReportStatusInput) SetReportId(v string) *GetFindingsReportStatusInput
SetReportId sets the ReportId field's value.
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 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 (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 (s *GetFindingsReportStatusOutput) SetDestination(v *Destination) *GetFindingsReportStatusOutput
SetDestination sets the Destination field's value.
func (s *GetFindingsReportStatusOutput) SetErrorCode(v string) *GetFindingsReportStatusOutput
SetErrorCode sets the ErrorCode field's value.
func (s *GetFindingsReportStatusOutput) SetErrorMessage(v string) *GetFindingsReportStatusOutput
SetErrorMessage sets the ErrorMessage field's value.
func (s *GetFindingsReportStatusOutput) SetFilterCriteria(v *FilterCriteria) *GetFindingsReportStatusOutput
SetFilterCriteria sets the FilterCriteria field's value.
func (s *GetFindingsReportStatusOutput) SetReportId(v string) *GetFindingsReportStatusOutput
SetReportId sets the ReportId field's value.
func (s *GetFindingsReportStatusOutput) SetStatus(v string) *GetFindingsReportStatusOutput
SetStatus sets the Status field's value.
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 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 (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 (s *GetMemberInput) SetAccountId(v string) *GetMemberInput
SetAccountId sets the AccountId field's value.
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 (s *GetMemberInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetMemberOutput struct { // Details of the retrieved member account. Member *Member `locationName:"member" type:"structure"` // contains filtered or unexported fields }
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 (s *GetMemberOutput) SetMember(v *Member) *GetMemberOutput
SetMember sets the Member field's value.
func (s GetMemberOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ImageLayerAggregation 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 (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 (s *ImageLayerAggregation) SetLayerHashes(v []*StringFilter) *ImageLayerAggregation
SetLayerHashes sets the LayerHashes field's value.
func (s *ImageLayerAggregation) SetRepositories(v []*StringFilter) *ImageLayerAggregation
SetRepositories sets the Repositories field's value.
func (s *ImageLayerAggregation) SetResourceIds(v []*StringFilter) *ImageLayerAggregation
SetResourceIds sets the ResourceIds field's value.
func (s *ImageLayerAggregation) SetSortBy(v string) *ImageLayerAggregation
SetSortBy sets the SortBy field's value.
func (s *ImageLayerAggregation) SetSortOrder(v string) *ImageLayerAggregation
SetSortOrder sets the SortOrder field's value.
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 (s *ImageLayerAggregation) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ImageLayerAggregationResponse) SetAccountId(v string) *ImageLayerAggregationResponse
SetAccountId sets the AccountId field's value.
func (s *ImageLayerAggregationResponse) SetLayerHash(v string) *ImageLayerAggregationResponse
SetLayerHash sets the LayerHash field's value.
func (s *ImageLayerAggregationResponse) SetRepository(v string) *ImageLayerAggregationResponse
SetRepository sets the Repository field's value.
func (s *ImageLayerAggregationResponse) SetResourceId(v string) *ImageLayerAggregationResponse
SetResourceId sets the ResourceId field's value.
func (s *ImageLayerAggregationResponse) SetSeverityCounts(v *SeverityCounts) *ImageLayerAggregationResponse
SetSeverityCounts sets the SeverityCounts field's value.
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 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(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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (c *Inspector2) BatchUpdateMemberEc2DeepInspectionStatus(input *BatchUpdateMemberEc2DeepInspectionStatusInput) (*BatchUpdateMemberEc2DeepInspectionStatusOutput, error)
BatchUpdateMemberEc2DeepInspectionStatus API operation for Inspector2.
Activates or deactivates Amazon Inspector deep inspection for the provided member accounts in your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Inspector2's API operation BatchUpdateMemberEc2DeepInspectionStatus for usage and error information.
Returned Error Types:
ValidationException The request has failed validation due to missing required fields or having invalid inputs.
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The limit on the number of requests per second was exceeded.
InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.
func (c *Inspector2) BatchUpdateMemberEc2DeepInspectionStatusRequest(input *BatchUpdateMemberEc2DeepInspectionStatusInput) (req *request.Request, output *BatchUpdateMemberEc2DeepInspectionStatusOutput)
BatchUpdateMemberEc2DeepInspectionStatusRequest generates a "aws/request.Request" representing the client's request for the BatchUpdateMemberEc2DeepInspectionStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See BatchUpdateMemberEc2DeepInspectionStatus for more information on using the BatchUpdateMemberEc2DeepInspectionStatus API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the BatchUpdateMemberEc2DeepInspectionStatusRequest method. req, resp := client.BatchUpdateMemberEc2DeepInspectionStatusRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (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 (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 (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 (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 (c *Inspector2) CreateFilter(input *CreateFilterInput) (*CreateFilterOutput, error)
CreateFilter API operation for Inspector2.
Creates a filter resource using specified filter criteria.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Inspector2's API operation CreateFilter for usage and error information.
Returned Error Types:
ServiceQuotaExceededException You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
BadRequestException One or more tags submitted as part of the request is not valid.
ValidationException The request has failed validation due to missing required fields or having invalid inputs.
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The limit on the number of requests per second was exceeded.
InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.
See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateFilter
func (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (c *Inspector2) UpdateOrgEc2DeepInspectionConfiguration(input *UpdateOrgEc2DeepInspectionConfigurationInput) (*UpdateOrgEc2DeepInspectionConfigurationOutput, error)
UpdateOrgEc2DeepInspectionConfiguration API operation for Inspector2.
Updates the Amazon Inspector deep inspection custom paths for your organization. You must be an Amazon Inspector delegated administrator to use this API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Inspector2's API operation UpdateOrgEc2DeepInspectionConfiguration for usage and error information.
Returned Error Types:
ValidationException The request has failed validation due to missing required fields or having invalid inputs.
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The limit on the number of requests per second was exceeded.
InternalServerException The request has failed due to an internal failure of the Amazon Inspector service.
func (c *Inspector2) UpdateOrgEc2DeepInspectionConfigurationRequest(input *UpdateOrgEc2DeepInspectionConfigurationInput) (req *request.Request, output *UpdateOrgEc2DeepInspectionConfigurationOutput)
UpdateOrgEc2DeepInspectionConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateOrgEc2DeepInspectionConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateOrgEc2DeepInspectionConfiguration for more information on using the UpdateOrgEc2DeepInspectionConfiguration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateOrgEc2DeepInspectionConfigurationRequest method. req, resp := client.UpdateOrgEc2DeepInspectionConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (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 (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 (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 (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 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 (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 (s *InspectorScoreDetails) SetAdjustedCvss(v *CvssScoreDetails) *InspectorScoreDetails
SetAdjustedCvss sets the AdjustedCvss field's value.
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 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 (s *InternalServerException) Code() string
Code returns the exception type name.
func (s *InternalServerException) Error() string
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 (s *InternalServerException) Message() string
Message returns the exception's message.
func (s *InternalServerException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InternalServerException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InternalServerException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 struct { // The AWS Lambda function names to include in the aggregation results. FunctionNames []*StringFilter `locationName:"functionNames" min:"1" type:"list"` // The tags to include in the aggregation results. FunctionTags []*MapFilter `locationName:"functionTags" min:"1" type:"list"` // The resource IDs to include in the aggregation results. ResourceIds []*StringFilter `locationName:"resourceIds" min:"1" type:"list"` // Returns findings aggregated by AWS Lambda function runtime environments. Runtimes []*StringFilter `locationName:"runtimes" min:"1" type:"list"` // The finding severity to use for sorting the results. SortBy *string `locationName:"sortBy" type:"string" enum:"LambdaFunctionSortBy"` // The order to use for sorting the results. SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrder"` // contains filtered or unexported fields }
The details that define a findings aggregation based on AWS Lambda functions.
func (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 (s *LambdaFunctionAggregation) SetFunctionNames(v []*StringFilter) *LambdaFunctionAggregation
SetFunctionNames sets the FunctionNames field's value.
func (s *LambdaFunctionAggregation) SetFunctionTags(v []*MapFilter) *LambdaFunctionAggregation
SetFunctionTags sets the FunctionTags field's value.
func (s *LambdaFunctionAggregation) SetResourceIds(v []*StringFilter) *LambdaFunctionAggregation
SetResourceIds sets the ResourceIds field's value.
func (s *LambdaFunctionAggregation) SetRuntimes(v []*StringFilter) *LambdaFunctionAggregation
SetRuntimes sets the Runtimes field's value.
func (s *LambdaFunctionAggregation) SetSortBy(v string) *LambdaFunctionAggregation
SetSortBy sets the SortBy field's value.
func (s *LambdaFunctionAggregation) SetSortOrder(v string) *LambdaFunctionAggregation
SetSortOrder sets the SortOrder field's value.
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 (s *LambdaFunctionAggregation) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LambdaFunctionAggregationResponse struct { // The ID of the AWS account that owns the AWS Lambda function. AccountId *string `locationName:"accountId" min:"12" type:"string"` // The AWS Lambda function names included in the aggregation results. FunctionName *string `locationName:"functionName" type:"string"` // The tags included in the aggregation results. LambdaTags map[string]*string `locationName:"lambdaTags" type:"map"` // The date that the AWS Lambda function included in the aggregation results // was last changed. LastModifiedAt *time.Time `locationName:"lastModifiedAt" type:"timestamp"` // The resource IDs included in the aggregation results. // // ResourceId is a required field ResourceId *string `locationName:"resourceId" min:"1" type:"string" required:"true"` // The runtimes included in the aggregation results. Runtime *string `locationName:"runtime" type:"string"` // An object that contains the counts of aggregated finding per severity. SeverityCounts *SeverityCounts `locationName:"severityCounts" type:"structure"` // contains filtered or unexported fields }
A response that contains the results of an AWS Lambda function finding aggregation.
func (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 (s *LambdaFunctionAggregationResponse) SetAccountId(v string) *LambdaFunctionAggregationResponse
SetAccountId sets the AccountId field's value.
func (s *LambdaFunctionAggregationResponse) SetFunctionName(v string) *LambdaFunctionAggregationResponse
SetFunctionName sets the FunctionName field's value.
func (s *LambdaFunctionAggregationResponse) SetLambdaTags(v map[string]*string) *LambdaFunctionAggregationResponse
SetLambdaTags sets the LambdaTags field's value.
func (s *LambdaFunctionAggregationResponse) SetLastModifiedAt(v time.Time) *LambdaFunctionAggregationResponse
SetLastModifiedAt sets the LastModifiedAt field's value.
func (s *LambdaFunctionAggregationResponse) SetResourceId(v string) *LambdaFunctionAggregationResponse
SetResourceId sets the ResourceId field's value.
func (s *LambdaFunctionAggregationResponse) SetRuntime(v string) *LambdaFunctionAggregationResponse
SetRuntime sets the Runtime field's value.
func (s *LambdaFunctionAggregationResponse) SetSeverityCounts(v *SeverityCounts) *LambdaFunctionAggregationResponse
SetSeverityCounts sets the SeverityCounts field's value.
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 struct { // The name of a function. FunctionName *string `locationName:"functionName" type:"string"` // The resource tags on an AWS Lambda function. FunctionTags map[string]*string `locationName:"functionTags" type:"map"` // The layers for an AWS Lambda function. A Lambda function can have up to five // layers. Layers []*string `locationName:"layers" type:"list"` // An AWS Lambda function's runtime. Runtime *string `locationName:"runtime" type:"string" enum:"Runtime"` // contains filtered or unexported fields }
The AWS Lambda function metadata.
func (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 (s *LambdaFunctionMetadata) SetFunctionName(v string) *LambdaFunctionMetadata
SetFunctionName sets the FunctionName field's value.
func (s *LambdaFunctionMetadata) SetFunctionTags(v map[string]*string) *LambdaFunctionMetadata
SetFunctionTags sets the FunctionTags field's value.
func (s *LambdaFunctionMetadata) SetLayers(v []*string) *LambdaFunctionMetadata
SetLayers sets the Layers field's value.
func (s *LambdaFunctionMetadata) SetRuntime(v string) *LambdaFunctionMetadata
SetRuntime sets the Runtime field's value.
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 struct { // The names of the AWS Lambda functions associated with the layers. FunctionNames []*StringFilter `locationName:"functionNames" min:"1" type:"list"` // The Amazon Resource Name (ARN) of the AWS Lambda function layer. LayerArns []*StringFilter `locationName:"layerArns" min:"1" type:"list"` // The resource IDs for the AWS Lambda function layers. ResourceIds []*StringFilter `locationName:"resourceIds" min:"1" type:"list"` // The finding severity to use for sorting the results. SortBy *string `locationName:"sortBy" type:"string" enum:"LambdaLayerSortBy"` // The order to use for sorting the results. SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrder"` // contains filtered or unexported fields }
The details that define a findings aggregation based on an AWS Lambda function's layers.
func (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 (s *LambdaLayerAggregation) SetFunctionNames(v []*StringFilter) *LambdaLayerAggregation
SetFunctionNames sets the FunctionNames field's value.
func (s *LambdaLayerAggregation) SetLayerArns(v []*StringFilter) *LambdaLayerAggregation
SetLayerArns sets the LayerArns field's value.
func (s *LambdaLayerAggregation) SetResourceIds(v []*StringFilter) *LambdaLayerAggregation
SetResourceIds sets the ResourceIds field's value.
func (s *LambdaLayerAggregation) SetSortBy(v string) *LambdaLayerAggregation
SetSortBy sets the SortBy field's value.
func (s *LambdaLayerAggregation) SetSortOrder(v string) *LambdaLayerAggregation
SetSortOrder sets the SortOrder field's value.
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 (s *LambdaLayerAggregation) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LambdaLayerAggregationResponse struct { // The account ID of the AWS Lambda function layer. // // AccountId is a required field AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"` // The names of the AWS Lambda functions associated with the layers. // // FunctionName is a required field FunctionName *string `locationName:"functionName" min:"1" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the AWS Lambda function layer. // // LayerArn is a required field LayerArn *string `locationName:"layerArn" min:"1" type:"string" required:"true"` // The Resource ID of the AWS Lambda function layer. // // ResourceId is a required field ResourceId *string `locationName:"resourceId" min:"1" type:"string" required:"true"` // An object that contains the counts of aggregated finding per severity. SeverityCounts *SeverityCounts `locationName:"severityCounts" type:"structure"` // contains filtered or unexported fields }
A response that contains the results of an AWS Lambda function layer finding aggregation.
func (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 (s *LambdaLayerAggregationResponse) SetAccountId(v string) *LambdaLayerAggregationResponse
SetAccountId sets the AccountId field's value.
func (s *LambdaLayerAggregationResponse) SetFunctionName(v string) *LambdaLayerAggregationResponse
SetFunctionName sets the FunctionName field's value.
func (s *LambdaLayerAggregationResponse) SetLayerArn(v string) *LambdaLayerAggregationResponse
SetLayerArn sets the LayerArn field's value.
func (s *LambdaLayerAggregationResponse) SetResourceId(v string) *LambdaLayerAggregationResponse
SetResourceId sets the ResourceId field's value.
func (s *LambdaLayerAggregationResponse) SetSeverityCounts(v *SeverityCounts) *LambdaLayerAggregationResponse
SetSeverityCounts sets the SeverityCounts field's value.
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 struct { // The VPC security groups and subnets that are attached to an AWS Lambda function. // For more information, see VPC Settings (https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html). SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"` // A list of VPC subnet IDs. SubnetIds []*string `locationName:"subnetIds" type:"list"` // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
The VPC security groups and subnets that are attached to an AWS Lambda function. For more information, see VPC Settings (https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html).
func (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 (s *LambdaVpcConfig) SetSecurityGroupIds(v []*string) *LambdaVpcConfig
SetSecurityGroupIds sets the SecurityGroupIds field's value.
func (s *LambdaVpcConfig) SetSubnetIds(v []*string) *LambdaVpcConfig
SetSubnetIds sets the SubnetIds field's value.
func (s *LambdaVpcConfig) SetVpcId(v string) *LambdaVpcConfig
SetVpcId sets the VpcId field's value.
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 struct { // The maximum number of results to return in the response. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // A token to use for paginating results that are returned in the response. // Set the value of this parameter to null for the first request to a list action. // For subsequent calls, use the NextToken value returned from the previous // request to continue listing results after the first page. NextToken *string `locationName:"nextToken" type:"string"` // The service scan type to check permissions for. Service *string `locationName:"service" type:"string" enum:"Service"` // contains filtered or unexported fields }
func (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 (s *ListAccountPermissionsInput) SetMaxResults(v int64) *ListAccountPermissionsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListAccountPermissionsInput) SetNextToken(v string) *ListAccountPermissionsInput
SetNextToken sets the NextToken field's value.
func (s *ListAccountPermissionsInput) SetService(v string) *ListAccountPermissionsInput
SetService sets the Service field's value.
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 (s *ListAccountPermissionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ListAccountPermissionsOutput) SetNextToken(v string) *ListAccountPermissionsOutput
SetNextToken sets the NextToken field's value.
func (s *ListAccountPermissionsOutput) SetPermissions(v []*Permission) *ListAccountPermissionsOutput
SetPermissions sets the Permissions field's value.
func (s ListAccountPermissionsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListCoverageInput struct { // An object that contains details on the filters to apply to the coverage data // for your environment. FilterCriteria *CoverageFilterCriteria `locationName:"filterCriteria" type:"structure"` // The maximum number of results to return in the response. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // A token to use for paginating results that are returned in the response. // Set the value of this parameter to null for the first request to a list action. // For subsequent calls, use the NextToken value returned from the previous // request to continue listing results after the first page. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (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 (s *ListCoverageInput) SetFilterCriteria(v *CoverageFilterCriteria) *ListCoverageInput
SetFilterCriteria sets the FilterCriteria field's value.
func (s *ListCoverageInput) SetMaxResults(v int64) *ListCoverageInput
SetMaxResults sets the MaxResults field's value.
func (s *ListCoverageInput) SetNextToken(v string) *ListCoverageInput
SetNextToken sets the NextToken field's value.
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 (s *ListCoverageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ListCoverageOutput) SetCoveredResources(v []*CoveredResource) *ListCoverageOutput
SetCoveredResources sets the CoveredResources field's value.
func (s *ListCoverageOutput) SetNextToken(v string) *ListCoverageOutput
SetNextToken sets the NextToken field's value.
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 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 (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 (s *ListCoverageStatisticsInput) SetFilterCriteria(v *CoverageFilterCriteria) *ListCoverageStatisticsInput
SetFilterCriteria sets the FilterCriteria field's value.
func (s *ListCoverageStatisticsInput) SetGroupBy(v string) *ListCoverageStatisticsInput
SetGroupBy sets the GroupBy field's value.
func (s *ListCoverageStatisticsInput) SetNextToken(v string) *ListCoverageStatisticsInput
SetNextToken sets the NextToken field's value.
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 (s *ListCoverageStatisticsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ListCoverageStatisticsOutput) SetCountsByGroup(v []*Counts) *ListCoverageStatisticsOutput
SetCountsByGroup sets the CountsByGroup field's value.
func (s *ListCoverageStatisticsOutput) SetNextToken(v string) *ListCoverageStatisticsOutput
SetNextToken sets the NextToken field's value.
func (s *ListCoverageStatisticsOutput) SetTotalCounts(v int64) *ListCoverageStatisticsOutput
SetTotalCounts sets the TotalCounts field's value.
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 struct { // The maximum number of results to return in the response. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // A token to use for paginating results that are returned in the response. // Set the value of this parameter to null for the first request to a list action. // For subsequent calls, use the NextToken value returned from the previous // request to continue listing results after the first page. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (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 (s *ListDelegatedAdminAccountsInput) SetMaxResults(v int64) *ListDelegatedAdminAccountsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListDelegatedAdminAccountsInput) SetNextToken(v string) *ListDelegatedAdminAccountsInput
SetNextToken sets the NextToken field's value.
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 (s *ListDelegatedAdminAccountsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ListDelegatedAdminAccountsOutput) SetDelegatedAdminAccounts(v []*DelegatedAdminAccount) *ListDelegatedAdminAccountsOutput
SetDelegatedAdminAccounts sets the DelegatedAdminAccounts field's value.
func (s *ListDelegatedAdminAccountsOutput) SetNextToken(v string) *ListDelegatedAdminAccountsOutput
SetNextToken sets the NextToken field's value.
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 struct { // The action the filter applies to matched findings. Action *string `locationName:"action" type:"string" enum:"FilterAction"` // The Amazon resource number (ARN) of the filter. Arns []*string `locationName:"arns" type:"list"` // The maximum number of results to return in the response. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // A token to use for paginating results that are returned in the response. // Set the value of this parameter to null for the first request to a list action. // For subsequent calls, use the NextToken value returned from the previous // request to continue listing results after the first page. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (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 (s *ListFiltersInput) SetAction(v string) *ListFiltersInput
SetAction sets the Action field's value.
func (s *ListFiltersInput) SetArns(v []*string) *ListFiltersInput
SetArns sets the Arns field's value.
func (s *ListFiltersInput) SetMaxResults(v int64) *ListFiltersInput
SetMaxResults sets the MaxResults field's value.
func (s *ListFiltersInput) SetNextToken(v string) *ListFiltersInput
SetNextToken sets the NextToken field's value.
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 (s *ListFiltersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ListFiltersOutput) SetFilters(v []*Filter) *ListFiltersOutput
SetFilters sets the Filters field's value.
func (s *ListFiltersOutput) SetNextToken(v string) *ListFiltersOutput
SetNextToken sets the NextToken field's value.
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 struct { // The Amazon Web Services account IDs to retrieve finding aggregation data // for. AccountIds []*StringFilter `locationName:"accountIds" min:"1" type:"list"` // Details of the aggregation request that is used to filter your aggregation // results. AggregationRequest *AggregationRequest `locationName:"aggregationRequest" type:"structure"` // The type of the aggregation request. // // AggregationType is a required field AggregationType *string `locationName:"aggregationType" type:"string" required:"true" enum:"AggregationType"` // The maximum number of results to return in the response. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // A token to use for paginating results that are returned in the response. // Set the value of this parameter to null for the first request to a list action. // For subsequent calls, use the NextToken value returned from the previous // request to continue listing results after the first page. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (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 (s *ListFindingAggregationsInput) SetAccountIds(v []*StringFilter) *ListFindingAggregationsInput
SetAccountIds sets the AccountIds field's value.
func (s *ListFindingAggregationsInput) SetAggregationRequest(v *AggregationRequest) *ListFindingAggregationsInput
SetAggregationRequest sets the AggregationRequest field's value.
func (s *ListFindingAggregationsInput) SetAggregationType(v string) *ListFindingAggregationsInput
SetAggregationType sets the AggregationType field's value.
func (s *ListFindingAggregationsInput) SetMaxResults(v int64) *ListFindingAggregationsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListFindingAggregationsInput) SetNextToken(v string) *ListFindingAggregationsInput
SetNextToken sets the NextToken field's value.
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 (s *ListFindingAggregationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ListFindingAggregationsOutput) SetAggregationType(v string) *ListFindingAggregationsOutput
SetAggregationType sets the AggregationType field's value.
func (s *ListFindingAggregationsOutput) SetNextToken(v string) *ListFindingAggregationsOutput
SetNextToken sets the NextToken field's value.
func (s *ListFindingAggregationsOutput) SetResponses(v []*AggregationResponse) *ListFindingAggregationsOutput
SetResponses sets the Responses field's value.
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 struct { // Details on the filters to apply to your finding results. FilterCriteria *FilterCriteria `locationName:"filterCriteria" type:"structure"` // The maximum number of results to return in the response. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // A token to use for paginating results that are returned in the response. // Set the value of this parameter to null for the first request to a list action. // For subsequent calls, use the NextToken value returned from the previous // request to continue listing results after the first page. NextToken *string `locationName:"nextToken" type:"string"` // Details on the sort criteria to apply to your finding results. SortCriteria *SortCriteria `locationName:"sortCriteria" type:"structure"` // contains filtered or unexported fields }
func (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 (s *ListFindingsInput) SetFilterCriteria(v *FilterCriteria) *ListFindingsInput
SetFilterCriteria sets the FilterCriteria field's value.
func (s *ListFindingsInput) SetMaxResults(v int64) *ListFindingsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListFindingsInput) SetNextToken(v string) *ListFindingsInput
SetNextToken sets the NextToken field's value.
func (s *ListFindingsInput) SetSortCriteria(v *SortCriteria) *ListFindingsInput
SetSortCriteria sets the SortCriteria field's value.
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 (s *ListFindingsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ListFindingsOutput) SetFindings(v []*Finding) *ListFindingsOutput
SetFindings sets the Findings field's value.
func (s *ListFindingsOutput) SetNextToken(v string) *ListFindingsOutput
SetNextToken sets the NextToken field's value.
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 struct { // The maximum number of results to return in the response. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // A token to use for paginating results that are returned in the response. // Set the value of this parameter to null for the first request to a list action. // For subsequent calls, use the NextToken value returned from the previous // request to continue listing results after the first page. NextToken *string `locationName:"nextToken" type:"string"` // Specifies whether to list only currently associated members if True or to // list all members within the organization if False. OnlyAssociated *bool `locationName:"onlyAssociated" type:"boolean"` // contains filtered or unexported fields }
func (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 (s *ListMembersInput) SetMaxResults(v int64) *ListMembersInput
SetMaxResults sets the MaxResults field's value.
func (s *ListMembersInput) SetNextToken(v string) *ListMembersInput
SetNextToken sets the NextToken field's value.
func (s *ListMembersInput) SetOnlyAssociated(v bool) *ListMembersInput
SetOnlyAssociated sets the OnlyAssociated field's value.
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 (s *ListMembersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ListMembersOutput) SetMembers(v []*Member) *ListMembersOutput
SetMembers sets the Members field's value.
func (s *ListMembersOutput) SetNextToken(v string) *ListMembersOutput
SetNextToken sets the NextToken field's value.
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 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 (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 (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
SetResourceArn sets the ResourceArn field's value.
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 (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput struct { // The tags associated with the resource. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
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 (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
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 struct { // The Amazon Web Services account IDs to retrieve usage totals for. AccountIds []*string `locationName:"accountIds" min:"1" type:"list"` // The maximum number of results to return in the response. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // A token to use for paginating results that are returned in the response. // Set the value of this parameter to null for the first request to a list action. // For subsequent calls, use the NextToken value returned from the previous // request to continue listing results after the first page. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (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 (s *ListUsageTotalsInput) SetAccountIds(v []*string) *ListUsageTotalsInput
SetAccountIds sets the AccountIds field's value.
func (s *ListUsageTotalsInput) SetMaxResults(v int64) *ListUsageTotalsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListUsageTotalsInput) SetNextToken(v string) *ListUsageTotalsInput
SetNextToken sets the NextToken field's value.
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 (s *ListUsageTotalsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ListUsageTotalsOutput) SetNextToken(v string) *ListUsageTotalsOutput
SetNextToken sets the NextToken field's value.
func (s *ListUsageTotalsOutput) SetTotals(v []*UsageTotal) *ListUsageTotalsOutput
SetTotals sets the Totals field's value.
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 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 (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 (s *MapFilter) SetComparison(v string) *MapFilter
SetComparison sets the Comparison field's value.
func (s *MapFilter) SetKey(v string) *MapFilter
SetKey sets the Key field's value.
func (s *MapFilter) SetValue(v string) *MapFilter
SetValue sets the Value field's value.
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 (s *MapFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *Member) SetAccountId(v string) *Member
SetAccountId sets the AccountId field's value.
func (s *Member) SetDelegatedAdminAccountId(v string) *Member
SetDelegatedAdminAccountId sets the DelegatedAdminAccountId field's value.
func (s *Member) SetRelationshipStatus(v string) *Member
SetRelationshipStatus sets the RelationshipStatus field's value.
func (s *Member) SetUpdatedAt(v time.Time) *Member
SetUpdatedAt sets the UpdatedAt field's value.
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 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 (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 (s *MemberAccountEc2DeepInspectionStatus) SetAccountId(v string) *MemberAccountEc2DeepInspectionStatus
SetAccountId sets the AccountId field's value.
func (s *MemberAccountEc2DeepInspectionStatus) SetActivateDeepInspection(v bool) *MemberAccountEc2DeepInspectionStatus
SetActivateDeepInspection sets the ActivateDeepInspection field's value.
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 (s *MemberAccountEc2DeepInspectionStatus) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *MemberAccountEc2DeepInspectionStatusState) SetAccountId(v string) *MemberAccountEc2DeepInspectionStatusState
SetAccountId sets the AccountId field's value.
func (s *MemberAccountEc2DeepInspectionStatusState) SetErrorMessage(v string) *MemberAccountEc2DeepInspectionStatusState
SetErrorMessage sets the ErrorMessage field's value.
func (s *MemberAccountEc2DeepInspectionStatusState) SetStatus(v string) *MemberAccountEc2DeepInspectionStatusState
SetStatus sets the Status field's value.
func (s MemberAccountEc2DeepInspectionStatusState) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NetworkPath 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 (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 (s *NetworkPath) SetSteps(v []*Step) *NetworkPath
SetSteps sets the Steps field's value.
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 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 (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 (s *NetworkReachabilityDetails) SetNetworkPath(v *NetworkPath) *NetworkReachabilityDetails
SetNetworkPath sets the NetworkPath field's value.
func (s *NetworkReachabilityDetails) SetOpenPortRange(v *PortRange) *NetworkReachabilityDetails
SetOpenPortRange sets the OpenPortRange field's value.
func (s *NetworkReachabilityDetails) SetProtocol(v string) *NetworkReachabilityDetails
SetProtocol sets the Protocol field's value.
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 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 (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 (s *NumberFilter) SetLowerInclusive(v float64) *NumberFilter
SetLowerInclusive sets the LowerInclusive field's value.
func (s *NumberFilter) SetUpperInclusive(v float64) *NumberFilter
SetUpperInclusive sets the UpperInclusive field's value.
func (s NumberFilter) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PackageAggregation 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 (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 (s *PackageAggregation) SetPackageNames(v []*StringFilter) *PackageAggregation
SetPackageNames sets the PackageNames field's value.
func (s *PackageAggregation) SetSortBy(v string) *PackageAggregation
SetSortBy sets the SortBy field's value.
func (s *PackageAggregation) SetSortOrder(v string) *PackageAggregation
SetSortOrder sets the SortOrder field's value.
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 (s *PackageAggregation) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *PackageAggregationResponse) SetAccountId(v string) *PackageAggregationResponse
SetAccountId sets the AccountId field's value.
func (s *PackageAggregationResponse) SetPackageName(v string) *PackageAggregationResponse
SetPackageName sets the PackageName field's value.
func (s *PackageAggregationResponse) SetSeverityCounts(v *SeverityCounts) *PackageAggregationResponse
SetSeverityCounts sets the SeverityCounts field's value.
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 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 (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 (s *PackageFilter) SetArchitecture(v *StringFilter) *PackageFilter
SetArchitecture sets the Architecture field's value.
func (s *PackageFilter) SetEpoch(v *NumberFilter) *PackageFilter
SetEpoch sets the Epoch field's value.
func (s *PackageFilter) SetName(v *StringFilter) *PackageFilter
SetName sets the Name field's value.
func (s *PackageFilter) SetRelease(v *StringFilter) *PackageFilter
SetRelease sets the Release field's value.
func (s *PackageFilter) SetSourceLambdaLayerArn(v *StringFilter) *PackageFilter
SetSourceLambdaLayerArn sets the SourceLambdaLayerArn field's value.
func (s *PackageFilter) SetSourceLayerHash(v *StringFilter) *PackageFilter
SetSourceLayerHash sets the SourceLayerHash field's value.
func (s *PackageFilter) SetVersion(v *StringFilter) *PackageFilter
SetVersion sets the Version field's value.
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 (s *PackageFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *PackageVulnerabilityDetails) SetCvss(v []*CvssScore) *PackageVulnerabilityDetails
SetCvss sets the Cvss field's value.
func (s *PackageVulnerabilityDetails) SetReferenceUrls(v []*string) *PackageVulnerabilityDetails
SetReferenceUrls sets the ReferenceUrls field's value.
func (s *PackageVulnerabilityDetails) SetRelatedVulnerabilities(v []*string) *PackageVulnerabilityDetails
SetRelatedVulnerabilities sets the RelatedVulnerabilities field's value.
func (s *PackageVulnerabilityDetails) SetSource(v string) *PackageVulnerabilityDetails
SetSource sets the Source field's value.
func (s *PackageVulnerabilityDetails) SetSourceUrl(v string) *PackageVulnerabilityDetails
SetSourceUrl sets the SourceUrl field's value.
func (s *PackageVulnerabilityDetails) SetVendorCreatedAt(v time.Time) *PackageVulnerabilityDetails
SetVendorCreatedAt sets the VendorCreatedAt field's value.
func (s *PackageVulnerabilityDetails) SetVendorSeverity(v string) *PackageVulnerabilityDetails
SetVendorSeverity sets the VendorSeverity field's value.
func (s *PackageVulnerabilityDetails) SetVendorUpdatedAt(v time.Time) *PackageVulnerabilityDetails
SetVendorUpdatedAt sets the VendorUpdatedAt field's value.
func (s *PackageVulnerabilityDetails) SetVulnerabilityId(v string) *PackageVulnerabilityDetails
SetVulnerabilityId sets the VulnerabilityId field's value.
func (s *PackageVulnerabilityDetails) SetVulnerablePackages(v []*VulnerablePackage) *PackageVulnerabilityDetails
SetVulnerablePackages sets the VulnerablePackages field's value.
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 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 (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 (s *Permission) SetOperation(v string) *Permission
SetOperation sets the Operation field's value.
func (s *Permission) SetService(v string) *Permission
SetService sets the Service field's value.
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 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 (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 (s *PortRange) SetBegin(v int64) *PortRange
SetBegin sets the Begin field's value.
func (s *PortRange) SetEnd(v int64) *PortRange
SetEnd sets the End field's value.
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 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 (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 (s *PortRangeFilter) SetBeginInclusive(v int64) *PortRangeFilter
SetBeginInclusive sets the BeginInclusive field's value.
func (s *PortRangeFilter) SetEndInclusive(v int64) *PortRangeFilter
SetEndInclusive sets the EndInclusive field's value.
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 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 (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 (s *Recommendation) SetText(v string) *Recommendation
SetText sets the Text field's value.
func (s *Recommendation) SetUrl(v string) *Recommendation
SetUrl sets the Url field's value.
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 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 (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 (s *Remediation) SetRecommendation(v *Recommendation) *Remediation
SetRecommendation sets the Recommendation field's value.
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 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 (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 (s *RepositoryAggregation) SetRepositories(v []*StringFilter) *RepositoryAggregation
SetRepositories sets the Repositories field's value.
func (s *RepositoryAggregation) SetSortBy(v string) *RepositoryAggregation
SetSortBy sets the SortBy field's value.
func (s *RepositoryAggregation) SetSortOrder(v string) *RepositoryAggregation
SetSortOrder sets the SortOrder field's value.
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 (s *RepositoryAggregation) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *RepositoryAggregationResponse) SetAccountId(v string) *RepositoryAggregationResponse
SetAccountId sets the AccountId field's value.
func (s *RepositoryAggregationResponse) SetAffectedImages(v int64) *RepositoryAggregationResponse
SetAffectedImages sets the AffectedImages field's value.
func (s *RepositoryAggregationResponse) SetRepository(v string) *RepositoryAggregationResponse
SetRepository sets the Repository field's value.
func (s *RepositoryAggregationResponse) SetSeverityCounts(v *SeverityCounts) *RepositoryAggregationResponse
SetSeverityCounts sets the SeverityCounts field's value.
func (s RepositoryAggregationResponse) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Resource 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 (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 (s *Resource) SetDetails(v *ResourceDetails) *Resource
SetDetails sets the Details field's value.
func (s *Resource) SetId(v string) *Resource
SetId sets the Id field's value.
func (s *Resource) SetPartition(v string) *Resource
SetPartition sets the Partition field's value.
func (s *Resource) SetRegion(v string) *Resource
SetRegion sets the Region field's value.
func (s *Resource) SetTags(v map[string]*string) *Resource
SetTags sets the Tags field's value.
func (s *Resource) SetType(v string) *Resource
SetType sets the Type field's value.
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 struct { // An object that contains details about the Amazon EC2 instance involved in // the finding. AwsEc2Instance *AwsEc2InstanceDetails `locationName:"awsEc2Instance" type:"structure"` // An object that contains details about the Amazon ECR container image involved // in the finding. AwsEcrContainerImage *AwsEcrContainerImageDetails `locationName:"awsEcrContainerImage" type:"structure"` // A summary of the information about an AWS Lambda function affected by a finding. AwsLambdaFunction *AwsLambdaFunctionDetails `locationName:"awsLambdaFunction" type:"structure"` // contains filtered or unexported fields }
Contains details about the resource involved in the finding.
func (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 (s *ResourceDetails) SetAwsEc2Instance(v *AwsEc2InstanceDetails) *ResourceDetails
SetAwsEc2Instance sets the AwsEc2Instance field's value.
func (s *ResourceDetails) SetAwsEcrContainerImage(v *AwsEcrContainerImageDetails) *ResourceDetails
SetAwsEcrContainerImage sets the AwsEcrContainerImage field's value.
func (s *ResourceDetails) SetAwsLambdaFunction(v *AwsLambdaFunctionDetails) *ResourceDetails
SetAwsLambdaFunction sets the AwsLambdaFunction field's value.
func (s ResourceDetails) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceNotFoundException 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 (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (s *ResourceNotFoundException) Error() string
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 (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 struct { // An object that contains metadata details for an Amazon EC2 instance. Ec2 *Ec2Metadata `locationName:"ec2" type:"structure"` // An object that contains details about the container metadata for an Amazon // ECR image. EcrImage *EcrContainerImageMetadata `locationName:"ecrImage" type:"structure"` // An object that contains details about the repository an Amazon ECR image // resides in. EcrRepository *EcrRepositoryMetadata `locationName:"ecrRepository" type:"structure"` // An object that contains metadata details for an AWS Lambda function. LambdaFunction *LambdaFunctionMetadata `locationName:"lambdaFunction" type:"structure"` // contains filtered or unexported fields }
An object that contains details about the metadata for an Amazon ECR resource.
func (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 (s *ResourceScanMetadata) SetEc2(v *Ec2Metadata) *ResourceScanMetadata
SetEc2 sets the Ec2 field's value.
func (s *ResourceScanMetadata) SetEcrImage(v *EcrContainerImageMetadata) *ResourceScanMetadata
SetEcrImage sets the EcrImage field's value.
func (s *ResourceScanMetadata) SetEcrRepository(v *EcrRepositoryMetadata) *ResourceScanMetadata
SetEcrRepository sets the EcrRepository field's value.
func (s *ResourceScanMetadata) SetLambdaFunction(v *LambdaFunctionMetadata) *ResourceScanMetadata
SetLambdaFunction sets the LambdaFunction field's value.
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 struct { // An object detailing the state of Amazon Inspector scanning for Amazon EC2 // resources. // // Ec2 is a required field Ec2 *State `locationName:"ec2" type:"structure" required:"true"` // An object detailing the state of Amazon Inspector scanning for Amazon ECR // resources. // // Ecr is a required field Ecr *State `locationName:"ecr" type:"structure" required:"true"` // An object that described the state of Amazon Inspector scans for an account. Lambda *State `locationName:"lambda" type:"structure"` // contains filtered or unexported fields }
Details the state of Amazon Inspector for each resource type Amazon Inspector scans.
func (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 (s *ResourceState) SetEc2(v *State) *ResourceState
SetEc2 sets the Ec2 field's value.
func (s *ResourceState) SetEcr(v *State) *ResourceState
SetEcr sets the Ecr field's value.
func (s *ResourceState) SetLambda(v *State) *ResourceState
SetLambda sets the Lambda field's value.
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 struct { // The status of Amazon Inspector scanning for Amazon EC2 resources. // // Ec2 is a required field Ec2 *string `locationName:"ec2" type:"string" required:"true" enum:"Status"` // The status of Amazon Inspector scanning for Amazon ECR resources. // // Ecr is a required field Ecr *string `locationName:"ecr" type:"string" required:"true" enum:"Status"` // The status of Amazon Inspector scanning for AWS Lambda function. Lambda *string `locationName:"lambda" type:"string" enum:"Status"` // contains filtered or unexported fields }
Details the status of Amazon Inspector for each resource type Amazon Inspector scans.
func (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 (s *ResourceStatus) SetEc2(v string) *ResourceStatus
SetEc2 sets the Ec2 field's value.
func (s *ResourceStatus) SetEcr(v string) *ResourceStatus
SetEcr sets the Ecr field's value.
func (s *ResourceStatus) SetLambda(v string) *ResourceStatus
SetLambda sets the Lambda field's value.
func (s ResourceStatus) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ScanStatus struct { // The reason for the scan. // // Reason is a required field Reason *string `locationName:"reason" type:"string" required:"true" enum:"ScanStatusReason"` // The status code of the scan. // // StatusCode is a required field StatusCode *string `locationName:"statusCode" type:"string" required:"true" enum:"ScanStatusCode"` // contains filtered or unexported fields }
The status of the scan.
func (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 (s *ScanStatus) SetReason(v string) *ScanStatus
SetReason sets the Reason field's value.
func (s *ScanStatus) SetStatusCode(v string) *ScanStatus
SetStatusCode sets the StatusCode field's value.
func (s ScanStatus) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type SearchVulnerabilitiesFilterCriteria 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 (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 (s *SearchVulnerabilitiesFilterCriteria) SetVulnerabilityIds(v []*string) *SearchVulnerabilitiesFilterCriteria
SetVulnerabilityIds sets the VulnerabilityIds field's value.
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 (s *SearchVulnerabilitiesFilterCriteria) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *SearchVulnerabilitiesInput) SetFilterCriteria(v *SearchVulnerabilitiesFilterCriteria) *SearchVulnerabilitiesInput
SetFilterCriteria sets the FilterCriteria field's value.
func (s *SearchVulnerabilitiesInput) SetNextToken(v string) *SearchVulnerabilitiesInput
SetNextToken sets the NextToken field's value.
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 (s *SearchVulnerabilitiesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *SearchVulnerabilitiesOutput) SetNextToken(v string) *SearchVulnerabilitiesOutput
SetNextToken sets the NextToken field's value.
func (s *SearchVulnerabilitiesOutput) SetVulnerabilities(v []*Vulnerability) *SearchVulnerabilitiesOutput
SetVulnerabilities sets the Vulnerabilities field's value.
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 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 (s *ServiceQuotaExceededException) Code() string
Code returns the exception type name.
func (s *ServiceQuotaExceededException) Error() string
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 (s *ServiceQuotaExceededException) Message() string
Message returns the exception's message.
func (s *ServiceQuotaExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ServiceQuotaExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ServiceQuotaExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (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 (s *SeverityCounts) SetAll(v int64) *SeverityCounts
SetAll sets the All field's value.
func (s *SeverityCounts) SetCritical(v int64) *SeverityCounts
SetCritical sets the Critical field's value.
func (s *SeverityCounts) SetHigh(v int64) *SeverityCounts
SetHigh sets the High field's value.
func (s *SeverityCounts) SetMedium(v int64) *SeverityCounts
SetMedium sets the Medium field's value.
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 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 (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 (s *SortCriteria) SetField(v string) *SortCriteria
SetField sets the Field field's value.
func (s *SortCriteria) SetSortOrder(v string) *SortCriteria
SetSortOrder sets the SortOrder field's value.
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 (s *SortCriteria) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *State) SetErrorCode(v string) *State
SetErrorCode sets the ErrorCode field's value.
func (s *State) SetErrorMessage(v string) *State
SetErrorMessage sets the ErrorMessage field's value.
func (s *State) SetStatus(v string) *State
SetStatus sets the Status field's value.
func (s State) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Step 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 (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 (s *Step) SetComponentId(v string) *Step
SetComponentId sets the ComponentId field's value.
func (s *Step) SetComponentType(v string) *Step
SetComponentType sets the ComponentType field's value.
func (s Step) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type StringFilter 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 (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 (s *StringFilter) SetComparison(v string) *StringFilter
SetComparison sets the Comparison field's value.
func (s *StringFilter) SetValue(v string) *StringFilter
SetValue sets the Value field's value.
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 (s *StringFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput
SetTags sets the Tags field's value.
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 (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput struct {
// contains filtered or unexported fields
}
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 (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 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 (s *ThrottlingException) Code() string
Code returns the exception type name.