@pulumi/aws-native 0.112.0-alpha.1721397480 → 0.112.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 (117) hide show
  1. package/applicationautoscaling/getScalingPolicy.d.ts +56 -11
  2. package/applicationautoscaling/getScalingPolicy.js +4 -2
  3. package/applicationautoscaling/getScalingPolicy.js.map +1 -1
  4. package/applicationautoscaling/scalingPolicy.d.ts +101 -22
  5. package/applicationautoscaling/scalingPolicy.js +2 -1
  6. package/applicationautoscaling/scalingPolicy.js.map +1 -1
  7. package/backup/backupVault.d.ts +2 -2
  8. package/backup/getBackupVault.d.ts +2 -2
  9. package/bedrock/flow.d.ts +133 -0
  10. package/bedrock/flow.js +89 -0
  11. package/bedrock/flow.js.map +1 -0
  12. package/bedrock/flowAlias.d.ts +93 -0
  13. package/bedrock/flowAlias.js +82 -0
  14. package/bedrock/flowAlias.js.map +1 -0
  15. package/bedrock/flowVersion.d.ts +76 -0
  16. package/bedrock/flowVersion.js +77 -0
  17. package/bedrock/flowVersion.js.map +1 -0
  18. package/bedrock/getFlow.d.ts +77 -0
  19. package/bedrock/getFlow.js +25 -0
  20. package/bedrock/getFlow.js.map +1 -0
  21. package/bedrock/getFlowAlias.d.ts +67 -0
  22. package/bedrock/getFlowAlias.js +26 -0
  23. package/bedrock/getFlowAlias.js.map +1 -0
  24. package/bedrock/getFlowVersion.d.ts +58 -0
  25. package/bedrock/getFlowVersion.js +26 -0
  26. package/bedrock/getFlowVersion.js.map +1 -0
  27. package/bedrock/getPrompt.d.ts +67 -0
  28. package/bedrock/getPrompt.js +25 -0
  29. package/bedrock/getPrompt.js.map +1 -0
  30. package/bedrock/getPromptVersion.d.ts +56 -0
  31. package/bedrock/getPromptVersion.js +25 -0
  32. package/bedrock/getPromptVersion.js.map +1 -0
  33. package/bedrock/index.d.ts +30 -0
  34. package/bedrock/index.js +36 -1
  35. package/bedrock/index.js.map +1 -1
  36. package/bedrock/prompt.d.ts +101 -0
  37. package/bedrock/prompt.js +76 -0
  38. package/bedrock/prompt.js.map +1 -0
  39. package/bedrock/promptVersion.d.ts +82 -0
  40. package/bedrock/promptVersion.js +79 -0
  41. package/bedrock/promptVersion.js.map +1 -0
  42. package/dms/replicationConfig.d.ts +13 -13
  43. package/dms/replicationConfig.js +18 -0
  44. package/dms/replicationConfig.js.map +1 -1
  45. package/ec2/eipAssociation.d.ts +13 -16
  46. package/ec2/eipAssociation.js +2 -1
  47. package/ec2/eipAssociation.js.map +1 -1
  48. package/ec2/getEipAssociation.d.ts +7 -5
  49. package/ec2/getEipAssociation.js +4 -2
  50. package/ec2/getEipAssociation.js.map +1 -1
  51. package/ec2/getNetworkInterfaceAttachment.d.ts +3 -3
  52. package/ec2/getNetworkInterfaceAttachment.js +2 -2
  53. package/ec2/networkInterfaceAttachment.d.ts +5 -5
  54. package/ec2/networkInterfaceAttachment.js +1 -1
  55. package/ecr/getRepositoryCreationTemplate.d.ts +4 -0
  56. package/ecr/getRepositoryCreationTemplate.js.map +1 -1
  57. package/ecr/repositoryCreationTemplate.d.ts +8 -0
  58. package/ecr/repositoryCreationTemplate.js +2 -0
  59. package/ecr/repositoryCreationTemplate.js.map +1 -1
  60. package/eks/cluster.d.ts +2 -0
  61. package/eks/cluster.js +2 -0
  62. package/eks/cluster.js.map +1 -1
  63. package/eks/getCluster.d.ts +1 -0
  64. package/eks/getCluster.js.map +1 -1
  65. package/lightsail/alarm.d.ts +2 -2
  66. package/lightsail/certificate.d.ts +1 -1
  67. package/lightsail/certificate.js +1 -1
  68. package/lightsail/getCertificate.d.ts +2 -2
  69. package/lightsail/getCertificate.js +2 -2
  70. package/mediaconnect/flowOutput.d.ts +8 -0
  71. package/mediaconnect/flowOutput.js +2 -0
  72. package/mediaconnect/flowOutput.js.map +1 -1
  73. package/mediapackagev2/channel.d.ts +3 -0
  74. package/mediapackagev2/channel.js +3 -1
  75. package/mediapackagev2/channel.js.map +1 -1
  76. package/mediapackagev2/getOriginEndpoint.d.ts +1 -0
  77. package/mediapackagev2/getOriginEndpoint.js.map +1 -1
  78. package/mediapackagev2/originEndpoint.d.ts +2 -0
  79. package/mediapackagev2/originEndpoint.js +2 -0
  80. package/mediapackagev2/originEndpoint.js.map +1 -1
  81. package/mwaa/environment.d.ts +2 -2
  82. package/mwaa/getEnvironment.d.ts +1 -1
  83. package/package.json +3 -3
  84. package/package.json.dev +2 -2
  85. package/rds/dbCluster.d.ts +2 -2
  86. package/rds/dbInstance.d.ts +0 -8
  87. package/rds/dbInstance.js.map +1 -1
  88. package/rds/getDbInstance.d.ts +0 -3
  89. package/rds/getDbInstance.js.map +1 -1
  90. package/secretsmanager/getResourcePolicy.d.ts +33 -0
  91. package/secretsmanager/getResourcePolicy.js +25 -0
  92. package/secretsmanager/getResourcePolicy.js.map +1 -0
  93. package/secretsmanager/index.d.ts +6 -0
  94. package/secretsmanager/index.js +8 -1
  95. package/secretsmanager/index.js.map +1 -1
  96. package/secretsmanager/resourcePolicy.d.ts +65 -0
  97. package/secretsmanager/resourcePolicy.js +70 -0
  98. package/secretsmanager/resourcePolicy.js.map +1 -0
  99. package/types/enums/bedrock/index.d.ts +112 -0
  100. package/types/enums/bedrock/index.js +65 -1
  101. package/types/enums/bedrock/index.js.map +1 -1
  102. package/types/enums/eks/index.d.ts +8 -0
  103. package/types/enums/eks/index.js +5 -1
  104. package/types/enums/eks/index.js.map +1 -1
  105. package/types/enums/mediaconnect/index.d.ts +8 -0
  106. package/types/enums/mediaconnect/index.js +5 -1
  107. package/types/enums/mediaconnect/index.js.map +1 -1
  108. package/types/enums/mediapackagev2/index.d.ts +12 -0
  109. package/types/enums/mediapackagev2/index.js +11 -1
  110. package/types/enums/mediapackagev2/index.js.map +1 -1
  111. package/types/input.d.ts +623 -46
  112. package/types/output.d.ts +1041 -46
  113. package/workspacesweb/getUserSettings.d.ts +4 -0
  114. package/workspacesweb/getUserSettings.js.map +1 -1
  115. package/workspacesweb/userSettings.d.ts +8 -0
  116. package/workspacesweb/userSettings.js +2 -0
  117. package/workspacesweb/userSettings.js.map +1 -1
