@aws-sdk/client-xray 3.210.0 → 3.212.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 (43) hide show
  1. package/dist-cjs/XRay.js +45 -0
  2. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +46 -0
  3. package/dist-cjs/commands/ListResourcePoliciesCommand.js +46 -0
  4. package/dist-cjs/commands/PutResourcePolicyCommand.js +46 -0
  5. package/dist-cjs/commands/index.js +3 -0
  6. package/dist-cjs/models/models_0.js +102 -7
  7. package/dist-cjs/pagination/ListResourcePoliciesPaginator.js +35 -0
  8. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +35 -0
  9. package/dist-cjs/pagination/index.js +2 -0
  10. package/dist-cjs/protocols/Aws_restJson1.js +282 -14
  11. package/dist-es/XRay.js +45 -0
  12. package/dist-es/commands/DeleteResourcePolicyCommand.js +42 -0
  13. package/dist-es/commands/ListResourcePoliciesCommand.js +42 -0
  14. package/dist-es/commands/PutResourcePolicyCommand.js +42 -0
  15. package/dist-es/commands/index.js +3 -0
  16. package/dist-es/models/models_0.js +87 -4
  17. package/dist-es/pagination/ListResourcePoliciesPaginator.js +31 -0
  18. package/dist-es/pagination/ListTagsForResourcePaginator.js +31 -0
  19. package/dist-es/pagination/index.js +2 -0
  20. package/dist-es/protocols/Aws_restJson1.js +275 -13
  21. package/dist-types/XRay.d.ts +26 -0
  22. package/dist-types/XRayClient.d.ts +5 -2
  23. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +37 -0
  24. package/dist-types/commands/ListResourcePoliciesCommand.d.ts +37 -0
  25. package/dist-types/commands/PutResourcePolicyCommand.d.ts +42 -0
  26. package/dist-types/commands/index.d.ts +3 -0
  27. package/dist-types/models/models_0.d.ts +177 -2
  28. package/dist-types/pagination/ListResourcePoliciesPaginator.d.ts +4 -0
  29. package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +4 -0
  30. package/dist-types/pagination/index.d.ts +2 -0
  31. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  32. package/dist-types/ts3.4/XRay.d.ts +51 -0
  33. package/dist-types/ts3.4/XRayClient.d.ts +18 -0
  34. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +41 -0
  35. package/dist-types/ts3.4/commands/ListResourcePoliciesCommand.d.ts +41 -0
  36. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +38 -0
  37. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +100 -0
  39. package/dist-types/ts3.4/pagination/ListResourcePoliciesPaginator.d.ts +11 -0
  40. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +11 -0
  41. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  42. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  43. package/package.json +28 -28
@@ -11,6 +11,7 @@ import { BatchGetTracesCommandInput, BatchGetTracesCommandOutput } from "./comma
11
11
  import { CreateGroupCommandInput, CreateGroupCommandOutput } from "./commands/CreateGroupCommand";
12
12
  import { CreateSamplingRuleCommandInput, CreateSamplingRuleCommandOutput } from "./commands/CreateSamplingRuleCommand";
13
13
  import { DeleteGroupCommandInput, DeleteGroupCommandOutput } from "./commands/DeleteGroupCommand";
14
+ import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
14
15
  import { DeleteSamplingRuleCommandInput, DeleteSamplingRuleCommandOutput } from "./commands/DeleteSamplingRuleCommand";
15
16
  import { GetEncryptionConfigCommandInput, GetEncryptionConfigCommandOutput } from "./commands/GetEncryptionConfigCommand";
16
17
  import { GetGroupCommandInput, GetGroupCommandOutput } from "./commands/GetGroupCommand";
@@ -26,8 +27,10 @@ import { GetServiceGraphCommandInput, GetServiceGraphCommandOutput } from "./com
26
27
  import { GetTimeSeriesServiceStatisticsCommandInput, GetTimeSeriesServiceStatisticsCommandOutput } from "./commands/GetTimeSeriesServiceStatisticsCommand";
27
28
  import { GetTraceGraphCommandInput, GetTraceGraphCommandOutput } from "./commands/GetTraceGraphCommand";
28
29
  import { GetTraceSummariesCommandInput, GetTraceSummariesCommandOutput } from "./commands/GetTraceSummariesCommand";
30
+ import { ListResourcePoliciesCommandInput, ListResourcePoliciesCommandOutput } from "./commands/ListResourcePoliciesCommand";
29
31
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
30
32
  import { PutEncryptionConfigCommandInput, PutEncryptionConfigCommandOutput } from "./commands/PutEncryptionConfigCommand";
33
+ import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
31
34
  import { PutTelemetryRecordsCommandInput, PutTelemetryRecordsCommandOutput } from "./commands/PutTelemetryRecordsCommand";
32
35
  import { PutTraceSegmentsCommandInput, PutTraceSegmentsCommandOutput } from "./commands/PutTraceSegmentsCommand";
33
36
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
@@ -35,8 +38,8 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
35
38
  import { UpdateGroupCommandInput, UpdateGroupCommandOutput } from "./commands/UpdateGroupCommand";
36
39
  import { UpdateSamplingRuleCommandInput, UpdateSamplingRuleCommandOutput } from "./commands/UpdateSamplingRuleCommand";
