@aws-sdk/client-cloudextensions 0.0.0-stage → 3.1180.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.
Files changed (133) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +292 -2
  3. package/dist-cjs/index.js +1295 -0
  4. package/dist-es/CloudExtensions.js +49 -0
  5. package/dist-es/CloudExtensionsClient.js +47 -0
  6. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  7. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  8. package/dist-es/commandBuilder.js +6 -0
  9. package/dist-es/commands/CreateProfileCommand.js +4 -0
  10. package/dist-es/commands/CreateProfileEntryCommand.js +4 -0
  11. package/dist-es/commands/DeleteProfileCommand.js +4 -0
  12. package/dist-es/commands/DeleteProfileEntryCommand.js +4 -0
  13. package/dist-es/commands/GetExtensionCommand.js +4 -0
  14. package/dist-es/commands/GetProfileCommand.js +4 -0
  15. package/dist-es/commands/GetProfileEntryCommand.js +4 -0
  16. package/dist-es/commands/ListExtensionVersionsCommand.js +4 -0
  17. package/dist-es/commands/ListExtensionsCommand.js +4 -0
  18. package/dist-es/commands/ListProfileEntriesCommand.js +4 -0
  19. package/dist-es/commands/ListProfilesCommand.js +4 -0
  20. package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
  21. package/dist-es/commands/TagResourceCommand.js +4 -0
  22. package/dist-es/commands/UntagResourceCommand.js +4 -0
  23. package/dist-es/commands/UpdateProfileCommand.js +4 -0
  24. package/dist-es/commands/UpdateProfileEntryCommand.js +4 -0
  25. package/dist-es/commands/index.js +16 -0
  26. package/dist-es/endpoint/EndpointParameters.js +11 -0
  27. package/dist-es/endpoint/bdd.js +29 -0
  28. package/dist-es/endpoint/endpointResolver.js +14 -0
  29. package/dist-es/extensionConfiguration.js +1 -0
  30. package/dist-es/index.js +10 -0
  31. package/dist-es/models/CloudExtensionsServiceException.js +9 -0
  32. package/dist-es/models/enums.js +21 -0
  33. package/dist-es/models/errors.js +118 -0
  34. package/dist-es/models/models_0.js +1 -0
  35. package/dist-es/pagination/Interfaces.js +1 -0
  36. package/dist-es/pagination/ListExtensionVersionsPaginator.js +4 -0
  37. package/dist-es/pagination/ListExtensionsPaginator.js +4 -0
  38. package/dist-es/pagination/ListProfileEntriesPaginator.js +4 -0
  39. package/dist-es/pagination/ListProfilesPaginator.js +4 -0
  40. package/dist-es/pagination/index.js +5 -0
  41. package/dist-es/runtimeConfig.browser.js +29 -0
  42. package/dist-es/runtimeConfig.js +44 -0
  43. package/dist-es/runtimeConfig.native.js +9 -0
  44. package/dist-es/runtimeConfig.shared.js +40 -0
  45. package/dist-es/runtimeExtensions.js +9 -0
  46. package/dist-es/schemas/schemas_0.js +686 -0
  47. package/dist-types/CloudExtensions.d.ts +158 -0
  48. package/dist-types/CloudExtensionsClient.d.ts +203 -0
  49. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  50. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  51. package/dist-types/commandBuilder.d.ts +18 -0
  52. package/dist-types/commands/CreateProfileCommand.d.ts +136 -0
  53. package/dist-types/commands/CreateProfileEntryCommand.d.ts +205 -0
  54. package/dist-types/commands/DeleteProfileCommand.d.ts +87 -0
  55. package/dist-types/commands/DeleteProfileEntryCommand.d.ts +88 -0
  56. package/dist-types/commands/GetExtensionCommand.d.ts +248 -0
  57. package/dist-types/commands/GetProfileCommand.d.ts +110 -0
  58. package/dist-types/commands/GetProfileEntryCommand.d.ts +166 -0
  59. package/dist-types/commands/ListExtensionVersionsCommand.d.ts +101 -0
  60. package/dist-types/commands/ListExtensionsCommand.d.ts +96 -0
  61. package/dist-types/commands/ListProfileEntriesCommand.d.ts +107 -0
  62. package/dist-types/commands/ListProfilesCommand.d.ts +95 -0
  63. package/dist-types/commands/ListTagsForResourceCommand.d.ts +88 -0
  64. package/dist-types/commands/TagResourceCommand.d.ts +87 -0
  65. package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
  66. package/dist-types/commands/UpdateProfileCommand.d.ts +133 -0
  67. package/dist-types/commands/UpdateProfileEntryCommand.d.ts +198 -0
  68. package/dist-types/commands/index.d.ts +16 -0
  69. package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
  70. package/dist-types/endpoint/bdd.d.ts +2 -0
  71. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  72. package/dist-types/extensionConfiguration.d.ts +9 -0
  73. package/dist-types/index.d.ts +18 -0
  74. package/dist-types/models/CloudExtensionsServiceException.d.ts +15 -0
  75. package/dist-types/models/enums.d.ts +94 -0
  76. package/dist-types/models/errors.d.ts +154 -0
  77. package/dist-types/models/models_0.d.ts +1972 -0
  78. package/dist-types/pagination/Interfaces.d.ts +8 -0
  79. package/dist-types/pagination/ListExtensionVersionsPaginator.d.ts +7 -0
  80. package/dist-types/pagination/ListExtensionsPaginator.d.ts +7 -0
  81. package/dist-types/pagination/ListProfileEntriesPaginator.d.ts +7 -0
  82. package/dist-types/pagination/ListProfilesPaginator.d.ts +7 -0
  83. package/dist-types/pagination/index.d.ts +5 -0
  84. package/dist-types/runtimeConfig.browser.d.ts +57 -0
  85. package/dist-types/runtimeConfig.d.ts +58 -0
  86. package/dist-types/runtimeConfig.native.d.ts +56 -0
  87. package/dist-types/runtimeConfig.shared.d.ts +28 -0
  88. package/dist-types/runtimeExtensions.d.ts +17 -0
  89. package/dist-types/schemas/schemas_0.d.ts +97 -0
  90. package/dist-types/ts3.4/CloudExtensions.d.ts +309 -0
  91. package/dist-types/ts3.4/CloudExtensionsClient.d.ts +191 -0
  92. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
  93. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
  94. package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
  95. package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +38 -0
  96. package/dist-types/ts3.4/commands/CreateProfileEntryCommand.d.ts +39 -0
  97. package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +38 -0
  98. package/dist-types/ts3.4/commands/DeleteProfileEntryCommand.d.ts +38 -0
  99. package/dist-types/ts3.4/commands/GetExtensionCommand.d.ts +38 -0
  100. package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +38 -0
  101. package/dist-types/ts3.4/commands/GetProfileEntryCommand.d.ts +38 -0
  102. package/dist-types/ts3.4/commands/ListExtensionVersionsCommand.d.ts +39 -0
  103. package/dist-types/ts3.4/commands/ListExtensionsCommand.d.ts +38 -0
  104. package/dist-types/ts3.4/commands/ListProfileEntriesCommand.d.ts +39 -0
  105. package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +38 -0
  106. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  107. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
  108. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  109. package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +38 -0
  110. package/dist-types/ts3.4/commands/UpdateProfileEntryCommand.d.ts +39 -0
  111. package/dist-types/ts3.4/commands/index.d.ts +16 -0
  112. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  113. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  114. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  115. package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
  116. package/dist-types/ts3.4/index.d.ts +13 -0
  117. package/dist-types/ts3.4/models/CloudExtensionsServiceException.d.ts +10 -0
  118. package/dist-types/ts3.4/models/enums.d.ts +27 -0
  119. package/dist-types/ts3.4/models/errors.d.ts +61 -0
  120. package/dist-types/ts3.4/models/models_0.d.ts +618 -0
  121. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  122. package/dist-types/ts3.4/pagination/ListExtensionVersionsPaginator.d.ts +11 -0
  123. package/dist-types/ts3.4/pagination/ListExtensionsPaginator.d.ts +11 -0
  124. package/dist-types/ts3.4/pagination/ListProfileEntriesPaginator.d.ts +11 -0
  125. package/dist-types/ts3.4/pagination/ListProfilesPaginator.d.ts +11 -0
  126. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  127. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  128. package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
  129. package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
  130. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
  131. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  132. package/dist-types/ts3.4/schemas/schemas_0.d.ts +97 -0
  133. package/package.json +67 -4
