Conditions | 2 |
Total Lines | 11 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | package pinpoint |
||
13 | func (svc *Pinpoint) DeleteEndpoint(ctx context.Context, r DeleteEndpointRequest) (*DeleteEndpointResult, error) { |
||
14 | out, err := svc.RawDeleteEndpoint(ctx, r.ToInput()) |
||
15 | if err != nil { |
||
16 | err = svc.errWrap(errors.ErrorData{ |
||
17 | Err: err, |
||
18 | AWSOperation: "DeleteEndpoint", |
||
19 | }) |
||
20 | svc.Errorf(err.Error()) |
||
|
|||
21 | return nil, err |
||
22 | } |
||
23 | return NewDeleteEndpointResult(out), nil |
||
24 | } |
||
56 |