@aws-sdk/client-detective 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 (49) hide show
  1. package/dist-cjs/index.js +362 -239
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/AcceptInvitationCommand.js +2 -2
  4. package/dist-es/commands/BatchGetGraphMemberDatasourcesCommand.js +2 -2
  5. package/dist-es/commands/BatchGetMembershipDatasourcesCommand.js +2 -2
  6. package/dist-es/commands/CreateGraphCommand.js +2 -2
  7. package/dist-es/commands/CreateMembersCommand.js +2 -2
  8. package/dist-es/commands/DeleteGraphCommand.js +2 -2
  9. package/dist-es/commands/DeleteMembersCommand.js +2 -2
  10. package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +2 -2
  11. package/dist-es/commands/DisableOrganizationAdminAccountCommand.js +2 -2
  12. package/dist-es/commands/DisassociateMembershipCommand.js +2 -2
  13. package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +2 -2
  14. package/dist-es/commands/GetInvestigationCommand.js +2 -2
  15. package/dist-es/commands/GetMembersCommand.js +2 -2
  16. package/dist-es/commands/ListDatasourcePackagesCommand.js +2 -2
  17. package/dist-es/commands/ListGraphsCommand.js +2 -2
  18. package/dist-es/commands/ListIndicatorsCommand.js +2 -2
  19. package/dist-es/commands/ListInvestigationsCommand.js +2 -2
  20. package/dist-es/commands/ListInvitationsCommand.js +2 -2
  21. package/dist-es/commands/ListMembersCommand.js +2 -2
  22. package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +2 -2
  23. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  24. package/dist-es/commands/RejectInvitationCommand.js +2 -2
  25. package/dist-es/commands/StartInvestigationCommand.js +2 -2
  26. package/dist-es/commands/StartMonitoringMemberCommand.js +2 -2
  27. package/dist-es/commands/TagResourceCommand.js +2 -2
  28. package/dist-es/commands/UntagResourceCommand.js +2 -2
  29. package/dist-es/commands/UpdateDatasourcePackagesCommand.js +2 -2
  30. package/dist-es/commands/UpdateInvestigationStateCommand.js +2 -2
  31. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +2 -2
  32. package/dist-es/index.js +1 -0
  33. package/dist-es/runtimeConfig.shared.js +6 -1
  34. package/dist-es/schemas/schemas_0.js +214 -200
  35. package/dist-types/DetectiveClient.d.ts +1 -10
  36. package/dist-types/index.d.ts +1 -0
  37. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  38. package/dist-types/runtimeConfig.d.ts +6 -2
  39. package/dist-types/runtimeConfig.native.d.ts +6 -2
  40. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  41. package/dist-types/schemas/schemas_0.d.ts +110 -134
  42. package/dist-types/ts3.4/DetectiveClient.d.ts +0 -4
  43. package/dist-types/ts3.4/index.d.ts +1 -0
  44. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  45. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  46. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  47. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  48. package/dist-types/ts3.4/schemas/schemas_0.d.ts +109 -136
  49. 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.detective" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.detective",
32
+ version: "2018-10-26",
33
+ serviceTarget: "AmazonDetective",
34
+ },
30
35
  serviceId: config?.serviceId ?? "Detective",
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 { AcceptInvitation } from "../schemas/schemas_0";
4
+ import { AcceptInvitation$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class AcceptInvitationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class AcceptInvitationCommand extends $Command
11
11
  })
12
12
  .s("AmazonDetective", "AcceptInvitation", {})
13
13
  .n("DetectiveClient", "AcceptInvitationCommand")
14
- .sc(AcceptInvitation)
14
+ .sc(AcceptInvitation$)
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 { BatchGetGraphMemberDatasources } from "../schemas/schemas_0";
4
+ import { BatchGetGraphMemberDatasources$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchGetGraphMemberDatasourcesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchGetGraphMemberDatasourcesCommand extends $Command
11
11
  })
12
12
  .s("AmazonDetective", "BatchGetGraphMemberDatasources", {})
13
13
  .n("DetectiveClient", "BatchGetGraphMemberDatasourcesCommand")
14
- .sc(BatchGetGraphMemberDatasources)
14
+ .sc(BatchGetGraphMemberDatasources$)
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 { BatchGetMembershipDatasources } from "../schemas/schemas_0";
4
+ import { BatchGetMembershipDatasources$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchGetMembershipDatasourcesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchGetMembershipDatasourcesCommand extends $Command
11
11
  })
12
12
  .s("AmazonDetective", "BatchGetMembershipDatasources", {})
13
13
  .n("DetectiveClient", "BatchGetMembershipDatasourcesCommand")
14
- .sc(BatchGetMembershipDatasources)
14
+ .sc(BatchGetMembershipDatasources$)
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 { CreateGraph } from "../schemas/schemas_0";
4
+ import { CreateGraph$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateGraphCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateGraphCommand extends $Command
11
11
  })
12
12
  .s("AmazonDetective", "CreateGraph", {})
13
13
  .n("DetectiveClient", "CreateGraphCommand")
14
- .sc(CreateGraph)
14
+ .sc(CreateGraph$)
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 { CreateMembers } from "../schemas/schemas_0";
4
+ import { CreateMembers$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateMembersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateMembersCommand extends $Command
11
11
  })
12
12
  .s("AmazonDetective", "CreateMembers", {})
13
13
  .n("DetectiveClient", "CreateMembersCommand")
14
- .sc(CreateMembers)
14
+ .sc(CreateMembers$)
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 { DeleteGraph } from "../schemas/schemas_0";
4
+ import { DeleteGraph$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteGraphCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteGraphCommand extends $Command
11
11
  })
12
12
  .s("AmazonDetective", "DeleteGraph", {})
13
13
  .n("DetectiveClient", "DeleteGraphCommand")
14
- .sc(DeleteGraph)
14
+ .sc(DeleteGraph$)
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 { DeleteMembers } from "../schemas/schemas_0";
4
+ import { DeleteMembers$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteMembersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteMembersCommand extends $Command
11
11
  })
12
12
  .s("AmazonDetective", "DeleteMembers", {})
13
13
  .n("DetectiveClient", "DeleteMembersCommand")
14
- .sc(DeleteMembers)
14
+ .sc(DeleteMembers$)
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 { DescribeOrganizationConfiguration } from "../schemas/schemas_0";
4
+ import { DescribeOrganizationConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeOrganizationConfigurationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeOrganizationConfigurationCommand extends $Command
11
11
  })
12
12
  .s("AmazonDetective", "DescribeOrganizationConfiguration", {})
13
13
  .n("DetectiveClient", "DescribeOrganizationConfigurationCommand")
14
- .sc(DescribeOrganizationConfiguration)
14
+ .sc(DescribeOrganizationConfiguration$)
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 { DisableOrganizationAdminAccount } from "../schemas/schemas_0";
4
+ import { DisableOrganizationAdminAccount$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DisableOrganizationAdminAccountCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DisableOrganizationAdminAccountCommand extends $Command
11
11
  })
12
12
  .s("AmazonDetective", "DisableOrganizationAdminAccount", {})
13
13
  .n("DetectiveClient", "DisableOrganizationAdminAccountCommand")
14
- .sc(DisableOrganizationAdminAccount)
14
+ .sc(DisableOrganizationAdminAccount$)
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 { DisassociateMembership } from "../schemas/schemas_0";
4
+ import { DisassociateMembership$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DisassociateMembershipCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DisassociateMembershipCommand extends $Command
11
11
  })
12
12
  .s("AmazonDetective", "DisassociateMembership", {})
13
13
  .n("DetectiveClient", "DisassociateMembershipCommand")
14
- .sc(DisassociateMembership)
14
+ .sc(DisassociateMembership$)
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 { EnableOrganizationAdminAccount } from "../schemas/schemas_0";
4
+ import { EnableOrganizationAdminAccount$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class EnableOrganizationAdminAccountCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class EnableOrganizationAdminAccountCommand extends $Command
11
11
  })
12
12
  .s("AmazonDetective", "EnableOrganizationAdminAccount", {})
13
13
  .n("DetectiveClient", "EnableOrganizationAdminAccountCommand")
14
- .sc(EnableOrganizationAdminAccount)
14
+ .sc(EnableOrganizationAdminAccount$)
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 { GetInvestigation } from "../schemas/schemas_0";
4
+ import { GetInvestigation$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetInvestigationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetInvestigationCommand extends $Command
11
11
  })
12
12
  .s("AmazonDetective", "GetInvestigation", {})
13
13
  .n("DetectiveClient", "GetInvestigationCommand")
14
- .sc(GetInvestigation)
14
+ .sc(GetInvestigation$)
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 { GetMembers } from "../schemas/schemas_0";
4
+ import { GetMembers$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetMembersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetMembersCommand extends $Command
11
11
  })
12
12
  .s("AmazonDetective", "GetMembers", {})
13
13
  .n("DetectiveClient", "GetMembersCommand")
14
- .sc(GetMembers)
14
+ .sc(GetMembers$)
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 { ListDatasourcePackages } from "../schemas/schemas_0";
4
+ import { ListDatasourcePackages$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListDatasourcePackagesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListDatasourcePackagesCommand extends $Command
11
11
  })
12
12
  .s("AmazonDetective", "ListDatasourcePackages", {})
13
13
  .n("DetectiveClient", "ListDatasourcePackagesCommand")
14
- .sc(ListDatasourcePackages)
14
+ .sc(ListDatasourcePackages$)
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 { ListGraphs } from "../schemas/schemas_0";
4
+ import { ListGraphs$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListGraphsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListGraphsCommand extends $Command
11
11
  })
12
12
  .s("AmazonDetective", "ListGraphs", {})
13
13
  .n("DetectiveClient", "ListGraphsCommand")
14
- .sc(ListGraphs)
14
+ .sc(ListGraphs$)
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 { ListIndicators } from "../schemas/schemas_0";
4
+ import { ListIndicators$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListIndicatorsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListIndicatorsCommand extends $Command
11
11
  })
12
12
  .s("AmazonDetective", "ListIndicators", {})
13
13
  .n("DetectiveClient", "ListIndicatorsCommand")
