@aws-sdk/client-rbin 3.928.0 → 3.930.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 (31) hide show
  1. package/dist-cjs/index.js +397 -505
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/RbinClient.js +2 -0
  4. package/dist-es/commands/CreateRuleCommand.js +3 -9
  5. package/dist-es/commands/DeleteRuleCommand.js +3 -9
  6. package/dist-es/commands/GetRuleCommand.js +3 -9
  7. package/dist-es/commands/ListRulesCommand.js +3 -9
  8. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  9. package/dist-es/commands/LockRuleCommand.js +3 -9
  10. package/dist-es/commands/TagResourceCommand.js +3 -9
  11. package/dist-es/commands/UnlockRuleCommand.js +3 -9
  12. package/dist-es/commands/UntagResourceCommand.js +3 -9
  13. package/dist-es/commands/UpdateRuleCommand.js +3 -9
  14. package/dist-es/runtimeConfig.shared.js +2 -0
  15. package/dist-es/schemas/schemas_0.js +364 -0
  16. package/dist-types/RbinClient.d.ts +10 -1
  17. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  18. package/dist-types/runtimeConfig.d.ts +1 -0
  19. package/dist-types/runtimeConfig.native.d.ts +1 -0
  20. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  21. package/dist-types/schemas/schemas_0.d.ts +49 -0
  22. package/dist-types/ts3.4/RbinClient.d.ts +4 -0
  23. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  24. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  25. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  26. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  27. package/dist-types/ts3.4/schemas/schemas_0.d.ts +54 -0
  28. package/package.json +33 -33
  29. package/dist-es/protocols/Aws_restJson1.js +0 -423
  30. package/dist-types/protocols/Aws_restJson1.d.ts +0 -92
  31. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -125
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
5
5
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { 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, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { CreateRuleCommandInput, CreateRuleCommandOutput } from "./commands/CreateRuleCommand";
11
11
  import { DeleteRuleCommandInput, DeleteRuleCommandOutput } from "./commands/DeleteRuleCommand";
@@ -151,6 +151,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
151
151
  * Optional extensions
152
152
  */
153
153
  extensions?: RuntimeExtension[];
154
+ /**
155
+ * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
156
+ * may be overridden. A default will always be set by the client.
157
+ * Available options depend on the service's supported protocols and will not be validated by
158
+ * the client.
159
+ * @alpha
160
+ *
161
+ */
162
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
154
163
  /**
155
164
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
156
165
  */
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: RbinClientConfig) => {
29
29
  profile?: string;
30
30
  logger: import("@smithy/types").Logger;
31
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
34
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
34
35
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: RbinClientConfig) => {
31
31
  profile?: string;
32
32
  logger: import("@smithy/types").Logger;
33
33
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
34
35
  customUserAgent?: string | import("@smithy/types").UserAgent;
35
36
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
36
37
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: RbinClientConfig) => {
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
29
29
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
30
31
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
31
32
  customUserAgent?: string | import("@smithy/types").UserAgent;
32
33
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -14,6 +14,7 @@ export declare const getRuntimeConfig: (config: RbinClientConfig) => {
14
14
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RbinHttpAuthSchemeProvider;
15
15
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
16
  logger: import("@smithy/types").Logger;
17
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
17
18
  serviceId: string;
18
19
  urlParser: import("@smithy/types").UrlParser;
19
20
  utf8Decoder: import("@smithy/types").Decoder;
@@ -0,0 +1,49 @@
1
+ import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var ConflictException: StaticErrorSchema;
3
+ export declare var CreateRuleRequest: StaticStructureSchema;
4
+ export declare var CreateRuleResponse: StaticStructureSchema;
5
+ export declare var DeleteRuleRequest: StaticStructureSchema;
6
+ export declare var DeleteRuleResponse: StaticStructureSchema;
7
+ export declare var GetRuleRequest: StaticStructureSchema;
8
+ export declare var GetRuleResponse: StaticStructureSchema;
9
+ export declare var InternalServerException: StaticErrorSchema;
10
+ export declare var ListRulesRequest: StaticStructureSchema;
11
+ export declare var ListRulesResponse: StaticStructureSchema;
12
+ export declare var ListTagsForResourceRequest: StaticStructureSchema;
13
+ export declare var ListTagsForResourceResponse: StaticStructureSchema;
14
+ export declare var LockConfiguration: StaticStructureSchema;
15
+ export declare var LockRuleRequest: StaticStructureSchema;
16
+ export declare var LockRuleResponse: StaticStructureSchema;
17
+ export declare var ResourceNotFoundException: StaticErrorSchema;
18
+ export declare var ResourceTag: StaticStructureSchema;
19
+ export declare var RetentionPeriod: StaticStructureSchema;
20
+ export declare var RuleSummary: StaticStructureSchema;
21
+ export declare var ServiceQuotaExceededException: StaticErrorSchema;
22
+ export declare var Tag: StaticStructureSchema;
23
+ export declare var TagResourceRequest: StaticStructureSchema;
24
+ export declare var TagResourceResponse: StaticStructureSchema;
25
+ export declare var UnlockDelay: StaticStructureSchema;
26
+ export declare var UnlockRuleRequest: StaticStructureSchema;
27
+ export declare var UnlockRuleResponse: StaticStructureSchema;
28
+ export declare var UntagResourceRequest: StaticStructureSchema;
29
+ export declare var UntagResourceResponse: StaticStructureSchema;
30
+ export declare var UpdateRuleRequest: StaticStructureSchema;
31
+ export declare var UpdateRuleResponse: StaticStructureSchema;
32
+ export declare var ValidationException: StaticErrorSchema;
33
+ export declare var __Unit: "unit";
34
+ export declare var RbinServiceException: StaticErrorSchema;
35
+ export declare var ExcludeResourceTags: StaticListSchema;
36
+ export declare var ResourceTags: StaticListSchema;
37
+ export declare var RuleSummaryList: StaticListSchema;
38
+ export declare var TagKeyList: number;
39
+ export declare var TagList: StaticListSchema;
40
+ export declare var CreateRule: StaticOperationSchema;
41
+ export declare var DeleteRule: StaticOperationSchema;
42
+ export declare var GetRule: StaticOperationSchema;
43
+ export declare var ListRules: StaticOperationSchema;
44
+ export declare var ListTagsForResource: StaticOperationSchema;
45
+ export declare var LockRule: StaticOperationSchema;
46
+ export declare var TagResource: StaticOperationSchema;
47
+ export declare var UnlockRule: StaticOperationSchema;
48
+ export declare var UntagResource: StaticOperationSchema;
49
+ export declare var UpdateRule: StaticOperationSchema;
@@ -30,10 +30,13 @@ import {
30
30
  BodyLengthCalculator as __BodyLengthCalculator,
31
31
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
32
  ChecksumConstructor as __ChecksumConstructor,
33
+ ClientProtocol,
33
34
  Decoder as __Decoder,
34
35
  Encoder as __Encoder,
35
36
  HashConstructor as __HashConstructor,
36
37
  HttpHandlerOptions as __HttpHandlerOptions,
38
+ HttpRequest,
39
+ HttpResponse,
37
40
  Logger as __Logger,
38
41
  Provider as __Provider,
39
42
  Provider,
@@ -138,6 +141,7 @@ export interface ClientDefaults
138
141
  retryMode?: string | __Provider<string>;
139
142
  logger?: __Logger;
140
143
  extensions?: RuntimeExtension[];
144
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
141
145
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
142
146
  }
143
147
  export type RbinClientConfigType = Partial<
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: RbinClientConfig) => {
38
38
  profile?: string;
39
39
  logger: import("@smithy/types").Logger;
40
40
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
+ protocol: import("@smithy/types").ClientProtocol<
42
+ import("@smithy/types").HttpRequest,
43
+ import("@smithy/types").HttpResponse
44
+ >;
41
45
  customUserAgent?: string | import("@smithy/types").UserAgent;
42
46
  userAgentAppId?:
43
47
  | string
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: RbinClientConfig) => {
38
38
  profile?: string;
39
39
  logger: import("@smithy/types").Logger;
40
40
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
+ protocol: import("@smithy/types").ClientProtocol<
42
+ import("@smithy/types").HttpRequest,
43
+ import("@smithy/types").HttpResponse
44
+ >;
41
45
  customUserAgent?: string | import("@smithy/types").UserAgent;
42
46
  retryStrategy?:
43
47
  | import("@smithy/types").RetryStrategy
@@ -37,6 +37,10 @@ export declare const getRuntimeConfig: (config: RbinClientConfig) => {
37
37
  retryMode: string | import("@smithy/types").Provider<string>;
38
38
  logger: import("@smithy/types").Logger;
39
39
  extensions: import("./runtimeExtensions").RuntimeExtension[];
40
+ protocol: import("@smithy/types").ClientProtocol<
41
+ import("@smithy/types").HttpRequest,
42
+ import("@smithy/types").HttpResponse
43
+ >;
40
44
  defaultsMode:
41
45
  | import("@smithy/smithy-client").DefaultsMode
42
46
  | import("@smithy/types").Provider<
@@ -14,6 +14,10 @@ export declare const getRuntimeConfig: (config: RbinClientConfig) => {
14
14
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RbinHttpAuthSchemeProvider;
15
15
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
16
  logger: import("@smithy/types").Logger;
17
+ protocol: import("@smithy/types").ClientProtocol<
18
+ import("@smithy/types").HttpRequest,
19
+ import("@smithy/types").HttpResponse
20
+ >;
17
21
  serviceId: string;
18
22
  urlParser: import("@smithy/types").UrlParser;
19
23
  utf8Decoder: import("@smithy/types").Decoder;
@@ -0,0 +1,54 @@
1
+ import {
2
+ StaticErrorSchema,
3
+ StaticListSchema,
4
+ StaticOperationSchema,
5
+ StaticStructureSchema,
6
+ } from "@smithy/types";
7
+ export declare var ConflictException: StaticErrorSchema;
8
+ export declare var CreateRuleRequest: StaticStructureSchema;
9
+ export declare var CreateRuleResponse: StaticStructureSchema;
10
+ export declare var DeleteRuleRequest: StaticStructureSchema;
11
+ export declare var DeleteRuleResponse: StaticStructureSchema;
12
+ export declare var GetRuleRequest: StaticStructureSchema;
13
+ export declare var GetRuleResponse: StaticStructureSchema;
14
+ export declare var InternalServerException: StaticErrorSchema;
15
+ export declare var ListRulesRequest: StaticStructureSchema;
16
+ export declare var ListRulesResponse: StaticStructureSchema;
17
+ export declare var ListTagsForResourceRequest: StaticStructureSchema;
18
+ export declare var ListTagsForResourceResponse: StaticStructureSchema;
19
+ export declare var LockConfiguration: StaticStructureSchema;
20
+ export declare var LockRuleRequest: StaticStructureSchema;
21
+ export declare var LockRuleResponse: StaticStructureSchema;
22
+ export declare var ResourceNotFoundException: StaticErrorSchema;
23
+ export declare var ResourceTag: StaticStructureSchema;
24
+ export declare var RetentionPeriod: StaticStructureSchema;
25
+ export declare var RuleSummary: StaticStructureSchema;
26
+ export declare var ServiceQuotaExceededException: StaticErrorSchema;
27
+ export declare var Tag: StaticStructureSchema;
28
+ export declare var TagResourceRequest: StaticStructureSchema;
29
+ export declare var TagResourceResponse: StaticStructureSchema;
30
+ export declare var UnlockDelay: StaticStructureSchema;
31
+ export declare var UnlockRuleRequest: StaticStructureSchema;
32
+ export declare var UnlockRuleResponse: StaticStructureSchema;
33
+ export declare var UntagResourceRequest: StaticStructureSchema;
34
+ export declare var UntagResourceResponse: StaticStructureSchema;
35
+ export declare var UpdateRuleRequest: StaticStructureSchema;
36
+ export declare var UpdateRuleResponse: StaticStructureSchema;
37
+ export declare var ValidationException: StaticErrorSchema;
38
+ export declare var __Unit: "unit";
39
+ export declare var RbinServiceException: StaticErrorSchema;
40
+ export declare var ExcludeResourceTags: StaticListSchema;
41
+ export declare var ResourceTags: StaticListSchema;
42
+ export declare var RuleSummaryList: StaticListSchema;
43
+ export declare var TagKeyList: number;
44
+ export declare var TagList: StaticListSchema;
45
+ export declare var CreateRule: StaticOperationSchema;
46
+ export declare var DeleteRule: StaticOperationSchema;
47
+ export declare var GetRule: StaticOperationSchema;
48
+ export declare var ListRules: StaticOperationSchema;
49
+ export declare var ListTagsForResource: StaticOperationSchema;
50
+ export declare var LockRule: StaticOperationSchema;
51
+ export declare var TagResource: StaticOperationSchema;
52
+ export declare var UnlockRule: StaticOperationSchema;
53
+ export declare var UntagResource: StaticOperationSchema;
54
+ export declare var UpdateRule: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rbin",
3
3
  "description": "AWS SDK for JavaScript Rbin Client for Node.js, Browser and React Native",
4
- "version": "3.928.0",
4
+ "version": "3.930.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-rbin",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.928.0",
24
- "@aws-sdk/credential-provider-node": "3.928.0",
25
- "@aws-sdk/middleware-host-header": "3.922.0",
26
- "@aws-sdk/middleware-logger": "3.922.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
- "@aws-sdk/middleware-user-agent": "3.928.0",
29
- "@aws-sdk/region-config-resolver": "3.925.0",
30
- "@aws-sdk/types": "3.922.0",
31
- "@aws-sdk/util-endpoints": "3.922.0",
32
- "@aws-sdk/util-user-agent-browser": "3.922.0",
33
- "@aws-sdk/util-user-agent-node": "3.928.0",
34
- "@smithy/config-resolver": "^4.4.2",
35
- "@smithy/core": "^3.17.2",
36
- "@smithy/fetch-http-handler": "^5.3.5",
37
- "@smithy/hash-node": "^4.2.4",
38
- "@smithy/invalid-dependency": "^4.2.4",
39
- "@smithy/middleware-content-length": "^4.2.4",
40
- "@smithy/middleware-endpoint": "^4.3.6",
41
- "@smithy/middleware-retry": "^4.4.6",
42
- "@smithy/middleware-serde": "^4.2.4",
43
- "@smithy/middleware-stack": "^4.2.4",
44
- "@smithy/node-config-provider": "^4.3.4",
45
- "@smithy/node-http-handler": "^4.4.4",
46
- "@smithy/protocol-http": "^5.3.4",
47
- "@smithy/smithy-client": "^4.9.2",
48
- "@smithy/types": "^4.8.1",
49
- "@smithy/url-parser": "^4.2.4",
23
+ "@aws-sdk/core": "3.930.0",
24
+ "@aws-sdk/credential-provider-node": "3.930.0",
25
+ "@aws-sdk/middleware-host-header": "3.930.0",
26
+ "@aws-sdk/middleware-logger": "3.930.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.930.0",
28
+ "@aws-sdk/middleware-user-agent": "3.930.0",
29
+ "@aws-sdk/region-config-resolver": "3.930.0",
30
+ "@aws-sdk/types": "3.930.0",
31
+ "@aws-sdk/util-endpoints": "3.930.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.930.0",
33
+ "@aws-sdk/util-user-agent-node": "3.930.0",
34
+ "@smithy/config-resolver": "^4.4.3",
35
+ "@smithy/core": "^3.18.2",
36
+ "@smithy/fetch-http-handler": "^5.3.6",
37
+ "@smithy/hash-node": "^4.2.5",
38
+ "@smithy/invalid-dependency": "^4.2.5",
39
+ "@smithy/middleware-content-length": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.9",
41
+ "@smithy/middleware-retry": "^4.4.9",
42
+ "@smithy/middleware-serde": "^4.2.5",
43
+ "@smithy/middleware-stack": "^4.2.5",
44
+ "@smithy/node-config-provider": "^4.3.5",
45
+ "@smithy/node-http-handler": "^4.4.5",
46
+ "@smithy/protocol-http": "^5.3.5",
47
+ "@smithy/smithy-client": "^4.9.5",
48
+ "@smithy/types": "^4.9.0",
49
+ "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.5",
54
- "@smithy/util-defaults-mode-node": "^4.2.8",
55
- "@smithy/util-endpoints": "^3.2.4",
56
- "@smithy/util-middleware": "^4.2.4",
57
- "@smithy/util-retry": "^4.2.4",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.8",
54
+ "@smithy/util-defaults-mode-node": "^4.2.11",
55
+ "@smithy/util-endpoints": "^3.2.5",
56
+ "@smithy/util-middleware": "^4.2.5",
57
+ "@smithy/util-retry": "^4.2.5",
58
58
  "@smithy/util-utf8": "^4.2.0",
59
59
  "tslib": "^2.6.2"
60
60
  },