Skip to content

Commit

Permalink
Support command audit for ecs.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Sep 27, 2024
1 parent ed01146 commit c60eceb
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
49 changes: 49 additions & 0 deletions src/EcsWorkbench/V20220220/EcsWorkbenchApiResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [])
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/Release.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Release
/**
* Version of the SDK
*/
const VERSION = '1.8.2192';
const VERSION = '1.8.2193';

/**
* @param Event $event
Expand Down

0 comments on commit c60eceb

Please sign in to comment.