Skip to content

Commit 5b3c7e9

Browse files
author
awstools
committed
feat(clients): update command documentation examples as of 2024-03-19
1 parent b2f3261 commit 5b3c7e9

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

clients/client-rds/src/commands/ModifyIntegrationCommand.ts

+25
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,31 @@ export interface ModifyIntegrationCommandOutput extends Integration, __MetadataB
9696
* <p>Base exception class for all service exceptions from RDS service.</p>
9797
*
9898
* @public
99+
* @example To modify a zero-ETL integration
100+
* ```javascript
101+
* // The following example modifies the name of an existing zero-ETL integration.
102+
* const input = {
103+
* "IntegrationIdentifier": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
104+
* "IntegrationName": "my-renamed-integration"
105+
* };
106+
* const command = new ModifyIntegrationCommand(input);
107+
* const response = await client.send(command);
108+
* /* response ==
109+
* {
110+
* "CreateTime": "2023-12-28T17:20:20.629Z",
111+
* "DataFilter": "include: *.*",
112+
* "IntegrationArn": "arn:aws:rds:us-east-1:123456789012:integration:5b9f3d79-7392-4a3e-896c-58eaa1b53231",
113+
* "IntegrationName": "my-renamed-integration",
114+
* "KMSKeyId": "arn:aws:kms:us-east-1:123456789012:key/a1b2c3d4-5678-90ab-cdef-EXAMPLEaaaaa",
115+
* "SourceArn": "arn:aws:rds:us-east-1:123456789012:cluster:my-cluster",
116+
* "Status": "active",
117+
* "Tags": [],
118+
* "TargetArn": "arn:aws:redshift-serverless:us-east-1:123456789012:namespace/62c70612-0302-4db7-8414-b5e3e049f0d8"
119+
* }
120+
* *\/
121+
* // example id: to-modify-a-zero-etl-integration-1680407173998
122+
* ```
123+
*
99124
*/
100125
export class ModifyIntegrationCommand extends $Command
101126
.classBuilder<

0 commit comments

Comments
 (0)