@aws-sdk/client-schemas 3.35.0 → 3.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist-cjs/Schemas.js +0 -1
- package/dist-cjs/SchemasClient.js +0 -1
- package/dist-cjs/commands/CreateDiscovererCommand.js +0 -1
- package/dist-cjs/commands/CreateRegistryCommand.js +0 -1
- package/dist-cjs/commands/CreateSchemaCommand.js +0 -1
- package/dist-cjs/commands/DeleteDiscovererCommand.js +0 -1
- package/dist-cjs/commands/DeleteRegistryCommand.js +0 -1
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +0 -1
- package/dist-cjs/commands/DeleteSchemaCommand.js +0 -1
- package/dist-cjs/commands/DeleteSchemaVersionCommand.js +0 -1
- package/dist-cjs/commands/DescribeCodeBindingCommand.js +0 -1
- package/dist-cjs/commands/DescribeDiscovererCommand.js +0 -1
- package/dist-cjs/commands/DescribeRegistryCommand.js +0 -1
- package/dist-cjs/commands/DescribeSchemaCommand.js +0 -1
- package/dist-cjs/commands/ExportSchemaCommand.js +0 -1
- package/dist-cjs/commands/GetCodeBindingSourceCommand.js +0 -1
- package/dist-cjs/commands/GetDiscoveredSchemaCommand.js +0 -1
- package/dist-cjs/commands/GetResourcePolicyCommand.js +0 -1
- package/dist-cjs/commands/ListDiscoverersCommand.js +0 -1
- package/dist-cjs/commands/ListRegistriesCommand.js +0 -1
- package/dist-cjs/commands/ListSchemaVersionsCommand.js +0 -1
- package/dist-cjs/commands/ListSchemasCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/PutCodeBindingCommand.js +0 -1
- package/dist-cjs/commands/PutResourcePolicyCommand.js +0 -1
- package/dist-cjs/commands/SearchSchemasCommand.js +0 -1
- package/dist-cjs/commands/StartDiscovererCommand.js +0 -1
- package/dist-cjs/commands/StopDiscovererCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateDiscovererCommand.js +0 -1
- package/dist-cjs/commands/UpdateRegistryCommand.js +0 -1
- package/dist-cjs/commands/UpdateSchemaCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListDiscoverersPaginator.js +0 -1
- package/dist-cjs/pagination/ListRegistriesPaginator.js +0 -1
- package/dist-cjs/pagination/ListSchemaVersionsPaginator.js +0 -1
- package/dist-cjs/pagination/ListSchemasPaginator.js +0 -1
- package/dist-cjs/pagination/SearchSchemasPaginator.js +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-cjs/waiters/waitForCodeBindingExists.js +0 -1
- package/dist-es/Schemas.js +0 -1
- package/dist-es/SchemasClient.js +0 -1
- package/dist-es/commands/CreateDiscovererCommand.js +0 -1
- package/dist-es/commands/CreateRegistryCommand.js +0 -1
- package/dist-es/commands/CreateSchemaCommand.js +0 -1
- package/dist-es/commands/DeleteDiscovererCommand.js +0 -1
- package/dist-es/commands/DeleteRegistryCommand.js +0 -1
- package/dist-es/commands/DeleteResourcePolicyCommand.js +0 -1
- package/dist-es/commands/DeleteSchemaCommand.js +0 -1
- package/dist-es/commands/DeleteSchemaVersionCommand.js +0 -1
- package/dist-es/commands/DescribeCodeBindingCommand.js +0 -1
- package/dist-es/commands/DescribeDiscovererCommand.js +0 -1
- package/dist-es/commands/DescribeRegistryCommand.js +0 -1
- package/dist-es/commands/DescribeSchemaCommand.js +0 -1
- package/dist-es/commands/ExportSchemaCommand.js +0 -1
- package/dist-es/commands/GetCodeBindingSourceCommand.js +0 -1
- package/dist-es/commands/GetDiscoveredSchemaCommand.js +0 -1
- package/dist-es/commands/GetResourcePolicyCommand.js +0 -1
- package/dist-es/commands/ListDiscoverersCommand.js +0 -1
- package/dist-es/commands/ListRegistriesCommand.js +0 -1
- package/dist-es/commands/ListSchemaVersionsCommand.js +0 -1
- package/dist-es/commands/ListSchemasCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/PutCodeBindingCommand.js +0 -1
- package/dist-es/commands/PutResourcePolicyCommand.js +0 -1
- package/dist-es/commands/SearchSchemasCommand.js +0 -1
- package/dist-es/commands/StartDiscovererCommand.js +0 -1
- package/dist-es/commands/StopDiscovererCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateDiscovererCommand.js +0 -1
- package/dist-es/commands/UpdateRegistryCommand.js +0 -1
- package/dist-es/commands/UpdateSchemaCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListDiscoverersPaginator.js +0 -1
- package/dist-es/pagination/ListRegistriesPaginator.js +0 -1
- package/dist-es/pagination/ListSchemaVersionsPaginator.js +0 -1
- package/dist-es/pagination/ListSchemasPaginator.js +0 -1
- package/dist-es/pagination/SearchSchemasPaginator.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-es/waiters/waitForCodeBindingExists.js +0 -1
- package/package.json +34 -31
- package/dist-cjs/Schemas.js.map +0 -1
- package/dist-cjs/SchemasClient.js.map +0 -1
- package/dist-cjs/commands/CreateDiscovererCommand.js.map +0 -1
- package/dist-cjs/commands/CreateRegistryCommand.js.map +0 -1
- package/dist-cjs/commands/CreateSchemaCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDiscovererCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRegistryCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteSchemaCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteSchemaVersionCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeCodeBindingCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDiscovererCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeRegistryCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeSchemaCommand.js.map +0 -1
- package/dist-cjs/commands/ExportSchemaCommand.js.map +0 -1
- package/dist-cjs/commands/GetCodeBindingSourceCommand.js.map +0 -1
- package/dist-cjs/commands/GetDiscoveredSchemaCommand.js.map +0 -1
- package/dist-cjs/commands/GetResourcePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/ListDiscoverersCommand.js.map +0 -1
- package/dist-cjs/commands/ListRegistriesCommand.js.map +0 -1
- package/dist-cjs/commands/ListSchemaVersionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListSchemasCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/PutCodeBindingCommand.js.map +0 -1
- package/dist-cjs/commands/PutResourcePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/SearchSchemasCommand.js.map +0 -1
- package/dist-cjs/commands/StartDiscovererCommand.js.map +0 -1
- package/dist-cjs/commands/StopDiscovererCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateDiscovererCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateRegistryCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateSchemaCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListDiscoverersPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListRegistriesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListSchemaVersionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListSchemasPaginator.js.map +0 -1
- package/dist-cjs/pagination/SearchSchemasPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-cjs/waiters/waitForCodeBindingExists.js.map +0 -1
- package/dist-es/Schemas.js.map +0 -1
- package/dist-es/SchemasClient.js.map +0 -1
- package/dist-es/commands/CreateDiscovererCommand.js.map +0 -1
- package/dist-es/commands/CreateRegistryCommand.js.map +0 -1
- package/dist-es/commands/CreateSchemaCommand.js.map +0 -1
- package/dist-es/commands/DeleteDiscovererCommand.js.map +0 -1
- package/dist-es/commands/DeleteRegistryCommand.js.map +0 -1
- package/dist-es/commands/DeleteResourcePolicyCommand.js.map +0 -1
- package/dist-es/commands/DeleteSchemaCommand.js.map +0 -1
- package/dist-es/commands/DeleteSchemaVersionCommand.js.map +0 -1
- package/dist-es/commands/DescribeCodeBindingCommand.js.map +0 -1
- package/dist-es/commands/DescribeDiscovererCommand.js.map +0 -1
- package/dist-es/commands/DescribeRegistryCommand.js.map +0 -1
- package/dist-es/commands/DescribeSchemaCommand.js.map +0 -1
- package/dist-es/commands/ExportSchemaCommand.js.map +0 -1
- package/dist-es/commands/GetCodeBindingSourceCommand.js.map +0 -1
- package/dist-es/commands/GetDiscoveredSchemaCommand.js.map +0 -1
- package/dist-es/commands/GetResourcePolicyCommand.js.map +0 -1
- package/dist-es/commands/ListDiscoverersCommand.js.map +0 -1
- package/dist-es/commands/ListRegistriesCommand.js.map +0 -1
- package/dist-es/commands/ListSchemaVersionsCommand.js.map +0 -1
- package/dist-es/commands/ListSchemasCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/PutCodeBindingCommand.js.map +0 -1
- package/dist-es/commands/PutResourcePolicyCommand.js.map +0 -1
- package/dist-es/commands/SearchSchemasCommand.js.map +0 -1
- package/dist-es/commands/StartDiscovererCommand.js.map +0 -1
- package/dist-es/commands/StopDiscovererCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateDiscovererCommand.js.map +0 -1
- package/dist-es/commands/UpdateRegistryCommand.js.map +0 -1
- package/dist-es/commands/UpdateSchemaCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListDiscoverersPaginator.js.map +0 -1
- package/dist-es/pagination/ListRegistriesPaginator.js.map +0 -1
- package/dist-es/pagination/ListSchemaVersionsPaginator.js.map +0 -1
- package/dist-es/pagination/ListSchemasPaginator.js.map +0 -1
- package/dist-es/pagination/SearchSchemasPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/dist-es/waiters/waitForCodeBindingExists.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/Schemas.ts +0 -1120
- package/src/SchemasClient.ts +0 -347
- package/src/commands/CreateDiscovererCommand.ts +0 -95
- package/src/commands/CreateRegistryCommand.ts +0 -95
- package/src/commands/CreateSchemaCommand.ts +0 -95
- package/src/commands/DeleteDiscovererCommand.ts +0 -95
- package/src/commands/DeleteRegistryCommand.ts +0 -95
- package/src/commands/DeleteResourcePolicyCommand.ts +0 -95
- package/src/commands/DeleteSchemaCommand.ts +0 -95
- package/src/commands/DeleteSchemaVersionCommand.ts +0 -95
- package/src/commands/DescribeCodeBindingCommand.ts +0 -95
- package/src/commands/DescribeDiscovererCommand.ts +0 -95
- package/src/commands/DescribeRegistryCommand.ts +0 -95
- package/src/commands/DescribeSchemaCommand.ts +0 -95
- package/src/commands/ExportSchemaCommand.ts +0 -78
- package/src/commands/GetCodeBindingSourceCommand.ts +0 -95
- package/src/commands/GetDiscoveredSchemaCommand.ts +0 -95
- package/src/commands/GetResourcePolicyCommand.ts +0 -95
- package/src/commands/ListDiscoverersCommand.ts +0 -95
- package/src/commands/ListRegistriesCommand.ts +0 -95
- package/src/commands/ListSchemaVersionsCommand.ts +0 -95
- package/src/commands/ListSchemasCommand.ts +0 -95
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/PutCodeBindingCommand.ts +0 -95
- package/src/commands/PutResourcePolicyCommand.ts +0 -95
- package/src/commands/SearchSchemasCommand.ts +0 -95
- package/src/commands/StartDiscovererCommand.ts +0 -95
- package/src/commands/StopDiscovererCommand.ts +0 -95
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateDiscovererCommand.ts +0 -95
- package/src/commands/UpdateRegistryCommand.ts +0 -95
- package/src/commands/UpdateSchemaCommand.ts +0 -95
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -41
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -1901
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListDiscoverersPaginator.ts +0 -59
- package/src/pagination/ListRegistriesPaginator.ts +0 -59
- package/src/pagination/ListSchemaVersionsPaginator.ts +0 -59
- package/src/pagination/ListSchemasPaginator.ts +0 -55
- package/src/pagination/SearchSchemasPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -4748
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/src/waiters/waitForCodeBindingExists.ts +0 -66
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DeleteDiscovererRequest } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1DeleteDiscovererCommand,
|
|
17
|
-
serializeAws_restJson1DeleteDiscovererCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { SchemasClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchemasClient";
|
|
20
|
-
|
|
21
|
-
export interface DeleteDiscovererCommandInput extends DeleteDiscovererRequest {}
|
|
22
|
-
export interface DeleteDiscovererCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes a discoverer.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { SchemasClient, DeleteDiscovererCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
30
|
-
* // const { SchemasClient, DeleteDiscovererCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
31
|
-
* const client = new SchemasClient(config);
|
|
32
|
-
* const command = new DeleteDiscovererCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeleteDiscovererCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeleteDiscovererCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link SchemasClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeleteDiscovererCommand extends $Command<
|
|
42
|
-
DeleteDiscovererCommandInput,
|
|
43
|
-
DeleteDiscovererCommandOutput,
|
|
44
|
-
SchemasClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeleteDiscovererCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: SchemasClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<DeleteDiscovererCommandInput, DeleteDiscovererCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "SchemasClient";
|
|
69
|
-
const commandName = "DeleteDiscovererCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeleteDiscovererRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: DeleteDiscovererCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1DeleteDiscovererCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteDiscovererCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1DeleteDiscovererCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DeleteRegistryRequest } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1DeleteRegistryCommand,
|
|
17
|
-
serializeAws_restJson1DeleteRegistryCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { SchemasClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchemasClient";
|
|
20
|
-
|
|
21
|
-
export interface DeleteRegistryCommandInput extends DeleteRegistryRequest {}
|
|
22
|
-
export interface DeleteRegistryCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes a Registry.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { SchemasClient, DeleteRegistryCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
30
|
-
* // const { SchemasClient, DeleteRegistryCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
31
|
-
* const client = new SchemasClient(config);
|
|
32
|
-
* const command = new DeleteRegistryCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeleteRegistryCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeleteRegistryCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link SchemasClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeleteRegistryCommand extends $Command<
|
|
42
|
-
DeleteRegistryCommandInput,
|
|
43
|
-
DeleteRegistryCommandOutput,
|
|
44
|
-
SchemasClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeleteRegistryCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: SchemasClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<DeleteRegistryCommandInput, DeleteRegistryCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "SchemasClient";
|
|
69
|
-
const commandName = "DeleteRegistryCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeleteRegistryRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: DeleteRegistryCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1DeleteRegistryCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteRegistryCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1DeleteRegistryCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DeleteResourcePolicyRequest } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1DeleteResourcePolicyCommand,
|
|
17
|
-
serializeAws_restJson1DeleteResourcePolicyCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { SchemasClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchemasClient";
|
|
20
|
-
|
|
21
|
-
export interface DeleteResourcePolicyCommandInput extends DeleteResourcePolicyRequest {}
|
|
22
|
-
export interface DeleteResourcePolicyCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Delete the resource-based policy attached to the specified registry.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { SchemasClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
30
|
-
* // const { SchemasClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
31
|
-
* const client = new SchemasClient(config);
|
|
32
|
-
* const command = new DeleteResourcePolicyCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeleteResourcePolicyCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeleteResourcePolicyCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link SchemasClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeleteResourcePolicyCommand extends $Command<
|
|
42
|
-
DeleteResourcePolicyCommandInput,
|
|
43
|
-
DeleteResourcePolicyCommandOutput,
|
|
44
|
-
SchemasClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeleteResourcePolicyCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: SchemasClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "SchemasClient";
|
|
69
|
-
const commandName = "DeleteResourcePolicyCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeleteResourcePolicyRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: DeleteResourcePolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1DeleteResourcePolicyCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteResourcePolicyCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1DeleteResourcePolicyCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DeleteSchemaRequest } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1DeleteSchemaCommand,
|
|
17
|
-
serializeAws_restJson1DeleteSchemaCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { SchemasClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchemasClient";
|
|
20
|
-
|
|
21
|
-
export interface DeleteSchemaCommandInput extends DeleteSchemaRequest {}
|
|
22
|
-
export interface DeleteSchemaCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Delete a schema definition.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { SchemasClient, DeleteSchemaCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
30
|
-
* // const { SchemasClient, DeleteSchemaCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
31
|
-
* const client = new SchemasClient(config);
|
|
32
|
-
* const command = new DeleteSchemaCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeleteSchemaCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeleteSchemaCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link SchemasClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeleteSchemaCommand extends $Command<
|
|
42
|
-
DeleteSchemaCommandInput,
|
|
43
|
-
DeleteSchemaCommandOutput,
|
|
44
|
-
SchemasClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeleteSchemaCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: SchemasClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<DeleteSchemaCommandInput, DeleteSchemaCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "SchemasClient";
|
|
69
|
-
const commandName = "DeleteSchemaCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeleteSchemaRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: DeleteSchemaCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1DeleteSchemaCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteSchemaCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1DeleteSchemaCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DeleteSchemaVersionRequest } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1DeleteSchemaVersionCommand,
|
|
17
|
-
serializeAws_restJson1DeleteSchemaVersionCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { SchemasClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchemasClient";
|
|
20
|
-
|
|
21
|
-
export interface DeleteSchemaVersionCommandInput extends DeleteSchemaVersionRequest {}
|
|
22
|
-
export interface DeleteSchemaVersionCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Delete the schema version definition</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { SchemasClient, DeleteSchemaVersionCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
30
|
-
* // const { SchemasClient, DeleteSchemaVersionCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
31
|
-
* const client = new SchemasClient(config);
|
|
32
|
-
* const command = new DeleteSchemaVersionCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeleteSchemaVersionCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeleteSchemaVersionCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link SchemasClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeleteSchemaVersionCommand extends $Command<
|
|
42
|
-
DeleteSchemaVersionCommandInput,
|
|
43
|
-
DeleteSchemaVersionCommandOutput,
|
|
44
|
-
SchemasClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeleteSchemaVersionCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: SchemasClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<DeleteSchemaVersionCommandInput, DeleteSchemaVersionCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "SchemasClient";
|
|
69
|
-
const commandName = "DeleteSchemaVersionCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeleteSchemaVersionRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: DeleteSchemaVersionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1DeleteSchemaVersionCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteSchemaVersionCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1DeleteSchemaVersionCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DescribeCodeBindingRequest, DescribeCodeBindingResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1DescribeCodeBindingCommand,
|
|
17
|
-
serializeAws_restJson1DescribeCodeBindingCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { SchemasClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchemasClient";
|
|
20
|
-
|
|
21
|
-
export interface DescribeCodeBindingCommandInput extends DescribeCodeBindingRequest {}
|
|
22
|
-
export interface DescribeCodeBindingCommandOutput extends DescribeCodeBindingResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Describe the code binding URI.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { SchemasClient, DescribeCodeBindingCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
30
|
-
* // const { SchemasClient, DescribeCodeBindingCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
31
|
-
* const client = new SchemasClient(config);
|
|
32
|
-
* const command = new DescribeCodeBindingCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DescribeCodeBindingCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DescribeCodeBindingCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link SchemasClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DescribeCodeBindingCommand extends $Command<
|
|
42
|
-
DescribeCodeBindingCommandInput,
|
|
43
|
-
DescribeCodeBindingCommandOutput,
|
|
44
|
-
SchemasClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DescribeCodeBindingCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: SchemasClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<DescribeCodeBindingCommandInput, DescribeCodeBindingCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "SchemasClient";
|
|
69
|
-
const commandName = "DescribeCodeBindingCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DescribeCodeBindingRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DescribeCodeBindingResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: DescribeCodeBindingCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1DescribeCodeBindingCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeCodeBindingCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1DescribeCodeBindingCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DescribeDiscovererRequest, DescribeDiscovererResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1DescribeDiscovererCommand,
|
|
17
|
-
serializeAws_restJson1DescribeDiscovererCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { SchemasClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchemasClient";
|
|
20
|
-
|
|
21
|
-
export interface DescribeDiscovererCommandInput extends DescribeDiscovererRequest {}
|
|
22
|
-
export interface DescribeDiscovererCommandOutput extends DescribeDiscovererResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Describes the discoverer.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { SchemasClient, DescribeDiscovererCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
30
|
-
* // const { SchemasClient, DescribeDiscovererCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
31
|
-
* const client = new SchemasClient(config);
|
|
32
|
-
* const command = new DescribeDiscovererCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DescribeDiscovererCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DescribeDiscovererCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link SchemasClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DescribeDiscovererCommand extends $Command<
|
|
42
|
-
DescribeDiscovererCommandInput,
|
|
43
|
-
DescribeDiscovererCommandOutput,
|
|
44
|
-
SchemasClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DescribeDiscovererCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: SchemasClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<DescribeDiscovererCommandInput, DescribeDiscovererCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "SchemasClient";
|
|
69
|
-
const commandName = "DescribeDiscovererCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DescribeDiscovererRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DescribeDiscovererResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: DescribeDiscovererCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1DescribeDiscovererCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeDiscovererCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1DescribeDiscovererCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|