@aws-sdk/client-backupsearch 3.952.0 → 3.953.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 (32) hide show
  1. package/dist-cjs/index.js +212 -150
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/GetSearchJobCommand.js +2 -2
  4. package/dist-es/commands/GetSearchResultExportJobCommand.js +2 -2
  5. package/dist-es/commands/ListSearchJobBackupsCommand.js +2 -2
  6. package/dist-es/commands/ListSearchJobResultsCommand.js +2 -2
  7. package/dist-es/commands/ListSearchJobsCommand.js +2 -2
  8. package/dist-es/commands/ListSearchResultExportJobsCommand.js +2 -2
  9. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  10. package/dist-es/commands/StartSearchJobCommand.js +2 -2
  11. package/dist-es/commands/StartSearchResultExportJobCommand.js +2 -2
  12. package/dist-es/commands/StopSearchJobCommand.js +2 -2
  13. package/dist-es/commands/TagResourceCommand.js +2 -2
  14. package/dist-es/commands/UntagResourceCommand.js +2 -2
  15. package/dist-es/index.js +1 -0
  16. package/dist-es/runtimeConfig.shared.js +6 -1
  17. package/dist-es/schemas/schemas_0.js +123 -123
  18. package/dist-types/BackupSearchClient.d.ts +1 -10
  19. package/dist-types/index.d.ts +1 -0
  20. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  21. package/dist-types/runtimeConfig.d.ts +6 -2
  22. package/dist-types/runtimeConfig.native.d.ts +6 -2
  23. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  24. package/dist-types/schemas/schemas_0.d.ts +63 -79
  25. package/dist-types/ts3.4/BackupSearchClient.d.ts +0 -4
  26. package/dist-types/ts3.4/index.d.ts +1 -0
  27. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  28. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  29. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  30. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  31. package/dist-types/ts3.4/schemas/schemas_0.d.ts +62 -81
  32. package/package.json +34 -34
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.backupsearch" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.backupsearch",
32
+ version: "2018-05-10",
33
+ serviceTarget: "CryoBackupSearchService",
34
+ },
30
35
  serviceId: config?.serviceId ?? "BackupSearch",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetSearchJob } from "../schemas/schemas_0";
4
+ import { GetSearchJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetSearchJobCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetSearchJobCommand extends $Command
11
11
  })
12
12
  .s("CryoBackupSearchService", "GetSearchJob", {})
13
13
  .n("BackupSearchClient", "GetSearchJobCommand")
14
- .sc(GetSearchJob)
14
+ .sc(GetSearchJob$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetSearchResultExportJob } from "../schemas/schemas_0";
4
+ import { GetSearchResultExportJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetSearchResultExportJobCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetSearchResultExportJobCommand extends $Command
11
11
  })
12
12
  .s("CryoBackupSearchService", "GetSearchResultExportJob", {})
13
13
  .n("BackupSearchClient", "GetSearchResultExportJobCommand")
14
- .sc(GetSearchResultExportJob)
14
+ .sc(GetSearchResultExportJob$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListSearchJobBackups } from "../schemas/schemas_0";
4
+ import { ListSearchJobBackups$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListSearchJobBackupsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListSearchJobBackupsCommand extends $Command
11
11
  })
12
12
  .s("CryoBackupSearchService", "ListSearchJobBackups", {})
13
13
  .n("BackupSearchClient", "ListSearchJobBackupsCommand")
14
- .sc(ListSearchJobBackups)
14
+ .sc(ListSearchJobBackups$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListSearchJobResults } from "../schemas/schemas_0";
4
+ import { ListSearchJobResults$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListSearchJobResultsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListSearchJobResultsCommand extends $Command
11
11
  })
12
12
  .s("CryoBackupSearchService", "ListSearchJobResults", {})
13
13
  .n("BackupSearchClient", "ListSearchJobResultsCommand")
14
- .sc(ListSearchJobResults)
14
+ .sc(ListSearchJobResults$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListSearchJobs } from "../schemas/schemas_0";
4
+ import { ListSearchJobs$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListSearchJobsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListSearchJobsCommand extends $Command
11
11
  })
12
12
  .s("CryoBackupSearchService", "ListSearchJobs", {})
13
13
  .n("BackupSearchClient", "ListSearchJobsCommand")
14
- .sc(ListSearchJobs)
14
+ .sc(ListSearchJobs$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListSearchResultExportJobs } from "../schemas/schemas_0";
4
+ import { ListSearchResultExportJobs$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListSearchResultExportJobsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListSearchResultExportJobsCommand extends $Command
11
11
  })
12
12
  .s("CryoBackupSearchService", "ListSearchResultExportJobs", {})
13
13
  .n("BackupSearchClient", "ListSearchResultExportJobsCommand")
14
- .sc(ListSearchResultExportJobs)
14
+ .sc(ListSearchResultExportJobs$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("CryoBackupSearchService", "ListTagsForResource", {})
13
13
  .n("BackupSearchClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartSearchJob } from "../schemas/schemas_0";
4
+ import { StartSearchJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartSearchJobCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartSearchJobCommand extends $Command
11
11
  })
12
12
  .s("CryoBackupSearchService", "StartSearchJob", {})
13
13
  .n("BackupSearchClient", "StartSearchJobCommand")
14
- .sc(StartSearchJob)
14
+ .sc(StartSearchJob$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartSearchResultExportJob } from "../schemas/schemas_0";
4
+ import { StartSearchResultExportJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartSearchResultExportJobCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartSearchResultExportJobCommand extends $Command
11
11
  })
12
12
  .s("CryoBackupSearchService", "StartSearchResultExportJob", {})
13
13
  .n("BackupSearchClient", "StartSearchResultExportJobCommand")
14
- .sc(StartSearchResultExportJob)
14
+ .sc(StartSearchResultExportJob$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StopSearchJob } from "../schemas/schemas_0";
4
+ import { StopSearchJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StopSearchJobCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StopSearchJobCommand extends $Command
11
11
  })
12
12
  .s("CryoBackupSearchService", "StopSearchJob", {})
13
13
  .n("BackupSearchClient", "StopSearchJobCommand")
14
- .sc(StopSearchJob)
14
+ .sc(StopSearchJob$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("CryoBackupSearchService", "TagResource", {})
13
13
  .n("BackupSearchClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("CryoBackupSearchService", "UntagResource", {})
13
13
  .n("BackupSearchClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./BackupSearchClient";
2
2
  export * from "./BackupSearch";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.backupsearch" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.backupsearch",
29
+ version: "2018-05-10",
30
+ serviceTarget: "CryoBackupSearchService",
31
+ },
27
32
  serviceId: config?.serviceId ?? "BackupSearch",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,