Shlomi Loubaton
Shlomi Loubaton
This worked for me: ``` @dataclass(frozen=True) class MyOnDemandThroughput: max_read: int max_write: int def encode(self): return { "BillingMode": "PAY_PER_REQUEST", "OnDemandThroughput": { "MaxReadRequestUnits": self.max_read, "MaxWriteRequestUnits": self.max_write, } } ```
http://plnkr.co/edit/9Mc7WQ7qUbbAgQDlIpIv?p=preview
Sorry, I thought the plunkr was clear. There are 3 examples in the above plunkr. All use class "dropup" which means it should display the dropdown menu above the button....