Documentation ¶
Index ¶
- type IClient
- func (_m *IClient) ApplyArchiveRule(ctx context.Context, params *accessanalyzer.ApplyArchiveRuleInput, ...) (*accessanalyzer.ApplyArchiveRuleOutput, error)
- func (_m *IClient) CancelPolicyGeneration(ctx context.Context, params *accessanalyzer.CancelPolicyGenerationInput, ...) (*accessanalyzer.CancelPolicyGenerationOutput, error)
- func (_m *IClient) CheckAccessNotGranted(ctx context.Context, params *accessanalyzer.CheckAccessNotGrantedInput, ...) (*accessanalyzer.CheckAccessNotGrantedOutput, error)
- func (_m *IClient) CheckNoNewAccess(ctx context.Context, params *accessanalyzer.CheckNoNewAccessInput, ...) (*accessanalyzer.CheckNoNewAccessOutput, error)
- func (_m *IClient) CheckNoPublicAccess(ctx context.Context, params *accessanalyzer.CheckNoPublicAccessInput, ...) (*accessanalyzer.CheckNoPublicAccessOutput, error)
- func (_m *IClient) CreateAccessPreview(ctx context.Context, params *accessanalyzer.CreateAccessPreviewInput, ...) (*accessanalyzer.CreateAccessPreviewOutput, error)
- func (_m *IClient) CreateAnalyzer(ctx context.Context, params *accessanalyzer.CreateAnalyzerInput, ...) (*accessanalyzer.CreateAnalyzerOutput, error)
- func (_m *IClient) CreateArchiveRule(ctx context.Context, params *accessanalyzer.CreateArchiveRuleInput, ...) (*accessanalyzer.CreateArchiveRuleOutput, error)
- func (_m *IClient) DeleteAnalyzer(ctx context.Context, params *accessanalyzer.DeleteAnalyzerInput, ...) (*accessanalyzer.DeleteAnalyzerOutput, error)
- func (_m *IClient) DeleteArchiveRule(ctx context.Context, params *accessanalyzer.DeleteArchiveRuleInput, ...) (*accessanalyzer.DeleteArchiveRuleOutput, error)
- func (_m *IClient) GenerateFindingRecommendation(ctx context.Context, params *accessanalyzer.GenerateFindingRecommendationInput, ...) (*accessanalyzer.GenerateFindingRecommendationOutput, error)
- func (_m *IClient) GetAccessPreview(ctx context.Context, params *accessanalyzer.GetAccessPreviewInput, ...) (*accessanalyzer.GetAccessPreviewOutput, error)
- func (_m *IClient) GetAnalyzedResource(ctx context.Context, params *accessanalyzer.GetAnalyzedResourceInput, ...) (*accessanalyzer.GetAnalyzedResourceOutput, error)
- func (_m *IClient) GetAnalyzer(ctx context.Context, params *accessanalyzer.GetAnalyzerInput, ...) (*accessanalyzer.GetAnalyzerOutput, error)
- func (_m *IClient) GetArchiveRule(ctx context.Context, params *accessanalyzer.GetArchiveRuleInput, ...) (*accessanalyzer.GetArchiveRuleOutput, error)
- func (_m *IClient) GetFinding(ctx context.Context, params *accessanalyzer.GetFindingInput, ...) (*accessanalyzer.GetFindingOutput, error)
- func (_m *IClient) GetFindingRecommendation(ctx context.Context, params *accessanalyzer.GetFindingRecommendationInput, ...) (*accessanalyzer.GetFindingRecommendationOutput, error)
- func (_m *IClient) GetFindingV2(ctx context.Context, params *accessanalyzer.GetFindingV2Input, ...) (*accessanalyzer.GetFindingV2Output, error)
- func (_m *IClient) GetGeneratedPolicy(ctx context.Context, params *accessanalyzer.GetGeneratedPolicyInput, ...) (*accessanalyzer.GetGeneratedPolicyOutput, error)
- func (_m *IClient) ListAccessPreviewFindings(ctx context.Context, params *accessanalyzer.ListAccessPreviewFindingsInput, ...) (*accessanalyzer.ListAccessPreviewFindingsOutput, error)
- func (_m *IClient) ListAccessPreviews(ctx context.Context, params *accessanalyzer.ListAccessPreviewsInput, ...) (*accessanalyzer.ListAccessPreviewsOutput, error)
- func (_m *IClient) ListAnalyzedResources(ctx context.Context, params *accessanalyzer.ListAnalyzedResourcesInput, ...) (*accessanalyzer.ListAnalyzedResourcesOutput, error)
- func (_m *IClient) ListAnalyzers(ctx context.Context, params *accessanalyzer.ListAnalyzersInput, ...) (*accessanalyzer.ListAnalyzersOutput, error)
- func (_m *IClient) ListArchiveRules(ctx context.Context, params *accessanalyzer.ListArchiveRulesInput, ...) (*accessanalyzer.ListArchiveRulesOutput, error)
- func (_m *IClient) ListFindings(ctx context.Context, params *accessanalyzer.ListFindingsInput, ...) (*accessanalyzer.ListFindingsOutput, error)
- func (_m *IClient) ListFindingsV2(ctx context.Context, params *accessanalyzer.ListFindingsV2Input, ...) (*accessanalyzer.ListFindingsV2Output, error)
- func (_m *IClient) ListPolicyGenerations(ctx context.Context, params *accessanalyzer.ListPolicyGenerationsInput, ...) (*accessanalyzer.ListPolicyGenerationsOutput, error)
- func (_m *IClient) ListTagsForResource(ctx context.Context, params *accessanalyzer.ListTagsForResourceInput, ...) (*accessanalyzer.ListTagsForResourceOutput, error)
- func (_m *IClient) Options() accessanalyzer.Options
- func (_m *IClient) StartPolicyGeneration(ctx context.Context, params *accessanalyzer.StartPolicyGenerationInput, ...) (*accessanalyzer.StartPolicyGenerationOutput, error)
- func (_m *IClient) StartResourceScan(ctx context.Context, params *accessanalyzer.StartResourceScanInput, ...) (*accessanalyzer.StartResourceScanOutput, error)
- func (_m *IClient) TagResource(ctx context.Context, params *accessanalyzer.TagResourceInput, ...) (*accessanalyzer.TagResourceOutput, error)
- func (_m *IClient) UntagResource(ctx context.Context, params *accessanalyzer.UntagResourceInput, ...) (*accessanalyzer.UntagResourceOutput, error)
- func (_m *IClient) UpdateArchiveRule(ctx context.Context, params *accessanalyzer.UpdateArchiveRuleInput, ...) (*accessanalyzer.UpdateArchiveRuleOutput, error)
- func (_m *IClient) UpdateFindings(ctx context.Context, params *accessanalyzer.UpdateFindingsInput, ...) (*accessanalyzer.UpdateFindingsOutput, error)
- func (_m *IClient) ValidatePolicy(ctx context.Context, params *accessanalyzer.ValidatePolicyInput, ...) (*accessanalyzer.ValidatePolicyOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IClient ¶
IClient is an autogenerated mock type for the IClient type
func NewIClient ¶
NewIClient creates a new instance of IClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IClient) ApplyArchiveRule ¶
func (_m *IClient) ApplyArchiveRule(ctx context.Context, params *accessanalyzer.ApplyArchiveRuleInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.ApplyArchiveRuleOutput, error)
ApplyArchiveRule provides a mock function with given fields: ctx, params, optFns
func (*IClient) CancelPolicyGeneration ¶
func (_m *IClient) CancelPolicyGeneration(ctx context.Context, params *accessanalyzer.CancelPolicyGenerationInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.CancelPolicyGenerationOutput, error)
CancelPolicyGeneration provides a mock function with given fields: ctx, params, optFns
func (*IClient) CheckAccessNotGranted ¶
func (_m *IClient) CheckAccessNotGranted(ctx context.Context, params *accessanalyzer.CheckAccessNotGrantedInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.CheckAccessNotGrantedOutput, error)
CheckAccessNotGranted provides a mock function with given fields: ctx, params, optFns
func (*IClient) CheckNoNewAccess ¶
func (_m *IClient) CheckNoNewAccess(ctx context.Context, params *accessanalyzer.CheckNoNewAccessInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.CheckNoNewAccessOutput, error)
CheckNoNewAccess provides a mock function with given fields: ctx, params, optFns
func (*IClient) CheckNoPublicAccess ¶
func (_m *IClient) CheckNoPublicAccess(ctx context.Context, params *accessanalyzer.CheckNoPublicAccessInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.CheckNoPublicAccessOutput, error)
CheckNoPublicAccess provides a mock function with given fields: ctx, params, optFns
func (*IClient) CreateAccessPreview ¶
func (_m *IClient) CreateAccessPreview(ctx context.Context, params *accessanalyzer.CreateAccessPreviewInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.CreateAccessPreviewOutput, error)
CreateAccessPreview provides a mock function with given fields: ctx, params, optFns
func (*IClient) CreateAnalyzer ¶
func (_m *IClient) CreateAnalyzer(ctx context.Context, params *accessanalyzer.CreateAnalyzerInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.CreateAnalyzerOutput, error)
CreateAnalyzer provides a mock function with given fields: ctx, params, optFns
func (*IClient) CreateArchiveRule ¶
func (_m *IClient) CreateArchiveRule(ctx context.Context, params *accessanalyzer.CreateArchiveRuleInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.CreateArchiveRuleOutput, error)
CreateArchiveRule provides a mock function with given fields: ctx, params, optFns
func (*IClient) DeleteAnalyzer ¶
func (_m *IClient) DeleteAnalyzer(ctx context.Context, params *accessanalyzer.DeleteAnalyzerInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.DeleteAnalyzerOutput, error)
DeleteAnalyzer provides a mock function with given fields: ctx, params, optFns
func (*IClient) DeleteArchiveRule ¶
func (_m *IClient) DeleteArchiveRule(ctx context.Context, params *accessanalyzer.DeleteArchiveRuleInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.DeleteArchiveRuleOutput, error)
DeleteArchiveRule provides a mock function with given fields: ctx, params, optFns
func (*IClient) GenerateFindingRecommendation ¶
func (_m *IClient) GenerateFindingRecommendation(ctx context.Context, params *accessanalyzer.GenerateFindingRecommendationInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.GenerateFindingRecommendationOutput, error)
GenerateFindingRecommendation provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetAccessPreview ¶
func (_m *IClient) GetAccessPreview(ctx context.Context, params *accessanalyzer.GetAccessPreviewInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.GetAccessPreviewOutput, error)
GetAccessPreview provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetAnalyzedResource ¶
func (_m *IClient) GetAnalyzedResource(ctx context.Context, params *accessanalyzer.GetAnalyzedResourceInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.GetAnalyzedResourceOutput, error)
GetAnalyzedResource provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetAnalyzer ¶
func (_m *IClient) GetAnalyzer(ctx context.Context, params *accessanalyzer.GetAnalyzerInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.GetAnalyzerOutput, error)
GetAnalyzer provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetArchiveRule ¶
func (_m *IClient) GetArchiveRule(ctx context.Context, params *accessanalyzer.GetArchiveRuleInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.GetArchiveRuleOutput, error)
GetArchiveRule provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetFinding ¶
func (_m *IClient) GetFinding(ctx context.Context, params *accessanalyzer.GetFindingInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.GetFindingOutput, error)
GetFinding provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetFindingRecommendation ¶
func (_m *IClient) GetFindingRecommendation(ctx context.Context, params *accessanalyzer.GetFindingRecommendationInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.GetFindingRecommendationOutput, error)
GetFindingRecommendation provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetFindingV2 ¶
func (_m *IClient) GetFindingV2(ctx context.Context, params *accessanalyzer.GetFindingV2Input, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.GetFindingV2Output, error)
GetFindingV2 provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetGeneratedPolicy ¶
func (_m *IClient) GetGeneratedPolicy(ctx context.Context, params *accessanalyzer.GetGeneratedPolicyInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.GetGeneratedPolicyOutput, error)
GetGeneratedPolicy provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListAccessPreviewFindings ¶
func (_m *IClient) ListAccessPreviewFindings(ctx context.Context, params *accessanalyzer.ListAccessPreviewFindingsInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.ListAccessPreviewFindingsOutput, error)
ListAccessPreviewFindings provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListAccessPreviews ¶
func (_m *IClient) ListAccessPreviews(ctx context.Context, params *accessanalyzer.ListAccessPreviewsInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.ListAccessPreviewsOutput, error)
ListAccessPreviews provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListAnalyzedResources ¶
func (_m *IClient) ListAnalyzedResources(ctx context.Context, params *accessanalyzer.ListAnalyzedResourcesInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.ListAnalyzedResourcesOutput, error)
ListAnalyzedResources provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListAnalyzers ¶
func (_m *IClient) ListAnalyzers(ctx context.Context, params *accessanalyzer.ListAnalyzersInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.ListAnalyzersOutput, error)
ListAnalyzers provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListArchiveRules ¶
func (_m *IClient) ListArchiveRules(ctx context.Context, params *accessanalyzer.ListArchiveRulesInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.ListArchiveRulesOutput, error)
ListArchiveRules provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListFindings ¶
func (_m *IClient) ListFindings(ctx context.Context, params *accessanalyzer.ListFindingsInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.ListFindingsOutput, error)
ListFindings provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListFindingsV2 ¶
func (_m *IClient) ListFindingsV2(ctx context.Context, params *accessanalyzer.ListFindingsV2Input, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.ListFindingsV2Output, error)
ListFindingsV2 provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListPolicyGenerations ¶
func (_m *IClient) ListPolicyGenerations(ctx context.Context, params *accessanalyzer.ListPolicyGenerationsInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.ListPolicyGenerationsOutput, error)
ListPolicyGenerations provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListTagsForResource ¶
func (_m *IClient) ListTagsForResource(ctx context.Context, params *accessanalyzer.ListTagsForResourceInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.ListTagsForResourceOutput, error)
ListTagsForResource provides a mock function with given fields: ctx, params, optFns
func (*IClient) Options ¶
func (_m *IClient) Options() accessanalyzer.Options
Options provides a mock function with given fields:
func (*IClient) StartPolicyGeneration ¶
func (_m *IClient) StartPolicyGeneration(ctx context.Context, params *accessanalyzer.StartPolicyGenerationInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.StartPolicyGenerationOutput, error)
StartPolicyGeneration provides a mock function with given fields: ctx, params, optFns
func (*IClient) StartResourceScan ¶
func (_m *IClient) StartResourceScan(ctx context.Context, params *accessanalyzer.StartResourceScanInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.StartResourceScanOutput, error)
StartResourceScan provides a mock function with given fields: ctx, params, optFns
func (*IClient) TagResource ¶
func (_m *IClient) TagResource(ctx context.Context, params *accessanalyzer.TagResourceInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.TagResourceOutput, error)
TagResource provides a mock function with given fields: ctx, params, optFns
func (*IClient) UntagResource ¶
func (_m *IClient) UntagResource(ctx context.Context, params *accessanalyzer.UntagResourceInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.UntagResourceOutput, error)
UntagResource provides a mock function with given fields: ctx, params, optFns
func (*IClient) UpdateArchiveRule ¶
func (_m *IClient) UpdateArchiveRule(ctx context.Context, params *accessanalyzer.UpdateArchiveRuleInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.UpdateArchiveRuleOutput, error)
UpdateArchiveRule provides a mock function with given fields: ctx, params, optFns
func (*IClient) UpdateFindings ¶
func (_m *IClient) UpdateFindings(ctx context.Context, params *accessanalyzer.UpdateFindingsInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.UpdateFindingsOutput, error)
UpdateFindings provides a mock function with given fields: ctx, params, optFns
func (*IClient) ValidatePolicy ¶
func (_m *IClient) ValidatePolicy(ctx context.Context, params *accessanalyzer.ValidatePolicyInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.ValidatePolicyOutput, error)
ValidatePolicy provides a mock function with given fields: ctx, params, optFns