diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c2b2121..2d1f4b2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 1.8.2193 - 2024-9-27 +- Support command audit for ecs. + + ## 1.8.2192 - 2024-9-26 - Update to support new apis. diff --git a/src/EcsWorkbench/V20220220/EcsWorkbenchApiResolver.php b/src/EcsWorkbench/V20220220/EcsWorkbenchApiResolver.php index 2e3e6be0..5c25870f 100644 --- a/src/EcsWorkbench/V20220220/EcsWorkbenchApiResolver.php +++ b/src/EcsWorkbench/V20220220/EcsWorkbenchApiResolver.php @@ -7,6 +7,7 @@ /** * @method GetInstanceRecordConfig getInstanceRecordConfig(array $options = []) * @method ListInstanceRecords listInstanceRecords(array $options = []) + * @method ListTerminalCommands listTerminalCommands(array $options = []) * @method LoginInstance loginInstance(array $options = []) * @method SetInstanceRecordConfig setInstanceRecordConfig(array $options = []) * @method ViewInstanceRecords viewInstanceRecords(array $options = []) @@ -101,6 +102,54 @@ public function withPageSize($value) } } +/** + * @method string getPageNumber() + * @method string getPageSize() + * @method string getTerminalSessionToken() + */ +class ListTerminalCommands extends Rpc +{ + + /** + * @param string $value + * + * @return $this + */ + public function withPageNumber($value) + { + $this->data['PageNumber'] = $value; + $this->options['form_params']['PageNumber'] = $value; + + return $this; + } + + /** + * @param string $value + * + * @return $this + */ + public function withPageSize($value) + { + $this->data['PageSize'] = $value; + $this->options['form_params']['PageSize'] = $value; + + return $this; + } + + /** + * @param string $value + * + * @return $this + */ + public function withTerminalSessionToken($value) + { + $this->data['TerminalSessionToken'] = $value; + $this->options['form_params']['TerminalSessionToken'] = $value; + + return $this; + } +} + /** * @method string getPartnerInfo() * @method $this withPartnerInfo($value) diff --git a/src/Release.php b/src/Release.php index 7f3c2c2e..4d34b6f2 100644 --- a/src/Release.php +++ b/src/Release.php @@ -16,7 +16,7 @@ class Release /** * Version of the SDK */ - const VERSION = '1.8.2192'; + const VERSION = '1.8.2193'; /** * @param Event $event