@aws-sdk/client-amplifyuibuilder 3.45.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 +11 -0
- package/LICENSE +201 -0
- package/README.md +212 -0
- package/dist-cjs/AmplifyUIBuilder.js +217 -0
- package/dist-cjs/AmplifyUIBuilderClient.js +35 -0
- package/dist-cjs/commands/CreateComponentCommand.js +36 -0
- package/dist-cjs/commands/CreateThemeCommand.js +36 -0
- package/dist-cjs/commands/DeleteComponentCommand.js +36 -0
- package/dist-cjs/commands/DeleteThemeCommand.js +36 -0
- package/dist-cjs/commands/ExchangeCodeForTokenCommand.js +36 -0
- package/dist-cjs/commands/ExportComponentsCommand.js +36 -0
- package/dist-cjs/commands/ExportThemesCommand.js +36 -0
- package/dist-cjs/commands/GetComponentCommand.js +36 -0
- package/dist-cjs/commands/GetThemeCommand.js +36 -0
- package/dist-cjs/commands/ListComponentsCommand.js +36 -0
- package/dist-cjs/commands/ListThemesCommand.js +36 -0
- package/dist-cjs/commands/RefreshTokenCommand.js +36 -0
- package/dist-cjs/commands/UpdateComponentCommand.js +36 -0
- package/dist-cjs/commands/UpdateThemeCommand.js +36 -0
- package/dist-cjs/commands/index.js +17 -0
- package/dist-cjs/endpoints.js +131 -0
- package/dist-cjs/index.js +8 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +340 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListComponentsPaginator.js +35 -0
- package/dist-cjs/pagination/ListThemesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2404 -0
- package/dist-cjs/runtimeConfig.browser.js +40 -0
- package/dist-cjs/runtimeConfig.js +44 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/AmplifyUIBuilder.js +220 -0
- package/dist-es/AmplifyUIBuilderClient.js +37 -0
- package/dist-es/commands/CreateComponentCommand.js +39 -0
- package/dist-es/commands/CreateThemeCommand.js +39 -0
- package/dist-es/commands/DeleteComponentCommand.js +39 -0
- package/dist-es/commands/DeleteThemeCommand.js +39 -0
- package/dist-es/commands/ExchangeCodeForTokenCommand.js +39 -0
- package/dist-es/commands/ExportComponentsCommand.js +39 -0
- package/dist-es/commands/ExportThemesCommand.js +39 -0
- package/dist-es/commands/GetComponentCommand.js +39 -0
- package/dist-es/commands/GetThemeCommand.js +39 -0
- package/dist-es/commands/ListComponentsCommand.js +39 -0
- package/dist-es/commands/ListThemesCommand.js +39 -0
- package/dist-es/commands/RefreshTokenCommand.js +39 -0
- package/dist-es/commands/UpdateComponentCommand.js +39 -0
- package/dist-es/commands/UpdateThemeCommand.js +39 -0
- package/dist-es/commands/index.js +14 -0
- package/dist-es/endpoints.js +127 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +222 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListComponentsPaginator.js +74 -0
- package/dist-es/pagination/ListThemesPaginator.js +74 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +2546 -0
- package/dist-es/runtimeConfig.browser.js +17 -0
- package/dist-es/runtimeConfig.js +21 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/AmplifyUIBuilder.d.ts +116 -0
- package/dist-types/AmplifyUIBuilderClient.d.ts +163 -0
- package/dist-types/commands/CreateComponentCommand.d.ts +35 -0
- package/dist-types/commands/CreateThemeCommand.d.ts +35 -0
- package/dist-types/commands/DeleteComponentCommand.d.ts +35 -0
- package/dist-types/commands/DeleteThemeCommand.d.ts +35 -0
- package/dist-types/commands/ExchangeCodeForTokenCommand.d.ts +35 -0
- package/dist-types/commands/ExportComponentsCommand.d.ts +36 -0
- package/dist-types/commands/ExportThemesCommand.d.ts +36 -0
- package/dist-types/commands/GetComponentCommand.d.ts +35 -0
- package/dist-types/commands/GetThemeCommand.d.ts +35 -0
- package/dist-types/commands/ListComponentsCommand.d.ts +35 -0
- package/dist-types/commands/ListThemesCommand.d.ts +35 -0
- package/dist-types/commands/RefreshTokenCommand.d.ts +35 -0
- package/dist-types/commands/UpdateComponentCommand.d.ts +35 -0
- package/dist-types/commands/UpdateThemeCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +14 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +5 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1342 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListComponentsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListThemesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +44 -0
- package/dist-types/runtimeConfig.browser.d.ts +39 -0
- package/dist-types/runtimeConfig.d.ts +39 -0
- package/dist-types/runtimeConfig.native.d.ts +38 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/AmplifyUIBuilder.d.ts +75 -0
- package/dist-types/ts3.4/AmplifyUIBuilderClient.d.ts +85 -0
- package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateThemeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteThemeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ExchangeCodeForTokenCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ExportComponentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ExportThemesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetThemeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListThemesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RefreshTokenCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateComponentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateThemeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +14 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +5 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +783 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListComponentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListThemesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +44 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +36 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +96 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AmplifyUIBuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyUIBuilderClient";
|
|
4
|
+
import { GetComponentRequest, GetComponentResponse } from "../models/models_0";
|
|
5
|
+
export interface GetComponentCommandInput extends GetComponentRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetComponentCommandOutput extends GetComponentResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Returns an existing component for an Amplify app.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { AmplifyUIBuilderClient, GetComponentCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
|
|
15
|
+
* // const { AmplifyUIBuilderClient, GetComponentCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
|
|
16
|
+
* const client = new AmplifyUIBuilderClient(config);
|
|
17
|
+
* const command = new GetComponentCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link GetComponentCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link GetComponentCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link AmplifyUIBuilderClientResolvedConfig | config} for AmplifyUIBuilderClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class GetComponentCommand extends $Command<GetComponentCommandInput, GetComponentCommandOutput, AmplifyUIBuilderClientResolvedConfig> {
|
|
27
|
+
readonly input: GetComponentCommandInput;
|
|
28
|
+
constructor(input: GetComponentCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmplifyUIBuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetComponentCommandInput, GetComponentCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AmplifyUIBuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyUIBuilderClient";
|
|
4
|
+
import { GetThemeRequest, GetThemeResponse } from "../models/models_0";
|
|
5
|
+
export interface GetThemeCommandInput extends GetThemeRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetThemeCommandOutput extends GetThemeResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Returns an existing theme for an Amplify app.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { AmplifyUIBuilderClient, GetThemeCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
|
|
15
|
+
* // const { AmplifyUIBuilderClient, GetThemeCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
|
|
16
|
+
* const client = new AmplifyUIBuilderClient(config);
|
|
17
|
+
* const command = new GetThemeCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link GetThemeCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link GetThemeCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link AmplifyUIBuilderClientResolvedConfig | config} for AmplifyUIBuilderClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class GetThemeCommand extends $Command<GetThemeCommandInput, GetThemeCommandOutput, AmplifyUIBuilderClientResolvedConfig> {
|
|
27
|
+
readonly input: GetThemeCommandInput;
|
|
28
|
+
constructor(input: GetThemeCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmplifyUIBuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetThemeCommandInput, GetThemeCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AmplifyUIBuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyUIBuilderClient";
|
|
4
|
+
import { ListComponentsRequest, ListComponentsResponse } from "../models/models_0";
|
|
5
|
+
export interface ListComponentsCommandInput extends ListComponentsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListComponentsCommandOutput extends ListComponentsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Retrieves a list of components for a specified Amplify app and backend environment.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { AmplifyUIBuilderClient, ListComponentsCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
|
|
15
|
+
* // const { AmplifyUIBuilderClient, ListComponentsCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
|
|
16
|
+
* const client = new AmplifyUIBuilderClient(config);
|
|
17
|
+
* const command = new ListComponentsCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link ListComponentsCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link ListComponentsCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link AmplifyUIBuilderClientResolvedConfig | config} for AmplifyUIBuilderClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class ListComponentsCommand extends $Command<ListComponentsCommandInput, ListComponentsCommandOutput, AmplifyUIBuilderClientResolvedConfig> {
|
|
27
|
+
readonly input: ListComponentsCommandInput;
|
|
28
|
+
constructor(input: ListComponentsCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmplifyUIBuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListComponentsCommandInput, ListComponentsCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AmplifyUIBuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyUIBuilderClient";
|
|
4
|
+
import { ListThemesRequest, ListThemesResponse } from "../models/models_0";
|
|
5
|
+
export interface ListThemesCommandInput extends ListThemesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListThemesCommandOutput extends ListThemesResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Retrieves a list of themes for a specified Amplify app and backend environment.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { AmplifyUIBuilderClient, ListThemesCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
|
|
15
|
+
* // const { AmplifyUIBuilderClient, ListThemesCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
|
|
16
|
+
* const client = new AmplifyUIBuilderClient(config);
|
|
17
|
+
* const command = new ListThemesCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link ListThemesCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link ListThemesCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link AmplifyUIBuilderClientResolvedConfig | config} for AmplifyUIBuilderClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class ListThemesCommand extends $Command<ListThemesCommandInput, ListThemesCommandOutput, AmplifyUIBuilderClientResolvedConfig> {
|
|
27
|
+
readonly input: ListThemesCommandInput;
|
|
28
|
+
constructor(input: ListThemesCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmplifyUIBuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListThemesCommandInput, ListThemesCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AmplifyUIBuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyUIBuilderClient";
|
|
4
|
+
import { RefreshTokenRequest, RefreshTokenResponse } from "../models/models_0";
|
|
5
|
+
export interface RefreshTokenCommandInput extends RefreshTokenRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface RefreshTokenCommandOutput extends RefreshTokenResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Refreshes a previously issued access token that might have expired.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { AmplifyUIBuilderClient, RefreshTokenCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
|
|
15
|
+
* // const { AmplifyUIBuilderClient, RefreshTokenCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
|
|
16
|
+
* const client = new AmplifyUIBuilderClient(config);
|
|
17
|
+
* const command = new RefreshTokenCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link RefreshTokenCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link RefreshTokenCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link AmplifyUIBuilderClientResolvedConfig | config} for AmplifyUIBuilderClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class RefreshTokenCommand extends $Command<RefreshTokenCommandInput, RefreshTokenCommandOutput, AmplifyUIBuilderClientResolvedConfig> {
|
|
27
|
+
readonly input: RefreshTokenCommandInput;
|
|
28
|
+
constructor(input: RefreshTokenCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmplifyUIBuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RefreshTokenCommandInput, RefreshTokenCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AmplifyUIBuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyUIBuilderClient";
|
|
4
|
+
import { UpdateComponentRequest, UpdateComponentResponse } from "../models/models_0";
|
|
5
|
+
export interface UpdateComponentCommandInput extends UpdateComponentRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateComponentCommandOutput extends UpdateComponentResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates an existing component.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { AmplifyUIBuilderClient, UpdateComponentCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
|
|
15
|
+
* // const { AmplifyUIBuilderClient, UpdateComponentCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
|
|
16
|
+
* const client = new AmplifyUIBuilderClient(config);
|
|
17
|
+
* const command = new UpdateComponentCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link UpdateComponentCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link UpdateComponentCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link AmplifyUIBuilderClientResolvedConfig | config} for AmplifyUIBuilderClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class UpdateComponentCommand extends $Command<UpdateComponentCommandInput, UpdateComponentCommandOutput, AmplifyUIBuilderClientResolvedConfig> {
|
|
27
|
+
readonly input: UpdateComponentCommandInput;
|
|
28
|
+
constructor(input: UpdateComponentCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmplifyUIBuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateComponentCommandInput, UpdateComponentCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AmplifyUIBuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyUIBuilderClient";
|
|
4
|
+
import { UpdateThemeRequest, UpdateThemeResponse } from "../models/models_0";
|
|
5
|
+
export interface UpdateThemeCommandInput extends UpdateThemeRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateThemeCommandOutput extends UpdateThemeResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates an existing theme.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { AmplifyUIBuilderClient, UpdateThemeCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
|
|
15
|
+
* // const { AmplifyUIBuilderClient, UpdateThemeCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
|
|
16
|
+
* const client = new AmplifyUIBuilderClient(config);
|
|
17
|
+
* const command = new UpdateThemeCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link UpdateThemeCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link UpdateThemeCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link AmplifyUIBuilderClientResolvedConfig | config} for AmplifyUIBuilderClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class UpdateThemeCommand extends $Command<UpdateThemeCommandInput, UpdateThemeCommandOutput, AmplifyUIBuilderClientResolvedConfig> {
|
|
27
|
+
readonly input: UpdateThemeCommandInput;
|
|
28
|
+
constructor(input: UpdateThemeCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmplifyUIBuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateThemeCommandInput, UpdateThemeCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from "./CreateComponentCommand";
|
|
2
|
+
export * from "./CreateThemeCommand";
|
|
3
|
+
export * from "./DeleteComponentCommand";
|
|
4
|
+
export * from "./DeleteThemeCommand";
|
|
5
|
+
export * from "./ExchangeCodeForTokenCommand";
|
|
6
|
+
export * from "./ExportComponentsCommand";
|
|
7
|
+
export * from "./ExportThemesCommand";
|
|
8
|
+
export * from "./GetComponentCommand";
|
|
9
|
+
export * from "./GetThemeCommand";
|
|
10
|
+
export * from "./ListComponentsCommand";
|
|
11
|
+
export * from "./ListThemesCommand";
|
|
12
|
+
export * from "./RefreshTokenCommand";
|
|
13
|
+
export * from "./UpdateComponentCommand";
|
|
14
|
+
export * from "./UpdateThemeCommand";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|