Documentation ¶
Index ¶
- type IClient
- func (_m *IClient) AssociateDRTLogBucket(ctx context.Context, params *shield.AssociateDRTLogBucketInput, ...) (*shield.AssociateDRTLogBucketOutput, error)
- func (_m *IClient) AssociateDRTRole(ctx context.Context, params *shield.AssociateDRTRoleInput, ...) (*shield.AssociateDRTRoleOutput, error)
- func (_m *IClient) AssociateHealthCheck(ctx context.Context, params *shield.AssociateHealthCheckInput, ...) (*shield.AssociateHealthCheckOutput, error)
- func (_m *IClient) AssociateProactiveEngagementDetails(ctx context.Context, params *shield.AssociateProactiveEngagementDetailsInput, ...) (*shield.AssociateProactiveEngagementDetailsOutput, error)
- func (_m *IClient) CreateProtection(ctx context.Context, params *shield.CreateProtectionInput, ...) (*shield.CreateProtectionOutput, error)
- func (_m *IClient) CreateProtectionGroup(ctx context.Context, params *shield.CreateProtectionGroupInput, ...) (*shield.CreateProtectionGroupOutput, error)
- func (_m *IClient) CreateSubscription(ctx context.Context, params *shield.CreateSubscriptionInput, ...) (*shield.CreateSubscriptionOutput, error)
- func (_m *IClient) DeleteProtection(ctx context.Context, params *shield.DeleteProtectionInput, ...) (*shield.DeleteProtectionOutput, error)
- func (_m *IClient) DeleteProtectionGroup(ctx context.Context, params *shield.DeleteProtectionGroupInput, ...) (*shield.DeleteProtectionGroupOutput, error)
- func (_m *IClient) DeleteSubscription(ctx context.Context, params *shield.DeleteSubscriptionInput, ...) (*shield.DeleteSubscriptionOutput, error)
- func (_m *IClient) DescribeAttack(ctx context.Context, params *shield.DescribeAttackInput, ...) (*shield.DescribeAttackOutput, error)
- func (_m *IClient) DescribeAttackStatistics(ctx context.Context, params *shield.DescribeAttackStatisticsInput, ...) (*shield.DescribeAttackStatisticsOutput, error)
- func (_m *IClient) DescribeDRTAccess(ctx context.Context, params *shield.DescribeDRTAccessInput, ...) (*shield.DescribeDRTAccessOutput, error)
- func (_m *IClient) DescribeEmergencyContactSettings(ctx context.Context, params *shield.DescribeEmergencyContactSettingsInput, ...) (*shield.DescribeEmergencyContactSettingsOutput, error)
- func (_m *IClient) DescribeProtection(ctx context.Context, params *shield.DescribeProtectionInput, ...) (*shield.DescribeProtectionOutput, error)
- func (_m *IClient) DescribeProtectionGroup(ctx context.Context, params *shield.DescribeProtectionGroupInput, ...) (*shield.DescribeProtectionGroupOutput, error)
- func (_m *IClient) DescribeSubscription(ctx context.Context, params *shield.DescribeSubscriptionInput, ...) (*shield.DescribeSubscriptionOutput, error)
- func (_m *IClient) DisableApplicationLayerAutomaticResponse(ctx context.Context, ...) (*shield.DisableApplicationLayerAutomaticResponseOutput, error)
- func (_m *IClient) DisableProactiveEngagement(ctx context.Context, params *shield.DisableProactiveEngagementInput, ...) (*shield.DisableProactiveEngagementOutput, error)
- func (_m *IClient) DisassociateDRTLogBucket(ctx context.Context, params *shield.DisassociateDRTLogBucketInput, ...) (*shield.DisassociateDRTLogBucketOutput, error)
- func (_m *IClient) DisassociateDRTRole(ctx context.Context, params *shield.DisassociateDRTRoleInput, ...) (*shield.DisassociateDRTRoleOutput, error)
- func (_m *IClient) DisassociateHealthCheck(ctx context.Context, params *shield.DisassociateHealthCheckInput, ...) (*shield.DisassociateHealthCheckOutput, error)
- func (_m *IClient) EnableApplicationLayerAutomaticResponse(ctx context.Context, ...) (*shield.EnableApplicationLayerAutomaticResponseOutput, error)
- func (_m *IClient) EnableProactiveEngagement(ctx context.Context, params *shield.EnableProactiveEngagementInput, ...) (*shield.EnableProactiveEngagementOutput, error)
- func (_m *IClient) GetSubscriptionState(ctx context.Context, params *shield.GetSubscriptionStateInput, ...) (*shield.GetSubscriptionStateOutput, error)
- func (_m *IClient) ListAttacks(ctx context.Context, params *shield.ListAttacksInput, ...) (*shield.ListAttacksOutput, error)
- func (_m *IClient) ListProtectionGroups(ctx context.Context, params *shield.ListProtectionGroupsInput, ...) (*shield.ListProtectionGroupsOutput, error)
- func (_m *IClient) ListProtections(ctx context.Context, params *shield.ListProtectionsInput, ...) (*shield.ListProtectionsOutput, error)
- func (_m *IClient) ListResourcesInProtectionGroup(ctx context.Context, params *shield.ListResourcesInProtectionGroupInput, ...) (*shield.ListResourcesInProtectionGroupOutput, error)
- func (_m *IClient) ListTagsForResource(ctx context.Context, params *shield.ListTagsForResourceInput, ...) (*shield.ListTagsForResourceOutput, error)
- func (_m *IClient) Options() shield.Options
- func (_m *IClient) TagResource(ctx context.Context, params *shield.TagResourceInput, ...) (*shield.TagResourceOutput, error)
- func (_m *IClient) UntagResource(ctx context.Context, params *shield.UntagResourceInput, ...) (*shield.UntagResourceOutput, error)
- func (_m *IClient) UpdateApplicationLayerAutomaticResponse(ctx context.Context, ...) (*shield.UpdateApplicationLayerAutomaticResponseOutput, error)
- func (_m *IClient) UpdateEmergencyContactSettings(ctx context.Context, params *shield.UpdateEmergencyContactSettingsInput, ...) (*shield.UpdateEmergencyContactSettingsOutput, error)
- func (_m *IClient) UpdateProtectionGroup(ctx context.Context, params *shield.UpdateProtectionGroupInput, ...) (*shield.UpdateProtectionGroupOutput, error)
- func (_m *IClient) UpdateSubscription(ctx context.Context, params *shield.UpdateSubscriptionInput, ...) (*shield.UpdateSubscriptionOutput, 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) AssociateDRTLogBucket ¶
func (_m *IClient) AssociateDRTLogBucket(ctx context.Context, params *shield.AssociateDRTLogBucketInput, optFns ...func(*shield.Options)) (*shield.AssociateDRTLogBucketOutput, error)
AssociateDRTLogBucket provides a mock function with given fields: ctx, params, optFns
func (*IClient) AssociateDRTRole ¶
func (_m *IClient) AssociateDRTRole(ctx context.Context, params *shield.AssociateDRTRoleInput, optFns ...func(*shield.Options)) (*shield.AssociateDRTRoleOutput, error)
AssociateDRTRole provides a mock function with given fields: ctx, params, optFns
func (*IClient) AssociateHealthCheck ¶
func (_m *IClient) AssociateHealthCheck(ctx context.Context, params *shield.AssociateHealthCheckInput, optFns ...func(*shield.Options)) (*shield.AssociateHealthCheckOutput, error)
AssociateHealthCheck provides a mock function with given fields: ctx, params, optFns
func (*IClient) AssociateProactiveEngagementDetails ¶
func (_m *IClient) AssociateProactiveEngagementDetails(ctx context.Context, params *shield.AssociateProactiveEngagementDetailsInput, optFns ...func(*shield.Options)) (*shield.AssociateProactiveEngagementDetailsOutput, error)
AssociateProactiveEngagementDetails provides a mock function with given fields: ctx, params, optFns
func (*IClient) CreateProtection ¶
func (_m *IClient) CreateProtection(ctx context.Context, params *shield.CreateProtectionInput, optFns ...func(*shield.Options)) (*shield.CreateProtectionOutput, error)
CreateProtection provides a mock function with given fields: ctx, params, optFns
func (*IClient) CreateProtectionGroup ¶
func (_m *IClient) CreateProtectionGroup(ctx context.Context, params *shield.CreateProtectionGroupInput, optFns ...func(*shield.Options)) (*shield.CreateProtectionGroupOutput, error)
CreateProtectionGroup provides a mock function with given fields: ctx, params, optFns
func (*IClient) CreateSubscription ¶
func (_m *IClient) CreateSubscription(ctx context.Context, params *shield.CreateSubscriptionInput, optFns ...func(*shield.Options)) (*shield.CreateSubscriptionOutput, error)
CreateSubscription provides a mock function with given fields: ctx, params, optFns
func (*IClient) DeleteProtection ¶
func (_m *IClient) DeleteProtection(ctx context.Context, params *shield.DeleteProtectionInput, optFns ...func(*shield.Options)) (*shield.DeleteProtectionOutput, error)
DeleteProtection provides a mock function with given fields: ctx, params, optFns
func (*IClient) DeleteProtectionGroup ¶
func (_m *IClient) DeleteProtectionGroup(ctx context.Context, params *shield.DeleteProtectionGroupInput, optFns ...func(*shield.Options)) (*shield.DeleteProtectionGroupOutput, error)
DeleteProtectionGroup provides a mock function with given fields: ctx, params, optFns
func (*IClient) DeleteSubscription ¶
func (_m *IClient) DeleteSubscription(ctx context.Context, params *shield.DeleteSubscriptionInput, optFns ...func(*shield.Options)) (*shield.DeleteSubscriptionOutput, error)
DeleteSubscription provides a mock function with given fields: ctx, params, optFns
func (*IClient) DescribeAttack ¶
func (_m *IClient) DescribeAttack(ctx context.Context, params *shield.DescribeAttackInput, optFns ...func(*shield.Options)) (*shield.DescribeAttackOutput, error)
DescribeAttack provides a mock function with given fields: ctx, params, optFns
func (*IClient) DescribeAttackStatistics ¶
func (_m *IClient) DescribeAttackStatistics(ctx context.Context, params *shield.DescribeAttackStatisticsInput, optFns ...func(*shield.Options)) (*shield.DescribeAttackStatisticsOutput, error)
DescribeAttackStatistics provides a mock function with given fields: ctx, params, optFns
func (*IClient) DescribeDRTAccess ¶
func (_m *IClient) DescribeDRTAccess(ctx context.Context, params *shield.DescribeDRTAccessInput, optFns ...func(*shield.Options)) (*shield.DescribeDRTAccessOutput, error)
DescribeDRTAccess provides a mock function with given fields: ctx, params, optFns
func (*IClient) DescribeEmergencyContactSettings ¶
func (_m *IClient) DescribeEmergencyContactSettings(ctx context.Context, params *shield.DescribeEmergencyContactSettingsInput, optFns ...func(*shield.Options)) (*shield.DescribeEmergencyContactSettingsOutput, error)
DescribeEmergencyContactSettings provides a mock function with given fields: ctx, params, optFns
func (*IClient) DescribeProtection ¶
func (_m *IClient) DescribeProtection(ctx context.Context, params *shield.DescribeProtectionInput, optFns ...func(*shield.Options)) (*shield.DescribeProtectionOutput, error)
DescribeProtection provides a mock function with given fields: ctx, params, optFns
func (*IClient) DescribeProtectionGroup ¶
func (_m *IClient) DescribeProtectionGroup(ctx context.Context, params *shield.DescribeProtectionGroupInput, optFns ...func(*shield.Options)) (*shield.DescribeProtectionGroupOutput, error)
DescribeProtectionGroup provides a mock function with given fields: ctx, params, optFns
func (*IClient) DescribeSubscription ¶
func (_m *IClient) DescribeSubscription(ctx context.Context, params *shield.DescribeSubscriptionInput, optFns ...func(*shield.Options)) (*shield.DescribeSubscriptionOutput, error)
DescribeSubscription provides a mock function with given fields: ctx, params, optFns
func (*IClient) DisableApplicationLayerAutomaticResponse ¶
func (_m *IClient) DisableApplicationLayerAutomaticResponse(ctx context.Context, params *shield.DisableApplicationLayerAutomaticResponseInput, optFns ...func(*shield.Options)) (*shield.DisableApplicationLayerAutomaticResponseOutput, error)
DisableApplicationLayerAutomaticResponse provides a mock function with given fields: ctx, params, optFns
func (*IClient) DisableProactiveEngagement ¶
func (_m *IClient) DisableProactiveEngagement(ctx context.Context, params *shield.DisableProactiveEngagementInput, optFns ...func(*shield.Options)) (*shield.DisableProactiveEngagementOutput, error)
DisableProactiveEngagement provides a mock function with given fields: ctx, params, optFns
func (*IClient) DisassociateDRTLogBucket ¶
func (_m *IClient) DisassociateDRTLogBucket(ctx context.Context, params *shield.DisassociateDRTLogBucketInput, optFns ...func(*shield.Options)) (*shield.DisassociateDRTLogBucketOutput, error)
DisassociateDRTLogBucket provides a mock function with given fields: ctx, params, optFns
func (*IClient) DisassociateDRTRole ¶
func (_m *IClient) DisassociateDRTRole(ctx context.Context, params *shield.DisassociateDRTRoleInput, optFns ...func(*shield.Options)) (*shield.DisassociateDRTRoleOutput, error)
DisassociateDRTRole provides a mock function with given fields: ctx, params, optFns
func (*IClient) DisassociateHealthCheck ¶
func (_m *IClient) DisassociateHealthCheck(ctx context.Context, params *shield.DisassociateHealthCheckInput, optFns ...func(*shield.Options)) (*shield.DisassociateHealthCheckOutput, error)
DisassociateHealthCheck provides a mock function with given fields: ctx, params, optFns
func (*IClient) EnableApplicationLayerAutomaticResponse ¶
func (_m *IClient) EnableApplicationLayerAutomaticResponse(ctx context.Context, params *shield.EnableApplicationLayerAutomaticResponseInput, optFns ...func(*shield.Options)) (*shield.EnableApplicationLayerAutomaticResponseOutput, error)
EnableApplicationLayerAutomaticResponse provides a mock function with given fields: ctx, params, optFns
func (*IClient) EnableProactiveEngagement ¶
func (_m *IClient) EnableProactiveEngagement(ctx context.Context, params *shield.EnableProactiveEngagementInput, optFns ...func(*shield.Options)) (*shield.EnableProactiveEngagementOutput, error)
EnableProactiveEngagement provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetSubscriptionState ¶
func (_m *IClient) GetSubscriptionState(ctx context.Context, params *shield.GetSubscriptionStateInput, optFns ...func(*shield.Options)) (*shield.GetSubscriptionStateOutput, error)
GetSubscriptionState provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListAttacks ¶
func (_m *IClient) ListAttacks(ctx context.Context, params *shield.ListAttacksInput, optFns ...func(*shield.Options)) (*shield.ListAttacksOutput, error)
ListAttacks provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListProtectionGroups ¶
func (_m *IClient) ListProtectionGroups(ctx context.Context, params *shield.ListProtectionGroupsInput, optFns ...func(*shield.Options)) (*shield.ListProtectionGroupsOutput, error)
ListProtectionGroups provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListProtections ¶
func (_m *IClient) ListProtections(ctx context.Context, params *shield.ListProtectionsInput, optFns ...func(*shield.Options)) (*shield.ListProtectionsOutput, error)
ListProtections provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListResourcesInProtectionGroup ¶
func (_m *IClient) ListResourcesInProtectionGroup(ctx context.Context, params *shield.ListResourcesInProtectionGroupInput, optFns ...func(*shield.Options)) (*shield.ListResourcesInProtectionGroupOutput, error)
ListResourcesInProtectionGroup provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListTagsForResource ¶
func (_m *IClient) ListTagsForResource(ctx context.Context, params *shield.ListTagsForResourceInput, optFns ...func(*shield.Options)) (*shield.ListTagsForResourceOutput, error)
ListTagsForResource provides a mock function with given fields: ctx, params, optFns
func (*IClient) TagResource ¶
func (_m *IClient) TagResource(ctx context.Context, params *shield.TagResourceInput, optFns ...func(*shield.Options)) (*shield.TagResourceOutput, error)
TagResource provides a mock function with given fields: ctx, params, optFns
func (*IClient) UntagResource ¶
func (_m *IClient) UntagResource(ctx context.Context, params *shield.UntagResourceInput, optFns ...func(*shield.Options)) (*shield.UntagResourceOutput, error)
UntagResource provides a mock function with given fields: ctx, params, optFns
func (*IClient) UpdateApplicationLayerAutomaticResponse ¶
func (_m *IClient) UpdateApplicationLayerAutomaticResponse(ctx context.Context, params *shield.UpdateApplicationLayerAutomaticResponseInput, optFns ...func(*shield.Options)) (*shield.UpdateApplicationLayerAutomaticResponseOutput, error)
UpdateApplicationLayerAutomaticResponse provides a mock function with given fields: ctx, params, optFns
func (*IClient) UpdateEmergencyContactSettings ¶
func (_m *IClient) UpdateEmergencyContactSettings(ctx context.Context, params *shield.UpdateEmergencyContactSettingsInput, optFns ...func(*shield.Options)) (*shield.UpdateEmergencyContactSettingsOutput, error)
UpdateEmergencyContactSettings provides a mock function with given fields: ctx, params, optFns
func (*IClient) UpdateProtectionGroup ¶
func (_m *IClient) UpdateProtectionGroup(ctx context.Context, params *shield.UpdateProtectionGroupInput, optFns ...func(*shield.Options)) (*shield.UpdateProtectionGroupOutput, error)
UpdateProtectionGroup provides a mock function with given fields: ctx, params, optFns
func (*IClient) UpdateSubscription ¶
func (_m *IClient) UpdateSubscription(ctx context.Context, params *shield.UpdateSubscriptionInput, optFns ...func(*shield.Options)) (*shield.UpdateSubscriptionOutput, error)
UpdateSubscription provides a mock function with given fields: ctx, params, optFns