@pulumi/aws-native 1.43.0-alpha.1766122627 → 1.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bedrockagentcore/gatewayTarget.d.ts +1 -1
- package/bedrockagentcore/gatewayTarget.js +1 -1
- package/bedrockagentcore/getGatewayTarget.d.ts +2 -2
- package/bedrockagentcore/getGatewayTarget.js +2 -2
- package/cases/caseRule.d.ts +85 -0
- package/cases/caseRule.js +77 -0
- package/cases/caseRule.js.map +1 -0
- package/cases/domain.d.ts +65 -0
- package/cases/domain.js +68 -0
- package/cases/domain.js.map +1 -0
- package/cases/field.d.ts +84 -0
- package/cases/field.js +79 -0
- package/cases/field.js.map +1 -0
- package/cases/getCaseRule.d.ts +53 -0
- package/cases/getCaseRule.js +28 -0
- package/cases/getCaseRule.js.map +1 -0
- package/cases/getDomain.d.ts +42 -0
- package/cases/getDomain.js +28 -0
- package/cases/getDomain.js.map +1 -0
- package/cases/getField.d.ts +54 -0
- package/cases/getField.js +28 -0
- package/cases/getField.js.map +1 -0
- package/cases/getLayout.d.ts +46 -0
- package/cases/getLayout.js +28 -0
- package/cases/getLayout.js.map +1 -0
- package/cases/getTemplate.d.ts +63 -0
- package/cases/getTemplate.js +28 -0
- package/cases/getTemplate.js.map +1 -0
- package/cases/index.d.ts +31 -0
- package/cases/index.js +69 -0
- package/cases/index.js.map +1 -0
- package/cases/layout.d.ts +71 -0
- package/cases/layout.js +75 -0
- package/cases/layout.js.map +1 -0
- package/cases/template.d.ts +104 -0
- package/cases/template.js +80 -0
- package/cases/template.js.map +1 -0
- package/connect/contactFlowModule.d.ts +16 -0
- package/connect/contactFlowModule.js +4 -0
- package/connect/contactFlowModule.js.map +1 -1
- package/connect/getContactFlowModule.d.ts +8 -0
- package/connect/getContactFlowModule.js.map +1 -1
- package/connect/getHoursOfOperation.d.ts +8 -0
- package/connect/getHoursOfOperation.js.map +1 -1
- package/connect/hoursOfOperation.d.ts +16 -0
- package/connect/hoursOfOperation.js +4 -0
- package/connect/hoursOfOperation.js.map +1 -1
- package/ec2/getVolume.d.ts +19 -13
- package/ec2/getVolume.js.map +1 -1
- package/ec2/volume.d.ts +38 -26
- package/ec2/volume.js.map +1 -1
- package/ec2/vpnConnection.d.ts +12 -0
- package/ec2/vpnConnection.js.map +1 -1
- package/emr/step.d.ts +16 -0
- package/emr/step.js +5 -1
- package/emr/step.js.map +1 -1
- package/gameliftstreams/streamGroup.d.ts +96 -12
- package/gameliftstreams/streamGroup.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +7 -5
- package/index.js.map +1 -1
- package/iotanalytics/dataset.d.ts +2 -2
- package/iotanalytics/datastore.d.ts +2 -2
- package/iotanalytics/getDataset.d.ts +1 -1
- package/iotanalytics/getDatastore.d.ts +1 -1
- package/lex/bot.d.ts +3 -3
- package/lex/bot.js +1 -1
- package/lex/botAlias.d.ts +3 -3
- package/lex/botAlias.js +1 -1
- package/lex/getBot.d.ts +6 -6
- package/lex/getBot.js +2 -2
- package/lex/getBotAlias.d.ts +6 -2
- package/lex/getBotAlias.js +2 -2
- package/lex/getBotAlias.js.map +1 -1
- package/observabilityadmin/getS3TableIntegration.d.ts +36 -0
- package/observabilityadmin/getS3TableIntegration.js +28 -0
- package/observabilityadmin/getS3TableIntegration.js.map +1 -0
- package/observabilityadmin/index.d.ts +6 -0
- package/observabilityadmin/index.js +8 -1
- package/observabilityadmin/index.js.map +1 -1
- package/observabilityadmin/s3tableIntegration.d.ts +71 -0
- package/observabilityadmin/s3tableIntegration.js +72 -0
- package/observabilityadmin/s3tableIntegration.js.map +1 -0
- package/odb/getOdbPeeringConnection.d.ts +8 -0
- package/odb/getOdbPeeringConnection.js.map +1 -1
- package/odb/odbPeeringConnection.d.ts +12 -0
- package/odb/odbPeeringConnection.js +5 -1
- package/odb/odbPeeringConnection.js.map +1 -1
- package/package.json +3 -3
- package/package.json.dev +2 -2
- package/types/enums/bedrockagentcore/index.d.ts +5 -0
- package/types/enums/bedrockagentcore/index.js +5 -1
- package/types/enums/bedrockagentcore/index.js.map +1 -1
- package/types/enums/cases/index.d.ts +38 -0
- package/types/enums/cases/index.js +28 -0
- package/types/enums/cases/index.js.map +1 -0
- package/types/enums/connect/index.d.ts +22 -4
- package/types/enums/connect/index.js +12 -2
- package/types/enums/connect/index.js.map +1 -1
- package/types/enums/ec2/index.d.ts +3 -0
- package/types/enums/ec2/index.js.map +1 -1
- package/types/enums/ecr/index.d.ts +1 -0
- package/types/enums/ecr/index.js +1 -0
- package/types/enums/ecr/index.js.map +1 -1
- package/types/enums/ecs/index.d.ts +5 -0
- package/types/enums/ecs/index.js +5 -1
- package/types/enums/ecs/index.js.map +1 -1
- package/types/enums/index.d.ts +2 -1
- package/types/enums/index.js +6 -4
- package/types/enums/index.js.map +1 -1
- package/types/enums/lex/index.d.ts +11 -0
- package/types/enums/lex/index.js +10 -1
- package/types/enums/lex/index.js.map +1 -1
- package/types/enums/observabilityadmin/index.d.ts +8 -0
- package/types/enums/observabilityadmin/index.js +5 -1
- package/types/enums/observabilityadmin/index.js.map +1 -1
- package/types/input.d.ts +352 -40
- package/types/output.d.ts +352 -40
- package/types/output.js.map +1 -1
- package/workspacesweb/getUserSettings.d.ts +1 -0
- package/workspacesweb/getUserSettings.js.map +1 -1
- package/workspacesweb/userSettings.d.ts +2 -0
- package/workspacesweb/userSettings.js +2 -0
- package/workspacesweb/userSettings.js.map +1 -1
|
@@ -3,7 +3,7 @@ import * as inputs from "../types/input";
|
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
import * as enums from "../types/enums";
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Resource Type definition for AWS::BedrockAgentCore::GatewayTarget
|
|
7
7
|
*/
|
|
8
8
|
export declare class GatewayTarget extends pulumi.CustomResource {
|
|
9
9
|
/**
|
|
@@ -6,7 +6,7 @@ exports.GatewayTarget = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Resource Type definition for AWS::BedrockAgentCore::GatewayTarget
|
|
10
10
|
*/
|
|
11
11
|
class GatewayTarget extends pulumi.CustomResource {
|
|
12
12
|
/**
|
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as outputs from "../types/output";
|
|
3
3
|
import * as enums from "../types/enums";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Resource Type definition for AWS::BedrockAgentCore::GatewayTarget
|
|
6
6
|
*/
|
|
7
7
|
export declare function getGatewayTarget(args: GetGatewayTargetArgs, opts?: pulumi.InvokeOptions): Promise<GetGatewayTargetResult>;
|
|
8
8
|
export interface GetGatewayTargetArgs {
|
|
@@ -56,7 +56,7 @@ export interface GetGatewayTargetResult {
|
|
|
56
56
|
readonly updatedAt?: string;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Resource Type definition for AWS::BedrockAgentCore::GatewayTarget
|
|
60
60
|
*/
|
|
61
61
|
export declare function getGatewayTargetOutput(args: GetGatewayTargetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGatewayTargetResult>;
|
|
62
62
|
export interface GetGatewayTargetOutputArgs {
|
|
@@ -6,7 +6,7 @@ exports.getGatewayTargetOutput = exports.getGatewayTarget = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Resource Type definition for AWS::BedrockAgentCore::GatewayTarget
|
|
10
10
|
*/
|
|
11
11
|
function getGatewayTarget(args, opts) {
|
|
12
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -17,7 +17,7 @@ function getGatewayTarget(args, opts) {
|
|
|
17
17
|
}
|
|
18
18
|
exports.getGatewayTarget = getGatewayTarget;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Resource Type definition for AWS::BedrockAgentCore::GatewayTarget
|
|
21
21
|
*/
|
|
22
22
|
function getGatewayTargetOutput(args, opts) {
|
|
23
23
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* A case rule. In the Amazon Connect admin website, case rules are known as case field conditions. Case rules are used to define the situations under which fields should have certain effects (such as required).
|
|
6
|
+
*/
|
|
7
|
+
export declare class CaseRule extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing CaseRule 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): CaseRule;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of CaseRule. 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 CaseRule;
|
|
22
|
+
/**
|
|
23
|
+
* The Amazon Resource Name (ARN) of a case rule.
|
|
24
|
+
*/
|
|
25
|
+
readonly caseRuleArn: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* The unique identifier of a case rule.
|
|
28
|
+
*/
|
|
29
|
+
readonly caseRuleId: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* The time at which the case rule was created.
|
|
32
|
+
*/
|
|
33
|
+
readonly createdTime: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* A description explaining the purpose and behavior of this case rule. Helps administrators understand when and why this rule applies to case fields.
|
|
36
|
+
*/
|
|
37
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* The unique identifier of the Cases domain.
|
|
40
|
+
*/
|
|
41
|
+
readonly domainId: pulumi.Output<string | undefined>;
|
|
42
|
+
/**
|
|
43
|
+
* The time at which the case rule was created or last modified.
|
|
44
|
+
*/
|
|
45
|
+
readonly lastModifiedTime: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* A descriptive name for the case rule. Must be unique within the domain and should clearly indicate the rule's purpose (e.g., 'Priority Field Required for Urgent Cases').
|
|
48
|
+
*/
|
|
49
|
+
readonly name: pulumi.Output<string>;
|
|
50
|
+
readonly rule: pulumi.Output<outputs.cases.CaseRuleDetails0Properties | outputs.cases.CaseRuleDetails1Properties>;
|
|
51
|
+
/**
|
|
52
|
+
* The tags that you attach to this case rule.
|
|
53
|
+
*/
|
|
54
|
+
readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
|
|
55
|
+
/**
|
|
56
|
+
* Create a CaseRule resource with the given unique name, arguments, and options.
|
|
57
|
+
*
|
|
58
|
+
* @param name The _unique_ name of the resource.
|
|
59
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
60
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
61
|
+
*/
|
|
62
|
+
constructor(name: string, args: CaseRuleArgs, opts?: pulumi.CustomResourceOptions);
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* The set of arguments for constructing a CaseRule resource.
|
|
66
|
+
*/
|
|
67
|
+
export interface CaseRuleArgs {
|
|
68
|
+
/**
|
|
69
|
+
* A description explaining the purpose and behavior of this case rule. Helps administrators understand when and why this rule applies to case fields.
|
|
70
|
+
*/
|
|
71
|
+
description?: pulumi.Input<string>;
|
|
72
|
+
/**
|
|
73
|
+
* The unique identifier of the Cases domain.
|
|
74
|
+
*/
|
|
75
|
+
domainId?: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* A descriptive name for the case rule. Must be unique within the domain and should clearly indicate the rule's purpose (e.g., 'Priority Field Required for Urgent Cases').
|
|
78
|
+
*/
|
|
79
|
+
name?: pulumi.Input<string>;
|
|
80
|
+
rule: pulumi.Input<inputs.cases.CaseRuleDetails0PropertiesArgs | inputs.cases.CaseRuleDetails1PropertiesArgs>;
|
|
81
|
+
/**
|
|
82
|
+
* The tags that you attach to this case rule.
|
|
83
|
+
*/
|
|
84
|
+
tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
|
|
85
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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.CaseRule = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* A case rule. In the Amazon Connect admin website, case rules are known as case field conditions. Case rules are used to define the situations under which fields should have certain effects (such as required).
|
|
10
|
+
*/
|
|
11
|
+
class CaseRule extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing CaseRule 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 CaseRule(name, undefined, { ...opts, id: id });
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of CaseRule. 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'] === CaseRule.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a CaseRule 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?.rule === undefined && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'rule'");
|
|
46
|
+
}
|
|
47
|
+
resourceInputs["description"] = args?.description;
|
|
48
|
+
resourceInputs["domainId"] = args?.domainId;
|
|
49
|
+
resourceInputs["name"] = args?.name;
|
|
50
|
+
resourceInputs["rule"] = args?.rule;
|
|
51
|
+
resourceInputs["tags"] = args?.tags;
|
|
52
|
+
resourceInputs["caseRuleArn"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["caseRuleId"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["createdTime"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["lastModifiedTime"] = undefined /*out*/;
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
resourceInputs["caseRuleArn"] = undefined /*out*/;
|
|
59
|
+
resourceInputs["caseRuleId"] = undefined /*out*/;
|
|
60
|
+
resourceInputs["createdTime"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["description"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["domainId"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["lastModifiedTime"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["rule"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
67
|
+
}
|
|
68
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
69
|
+
const replaceOnChanges = { replaceOnChanges: ["domainId"] };
|
|
70
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
71
|
+
super(CaseRule.__pulumiType, name, resourceInputs, opts);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.CaseRule = CaseRule;
|
|
75
|
+
/** @internal */
|
|
76
|
+
CaseRule.__pulumiType = 'aws-native:cases:CaseRule';
|
|
77
|
+
//# sourceMappingURL=caseRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"caseRule.js","sourceRoot":"","sources":["../../cases/caseRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACrE,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,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IAoCD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAkB,EAAE,IAAmC;QAC7E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAA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C;YAC3C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,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,UAAU,CAAC,EAAE,CAAC;QAC5D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAnGL,4BAoGC;AAvFG,gBAAgB;AACO,qBAAY,GAAG,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
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
|
+
* A domain, which is a container for all case data, such as cases, fields, templates and layouts. Each Amazon Connect instance can be associated with only one Cases domain.
|
|
7
|
+
*/
|
|
8
|
+
export declare class Domain extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing Domain 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): Domain;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of Domain. 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 Domain;
|
|
23
|
+
/**
|
|
24
|
+
* The time at which the domain was created.
|
|
25
|
+
*/
|
|
26
|
+
readonly createdTime: pulumi.Output<string>;
|
|
27
|
+
/**
|
|
28
|
+
* The Amazon Resource Name (ARN) for the Cases domain.
|
|
29
|
+
*/
|
|
30
|
+
readonly domainArn: pulumi.Output<string>;
|
|
31
|
+
/**
|
|
32
|
+
* The unique identifier of the Cases domain.
|
|
33
|
+
*/
|
|
34
|
+
readonly domainId: pulumi.Output<string>;
|
|
35
|
+
readonly domainStatus: pulumi.Output<enums.cases.DomainStatus>;
|
|
36
|
+
/**
|
|
37
|
+
* The name for your Cases domain. It must be unique for your AWS account.
|
|
38
|
+
*/
|
|
39
|
+
readonly name: pulumi.Output<string>;
|
|
40
|
+
/**
|
|
41
|
+
* The tags that you attach to this domain.
|
|
42
|
+
*/
|
|
43
|
+
readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
|
|
44
|
+
/**
|
|
45
|
+
* Create a Domain resource with the given unique name, arguments, and options.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resource.
|
|
48
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
49
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
50
|
+
*/
|
|
51
|
+
constructor(name: string, args?: DomainArgs, opts?: pulumi.CustomResourceOptions);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* The set of arguments for constructing a Domain resource.
|
|
55
|
+
*/
|
|
56
|
+
export interface DomainArgs {
|
|
57
|
+
/**
|
|
58
|
+
* The name for your Cases domain. It must be unique for your AWS account.
|
|
59
|
+
*/
|
|
60
|
+
name?: pulumi.Input<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The tags that you attach to this domain.
|
|
63
|
+
*/
|
|
64
|
+
tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
|
|
65
|
+
}
|
package/cases/domain.js
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
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.Domain = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* A domain, which is a container for all case data, such as cases, fields, templates and layouts. Each Amazon Connect instance can be associated with only one Cases domain.
|
|
10
|
+
*/
|
|
11
|
+
class Domain extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing Domain 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 Domain(name, undefined, { ...opts, id: id });
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of Domain. 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'] === Domain.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a Domain 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["name"] = args?.name;
|
|
45
|
+
resourceInputs["tags"] = args?.tags;
|
|
46
|
+
resourceInputs["createdTime"] = undefined /*out*/;
|
|
47
|
+
resourceInputs["domainArn"] = undefined /*out*/;
|
|
48
|
+
resourceInputs["domainId"] = undefined /*out*/;
|
|
49
|
+
resourceInputs["domainStatus"] = undefined /*out*/;
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
resourceInputs["createdTime"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["domainArn"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["domainId"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["domainStatus"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
57
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
58
|
+
}
|
|
59
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
60
|
+
const replaceOnChanges = { replaceOnChanges: ["name"] };
|
|
61
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
62
|
+
super(Domain.__pulumiType, name, resourceInputs, opts);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.Domain = Domain;
|
|
66
|
+
/** @internal */
|
|
67
|
+
Domain.__pulumiType = 'aws-native:cases:Domain';
|
|
68
|
+
//# sourceMappingURL=domain.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domain.js","sourceRoot":"","sources":["../../cases/domain.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,EAAE,EAAE,GAAG,IAA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YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC;QACxD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA9EL,wBA+EC;AAlEG,gBAAgB;AACO,mBAAY,GAAG,yBAAyB,CAAC"}
|
package/cases/field.d.ts
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
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
|
+
* A field in the Cases domain. This field is used to define the case object model (that is, defines what data can be captured on cases) in a Cases domain.
|
|
7
|
+
*/
|
|
8
|
+
export declare class Field extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing Field 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): Field;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of Field. 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 Field;
|
|
23
|
+
/**
|
|
24
|
+
* The time at which the field was created.
|
|
25
|
+
*/
|
|
26
|
+
readonly createdTime: pulumi.Output<string>;
|
|
27
|
+
/**
|
|
28
|
+
* A description explaining the purpose and usage of this field in cases. Helps agents and administrators understand what information should be captured in this field.
|
|
29
|
+
*/
|
|
30
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* The unique identifier of the Cases domain.
|
|
33
|
+
*/
|
|
34
|
+
readonly domainId: pulumi.Output<string | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* The Amazon Resource Name (ARN) of the field.
|
|
37
|
+
*/
|
|
38
|
+
readonly fieldArn: pulumi.Output<string>;
|
|
39
|
+
/**
|
|
40
|
+
* The unique identifier of a field.
|
|
41
|
+
*/
|
|
42
|
+
readonly fieldId: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* The time at which the field was created or last modified.
|
|
45
|
+
*/
|
|
46
|
+
readonly lastModifiedTime: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* The display name of the field as it appears to agents in the case interface. Should be descriptive and user-friendly (e.g., 'Customer Priority Level', 'Issue Category').
|
|
49
|
+
*/
|
|
50
|
+
readonly name: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Indicates whether this is a System field (predefined by AWS) or a Custom field (created by your organization). System fields cannot be modified or deleted.
|
|
53
|
+
*/
|
|
54
|
+
readonly namespace: pulumi.Output<enums.cases.FieldNamespace>;
|
|
55
|
+
readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
|
|
56
|
+
readonly type: pulumi.Output<enums.cases.FieldType>;
|
|
57
|
+
/**
|
|
58
|
+
* Create a Field resource with the given unique name, arguments, and options.
|
|
59
|
+
*
|
|
60
|
+
* @param name The _unique_ name of the resource.
|
|
61
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
62
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
63
|
+
*/
|
|
64
|
+
constructor(name: string, args: FieldArgs, opts?: pulumi.CustomResourceOptions);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* The set of arguments for constructing a Field resource.
|
|
68
|
+
*/
|
|
69
|
+
export interface FieldArgs {
|
|
70
|
+
/**
|
|
71
|
+
* A description explaining the purpose and usage of this field in cases. Helps agents and administrators understand what information should be captured in this field.
|
|
72
|
+
*/
|
|
73
|
+
description?: pulumi.Input<string>;
|
|
74
|
+
/**
|
|
75
|
+
* The unique identifier of the Cases domain.
|
|
76
|
+
*/
|
|
77
|
+
domainId?: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The display name of the field as it appears to agents in the case interface. Should be descriptive and user-friendly (e.g., 'Customer Priority Level', 'Issue Category').
|
|
80
|
+
*/
|
|
81
|
+
name?: pulumi.Input<string>;
|
|
82
|
+
tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
|
|
83
|
+
type: pulumi.Input<enums.cases.FieldType>;
|
|
84
|
+
}
|
package/cases/field.js
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
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.Field = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* A field in the Cases domain. This field is used to define the case object model (that is, defines what data can be captured on cases) in a Cases domain.
|
|
10
|
+
*/
|
|
11
|
+
class Field extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing Field 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 Field(name, undefined, { ...opts, id: id });
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of Field. 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'] === Field.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a Field 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?.type === undefined && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'type'");
|
|
46
|
+
}
|
|
47
|
+
resourceInputs["description"] = args?.description;
|
|
48
|
+
resourceInputs["domainId"] = args?.domainId;
|
|
49
|
+
resourceInputs["name"] = args?.name;
|
|
50
|
+
resourceInputs["tags"] = args?.tags;
|
|
51
|
+
resourceInputs["type"] = args?.type;
|
|
52
|
+
resourceInputs["createdTime"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["fieldArn"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["fieldId"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["lastModifiedTime"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["namespace"] = undefined /*out*/;
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
resourceInputs["createdTime"] = undefined /*out*/;
|
|
60
|
+
resourceInputs["description"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["domainId"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["fieldArn"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["fieldId"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["lastModifiedTime"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["namespace"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
69
|
+
}
|
|
70
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
71
|
+
const replaceOnChanges = { replaceOnChanges: ["domainId", "type"] };
|
|
72
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
73
|
+
super(Field.__pulumiType, name, resourceInputs, opts);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
exports.Field = Field;
|
|
77
|
+
/** @internal */
|
|
78
|
+
Field.__pulumiType = 'aws-native:cases:Field';
|
|
79
|
+
//# sourceMappingURL=field.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field.js","sourceRoot":"","sources":["../../cases/field.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,KAAK,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,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,GAAG,CAAC,cAAc,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;IACtD,CAA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AAO,CAAC;YAC9C,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,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,UAAU,EAAE,MAAM,CAAC,EAAE,CAAC;QACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAtGL,sBAuGC;AA1FG,gBAAgB;AACO,kBAAY,GAAG,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* A case rule. In the Amazon Connect admin website, case rules are known as case field conditions. Case rules are used to define the situations under which fields should have certain effects (such as required).
|
|
5
|
+
*/
|
|
6
|
+
export declare function getCaseRule(args: GetCaseRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetCaseRuleResult>;
|
|
7
|
+
export interface GetCaseRuleArgs {
|
|
8
|
+
/**
|
|
9
|
+
* The Amazon Resource Name (ARN) of a case rule.
|
|
10
|
+
*/
|
|
11
|
+
caseRuleArn: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GetCaseRuleResult {
|
|
14
|
+
/**
|
|
15
|
+
* The Amazon Resource Name (ARN) of a case rule.
|
|
16
|
+
*/
|
|
17
|
+
readonly caseRuleArn?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The unique identifier of a case rule.
|
|
20
|
+
*/
|
|
21
|
+
readonly caseRuleId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The time at which the case rule was created.
|
|
24
|
+
*/
|
|
25
|
+
readonly createdTime?: string;
|
|
26
|
+
/**
|
|
27
|
+
* A description explaining the purpose and behavior of this case rule. Helps administrators understand when and why this rule applies to case fields.
|
|
28
|
+
*/
|
|
29
|
+
readonly description?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The time at which the case rule was created or last modified.
|
|
32
|
+
*/
|
|
33
|
+
readonly lastModifiedTime?: string;
|
|
34
|
+
/**
|
|
35
|
+
* A descriptive name for the case rule. Must be unique within the domain and should clearly indicate the rule's purpose (e.g., 'Priority Field Required for Urgent Cases').
|
|
36
|
+
*/
|
|
37
|
+
readonly name?: string;
|
|
38
|
+
readonly rule?: outputs.cases.CaseRuleDetails0Properties | outputs.cases.CaseRuleDetails1Properties;
|
|
39
|
+
/**
|
|
40
|
+
* The tags that you attach to this case rule.
|
|
41
|
+
*/
|
|
42
|
+
readonly tags?: outputs.Tag[];
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* A case rule. In the Amazon Connect admin website, case rules are known as case field conditions. Case rules are used to define the situations under which fields should have certain effects (such as required).
|
|
46
|
+
*/
|
|
47
|
+
export declare function getCaseRuleOutput(args: GetCaseRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCaseRuleResult>;
|
|
48
|
+
export interface GetCaseRuleOutputArgs {
|
|
49
|
+
/**
|
|
50
|
+
* The Amazon Resource Name (ARN) of a case rule.
|
|
51
|
+
*/
|
|
52
|
+
caseRuleArn: pulumi.Input<string>;
|
|
53
|
+
}
|
|
@@ -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.getCaseRuleOutput = exports.getCaseRule = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* A case rule. In the Amazon Connect admin website, case rules are known as case field conditions. Case rules are used to define the situations under which fields should have certain effects (such as required).
|
|
10
|
+
*/
|
|
11
|
+
function getCaseRule(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("aws-native:cases:getCaseRule", {
|
|
14
|
+
"caseRuleArn": args.caseRuleArn,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getCaseRule = getCaseRule;
|
|
18
|
+
/**
|
|
19
|
+
* A case rule. In the Amazon Connect admin website, case rules are known as case field conditions. Case rules are used to define the situations under which fields should have certain effects (such as required).
|
|
20
|
+
*/
|
|
21
|
+
function getCaseRuleOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("aws-native:cases:getCaseRule", {
|
|
24
|
+
"caseRuleArn": args.caseRuleArn,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getCaseRuleOutput = getCaseRuleOutput;
|
|
28
|
+
//# sourceMappingURL=getCaseRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCaseRule.js","sourceRoot":"","sources":["../../cases/getCaseRule.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,8BAA8B,EAAE;QACzD,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC;AAwCD;;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,8BAA8B,EAAE;QAC/D,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC"}
|