@aws-sdk/client-detective 3.1136.0 → 3.1138.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/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1135.0";
72
+ var version = "3.1137.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -468,10 +468,10 @@ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.detective";
468
468
  const _se = "server";
469
469
  const _tK = "tagKeys";
470
470
  const n0 = "com.amazonaws.detective";
471
- const _s_registry = TypeRegistry.for(_s);
471
+ const _s_registry = new TypeRegistry(_s);
472
472
  var DetectiveServiceException$ = [-3, _s, "DetectiveServiceException", 0, [], []];
473
473
  _s_registry.registerError(DetectiveServiceException$, DetectiveServiceException);
474
- const n0_registry = TypeRegistry.for(n0);
474
+ const n0_registry = new TypeRegistry(n0);
475
475
  var AccessDeniedException$ = [-3, n0, _ADE,
476
476
  { [_e]: _c, [_hE]: 403 },
477
477
  [_M, _EC, _ECR, _SEC, _SECR],
@@ -210,10 +210,10 @@ const n0 = "com.amazonaws.detective";
210
210
  import { TypeRegistry } from "@smithy/core/schema";
211
211
  import { DetectiveServiceException } from "../models/DetectiveServiceException";
212
212
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, TooManyRequestsException, ValidationException, } from "../models/errors";
213
- const _s_registry = TypeRegistry.for(_s);
213
+ const _s_registry = new TypeRegistry(_s);
214
214
  export var DetectiveServiceException$ = [-3, _s, "DetectiveServiceException", 0, [], []];
215
215
  _s_registry.registerError(DetectiveServiceException$, DetectiveServiceException);
216
- const n0_registry = TypeRegistry.for(n0);
216
+ const n0_registry = new TypeRegistry(n0);
217
217
  export var AccessDeniedException$ = [-3, n0, _ADE,
218
218
  { [_e]: _c, [_hE]: 403 },
219
219
  [_M, _EC, _ECR, _SEC, _SECR],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { type AcceptInvitationCommandInput, type AcceptInvitationCommandOutput } from "./commands/AcceptInvitationCommand";
3
3
  import { type BatchGetGraphMemberDatasourcesCommandInput, type BatchGetGraphMemberDatasourcesCommandOutput } from "./commands/BatchGetGraphMemberDatasourcesCommand";
4
4
  import { type BatchGetMembershipDatasourcesCommandInput, type BatchGetMembershipDatasourcesCommandOutput } from "./commands/BatchGetMembershipDatasourcesCommand";
@@ -29,186 +29,192 @@ import { type UpdateDatasourcePackagesCommandInput, type UpdateDatasourcePackage
29
29
  import { type UpdateInvestigationStateCommandInput, type UpdateInvestigationStateCommandOutput } from "./commands/UpdateInvestigationStateCommand";
30
30
  import { type UpdateOrganizationConfigurationCommandInput, type UpdateOrganizationConfigurationCommandOutput } from "./commands/UpdateOrganizationConfigurationCommand";
31
31
  import { DetectiveClient } from "./DetectiveClient";
32
+ /**
33
+ * @public
34
+ */
35
+ export interface DetectiveRequestOptions extends __HttpHandlerOptions {
36
+ metricsRecorder?: __MetricsRecorder<unknown>;
37
+ }
32
38
  export interface Detective {
33
39
  /**
34
40
  * @see {@link AcceptInvitationCommand}
35
41
  */
36
- acceptInvitation(args: AcceptInvitationCommandInput, options?: __HttpHandlerOptions): Promise<AcceptInvitationCommandOutput>;
42
+ acceptInvitation(args: AcceptInvitationCommandInput, options?: DetectiveRequestOptions): Promise<AcceptInvitationCommandOutput>;
37
43
  acceptInvitation(args: AcceptInvitationCommandInput, cb: (err: any, data?: AcceptInvitationCommandOutput) => void): void;
38
- acceptInvitation(args: AcceptInvitationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AcceptInvitationCommandOutput) => void): void;
44
+ acceptInvitation(args: AcceptInvitationCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: AcceptInvitationCommandOutput) => void): void;
39
45
  /**
40
46
  * @see {@link BatchGetGraphMemberDatasourcesCommand}
41
47
  */
42
- batchGetGraphMemberDatasources(args: BatchGetGraphMemberDatasourcesCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetGraphMemberDatasourcesCommandOutput>;
48
+ batchGetGraphMemberDatasources(args: BatchGetGraphMemberDatasourcesCommandInput, options?: DetectiveRequestOptions): Promise<BatchGetGraphMemberDatasourcesCommandOutput>;
43
49
  batchGetGraphMemberDatasources(args: BatchGetGraphMemberDatasourcesCommandInput, cb: (err: any, data?: BatchGetGraphMemberDatasourcesCommandOutput) => void): void;
44
- batchGetGraphMemberDatasources(args: BatchGetGraphMemberDatasourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetGraphMemberDatasourcesCommandOutput) => void): void;
50
+ batchGetGraphMemberDatasources(args: BatchGetGraphMemberDatasourcesCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: BatchGetGraphMemberDatasourcesCommandOutput) => void): void;
45
51
  /**
46
52
  * @see {@link BatchGetMembershipDatasourcesCommand}
47
53
  */
48
- batchGetMembershipDatasources(args: BatchGetMembershipDatasourcesCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetMembershipDatasourcesCommandOutput>;
54
+ batchGetMembershipDatasources(args: BatchGetMembershipDatasourcesCommandInput, options?: DetectiveRequestOptions): Promise<BatchGetMembershipDatasourcesCommandOutput>;
49
55
  batchGetMembershipDatasources(args: BatchGetMembershipDatasourcesCommandInput, cb: (err: any, data?: BatchGetMembershipDatasourcesCommandOutput) => void): void;
50
- batchGetMembershipDatasources(args: BatchGetMembershipDatasourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetMembershipDatasourcesCommandOutput) => void): void;
56
+ batchGetMembershipDatasources(args: BatchGetMembershipDatasourcesCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: BatchGetMembershipDatasourcesCommandOutput) => void): void;
51
57
  /**
52
58
  * @see {@link CreateGraphCommand}
53
59
  */
