Skip to content

Commit

Permalink
feat(clients): codegen cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe committed Jun 20, 2023
1 parent df939bc commit c98dfae
Show file tree
Hide file tree
Showing 50 changed files with 57 additions and 57 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export interface GetExportCommandInput extends GetExportRequest {}
export type GetExportCommandOutputType = Omit<ExportResponse, "body"> & {
body?: Uint8ArrayBlobAdapter;
};

/**
* @public
*
Expand Down
1 change: 1 addition & 0 deletions clients/client-api-gateway/src/commands/GetSdkCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export interface GetSdkCommandInput extends GetSdkRequest {}
export type GetSdkCommandOutputType = Omit<SdkResponse, "body"> & {
body?: Uint8ArrayBlobAdapter;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export { __MetadataBearer, $Command };
export type ImportApiKeysCommandInputType = Omit<ImportApiKeysRequest, "body"> & {
body: BlobTypes;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export { __MetadataBearer, $Command };
export type ImportDocumentationPartsCommandInputType = Omit<ImportDocumentationPartsRequest, "body"> & {
body: BlobTypes;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export { __MetadataBearer, $Command };
export type ImportRestApiCommandInputType = Omit<ImportRestApiRequest, "body"> & {
body: BlobTypes;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export { __MetadataBearer, $Command };
export type PutRestApiCommandInputType = Omit<PutRestApiRequest, "body"> & {
body: BlobTypes;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export { __MetadataBearer, $Command };
export type PostToConnectionCommandInputType = Omit<PostToConnectionRequest, "Data"> & {
Data: BlobTypes;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export interface ExportApiCommandInput extends ExportApiRequest {}
export type ExportApiCommandOutputType = Omit<ExportApiResponse, "body"> & {
body?: Uint8ArrayBlobAdapter;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export type CreateHostedConfigurationVersionCommandInputType = Omit<
> & {
Content: BlobTypes;
};

/**
* @public
*
Expand All @@ -53,6 +54,7 @@ export interface CreateHostedConfigurationVersionCommandInput
export type CreateHostedConfigurationVersionCommandOutputType = Omit<HostedConfigurationVersion, "Content"> & {
Content?: Uint8ArrayBlobAdapter;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export interface GetConfigurationCommandInput extends GetConfigurationRequest {}
export type GetConfigurationCommandOutputType = Omit<Configuration, "Content"> & {
Content?: Uint8ArrayBlobAdapter;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export interface GetHostedConfigurationVersionCommandInput extends GetHostedConf
export type GetHostedConfigurationVersionCommandOutputType = Omit<HostedConfigurationVersion, "Content"> & {
Content?: Uint8ArrayBlobAdapter;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export interface GetLatestConfigurationCommandInput extends GetLatestConfigurati
export type GetLatestConfigurationCommandOutputType = Omit<GetLatestConfigurationResponse, "Configuration"> & {
Configuration?: Uint8ArrayBlobAdapter;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export interface GetIntrospectionSchemaCommandInput extends GetIntrospectionSche
export type GetIntrospectionSchemaCommandOutputType = Omit<GetIntrospectionSchemaResponse, "schema"> & {
schema?: Uint8ArrayBlobAdapter;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export interface GetFunctionCommandInput extends GetFunctionRequest {}
export type GetFunctionCommandOutputType = Omit<GetFunctionResult, "FunctionCode"> & {
FunctionCode?: Uint8ArrayBlobAdapter;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export interface GetProfileCommandInput extends GetProfileRequest {}
export type GetProfileCommandOutputType = Omit<GetProfileResponse, "profile"> & {
profile: Uint8ArrayBlobAdapter;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export { __MetadataBearer, $Command };
export type PostAgentProfileCommandInputType = Omit<PostAgentProfileRequest, "agentProfile"> & {
agentProfile: BlobTypes;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export interface DeleteThingShadowCommandInput extends DeleteThingShadowRequest
export type DeleteThingShadowCommandOutputType = Omit<DeleteThingShadowResponse, "payload"> & {
payload: Uint8ArrayBlobAdapter;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export interface GetThingShadowCommandInput extends GetThingShadowRequest {}
export type GetThingShadowCommandOutputType = Omit<GetThingShadowResponse, "payload"> & {
payload?: Uint8ArrayBlobAdapter;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export { __MetadataBearer, $Command };
export type PublishCommandInputType = Omit<PublishRequest, "payload"> & {
payload?: BlobTypes;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export { __MetadataBearer, $Command };
export type UpdateThingShadowCommandInputType = Omit<UpdateThingShadowRequest, "payload"> & {
payload: BlobTypes;
};

/**
* @public
*
Expand All @@ -41,6 +42,7 @@ export interface UpdateThingShadowCommandInput extends UpdateThingShadowCommandI
export type UpdateThingShadowCommandOutputType = Omit<UpdateThingShadowResponse, "payload"> & {
payload?: Uint8ArrayBlobAdapter;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export interface GetPositionEstimateCommandInput extends GetPositionEstimateRequ
export type GetPositionEstimateCommandOutputType = Omit<GetPositionEstimateResponse, "GeoJsonPayload"> & {
GeoJsonPayload?: Uint8ArrayBlobAdapter;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export interface GetResourcePositionCommandInput extends GetResourcePositionRequ
export type GetResourcePositionCommandOutputType = Omit<GetResourcePositionResponse, "GeoJsonPayload"> & {
GeoJsonPayload?: Uint8ArrayBlobAdapter;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export { __MetadataBearer, $Command };
export type UpdateResourcePositionCommandInputType = Omit<UpdateResourcePositionRequest, "GeoJsonPayload"> & {
GeoJsonPayload?: BlobTypes;
};

/**
* @public
*
Expand Down
2 changes: 2 additions & 0 deletions clients/client-lambda/src/commands/InvokeCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export { __MetadataBearer, $Command };
export type InvokeCommandInputType = Omit<InvocationRequest, "Payload"> & {
Payload?: BlobTypes;
};

/**
* @public
*
Expand All @@ -46,6 +47,7 @@ export interface InvokeCommandInput extends InvokeCommandInputType {}
export type InvokeCommandOutputType = Omit<InvocationResponse, "Payload"> & {
Payload?: Uint8ArrayBlobAdapter;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export { __MetadataBearer, $Command };
export type InvokeWithResponseStreamCommandInputType = Omit<InvokeWithResponseStreamRequest, "Payload"> & {
Payload?: BlobTypes;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export interface GetMapGlyphsCommandInput extends GetMapGlyphsRequest {}
export type GetMapGlyphsCommandOutputType = Omit<GetMapGlyphsResponse, "Blob"> & {
Blob?: Uint8ArrayBlobAdapter;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export interface GetMapSpritesCommandInput extends GetMapSpritesRequest {}
export type GetMapSpritesCommandOutputType = Omit<GetMapSpritesResponse, "Blob"> & {
Blob?: Uint8ArrayBlobAdapter;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export interface GetMapStyleDescriptorCommandInput extends GetMapStyleDescriptor
export type GetMapStyleDescriptorCommandOutputType = Omit<GetMapStyleDescriptorResponse, "Blob"> & {
Blob?: Uint8ArrayBlobAdapter;
};

/**
* @public
*
Expand Down
1 change: 1 addition & 0 deletions clients/client-location/src/commands/GetMapTileCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export interface GetMapTileCommandInput extends GetMapTileRequest {}
export type GetMapTileCommandOutputType = Omit<GetMapTileResponse, "Blob"> & {
Blob?: Uint8ArrayBlobAdapter;
};

/**
* @public
*
Expand Down
1 change: 1 addition & 0 deletions clients/client-mobile/src/commands/CreateProjectCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export { __MetadataBearer, $Command };
export type CreateProjectCommandInputType = Omit<CreateProjectRequest, "contents"> & {
contents?: BlobTypes;
};

/**
* @public
*
Expand Down
1 change: 1 addition & 0 deletions clients/client-mobile/src/commands/UpdateProjectCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export { __MetadataBearer, $Command };
export type UpdateProjectCommandInputType = Omit<UpdateProjectRequest, "contents"> & {
contents?: BlobTypes;
};

/**
* @public
*
Expand Down
31 changes: 0 additions & 31 deletions clients/client-pricing/src/commands/DescribeServicesCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,37 +96,6 @@ export interface DescribeServicesCommandOutput extends DescribeServicesResponse,
* @throws {@link PricingServiceException}
* <p>Base exception class for all service exceptions from Pricing service.</p>
*
* @example To retrieve a list of services and service codes
* ```javascript
* // Retrieves the service for the given Service Code.
* const input = {
* "FormatVersion": "aws_v1",
* "MaxResults": 1,
* "ServiceCode": "AmazonEC2"
* };
* const command = new DescribeServicesCommand(input);
* const response = await client.send(command);
* /* response ==
* {
* "FormatVersion": "aws_v1",
* "NextToken": "abcdefg123",
* "Services": [
* {
* "AttributeNames": [
* "volumeType",
* "maxIopsvolume",
* "instanceCapacity10xlarge",
* "locationType",
* "operation"
* ],
* "ServiceCode": "AmazonEC2"
* }
* ]
* }
* *\/
* // example id: to-retrieve-service-metadata
* ```
*
*/
export class DescribeServicesCommand extends $Command<
DescribeServicesCommandInput,
Expand Down
26 changes: 0 additions & 26 deletions clients/client-pricing/src/commands/GetAttributeValuesCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,32 +89,6 @@ export interface GetAttributeValuesCommandOutput extends GetAttributeValuesRespo
* @throws {@link PricingServiceException}
* <p>Base exception class for all service exceptions from Pricing service.</p>
*
* @example To retrieve a list of attribute values
* ```javascript
* // This operation returns a list of values available for the given attribute.
* const input = {
* "AttributeName": "volumeType",
* "MaxResults": 2,
* "ServiceCode": "AmazonEC2"
* };
* const command = new GetAttributeValuesCommand(input);
* const response = await client.send(command);
* /* response ==
* {
* "AttributeValues": [
* {
* "Value": "Throughput Optimized HDD"
* },
* {
* "Value": "Provisioned IOPS"
* }
* ],
* "NextToken": "GpgauEXAMPLEezucl5LV0w==:7GzYJ0nw0DBTJ2J66EoTIIynE6O1uXwQtTRqioJzQadBnDVgHPzI1en4BUQnPCLpzeBk9RQQAWaFieA4+DapFAGLgk+Z/9/cTw9GldnPOHN98+FdmJP7wKU3QQpQ8MQr5KOeBkIsAqvAQYdL0DkL7tHwPtE5iCEByAmg9gcC/yBU1vAOsf7R3VaNN4M5jMDv3woSWqASSIlBVB6tgW78YL22KhssoItM/jWW+aP6Jqtq4mldxp/ct6DWAl+xLFwHU/CbketimPPXyqHF3/UXDw=="
* }
* *\/
* // example id: to-retreive-attribute-values
* ```
*
*/
export class GetAttributeValuesCommand extends $Command<
GetAttributeValuesCommandInput,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export { __MetadataBearer, $Command };
export type InvokeEndpointCommandInputType = Omit<InvokeEndpointInput, "Body"> & {
Body: BlobTypes;
};