@@ -0,0 +1,9 @@
1
+ import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
+ import type { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ /**
6
+ * @internal
7
+ */
8
+ export interface CloudExtensionsExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
9
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * 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.
3
+ *
4
+ * @packageDocumentation
5
+ */
6
+ export * from "./CloudExtensionsClient";
7
+ export * from "./CloudExtensions";
8
+ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
+ export type { RuntimeExtension } from "./runtimeExtensions";
10
+ export type { CloudExtensionsExtensionConfiguration } from "./extensionConfiguration";
11
+ export * from "./commands";
12
+ export { Command as $Command } from "@smithy/core/client";
13
+ export * from "./pagination";
14
+ export * from "./schemas/schemas_0";
15
+ export * from "./models/enums";
16
+ export * from "./models/errors";
17
+ export * from "./models/models_0";
18
+ export { CloudExtensionsServiceException } from "./models/CloudExtensionsServiceException";
@@ -0,0 +1,15 @@
1
+ import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
4
+ /**
5
+ * @public
6
+ *
7
+ * Base exception class for all service exceptions from CloudExtensions service.
8
+ */
9
+ export declare class CloudExtensionsServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(options: __ServiceExceptionOptions);
15
+ }
@@ -0,0 +1,94 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const AccessModeType: {
6
+ /**
7
+ * The extension can read but not modify files.
8
+ */
9
+ readonly READ_ONLY: "READ_ONLY";
10
+ /**
11
+ * The extension can both read and write files.
12
+ */
13
+ readonly READ_WRITE: "READ_WRITE";
14
+ };
15
+ /**
16
+ * @public
17
+ */
18
+ export type AccessModeType = (typeof AccessModeType)[keyof typeof AccessModeType];
19
+ /**
20
+ * @public
21
+ * @enum
22
+ */
23
+ export declare const CreateModeType: {
24
+ /**
25
+ * Created files are only visible to the user in effect when the file is created.
26
+ */
27
+ readonly PRIVATE: "PRIVATE";
28
+ /**
29
+ * Created files are visible to any user on the host system.
30
+ */
31
+ readonly PUBLIC: "PUBLIC";
32
+ };
33
+ /**
34
+ * @public
35
+ */
36
+ export type CreateModeType = (typeof CreateModeType)[keyof typeof CreateModeType];
37
+ /**
38
+ * @public
39
+ * @enum
40
+ */
41
+ export declare const FormatType: {
42
+ /**
43
+ * The value must be a valid Amazon Resource Name.
44
+ */
45
+ readonly ARN: "arn";
46
+ /**
47
+ * The value must be a valid file path.
48
+ */
49
+ readonly FILEPATH: "filepath";
50
+ };
51
+ /**
52
+ * @public
53
+ */
54
+ export type FormatType = (typeof FormatType)[keyof typeof FormatType];
55
+ /**
56
+ * @public
57
+ * @enum
58
+ */
59
+ export declare const ValidationExceptionReason: {
60
+ /**
61
+ * The request body could not be parsed, or doesn't have the shape the operation expects.
62
+ */
63
+ readonly CANNOT_PARSE: "CANNOT_PARSE";
64
+ /**
65
+ * One or more input fields failed validation.
66
+ */
67
+ readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
68
+ /**
69
+ * The requested operation does not exist.
70
+ */
71
+ readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
72
+ };
73
+ /**
74
+ * @public
75
+ */
76
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
77
+ /**
78
+ * @public
79
+ * @enum
80
+ */
81
+ export declare const UpdateStrategy: {
82
+ /**
83
+ * Automatically update to newer versions that match the versionSelector.
84
+ */
85
+ readonly AUTOMATIC: "AUTOMATIC";
86
+ /**
87
+ * Do not apply any automatic updates. The version is explicitly set by the user.
88
+ */
89
+ readonly MANUAL: "MANUAL";
90
+ };
91
+ /**
92
+ * @public
93
+ */
94
+ export type UpdateStrategy = (typeof UpdateStrategy)[keyof typeof UpdateStrategy];
@@ -0,0 +1,154 @@
1
+ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
+ import { CloudExtensionsServiceException as __BaseException } from "./CloudExtensionsServiceException";
3
+ import type { ValidationExceptionReason } from "./enums";
4
+ import type { Conflict, ValidationError } from "./models_0";
5
+ /**
6
+ * The caller does not have permission to perform the operation.
7
+ * @public
8
+ */
9
+ export declare class AccessDeniedException extends __BaseException {
10
+ static readonly shapeId: string;
11
+ readonly name: "AccessDeniedException";
12
+ readonly $fault: "client";
13
+ /**
14
+ * @internal
15
+ */
16
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
17
+ }
18
+ /**
19
+ * The request conflicts with the current state of the resource.
20
+ * @public
21
+ */
22
+ export declare class ConflictException extends __BaseException {
23
+ static readonly shapeId: string;
24
+ readonly name: "ConflictException";
25
+ readonly $fault: "client";
26
+ /**
27
+ * The details of the conflict.
28
+ * @public
29
+ */
30
+ conflict?: Conflict | undefined;
31
+ /**
32
+ * @internal
33
+ */
34
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
35
+ }
36
+ /**
37
+ * The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
38
+ * @public
39
+ */
40
+ export declare class InternalServerException extends __BaseException {
41
+ static readonly shapeId: string;
42
+ readonly name: "InternalServerException";
43
+ readonly $fault: "server";
44
+ $retryable: {};
45
+ /**
46
+ * When present, the number of seconds to wait before retrying, from the Retry-After header.
47
+ * @public
48
+ */
49
+ retryAfterSeconds?: number | undefined;
50
+ /**
51
+ * @internal
52
+ */
53
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
54
+ }
55
+ /**
56
+ * The specified resource does not exist or the caller does not have permission to access it.
57
+ * @public
58
+ */
59
+ export declare class ResourceNotFoundException extends __BaseException {
60
+ static readonly shapeId: string;
61
+ readonly name: "ResourceNotFoundException";
62
+ readonly $fault: "client";
63
+ /**
64
+ * The type of resource that was not found.
65
+ * @public
66
+ */
67
+ resourceType?: string | undefined;
68
+ /**
69
+ * The identifier that was used in the lookup.
70
+ * @public
71
+ */
72
+ identifier?: string | undefined;
73
+ /**
74
+ * @internal
75
+ */
76
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
77
+ }
78
+ /**
79
+ * The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
80
+ * @public
81
+ */
82
+ export declare class ThrottlingException extends __BaseException {
83
+ static readonly shapeId: string;
84
+ readonly name: "ThrottlingException";
85
+ readonly $fault: "client";
86
+ $retryable: {
87
+ throttling: boolean;
88
+ };
89
+ /**
90
+ * When present, the number of seconds to wait before retrying, from the Retry-After header.
91
+ * @public
92
+ */
93
+ retryAfterSeconds?: number | undefined;
94
+ /**
95
+ * @internal
96
+ */
97
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
98
+ }
99
+ /**
100
+ * The request was malformed or contained invalid parameter values.
101
+ * @public
102
+ */
103
+ export declare class ValidationException extends __BaseException {
104
+ static readonly shapeId: string;
105
+ readonly name: "ValidationException";
106
+ readonly $fault: "client";
107
+ /**
108
+ * A machine-readable classification of the validation failure.
109
+ * @public
110
+ */
111
+ reason: ValidationExceptionReason | undefined;
112
+ /**
113
+ * A list of specific field-level validation errors, when available.
114
+ * @public
115
+ */
116
+ errors?: ValidationError[] | undefined;
117
+ /**
118
+ * @internal
119
+ */
120
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
121
+ }
122
+ /**
123
+ * The request would exceed a service quota for the account.
124
+ * @public
125
+ */
126
+ export declare class ServiceQuotaExceededException extends __BaseException {
127
+ static readonly shapeId: string;
128
+ readonly name: "ServiceQuotaExceededException";
129
+ readonly $fault: "client";
130
+ /**
131
+ * The type of resource whose quota would be exceeded, such as the account that holds a set of profiles.
132
+ * @public
133
+ */
134
+ resourceType?: string | undefined;
135
+ /**
136
+ * The identifier of the resource whose quota would be exceeded.
137
+ * @public
138
+ */
139
+ resourceId?: string | undefined;
140
+ /**
141
+ * The service code for quota lookup.
142
+ * @public
143
+ */
144
+ serviceCode?: string | undefined;
145
+ /**
146
+ * The quota code that would be exceeded.
147
+ * @public
148
+ */
149
+ quotaCode?: string | undefined;
150
+ /**
151
+ * @internal
152
+ */
153
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
154
+ }