Versions in this module Expand all Collapse all v1 v1.11.0 Dec 6, 2022 Changes in this version + const EndpointsID + const ErrCodeInternalErrorException + const ErrCodeInvalidOperationException + const ErrCodeInvalidParameterException + const ErrCodeInvalidResourceException + const ErrCodeLimitsExceededException + const ErrCodeLockedSubscriptionException + const ErrCodeOptimisticLockException + const ErrCodeResourceAlreadyExistsException + const ErrCodeResourceNotFoundException + const ServiceName + const SubResourceTypeIp + const SubResourceTypeUrl + type AttackDetail struct + AttackCounters []*SummarizedCounter + AttackId *string + EndTime *time.Time + Mitigations []*Mitigation + ResourceArn *string + StartTime *time.Time + SubResources []*SubResourceSummary + func (s *AttackDetail) SetAttackCounters(v []*SummarizedCounter) *AttackDetail + func (s *AttackDetail) SetAttackId(v string) *AttackDetail + func (s *AttackDetail) SetEndTime(v time.Time) *AttackDetail + func (s *AttackDetail) SetMitigations(v []*Mitigation) *AttackDetail + func (s *AttackDetail) SetResourceArn(v string) *AttackDetail + func (s *AttackDetail) SetStartTime(v time.Time) *AttackDetail + func (s *AttackDetail) SetSubResources(v []*SubResourceSummary) *AttackDetail + func (s AttackDetail) GoString() string + func (s AttackDetail) String() string + type AttackSummary struct + AttackId *string + AttackVectors []*AttackVectorDescription + EndTime *time.Time + ResourceArn *string + StartTime *time.Time + func (s *AttackSummary) SetAttackId(v string) *AttackSummary + func (s *AttackSummary) SetAttackVectors(v []*AttackVectorDescription) *AttackSummary + func (s *AttackSummary) SetEndTime(v time.Time) *AttackSummary + func (s *AttackSummary) SetResourceArn(v string) *AttackSummary + func (s *AttackSummary) SetStartTime(v time.Time) *AttackSummary + func (s AttackSummary) GoString() string + func (s AttackSummary) String() string + type AttackVectorDescription struct + VectorType *string + func (s *AttackVectorDescription) SetVectorType(v string) *AttackVectorDescription + func (s AttackVectorDescription) GoString() string + func (s AttackVectorDescription) String() string + type CreateProtectionInput struct + Name *string + ResourceArn *string + func (s *CreateProtectionInput) SetName(v string) *CreateProtectionInput + func (s *CreateProtectionInput) SetResourceArn(v string) *CreateProtectionInput + func (s *CreateProtectionInput) Validate() error + func (s CreateProtectionInput) GoString() string + func (s CreateProtectionInput) String() string + type CreateProtectionOutput struct + ProtectionId *string + func (s *CreateProtectionOutput) SetProtectionId(v string) *CreateProtectionOutput + func (s CreateProtectionOutput) GoString() string + func (s CreateProtectionOutput) String() string + type CreateSubscriptionInput struct + func (s CreateSubscriptionInput) GoString() string + func (s CreateSubscriptionInput) String() string + type CreateSubscriptionOutput struct + func (s CreateSubscriptionOutput) GoString() string + func (s CreateSubscriptionOutput) String() string + type DeleteProtectionInput struct + ProtectionId *string + func (s *DeleteProtectionInput) SetProtectionId(v string) *DeleteProtectionInput + func (s *DeleteProtectionInput) Validate() error + func (s DeleteProtectionInput) GoString() string + func (s DeleteProtectionInput) String() string + type DeleteProtectionOutput struct + func (s DeleteProtectionOutput) GoString() string + func (s DeleteProtectionOutput) String() string + type DeleteSubscriptionInput struct + func (s DeleteSubscriptionInput) GoString() string + func (s DeleteSubscriptionInput) String() string + type DeleteSubscriptionOutput struct + func (s DeleteSubscriptionOutput) GoString() string + func (s DeleteSubscriptionOutput) String() string + type DescribeAttackInput struct + AttackId *string + func (s *DescribeAttackInput) SetAttackId(v string) *DescribeAttackInput + func (s *DescribeAttackInput) Validate() error + func (s DescribeAttackInput) GoString() string + func (s DescribeAttackInput) String() string + type DescribeAttackOutput struct + Attack *AttackDetail + func (s *DescribeAttackOutput) SetAttack(v *AttackDetail) *DescribeAttackOutput + func (s DescribeAttackOutput) GoString() string + func (s DescribeAttackOutput) String() string + type DescribeProtectionInput struct + ProtectionId *string + func (s *DescribeProtectionInput) SetProtectionId(v string) *DescribeProtectionInput + func (s *DescribeProtectionInput) Validate() error + func (s DescribeProtectionInput) GoString() string + func (s DescribeProtectionInput) String() string + type DescribeProtectionOutput struct + Protection *Protection + func (s *DescribeProtectionOutput) SetProtection(v *Protection) *DescribeProtectionOutput + func (s DescribeProtectionOutput) GoString() string + func (s DescribeProtectionOutput) String() string + type DescribeSubscriptionInput struct + func (s DescribeSubscriptionInput) GoString() string + func (s DescribeSubscriptionInput) String() string + type DescribeSubscriptionOutput struct + Subscription *Subscription + func (s *DescribeSubscriptionOutput) SetSubscription(v *Subscription) *DescribeSubscriptionOutput + func (s DescribeSubscriptionOutput) GoString() string + func (s DescribeSubscriptionOutput) String() string + type ListAttacksInput struct + EndTime *TimeRange + MaxResults *int64 + NextToken *string + ResourceArns []*string + StartTime *TimeRange + func (s *ListAttacksInput) SetEndTime(v *TimeRange) *ListAttacksInput + func (s *ListAttacksInput) SetMaxResults(v int64) *ListAttacksInput + func (s *ListAttacksInput) SetNextToken(v string) *ListAttacksInput + func (s *ListAttacksInput) SetResourceArns(v []*string) *ListAttacksInput + func (s *ListAttacksInput) SetStartTime(v *TimeRange) *ListAttacksInput + func (s *ListAttacksInput) Validate() error + func (s ListAttacksInput) GoString() string + func (s ListAttacksInput) String() string + type ListAttacksOutput struct + AttackSummaries []*AttackSummary + NextToken *string + func (s *ListAttacksOutput) SetAttackSummaries(v []*AttackSummary) *ListAttacksOutput + func (s *ListAttacksOutput) SetNextToken(v string) *ListAttacksOutput + func (s ListAttacksOutput) GoString() string + func (s ListAttacksOutput) String() string + type ListProtectionsInput struct + MaxResults *int64 + NextToken *string + func (s *ListProtectionsInput) SetMaxResults(v int64) *ListProtectionsInput + func (s *ListProtectionsInput) SetNextToken(v string) *ListProtectionsInput + func (s *ListProtectionsInput) Validate() error + func (s ListProtectionsInput) GoString() string + func (s ListProtectionsInput) String() string + type ListProtectionsOutput struct + NextToken *string + Protections []*Protection + func (s *ListProtectionsOutput) SetNextToken(v string) *ListProtectionsOutput + func (s *ListProtectionsOutput) SetProtections(v []*Protection) *ListProtectionsOutput + func (s ListProtectionsOutput) GoString() string + func (s ListProtectionsOutput) String() string + type Mitigation struct + MitigationName *string + func (s *Mitigation) SetMitigationName(v string) *Mitigation + func (s Mitigation) GoString() string + func (s Mitigation) String() string + type Protection struct + Id *string + Name *string + ResourceArn *string + func (s *Protection) SetId(v string) *Protection + func (s *Protection) SetName(v string) *Protection + func (s *Protection) SetResourceArn(v string) *Protection + func (s Protection) GoString() string + func (s Protection) String() string + type Shield struct + func New(p client.ConfigProvider, cfgs ...*aws.Config) *Shield + func (c *Shield) CreateProtection(input *CreateProtectionInput) (*CreateProtectionOutput, error) + func (c *Shield) CreateProtectionRequest(input *CreateProtectionInput) (req *request.Request, output *CreateProtectionOutput) + func (c *Shield) CreateProtectionWithContext(ctx aws.Context, input *CreateProtectionInput, opts ...request.Option) (*CreateProtectionOutput, error) + func (c *Shield) CreateSubscription(input *CreateSubscriptionInput) (*CreateSubscriptionOutput, error) + func (c *Shield) CreateSubscriptionRequest(input *CreateSubscriptionInput) (req *request.Request, output *CreateSubscriptionOutput) + func (c *Shield) CreateSubscriptionWithContext(ctx aws.Context, input *CreateSubscriptionInput, opts ...request.Option) (*CreateSubscriptionOutput, error) + func (c *Shield) DeleteProtection(input *DeleteProtectionInput) (*DeleteProtectionOutput, error) + func (c *Shield) DeleteProtectionRequest(input *DeleteProtectionInput) (req *request.Request, output *DeleteProtectionOutput) + func (c *Shield) DeleteProtectionWithContext(ctx aws.Context, input *DeleteProtectionInput, opts ...request.Option) (*DeleteProtectionOutput, error) + func (c *Shield) DeleteSubscription(input *DeleteSubscriptionInput) (*DeleteSubscriptionOutput, error) + func (c *Shield) DeleteSubscriptionRequest(input *DeleteSubscriptionInput) (req *request.Request, output *DeleteSubscriptionOutput) + func (c *Shield) DeleteSubscriptionWithContext(ctx aws.Context, input *DeleteSubscriptionInput, opts ...request.Option) (*DeleteSubscriptionOutput, error) + func (c *Shield) DescribeAttack(input *DescribeAttackInput) (*DescribeAttackOutput, error) + func (c *Shield) DescribeAttackRequest(input *DescribeAttackInput) (req *request.Request, output *DescribeAttackOutput) + func (c *Shield) DescribeAttackWithContext(ctx aws.Context, input *DescribeAttackInput, opts ...request.Option) (*DescribeAttackOutput, error) + func (c *Shield) DescribeProtection(input *DescribeProtectionInput) (*DescribeProtectionOutput, error) + func (c *Shield) DescribeProtectionRequest(input *DescribeProtectionInput) (req *request.Request, output *DescribeProtectionOutput) + func (c *Shield) DescribeProtectionWithContext(ctx aws.Context, input *DescribeProtectionInput, opts ...request.Option) (*DescribeProtectionOutput, error) + func (c *Shield) DescribeSubscription(input *DescribeSubscriptionInput) (*DescribeSubscriptionOutput, error) + func (c *Shield) DescribeSubscriptionRequest(input *DescribeSubscriptionInput) (req *request.Request, output *DescribeSubscriptionOutput) + func (c *Shield) DescribeSubscriptionWithContext(ctx aws.Context, input *DescribeSubscriptionInput, opts ...request.Option) (*DescribeSubscriptionOutput, error) + func (c *Shield) ListAttacks(input *ListAttacksInput) (*ListAttacksOutput, error) + func (c *Shield) ListAttacksRequest(input *ListAttacksInput) (req *request.Request, output *ListAttacksOutput) + func (c *Shield) ListAttacksWithContext(ctx aws.Context, input *ListAttacksInput, opts ...request.Option) (*ListAttacksOutput, error) + func (c *Shield) ListProtections(input *ListProtectionsInput) (*ListProtectionsOutput, error) + func (c *Shield) ListProtectionsRequest(input *ListProtectionsInput) (req *request.Request, output *ListProtectionsOutput) + func (c *Shield) ListProtectionsWithContext(ctx aws.Context, input *ListProtectionsInput, opts ...request.Option) (*ListProtectionsOutput, error) + type SubResourceSummary struct + AttackVectors []*SummarizedAttackVector + Counters []*SummarizedCounter + Id *string + Type *string + func (s *SubResourceSummary) SetAttackVectors(v []*SummarizedAttackVector) *SubResourceSummary + func (s *SubResourceSummary) SetCounters(v []*SummarizedCounter) *SubResourceSummary + func (s *SubResourceSummary) SetId(v string) *SubResourceSummary + func (s *SubResourceSummary) SetType(v string) *SubResourceSummary + func (s SubResourceSummary) GoString() string + func (s SubResourceSummary) String() string + type Subscription struct + StartTime *time.Time + TimeCommitmentInSeconds *int64 + func (s *Subscription) SetStartTime(v time.Time) *Subscription + func (s *Subscription) SetTimeCommitmentInSeconds(v int64) *Subscription + func (s Subscription) GoString() string + func (s Subscription) String() string + type SummarizedAttackVector struct + VectorCounters []*SummarizedCounter + VectorType *string + func (s *SummarizedAttackVector) SetVectorCounters(v []*SummarizedCounter) *SummarizedAttackVector + func (s *SummarizedAttackVector) SetVectorType(v string) *SummarizedAttackVector + func (s SummarizedAttackVector) GoString() string + func (s SummarizedAttackVector) String() string + type SummarizedCounter struct + Average *float64 + Max *float64 + N *int64 + Name *string + Sum *float64 + Unit *string + func (s *SummarizedCounter) SetAverage(v float64) *SummarizedCounter + func (s *SummarizedCounter) SetMax(v float64) *SummarizedCounter + func (s *SummarizedCounter) SetN(v int64) *SummarizedCounter + func (s *SummarizedCounter) SetName(v string) *SummarizedCounter + func (s *SummarizedCounter) SetSum(v float64) *SummarizedCounter + func (s *SummarizedCounter) SetUnit(v string) *SummarizedCounter + func (s SummarizedCounter) GoString() string + func (s SummarizedCounter) String() string + type TimeRange struct + FromInclusive *time.Time + ToExclusive *time.Time + func (s *TimeRange) SetFromInclusive(v time.Time) *TimeRange + func (s *TimeRange) SetToExclusive(v time.Time) *TimeRange + func (s TimeRange) GoString() string + func (s TimeRange) String() string