54
60
  createGraph(): Promise<CreateGraphCommandOutput>;
55
- createGraph(args: CreateGraphCommandInput, options?: __HttpHandlerOptions): Promise<CreateGraphCommandOutput>;
61
+ createGraph(args: CreateGraphCommandInput, options?: DetectiveRequestOptions): Promise<CreateGraphCommandOutput>;
56
62
  createGraph(args: CreateGraphCommandInput, cb: (err: any, data?: CreateGraphCommandOutput) => void): void;
57
- createGraph(args: CreateGraphCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateGraphCommandOutput) => void): void;
63
+ createGraph(args: CreateGraphCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: CreateGraphCommandOutput) => void): void;
58
64
  /**
59
65
  * @see {@link CreateMembersCommand}
60
66
  */
61
- createMembers(args: CreateMembersCommandInput, options?: __HttpHandlerOptions): Promise<CreateMembersCommandOutput>;
67
+ createMembers(args: CreateMembersCommandInput, options?: DetectiveRequestOptions): Promise<CreateMembersCommandOutput>;
62
68
  createMembers(args: CreateMembersCommandInput, cb: (err: any, data?: CreateMembersCommandOutput) => void): void;
63
- createMembers(args: CreateMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMembersCommandOutput) => void): void;
69
+ createMembers(args: CreateMembersCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: CreateMembersCommandOutput) => void): void;
64
70
  /**
65
71
  * @see {@link DeleteGraphCommand}
66
72
  */
67
- deleteGraph(args: DeleteGraphCommandInput, options?: __HttpHandlerOptions): Promise<DeleteGraphCommandOutput>;
73
+ deleteGraph(args: DeleteGraphCommandInput, options?: DetectiveRequestOptions): Promise<DeleteGraphCommandOutput>;
68
74
  deleteGraph(args: DeleteGraphCommandInput, cb: (err: any, data?: DeleteGraphCommandOutput) => void): void;
69
- deleteGraph(args: DeleteGraphCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteGraphCommandOutput) => void): void;
75
+ deleteGraph(args: DeleteGraphCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: DeleteGraphCommandOutput) => void): void;
70
76
  /**
71
77
  * @see {@link DeleteMembersCommand}
72
78
  */
73
- deleteMembers(args: DeleteMembersCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMembersCommandOutput>;
79
+ deleteMembers(args: DeleteMembersCommandInput, options?: DetectiveRequestOptions): Promise<DeleteMembersCommandOutput>;
74
80
  deleteMembers(args: DeleteMembersCommandInput, cb: (err: any, data?: DeleteMembersCommandOutput) => void): void;
75
- deleteMembers(args: DeleteMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMembersCommandOutput) => void): void;
81
+ deleteMembers(args: DeleteMembersCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: DeleteMembersCommandOutput) => void): void;
76
82
  /**
77
83
  * @see {@link DescribeOrganizationConfigurationCommand}
78
84
  */
79
- describeOrganizationConfiguration(args: DescribeOrganizationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeOrganizationConfigurationCommandOutput>;
85
+ describeOrganizationConfiguration(args: DescribeOrganizationConfigurationCommandInput, options?: DetectiveRequestOptions): Promise<DescribeOrganizationConfigurationCommandOutput>;
80
86
  describeOrganizationConfiguration(args: DescribeOrganizationConfigurationCommandInput, cb: (err: any, data?: DescribeOrganizationConfigurationCommandOutput) => void): void;
81
- describeOrganizationConfiguration(args: DescribeOrganizationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeOrganizationConfigurationCommandOutput) => void): void;
87
+ describeOrganizationConfiguration(args: DescribeOrganizationConfigurationCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: DescribeOrganizationConfigurationCommandOutput) => void): void;
82
88
  /**
83
89
  * @see {@link DisableOrganizationAdminAccountCommand}
84
90
  */
85
91
  disableOrganizationAdminAccount(): Promise<DisableOrganizationAdminAccountCommandOutput>;
86
- disableOrganizationAdminAccount(args: DisableOrganizationAdminAccountCommandInput, options?: __HttpHandlerOptions): Promise<DisableOrganizationAdminAccountCommandOutput>;
92
+ disableOrganizationAdminAccount(args: DisableOrganizationAdminAccountCommandInput, options?: DetectiveRequestOptions): Promise<DisableOrganizationAdminAccountCommandOutput>;
87
93
  disableOrganizationAdminAccount(args: DisableOrganizationAdminAccountCommandInput, cb: (err: any, data?: DisableOrganizationAdminAccountCommandOutput) => void): void;
88
- disableOrganizationAdminAccount(args: DisableOrganizationAdminAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableOrganizationAdminAccountCommandOutput) => void): void;
94
+ disableOrganizationAdminAccount(args: DisableOrganizationAdminAccountCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: DisableOrganizationAdminAccountCommandOutput) => void): void;
89
95
  /**
90
96
  * @see {@link DisassociateMembershipCommand}
91
97
  */
92
- disassociateMembership(args: DisassociateMembershipCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateMembershipCommandOutput>;
98
+ disassociateMembership(args: DisassociateMembershipCommandInput, options?: DetectiveRequestOptions): Promise<DisassociateMembershipCommandOutput>;
93
99
  disassociateMembership(args: DisassociateMembershipCommandInput, cb: (err: any, data?: DisassociateMembershipCommandOutput) => void): void;
94
- disassociateMembership(args: DisassociateMembershipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateMembershipCommandOutput) => void): void;
100
+ disassociateMembership(args: DisassociateMembershipCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: DisassociateMembershipCommandOutput) => void): void;
95
101
  /**
96
102
  * @see {@link EnableOrganizationAdminAccountCommand}
97
103
  */
98
- enableOrganizationAdminAccount(args: EnableOrganizationAdminAccountCommandInput, options?: __HttpHandlerOptions): Promise<EnableOrganizationAdminAccountCommandOutput>;
104
+ enableOrganizationAdminAccount(args: EnableOrganizationAdminAccountCommandInput, options?: DetectiveRequestOptions): Promise<EnableOrganizationAdminAccountCommandOutput>;
99
105
  enableOrganizationAdminAccount(args: EnableOrganizationAdminAccountCommandInput, cb: (err: any, data?: EnableOrganizationAdminAccountCommandOutput) => void): void;