37
40
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
38
- export declare type ServiceInputTypes = BatchGetTracesCommandInput | CreateGroupCommandInput | CreateSamplingRuleCommandInput | DeleteGroupCommandInput | DeleteSamplingRuleCommandInput | GetEncryptionConfigCommandInput | GetGroupCommandInput | GetGroupsCommandInput | GetInsightCommandInput | GetInsightEventsCommandInput | GetInsightImpactGraphCommandInput | GetInsightSummariesCommandInput | GetSamplingRulesCommandInput | GetSamplingStatisticSummariesCommandInput | GetSamplingTargetsCommandInput | GetServiceGraphCommandInput | GetTimeSeriesServiceStatisticsCommandInput | GetTraceGraphCommandInput | GetTraceSummariesCommandInput | ListTagsForResourceCommandInput | PutEncryptionConfigCommandInput | PutTelemetryRecordsCommandInput | PutTraceSegmentsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGroupCommandInput | UpdateSamplingRuleCommandInput;
39
- export declare type ServiceOutputTypes = BatchGetTracesCommandOutput | CreateGroupCommandOutput | CreateSamplingRuleCommandOutput | DeleteGroupCommandOutput | DeleteSamplingRuleCommandOutput | GetEncryptionConfigCommandOutput | GetGroupCommandOutput | GetGroupsCommandOutput | GetInsightCommandOutput | GetInsightEventsCommandOutput | GetInsightImpactGraphCommandOutput | GetInsightSummariesCommandOutput | GetSamplingRulesCommandOutput | GetSamplingStatisticSummariesCommandOutput | GetSamplingTargetsCommandOutput | GetServiceGraphCommandOutput | GetTimeSeriesServiceStatisticsCommandOutput | GetTraceGraphCommandOutput | GetTraceSummariesCommandOutput | ListTagsForResourceCommandOutput | PutEncryptionConfigCommandOutput | PutTelemetryRecordsCommandOutput | PutTraceSegmentsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGroupCommandOutput | UpdateSamplingRuleCommandOutput;
41
+ export declare type ServiceInputTypes = BatchGetTracesCommandInput | CreateGroupCommandInput | CreateSamplingRuleCommandInput | DeleteGroupCommandInput | DeleteResourcePolicyCommandInput | DeleteSamplingRuleCommandInput | GetEncryptionConfigCommandInput | GetGroupCommandInput | GetGroupsCommandInput | GetInsightCommandInput | GetInsightEventsCommandInput | GetInsightImpactGraphCommandInput | GetInsightSummariesCommandInput | GetSamplingRulesCommandInput | GetSamplingStatisticSummariesCommandInput | GetSamplingTargetsCommandInput | GetServiceGraphCommandInput | GetTimeSeriesServiceStatisticsCommandInput | GetTraceGraphCommandInput | GetTraceSummariesCommandInput | ListResourcePoliciesCommandInput | ListTagsForResourceCommandInput | PutEncryptionConfigCommandInput | PutResourcePolicyCommandInput | PutTelemetryRecordsCommandInput | PutTraceSegmentsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGroupCommandInput | UpdateSamplingRuleCommandInput;
42
+ export declare type ServiceOutputTypes = BatchGetTracesCommandOutput | CreateGroupCommandOutput | CreateSamplingRuleCommandOutput | DeleteGroupCommandOutput | DeleteResourcePolicyCommandOutput | DeleteSamplingRuleCommandOutput | GetEncryptionConfigCommandOutput | GetGroupCommandOutput | GetGroupsCommandOutput | GetInsightCommandOutput | GetInsightEventsCommandOutput | GetInsightImpactGraphCommandOutput | GetInsightSummariesCommandOutput | GetSamplingRulesCommandOutput | GetSamplingStatisticSummariesCommandOutput | GetSamplingTargetsCommandOutput | GetServiceGraphCommandOutput | GetTimeSeriesServiceStatisticsCommandOutput | GetTraceGraphCommandOutput | GetTraceSummariesCommandOutput | ListResourcePoliciesCommandOutput | ListTagsForResourceCommandOutput | PutEncryptionConfigCommandOutput | PutResourcePolicyCommandOutput | PutTelemetryRecordsCommandOutput | PutTraceSegmentsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGroupCommandOutput | UpdateSamplingRuleCommandOutput;
40
43
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
41
44
  /**
42
45
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { DeleteResourcePolicyRequest, DeleteResourcePolicyResult } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, XRayClientResolvedConfig } from "../XRayClient";
6
+ export interface DeleteResourcePolicyCommandInput extends DeleteResourcePolicyRequest {
7
+ }
8
+ export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyResult, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Deletes a resource policy from the target Amazon Web Services account.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { XRayClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-xray"; // ES Modules import
16
+ * // const { XRayClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-xray"); // CommonJS import
17
+ * const client = new XRayClient(config);
18
+ * const command = new DeleteResourcePolicyCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link DeleteResourcePolicyCommandInput} for command's `input` shape.
23
+ * @see {@link DeleteResourcePolicyCommandOutput} for command's `response` shape.
24
+ * @see {@link XRayClientResolvedConfig | config} for XRayClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class DeleteResourcePolicyCommand extends $Command<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, XRayClientResolvedConfig> {
28
+ readonly input: DeleteResourcePolicyCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DeleteResourcePolicyCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ListResourcePoliciesRequest, ListResourcePoliciesResult } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, XRayClientResolvedConfig } from "../XRayClient";
6
+ export interface ListResourcePoliciesCommandInput extends ListResourcePoliciesRequest {
7
+ }
8
+ export interface ListResourcePoliciesCommandOutput extends ListResourcePoliciesResult, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Returns the list of resource policies in the target Amazon Web Services account.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { XRayClient, ListResourcePoliciesCommand } from "@aws-sdk/client-xray"; // ES Modules import
16
+ * // const { XRayClient, ListResourcePoliciesCommand } = require("@aws-sdk/client-xray"); // CommonJS import
17
+ * const client = new XRayClient(config);
18
+ * const command = new ListResourcePoliciesCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link ListResourcePoliciesCommandInput} for command's `input` shape.
23
+ * @see {@link ListResourcePoliciesCommandOutput} for command's `response` shape.
24
+ * @see {@link XRayClientResolvedConfig | config} for XRayClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class ListResourcePoliciesCommand extends $Command<ListResourcePoliciesCommandInput, ListResourcePoliciesCommandOutput, XRayClientResolvedConfig> {
28
+ readonly input: ListResourcePoliciesCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: ListResourcePoliciesCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListResourcePoliciesCommandInput, ListResourcePoliciesCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { PutResourcePolicyRequest, PutResourcePolicyResult } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, XRayClientResolvedConfig } from "../XRayClient";
6
+ export interface PutResourcePolicyCommandInput extends PutResourcePolicyRequest {
7
+ }
8
+ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyResult, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>
12
+ * Sets the resource policy to grant one or more Amazon Web Services services and accounts permissions to
13
+ * access X-Ray. Each resource policy will be associated with a specific Amazon Web Services account.
14
+ * Each Amazon Web Services account can have a maximum of 5 resource policies, and each policy name must be
15
+ * unique within that account. The maximum size of each resource policy is 5KB.
16
+ * </p>
17
+ * @example
18
+ * Use a bare-bones client and the command you need to make an API call.
19
+ * ```javascript
20
+ * import { XRayClient, PutResourcePolicyCommand } from "@aws-sdk/client-xray"; // ES Modules import
21
+ * // const { XRayClient, PutResourcePolicyCommand } = require("@aws-sdk/client-xray"); // CommonJS import
22
+ * const client = new XRayClient(config);
23
+ * const command = new PutResourcePolicyCommand(input);
24
+ * const response = await client.send(command);
25
+ * ```
26
+ *
27
+ * @see {@link PutResourcePolicyCommandInput} for command's `input` shape.
28
+ * @see {@link PutResourcePolicyCommandOutput} for command's `response` shape.
29
+ * @see {@link XRayClientResolvedConfig | config} for XRayClient's `config` shape.
30
+ *
31
+ */
32
+ export declare class PutResourcePolicyCommand extends $Command<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, XRayClientResolvedConfig> {
33
+ readonly input: PutResourcePolicyCommandInput;
34
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
35
+ constructor(input: PutResourcePolicyCommandInput);
36
+ /**
37
+ * @internal
38
+ */
39
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput>;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -2,6 +2,7 @@ export * from "./BatchGetTracesCommand";
2
2
  export * from "./CreateGroupCommand";
3
3
  export * from "./CreateSamplingRuleCommand";
4
4
  export * from "./DeleteGroupCommand";
5
+ export * from "./DeleteResourcePolicyCommand";
5
6
  export * from "./DeleteSamplingRuleCommand";
6
7
  export * from "./GetEncryptionConfigCommand";
7
8
  export * from "./GetGroupCommand";
@@ -17,8 +18,10 @@ export * from "./GetServiceGraphCommand";
17
18
  export * from "./GetTimeSeriesServiceStatisticsCommand";
18
19
  export * from "./GetTraceGraphCommand";
19
20
  export * from "./GetTraceSummariesCommand";
21
+ export * from "./ListResourcePoliciesCommand";
20
22
  export * from "./ListTagsForResourceCommand";
21
23
  export * from "./PutEncryptionConfigCommand";
24
+ export * from "./PutResourcePolicyCommand";
22
25
  export * from "./PutTelemetryRecordsCommand";
23
26
  export * from "./PutTraceSegmentsCommand";
24
27
  export * from "./TagResourceCommand";
@@ -272,7 +272,7 @@ export interface CreateGroupRequest {
272
272
  * new group or false to disable insights for the new group.</p>
273
273
  * </li>
274
274
  * <li>
275
- * <p>The NotifcationsEnabled boolean can be set to true to enable insights
275
+ * <p>The NotificationsEnabled boolean can be set to true to enable insights
276
276
  * notifications for the new group. Notifications may only be enabled on a group
277
277
  * with InsightsEnabled set to true.</p>
278
278
  * </li>
@@ -491,6 +491,33 @@ export interface DeleteGroupRequest {
491
491
  }
492
492
  export interface DeleteGroupResult {
493
493
  }
494
+ export interface DeleteResourcePolicyRequest {
495
+ /**
496
+ * <p>The name of the resource policy to delete.</p>
497
+ */
498
+ PolicyName: string | undefined;
499
+ /**
500
+ * <p>Specifies a specific policy revision to delete. Provide a <code>PolicyRevisionId</code> to ensure an atomic delete operation. If the provided revision id does
501
+ * not match the latest policy revision id, an <code>InvalidPolicyRevisionIdException</code> exception is returned.
502
+ * </p>
503
+ */
504
+ PolicyRevisionId?: string;
505
+ }
506
+ export interface DeleteResourcePolicyResult {
507
+ }
508
+ /**
509
+ * <p>A policy revision id was provided which does not match the latest policy revision. This exception is also
510
+ * if a policy revision id of 0 is provided via <code>PutResourcePolicy</code> and a policy with the same name already exists.</p>
511
+ */
512
+ export declare class InvalidPolicyRevisionIdException extends __BaseException {
513
+ readonly name: "InvalidPolicyRevisionIdException";
514
+ readonly $fault: "client";
515
+ Message?: string;
516
+ /**
517
+ * @internal
518
+ */
519
+ constructor(opts: __ExceptionOptionType<InvalidPolicyRevisionIdException, __BaseException>);
520
+ }
494
521
  export interface DeleteSamplingRuleRequest {
495
522
  /**
496
523
  * <p>The name of the sampling rule. Specify a rule by either name or ARN, but not both.</p>
@@ -1913,6 +1940,45 @@ export interface GetTraceSummariesResult {
1913
1940
  */
1914
1941
  NextToken?: string;
1915
1942
  }
1943
+ export interface ListResourcePoliciesRequest {
1944
+ /**
1945
+ * <p>Not currently supported.</p>
1946
+ */
1947
+ NextToken?: string;
1948
+ }
1949
+ /**
1950
+ * <p>A resource policy grants one or more Amazon Web Services services and accounts permissions
1951
+ * to access X-Ray. Each resource policy is associated with a
1952
+ * specific Amazon Web Services account.</p>
1953
+ */
1954
+ export interface ResourcePolicy {
1955
+ /**
1956
+ * <p>The name of the resource policy. Must be unique within a specific Amazon Web Services account.</p>
1957
+ */
1958
+ PolicyName?: string;
1959
+ /**
1960
+ * <p>The resource policy document, which can be up to 5kb in size.</p>
1961
+ */
1962
+ PolicyDocument?: string;
1963
+ /**
1964
+ * <p>Returns the current policy revision id for this policy name.</p>
1965
+ */
1966
+ PolicyRevisionId?: string;
1967
+ /**
1968
+ * <p>When the policy was last updated, in Unix time seconds.</p>
1969
+ */
1970
+ LastUpdatedTime?: Date;
1971
+ }
1972
+ export interface ListResourcePoliciesResult {
1973
+ /**
1974
+ * <p>The list of resource policies in the target Amazon Web Services account.</p>
1975
+ */
1976
+ ResourcePolicies?: ResourcePolicy[];
1977
+ /**
1978
+ * <p>Pagination token. Not currently supported.</p>
1979
+ */
1980
+ NextToken?: string;
1981
+ }
1916
1982
  export interface ListTagsForResourceRequest {
1917
1983
  /**
1918
1984
  * <p>The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.</p>
@@ -1986,6 +2052,87 @@ export interface PutEncryptionConfigResult {
1986
2052
  */
1987
2053
  EncryptionConfig?: EncryptionConfig;
1988
2054
  }
2055
+ /**
2056
+ * <p>The provided resource policy would prevent the caller of this request from calling PutResourcePolicy in the future.</p>
2057
+ */
2058
+ export declare class LockoutPreventionException extends __BaseException {
2059
+ readonly name: "LockoutPreventionException";
2060
+ readonly $fault: "client";
2061
+ Message?: string;
2062
+ /**
2063
+ * @internal
2064
+ */
2065
+ constructor(opts: __ExceptionOptionType<LockoutPreventionException, __BaseException>);
2066
+ }
2067
+ /**
2068
+ * <p>Invalid policy document provided in request.</p>
2069
+ */
2070
+ export declare class MalformedPolicyDocumentException extends __BaseException {
2071
+ readonly name: "MalformedPolicyDocumentException";
2072
+ readonly $fault: "client";
2073
+ Message?: string;
2074
+ /**
2075
+ * @internal
2076
+ */
2077
+ constructor(opts: __ExceptionOptionType<MalformedPolicyDocumentException, __BaseException>);
2078
+ }
2079
+ /**
2080
+ * <p>Exceeded the maximum number of resource policies for a target Amazon Web Services account.</p>
2081
+ */
2082
+ export declare class PolicyCountLimitExceededException extends __BaseException {
2083
+ readonly name: "PolicyCountLimitExceededException";
2084
+ readonly $fault: "client";
2085
+ Message?: string;
2086
+ /**
2087
+ * @internal
2088
+ */
2089
+ constructor(opts: __ExceptionOptionType<PolicyCountLimitExceededException, __BaseException>);
2090
+ }
2091
+ /**
2092
+ * <p>Exceeded the maximum size for a resource policy.</p>
2093
+ */
2094
+ export declare class PolicySizeLimitExceededException extends __BaseException {
2095
+ readonly name: "PolicySizeLimitExceededException";
2096
+ readonly $fault: "client";
2097
+ Message?: string;
2098
+ /**
2099
+ * @internal
2100
+ */
2101
+ constructor(opts: __ExceptionOptionType<PolicySizeLimitExceededException, __BaseException>);
2102
+ }
2103
+ export interface PutResourcePolicyRequest {
2104
+ /**
2105
+ * <p>The name of the resource policy. Must be unique within a specific Amazon Web Services account.</p>
2106
+ */
2107
+ PolicyName: string | undefined;
2108
+ /**
2109
+ * <p>The resource policy document, which can be up to 5kb in size.</p>
2110
+ */
2111
+ PolicyDocument: string | undefined;
2112
+ /**
2113
+ * <p>Specifies a specific policy revision, to ensure an atomic create operation. By default the resource policy is created if it does not exist, or updated with an incremented revision id.
2114
+ * The revision id is unique to each policy in the account.</p>
2115
+ * <p>If the policy revision id does not match the latest revision id, the operation will fail with an <code>InvalidPolicyRevisionIdException</code> exception. You can also provide a
2116
+ * <code>PolicyRevisionId</code> of 0. In this case, the operation will fail with an <code>InvalidPolicyRevisionIdException</code> exception if a resource policy with the same name already exists.
2117
+ * </p>
2118
+ */
2119
+ PolicyRevisionId?: string;
2120
+ /**
2121
+ * <p>A flag to indicate whether to bypass the resource policy lockout safety check.</p>
2122
+ * <important>
2123
+ * <p>Setting this value to true increases the risk that the policy becomes unmanageable. Do not set this value to true indiscriminately.</p>
2124
+ * </important>
2125
+ * <p>Use this parameter only when you include a policy in the request and you intend to prevent the principal that is making the request from making a subsequent <code>PutResourcePolicy</code> request.</p>
2126
+ * <p>The default value is false.</p>
2127
+ */
2128
+ BypassPolicyLockoutCheck?: boolean;
2129
+ }
2130
+ export interface PutResourcePolicyResult {
2131
+ /**
2132
+ * <p>The resource policy document, as provided in the <code>PutResourcePolicyRequest</code>.</p>
2133
+ */
2134
+ ResourcePolicy?: ResourcePolicy;
2135
+ }
1989
2136
  /**
1990
2137
  * <p></p>
1991
2138
  */
@@ -2177,7 +2324,7 @@ export interface UpdateGroupRequest {
2177
2324
  * group or false to disable insights for the group.</p>
2178
2325
  * </li>
2179
2326
  * <li>
2180
- * <p>The NotifcationsEnabled boolean can be set to true to enable insights notifications for the group.
2327
+ * <p>The NotificationsEnabled boolean can be set to true to enable insights notifications for the group.
2181
2328
  * Notifications can only be enabled on a group with InsightsEnabled set to true.</p>
2182
2329
  * </li>
2183
2330
  * </ul>
@@ -2343,6 +2490,14 @@ export declare const DeleteGroupRequestFilterSensitiveLog: (obj: DeleteGroupRequ
2343
2490
  * @internal
2344
2491
  */
2345
2492
  export declare const DeleteGroupResultFilterSensitiveLog: (obj: DeleteGroupResult) => any;
2493
+ /**
2494
+ * @internal
2495
+ */
2496
+ export declare const DeleteResourcePolicyRequestFilterSensitiveLog: (obj: DeleteResourcePolicyRequest) => any;
2497
+ /**
2498
+ * @internal
2499
+ */
2500
+ export declare const DeleteResourcePolicyResultFilterSensitiveLog: (obj: DeleteResourcePolicyResult) => any;
2346
2501
  /**
2347
2502
  * @internal
2348
2503
  */
@@ -2611,6 +2766,18 @@ export declare const TraceSummaryFilterSensitiveLog: (obj: TraceSummary) => any;
2611
2766
  * @internal
2612
2767
  */
2613
2768
  export declare const GetTraceSummariesResultFilterSensitiveLog: (obj: GetTraceSummariesResult) => any;
2769
+ /**
2770
+ * @internal
2771
+ */
2772
+ export declare const ListResourcePoliciesRequestFilterSensitiveLog: (obj: ListResourcePoliciesRequest) => any;
2773
+ /**
2774
+ * @internal
2775
+ */
2776
+ export declare const ResourcePolicyFilterSensitiveLog: (obj: ResourcePolicy) => any;
2777
+ /**
2778
+ * @internal
2779
+ */
2780
+ export declare const ListResourcePoliciesResultFilterSensitiveLog: (obj: ListResourcePoliciesResult) => any;
2614
2781
  /**
2615
2782
  * @internal
2616
2783
  */
@@ -2627,6 +2794,14 @@ export declare const PutEncryptionConfigRequestFilterSensitiveLog: (obj: PutEncr
2627
2794
  * @internal
2628
2795
  */
2629
2796
  export declare const PutEncryptionConfigResultFilterSensitiveLog: (obj: PutEncryptionConfigResult) => any;
2797
+ /**
2798
+ * @internal
2799
+ */
2800
+ export declare const PutResourcePolicyRequestFilterSensitiveLog: (obj: PutResourcePolicyRequest) => any;
2801
+ /**
2802
+ * @internal
2803
+ */
2804
+ export declare const PutResourcePolicyResultFilterSensitiveLog: (obj: PutResourcePolicyResult) => any;
2630
2805
  /**
2631
2806
  * @internal
2632
2807
  */
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListResourcePoliciesCommandInput, ListResourcePoliciesCommandOutput } from "../commands/ListResourcePoliciesCommand";
3
+ import { XRayPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListResourcePolicies(config: XRayPaginationConfiguration, input: ListResourcePoliciesCommandInput, ...additionalArguments: any): Paginator<ListResourcePoliciesCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
3
+ import { XRayPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListTagsForResource(config: XRayPaginationConfiguration, input: ListTagsForResourceCommandInput, ...additionalArguments: any): Paginator<ListTagsForResourceCommandOutput>;
@@ -9,3 +9,5 @@ export * from "./GetTimeSeriesServiceStatisticsPaginator";
9
9
  export * from "./GetTraceGraphPaginator";
10
10
  export * from "./GetTraceSummariesPaginator";
11
11
  export * from "./Interfaces";
12
+ export * from "./ListResourcePoliciesPaginator";
13
+ export * from "./ListTagsForResourcePaginator";
@@ -4,6 +4,7 @@ import { BatchGetTracesCommandInput, BatchGetTracesCommandOutput } from "../comm
4
4
  import { CreateGroupCommandInput, CreateGroupCommandOutput } from "../commands/CreateGroupCommand";
5
5
  import { CreateSamplingRuleCommandInput, CreateSamplingRuleCommandOutput } from "../commands/CreateSamplingRuleCommand";
6
6
  import { DeleteGroupCommandInput, DeleteGroupCommandOutput } from "../commands/DeleteGroupCommand";
7
+ import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "../commands/DeleteResourcePolicyCommand";
7
8
  import { DeleteSamplingRuleCommandInput, DeleteSamplingRuleCommandOutput } from "../commands/DeleteSamplingRuleCommand";
8
9
  import { GetEncryptionConfigCommandInput, GetEncryptionConfigCommandOutput } from "../commands/GetEncryptionConfigCommand";
9
10
  import { GetGroupCommandInput, GetGroupCommandOutput } from "../commands/GetGroupCommand";
@@ -19,8 +20,10 @@ import { GetServiceGraphCommandInput, GetServiceGraphCommandOutput } from "../co
19
20
  import { GetTimeSeriesServiceStatisticsCommandInput, GetTimeSeriesServiceStatisticsCommandOutput } from "../commands/GetTimeSeriesServiceStatisticsCommand";
20
21
  import { GetTraceGraphCommandInput, GetTraceGraphCommandOutput } from "../commands/GetTraceGraphCommand";
21
22
  import { GetTraceSummariesCommandInput, GetTraceSummariesCommandOutput } from "../commands/GetTraceSummariesCommand";
23
+ import { ListResourcePoliciesCommandInput, ListResourcePoliciesCommandOutput } from "../commands/ListResourcePoliciesCommand";
22
24
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
23
25
  import { PutEncryptionConfigCommandInput, PutEncryptionConfigCommandOutput } from "../commands/PutEncryptionConfigCommand";
26
+ import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "../commands/PutResourcePolicyCommand";
24
27
  import { PutTelemetryRecordsCommandInput, PutTelemetryRecordsCommandOutput } from "../commands/PutTelemetryRecordsCommand";
25
28
  import { PutTraceSegmentsCommandInput, PutTraceSegmentsCommandOutput } from "../commands/PutTraceSegmentsCommand";
26
29
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
@@ -31,6 +34,7 @@ export declare const serializeAws_restJson1BatchGetTracesCommand: (input: BatchG
31
34
  export declare const serializeAws_restJson1CreateGroupCommand: (input: CreateGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
32
35
  export declare const serializeAws_restJson1CreateSamplingRuleCommand: (input: CreateSamplingRuleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
36
  export declare const serializeAws_restJson1DeleteGroupCommand: (input: DeleteGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
37
+ export declare const serializeAws_restJson1DeleteResourcePolicyCommand: (input: DeleteResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
34
38
  export declare const serializeAws_restJson1DeleteSamplingRuleCommand: (input: DeleteSamplingRuleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
35
39
  export declare const serializeAws_restJson1GetEncryptionConfigCommand: (input: GetEncryptionConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
36
40
  export declare const serializeAws_restJson1GetGroupCommand: (input: GetGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -46,8 +50,10 @@ export declare const serializeAws_restJson1GetServiceGraphCommand: (input: GetSe
46
50
  export declare const serializeAws_restJson1GetTimeSeriesServiceStatisticsCommand: (input: GetTimeSeriesServiceStatisticsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
51
  export declare const serializeAws_restJson1GetTraceGraphCommand: (input: GetTraceGraphCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
48
52
  export declare const serializeAws_restJson1GetTraceSummariesCommand: (input: GetTraceSummariesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
53
+ export declare const serializeAws_restJson1ListResourcePoliciesCommand: (input: ListResourcePoliciesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
49
54
  export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
50
55
  export declare const serializeAws_restJson1PutEncryptionConfigCommand: (input: PutEncryptionConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
56
+ export declare const serializeAws_restJson1PutResourcePolicyCommand: (input: PutResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
51
57
  export declare const serializeAws_restJson1PutTelemetryRecordsCommand: (input: PutTelemetryRecordsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
52
58
  export declare const serializeAws_restJson1PutTraceSegmentsCommand: (input: PutTraceSegmentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
53
59
  export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -58,6 +64,7 @@ export declare const deserializeAws_restJson1BatchGetTracesCommand: (output: __H
58
64
  export declare const deserializeAws_restJson1CreateGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateGroupCommandOutput>;
59
65
  export declare const deserializeAws_restJson1CreateSamplingRuleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateSamplingRuleCommandOutput>;
60
66
  export declare const deserializeAws_restJson1DeleteGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteGroupCommandOutput>;
67
+ export declare const deserializeAws_restJson1DeleteResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteResourcePolicyCommandOutput>;
61
68
  export declare const deserializeAws_restJson1DeleteSamplingRuleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteSamplingRuleCommandOutput>;
62
69
  export declare const deserializeAws_restJson1GetEncryptionConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEncryptionConfigCommandOutput>;
63
70
  export declare const deserializeAws_restJson1GetGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetGroupCommandOutput>;
@@ -73,8 +80,10 @@ export declare const deserializeAws_restJson1GetServiceGraphCommand: (output: __
73
80
  export declare const deserializeAws_restJson1GetTimeSeriesServiceStatisticsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTimeSeriesServiceStatisticsCommandOutput>;
74
81
  export declare const deserializeAws_restJson1GetTraceGraphCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTraceGraphCommandOutput>;
75
82
  export declare const deserializeAws_restJson1GetTraceSummariesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTraceSummariesCommandOutput>;
83
+ export declare const deserializeAws_restJson1ListResourcePoliciesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListResourcePoliciesCommandOutput>;
76
84
  export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
77
85
  export declare const deserializeAws_restJson1PutEncryptionConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutEncryptionConfigCommandOutput>;
86
+ export declare const deserializeAws_restJson1PutResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutResourcePolicyCommandOutput>;
78
87
  export declare const deserializeAws_restJson1PutTelemetryRecordsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutTelemetryRecordsCommandOutput>;
79
88
  export declare const deserializeAws_restJson1PutTraceSegmentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutTraceSegmentsCommandOutput>;
80
89
  export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
@@ -15,6 +15,10 @@ import {
15
15
  DeleteGroupCommandInput,
16
16
  DeleteGroupCommandOutput,
17
17
  } from "./commands/DeleteGroupCommand";
18
+ import {
19
+ DeleteResourcePolicyCommandInput,
20
+ DeleteResourcePolicyCommandOutput,
21
+ } from "./commands/DeleteResourcePolicyCommand";
18
22
  import {
19
23
  DeleteSamplingRuleCommandInput,
20
24
  DeleteSamplingRuleCommandOutput,
@@ -75,6 +79,10 @@ import {
75
79
  GetTraceSummariesCommandInput,
76
80
  GetTraceSummariesCommandOutput,
77
81
  } from "./commands/GetTraceSummariesCommand";
82
+ import {
83
+ ListResourcePoliciesCommandInput,
84
+ ListResourcePoliciesCommandOutput,
85
+ } from "./commands/ListResourcePoliciesCommand";
78
86
  import {
79
87
  ListTagsForResourceCommandInput,
80
88
  ListTagsForResourceCommandOutput,
@@ -83,6 +91,10 @@ import {
83
91
  PutEncryptionConfigCommandInput,
84
92
  PutEncryptionConfigCommandOutput,
85
93
  } from "./commands/PutEncryptionConfigCommand";
94
+ import {
95
+ PutResourcePolicyCommandInput,
96
+ PutResourcePolicyCommandOutput,
97
+ } from "./commands/PutResourcePolicyCommand";
86
98
  import {
87
99
  PutTelemetryRecordsCommandInput,
88
100
  PutTelemetryRecordsCommandOutput,
@@ -161,6 +173,19 @@ export declare class XRay extends XRayClient {
161
173
  options: __HttpHandlerOptions,
162
174
  cb: (err: any, data?: DeleteGroupCommandOutput) => void
163
175
  ): void;
176
+ deleteResourcePolicy(
177
+ args: DeleteResourcePolicyCommandInput,
178
+ options?: __HttpHandlerOptions
179
+ ): Promise<DeleteResourcePolicyCommandOutput>;
180
+ deleteResourcePolicy(
181
+ args: DeleteResourcePolicyCommandInput,
182
+ cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
183
+ ): void;
184
+ deleteResourcePolicy(
185
+ args: DeleteResourcePolicyCommandInput,
186
+ options: __HttpHandlerOptions,
187
+ cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
188
+ ): void;
164
189
  deleteSamplingRule(
165
190
  args: DeleteSamplingRuleCommandInput,
166
191
  options?: __HttpHandlerOptions
@@ -356,6 +381,19 @@ export declare class XRay extends XRayClient {
356
381
  options: __HttpHandlerOptions,
357
382
  cb: (err: any, data?: GetTraceSummariesCommandOutput) => void
358
383
  ): void;
384
+ listResourcePolicies(
385
+ args: ListResourcePoliciesCommandInput,
386
+ options?: __HttpHandlerOptions
387
+ ): Promise<ListResourcePoliciesCommandOutput>;
388
+ listResourcePolicies(
389
+ args: ListResourcePoliciesCommandInput,
390
+ cb: (err: any, data?: ListResourcePoliciesCommandOutput) => void
391
+ ): void;
392
+ listResourcePolicies(
393
+ args: ListResourcePoliciesCommandInput,
394
+ options: __HttpHandlerOptions,
395
+ cb: (err: any, data?: ListResourcePoliciesCommandOutput) => void
396
+ ): void;
359
397
  listTagsForResource(
360
398
  args: ListTagsForResourceCommandInput,
361
399
  options?: __HttpHandlerOptions
@@ -382,6 +420,19 @@ export declare class XRay extends XRayClient {
382
420
  options: __HttpHandlerOptions,
383
421
  cb: (err: any, data?: PutEncryptionConfigCommandOutput) => void
384
422
  ): void;
423
+ putResourcePolicy(
424
+ args: PutResourcePolicyCommandInput,
425
+ options?: __HttpHandlerOptions
426
+ ): Promise<PutResourcePolicyCommandOutput>;
427
+ putResourcePolicy(
428
+ args: PutResourcePolicyCommandInput,
429
+ cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
430
+ ): void;
431
+ putResourcePolicy(
432
+ args: PutResourcePolicyCommandInput,
433
+ options: __HttpHandlerOptions,
434
+ cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
435
+ ): void;
385
436
  putTelemetryRecords(
386
437
  args: PutTelemetryRecordsCommandInput,
387
438
  options?: __HttpHandlerOptions
@@ -59,6 +59,10 @@ import {
59
59
  DeleteGroupCommandInput,
60
60
  DeleteGroupCommandOutput,
61
61
  } from "./commands/DeleteGroupCommand";
62
+ import {
63
+ DeleteResourcePolicyCommandInput,
64
+ DeleteResourcePolicyCommandOutput,
65
+ } from "./commands/DeleteResourcePolicyCommand";
62
66
  import {
63
67
  DeleteSamplingRuleCommandInput,
64
68
  DeleteSamplingRuleCommandOutput,
@@ -119,6 +123,10 @@ import {
119
123
  GetTraceSummariesCommandInput,
120
124
  GetTraceSummariesCommandOutput,
121
125
  } from "./commands/GetTraceSummariesCommand";
126
+ import {
127
+ ListResourcePoliciesCommandInput,
128
+ ListResourcePoliciesCommandOutput,
129
+ } from "./commands/ListResourcePoliciesCommand";
122
130
  import {
123
131
  ListTagsForResourceCommandInput,
124
132
  ListTagsForResourceCommandOutput,
@@ -127,6 +135,10 @@ import {
127
135
  PutEncryptionConfigCommandInput,
128
136
  PutEncryptionConfigCommandOutput,
129
137
  } from "./commands/PutEncryptionConfigCommand";
138
+ import {
139
+ PutResourcePolicyCommandInput,
140
+ PutResourcePolicyCommandOutput,
141
+ } from "./commands/PutResourcePolicyCommand";
130
142
  import {
131
143
  PutTelemetryRecordsCommandInput,
132
144
  PutTelemetryRecordsCommandOutput,
@@ -161,6 +173,7 @@ export declare type ServiceInputTypes =
161
173
  | CreateGroupCommandInput
162
174
  | CreateSamplingRuleCommandInput
163
175
  | DeleteGroupCommandInput
176
+ | DeleteResourcePolicyCommandInput
164
177
  | DeleteSamplingRuleCommandInput
165
178
  | GetEncryptionConfigCommandInput
166
179
  | GetGroupCommandInput
@@ -176,8 +189,10 @@ export declare type ServiceInputTypes =
176
189
  | GetTimeSeriesServiceStatisticsCommandInput
177
190
  | GetTraceGraphCommandInput
178
191
  | GetTraceSummariesCommandInput
192
+ | ListResourcePoliciesCommandInput
179
193
  | ListTagsForResourceCommandInput
180
194
  | PutEncryptionConfigCommandInput
195
+ | PutResourcePolicyCommandInput
181
196
  | PutTelemetryRecordsCommandInput
182
197
  | PutTraceSegmentsCommandInput
183
198
  | TagResourceCommandInput
@@ -189,6 +204,7 @@ export declare type ServiceOutputTypes =
189
204
  | CreateGroupCommandOutput
190
205
  | CreateSamplingRuleCommandOutput
191
206
  | DeleteGroupCommandOutput
207
+ | DeleteResourcePolicyCommandOutput
192
208
  | DeleteSamplingRuleCommandOutput
193
209
  | GetEncryptionConfigCommandOutput
194
210
  | GetGroupCommandOutput
@@ -204,8 +220,10 @@ export declare type ServiceOutputTypes =
204
220
  | GetTimeSeriesServiceStatisticsCommandOutput
205
221
  | GetTraceGraphCommandOutput
206
222
  | GetTraceSummariesCommandOutput
223
+ | ListResourcePoliciesCommandOutput
207
224
  | ListTagsForResourceCommandOutput
208
225
  | PutEncryptionConfigCommandOutput
226
+ | PutResourcePolicyCommandOutput
209
227
  | PutTelemetryRecordsCommandOutput
210
228
  | PutTraceSegmentsCommandOutput
211
229
  | TagResourceCommandOutput