// If you created a Shield Advanced policy, returns policy-level attack summary
// information in the event of a potential DDoS attack. Other policy types are
// currently unsupported.
If you created a Shield Advanced policy, returns policy-level attack summary
information in the event of a potential DDoS attack. Other policy types are
currently unsupported.
// If you created a Shield Advanced policy returns policy - level attack summary // information in the event of a potential DDoS attack . Other policy types are // currently unsupported .
func (c *Client) GetProtectionStatus(ctx context.Context, params *GetProtectionStatusInput, optFns ...func(*Options)) (*GetProtectionStatusOutput, error) {
	if params == nil {
		params = &GetProtectionStatusInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "GetProtectionStatus", params, optFns, addOperationGetProtectionStatusMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*GetProtectionStatusOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) GetProtectionStatus ( ctx context . Context , params * GetProtectionStatusInput , optFns ... func ( * Options ) ) ( * GetProtectionStatusOutput , error ) { if params == nil { params = & GetProtectionStatusInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationGetProtectionStatusMiddlewares ) if err != nil { return nil , err } out := result . ( * GetProtectionStatusOutput ) out . ResultMetadata = metadata return out , nil }
If you created a Shield Advanced policy, returns policy-level attack summary
information in the event of a potential DDoS attack.
If you created a Shield Advanced policy returns policy - level attack summary information in the event of a potential DDoS attack .