100
- enableOrganizationAdminAccount(args: EnableOrganizationAdminAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableOrganizationAdminAccountCommandOutput) => void): void;
106
+ enableOrganizationAdminAccount(args: EnableOrganizationAdminAccountCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: EnableOrganizationAdminAccountCommandOutput) => void): void;
101
107
  /**
102
108
  * @see {@link GetInvestigationCommand}
103
109
  */
104
- getInvestigation(args: GetInvestigationCommandInput, options?: __HttpHandlerOptions): Promise<GetInvestigationCommandOutput>;
110
+ getInvestigation(args: GetInvestigationCommandInput, options?: DetectiveRequestOptions): Promise<GetInvestigationCommandOutput>;
105
111
  getInvestigation(args: GetInvestigationCommandInput, cb: (err: any, data?: GetInvestigationCommandOutput) => void): void;
106
- getInvestigation(args: GetInvestigationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInvestigationCommandOutput) => void): void;
112
+ getInvestigation(args: GetInvestigationCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: GetInvestigationCommandOutput) => void): void;
107
113
  /**
108
114
  * @see {@link GetMembersCommand}
109
115
  */
110
- getMembers(args: GetMembersCommandInput, options?: __HttpHandlerOptions): Promise<GetMembersCommandOutput>;
116
+ getMembers(args: GetMembersCommandInput, options?: DetectiveRequestOptions): Promise<GetMembersCommandOutput>;
111
117
  getMembers(args: GetMembersCommandInput, cb: (err: any, data?: GetMembersCommandOutput) => void): void;
112
- getMembers(args: GetMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMembersCommandOutput) => void): void;
118
+ getMembers(args: GetMembersCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: GetMembersCommandOutput) => void): void;
113
119
  /**
114
120
  * @see {@link ListDatasourcePackagesCommand}
115
121
  */
116
- listDatasourcePackages(args: ListDatasourcePackagesCommandInput, options?: __HttpHandlerOptions): Promise<ListDatasourcePackagesCommandOutput>;
122
+ listDatasourcePackages(args: ListDatasourcePackagesCommandInput, options?: DetectiveRequestOptions): Promise<ListDatasourcePackagesCommandOutput>;
117
123
  listDatasourcePackages(args: ListDatasourcePackagesCommandInput, cb: (err: any, data?: ListDatasourcePackagesCommandOutput) => void): void;
118
- listDatasourcePackages(args: ListDatasourcePackagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDatasourcePackagesCommandOutput) => void): void;
124
+ listDatasourcePackages(args: ListDatasourcePackagesCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: ListDatasourcePackagesCommandOutput) => void): void;
119
125
  /**
120
126
  * @see {@link ListGraphsCommand}
121
127
  */
122
128
  listGraphs(): Promise<ListGraphsCommandOutput>;
123
- listGraphs(args: ListGraphsCommandInput, options?: __HttpHandlerOptions): Promise<ListGraphsCommandOutput>;
129
+ listGraphs(args: ListGraphsCommandInput, options?: DetectiveRequestOptions): Promise<ListGraphsCommandOutput>;
124
130
  listGraphs(args: ListGraphsCommandInput, cb: (err: any, data?: ListGraphsCommandOutput) => void): void;
125
- listGraphs(args: ListGraphsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGraphsCommandOutput) => void): void;
131
+ listGraphs(args: ListGraphsCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: ListGraphsCommandOutput) => void): void;
126
132
  /**
127
133
  * @see {@link ListIndicatorsCommand}
128
134
  */
129
- listIndicators(args: ListIndicatorsCommandInput, options?: __HttpHandlerOptions): Promise<ListIndicatorsCommandOutput>;
135
+ listIndicators(args: ListIndicatorsCommandInput, options?: DetectiveRequestOptions): Promise<ListIndicatorsCommandOutput>;
130
136
  listIndicators(args: ListIndicatorsCommandInput, cb: (err: any, data?: ListIndicatorsCommandOutput) => void): void;
131
- listIndicators(args: ListIndicatorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIndicatorsCommandOutput) => void): void;
137
+ listIndicators(args: ListIndicatorsCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: ListIndicatorsCommandOutput) => void): void;
132
138
  /**
133
139
  * @see {@link ListInvestigationsCommand}
134
140
  */
135
- listInvestigations(args: ListInvestigationsCommandInput, options?: __HttpHandlerOptions): Promise<ListInvestigationsCommandOutput>;
141
+ listInvestigations(args: ListInvestigationsCommandInput, options?: DetectiveRequestOptions): Promise<ListInvestigationsCommandOutput>;
136
142
  listInvestigations(args: ListInvestigationsCommandInput, cb: (err: any, data?: ListInvestigationsCommandOutput) => void): void;
137
- listInvestigations(args: ListInvestigationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInvestigationsCommandOutput) => void): void;
143
+ listInvestigations(args: ListInvestigationsCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: ListInvestigationsCommandOutput) => void): void;
138
144
  /**
139
145
  * @see {@link ListInvitationsCommand}
140
146
  */
141
147
  listInvitations(): Promise<ListInvitationsCommandOutput>;
142
- listInvitations(args: ListInvitationsCommandInput, options?: __HttpHandlerOptions): Promise<ListInvitationsCommandOutput>;
148
+ listInvitations(args: ListInvitationsCommandInput, options?: DetectiveRequestOptions): Promise<ListInvitationsCommandOutput>;
143
149
  listInvitations(args: ListInvitationsCommandInput, cb: (err: any, data?: ListInvitationsCommandOutput) => void): void;
144
- listInvitations(args: ListInvitationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInvitationsCommandOutput) => void): void;
150
+ listInvitations(args: ListInvitationsCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: ListInvitationsCommandOutput) => void): void;
145
151
  /**
146
152
  * @see {@link ListMembersCommand}
147
153
  */
