| Conditions | 2 |
| Total Lines | 11 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | package kms |
||
| 14 | func (svc *KMS) ScheduleKeyDeletion(ctx context.Context, r ScheduleKeyDeletionRequest) (*ScheduleKeyDeletionResult, error) { |
||
| 15 | out, err := svc.RawScheduleKeyDeletion(ctx, r.ToInput()) |
||
| 16 | if err != nil { |
||
| 17 | err = svc.errWrap(errors.ErrorData{ |
||
| 18 | Err: err, |
||
| 19 | AWSOperation: "ScheduleKeyDeletion", |
||
| 20 | }) |
||
| 21 | svc.Errorf(err.Error()) |
||
|
|
|||
| 22 | return nil, err |
||
| 23 | } |
||
| 24 | return NewScheduleKeyDeletionResult(out), nil |
||
| 25 | } |
||
| 65 |