Conditions | 3 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | package kms |
||
35 | func (r ScheduleKeyDeletionRequest) ToInput() *SDK.ScheduleKeyDeletionInput { |
||
36 | in := &SDK.ScheduleKeyDeletionInput{} |
||
37 | if r.KeyID != "" { |
||
38 | in.KeyId = pointers.String(r.KeyID) |
||
39 | } |
||
40 | if r.PendingWindowInDays != 0 { |
||
41 | in.PendingWindowInDays = pointers.Long64(r.PendingWindowInDays) |
||
42 | } |
||
43 | return in |
||
44 | } |
||
65 |