@pulumi/aws-native 1.34.0-alpha.1757569035 → 1.34.0-alpha.1757597165

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 (121) hide show
  1. package/applicationautoscaling/getScalableTarget.d.ts +52 -44
  2. package/applicationautoscaling/getScalableTarget.js.map +1 -1
  3. package/applicationautoscaling/scalableTarget.d.ts +52 -44
  4. package/applicationautoscaling/scalableTarget.js.map +1 -1
  5. package/bedrock/automatedReasoningPolicy.d.ts +42 -0
  6. package/bedrock/automatedReasoningPolicy.js.map +1 -1
  7. package/bedrock/automatedReasoningPolicyVersion.d.ts +39 -0
  8. package/bedrock/automatedReasoningPolicyVersion.js.map +1 -1
  9. package/bedrock/getAutomatedReasoningPolicy.d.ts +36 -0
  10. package/bedrock/getAutomatedReasoningPolicy.js.map +1 -1
  11. package/bedrock/getAutomatedReasoningPolicyVersion.d.ts +33 -0
  12. package/bedrock/getAutomatedReasoningPolicyVersion.js.map +1 -1
  13. package/ec2/getTransitGatewayConnectPeer.d.ts +40 -0
  14. package/ec2/getTransitGatewayConnectPeer.js +28 -0
  15. package/ec2/getTransitGatewayConnectPeer.js.map +1 -0
  16. package/ec2/index.d.ts +6 -0
  17. package/ec2/index.js +11 -4
  18. package/ec2/index.js.map +1 -1
  19. package/ec2/transitGatewayConnectPeer.d.ts +71 -0
  20. package/ec2/transitGatewayConnectPeer.js +74 -0
  21. package/ec2/transitGatewayConnectPeer.js.map +1 -0
  22. package/ecs/service.d.ts +2 -2
  23. package/elasticloadbalancingv2/loadBalancer.d.ts +2 -0
  24. package/elasticloadbalancingv2/loadBalancer.js +2 -0
  25. package/elasticloadbalancingv2/loadBalancer.js.map +1 -1
  26. package/index.d.ts +2 -1
  27. package/index.js +4 -2
  28. package/index.js.map +1 -1
  29. package/iotcoredeviceadvisor/getSuiteDefinition.d.ts +1 -27
  30. package/iotcoredeviceadvisor/getSuiteDefinition.js.map +1 -1
  31. package/iotcoredeviceadvisor/suiteDefinition.d.ts +2 -54
  32. package/iotcoredeviceadvisor/suiteDefinition.js.map +1 -1
  33. package/lex/bot.d.ts +2 -0
  34. package/lex/bot.js +2 -0
  35. package/lex/bot.js.map +1 -1
  36. package/lex/getBot.d.ts +1 -0
  37. package/lex/getBot.js.map +1 -1
  38. package/omics/workflowVersion.d.ts +40 -0
  39. package/omics/workflowVersion.js +11 -1
  40. package/omics/workflowVersion.js.map +1 -1
  41. package/package.json +3 -3
  42. package/package.json.dev +2 -2
  43. package/s3/bucket.d.ts +2 -6
  44. package/s3/bucket.js.map +1 -1
  45. package/s3/getBucket.d.ts +1 -3
  46. package/s3/getBucket.js.map +1 -1
  47. package/sagemaker/cluster.d.ts +10 -0
  48. package/sagemaker/cluster.js +4 -0
  49. package/sagemaker/cluster.js.map +1 -1
  50. package/sagemaker/getCluster.d.ts +5 -0
  51. package/sagemaker/getCluster.js.map +1 -1
  52. package/smsvoice/configurationSet.d.ts +84 -0
  53. package/smsvoice/configurationSet.js +70 -0
  54. package/smsvoice/configurationSet.js.map +1 -0
  55. package/smsvoice/getConfigurationSet.d.ts +45 -0
  56. package/smsvoice/getConfigurationSet.js +28 -0
  57. package/smsvoice/getConfigurationSet.js.map +1 -0
  58. package/smsvoice/getOptOutList.d.ts +32 -0
  59. package/smsvoice/getOptOutList.js +28 -0
  60. package/smsvoice/getOptOutList.js.map +1 -0
  61. package/smsvoice/getPhoneNumber.d.ts +49 -0
  62. package/smsvoice/getPhoneNumber.js +28 -0
  63. package/smsvoice/getPhoneNumber.js.map +1 -0
  64. package/smsvoice/getPool.d.ts +56 -0
  65. package/smsvoice/getPool.js +28 -0
  66. package/smsvoice/getPool.js.map +1 -0
  67. package/smsvoice/getProtectConfiguration.d.ts +44 -0
  68. package/smsvoice/getProtectConfiguration.js +28 -0
  69. package/smsvoice/getProtectConfiguration.js.map +1 -0
  70. package/smsvoice/getResourcePolicy.d.ts +29 -0
  71. package/smsvoice/getResourcePolicy.js +28 -0
  72. package/smsvoice/getResourcePolicy.js.map +1 -0
  73. package/smsvoice/getSenderId.d.ts +44 -0
  74. package/smsvoice/getSenderId.js +30 -0
  75. package/smsvoice/getSenderId.js.map +1 -0
  76. package/smsvoice/index.d.ts +43 -0
  77. package/smsvoice/index.js +83 -0
  78. package/smsvoice/index.js.map +1 -0
  79. package/smsvoice/optOutList.d.ts +55 -0
  80. package/smsvoice/optOutList.js +62 -0
  81. package/smsvoice/optOutList.js.map +1 -0
  82. package/smsvoice/phoneNumber.d.ts +119 -0
  83. package/smsvoice/phoneNumber.js +94 -0
  84. package/smsvoice/phoneNumber.js.map +1 -0
  85. package/smsvoice/pool.d.ts +109 -0
  86. package/smsvoice/pool.js +82 -0
  87. package/smsvoice/pool.js.map +1 -0
  88. package/smsvoice/protectConfiguration.d.ts +67 -0
  89. package/smsvoice/protectConfiguration.js +64 -0
  90. package/smsvoice/protectConfiguration.js.map +1 -0
  91. package/smsvoice/resourcePolicy.d.ts +53 -0
  92. package/smsvoice/resourcePolicy.js +66 -0
  93. package/smsvoice/resourcePolicy.js.map +1 -0
  94. package/smsvoice/senderId.d.ts +71 -0
  95. package/smsvoice/senderId.js +72 -0
  96. package/smsvoice/senderId.js.map +1 -0
  97. package/types/enums/cloudfront/index.d.ts +3 -0
  98. package/types/enums/cloudfront/index.js.map +1 -1
  99. package/types/enums/index.d.ts +2 -1
  100. package/types/enums/index.js +3 -1
  101. package/types/enums/index.js.map +1 -1
  102. package/types/enums/ivs/index.d.ts +4 -4
  103. package/types/enums/ivs/index.js +3 -3
  104. package/types/enums/ivs/index.js.map +1 -1
  105. package/types/enums/omics/index.d.ts +9 -0
  106. package/types/enums/omics/index.js +6 -1
  107. package/types/enums/omics/index.js.map +1 -1
  108. package/types/enums/quicksight/index.d.ts +5 -0
  109. package/types/enums/quicksight/index.js +9 -5
  110. package/types/enums/quicksight/index.js.map +1 -1
  111. package/types/enums/s3/index.d.ts +4 -5
  112. package/types/enums/s3/index.js.map +1 -1
  113. package/types/enums/sagemaker/index.d.ts +15 -0
  114. package/types/enums/sagemaker/index.js +10 -3
  115. package/types/enums/sagemaker/index.js.map +1 -1
  116. package/types/enums/smsvoice/index.d.ts +38 -0
  117. package/types/enums/smsvoice/index.js +33 -0
  118. package/types/enums/smsvoice/index.js.map +1 -0
  119. package/types/input.d.ts +283 -93
  120. package/types/output.d.ts +283 -93
  121. package/types/output.js.map +1 -1
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getResourcePolicyOutput = exports.getResourcePolicy = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource Type definition for AWS::SMSVOICE::ResourcePolicy
10
+ */
11
+ function getResourcePolicy(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("aws-native:smsvoice:getResourcePolicy", {
14
+ "resourceArn": args.resourceArn,
15
+ }, opts);
16
+ }
17
+ exports.getResourcePolicy = getResourcePolicy;
18
+ /**
19
+ * Resource Type definition for AWS::SMSVOICE::ResourcePolicy
20
+ */
21
+ function getResourcePolicyOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("aws-native:smsvoice:getResourcePolicy", {
24
+ "resourceArn": args.resourceArn,
25
+ }, opts);
26
+ }
27
+ exports.getResourcePolicyOutput = getResourcePolicyOutput;
28
+ //# sourceMappingURL=getResourcePolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getResourcePolicy.js","sourceRoot":"","sources":["../../smsvoice/getResourcePolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uCAAuC,EAAE;QAClE,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC;AAiBD;;GAEG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAAiC;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uCAAuC,EAAE;QACxE,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0DAKC"}
@@ -0,0 +1,44 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Resource Type definition for AWS::SMSVOICE::SenderId
5
+ */
6
+ export declare function getSenderId(args: GetSenderIdArgs, opts?: pulumi.InvokeOptions): Promise<GetSenderIdResult>;
7
+ export interface GetSenderIdArgs {
8
+ /**
9
+ * The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
10
+ */
11
+ isoCountryCode: string;
12
+ /**
13
+ * The sender ID string to request.
14
+ */
15
+ senderId: string;
16
+ }
17
+ export interface GetSenderIdResult {
18
+ /**
19
+ * The Amazon Resource Name (ARN) associated with the SenderId.
20
+ */
21
+ readonly arn?: string;
22
+ /**
23
+ * When set to true the sender ID can't be deleted. By default this is set to false.
24
+ */
25
+ readonly deletionProtectionEnabled?: boolean;
26
+ /**
27
+ * An array of key-value pairs to apply to this resource.
28
+ */
29
+ readonly tags?: outputs.Tag[];
30
+ }
31
+ /**
32
+ * Resource Type definition for AWS::SMSVOICE::SenderId
33
+ */
34
+ export declare function getSenderIdOutput(args: GetSenderIdOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSenderIdResult>;
35
+ export interface GetSenderIdOutputArgs {
36
+ /**
37
+ * The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
38
+ */
39
+ isoCountryCode: pulumi.Input<string>;
40
+ /**
41
+ * The sender ID string to request.
42
+ */
43
+ senderId: pulumi.Input<string>;
44
+ }
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getSenderIdOutput = exports.getSenderId = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource Type definition for AWS::SMSVOICE::SenderId
10
+ */
11
+ function getSenderId(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("aws-native:smsvoice:getSenderId", {
14
+ "isoCountryCode": args.isoCountryCode,
15
+ "senderId": args.senderId,
16
+ }, opts);
17
+ }
18
+ exports.getSenderId = getSenderId;
19
+ /**
20
+ * Resource Type definition for AWS::SMSVOICE::SenderId
21
+ */
22
+ function getSenderIdOutput(args, opts) {
23
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
+ return pulumi.runtime.invokeOutput("aws-native:smsvoice:getSenderId", {
25
+ "isoCountryCode": args.isoCountryCode,
26
+ "senderId": args.senderId,
27
+ }, opts);
28
+ }
29
+ exports.getSenderIdOutput = getSenderIdOutput;
30
+ //# sourceMappingURL=getSenderId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSenderId.js","sourceRoot":"","sources":["../../smsvoice/getSenderId.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AA2BD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iCAAiC,EAAE;QAClE,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC"}
@@ -0,0 +1,43 @@
1
+ export { ConfigurationSetArgs } from "./configurationSet";
2
+ export type ConfigurationSet = import("./configurationSet").ConfigurationSet;
3
+ export declare const ConfigurationSet: typeof import("./configurationSet").ConfigurationSet;
4
+ export { GetConfigurationSetArgs, GetConfigurationSetResult, GetConfigurationSetOutputArgs } from "./getConfigurationSet";
5
+ export declare const getConfigurationSet: typeof import("./getConfigurationSet").getConfigurationSet;
6
+ export declare const getConfigurationSetOutput: typeof import("./getConfigurationSet").getConfigurationSetOutput;
7
+ export { GetOptOutListArgs, GetOptOutListResult, GetOptOutListOutputArgs } from "./getOptOutList";
8
+ export declare const getOptOutList: typeof import("./getOptOutList").getOptOutList;
9
+ export declare const getOptOutListOutput: typeof import("./getOptOutList").getOptOutListOutput;
10
+ export { GetPhoneNumberArgs, GetPhoneNumberResult, GetPhoneNumberOutputArgs } from "./getPhoneNumber";
11
+ export declare const getPhoneNumber: typeof import("./getPhoneNumber").getPhoneNumber;
12
+ export declare const getPhoneNumberOutput: typeof import("./getPhoneNumber").getPhoneNumberOutput;
13
+ export { GetPoolArgs, GetPoolResult, GetPoolOutputArgs } from "./getPool";
14
+ export declare const getPool: typeof import("./getPool").getPool;
15
+ export declare const getPoolOutput: typeof import("./getPool").getPoolOutput;
16
+ export { GetProtectConfigurationArgs, GetProtectConfigurationResult, GetProtectConfigurationOutputArgs } from "./getProtectConfiguration";
17
+ export declare const getProtectConfiguration: typeof import("./getProtectConfiguration").getProtectConfiguration;
18
+ export declare const getProtectConfigurationOutput: typeof import("./getProtectConfiguration").getProtectConfigurationOutput;
19
+ export { GetResourcePolicyArgs, GetResourcePolicyResult, GetResourcePolicyOutputArgs } from "./getResourcePolicy";
20
+ export declare const getResourcePolicy: typeof import("./getResourcePolicy").getResourcePolicy;
21
+ export declare const getResourcePolicyOutput: typeof import("./getResourcePolicy").getResourcePolicyOutput;
22
+ export { GetSenderIdArgs, GetSenderIdResult, GetSenderIdOutputArgs } from "./getSenderId";
23
+ export declare const getSenderId: typeof import("./getSenderId").getSenderId;
24
+ export declare const getSenderIdOutput: typeof import("./getSenderId").getSenderIdOutput;
25
+ export { OptOutListArgs } from "./optOutList";
26
+ export type OptOutList = import("./optOutList").OptOutList;
27
+ export declare const OptOutList: typeof import("./optOutList").OptOutList;
28
+ export { PhoneNumberArgs } from "./phoneNumber";
29
+ export type PhoneNumber = import("./phoneNumber").PhoneNumber;
30
+ export declare const PhoneNumber: typeof import("./phoneNumber").PhoneNumber;
31
+ export { PoolArgs } from "./pool";
32
+ export type Pool = import("./pool").Pool;
33
+ export declare const Pool: typeof import("./pool").Pool;
34
+ export { ProtectConfigurationArgs } from "./protectConfiguration";
35
+ export type ProtectConfiguration = import("./protectConfiguration").ProtectConfiguration;
36
+ export declare const ProtectConfiguration: typeof import("./protectConfiguration").ProtectConfiguration;
37
+ export { ResourcePolicyArgs } from "./resourcePolicy";
38
+ export type ResourcePolicy = import("./resourcePolicy").ResourcePolicy;
39
+ export declare const ResourcePolicy: typeof import("./resourcePolicy").ResourcePolicy;
40
+ export { SenderIdArgs } from "./senderId";
41
+ export type SenderId = import("./senderId").SenderId;
42
+ export declare const SenderId: typeof import("./senderId").SenderId;
43
+ export * from "../types/enums/smsvoice";
@@ -0,0 +1,83 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.SenderId = exports.ResourcePolicy = exports.ProtectConfiguration = exports.Pool = exports.PhoneNumber = exports.OptOutList = exports.getSenderIdOutput = exports.getSenderId = exports.getResourcePolicyOutput = exports.getResourcePolicy = exports.getProtectConfigurationOutput = exports.getProtectConfiguration = exports.getPoolOutput = exports.getPool = exports.getPhoneNumberOutput = exports.getPhoneNumber = exports.getOptOutListOutput = exports.getOptOutList = exports.getConfigurationSetOutput = exports.getConfigurationSet = exports.ConfigurationSet = void 0;
20
+ const pulumi = require("@pulumi/pulumi");
21
+ const utilities = require("../utilities");
22
+ exports.ConfigurationSet = null;
23
+ utilities.lazyLoad(exports, ["ConfigurationSet"], () => require("./configurationSet"));
24
+ exports.getConfigurationSet = null;
25
+ exports.getConfigurationSetOutput = null;
26
+ utilities.lazyLoad(exports, ["getConfigurationSet", "getConfigurationSetOutput"], () => require("./getConfigurationSet"));
27
+ exports.getOptOutList = null;
28
+ exports.getOptOutListOutput = null;
29
+ utilities.lazyLoad(exports, ["getOptOutList", "getOptOutListOutput"], () => require("./getOptOutList"));
30
+ exports.getPhoneNumber = null;
31
+ exports.getPhoneNumberOutput = null;
32
+ utilities.lazyLoad(exports, ["getPhoneNumber", "getPhoneNumberOutput"], () => require("./getPhoneNumber"));
33
+ exports.getPool = null;
34
+ exports.getPoolOutput = null;
35
+ utilities.lazyLoad(exports, ["getPool", "getPoolOutput"], () => require("./getPool"));
36
+ exports.getProtectConfiguration = null;
37
+ exports.getProtectConfigurationOutput = null;
38
+ utilities.lazyLoad(exports, ["getProtectConfiguration", "getProtectConfigurationOutput"], () => require("./getProtectConfiguration"));
39
+ exports.getResourcePolicy = null;
40
+ exports.getResourcePolicyOutput = null;
41
+ utilities.lazyLoad(exports, ["getResourcePolicy", "getResourcePolicyOutput"], () => require("./getResourcePolicy"));
42
+ exports.getSenderId = null;
43
+ exports.getSenderIdOutput = null;
44
+ utilities.lazyLoad(exports, ["getSenderId", "getSenderIdOutput"], () => require("./getSenderId"));
45
+ exports.OptOutList = null;
46
+ utilities.lazyLoad(exports, ["OptOutList"], () => require("./optOutList"));
47
+ exports.PhoneNumber = null;
48
+ utilities.lazyLoad(exports, ["PhoneNumber"], () => require("./phoneNumber"));
49
+ exports.Pool = null;
50
+ utilities.lazyLoad(exports, ["Pool"], () => require("./pool"));
51
+ exports.ProtectConfiguration = null;
52
+ utilities.lazyLoad(exports, ["ProtectConfiguration"], () => require("./protectConfiguration"));
53
+ exports.ResourcePolicy = null;
54
+ utilities.lazyLoad(exports, ["ResourcePolicy"], () => require("./resourcePolicy"));
55
+ exports.SenderId = null;
56
+ utilities.lazyLoad(exports, ["SenderId"], () => require("./senderId"));
57
+ // Export enums:
58
+ __exportStar(require("../types/enums/smsvoice"), exports);
59
+ const _module = {
60
+ version: utilities.getVersion(),
61
+ construct: (name, type, urn) => {
62
+ switch (type) {
63
+ case "aws-native:smsvoice:ConfigurationSet":
64
+ return new exports.ConfigurationSet(name, undefined, { urn });
65
+ case "aws-native:smsvoice:OptOutList":
66
+ return new exports.OptOutList(name, undefined, { urn });
67
+ case "aws-native:smsvoice:PhoneNumber":
68
+ return new exports.PhoneNumber(name, undefined, { urn });
69
+ case "aws-native:smsvoice:Pool":
70
+ return new exports.Pool(name, undefined, { urn });
71
+ case "aws-native:smsvoice:ProtectConfiguration":
72
+ return new exports.ProtectConfiguration(name, undefined, { urn });
73
+ case "aws-native:smsvoice:ResourcePolicy":
74
+ return new exports.ResourcePolicy(name, undefined, { urn });
75
+ case "aws-native:smsvoice:SenderId":
76
+ return new exports.SenderId(name, undefined, { urn });
77
+ default:
78
+ throw new Error(`unknown resource type ${type}`);
79
+ }
80
+ },
81
+ };
82
+ pulumi.runtime.registerResourceModule("aws-native", "smsvoice", _module);
83
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../smsvoice/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC;AAG1E,QAAA,mBAAmB,GAA+D,IAAW,CAAC;AAC9F,QAAA,yBAAyB,GAAqE,IAAW,CAAC;AACvH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,qBAAqB,EAAC,2BAA2B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,uBAAuB,CAAC,C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pE,QAAQ,IAAI,EAAE;YACV,KAAK,sCAAsC;gBACvC,OAAO,IAAI,wBAAgB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC9D,KAAK,gCAAgC;gBACjC,OAAO,IAAI,kBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD,KAAK,iCAAiC;gBAClC,OAAO,IAAI,mBAAW,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzD,KAAK,0BAA0B;gBAC3B,OAAO,IAAI,YAAI,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClD,KAAK,0CAA0C;gBAC3C,OAAO,IAAI,4BAAoB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClE,KAAK,oCAAoC;gBACrC,OAAO,IAAI,sBAAc,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC5D,KAAK,8BAA8B;gBAC/B,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,UAAU,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,55 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Resource Type definition for AWS::SMSVOICE::OptOutList
6
+ */
7
+ export declare class OptOutList extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing OptOutList resource's state with the given name, ID, and optional extra
10
+ * properties used to qualify the lookup.
11
+ *
12
+ * @param name The _unique_ name of the resulting resource.
13
+ * @param id The _unique_ provider ID of the resource to lookup.
14
+ * @param opts Optional settings to control the behavior of the CustomResource.
15
+ */
16
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): OptOutList;
17
+ /**
18
+ * Returns true if the given object is an instance of OptOutList. This is designed to work even
19
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
20
+ */
21
+ static isInstance(obj: any): obj is OptOutList;
22
+ /**
23
+ * The Amazon Resource Name (ARN) for the OptOutList.
24
+ */
25
+ readonly arn: pulumi.Output<string>;
26
+ /**
27
+ * The name of the new OptOutList.
28
+ */
29
+ readonly optOutListName: pulumi.Output<string | undefined>;
30
+ /**
31
+ * An array of key-value pairs to apply to this resource.
32
+ */
33
+ readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
34
+ /**
35
+ * Create a OptOutList resource with the given unique name, arguments, and options.
36
+ *
37
+ * @param name The _unique_ name of the resource.
38
+ * @param args The arguments to use to populate this resource's properties.
39
+ * @param opts A bag of options that control this resource's behavior.
40
+ */
41
+ constructor(name: string, args?: OptOutListArgs, opts?: pulumi.CustomResourceOptions);
42
+ }
43
+ /**
44
+ * The set of arguments for constructing a OptOutList resource.
45
+ */
46
+ export interface OptOutListArgs {
47
+ /**
48
+ * The name of the new OptOutList.
49
+ */
50
+ optOutListName?: pulumi.Input<string>;
51
+ /**
52
+ * An array of key-value pairs to apply to this resource.
53
+ */
54
+ tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
55
+ }
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.OptOutList = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource Type definition for AWS::SMSVOICE::OptOutList
10
+ */
11
+ class OptOutList extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing OptOutList resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param opts Optional settings to control the behavior of the CustomResource.
19
+ */
20
+ static get(name, id, opts) {
21
+ return new OptOutList(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of OptOutList. This is designed to work even
25
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
26
+ */
27
+ static isInstance(obj) {
28
+ if (obj === undefined || obj === null) {
29
+ return false;
30
+ }
31
+ return obj['__pulumiType'] === OptOutList.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a OptOutList resource with the given unique name, arguments, and options.
35
+ *
36
+ * @param name The _unique_ name of the resource.
37
+ * @param args The arguments to use to populate this resource's properties.
38
+ * @param opts A bag of options that control this resource's behavior.
39
+ */
40
+ constructor(name, args, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (!opts.id) {
44
+ resourceInputs["optOutListName"] = args ? args.optOutListName : undefined;
45
+ resourceInputs["tags"] = args ? args.tags : undefined;
46
+ resourceInputs["arn"] = undefined /*out*/;
47
+ }
48
+ else {
49
+ resourceInputs["arn"] = undefined /*out*/;
50
+ resourceInputs["optOutListName"] = undefined /*out*/;
51
+ resourceInputs["tags"] = undefined /*out*/;
52
+ }
53
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
54
+ const replaceOnChanges = { replaceOnChanges: ["optOutListName"] };
55
+ opts = pulumi.mergeOptions(opts, replaceOnChanges);
56
+ super(OptOutList.__pulumiType, name, resourceInputs, opts);
57
+ }
58
+ }
59
+ exports.OptOutList = OptOutList;
60
+ /** @internal */
61
+ OptOutList.__pulumiType = 'aws-native:smsvoice:OptOutList';
62
+ //# sourceMappingURL=optOutList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file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CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,gBAAgB,CAAC,EAAE,CAAC;QAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA/DL,gCAgEC;AAnDG,gBAAgB;AACO,uBAAY,GAAG,gCAAgC,CAAC"}
@@ -0,0 +1,119 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ import * as enums from "../types/enums";
5
+ /**
6
+ * Resource Type definition for AWS::SMSVOICE::PhoneNumber
7
+ */
8
+ export declare class PhoneNumber extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing PhoneNumber resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param opts Optional settings to control the behavior of the CustomResource.
16
+ */
17
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): PhoneNumber;
18
+ /**
19
+ * Returns true if the given object is an instance of PhoneNumber. This is designed to work even
20
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
21
+ */
22
+ static isInstance(obj: any): obj is PhoneNumber;
23
+ readonly arn: pulumi.Output<string>;
24
+ /**
25
+ * When set to true the sender ID can't be deleted. By default this is set to false.
26
+ */
27
+ readonly deletionProtectionEnabled: pulumi.Output<boolean | undefined>;
28
+ /**
29
+ * The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
30
+ */
31
+ readonly isoCountryCode: pulumi.Output<string>;
32
+ /**
33
+ * A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message. Keywords "HELP" and "STOP" are mandatory keywords
34
+ */
35
+ readonly mandatoryKeywords: pulumi.Output<outputs.smsvoice.MandatoryKeywordsProperties>;
36
+ /**
37
+ * Indicates if the phone number will be used for text messages, voice messages, or both.
38
+ */
39
+ readonly numberCapabilities: pulumi.Output<enums.smsvoice.PhoneNumberNumberCapabilitiesItem[]>;
40
+ /**
41
+ * The type of phone number to request.
42
+ */
43
+ readonly numberType: pulumi.Output<enums.smsvoice.PhoneNumberNumberType>;
44
+ /**
45
+ * The name of the OptOutList to associate with the phone number. You can use the OptOutListName or OptOutListArn.
46
+ */
47
+ readonly optOutListName: pulumi.Output<string | undefined>;
48
+ /**
49
+ * A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message.
50
+ */
51
+ readonly optionalKeywords: pulumi.Output<outputs.smsvoice.PhoneNumberOptionalKeyword[] | undefined>;
52
+ readonly phoneNumber: pulumi.Output<string>;
53
+ readonly phoneNumberId: pulumi.Output<string>;
54
+ /**
55
+ * By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.
56
+ */
57
+ readonly selfManagedOptOutsEnabled: pulumi.Output<boolean | undefined>;
58
+ /**
59
+ * An array of key-value pairs to apply to this resource.
60
+ */
61
+ readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
62
+ /**
63
+ * When you set up two-way SMS, you can receive incoming messages from your customers. When one of your customers sends a message to your phone number, the message body is sent to an Amazon SNS topic or Amazon Connect for processing.
64
+ */
65
+ readonly twoWay: pulumi.Output<outputs.smsvoice.TwoWayProperties | undefined>;
66
+ /**
67
+ * Create a PhoneNumber resource with the given unique name, arguments, and options.
68
+ *
69
+ * @param name The _unique_ name of the resource.
70
+ * @param args The arguments to use to populate this resource's properties.
71
+ * @param opts A bag of options that control this resource's behavior.
72
+ */
73
+ constructor(name: string, args: PhoneNumberArgs, opts?: pulumi.CustomResourceOptions);
74
+ }
75
+ /**
76
+ * The set of arguments for constructing a PhoneNumber resource.
77
+ */
78
+ export interface PhoneNumberArgs {
79
+ /**
80
+ * When set to true the sender ID can't be deleted. By default this is set to false.
81
+ */
82
+ deletionProtectionEnabled?: pulumi.Input<boolean>;
83
+ /**
84
+ * The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
85
+ */
86
+ isoCountryCode: pulumi.Input<string>;
87
+ /**
88
+ * A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message. Keywords "HELP" and "STOP" are mandatory keywords
89
+ */
90
+ mandatoryKeywords: pulumi.Input<inputs.smsvoice.MandatoryKeywordsPropertiesArgs>;
91
+ /**
92
+ * Indicates if the phone number will be used for text messages, voice messages, or both.
93
+ */
94
+ numberCapabilities: pulumi.Input<pulumi.Input<enums.smsvoice.PhoneNumberNumberCapabilitiesItem>[]>;
95
+ /**
96
+ * The type of phone number to request.
97
+ */
98
+ numberType: pulumi.Input<enums.smsvoice.PhoneNumberNumberType>;
99
+ /**
100
+ * The name of the OptOutList to associate with the phone number. You can use the OptOutListName or OptOutListArn.
101
+ */
102
+ optOutListName?: pulumi.Input<string>;
103
+ /**
104
+ * A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message.
105
+ */
106
+ optionalKeywords?: pulumi.Input<pulumi.Input<inputs.smsvoice.PhoneNumberOptionalKeywordArgs>[]>;
107
+ /**
108
+ * By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.
109
+ */
110
+ selfManagedOptOutsEnabled?: pulumi.Input<boolean>;
111
+ /**
112
+ * An array of key-value pairs to apply to this resource.
113
+ */
114
+ tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
115
+ /**
116
+ * When you set up two-way SMS, you can receive incoming messages from your customers. When one of your customers sends a message to your phone number, the message body is sent to an Amazon SNS topic or Amazon Connect for processing.
117
+ */
118
+ twoWay?: pulumi.Input<inputs.smsvoice.TwoWayPropertiesArgs>;
119
+ }
@@ -0,0 +1,94 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.PhoneNumber = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource Type definition for AWS::SMSVOICE::PhoneNumber
10
+ */
11
+ class PhoneNumber extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing PhoneNumber resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param opts Optional settings to control the behavior of the CustomResource.
19
+ */
20
+ static get(name, id, opts) {
21
+ return new PhoneNumber(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of PhoneNumber. This is designed to work even
25
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
26
+ */
27
+ static isInstance(obj) {
28
+ if (obj === undefined || obj === null) {
29
+ return false;
30
+ }
31
+ return obj['__pulumiType'] === PhoneNumber.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a PhoneNumber resource with the given unique name, arguments, and options.
35
+ *
36
+ * @param name The _unique_ name of the resource.
37
+ * @param args The arguments to use to populate this resource's properties.
38
+ * @param opts A bag of options that control this resource's behavior.
39
+ */
40
+ constructor(name, args, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (!opts.id) {
44
+ if ((!args || args.isoCountryCode === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'isoCountryCode'");
46
+ }
47
+ if ((!args || args.mandatoryKeywords === undefined) && !opts.urn) {
48
+ throw new Error("Missing required property 'mandatoryKeywords'");
49
+ }
50
+ if ((!args || args.numberCapabilities === undefined) && !opts.urn) {
51
+ throw new Error("Missing required property 'numberCapabilities'");
52
+ }
53
+ if ((!args || args.numberType === undefined) && !opts.urn) {
54
+ throw new Error("Missing required property 'numberType'");
55
+ }
56
+ resourceInputs["deletionProtectionEnabled"] = args ? args.deletionProtectionEnabled : undefined;
57
+ resourceInputs["isoCountryCode"] = args ? args.isoCountryCode : undefined;
58
+ resourceInputs["mandatoryKeywords"] = args ? args.mandatoryKeywords : undefined;
59
+ resourceInputs["numberCapabilities"] = args ? args.numberCapabilities : undefined;
60
+ resourceInputs["numberType"] = args ? args.numberType : undefined;
61
+ resourceInputs["optOutListName"] = args ? args.optOutListName : undefined;
62
+ resourceInputs["optionalKeywords"] = args ? args.optionalKeywords : undefined;
63
+ resourceInputs["selfManagedOptOutsEnabled"] = args ? args.selfManagedOptOutsEnabled : undefined;
64
+ resourceInputs["tags"] = args ? args.tags : undefined;
65
+ resourceInputs["twoWay"] = args ? args.twoWay : undefined;
66
+ resourceInputs["arn"] = undefined /*out*/;
67
+ resourceInputs["phoneNumber"] = undefined /*out*/;
68
+ resourceInputs["phoneNumberId"] = undefined /*out*/;
69
+ }
70
+ else {
71
+ resourceInputs["arn"] = undefined /*out*/;
72
+ resourceInputs["deletionProtectionEnabled"] = undefined /*out*/;
73
+ resourceInputs["isoCountryCode"] = undefined /*out*/;
74
+ resourceInputs["mandatoryKeywords"] = undefined /*out*/;
75
+ resourceInputs["numberCapabilities"] = undefined /*out*/;
76
+ resourceInputs["numberType"] = undefined /*out*/;
77
+ resourceInputs["optOutListName"] = undefined /*out*/;
78
+ resourceInputs["optionalKeywords"] = undefined /*out*/;
79
+ resourceInputs["phoneNumber"] = undefined /*out*/;
80
+ resourceInputs["phoneNumberId"] = undefined /*out*/;
81
+ resourceInputs["selfManagedOptOutsEnabled"] = undefined /*out*/;
82
+ resourceInputs["tags"] = undefined /*out*/;
83
+ resourceInputs["twoWay"] = undefined /*out*/;
84
+ }
85
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
86
+ const replaceOnChanges = { replaceOnChanges: ["isoCountryCode", "numberCapabilities[*]", "numberType"] };
87
+ opts = pulumi.mergeOptions(opts, replaceOnChanges);
88
+ super(PhoneNumber.__pulumiType, name, resourceInputs, opts);
89
+ }
90
+ }
91
+ exports.PhoneNumber = PhoneNumber;
92
+ /** @internal */
93
+ PhoneNumber.__pulumiType = 'aws-native:smsvoice:PhoneNumber';
94
+ //# sourceMappingURL=phoneNumber.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"phoneNumber.js","sourceRoot":"","sources":["../../smsvoice/phoneNumber.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,WAAW,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,I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