Skip to content

Commit e6a4a1e

Browse files
authored
docs: fix example generation for empty inputs (#5710)
1 parent 5a19a33 commit e6a4a1e

File tree

49 files changed

+46
-65
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+46
-65
lines changed

clients/client-auto-scaling/src/commands/DescribeAccountLimitsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export interface DescribeAccountLimitsCommandOutput extends DescribeAccountLimit
6767
* @example To describe your Auto Scaling account limits
6868
* ```javascript
6969
* // This example describes the Amazon EC2 Auto Scaling service quotas for your account.
70-
* const input = undefined;
70+
* const input = {};
7171
* const command = new DescribeAccountLimitsCommand(input);
7272
* const response = await client.send(command);
7373
* /* response ==

clients/client-auto-scaling/src/commands/DescribeAdjustmentTypesCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export interface DescribeAdjustmentTypesCommandOutput extends DescribeAdjustment
8383
* @example To describe the Amazon EC2 Auto Scaling adjustment types
8484
* ```javascript
8585
* // This example describes the available adjustment types.
86-
* const input = undefined;
86+
* const input = {};
8787
* const command = new DescribeAdjustmentTypesCommand(input);
8888
* const response = await client.send(command);
8989
* /* response ==

clients/client-auto-scaling/src/commands/DescribeAutoScalingNotificationTypesCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export interface DescribeAutoScalingNotificationTypesCommandOutput
6767
* @example To describe the Auto Scaling notification types
6868
* ```javascript
6969
* // This example describes the available notification types.
70-
* const input = undefined;
70+
* const input = {};
7171
* const command = new DescribeAutoScalingNotificationTypesCommand(input);
7272
* const response = await client.send(command);
7373
* /* response ==

clients/client-auto-scaling/src/commands/DescribeLifecycleHookTypesCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export interface DescribeLifecycleHookTypesCommandOutput extends DescribeLifecyc
7575
* @example To describe the available types of lifecycle hooks
7676
* ```javascript
7777
* // This example describes the available lifecycle hook types.
78-
* const input = undefined;
78+
* const input = {};
7979
* const command = new DescribeLifecycleHookTypesCommand(input);
8080
* const response = await client.send(command);
8181
* /* response ==

clients/client-auto-scaling/src/commands/DescribeMetricCollectionTypesCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export interface DescribeMetricCollectionTypesCommandOutput
7474
* @example To describe the Auto Scaling metric collection types
7575
* ```javascript
7676
* // This example describes the available metric collection types.
77-
* const input = undefined;
77+
* const input = {};
7878
* const command = new DescribeMetricCollectionTypesCommand(input);
7979
* const response = await client.send(command);
8080
* /* response ==

clients/client-auto-scaling/src/commands/DescribeScalingProcessTypesCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export interface DescribeScalingProcessTypesCommandOutput extends ProcessesType,
6565
* @example To describe the Auto Scaling process types
6666
* ```javascript
6767
* // This example describes the Auto Scaling process types.
68-
* const input = undefined;
68+
* const input = {};
6969
* const command = new DescribeScalingProcessTypesCommand(input);
7070
* const response = await client.send(command);
7171
* /* response ==

clients/client-auto-scaling/src/commands/DescribeTerminationPolicyTypesCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export interface DescribeTerminationPolicyTypesCommandOutput
7070
* @example To describe termination policy types
7171
* ```javascript
7272
* // This example describes the available termination policy types.
73-
* const input = undefined;
73+
* const input = {};
7474
* const command = new DescribeTerminationPolicyTypesCommand(input);
7575
* const response = await client.send(command);
7676
* /* response ==

clients/client-ec2/src/commands/AllocateAddressCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export interface AllocateAddressCommandOutput extends AllocateAddressResult, __M
9292
* @example To allocate an Elastic IP address
9393
* ```javascript
9494
* // This example allocates an Elastic IP address.
95-
* const input = undefined;
95+
* const input = {};
9696
* const command = new AllocateAddressCommand(input);
9797
* const response = await client.send(command);
9898
* /* response ==

clients/client-ec2/src/commands/CreateInternetGatewayCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export interface CreateInternetGatewayCommandOutput extends CreateInternetGatewa
8787
* @example To create an Internet gateway
8888
* ```javascript
8989
* // This example creates an Internet gateway.
90-
* const input = undefined;
90+
* const input = {};
9191
* const command = new CreateInternetGatewayCommand(input);
9292
* const response = await client.send(command);
9393
* /* response ==

clients/client-ec2/src/commands/DeleteSpotDatafeedSubscriptionCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export interface DeleteSpotDatafeedSubscriptionCommandOutput extends __MetadataB
5959
* @example To cancel a Spot Instance data feed subscription
6060
* ```javascript
6161
* // This example deletes a Spot data feed subscription for the account.
62-
* const input = undefined;
62+
* const input = {};
6363
* const command = new DeleteSpotDatafeedSubscriptionCommand(input);
6464
* await client.send(command);
6565
* // example id: ec2-delete-spot-datafeed-subscription-1

0 commit comments

Comments
 (0)