@aws-sdk/client-cloudextensions 0.0.0-stage → 3.1181.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/LICENSE +201 -0
- package/README.md +292 -2
- package/dist-cjs/index.js +1295 -0
- package/dist-es/CloudExtensions.js +49 -0
- package/dist-es/CloudExtensionsClient.js +47 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CreateProfileCommand.js +4 -0
- package/dist-es/commands/CreateProfileEntryCommand.js +4 -0
- package/dist-es/commands/DeleteProfileCommand.js +4 -0
- package/dist-es/commands/DeleteProfileEntryCommand.js +4 -0
- package/dist-es/commands/GetExtensionCommand.js +4 -0
- package/dist-es/commands/GetProfileCommand.js +4 -0
- package/dist-es/commands/GetProfileEntryCommand.js +4 -0
- package/dist-es/commands/ListExtensionVersionsCommand.js +4 -0
- package/dist-es/commands/ListExtensionsCommand.js +4 -0
- package/dist-es/commands/ListProfileEntriesCommand.js +4 -0
- package/dist-es/commands/ListProfilesCommand.js +4 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
- package/dist-es/commands/TagResourceCommand.js +4 -0
- package/dist-es/commands/UntagResourceCommand.js +4 -0
- package/dist-es/commands/UpdateProfileCommand.js +4 -0
- package/dist-es/commands/UpdateProfileEntryCommand.js +4 -0
- package/dist-es/commands/index.js +16 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/bdd.js +29 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +10 -0
- package/dist-es/models/CloudExtensionsServiceException.js +9 -0
- package/dist-es/models/enums.js +21 -0
- package/dist-es/models/errors.js +118 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListExtensionVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListExtensionsPaginator.js +4 -0
- package/dist-es/pagination/ListProfileEntriesPaginator.js +4 -0
- package/dist-es/pagination/ListProfilesPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/runtimeConfig.browser.js +29 -0
- package/dist-es/runtimeConfig.js +44 -0
- package/dist-es/runtimeConfig.native.js +9 -0
- package/dist-es/runtimeConfig.shared.js +40 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +686 -0
- package/dist-types/CloudExtensions.d.ts +158 -0
- package/dist-types/CloudExtensionsClient.d.ts +203 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CreateProfileCommand.d.ts +136 -0
- package/dist-types/commands/CreateProfileEntryCommand.d.ts +205 -0
- package/dist-types/commands/DeleteProfileCommand.d.ts +87 -0
- package/dist-types/commands/DeleteProfileEntryCommand.d.ts +88 -0
- package/dist-types/commands/GetExtensionCommand.d.ts +248 -0
- package/dist-types/commands/GetProfileCommand.d.ts +110 -0
- package/dist-types/commands/GetProfileEntryCommand.d.ts +166 -0
- package/dist-types/commands/ListExtensionVersionsCommand.d.ts +101 -0
- package/dist-types/commands/ListExtensionsCommand.d.ts +96 -0
- package/dist-types/commands/ListProfileEntriesCommand.d.ts +107 -0
- package/dist-types/commands/ListProfilesCommand.d.ts +95 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +88 -0
- package/dist-types/commands/TagResourceCommand.d.ts +87 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
- package/dist-types/commands/UpdateProfileCommand.d.ts +133 -0
- package/dist-types/commands/UpdateProfileEntryCommand.d.ts +198 -0
- package/dist-types/commands/index.d.ts +16 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +18 -0
- package/dist-types/models/CloudExtensionsServiceException.d.ts +15 -0
- package/dist-types/models/enums.d.ts +94 -0
- package/dist-types/models/errors.d.ts +154 -0
- package/dist-types/models/models_0.d.ts +1972 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListExtensionVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListExtensionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProfileEntriesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProfilesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/runtimeConfig.browser.d.ts +57 -0
- package/dist-types/runtimeConfig.d.ts +58 -0
- package/dist-types/runtimeConfig.native.d.ts +56 -0
- package/dist-types/runtimeConfig.shared.d.ts +28 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +97 -0
- package/dist-types/ts3.4/CloudExtensions.d.ts +309 -0
- package/dist-types/ts3.4/CloudExtensionsClient.d.ts +191 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateProfileEntryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteProfileEntryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetExtensionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetProfileEntryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListExtensionVersionsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListExtensionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListProfileEntriesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateProfileEntryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +16 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
- package/dist-types/ts3.4/index.d.ts +13 -0
- package/dist-types/ts3.4/models/CloudExtensionsServiceException.d.ts +10 -0
- package/dist-types/ts3.4/models/enums.d.ts +27 -0
- package/dist-types/ts3.4/models/errors.d.ts +61 -0
- package/dist-types/ts3.4/models/models_0.d.ts +618 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListExtensionVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListExtensionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProfileEntriesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProfilesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +97 -0
- package/package.json +67 -4
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
|
+
import { CloudExtensionsClient } from "./CloudExtensionsClient";
|
|
3
|
+
import { type CreateProfileCommandInput, type CreateProfileCommandOutput } from "./commands/CreateProfileCommand";
|
|
4
|
+
import { type CreateProfileEntryCommandInput, type CreateProfileEntryCommandOutput } from "./commands/CreateProfileEntryCommand";
|
|
5
|
+
import { type DeleteProfileCommandInput, type DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
|
|
6
|
+
import { type DeleteProfileEntryCommandInput, type DeleteProfileEntryCommandOutput } from "./commands/DeleteProfileEntryCommand";
|
|
7
|
+
import { type GetExtensionCommandInput, type GetExtensionCommandOutput } from "./commands/GetExtensionCommand";
|
|
8
|
+
import { type GetProfileCommandInput, type GetProfileCommandOutput } from "./commands/GetProfileCommand";
|
|
9
|
+
import { type GetProfileEntryCommandInput, type GetProfileEntryCommandOutput } from "./commands/GetProfileEntryCommand";
|
|
10
|
+
import { type ListExtensionsCommandInput, type ListExtensionsCommandOutput } from "./commands/ListExtensionsCommand";
|
|
11
|
+
import { type ListExtensionVersionsCommandInput, type ListExtensionVersionsCommandOutput } from "./commands/ListExtensionVersionsCommand";
|
|
12
|
+
import { type ListProfileEntriesCommandInput, type ListProfileEntriesCommandOutput } from "./commands/ListProfileEntriesCommand";
|
|
13
|
+
import { type ListProfilesCommandInput, type ListProfilesCommandOutput } from "./commands/ListProfilesCommand";
|
|
14
|
+
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
15
|
+
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
16
|
+
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
17
|
+
import { type UpdateProfileCommandInput, type UpdateProfileCommandOutput } from "./commands/UpdateProfileCommand";
|
|
18
|
+
import { type UpdateProfileEntryCommandInput, type UpdateProfileEntryCommandOutput } from "./commands/UpdateProfileEntryCommand";
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export interface CloudExtensionsRequestOptions extends __HttpHandlerOptions {
|
|
23
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
24
|
+
}
|
|
25
|
+
export interface CloudExtensions {
|
|
26
|
+
/**
|
|
27
|
+
* @see {@link CreateProfileCommand}
|
|
28
|
+
*/
|
|
29
|
+
createProfile(args: CreateProfileCommandInput, options?: CloudExtensionsRequestOptions): Promise<CreateProfileCommandOutput>;
|
|
30
|
+
createProfile(args: CreateProfileCommandInput, cb: (err: any, data?: CreateProfileCommandOutput) => void): void;
|
|
31
|
+
createProfile(args: CreateProfileCommandInput, options: CloudExtensionsRequestOptions, cb: (err: any, data?: CreateProfileCommandOutput) => void): void;
|
|
32
|
+
/**
|
|
33
|
+
* @see {@link CreateProfileEntryCommand}
|
|
34
|
+
*/
|
|
35
|
+
createProfileEntry(args: CreateProfileEntryCommandInput, options?: CloudExtensionsRequestOptions): Promise<CreateProfileEntryCommandOutput>;
|
|
36
|
+
createProfileEntry(args: CreateProfileEntryCommandInput, cb: (err: any, data?: CreateProfileEntryCommandOutput) => void): void;
|
|
37
|
+
createProfileEntry(args: CreateProfileEntryCommandInput, options: CloudExtensionsRequestOptions, cb: (err: any, data?: CreateProfileEntryCommandOutput) => void): void;
|
|
38
|
+
/**
|
|
39
|
+
* @see {@link DeleteProfileCommand}
|
|
40
|
+
*/
|
|
41
|
+
deleteProfile(args: DeleteProfileCommandInput, options?: CloudExtensionsRequestOptions): Promise<DeleteProfileCommandOutput>;
|
|
42
|
+
deleteProfile(args: DeleteProfileCommandInput, cb: (err: any, data?: DeleteProfileCommandOutput) => void): void;
|
|
43
|
+
deleteProfile(args: DeleteProfileCommandInput, options: CloudExtensionsRequestOptions, cb: (err: any, data?: DeleteProfileCommandOutput) => void): void;
|
|
44
|
+
/**
|
|
45
|
+
* @see {@link DeleteProfileEntryCommand}
|
|
46
|
+
*/
|
|
47
|
+
deleteProfileEntry(args: DeleteProfileEntryCommandInput, options?: CloudExtensionsRequestOptions): Promise<DeleteProfileEntryCommandOutput>;
|
|
48
|
+
deleteProfileEntry(args: DeleteProfileEntryCommandInput, cb: (err: any, data?: DeleteProfileEntryCommandOutput) => void): void;
|
|
49
|
+
deleteProfileEntry(args: DeleteProfileEntryCommandInput, options: CloudExtensionsRequestOptions, cb: (err: any, data?: DeleteProfileEntryCommandOutput) => void): void;
|
|
50
|
+
/**
|
|
51
|
+
* @see {@link GetExtensionCommand}
|
|
52
|
+
*/
|
|
53
|
+
getExtension(args: GetExtensionCommandInput, options?: CloudExtensionsRequestOptions): Promise<GetExtensionCommandOutput>;
|
|
54
|
+
getExtension(args: GetExtensionCommandInput, cb: (err: any, data?: GetExtensionCommandOutput) => void): void;
|
|
55
|
+
getExtension(args: GetExtensionCommandInput, options: CloudExtensionsRequestOptions, cb: (err: any, data?: GetExtensionCommandOutput) => void): void;
|
|
56
|
+
/**
|
|
57
|
+
* @see {@link GetProfileCommand}
|
|
58
|
+
*/
|
|
59
|
+
getProfile(args: GetProfileCommandInput, options?: CloudExtensionsRequestOptions): Promise<GetProfileCommandOutput>;
|
|
60
|
+
getProfile(args: GetProfileCommandInput, cb: (err: any, data?: GetProfileCommandOutput) => void): void;
|
|
61
|
+
getProfile(args: GetProfileCommandInput, options: CloudExtensionsRequestOptions, cb: (err: any, data?: GetProfileCommandOutput) => void): void;
|
|
62
|
+
/**
|
|
63
|
+
* @see {@link GetProfileEntryCommand}
|
|
64
|
+
*/
|
|
65
|
+
getProfileEntry(args: GetProfileEntryCommandInput, options?: CloudExtensionsRequestOptions): Promise<GetProfileEntryCommandOutput>;
|
|
66
|
+
getProfileEntry(args: GetProfileEntryCommandInput, cb: (err: any, data?: GetProfileEntryCommandOutput) => void): void;
|
|
67
|
+
getProfileEntry(args: GetProfileEntryCommandInput, options: CloudExtensionsRequestOptions, cb: (err: any, data?: GetProfileEntryCommandOutput) => void): void;
|
|
68
|
+
/**
|
|
69
|
+
* @see {@link ListExtensionsCommand}
|
|
70
|
+
*/
|
|
71
|
+
listExtensions(): Promise<ListExtensionsCommandOutput>;
|
|
72
|
+
listExtensions(args: ListExtensionsCommandInput, options?: CloudExtensionsRequestOptions): Promise<ListExtensionsCommandOutput>;
|
|
73
|
+
listExtensions(args: ListExtensionsCommandInput, cb: (err: any, data?: ListExtensionsCommandOutput) => void): void;
|
|
74
|
+
listExtensions(args: ListExtensionsCommandInput, options: CloudExtensionsRequestOptions, cb: (err: any, data?: ListExtensionsCommandOutput) => void): void;
|
|
75
|
+
/**
|
|
76
|
+
* @see {@link ListExtensionVersionsCommand}
|
|
77
|
+
*/
|
|
78
|
+
listExtensionVersions(args: ListExtensionVersionsCommandInput, options?: CloudExtensionsRequestOptions): Promise<ListExtensionVersionsCommandOutput>;
|
|
79
|
+
listExtensionVersions(args: ListExtensionVersionsCommandInput, cb: (err: any, data?: ListExtensionVersionsCommandOutput) => void): void;
|
|
80
|
+
listExtensionVersions(args: ListExtensionVersionsCommandInput, options: CloudExtensionsRequestOptions, cb: (err: any, data?: ListExtensionVersionsCommandOutput) => void): void;
|
|
81
|
+
/**
|
|
82
|
+
* @see {@link ListProfileEntriesCommand}
|
|
83
|
+
*/
|
|
84
|
+
listProfileEntries(args: ListProfileEntriesCommandInput, options?: CloudExtensionsRequestOptions): Promise<ListProfileEntriesCommandOutput>;
|
|
85
|
+
listProfileEntries(args: ListProfileEntriesCommandInput, cb: (err: any, data?: ListProfileEntriesCommandOutput) => void): void;
|
|
86
|
+
listProfileEntries(args: ListProfileEntriesCommandInput, options: CloudExtensionsRequestOptions, cb: (err: any, data?: ListProfileEntriesCommandOutput) => void): void;
|
|
87
|
+
/**
|
|
88
|
+
* @see {@link ListProfilesCommand}
|
|
89
|
+
*/
|
|
90
|
+
listProfiles(): Promise<ListProfilesCommandOutput>;
|
|
91
|
+
listProfiles(args: ListProfilesCommandInput, options?: CloudExtensionsRequestOptions): Promise<ListProfilesCommandOutput>;
|
|
92
|
+
listProfiles(args: ListProfilesCommandInput, cb: (err: any, data?: ListProfilesCommandOutput) => void): void;
|
|
93
|
+
listProfiles(args: ListProfilesCommandInput, options: CloudExtensionsRequestOptions, cb: (err: any, data?: ListProfilesCommandOutput) => void): void;
|
|
94
|
+
/**
|
|
95
|
+
* @see {@link ListTagsForResourceCommand}
|
|
96
|
+
*/
|
|
97
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: CloudExtensionsRequestOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
98
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
99
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: CloudExtensionsRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
100
|
+
/**
|
|
101
|
+
* @see {@link TagResourceCommand}
|
|
102
|
+
*/
|
|
103
|
+
tagResource(args: TagResourceCommandInput, options?: CloudExtensionsRequestOptions): Promise<TagResourceCommandOutput>;
|
|
104
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
105
|
+
tagResource(args: TagResourceCommandInput, options: CloudExtensionsRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
106
|
+
/**
|
|
107
|
+
* @see {@link UntagResourceCommand}
|
|
108
|
+
*/
|
|
109
|
+
untagResource(args: UntagResourceCommandInput, options?: CloudExtensionsRequestOptions): Promise<UntagResourceCommandOutput>;
|
|
110
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
111
|
+
untagResource(args: UntagResourceCommandInput, options: CloudExtensionsRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
112
|
+
/**
|
|
113
|
+
* @see {@link UpdateProfileCommand}
|
|
114
|
+
*/
|
|
115
|
+
updateProfile(args: UpdateProfileCommandInput, options?: CloudExtensionsRequestOptions): Promise<UpdateProfileCommandOutput>;
|
|
116
|
+
updateProfile(args: UpdateProfileCommandInput, cb: (err: any, data?: UpdateProfileCommandOutput) => void): void;
|
|
117
|
+
updateProfile(args: UpdateProfileCommandInput, options: CloudExtensionsRequestOptions, cb: (err: any, data?: UpdateProfileCommandOutput) => void): void;
|
|
118
|
+
/**
|
|
119
|
+
* @see {@link UpdateProfileEntryCommand}
|
|
120
|
+
*/
|
|
121
|
+
updateProfileEntry(args: UpdateProfileEntryCommandInput, options?: CloudExtensionsRequestOptions): Promise<UpdateProfileEntryCommandOutput>;
|
|
122
|
+
updateProfileEntry(args: UpdateProfileEntryCommandInput, cb: (err: any, data?: UpdateProfileEntryCommandOutput) => void): void;
|
|
123
|
+
updateProfileEntry(args: UpdateProfileEntryCommandInput, options: CloudExtensionsRequestOptions, cb: (err: any, data?: UpdateProfileEntryCommandOutput) => void): void;
|
|
124
|
+
/**
|
|
125
|
+
* @see {@link ListExtensionsCommand}
|
|
126
|
+
* @param args - command input.
|
|
127
|
+
* @param paginationConfig - optional pagination config.
|
|
128
|
+
* @returns AsyncIterable of {@link ListExtensionsCommandOutput}.
|
|
129
|
+
*/
|
|
130
|
+
paginateListExtensions(args?: ListExtensionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListExtensionsCommandOutput>;
|
|
131
|
+
/**
|
|
132
|
+
* @see {@link ListExtensionVersionsCommand}
|
|
133
|
+
* @param args - command input.
|
|
134
|
+
* @param paginationConfig - optional pagination config.
|
|
135
|
+
* @returns AsyncIterable of {@link ListExtensionVersionsCommandOutput}.
|
|
136
|
+
*/
|
|
137
|
+
paginateListExtensionVersions(args: ListExtensionVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListExtensionVersionsCommandOutput>;
|
|
138
|
+
/**
|
|
139
|
+
* @see {@link ListProfileEntriesCommand}
|
|
140
|
+
* @param args - command input.
|
|
141
|
+
* @param paginationConfig - optional pagination config.
|
|
142
|
+
* @returns AsyncIterable of {@link ListProfileEntriesCommandOutput}.
|
|
143
|
+
*/
|
|
144
|
+
paginateListProfileEntries(args: ListProfileEntriesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListProfileEntriesCommandOutput>;
|
|
145
|
+
/**
|
|
146
|
+
* @see {@link ListProfilesCommand}
|
|
147
|
+
* @param args - command input.
|
|
148
|
+
* @param paginationConfig - optional pagination config.
|
|
149
|
+
* @returns AsyncIterable of {@link ListProfilesCommandOutput}.
|
|
150
|
+
*/
|
|
151
|
+
paginateListProfiles(args?: ListProfilesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListProfilesCommandOutput>;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* AWS Cloud Extensions runs extensions on your hosts. An extension is a WebAssembly module that an AWS service publishes, and the Cloud Extensions Runtime runs it on a host and serves it to local clients. Use this API to find released extensions, add them to profiles as profile entries, and configure each entry's version policy, settings, approved capabilities, and authentication. A Cloud Extensions Runtime syncs one profile and runs that profile's entries.
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
export declare class CloudExtensions extends CloudExtensionsClient implements CloudExtensions {
|
|
158
|
+
}
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/core/client";
|
|
2
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
|
|
3
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
|
|
4
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
5
|
+
import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
6
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
|
|
7
|
+
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
|
+
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
9
|
+
import type { CreateProfileCommandInput, CreateProfileCommandOutput } from "./commands/CreateProfileCommand";
|
|
10
|
+
import type { CreateProfileEntryCommandInput, CreateProfileEntryCommandOutput } from "./commands/CreateProfileEntryCommand";
|
|
11
|
+
import type { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
|
|
12
|
+
import type { DeleteProfileEntryCommandInput, DeleteProfileEntryCommandOutput } from "./commands/DeleteProfileEntryCommand";
|
|
13
|
+
import type { GetExtensionCommandInput, GetExtensionCommandOutput } from "./commands/GetExtensionCommand";
|
|
14
|
+
import type { GetProfileCommandInput, GetProfileCommandOutput } from "./commands/GetProfileCommand";
|
|
15
|
+
import type { GetProfileEntryCommandInput, GetProfileEntryCommandOutput } from "./commands/GetProfileEntryCommand";
|
|
16
|
+
import type { ListExtensionsCommandInput, ListExtensionsCommandOutput } from "./commands/ListExtensionsCommand";
|
|
17
|
+
import type { ListExtensionVersionsCommandInput, ListExtensionVersionsCommandOutput } from "./commands/ListExtensionVersionsCommand";
|
|
18
|
+
import type { ListProfileEntriesCommandInput, ListProfileEntriesCommandOutput } from "./commands/ListProfileEntriesCommand";
|
|
19
|
+
import type { ListProfilesCommandInput, ListProfilesCommandOutput } from "./commands/ListProfilesCommand";
|
|
20
|
+
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
21
|
+
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
22
|
+
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
23
|
+
import type { UpdateProfileCommandInput, UpdateProfileCommandOutput } from "./commands/UpdateProfileCommand";
|
|
24
|
+
import type { UpdateProfileEntryCommandInput, UpdateProfileEntryCommandOutput } from "./commands/UpdateProfileEntryCommand";
|
|
25
|
+
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
26
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
27
|
+
export { __Client };
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export type ServiceInputTypes = CreateProfileCommandInput | CreateProfileEntryCommandInput | DeleteProfileCommandInput | DeleteProfileEntryCommandInput | GetExtensionCommandInput | GetProfileCommandInput | GetProfileEntryCommandInput | ListExtensionVersionsCommandInput | ListExtensionsCommandInput | ListProfileEntriesCommandInput | ListProfilesCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateProfileCommandInput | UpdateProfileEntryCommandInput;
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export type ServiceOutputTypes = CreateProfileCommandOutput | CreateProfileEntryCommandOutput | DeleteProfileCommandOutput | DeleteProfileEntryCommandOutput | GetExtensionCommandOutput | GetProfileCommandOutput | GetProfileEntryCommandOutput | ListExtensionVersionsCommandOutput | ListExtensionsCommandOutput | ListProfileEntriesCommandOutput | ListProfilesCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateProfileCommandOutput | UpdateProfileEntryCommandOutput;
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
40
|
+
/**
|
|
41
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
42
|
+
*/
|
|
43
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
44
|
+
/**
|
|
45
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
46
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
50
|
+
/**
|
|
51
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
urlParser?: __UrlParser;
|
|
55
|
+
/**
|
|
56
|
+
* A function that can calculate the length of a request body.
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
59
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
60
|
+
/**
|
|
61
|
+
* A function that converts a stream into an array of bytes.
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
64
|
+
streamCollector?: __StreamCollector;
|
|
65
|
+
/**
|
|
66
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
69
|
+
base64Decoder?: __Decoder;
|
|
70
|
+
/**
|
|
71
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
74
|
+
base64Encoder?: __Encoder;
|
|
75
|
+
/**
|
|
76
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
utf8Decoder?: __Decoder;
|
|
80
|
+
/**
|
|
81
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
utf8Encoder?: __Encoder;
|
|
85
|
+
/**
|
|
86
|
+
* The runtime environment.
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
runtime?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
92
|
+
* trait of an operation.
|
|
93
|
+
*/
|
|
94
|
+
disableHostPrefix?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Unique service identifier.
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
serviceId?: string;
|
|
100
|
+
/**
|
|
101
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
102
|
+
*/
|
|
103
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
104
|
+
/**
|
|
105
|
+
* Enables FIPS compatible endpoints.
|
|
106
|
+
*/
|
|
107
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
108
|
+
/**
|
|
109
|
+
* The AWS region to which this client will send requests
|
|
110
|
+
*/
|
|
111
|
+
region?: string | __Provider<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Setting a client profile is similar to setting a value for the
|
|
114
|
+
* AWS_PROFILE environment variable. Setting a profile on a client
|
|
115
|
+
* in code only affects the single client instance, unlike AWS_PROFILE.
|
|
116
|
+
*
|
|
117
|
+
* When set, and only for environments where an AWS configuration
|
|
118
|
+
* file exists, fields configurable by this file will be retrieved
|
|
119
|
+
* from the specified profile within that file.
|
|
120
|
+
* Conflicting code configuration and environment variables will
|
|
121
|
+
* still have higher priority.
|
|
122
|
+
*
|
|
123
|
+
* For client credential resolution that involves checking the AWS
|
|
124
|
+
* configuration file, the client's profile (this value) will be
|
|
125
|
+
* used unless a different profile is set in the credential
|
|
126
|
+
* provider options.
|
|
127
|
+
*
|
|
128
|
+
*/
|
|
129
|
+
profile?: string;
|
|
130
|
+
/**
|
|
131
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
132
|
+
* @internal
|
|
133
|
+
*/
|
|
134
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
135
|
+
/**
|
|
136
|
+
* Default credentials provider; Not available in browser runtime.
|
|
137
|
+
* @deprecated
|
|
138
|
+
* @internal
|
|
139
|
+
*/
|
|
140
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
141
|
+
/**
|
|
142
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
143
|
+
*/
|
|
144
|
+
maxAttempts?: number | __Provider<number>;
|
|
145
|
+
/**
|
|
146
|
+
* Specifies which retry algorithm to use.
|
|
147
|
+
* Accepted values are "standard" and "adaptive".
|
|
148
|
+
* @see https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html
|
|
149
|
+
*
|
|
150
|
+
*/
|
|
151
|
+
retryMode?: string | __Provider<string>;
|
|
152
|
+
/**
|
|
153
|
+
* Optional logger for logging debug/info/warn/error.
|
|
154
|
+
*/
|
|
155
|
+
logger?: __Logger;
|
|
156
|
+
/**
|
|
157
|
+
* Optional extensions
|
|
158
|
+
*/
|
|
159
|
+
extensions?: RuntimeExtension[];
|
|
160
|
+
/**
|
|
161
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
162
|
+
*/
|
|
163
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
168
|
+
export type CloudExtensionsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
169
|
+
/**
|
|
170
|
+
* @public
|
|
171
|
+
*
|
|
172
|
+
* The configuration interface of CloudExtensionsClient class constructor that set the region, credentials and other options.
|
|
173
|
+
*/
|
|
174
|
+
export interface CloudExtensionsClientConfig extends CloudExtensionsClientConfigType {
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* @public
|
|
178
|
+
*/
|
|
179
|
+
export type CloudExtensionsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
180
|
+
/**
|
|
181
|
+
* @public
|
|
182
|
+
*
|
|
183
|
+
* The resolved configuration interface of CloudExtensionsClient class. This is resolved and normalized from the {@link CloudExtensionsClientConfig | constructor configuration interface}.
|
|
184
|
+
*/
|
|
185
|
+
export interface CloudExtensionsClientResolvedConfig extends CloudExtensionsClientResolvedConfigType {
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* AWS Cloud Extensions runs extensions on your hosts. An extension is a WebAssembly module that an AWS service publishes, and the Cloud Extensions Runtime runs it on a host and serves it to local clients. Use this API to find released extensions, add them to profiles as profile entries, and configure each entry's version policy, settings, approved capabilities, and authentication. A Cloud Extensions Runtime syncs one profile and runs that profile's entries.
|
|
189
|
+
* @public
|
|
190
|
+
*/
|
|
191
|
+
export declare class CloudExtensionsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CloudExtensionsClientResolvedConfig> {
|
|
192
|
+
/**
|
|
193
|
+
* The resolved configuration of CloudExtensionsClient class. This is resolved and normalized from the {@link CloudExtensionsClientConfig | constructor configuration interface}.
|
|
194
|
+
*/
|
|
195
|
+
readonly config: CloudExtensionsClientResolvedConfig;
|
|
196
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<CloudExtensionsClientConfig>);
|
|
197
|
+
/**
|
|
198
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
199
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
200
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
201
|
+
*/
|
|
202
|
+
destroy(): void;
|
|
203
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
|
+
import type { CloudExtensionsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpAuthExtensionConfiguration {
|
|
7
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
8
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
9
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: CloudExtensionsHttpAuthSchemeProvider): void;
|
|
10
|
+
httpAuthSchemeProvider(): CloudExtensionsHttpAuthSchemeProvider;
|
|
11
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
12
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
18
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
19
|
+
httpAuthSchemeProvider: CloudExtensionsHttpAuthSchemeProvider;
|
|
20
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
|
+
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { type CloudExtensionsClientResolvedConfig } from "../CloudExtensionsClient";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface CloudExtensionsHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
8
|
+
region?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export interface CloudExtensionsHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<CloudExtensionsClientResolvedConfig, HandlerExecutionContext, CloudExtensionsHttpAuthSchemeParameters, object> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const defaultCloudExtensionsHttpAuthSchemeParametersProvider: (config: CloudExtensionsClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<CloudExtensionsHttpAuthSchemeParameters>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export interface CloudExtensionsHttpAuthSchemeProvider extends HttpAuthSchemeProvider<CloudExtensionsHttpAuthSchemeParameters> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultCloudExtensionsHttpAuthSchemeProvider: CloudExtensionsHttpAuthSchemeProvider;
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
34
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
35
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
39
|
+
/**
|
|
40
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
44
|
+
/**
|
|
45
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
48
|
+
httpAuthSchemeProvider?: CloudExtensionsHttpAuthSchemeProvider;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
54
|
+
/**
|
|
55
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
56
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
57
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
61
|
+
/**
|
|
62
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
66
|
+
/**
|
|
67
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
readonly httpAuthSchemeProvider: CloudExtensionsHttpAuthSchemeProvider;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { CloudExtensionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./CloudExtensionsClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, CloudExtensionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, CloudExtensionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateProfileInput, CreateProfileOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateProfileCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateProfileCommandInput extends CreateProfileInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateProfileCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateProfileCommandOutput extends CreateProfileOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateProfileCommand_base: {
|
|
22
|
+
new (input: CreateProfileCommandInput): import("@smithy/core/client").CommandImpl<CreateProfileCommandInput, CreateProfileCommandOutput, import("..").CloudExtensionsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateProfileCommandInput): import("@smithy/core/client").CommandImpl<CreateProfileCommandInput, CreateProfileCommandOutput, import("..").CloudExtensionsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Creates a new profile. The profile name must be unique within the account.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { CloudExtensionsClient, CreateProfileCommand } from "@aws-sdk/client-cloudextensions"; // ES Modules import
|
|
32
|
+
* // const { CloudExtensionsClient, CreateProfileCommand } = require("@aws-sdk/client-cloudextensions"); // CommonJS import
|
|
33
|
+
* // import type { CloudExtensionsClientConfig } from "@aws-sdk/client-cloudextensions";
|
|
34
|
+
* const config = {}; // type is CloudExtensionsClientConfig
|
|
35
|
+
* const client = new CloudExtensionsClient(config);
|
|
36
|
+
* const input = { // CreateProfileInput
|
|
37
|
+
* clientToken: "STRING_VALUE",
|
|
38
|
+
* name: "STRING_VALUE", // required
|
|
39
|
+
* description: "STRING_VALUE",
|
|
40
|
+
* extensionDefaults: { // ExtensionDefaults
|
|
41
|
+
* executionRole: "STRING_VALUE",
|
|
42
|
+
* interfaceDefaults: { // InterfaceDefaults
|
|
43
|
+
* http: { // HttpInterfaceDefaults
|
|
44
|
+
* authentication: { // Authentication Union: only one key present
|
|
45
|
+
* none: true || false,
|
|
46
|
+
* runtimeCredentials: {},
|
|
47
|
+
* extensionKey: { // ExtensionKey
|
|
48
|
+
* accessKeyId: "STRING_VALUE",
|
|
49
|
+
* secretKey: { // SecretKey Union: only one key present
|
|
50
|
+
* literal: "STRING_VALUE",
|
|
51
|
+
* reference: "STRING_VALUE",
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* tags: { // TagMap
|
|
59
|
+
* "<keys>": "STRING_VALUE",
|
|
60
|
+
* },
|
|
61
|
+
* };
|
|
62
|
+
* const command = new CreateProfileCommand(input);
|
|
63
|
+
* const response = await client.send(command);
|
|
64
|
+
* // { // CreateProfileOutput
|
|
65
|
+
* // id: "STRING_VALUE", // required
|
|
66
|
+
* // name: "STRING_VALUE", // required
|
|
67
|
+
* // arn: "STRING_VALUE", // required
|
|
68
|
+
* // entryCount: Number("int"), // required
|
|
69
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
70
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
71
|
+
* // description: "STRING_VALUE",
|
|
72
|
+
* // extensionDefaults: { // ExtensionDefaults
|
|
73
|
+
* // executionRole: "STRING_VALUE",
|
|
74
|
+
* // interfaceDefaults: { // InterfaceDefaults
|
|
75
|
+
* // http: { // HttpInterfaceDefaults
|
|
76
|
+
* // authentication: { // Authentication Union: only one key present
|
|
77
|
+
* // none: true || false,
|
|
78
|
+
* // runtimeCredentials: {},
|
|
79
|
+
* // extensionKey: { // ExtensionKey
|
|
80
|
+
* // accessKeyId: "STRING_VALUE",
|
|
81
|
+
* // secretKey: { // SecretKey Union: only one key present
|
|
82
|
+
* // literal: "STRING_VALUE",
|
|
83
|
+
* // reference: "STRING_VALUE",
|
|
84
|
+
* // },
|
|
85
|
+
* // },
|
|
86
|
+
* // },
|
|
87
|
+
* // },
|
|
88
|
+
* // },
|
|
89
|
+
* // },
|
|
90
|
+
* // };
|
|
91
|
+
*
|
|
92
|
+
* ```
|
|
93
|
+
*
|
|
94
|
+
* @param CreateProfileCommandInput - {@link CreateProfileCommandInput}
|
|
95
|
+
* @returns {@link CreateProfileCommandOutput}
|
|
96
|
+
* @see {@link CreateProfileCommandInput} for command's `input` shape.
|
|
97
|
+
* @see {@link CreateProfileCommandOutput} for command's `response` shape.
|
|
98
|
+
* @see {@link CloudExtensionsClientResolvedConfig | config} for CloudExtensionsClient's `config` shape.
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ConflictException} (client fault)
|
|
101
|
+
* The request conflicts with the current state of the resource.
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
104
|
+
* The request would exceed a service quota for the account.
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link ValidationException} (client fault)
|
|
107
|
+
* The request was malformed or contained invalid parameter values.
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
110
|
+
* The caller does not have permission to perform the operation.
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link InternalServerException} (server fault)
|
|
113
|
+
* The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
116
|
+
* The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
|
|
117
|
+
*
|
|
118
|
+
* @throws {@link CloudExtensionsServiceException}
|
|
119
|
+
* <p>Base exception class for all service exceptions from CloudExtensions service.</p>
|
|
120
|
+
*
|
|
121
|
+
*
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
export declare class CreateProfileCommand extends CreateProfileCommand_base {
|
|
125
|
+
/** @internal type navigation helper, not in runtime. */
|
|
126
|
+
protected static __types: {
|
|
127
|
+
api: {
|
|
128
|
+
input: CreateProfileInput;
|
|
129
|
+
output: CreateProfileOutput;
|
|
130
|
+
};
|
|
131
|
+
sdk: {
|
|
132
|
+
input: CreateProfileCommandInput;
|
|
133
|
+
output: CreateProfileCommandOutput;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
}
|