/**
* @public
*
Expand All @@ -46,6 +47,7 @@ export interface InvokeEndpointCommandInput extends InvokeEndpointCommandInputTy
export type InvokeEndpointCommandOutputType = Omit<InvokeEndpointOutput, "Body"> & {
Body: Uint8ArrayBlobAdapter;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export interface GetCodeBindingSourceCommandInput extends GetCodeBindingSourceRe
export type GetCodeBindingSourceCommandOutputType = Omit<GetCodeBindingSourceResponse, "Body"> & {
Body?: Uint8ArrayBlobAdapter;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export type GetSolFunctionPackageContentCommandOutputType = Omit<
> & {
packageContent?: Uint8ArrayBlobAdapter;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export interface GetSolFunctionPackageDescriptorCommandInput extends GetSolFunct
export type GetSolFunctionPackageDescriptorCommandOutputType = Omit<GetSolFunctionPackageDescriptorOutput, "vnfd"> & {
vnfd?: Uint8ArrayBlobAdapter;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export interface GetSolNetworkPackageContentCommandInput extends GetSolNetworkPa
export type GetSolNetworkPackageContentCommandOutputType = Omit<GetSolNetworkPackageContentOutput, "nsdContent"> & {
nsdContent?: Uint8ArrayBlobAdapter;
};

/**
* @public
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export interface GetSolNetworkPackageDescriptorCommandInput extends GetSolNetwor
export type GetSolNetworkPackageDescriptorCommandOutputType = Omit<GetSolNetworkPackageDescriptorOutput, "nsd"> & {
nsd?: Uint8ArrayBlobAdapter;
};

/**
* @public
*
Expand Down
Loading

0 comments on commit c98dfae

Please sign in to comment.