148
- listMembers(args: ListMembersCommandInput, options?: __HttpHandlerOptions): Promise<ListMembersCommandOutput>;
154
+ listMembers(args: ListMembersCommandInput, options?: DetectiveRequestOptions): Promise<ListMembersCommandOutput>;
149
155
  listMembers(args: ListMembersCommandInput, cb: (err: any, data?: ListMembersCommandOutput) => void): void;
150
- listMembers(args: ListMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMembersCommandOutput) => void): void;
156
+ listMembers(args: ListMembersCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: ListMembersCommandOutput) => void): void;
151
157
  /**
152
158
  * @see {@link ListOrganizationAdminAccountsCommand}
153
159
  */
154
160
  listOrganizationAdminAccounts(): Promise<ListOrganizationAdminAccountsCommandOutput>;
155
- listOrganizationAdminAccounts(args: ListOrganizationAdminAccountsCommandInput, options?: __HttpHandlerOptions): Promise<ListOrganizationAdminAccountsCommandOutput>;
161
+ listOrganizationAdminAccounts(args: ListOrganizationAdminAccountsCommandInput, options?: DetectiveRequestOptions): Promise<ListOrganizationAdminAccountsCommandOutput>;
156
162
  listOrganizationAdminAccounts(args: ListOrganizationAdminAccountsCommandInput, cb: (err: any, data?: ListOrganizationAdminAccountsCommandOutput) => void): void;
157
- listOrganizationAdminAccounts(args: ListOrganizationAdminAccountsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOrganizationAdminAccountsCommandOutput) => void): void;
163
+ listOrganizationAdminAccounts(args: ListOrganizationAdminAccountsCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: ListOrganizationAdminAccountsCommandOutput) => void): void;
158
164
  /**
159
165
  * @see {@link ListTagsForResourceCommand}
160
166
  */
161
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
167
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: DetectiveRequestOptions): Promise<ListTagsForResourceCommandOutput>;
162
168
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
163
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
169
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
164
170
  /**
165
171
  * @see {@link RejectInvitationCommand}
166
172
  */
167
- rejectInvitation(args: RejectInvitationCommandInput, options?: __HttpHandlerOptions): Promise<RejectInvitationCommandOutput>;
173
+ rejectInvitation(args: RejectInvitationCommandInput, options?: DetectiveRequestOptions): Promise<RejectInvitationCommandOutput>;
168
174
  rejectInvitation(args: RejectInvitationCommandInput, cb: (err: any, data?: RejectInvitationCommandOutput) => void): void;
169
- rejectInvitation(args: RejectInvitationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RejectInvitationCommandOutput) => void): void;
175
+ rejectInvitation(args: RejectInvitationCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: RejectInvitationCommandOutput) => void): void;
170
176
  /**
171
177
  * @see {@link StartInvestigationCommand}
172
178
  */
173
- startInvestigation(args: StartInvestigationCommandInput, options?: __HttpHandlerOptions): Promise<StartInvestigationCommandOutput>;
179
+ startInvestigation(args: StartInvestigationCommandInput, options?: DetectiveRequestOptions): Promise<StartInvestigationCommandOutput>;
174
180
  startInvestigation(args: StartInvestigationCommandInput, cb: (err: any, data?: StartInvestigationCommandOutput) => void): void;
175
- startInvestigation(args: StartInvestigationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartInvestigationCommandOutput) => void): void;
181
+ startInvestigation(args: StartInvestigationCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: StartInvestigationCommandOutput) => void): void;
176
182
  /**
177
183
  * @see {@link StartMonitoringMemberCommand}
178
184
  */
179
- startMonitoringMember(args: StartMonitoringMemberCommandInput, options?: __HttpHandlerOptions): Promise<StartMonitoringMemberCommandOutput>;
185
+ startMonitoringMember(args: StartMonitoringMemberCommandInput, options?: DetectiveRequestOptions): Promise<StartMonitoringMemberCommandOutput>;
180
186
  startMonitoringMember(args: StartMonitoringMemberCommandInput, cb: (err: any, data?: StartMonitoringMemberCommandOutput) => void): void;
181
- startMonitoringMember(args: StartMonitoringMemberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartMonitoringMemberCommandOutput) => void): void;
187
+ startMonitoringMember(args: StartMonitoringMemberCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: StartMonitoringMemberCommandOutput) => void): void;
182
188
  /**
183
189
  * @see {@link TagResourceCommand}
184
190
  */
185
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
191
+ tagResource(args: TagResourceCommandInput, options?: DetectiveRequestOptions): Promise<TagResourceCommandOutput>;
186
192
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
187
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
193
+ tagResource(args: TagResourceCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
188
194
  /**
189
195
  * @see {@link UntagResourceCommand}
190
196
  */
191
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
197
+ untagResource(args: UntagResourceCommandInput, options?: DetectiveRequestOptions): Promise<UntagResourceCommandOutput>;
192
198
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
193
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
199
+ untagResource(args: UntagResourceCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
194
200
  /**
195
201
  * @see {@link UpdateDatasourcePackagesCommand}
196
202
  */
197
- updateDatasourcePackages(args: UpdateDatasourcePackagesCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDatasourcePackagesCommandOutput>;
203
+ updateDatasourcePackages(args: UpdateDatasourcePackagesCommandInput, options?: DetectiveRequestOptions): Promise<UpdateDatasourcePackagesCommandOutput>;
198
204
  updateDatasourcePackages(args: UpdateDatasourcePackagesCommandInput, cb: (err: any, data?: UpdateDatasourcePackagesCommandOutput) => void): void;
199
- updateDatasourcePackages(args: UpdateDatasourcePackagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDatasourcePackagesCommandOutput) => void): void;
205
+ updateDatasourcePackages(args: UpdateDatasourcePackagesCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: UpdateDatasourcePackagesCommandOutput) => void): void;
200
206
  /**
201
207
  * @see {@link UpdateInvestigationStateCommand}
202
208
  */
203
- updateInvestigationState(args: UpdateInvestigationStateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateInvestigationStateCommandOutput>;
209
+ updateInvestigationState(args: UpdateInvestigationStateCommandInput, options?: DetectiveRequestOptions): Promise<UpdateInvestigationStateCommandOutput>;
204
210
  updateInvestigationState(args: UpdateInvestigationStateCommandInput, cb: (err: any, data?: UpdateInvestigationStateCommandOutput) => void): void;
205
- updateInvestigationState(args: UpdateInvestigationStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateInvestigationStateCommandOutput) => void): void;
211
+ updateInvestigationState(args: UpdateInvestigationStateCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: UpdateInvestigationStateCommandOutput) => void): void;
206
212
  /**
207
213
  * @see {@link UpdateOrganizationConfigurationCommand}
208
214
  */