14
- .sc(ListIndicators)
14
+ .sc(ListIndicators$)
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 { ListInvestigations } from "../schemas/schemas_0";
4
+ import { ListInvestigations$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListInvestigationsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListInvestigationsCommand extends $Command
11
11
  })
12
12
  .s("AmazonDetective", "ListInvestigations", {})
13
13
  .n("DetectiveClient", "ListInvestigationsCommand")
14
- .sc(ListInvestigations)
14
+ .sc(ListInvestigations$)
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 { ListInvitations } from "../schemas/schemas_0";
4
+ import { ListInvitations$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListInvitationsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListInvitationsCommand extends $Command
11
11
  })
12
12
  .s("AmazonDetective", "ListInvitations", {})
13
13
  .n("DetectiveClient", "ListInvitationsCommand")
14
- .sc(ListInvitations)
14
+ .sc(ListInvitations$)
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 { ListMembers } from "../schemas/schemas_0";
4
+ import { ListMembers$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListMembersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListMembersCommand extends $Command
11
11
  })
12
12
  .s("AmazonDetective", "ListMembers", {})
13
13
  .n("DetectiveClient", "ListMembersCommand")
14
- .sc(ListMembers)
14
+ .sc(ListMembers$)
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 { ListOrganizationAdminAccounts } from "../schemas/schemas_0";
4
+ import { ListOrganizationAdminAccounts$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListOrganizationAdminAccountsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListOrganizationAdminAccountsCommand extends $Command
11
11
  })
12
12
  .s("AmazonDetective", "ListOrganizationAdminAccounts", {})
13
13
  .n("DetectiveClient", "ListOrganizationAdminAccountsCommand")
14
- .sc(ListOrganizationAdminAccounts)
14
+ .sc(ListOrganizationAdminAccounts$)
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("AmazonDetective", "ListTagsForResource", {})
13
13
  .n("DetectiveClient", "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 { RejectInvitation } from "../schemas/schemas_0";
4
+ import { RejectInvitation$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RejectInvitationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RejectInvitationCommand extends $Command
11
11
  })
12
12
  .s("AmazonDetective", "RejectInvitation", {})
13
13
  .n("DetectiveClient", "RejectInvitationCommand")
14
- .sc(RejectInvitation)
14
+ .sc(RejectInvitation$)
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 { StartInvestigation } from "../schemas/schemas_0";
4
+ import { StartInvestigation$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartInvestigationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartInvestigationCommand extends $Command
11
11
  })
12
12
  .s("AmazonDetective", "StartInvestigation", {})
13
13
  .n("DetectiveClient", "StartInvestigationCommand")
14
- .sc(StartInvestigation)
14
+ .sc(StartInvestigation$)
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 { StartMonitoringMember } from "../schemas/schemas_0";
4
+ import { StartMonitoringMember$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartMonitoringMemberCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartMonitoringMemberCommand extends $Command
11
11
  })
12
12
  .s("AmazonDetective", "StartMonitoringMember", {})
13
13
  .n("DetectiveClient", "StartMonitoringMemberCommand")
14
- .sc(StartMonitoringMember)
14
+ .sc(StartMonitoringMember$)
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("AmazonDetective", "TagResource", {})
13
13
  .n("DetectiveClient", "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("AmazonDetective", "UntagResource", {})
13
13
  .n("DetectiveClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
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 { UpdateDatasourcePackages } from "../schemas/schemas_0";
4
+ import { UpdateDatasourcePackages$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateDatasourcePackagesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateDatasourcePackagesCommand extends $Command
11
11
  })
12
12
  .s("AmazonDetective", "UpdateDatasourcePackages", {})
13
13
  .n("DetectiveClient", "UpdateDatasourcePackagesCommand")
14
- .sc(UpdateDatasourcePackages)
14
+ .sc(UpdateDatasourcePackages$)
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 { UpdateInvestigationState } from "../schemas/schemas_0";
4
+ import { UpdateInvestigationState$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateInvestigationStateCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateInvestigationStateCommand extends $Command
11
11
  })
12
12
  .s("AmazonDetective", "UpdateInvestigationState", {})
13
13
  .n("DetectiveClient", "UpdateInvestigationStateCommand")
14
- .sc(UpdateInvestigationState)
14
+ .sc(UpdateInvestigationState$)
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 { UpdateOrganizationConfiguration } from "../schemas/schemas_0";
4
+ import { UpdateOrganizationConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateOrganizationConfigurationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateOrganizationConfigurationCommand extends $Command
11
11
  })
12
12
  .s("AmazonDetective", "UpdateOrganizationConfiguration", {})
13
13
  .n("DetectiveClient", "UpdateOrganizationConfigurationCommand")
14
- .sc(UpdateOrganizationConfiguration)
14
+ .sc(UpdateOrganizationConfiguration$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./DetectiveClient";
2
2
  export * from "./Detective";
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.detective" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.detective",
29
+ version: "2018-10-26",
30
+ serviceTarget: "AmazonDetective",
31
+ },
27
32
  serviceId: config?.serviceId ?? "Detective",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,