@@ -0,0 +1,67 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Definition of AWS::Bedrock::Prompt Resource Type
5
+ */
6
+ export declare function getPrompt(args: GetPromptArgs, opts?: pulumi.InvokeOptions): Promise<GetPromptResult>;
7
+ export interface GetPromptArgs {
8
+ /**
9
+ * ARN of a prompt resource possibly with a version
10
+ */
11
+ arn: string;
12
+ }
13
+ export interface GetPromptResult {
14
+ /**
15
+ * ARN of a prompt resource possibly with a version
16
+ */
17
+ readonly arn?: string;
18
+ /**
19
+ * Time Stamp.
20
+ */
21
+ readonly createdAt?: string;
22
+ /**
23
+ * A KMS key ARN
24
+ */
25
+ readonly customerEncryptionKeyArn?: string;
26
+ /**
27
+ * Name for a variant.
28
+ */
29
+ readonly defaultVariant?: string;
30
+ /**
31
+ * Name for a prompt resource.
32
+ */
33
+ readonly description?: string;
34
+ /**
35
+ * Identifier for a Prompt
36
+ */
37
+ readonly id?: string;
38
+ /**
39
+ * Name for a prompt resource.
40
+ */
41
+ readonly name?: string;
42
+ readonly tags?: {
43
+ [key: string]: string;
44
+ };
45
+ /**
46
+ * Time Stamp.
47
+ */
48
+ readonly updatedAt?: string;
49
+ /**
50
+ * List of prompt variants
51
+ */
52
+ readonly variants?: outputs.bedrock.PromptVariant[];
53
+ /**
54
+ * Draft Version.
55
+ */
56
+ readonly version?: string;
57
+ }
58
+ /**
59
+ * Definition of AWS::Bedrock::Prompt Resource Type
60
+ */
61
+ export declare function getPromptOutput(args: GetPromptOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPromptResult>;
62
+ export interface GetPromptOutputArgs {
63
+ /**
64
+ * ARN of a prompt resource possibly with a version
65
+ */
66
+ arn: pulumi.Input<string>;
67
+ }
@@ -0,0 +1,25 @@
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.getPromptOutput = exports.getPrompt = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Definition of AWS::Bedrock::Prompt Resource Type
10
+ */
11
+ function getPrompt(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("aws-native:bedrock:getPrompt", {
14
+ "arn": args.arn,
15
+ }, opts);
16
+ }
17
+ exports.getPrompt = getPrompt;
18
+ /**
19
+ * Definition of AWS::Bedrock::Prompt Resource Type
20
+ */
21
+ function getPromptOutput(args, opts) {
22
+ return pulumi.output(args).apply((a) => getPrompt(a, opts));
23
+ }
24
+ exports.getPromptOutput = getPromptOutput;
25
+ //# sourceMappingURL=getPrompt.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPrompt.js","sourceRoot":"","sources":["../../bedrock/getPrompt.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IAEtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8BAMC;AAoDD;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
@@ -0,0 +1,56 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Definition of AWS::Bedrock::PromptVersion Resource Type
5
+ */
6
+ export declare function getPromptVersion(args: GetPromptVersionArgs, opts?: pulumi.InvokeOptions): Promise<GetPromptVersionResult>;
7
+ export interface GetPromptVersionArgs {
8
+ /**
9
+ * ARN of a prompt version resource
10
+ */
11
+ arn: string;
12
+ }
13
+ export interface GetPromptVersionResult {
14
+ /**
15
+ * ARN of a prompt version resource
16
+ */
17
+ readonly arn?: string;
18
+ /**
19
+ * Time Stamp.
20
+ */
21
+ readonly createdAt?: string;
22
+ /**
23
+ * Name for a variant.
24
+ */
25
+ readonly defaultVariant?: string;
26
+ /**
27
+ * Name for a prompt resource.
28
+ */
29
+ readonly name?: string;
30
+ /**
31
+ * Identifier for a Prompt
32
+ */
33
+ readonly promptId?: string;
34
+ /**
35
+ * Time Stamp.
36
+ */
37
+ readonly updatedAt?: string;
38
+ /**
39
+ * List of prompt variants
40
+ */
41
+ readonly variants?: outputs.bedrock.PromptVersionPromptVariant[];
42
+ /**
43
+ * Version.
44
+ */
45
+ readonly version?: string;
46
+ }
47
+ /**
48
+ * Definition of AWS::Bedrock::PromptVersion Resource Type
49
+ */
50
+ export declare function getPromptVersionOutput(args: GetPromptVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPromptVersionResult>;
51
+ export interface GetPromptVersionOutputArgs {
52
+ /**
53
+ * ARN of a prompt version resource
54
+ */
55
+ arn: pulumi.Input<string>;
56
+ }
@@ -0,0 +1,25 @@
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.getPromptVersionOutput = exports.getPromptVersion = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Definition of AWS::Bedrock::PromptVersion Resource Type
10
+ */
11
+ function getPromptVersion(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("aws-native:bedrock:getPromptVersion", {
14
+ "arn": args.arn,
15
+ }, opts);
16
+ }
17
+ exports.getPromptVersion = getPromptVersion;
18
+ /**
19
+ * Definition of AWS::Bedrock::PromptVersion Resource Type
20
+ */
21
+ function getPromptVersionOutput(args, opts) {
22
+ return pulumi.output(args).apply((a) => getPromptVersion(a, opts));
23
+ }
24
+ exports.getPromptVersionOutput = getPromptVersionOutput;
25
+ //# sourceMappingURL=getPromptVersion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPromptVersion.js","sourceRoot":"","sources":["../../bedrock/getPromptVersion.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC;AA2CD;;GAEG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
@@ -7,6 +7,15 @@ export declare const AgentAlias: typeof import("./agentAlias").AgentAlias;
7
7
  export { DataSourceArgs } from "./dataSource";
8
8
  export type DataSource = import("./dataSource").DataSource;
9
9
  export declare const DataSource: typeof import("./dataSource").DataSource;
10
+ export { FlowArgs } from "./flow";
11
+ export type Flow = import("./flow").Flow;
12
+ export declare const Flow: typeof import("./flow").Flow;
13
+ export { FlowAliasArgs } from "./flowAlias";
14
+ export type FlowAlias = import("./flowAlias").FlowAlias;
15
+ export declare const FlowAlias: typeof import("./flowAlias").FlowAlias;
16
+ export { FlowVersionArgs } from "./flowVersion";
17
+ export type FlowVersion = import("./flowVersion").FlowVersion;
18
+ export declare const FlowVersion: typeof import("./flowVersion").FlowVersion;
10
19
  export { GetAgentArgs, GetAgentResult, GetAgentOutputArgs } from "./getAgent";
11
20
  export declare const getAgent: typeof import("./getAgent").getAgent;
12
21
  export declare const getAgentOutput: typeof import("./getAgent").getAgentOutput;
@@ -16,6 +25,15 @@ export declare const getAgentAliasOutput: typeof import("./getAgentAlias").getAg
16
25
  export { GetDataSourceArgs, GetDataSourceResult, GetDataSourceOutputArgs } from "./getDataSource";
17
26
  export declare const getDataSource: typeof import("./getDataSource").getDataSource;
18
27
  export declare const getDataSourceOutput: typeof import("./getDataSource").getDataSourceOutput;
28
+ export { GetFlowArgs, GetFlowResult, GetFlowOutputArgs } from "./getFlow";
29
+ export declare const getFlow: typeof import("./getFlow").getFlow;
30
+ export declare const getFlowOutput: typeof import("./getFlow").getFlowOutput;
31
+ export { GetFlowAliasArgs, GetFlowAliasResult, GetFlowAliasOutputArgs } from "./getFlowAlias";
32
+ export declare const getFlowAlias: typeof import("./getFlowAlias").getFlowAlias;
33
+ export declare const getFlowAliasOutput: typeof import("./getFlowAlias").getFlowAliasOutput;
34
+ export { GetFlowVersionArgs, GetFlowVersionResult, GetFlowVersionOutputArgs } from "./getFlowVersion";
35
+ export declare const getFlowVersion: typeof import("./getFlowVersion").getFlowVersion;
36
+ export declare const getFlowVersionOutput: typeof import("./getFlowVersion").getFlowVersionOutput;
19
37
  export { GetGuardrailArgs, GetGuardrailResult, GetGuardrailOutputArgs } from "./getGuardrail";
20
38
  export declare const getGuardrail: typeof import("./getGuardrail").getGuardrail;
21
39
  export declare const getGuardrailOutput: typeof import("./getGuardrail").getGuardrailOutput;
@@ -25,6 +43,12 @@ export declare const getGuardrailVersionOutput: typeof import("./getGuardrailVer
25
43
  export { GetKnowledgeBaseArgs, GetKnowledgeBaseResult, GetKnowledgeBaseOutputArgs } from "./getKnowledgeBase";
26
44
  export declare const getKnowledgeBase: typeof import("./getKnowledgeBase").getKnowledgeBase;
27
45
  export declare const getKnowledgeBaseOutput: typeof import("./getKnowledgeBase").getKnowledgeBaseOutput;
46
+ export { GetPromptArgs, GetPromptResult, GetPromptOutputArgs } from "./getPrompt";
47
+ export declare const getPrompt: typeof import("./getPrompt").getPrompt;
48
+ export declare const getPromptOutput: typeof import("./getPrompt").getPromptOutput;
49
+ export { GetPromptVersionArgs, GetPromptVersionResult, GetPromptVersionOutputArgs } from "./getPromptVersion";
50
+ export declare const getPromptVersion: typeof import("./getPromptVersion").getPromptVersion;
51
+ export declare const getPromptVersionOutput: typeof import("./getPromptVersion").getPromptVersionOutput;
28
52
  export { GuardrailArgs } from "./guardrail";
29
53
  export type Guardrail = import("./guardrail").Guardrail;
30
54
  export declare const Guardrail: typeof import("./guardrail").Guardrail;
@@ -34,4 +58,10 @@ export declare const GuardrailVersion: typeof import("./guardrailVersion").Guard
34
58
  export { KnowledgeBaseArgs } from "./knowledgeBase";
35
59
  export type KnowledgeBase = import("./knowledgeBase").KnowledgeBase;
36
60
  export declare const KnowledgeBase: typeof import("./knowledgeBase").KnowledgeBase;
61
+ export { PromptArgs } from "./prompt";
62
+ export type Prompt = import("./prompt").Prompt;
63
+ export declare const Prompt: typeof import("./prompt").Prompt;
64
+ export { PromptVersionArgs } from "./promptVersion";
65
+ export type PromptVersion = import("./promptVersion").PromptVersion;
66
+ export declare const PromptVersion: typeof import("./promptVersion").PromptVersion;
37
67
  export * from "../types/enums/bedrock";
package/bedrock/index.js CHANGED
@@ -16,7 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.KnowledgeBase = exports.GuardrailVersion = exports.Guardrail = exports.getKnowledgeBaseOutput = exports.getKnowledgeBase = exports.getGuardrailVersionOutput = exports.getGuardrailVersion = exports.getGuardrailOutput = exports.getGuardrail = exports.getDataSourceOutput = exports.getDataSource = exports.getAgentAliasOutput = exports.getAgentAlias = exports.getAgentOutput = exports.getAgent = exports.DataSource = exports.AgentAlias = exports.Agent = void 0;
19
+ exports.PromptVersion = exports.Prompt = exports.KnowledgeBase = exports.GuardrailVersion = exports.Guardrail = exports.getPromptVersionOutput = exports.getPromptVersion = exports.getPromptOutput = exports.getPrompt = exports.getKnowledgeBaseOutput = exports.getKnowledgeBase = exports.getGuardrailVersionOutput = exports.getGuardrailVersion = exports.getGuardrailOutput = exports.getGuardrail = exports.getFlowVersionOutput = exports.getFlowVersion = exports.getFlowAliasOutput = exports.getFlowAlias = exports.getFlowOutput = exports.getFlow = exports.getDataSourceOutput = exports.getDataSource = exports.getAgentAliasOutput = exports.getAgentAlias = exports.getAgentOutput = exports.getAgent = exports.FlowVersion = exports.FlowAlias = exports.Flow = exports.DataSource = exports.AgentAlias = exports.Agent = void 0;
20
20
  const pulumi = require("@pulumi/pulumi");
21
21
  const utilities = require("../utilities");
22
22
  exports.Agent = null;
@@ -25,6 +25,12 @@ exports.AgentAlias = null;
25
25
  utilities.lazyLoad(exports, ["AgentAlias"], () => require("./agentAlias"));
26
26
  exports.DataSource = null;
27
27
  utilities.lazyLoad(exports, ["DataSource"], () => require("./dataSource"));
28
+ exports.Flow = null;
29
+ utilities.lazyLoad(exports, ["Flow"], () => require("./flow"));
30
+ exports.FlowAlias = null;
31
+ utilities.lazyLoad(exports, ["FlowAlias"], () => require("./flowAlias"));
32
+ exports.FlowVersion = null;
33
+ utilities.lazyLoad(exports, ["FlowVersion"], () => require("./flowVersion"));
28
34
  exports.getAgent = null;
29
35
  exports.getAgentOutput = null;
30
36
  utilities.lazyLoad(exports, ["getAgent", "getAgentOutput"], () => require("./getAgent"));
@@ -34,6 +40,15 @@ utilities.lazyLoad(exports, ["getAgentAlias", "getAgentAliasOutput"], () => requ
34
40
  exports.getDataSource = null;
35
41
  exports.getDataSourceOutput = null;
36
42
  utilities.lazyLoad(exports, ["getDataSource", "getDataSourceOutput"], () => require("./getDataSource"));
43
+ exports.getFlow = null;
44
+ exports.getFlowOutput = null;
45
+ utilities.lazyLoad(exports, ["getFlow", "getFlowOutput"], () => require("./getFlow"));
46
+ exports.getFlowAlias = null;
47
+ exports.getFlowAliasOutput = null;
48
+ utilities.lazyLoad(exports, ["getFlowAlias", "getFlowAliasOutput"], () => require("./getFlowAlias"));
49
+ exports.getFlowVersion = null;
50
+ exports.getFlowVersionOutput = null;
51
+ utilities.lazyLoad(exports, ["getFlowVersion", "getFlowVersionOutput"], () => require("./getFlowVersion"));
37
52
  exports.getGuardrail = null;
38
53
  exports.getGuardrailOutput = null;
39
54
  utilities.lazyLoad(exports, ["getGuardrail", "getGuardrailOutput"], () => require("./getGuardrail"));
@@ -43,12 +58,22 @@ utilities.lazyLoad(exports, ["getGuardrailVersion", "getGuardrailVersionOutput"]
43
58
  exports.getKnowledgeBase = null;
44
59
  exports.getKnowledgeBaseOutput = null;
45
60
  utilities.lazyLoad(exports, ["getKnowledgeBase", "getKnowledgeBaseOutput"], () => require("./getKnowledgeBase"));
61
+ exports.getPrompt = null;
62
+ exports.getPromptOutput = null;
63
+ utilities.lazyLoad(exports, ["getPrompt", "getPromptOutput"], () => require("./getPrompt"));
64
+ exports.getPromptVersion = null;
65
+ exports.getPromptVersionOutput = null;
66
+ utilities.lazyLoad(exports, ["getPromptVersion", "getPromptVersionOutput"], () => require("./getPromptVersion"));
46
67
  exports.Guardrail = null;
47
68
  utilities.lazyLoad(exports, ["Guardrail"], () => require("./guardrail"));
48
69
  exports.GuardrailVersion = null;
49
70
  utilities.lazyLoad(exports, ["GuardrailVersion"], () => require("./guardrailVersion"));
50
71
  exports.KnowledgeBase = null;
51
72
  utilities.lazyLoad(exports, ["KnowledgeBase"], () => require("./knowledgeBase"));
73
+ exports.Prompt = null;
74
+ utilities.lazyLoad(exports, ["Prompt"], () => require("./prompt"));
75
+ exports.PromptVersion = null;
76
+ utilities.lazyLoad(exports, ["PromptVersion"], () => require("./promptVersion"));
52
77
  // Export enums:
53
78
  __exportStar(require("../types/enums/bedrock"), exports);
54
79
  const _module = {
@@ -61,12 +86,22 @@ const _module = {
61
86
  return new exports.AgentAlias(name, undefined, { urn });
62
87
  case "aws-native:bedrock:DataSource":
63
88
  return new exports.DataSource(name, undefined, { urn });
89
+ case "aws-native:bedrock:Flow":
90
+ return new exports.Flow(name, undefined, { urn });
91
+ case "aws-native:bedrock:FlowAlias":
92
+ return new exports.FlowAlias(name, undefined, { urn });
93
+ case "aws-native:bedrock:FlowVersion":
94
+ return new exports.FlowVersion(name, undefined, { urn });
64
95
  case "aws-native:bedrock:Guardrail":
65
96
  return new exports.Guardrail(name, undefined, { urn });
66
97
  case "aws-native:bedrock:GuardrailVersion":
67
98
  return new exports.GuardrailVersion(name, undefined, { urn });
68
99
  case "aws-native:bedrock:KnowledgeBase":
69
100
  return new exports.KnowledgeBase(name, undefined, { urn });
101
+ case "aws-native:bedrock:Prompt":
102
+ return new exports.Prompt(name, undefined, { urn });
103
+ case "aws-native:bedrock:PromptVersion":
104
+ return new exports.PromptVersion(name, undefined, { urn });
70
105
  default:
71
106
  throw new Error(`unknown resource type ${type}`);
72
107
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../bedrock/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,KAAK,GAAmC,IAAW,CAAC;AACj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;YAC9D,KAAK,kCAAkC;gBACnC,OAAO,IAAI,qBAAa,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC3D,KAAK,2BAA2B;gBAC5B,OAAO,IAAI,cAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD,KAAK,kCAAkC;gBACnC,OAAO,IAAI,qBAAa,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC3D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,101 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Definition of AWS::Bedrock::Prompt Resource Type
6
+ */
7
+ export declare class Prompt extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing Prompt 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): Prompt;
17
+ /**
18
+ * Returns true if the given object is an instance of Prompt. 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 Prompt;
22
+ /**
23
+ * ARN of a prompt resource possibly with a version
24
+ */
25
+ readonly arn: pulumi.Output<string>;
26
+ /**
27
+ * Identifier for a Prompt
28
+ */
29
+ readonly awsId: pulumi.Output<string>;
30
+ /**
31
+ * Time Stamp.
32
+ */
33
+ readonly createdAt: pulumi.Output<string>;
34
+ /**
35
+ * A KMS key ARN
36
+ */
37
+ readonly customerEncryptionKeyArn: pulumi.Output<string | undefined>;
38
+ /**
39
+ * Name for a variant.
40
+ */
41
+ readonly defaultVariant: pulumi.Output<string | undefined>;
42
+ /**
43
+ * Name for a prompt resource.
44
+ */
45
+ readonly description: pulumi.Output<string | undefined>;
46
+ /**
47
+ * Name for a prompt resource.
48
+ */
49
+ readonly name: pulumi.Output<string>;
50
+ readonly tags: pulumi.Output<{
51
+ [key: string]: string;
52
+ } | undefined>;
53
+ /**
54
+ * Time Stamp.
55
+ */
56
+ readonly updatedAt: pulumi.Output<string>;
57
+ /**
58
+ * List of prompt variants
59
+ */
60
+ readonly variants: pulumi.Output<outputs.bedrock.PromptVariant[] | undefined>;
61
+ /**
62
+ * Draft Version.
63
+ */
64
+ readonly version: pulumi.Output<string>;
65
+ /**
66
+ * Create a Prompt resource with the given unique name, arguments, and options.
67
+ *
68
+ * @param name The _unique_ name of the resource.
69
+ * @param args The arguments to use to populate this resource's properties.
70
+ * @param opts A bag of options that control this resource's behavior.
71
+ */
72
+ constructor(name: string, args?: PromptArgs, opts?: pulumi.CustomResourceOptions);
73
+ }
74
+ /**
75
+ * The set of arguments for constructing a Prompt resource.
76
+ */
77
+ export interface PromptArgs {
78
+ /**
79
+ * A KMS key ARN
80
+ */
81
+ customerEncryptionKeyArn?: pulumi.Input<string>;
82
+ /**
83
+ * Name for a variant.
84
+ */
85
+ defaultVariant?: pulumi.Input<string>;
86
+ /**
87
+ * Name for a prompt resource.
88
+ */
89
+ description?: pulumi.Input<string>;
90
+ /**
91
+ * Name for a prompt resource.
92
+ */
93
+ name?: pulumi.Input<string>;
94
+ tags?: pulumi.Input<{
95
+ [key: string]: pulumi.Input<string>;
96
+ }>;
97
+ /**
98
+ * List of prompt variants
99
+ */
100
+ variants?: pulumi.Input<pulumi.Input<inputs.bedrock.PromptVariantArgs>[]>;
101
+ }
@@ -0,0 +1,76 @@
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.Prompt = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Definition of AWS::Bedrock::Prompt Resource Type
10
+ */
11
+ class Prompt extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing Prompt 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 Prompt(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of Prompt. 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'] === Prompt.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a Prompt 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["customerEncryptionKeyArn"] = args ? args.customerEncryptionKeyArn : undefined;
45
+ resourceInputs["defaultVariant"] = args ? args.defaultVariant : undefined;
46
+ resourceInputs["description"] = args ? args.description : undefined;
47
+ resourceInputs["name"] = args ? args.name : undefined;
48
+ resourceInputs["tags"] = args ? args.tags : undefined;
49
+ resourceInputs["variants"] = args ? args.variants : undefined;
50
+ resourceInputs["arn"] = undefined /*out*/;
51
+ resourceInputs["awsId"] = undefined /*out*/;
52
+ resourceInputs["createdAt"] = undefined /*out*/;
53
+ resourceInputs["updatedAt"] = undefined /*out*/;
54
+ resourceInputs["version"] = undefined /*out*/;
55
+ }
56
+ else {
57
+ resourceInputs["arn"] = undefined /*out*/;
58
+ resourceInputs["awsId"] = undefined /*out*/;
59
+ resourceInputs["createdAt"] = undefined /*out*/;
60
+ resourceInputs["customerEncryptionKeyArn"] = undefined /*out*/;
61
+ resourceInputs["defaultVariant"] = undefined /*out*/;
62
+ resourceInputs["description"] = undefined /*out*/;
63
+ resourceInputs["name"] = undefined /*out*/;
64
+ resourceInputs["tags"] = undefined /*out*/;
65
+ resourceInputs["updatedAt"] = undefined /*out*/;
66
+ resourceInputs["variants"] = undefined /*out*/;
67
+ resourceInputs["version"] = undefined /*out*/;
68
+ }
69
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
70
+ super(Prompt.__pulumiType, name, resourceInputs, opts);
71
+ }
72
+ }
73
+ exports.Prompt = Prompt;
74
+ /** @internal */
75
+ Prompt.__pulumiType = 'aws-native:bedrock:Prompt';
76
+ //# sourceMappingURL=prompt.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prompt.js","sourceRoot":"","sources":["../../bedrock/prompt.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,MAAM,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GA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Ac,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,0BAA0B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/D,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA1GL,wBA2GC;AA9FG,gBAAgB;AACO,mBAAY,GAAG,2BAA2B,CAAC"}
@@ -0,0 +1,82 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Definition of AWS::Bedrock::PromptVersion Resource Type
5
+ */
6
+ export declare class PromptVersion extends pulumi.CustomResource {
7
+ /**
8
+ * Get an existing PromptVersion resource's state with the given name, ID, and optional extra
9
+ * properties used to qualify the lookup.
10
+ *
11
+ * @param name The _unique_ name of the resulting resource.
12
+ * @param id The _unique_ provider ID of the resource to lookup.
13
+ * @param opts Optional settings to control the behavior of the CustomResource.
14
+ */
15
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): PromptVersion;
16
+ /**
17
+ * Returns true if the given object is an instance of PromptVersion. This is designed to work even
18
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
19
+ */
20
+ static isInstance(obj: any): obj is PromptVersion;
21
+ /**
22
+ * ARN of a prompt version resource
23
+ */
24
+ readonly arn: pulumi.Output<string>;
25
+ /**
26
+ * Time Stamp.
27
+ */
28
+ readonly createdAt: pulumi.Output<string>;
29
+ /**
30
+ * Name for a variant.
31
+ */
32
+ readonly defaultVariant: pulumi.Output<string>;
33
+ /**
34
+ * Description for a prompt version resource.
35
+ */
36
+ readonly description: pulumi.Output<string | undefined>;
37
+ /**
38
+ * Name for a prompt resource.
39
+ */
40
+ readonly name: pulumi.Output<string>;
41
+ /**
42
+ * ARN of a prompt resource possibly with a version
43
+ */
44
+ readonly promptArn: pulumi.Output<string>;
45
+ /**
46
+ * Identifier for a Prompt
47
+ */
48
+ readonly promptId: pulumi.Output<string>;
49
+ /**
50
+ * Time Stamp.
51
+ */
52
+ readonly updatedAt: pulumi.Output<string>;
53
+ /**
54
+ * List of prompt variants
55
+ */
56
+ readonly variants: pulumi.Output<outputs.bedrock.PromptVersionPromptVariant[]>;
57
+ /**
58
+ * Version.
59
+ */
60
+ readonly version: pulumi.Output<string>;
61
+ /**
62
+ * Create a PromptVersion resource with the given unique name, arguments, and options.
63
+ *
64
+ * @param name The _unique_ name of the resource.
65
+ * @param args The arguments to use to populate this resource's properties.
66
+ * @param opts A bag of options that control this resource's behavior.
67
+ */
68
+ constructor(name: string, args: PromptVersionArgs, opts?: pulumi.CustomResourceOptions);
69
+ }
70
+ /**
71
+ * The set of arguments for constructing a PromptVersion resource.
72
+ */
73
+ export interface PromptVersionArgs {
74
+ /**
75
+ * Description for a prompt version resource.
76
+ */
77
+ description?: pulumi.Input<string>;
78
+ /**
79
+ * ARN of a prompt resource possibly with a version
80
+ */
81
+ promptArn: pulumi.Input<string>;
82
+ }