209
- updateOrganizationConfiguration(args: UpdateOrganizationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateOrganizationConfigurationCommandOutput>;
215
+ updateOrganizationConfiguration(args: UpdateOrganizationConfigurationCommandInput, options?: DetectiveRequestOptions): Promise<UpdateOrganizationConfigurationCommandOutput>;
210
216
  updateOrganizationConfiguration(args: UpdateOrganizationConfigurationCommandInput, cb: (err: any, data?: UpdateOrganizationConfigurationCommandOutput) => void): void;
211
- updateOrganizationConfiguration(args: UpdateOrganizationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateOrganizationConfigurationCommandOutput) => void): void;
217
+ updateOrganizationConfiguration(args: UpdateOrganizationConfigurationCommandInput, options: DetectiveRequestOptions, cb: (err: any, data?: UpdateOrganizationConfigurationCommandOutput) => void): void;
212
218
  /**
213
219
  * @see {@link ListDatasourcePackagesCommand}
214
220
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -102,10 +103,13 @@ import {
102
103
  UpdateOrganizationConfigurationCommandOutput,
103
104
  } from "./commands/UpdateOrganizationConfigurationCommand";
104
105
  import { DetectiveClient } from "./DetectiveClient";
106
+ export interface DetectiveRequestOptions extends __HttpHandlerOptions {
107
+ metricsRecorder?: __MetricsRecorder<unknown>;
108
+ }
105
109
  export interface Detective {
106
110
  acceptInvitation(
107
111
  args: AcceptInvitationCommandInput,
108
- options?: __HttpHandlerOptions,
112
+ options?: DetectiveRequestOptions,
109
113
  ): Promise<AcceptInvitationCommandOutput>;
110
114
  acceptInvitation(
111
115
  args: AcceptInvitationCommandInput,
@@ -113,12 +117,12 @@ export interface Detective {
113
117
  ): void;
114
118
  acceptInvitation(
115
119
  args: AcceptInvitationCommandInput,
116
- options: __HttpHandlerOptions,
120
+ options: DetectiveRequestOptions,
117
121
  cb: (err: any, data?: AcceptInvitationCommandOutput) => void,
118
122
  ): void;
119
123
  batchGetGraphMemberDatasources(
120
124
  args: BatchGetGraphMemberDatasourcesCommandInput,
121
- options?: __HttpHandlerOptions,
125
+ options?: DetectiveRequestOptions,
122
126
  ): Promise<BatchGetGraphMemberDatasourcesCommandOutput>;
123
127
  batchGetGraphMemberDatasources(
124
128
  args: BatchGetGraphMemberDatasourcesCommandInput,
@@ -126,12 +130,12 @@ export interface Detective {
126
130
  ): void;
127
131
  batchGetGraphMemberDatasources(
128
132
  args: BatchGetGraphMemberDatasourcesCommandInput,
129
- options: __HttpHandlerOptions,
133
+ options: DetectiveRequestOptions,
130
134
  cb: (err: any, data?: BatchGetGraphMemberDatasourcesCommandOutput) => void,
131
135
  ): void;
132
136
  batchGetMembershipDatasources(
133
137
  args: BatchGetMembershipDatasourcesCommandInput,
134
- options?: __HttpHandlerOptions,
138
+ options?: DetectiveRequestOptions,
135
139
  ): Promise<BatchGetMembershipDatasourcesCommandOutput>;
136
140
  batchGetMembershipDatasources(
137
141
  args: BatchGetMembershipDatasourcesCommandInput,
@@ -139,13 +143,13 @@ export interface Detective {
139
143
  ): void;
140
144
  batchGetMembershipDatasources(
141
145
  args: BatchGetMembershipDatasourcesCommandInput,
142
- options: __HttpHandlerOptions,
146
+ options: DetectiveRequestOptions,
143
147
  cb: (err: any, data?: BatchGetMembershipDatasourcesCommandOutput) => void,
144
148
  ): void;
145
149
  createGraph(): Promise<CreateGraphCommandOutput>;
146
150
  createGraph(
147
151
  args: CreateGraphCommandInput,
148
- options?: __HttpHandlerOptions,
152
+ options?: DetectiveRequestOptions,
149
153
  ): Promise<CreateGraphCommandOutput>;
150
154
  createGraph(
151
155
  args: CreateGraphCommandInput,
@@ -153,12 +157,12 @@ export interface Detective {
153
157
  ): void;
154
158
  createGraph(
155
159
  args: CreateGraphCommandInput,
156
- options: __HttpHandlerOptions,
160
+ options: DetectiveRequestOptions,
157
161
  cb: (err: any, data?: CreateGraphCommandOutput) => void,
158
162
  ): void;
159
163
  createMembers(
160
164
  args: CreateMembersCommandInput,
161
- options?: __HttpHandlerOptions,
165
+ options?: DetectiveRequestOptions,
162
166
  ): Promise<CreateMembersCommandOutput>;
163
167
  createMembers(
164
168
  args: CreateMembersCommandInput,
@@ -166,12 +170,12 @@ export interface Detective {
166
170
  ): void;
167
171
  createMembers(
168
172
  args: CreateMembersCommandInput,
169
- options: __HttpHandlerOptions,
173
+ options: DetectiveRequestOptions,
170
174
  cb: (err: any, data?: CreateMembersCommandOutput) => void,
171
175
  ): void;
172
176
  deleteGraph(
173
177
  args: DeleteGraphCommandInput,
174
- options?: __HttpHandlerOptions,
178
+ options?: DetectiveRequestOptions,
175
179
  ): Promise<DeleteGraphCommandOutput>;
176
180
  deleteGraph(
177
181
  args: DeleteGraphCommandInput,
@@ -179,12 +183,12 @@ export interface Detective {
179
183
  ): void;
180
184
  deleteGraph(
181
185
  args: DeleteGraphCommandInput,
182
- options: __HttpHandlerOptions,
186
+ options: DetectiveRequestOptions,
183
187
  cb: (err: any, data?: DeleteGraphCommandOutput) => void,
184
188
  ): void;
185
189
  deleteMembers(
186
190
  args: DeleteMembersCommandInput,
187
- options?: __HttpHandlerOptions,
191
+ options?: DetectiveRequestOptions,
188
192
  ): Promise<DeleteMembersCommandOutput>;
189
193
  deleteMembers(
190
194
  args: DeleteMembersCommandInput,
@@ -192,12 +196,12 @@ export interface Detective {
192
196
  ): void;
193
197
  deleteMembers(
194
198
  args: DeleteMembersCommandInput,
195
- options: __HttpHandlerOptions,
199
+ options: DetectiveRequestOptions,
196
200
  cb: (err: any, data?: DeleteMembersCommandOutput) => void,
197
201
  ): void;
198
202
  describeOrganizationConfiguration(
199
203
  args: DescribeOrganizationConfigurationCommandInput,
200
- options?: __HttpHandlerOptions,
204
+ options?: DetectiveRequestOptions,
201
205
  ): Promise<DescribeOrganizationConfigurationCommandOutput>;
202
206
  describeOrganizationConfiguration(
203
207
  args: DescribeOrganizationConfigurationCommandInput,
@@ -205,13 +209,13 @@ export interface Detective {
205
209
  ): void;
206
210
  describeOrganizationConfiguration(
207
211
  args: DescribeOrganizationConfigurationCommandInput,
208
- options: __HttpHandlerOptions,
212
+ options: DetectiveRequestOptions,
209
213
  cb: (err: any, data?: DescribeOrganizationConfigurationCommandOutput) => void,
210
214
  ): void;
211
215
  disableOrganizationAdminAccount(): Promise<DisableOrganizationAdminAccountCommandOutput>;
212
216
  disableOrganizationAdminAccount(
213
217
  args: DisableOrganizationAdminAccountCommandInput,
214
- options?: __HttpHandlerOptions,
218
+ options?: DetectiveRequestOptions,
215
219
  ): Promise<DisableOrganizationAdminAccountCommandOutput>;
216
220
  disableOrganizationAdminAccount(
217
221
  args: DisableOrganizationAdminAccountCommandInput,
@@ -219,12 +223,12 @@ export interface Detective {
219
223
  ): void;
220
224
  disableOrganizationAdminAccount(
221
225
  args: DisableOrganizationAdminAccountCommandInput,
222
- options: __HttpHandlerOptions,
226
+ options: DetectiveRequestOptions,
223
227
  cb: (err: any, data?: DisableOrganizationAdminAccountCommandOutput) => void,
224
228
  ): void;
225
229
  disassociateMembership(
226
230
  args: DisassociateMembershipCommandInput,
227
- options?: __HttpHandlerOptions,
231
+ options?: DetectiveRequestOptions,
228
232
  ): Promise<DisassociateMembershipCommandOutput>;
229
233
  disassociateMembership(
230
234
  args: DisassociateMembershipCommandInput,
@@ -232,12 +236,12 @@ export interface Detective {
232
236
  ): void;
233
237
  disassociateMembership(
234
238
  args: DisassociateMembershipCommandInput,
235
- options: __HttpHandlerOptions,
239
+ options: DetectiveRequestOptions,
236
240
  cb: (err: any, data?: DisassociateMembershipCommandOutput) => void,
237
241
  ): void;
238
242
  enableOrganizationAdminAccount(
239
243
  args: EnableOrganizationAdminAccountCommandInput,
240
- options?: __HttpHandlerOptions,
244
+ options?: DetectiveRequestOptions,
241
245
  ): Promise<EnableOrganizationAdminAccountCommandOutput>;
242
246
  enableOrganizationAdminAccount(
243
247
  args: EnableOrganizationAdminAccountCommandInput,
@@ -245,12 +249,12 @@ export interface Detective {
245
249
  ): void;
246
250
  enableOrganizationAdminAccount(
247
251
  args: EnableOrganizationAdminAccountCommandInput,
248
- options: __HttpHandlerOptions,
252
+ options: DetectiveRequestOptions,
249
253
  cb: (err: any, data?: EnableOrganizationAdminAccountCommandOutput) => void,
250
254
  ): void;
251
255
  getInvestigation(
252
256
  args: GetInvestigationCommandInput,
253
- options?: __HttpHandlerOptions,
257
+ options?: DetectiveRequestOptions,
254
258
  ): Promise<GetInvestigationCommandOutput>;
255
259
  getInvestigation(
256
260
  args: GetInvestigationCommandInput,
@@ -258,12 +262,12 @@ export interface Detective {
258
262
  ): void;
259
263
  getInvestigation(
260
264
  args: GetInvestigationCommandInput,
261
- options: __HttpHandlerOptions,
265
+ options: DetectiveRequestOptions,
262
266
  cb: (err: any, data?: GetInvestigationCommandOutput) => void,
263
267
  ): void;
264
268
  getMembers(
265
269
  args: GetMembersCommandInput,
266
- options?: __HttpHandlerOptions,
270
+ options?: DetectiveRequestOptions,
267
271
  ): Promise<GetMembersCommandOutput>;
268
272
  getMembers(
269
273
  args: GetMembersCommandInput,
@@ -271,12 +275,12 @@ export interface Detective {
271
275
  ): void;
272
276
  getMembers(
273
277
  args: GetMembersCommandInput,
274
- options: __HttpHandlerOptions,
278
+ options: DetectiveRequestOptions,
275
279
  cb: (err: any, data?: GetMembersCommandOutput) => void,
276
280
  ): void;
277
281
  listDatasourcePackages(
278
282
  args: ListDatasourcePackagesCommandInput,
279
- options?: __HttpHandlerOptions,
283
+ options?: DetectiveRequestOptions,
280
284
  ): Promise<ListDatasourcePackagesCommandOutput>;
281
285
  listDatasourcePackages(
282
286
  args: ListDatasourcePackagesCommandInput,
@@ -284,13 +288,13 @@ export interface Detective {
284
288
  ): void;
285
289
  listDatasourcePackages(
286
290
  args: ListDatasourcePackagesCommandInput,
287
- options: __HttpHandlerOptions,
291
+ options: DetectiveRequestOptions,
288
292
  cb: (err: any, data?: ListDatasourcePackagesCommandOutput) => void,
289
293
  ): void;
290
294
  listGraphs(): Promise<ListGraphsCommandOutput>;
291
295
  listGraphs(
292
296
  args: ListGraphsCommandInput,
293
- options?: __HttpHandlerOptions,
297
+ options?: DetectiveRequestOptions,
294
298
  ): Promise<ListGraphsCommandOutput>;
295
299
  listGraphs(
296
300
  args: ListGraphsCommandInput,
@@ -298,12 +302,12 @@ export interface Detective {
298
302
  ): void;
299
303
  listGraphs(
300
304
  args: ListGraphsCommandInput,
301
- options: __HttpHandlerOptions,
305
+ options: DetectiveRequestOptions,
302
306
  cb: (err: any, data?: ListGraphsCommandOutput) => void,
303
307
  ): void;
304
308
  listIndicators(
305
309
  args: ListIndicatorsCommandInput,
306
- options?: __HttpHandlerOptions,
310
+ options?: DetectiveRequestOptions,
307
311
  ): Promise<ListIndicatorsCommandOutput>;
308
312
  listIndicators(
309
313
  args: ListIndicatorsCommandInput,
@@ -311,12 +315,12 @@ export interface Detective {
311
315
  ): void;
312
316
  listIndicators(
313
317
  args: ListIndicatorsCommandInput,
314
- options: __HttpHandlerOptions,
318
+ options: DetectiveRequestOptions,
315
319
  cb: (err: any, data?: ListIndicatorsCommandOutput) => void,
316
320
  ): void;
317
321
  listInvestigations(
318
322
  args: ListInvestigationsCommandInput,
319
- options?: __HttpHandlerOptions,
323
+ options?: DetectiveRequestOptions,
320
324
  ): Promise<ListInvestigationsCommandOutput>;
321
325
  listInvestigations(
322
326
  args: ListInvestigationsCommandInput,
@@ -324,13 +328,13 @@ export interface Detective {
324
328
  ): void;
325
329
  listInvestigations(
326
330
  args: ListInvestigationsCommandInput,
327
- options: __HttpHandlerOptions,
331
+ options: DetectiveRequestOptions,
328
332
  cb: (err: any, data?: ListInvestigationsCommandOutput) => void,
329
333
  ): void;
330
334
  listInvitations(): Promise<ListInvitationsCommandOutput>;
331
335
  listInvitations(
332
336
  args: ListInvitationsCommandInput,
333
- options?: __HttpHandlerOptions,
337
+ options?: DetectiveRequestOptions,
334
338
  ): Promise<ListInvitationsCommandOutput>;
335
339
  listInvitations(
336
340
  args: ListInvitationsCommandInput,
@@ -338,12 +342,12 @@ export interface Detective {
338
342
  ): void;
339
343
  listInvitations(
340
344
  args: ListInvitationsCommandInput,
341
- options: __HttpHandlerOptions,
345
+ options: DetectiveRequestOptions,
342
346
  cb: (err: any, data?: ListInvitationsCommandOutput) => void,
343
347
  ): void;
344
348
  listMembers(
345
349
  args: ListMembersCommandInput,
346
- options?: __HttpHandlerOptions,
350
+ options?: DetectiveRequestOptions,
347
351
  ): Promise<ListMembersCommandOutput>;
348
352
  listMembers(
349
353
  args: ListMembersCommandInput,
@@ -351,13 +355,13 @@ export interface Detective {
351
355
  ): void;
352
356
  listMembers(
353
357
  args: ListMembersCommandInput,
354
- options: __HttpHandlerOptions,
358
+ options: DetectiveRequestOptions,
355
359
  cb: (err: any, data?: ListMembersCommandOutput) => void,
356
360
  ): void;
357
361
  listOrganizationAdminAccounts(): Promise<ListOrganizationAdminAccountsCommandOutput>;
358
362
  listOrganizationAdminAccounts(
359
363
  args: ListOrganizationAdminAccountsCommandInput,
360
- options?: __HttpHandlerOptions,
364
+ options?: DetectiveRequestOptions,
361
365
  ): Promise<ListOrganizationAdminAccountsCommandOutput>;
362
366
  listOrganizationAdminAccounts(
363
367
  args: ListOrganizationAdminAccountsCommandInput,
@@ -365,12 +369,12 @@ export interface Detective {
365
369
  ): void;
366
370
  listOrganizationAdminAccounts(
367
371
  args: ListOrganizationAdminAccountsCommandInput,
368
- options: __HttpHandlerOptions,
372
+ options: DetectiveRequestOptions,
369
373
  cb: (err: any, data?: ListOrganizationAdminAccountsCommandOutput) => void,
370
374
  ): void;
371
375
  listTagsForResource(
372
376
  args: ListTagsForResourceCommandInput,
373
- options?: __HttpHandlerOptions,
377
+ options?: DetectiveRequestOptions,
374
378
  ): Promise<ListTagsForResourceCommandOutput>;
375
379
  listTagsForResource(
376
380
  args: ListTagsForResourceCommandInput,
@@ -378,12 +382,12 @@ export interface Detective {
378
382
  ): void;
379
383
  listTagsForResource(
380
384
  args: ListTagsForResourceCommandInput,
381
- options: __HttpHandlerOptions,
385
+ options: DetectiveRequestOptions,
382
386
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
383
387
  ): void;
384
388
  rejectInvitation(
385
389
  args: RejectInvitationCommandInput,
386
- options?: __HttpHandlerOptions,
390
+ options?: DetectiveRequestOptions,
387
391
  ): Promise<RejectInvitationCommandOutput>;
388
392
  rejectInvitation(
389
393
  args: RejectInvitationCommandInput,
@@ -391,12 +395,12 @@ export interface Detective {
391
395
  ): void;
392
396
  rejectInvitation(
393
397
  args: RejectInvitationCommandInput,
394
- options: __HttpHandlerOptions,
398
+ options: DetectiveRequestOptions,
395
399
  cb: (err: any, data?: RejectInvitationCommandOutput) => void,
396
400
  ): void;
397
401
  startInvestigation(
398
402
  args: StartInvestigationCommandInput,
399
- options?: __HttpHandlerOptions,
403
+ options?: DetectiveRequestOptions,
400
404
  ): Promise<StartInvestigationCommandOutput>;
401
405
  startInvestigation(
402
406
  args: StartInvestigationCommandInput,
@@ -404,12 +408,12 @@ export interface Detective {
404
408
  ): void;
405
409
  startInvestigation(
406
410
  args: StartInvestigationCommandInput,
407
- options: __HttpHandlerOptions,
411
+ options: DetectiveRequestOptions,
408
412
  cb: (err: any, data?: StartInvestigationCommandOutput) => void,
409
413
  ): void;
410
414
  startMonitoringMember(
411
415
  args: StartMonitoringMemberCommandInput,
412
- options?: __HttpHandlerOptions,
416
+ options?: DetectiveRequestOptions,
413
417
  ): Promise<StartMonitoringMemberCommandOutput>;
414
418
  startMonitoringMember(
415
419
  args: StartMonitoringMemberCommandInput,
@@ -417,12 +421,12 @@ export interface Detective {
417
421
  ): void;
418
422
  startMonitoringMember(
419
423
  args: StartMonitoringMemberCommandInput,
420
- options: __HttpHandlerOptions,
424
+ options: DetectiveRequestOptions,
421
425
  cb: (err: any, data?: StartMonitoringMemberCommandOutput) => void,
422
426
  ): void;
423
427
  tagResource(
424
428
  args: TagResourceCommandInput,
425
- options?: __HttpHandlerOptions,
429
+ options?: DetectiveRequestOptions,
426
430
  ): Promise<TagResourceCommandOutput>;
427
431
  tagResource(
428
432
  args: TagResourceCommandInput,
@@ -430,12 +434,12 @@ export interface Detective {
430
434
  ): void;
431
435
  tagResource(
432
436
  args: TagResourceCommandInput,
433
- options: __HttpHandlerOptions,
437
+ options: DetectiveRequestOptions,
434
438
  cb: (err: any, data?: TagResourceCommandOutput) => void,
435
439
  ): void;
436
440
  untagResource(
437
441
  args: UntagResourceCommandInput,
438
- options?: __HttpHandlerOptions,
442
+ options?: DetectiveRequestOptions,
439
443
  ): Promise<UntagResourceCommandOutput>;
440
444
  untagResource(
441
445
  args: UntagResourceCommandInput,
@@ -443,12 +447,12 @@ export interface Detective {
443
447
  ): void;
444
448
  untagResource(
445
449
  args: UntagResourceCommandInput,
446
- options: __HttpHandlerOptions,
450
+ options: DetectiveRequestOptions,
447
451
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
448
452
  ): void;
449
453
  updateDatasourcePackages(
450
454
  args: UpdateDatasourcePackagesCommandInput,
451
- options?: __HttpHandlerOptions,
455
+ options?: DetectiveRequestOptions,
452
456
  ): Promise<UpdateDatasourcePackagesCommandOutput>;
453
457
  updateDatasourcePackages(
454
458
  args: UpdateDatasourcePackagesCommandInput,
@@ -456,12 +460,12 @@ export interface Detective {
456
460
  ): void;
457
461
  updateDatasourcePackages(
458
462
  args: UpdateDatasourcePackagesCommandInput,
459
- options: __HttpHandlerOptions,
463
+ options: DetectiveRequestOptions,
460
464
  cb: (err: any, data?: UpdateDatasourcePackagesCommandOutput) => void,
461
465
  ): void;
462
466
  updateInvestigationState(
463
467
  args: UpdateInvestigationStateCommandInput,
464
- options?: __HttpHandlerOptions,
468
+ options?: DetectiveRequestOptions,
465
469
  ): Promise<UpdateInvestigationStateCommandOutput>;
466
470
  updateInvestigationState(
467
471
  args: UpdateInvestigationStateCommandInput,
@@ -469,12 +473,12 @@ export interface Detective {
469
473
  ): void;
470
474
  updateInvestigationState(
471
475
  args: UpdateInvestigationStateCommandInput,
472
- options: __HttpHandlerOptions,
476
+ options: DetectiveRequestOptions,
473
477
  cb: (err: any, data?: UpdateInvestigationStateCommandOutput) => void,
474
478
  ): void;
475
479
  updateOrganizationConfiguration(
476
480
  args: UpdateOrganizationConfigurationCommandInput,
477
- options?: __HttpHandlerOptions,
481
+ options?: DetectiveRequestOptions,
478
482
  ): Promise<UpdateOrganizationConfigurationCommandOutput>;
479
483
  updateOrganizationConfiguration(
480
484
  args: UpdateOrganizationConfigurationCommandInput,
@@ -482,7 +486,7 @@ export interface Detective {
482
486
  ): void;
483
487
  updateOrganizationConfiguration(
484
488
  args: UpdateOrganizationConfigurationCommandInput,
485
- options: __HttpHandlerOptions,
489
+ options: DetectiveRequestOptions,
486
490
  cb: (err: any, data?: UpdateOrganizationConfigurationCommandOutput) => void,
487
491
  ): void;
488
492
  paginateListDatasourcePackages(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-detective",
3
- "version": "3.1136.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Detective Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-detective",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {