@pulumi/aws 4.31.0 → 4.33.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/acm/getCertificate.d.ts +2 -2
- package/alb/loadBalancer.d.ts +2 -2
- package/alb/loadBalancer.js +2 -2
- package/alb/targetGroup.d.ts +3 -3
- package/appconfig/application.d.ts +5 -5
- package/appconfig/configurationProfile.d.ts +5 -5
- package/appconfig/deployment.d.ts +5 -5
- package/appconfig/deploymentStrategy.d.ts +5 -5
- package/appconfig/environment.d.ts +5 -5
- package/applicationloadbalancing/loadBalancer.d.ts +2 -2
- package/applicationloadbalancing/loadBalancer.js +2 -2
- package/applicationloadbalancing/targetGroup.d.ts +3 -3
- package/appstream/fleet.d.ts +1 -1
- package/appstream/fleet.js +1 -1
- package/appstream/imageBuilder.d.ts +5 -5
- package/appsync/graphQLApi.d.ts +55 -24
- package/appsync/graphQLApi.js +42 -21
- package/appsync/graphQLApi.js.map +1 -1
- package/autoscaling/getAmiIds.d.ts +4 -4
- package/autoscaling/getAmiIds.js +4 -4
- package/backup/regionSettings.d.ts +25 -0
- package/backup/regionSettings.js +9 -0
- package/backup/regionSettings.js.map +1 -1
- package/cfg/organizationConformancePack.d.ts +1 -1
- package/cfg/organizationConformancePack.js +1 -1
- package/chime/voiceConnectorTerminationCredentials.d.ts +1 -1
- package/chime/voiceConnectorTerminationCredentials.js +1 -1
- package/cloudcontrol/getResource.d.ts +3 -0
- package/cloudcontrol/getResource.js.map +1 -1
- package/cloudcontrol/resource.d.ts +3 -3
- package/cloudfront/getOriginRequestPolicy.d.ts +1 -1
- package/cloudfront/originRequestPolicy.d.ts +3 -3
- package/cloudwatch/eventTarget.d.ts +4 -0
- package/cloudwatch/eventTarget.js +4 -0
- package/cloudwatch/eventTarget.js.map +1 -1
- package/codecommit/approvalRuleTemplateAssociation.d.ts +83 -0
- package/codecommit/approvalRuleTemplateAssociation.js +82 -0
- package/codecommit/approvalRuleTemplateAssociation.js.map +1 -0
- package/codecommit/index.d.ts +1 -0
- package/codecommit/index.js +5 -0
- package/codecommit/index.js.map +1 -1
- package/connect/botAssociation.d.ts +136 -0
- package/connect/botAssociation.js +134 -0
- package/connect/botAssociation.js.map +1 -0
- package/connect/contactFlow.d.ts +5 -5
- package/connect/getBotAssociation.d.ts +59 -0
- package/connect/getBotAssociation.js +43 -0
- package/connect/getBotAssociation.js.map +1 -0
- package/connect/getHoursOfOperation.d.ts +122 -0
- package/connect/getHoursOfOperation.js +56 -0
- package/connect/getHoursOfOperation.js.map +1 -0
- package/connect/getLambdaFunctionAssociation.d.ts +55 -0
- package/connect/getLambdaFunctionAssociation.js +40 -0
- package/connect/getLambdaFunctionAssociation.js.map +1 -0
- package/connect/hoursOfOperation.d.ts +201 -0
- package/connect/hoursOfOperation.js +128 -0
- package/connect/hoursOfOperation.js.map +1 -0
- package/connect/index.d.ts +6 -0
- package/connect/index.js +18 -0
- package/connect/index.js.map +1 -1
- package/connect/lambdaFunctionAssociation.d.ts +84 -0
- package/connect/lambdaFunctionAssociation.js +83 -0
- package/connect/lambdaFunctionAssociation.js.map +1 -0
- package/detective/graph.d.ts +103 -0
- package/detective/graph.js +81 -0
- package/detective/graph.js.map +1 -0
- package/detective/index.d.ts +1 -0
- package/detective/index.js +33 -0
- package/detective/index.js.map +1 -0
- package/dms/endpoint.d.ts +24 -0
- package/dms/endpoint.js +4 -0
- package/dms/endpoint.js.map +1 -1
- package/dms/replicationInstance.d.ts +3 -3
- package/docdb/cluster.d.ts +3 -3
- package/dynamodb/getTable.d.ts +1 -0
- package/dynamodb/getTable.js.map +1 -1
- package/dynamodb/table.d.ts +60 -12
- package/dynamodb/table.js +8 -6
- package/dynamodb/table.js.map +1 -1
- package/ebs/snapshot.d.ts +3 -3
- package/ebs/snapshotCopy.d.ts +3 -3
- package/ebs/volume.d.ts +9 -0
- package/ebs/volume.js.map +1 -1
- package/ec2/capacityReservation.d.ts +9 -0
- package/ec2/capacityReservation.js.map +1 -1
- package/ec2/carrierGateway.d.ts +9 -0
- package/ec2/carrierGateway.js.map +1 -1
- package/ec2/dedicatedHost.d.ts +9 -0
- package/ec2/dedicatedHost.js.map +1 -1
- package/ec2/egressOnlyInternetGateway.d.ts +9 -0
- package/ec2/egressOnlyInternetGateway.js.map +1 -1
- package/ec2/eip.d.ts +9 -0
- package/ec2/eip.js.map +1 -1
- package/ec2/fleet.d.ts +9 -0
- package/ec2/fleet.js.map +1 -1
- package/ec2/index.d.ts +1 -0
- package/ec2/index.js +5 -0
- package/ec2/index.js.map +1 -1
- package/ec2/keyPair.d.ts +9 -0
- package/ec2/keyPair.js.map +1 -1
- package/ec2/localGatewayRouteTableVpcAssociation.d.ts +9 -0
- package/ec2/localGatewayRouteTableVpcAssociation.js.map +1 -1
- package/ec2/managedPrefixList.d.ts +9 -0
- package/ec2/managedPrefixList.js.map +1 -1
- package/ec2/subnetCidrReservation.d.ts +116 -0
- package/ec2/subnetCidrReservation.js +92 -0
- package/ec2/subnetCidrReservation.js.map +1 -0
- package/ec2/trafficMirrorFilter.d.ts +9 -0
- package/ec2/trafficMirrorFilter.js.map +1 -1
- package/ec2/trafficMirrorSession.d.ts +9 -0
- package/ec2/trafficMirrorSession.js.map +1 -1
- package/ec2/trafficMirrorTarget.d.ts +9 -0
- package/ec2/trafficMirrorTarget.js.map +1 -1
- package/ec2/transitGatewayPeeringAttachmentAccepter.d.ts +9 -0
- package/ec2/transitGatewayPeeringAttachmentAccepter.js.map +1 -1
- package/ec2/vpc.d.ts +28 -16
- package/ec2/vpc.js +1 -1
- package/ec2/vpc.js.map +1 -1
- package/ec2/vpcIpam.d.ts +5 -5
- package/ec2/vpcIpamPool.d.ts +9 -9
- package/ec2/vpcIpamPool.js +1 -1
- package/ec2/vpcIpv6CidrBlockAssociation.d.ts +10 -2
- package/ec2/vpcIpv6CidrBlockAssociation.js +1 -2
- package/ec2/vpcIpv6CidrBlockAssociation.js.map +1 -1
- package/ec2/vpcPeeringConnection.d.ts +0 -6
- package/ec2/vpcPeeringConnection.js +1 -1
- package/ec2/vpcPeeringConnection.js.map +1 -1
- package/ec2/vpcPeeringConnectionAccepter.d.ts +0 -6
- package/ec2/vpcPeeringConnectionAccepter.js +1 -1
- package/ec2/vpcPeeringConnectionAccepter.js.map +1 -1
- package/ec2clientvpn/endpoint.d.ts +9 -0
- package/ec2clientvpn/endpoint.js.map +1 -1
- package/ec2transitgateway/peeringAttachment.d.ts +9 -0
- package/ec2transitgateway/peeringAttachment.js.map +1 -1
- package/ec2transitgateway/routeTable.d.ts +9 -0
- package/ec2transitgateway/routeTable.js.map +1 -1
- package/ec2transitgateway/transitGateway.d.ts +9 -0
- package/ec2transitgateway/transitGateway.js.map +1 -1
- package/ec2transitgateway/vpcAttachment.d.ts +9 -0
- package/ec2transitgateway/vpcAttachment.js.map +1 -1
- package/ec2transitgateway/vpcAttachmentAccepter.d.ts +9 -0
- package/ec2transitgateway/vpcAttachmentAccepter.js.map +1 -1
- package/ecr/index.d.ts +2 -0
- package/ecr/index.js +10 -0
- package/ecr/index.js.map +1 -1
- package/ecr/pullThroughCacheRule.d.ts +94 -0
- package/ecr/pullThroughCacheRule.js +87 -0
- package/ecr/pullThroughCacheRule.js.map +1 -0
- package/ecr/registryScanningConfiguration.d.ts +125 -0
- package/ecr/registryScanningConfiguration.js +114 -0
- package/ecr/registryScanningConfiguration.js.map +1 -0
- package/ecr/repository.d.ts +9 -0
- package/ecr/repository.js.map +1 -1
- package/ecrpublic/index.d.ts +1 -0
- package/ecrpublic/index.js +5 -0
- package/ecrpublic/index.js.map +1 -1
- package/ecrpublic/repositoryPolicy.d.ts +113 -0
- package/ecrpublic/repositoryPolicy.js +115 -0
- package/ecrpublic/repositoryPolicy.js.map +1 -0
- package/ecs/accountSettingDefault.d.ts +17 -0
- package/ecs/accountSettingDefault.js +17 -0
- package/ecs/accountSettingDefault.js.map +1 -1
- package/ecs/capacityProvider.d.ts +9 -0
- package/ecs/capacityProvider.js.map +1 -1
- package/ecs/cluster.d.ts +9 -0
- package/ecs/cluster.js.map +1 -1
- package/ecs/index.d.ts +1 -0
- package/ecs/index.js +5 -0
- package/ecs/index.js.map +1 -1
- package/ecs/taskDefinition.d.ts +58 -18
- package/ecs/taskDefinition.js +48 -18
- package/ecs/taskDefinition.js.map +1 -1
- package/ecs/taskSet.d.ts +264 -0
- package/ecs/taskSet.js +107 -0
- package/ecs/taskSet.js.map +1 -0
- package/efs/accessPoint.d.ts +9 -0
- package/efs/accessPoint.js.map +1 -1
- package/efs/fileSystem.d.ts +9 -0
- package/efs/fileSystem.js.map +1 -1
- package/eks/fargateProfile.d.ts +9 -0
- package/eks/fargateProfile.js.map +1 -1
- package/eks/identityProviderConfig.d.ts +9 -0
- package/eks/identityProviderConfig.js.map +1 -1
- package/elasticache/cluster.d.ts +9 -0
- package/elasticache/cluster.js.map +1 -1
- package/elasticache/replicationGroup.d.ts +21 -0
- package/elasticache/replicationGroup.js +2 -0
- package/elasticache/replicationGroup.js.map +1 -1
- package/elasticbeanstalk/application.d.ts +9 -0
- package/elasticbeanstalk/application.js.map +1 -1
- package/elasticbeanstalk/applicationVersion.d.ts +9 -0
- package/elasticbeanstalk/applicationVersion.js.map +1 -1
- package/elasticbeanstalk/environment.d.ts +9 -0
- package/elasticbeanstalk/environment.js.map +1 -1
- package/elasticloadbalancing/loadBalancer.d.ts +9 -0
- package/elasticloadbalancing/loadBalancer.js.map +1 -1
- package/elasticloadbalancingv2/loadBalancer.d.ts +2 -2
- package/elasticloadbalancingv2/loadBalancer.js +2 -2
- package/elasticloadbalancingv2/targetGroup.d.ts +3 -3
- package/elasticsearch/domain.d.ts +12 -0
- package/elasticsearch/domain.js +2 -0
- package/elasticsearch/domain.js.map +1 -1
- package/elasticsearch/getDomain.d.ts +4 -0
- package/elasticsearch/getDomain.js.map +1 -1
- package/elb/loadBalancer.d.ts +9 -0
- package/elb/loadBalancer.js.map +1 -1
- package/emr/cluster.d.ts +2 -2
- package/emr/index.d.ts +2 -0
- package/emr/index.js +10 -0
- package/emr/index.js.map +1 -1
- package/emr/studio.d.ts +246 -0
- package/emr/studio.js +131 -0
- package/emr/studio.js.map +1 -0
- package/emr/studioSessionMapping.d.ts +121 -0
- package/emr/studioSessionMapping.js +93 -0
- package/emr/studioSessionMapping.js.map +1 -0
- package/fsx/backup.d.ts +55 -12
- package/fsx/backup.js +34 -4
- package/fsx/backup.js.map +1 -1
- package/fsx/ontapFileSystem.d.ts +5 -5
- package/fsx/ontapStorageVirtualMachine.d.ts +5 -5
- package/fsx/ontapVolume.d.ts +5 -5
- package/getAutoscalingGroups.d.ts +4 -4
- package/getAutoscalingGroups.js +4 -4
- package/glue/connection.d.ts +5 -5
- package/iam/role.d.ts +6 -6
- package/iam/serviceLinkedRole.d.ts +36 -0
- package/iam/serviceLinkedRole.js +4 -0
- package/iam/serviceLinkedRole.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +5 -3
- package/index.js.map +1 -1
- package/iot/thingType.d.ts +5 -5
- package/kinesis/analyticsApplication.d.ts +9 -0
- package/kinesis/analyticsApplication.js.map +1 -1
- package/kinesis/firehoseDeliveryStream.d.ts +9 -0
- package/kinesis/firehoseDeliveryStream.js.map +1 -1
- package/kinesis/getStream.d.ts +5 -0
- package/kinesis/getStream.js.map +1 -1
- package/kinesis/stream.d.ts +31 -6
- package/kinesis/stream.js +5 -3
- package/kinesis/stream.js.map +1 -1
- package/kinesis/videoStream.d.ts +9 -0
- package/kinesis/videoStream.js.map +1 -1
- package/kinesisanalyticsv2/application.d.ts +9 -0
- package/kinesisanalyticsv2/application.js.map +1 -1
- package/kms/key.d.ts +9 -0
- package/kms/key.js.map +1 -1
- package/kms/replicaExternalKey.d.ts +9 -0
- package/kms/replicaExternalKey.js.map +1 -1
- package/kms/replicaKey.d.ts +9 -0
- package/kms/replicaKey.js.map +1 -1
- package/lambda/eventSourceMapping.d.ts +40 -0
- package/lambda/eventSourceMapping.js +30 -0
- package/lambda/eventSourceMapping.js.map +1 -1
- package/lb/loadBalancer.d.ts +2 -2
- package/lb/loadBalancer.js +2 -2
- package/lb/targetGroup.d.ts +3 -3
- package/lightsail/instance.d.ts +38 -2
- package/lightsail/instance.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/quicksight/dataSource.d.ts +5 -5
- package/quicksight/user.d.ts +4 -3
- package/quicksight/user.js +1 -0
- package/quicksight/user.js.map +1 -1
- package/route53/hostedZoneDnsSec.d.ts +2 -0
- package/route53/hostedZoneDnsSec.js +2 -0
- package/route53/hostedZoneDnsSec.js.map +1 -1
- package/route53recoveryreadiness/cell.d.ts +5 -5
- package/route53recoveryreadiness/readinessCheck.d.ts +5 -5
- package/route53recoveryreadiness/recoveryGroup.d.ts +5 -5
- package/route53recoveryreadiness/resourceSet.d.ts +5 -5
- package/s3/accessPoint.d.ts +45 -13
- package/s3/accessPoint.js +32 -0
- package/s3/accessPoint.js.map +1 -1
- package/s3/accountPublicAccessBlock.d.ts +3 -3
- package/s3/bucket.d.ts +1 -1
- package/s3/bucket.js +1 -1
- package/s3/bucketObject.d.ts +5 -5
- package/s3/bucketPolicy.d.ts +22 -24
- package/s3/bucketPolicy.js +19 -21
- package/s3/bucketPolicy.js.map +1 -1
- package/s3/bucketReplicationConfig.d.ts +2 -2
- package/s3/bucketReplicationConfig.js +2 -2
- package/s3/objectCopy.d.ts +3 -6
- package/s3/objectCopy.js.map +1 -1
- package/s3control/multiRegionAccessPoint.d.ts +9 -0
- package/s3control/multiRegionAccessPoint.js.map +1 -1
- package/sagemaker/appImageConfig.d.ts +5 -5
- package/sagemaker/codeRepository.d.ts +5 -5
- package/sagemaker/deviceFleet.d.ts +5 -5
- package/sagemaker/endpoint.d.ts +3 -3
- package/sagemaker/flowDefinition.d.ts +5 -5
- package/sagemaker/humanTaskUI.d.ts +5 -5
- package/sagemaker/studioLifecycleConfig.d.ts +5 -5
- package/sagemaker/workteam.d.ts +5 -5
- package/schemas/discoverer.d.ts +9 -0
- package/schemas/discoverer.js.map +1 -1
- package/schemas/registry.d.ts +9 -0
- package/schemas/registry.js.map +1 -1
- package/schemas/schema.d.ts +9 -0
- package/schemas/schema.js.map +1 -1
- package/secretsmanager/secret.d.ts +3 -3
- package/secretsmanager/secretPolicy.d.ts +3 -3
- package/securityhub/organizationConfiguration.d.ts +22 -0
- package/securityhub/organizationConfiguration.js +22 -0
- package/securityhub/organizationConfiguration.js.map +1 -1
- package/servicequotas/getServiceQuota.d.ts +6 -6
- package/shield/protectionGroup.d.ts +5 -5
- package/sns/topic.d.ts +4 -6
- package/sns/topic.js +4 -6
- package/sns/topic.js.map +1 -1
- package/sqs/queue.d.ts +25 -0
- package/sqs/queue.js +15 -0
- package/sqs/queue.js.map +1 -1
- package/storagegateway/fileSystemAssociation.d.ts +5 -5
- package/storagegateway/nfsFileShare.d.ts +3 -3
- package/storagegateway/smbFileShare.d.ts +3 -3
- package/timestreamwrite/database.d.ts +9 -0
- package/timestreamwrite/database.js.map +1 -1
- package/timestreamwrite/table.d.ts +9 -0
- package/timestreamwrite/table.js.map +1 -1
- package/transfer/server.d.ts +35 -3
- package/transfer/server.js +13 -0
- package/transfer/server.js.map +1 -1
- package/types/input.d.ts +307 -20
- package/types/output.d.ts +372 -17
- package/xray/group.d.ts +9 -0
- package/xray/group.js.map +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approvalRuleTemplateAssociation.js","sourceRoot":"","sources":["../../codecommit/approvalRuleTemplateAssociation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,+BAAgC,SAAQ,MAAM,CAAC,cAAc;IA6CtE,YAAY,IAAY,EAAE,WAAwF,EAAE,IAAmC;QACnJ,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KA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I,+BAA+B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtF,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,+BAA+B,CAAC,YAAY,CAAC;IAChF,CAAC;;AA1BL,0EAoEC;AAtDG,gBAAgB;AACO,4CAAY,GAAG,gFAAgF,CAAC"}
|
package/codecommit/index.d.ts
CHANGED
package/codecommit/index.js
CHANGED
|
@@ -16,12 +16,14 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
16
16
|
const utilities = require("../utilities");
|
|
17
17
|
// Export members:
|
|
18
18
|
__exportStar(require("./approvalRuleTemplate"), exports);
|
|
19
|
+
__exportStar(require("./approvalRuleTemplateAssociation"), exports);
|
|
19
20
|
__exportStar(require("./getApprovalRuleTemplate"), exports);
|
|
20
21
|
__exportStar(require("./getRepository"), exports);
|
|
21
22
|
__exportStar(require("./repository"), exports);
|
|
22
23
|
__exportStar(require("./trigger"), exports);
|
|
23
24
|
// Import resources to register:
|
|
24
25
|
const approvalRuleTemplate_1 = require("./approvalRuleTemplate");
|
|
26
|
+
const approvalRuleTemplateAssociation_1 = require("./approvalRuleTemplateAssociation");
|
|
25
27
|
const repository_1 = require("./repository");
|
|
26
28
|
const trigger_1 = require("./trigger");
|
|
27
29
|
const _module = {
|
|
@@ -30,6 +32,8 @@ const _module = {
|
|
|
30
32
|
switch (type) {
|
|
31
33
|
case "aws:codecommit/approvalRuleTemplate:ApprovalRuleTemplate":
|
|
32
34
|
return new approvalRuleTemplate_1.ApprovalRuleTemplate(name, undefined, { urn });
|
|
35
|
+
case "aws:codecommit/approvalRuleTemplateAssociation:ApprovalRuleTemplateAssociation":
|
|
36
|
+
return new approvalRuleTemplateAssociation_1.ApprovalRuleTemplateAssociation(name, undefined, { urn });
|
|
33
37
|
case "aws:codecommit/repository:Repository":
|
|
34
38
|
return new repository_1.Repository(name, undefined, { urn });
|
|
35
39
|
case "aws:codecommit/trigger:Trigger":
|
|
@@ -40,6 +44,7 @@ const _module = {
|
|
|
40
44
|
},
|
|
41
45
|
};
|
|
42
46
|
pulumi.runtime.registerResourceModule("aws", "codecommit/approvalRuleTemplate", _module);
|
|
47
|
+
pulumi.runtime.registerResourceModule("aws", "codecommit/approvalRuleTemplateAssociation", _module);
|
|
43
48
|
pulumi.runtime.registerResourceModule("aws", "codecommit/repository", _module);
|
|
44
49
|
pulumi.runtime.registerResourceModule("aws", "codecommit/trigger", _module);
|
|
45
50
|
//# sourceMappingURL=index.js.map
|
package/codecommit/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../codecommit/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,yDAAuC;AACvC,4DAA0C;AAC1C,kDAAgC;AAChC,+CAA6B;AAC7B,4CAA0B;AAE1B,gCAAgC;AAChC,iEAA8D;AAC9D,6CAA0C;AAC1C,uCAAoC;AAEpC,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,0DAA0D;gBAC3D,OAAO,IAAI,2CAAoB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClE,KAAK,sCAAsC;gBACvC,OAAO,IAAI,uBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD,KAAK,gCAAgC;gBACjC,OAAO,IAAI,i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,CAAC,CAAA;YACxD,KAAK,gCAAgC;gBACjC,OAAO,IAAI,iBAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,iCAAiC,EAAE,OAAO,CAAC,CAAA;AACxF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,4CAA4C,EAAE,OAAO,CAAC,CAAA;AACnG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA;AAC9E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Allows the specified Amazon Connect instance to access the specified Amazon Lex (V1) bot. For more information see
|
|
5
|
+
* [Amazon Connect: Getting Started](https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-get-started.html) and [Add an Amazon Lex bot](https://docs.aws.amazon.com/connect/latest/adminguide/amazon-lex.html).
|
|
6
|
+
*
|
|
7
|
+
* > **NOTE:** This resource only currently supports Amazon Lex (V1) Associations.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
* ### Basic
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as aws from "@pulumi/aws";
|
|
15
|
+
*
|
|
16
|
+
* const example = new aws.connect.BotAssociation("example", {
|
|
17
|
+
* instanceId: aws_connect_instance.example.id,
|
|
18
|
+
* lexBot: {
|
|
19
|
+
* lexRegion: "us-west-2",
|
|
20
|
+
* name: "Test",
|
|
21
|
+
* },
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
* ### Including a sample Lex bot
|
|
25
|
+
*
|
|
26
|
+
* ```typescript
|
|
27
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
28
|
+
* import * as aws from "@pulumi/aws";
|
|
29
|
+
*
|
|
30
|
+
* const current = aws.getRegion({});
|
|
31
|
+
* const exampleIntent = new aws.lex.Intent("exampleIntent", {
|
|
32
|
+
* createVersion: true,
|
|
33
|
+
* name: "connect_lex_intent",
|
|
34
|
+
* fulfillmentActivity: {
|
|
35
|
+
* type: "ReturnIntent",
|
|
36
|
+
* },
|
|
37
|
+
* sampleUtterances: ["I would like to pick up flowers."],
|
|
38
|
+
* });
|
|
39
|
+
* const exampleBot = new aws.lex.Bot("exampleBot", {
|
|
40
|
+
* abortStatement: {
|
|
41
|
+
* messages: [{
|
|
42
|
+
* content: "Sorry, I am not able to assist at this time.",
|
|
43
|
+
* contentType: "PlainText",
|
|
44
|
+
* }],
|
|
45
|
+
* },
|
|
46
|
+
* clarificationPrompt: {
|
|
47
|
+
* maxAttempts: 2,
|
|
48
|
+
* messages: [{
|
|
49
|
+
* content: "I didn't understand you, what would you like to do?",
|
|
50
|
+
* contentType: "PlainText",
|
|
51
|
+
* }],
|
|
52
|
+
* },
|
|
53
|
+
* intents: [{
|
|
54
|
+
* intentName: exampleIntent.name,
|
|
55
|
+
* intentVersion: "1",
|
|
56
|
+
* }],
|
|
57
|
+
* childDirected: false,
|
|
58
|
+
* name: "connect_lex_bot",
|
|
59
|
+
* processBehavior: "BUILD",
|
|
60
|
+
* });
|
|
61
|
+
* const exampleBotAssociation = new aws.connect.BotAssociation("exampleBotAssociation", {
|
|
62
|
+
* instanceId: aws_connect_instance.example.id,
|
|
63
|
+
* lexBot: {
|
|
64
|
+
* lexRegion: current.then(current => current.name),
|
|
65
|
+
* name: exampleBot.name,
|
|
66
|
+
* },
|
|
67
|
+
* });
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* ## Import
|
|
71
|
+
*
|
|
72
|
+
* `aws_connect_bot_association` can be imported by using the Amazon Connect instance ID, Lex (V1) bot name, and Lex (V1) bot region separated by colons (`:`), e.g.
|
|
73
|
+
*
|
|
74
|
+
* ```sh
|
|
75
|
+
* $ pulumi import aws:connect/botAssociation:BotAssociation example aaaaaaaa-bbbb-cccc-dddd-111111111111:Example:us-west-2
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
export declare class BotAssociation extends pulumi.CustomResource {
|
|
79
|
+
/**
|
|
80
|
+
* Get an existing BotAssociation resource's state with the given name, ID, and optional extra
|
|
81
|
+
* properties used to qualify the lookup.
|
|
82
|
+
*
|
|
83
|
+
* @param name The _unique_ name of the resulting resource.
|
|
84
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
85
|
+
* @param state Any extra arguments used during the lookup.
|
|
86
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
87
|
+
*/
|
|
88
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BotAssociationState, opts?: pulumi.CustomResourceOptions): BotAssociation;
|
|
89
|
+
/**
|
|
90
|
+
* Returns true if the given object is an instance of BotAssociation. This is designed to work even
|
|
91
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
92
|
+
*/
|
|
93
|
+
static isInstance(obj: any): obj is BotAssociation;
|
|
94
|
+
/**
|
|
95
|
+
* The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
|
|
96
|
+
*/
|
|
97
|
+
readonly instanceId: pulumi.Output<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Configuration information of an Amazon Lex (V1) bot. Detailed below.
|
|
100
|
+
*/
|
|
101
|
+
readonly lexBot: pulumi.Output<outputs.connect.BotAssociationLexBot>;
|
|
102
|
+
/**
|
|
103
|
+
* Create a BotAssociation resource with the given unique name, arguments, and options.
|
|
104
|
+
*
|
|
105
|
+
* @param name The _unique_ name of the resource.
|
|
106
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
107
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
108
|
+
*/
|
|
109
|
+
constructor(name: string, args: BotAssociationArgs, opts?: pulumi.CustomResourceOptions);
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Input properties used for looking up and filtering BotAssociation resources.
|
|
113
|
+
*/
|
|
114
|
+
export interface BotAssociationState {
|
|
115
|
+
/**
|
|
116
|
+
* The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
|
|
117
|
+
*/
|
|
118
|
+
instanceId?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* Configuration information of an Amazon Lex (V1) bot. Detailed below.
|
|
121
|
+
*/
|
|
122
|
+
lexBot?: pulumi.Input<inputs.connect.BotAssociationLexBot>;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* The set of arguments for constructing a BotAssociation resource.
|
|
126
|
+
*/
|
|
127
|
+
export interface BotAssociationArgs {
|
|
128
|
+
/**
|
|
129
|
+
* The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
|
|
130
|
+
*/
|
|
131
|
+
instanceId: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* Configuration information of an Amazon Lex (V1) bot. Detailed below.
|
|
134
|
+
*/
|
|
135
|
+
lexBot: pulumi.Input<inputs.connect.BotAssociationLexBot>;
|
|
136
|
+
}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.BotAssociation = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Allows the specified Amazon Connect instance to access the specified Amazon Lex (V1) bot. For more information see
|
|
10
|
+
* [Amazon Connect: Getting Started](https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-get-started.html) and [Add an Amazon Lex bot](https://docs.aws.amazon.com/connect/latest/adminguide/amazon-lex.html).
|
|
11
|
+
*
|
|
12
|
+
* > **NOTE:** This resource only currently supports Amazon Lex (V1) Associations.
|
|
13
|
+
*
|
|
14
|
+
* ## Example Usage
|
|
15
|
+
* ### Basic
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as aws from "@pulumi/aws";
|
|
20
|
+
*
|
|
21
|
+
* const example = new aws.connect.BotAssociation("example", {
|
|
22
|
+
* instanceId: aws_connect_instance.example.id,
|
|
23
|
+
* lexBot: {
|
|
24
|
+
* lexRegion: "us-west-2",
|
|
25
|
+
* name: "Test",
|
|
26
|
+
* },
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
* ### Including a sample Lex bot
|
|
30
|
+
*
|
|
31
|
+
* ```typescript
|
|
32
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
33
|
+
* import * as aws from "@pulumi/aws";
|
|
34
|
+
*
|
|
35
|
+
* const current = aws.getRegion({});
|
|
36
|
+
* const exampleIntent = new aws.lex.Intent("exampleIntent", {
|
|
37
|
+
* createVersion: true,
|
|
38
|
+
* name: "connect_lex_intent",
|
|
39
|
+
* fulfillmentActivity: {
|
|
40
|
+
* type: "ReturnIntent",
|
|
41
|
+
* },
|
|
42
|
+
* sampleUtterances: ["I would like to pick up flowers."],
|
|
43
|
+
* });
|
|
44
|
+
* const exampleBot = new aws.lex.Bot("exampleBot", {
|
|
45
|
+
* abortStatement: {
|
|
46
|
+
* messages: [{
|
|
47
|
+
* content: "Sorry, I am not able to assist at this time.",
|
|
48
|
+
* contentType: "PlainText",
|
|
49
|
+
* }],
|
|
50
|
+
* },
|
|
51
|
+
* clarificationPrompt: {
|
|
52
|
+
* maxAttempts: 2,
|
|
53
|
+
* messages: [{
|
|
54
|
+
* content: "I didn't understand you, what would you like to do?",
|
|
55
|
+
* contentType: "PlainText",
|
|
56
|
+
* }],
|
|
57
|
+
* },
|
|
58
|
+
* intents: [{
|
|
59
|
+
* intentName: exampleIntent.name,
|
|
60
|
+
* intentVersion: "1",
|
|
61
|
+
* }],
|
|
62
|
+
* childDirected: false,
|
|
63
|
+
* name: "connect_lex_bot",
|
|
64
|
+
* processBehavior: "BUILD",
|
|
65
|
+
* });
|
|
66
|
+
* const exampleBotAssociation = new aws.connect.BotAssociation("exampleBotAssociation", {
|
|
67
|
+
* instanceId: aws_connect_instance.example.id,
|
|
68
|
+
* lexBot: {
|
|
69
|
+
* lexRegion: current.then(current => current.name),
|
|
70
|
+
* name: exampleBot.name,
|
|
71
|
+
* },
|
|
72
|
+
* });
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
75
|
+
* ## Import
|
|
76
|
+
*
|
|
77
|
+
* `aws_connect_bot_association` can be imported by using the Amazon Connect instance ID, Lex (V1) bot name, and Lex (V1) bot region separated by colons (`:`), e.g.
|
|
78
|
+
*
|
|
79
|
+
* ```sh
|
|
80
|
+
* $ pulumi import aws:connect/botAssociation:BotAssociation example aaaaaaaa-bbbb-cccc-dddd-111111111111:Example:us-west-2
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
83
|
+
class BotAssociation extends pulumi.CustomResource {
|
|
84
|
+
constructor(name, argsOrState, opts) {
|
|
85
|
+
let inputs = {};
|
|
86
|
+
opts = opts || {};
|
|
87
|
+
if (opts.id) {
|
|
88
|
+
const state = argsOrState;
|
|
89
|
+
inputs["instanceId"] = state ? state.instanceId : undefined;
|
|
90
|
+
inputs["lexBot"] = state ? state.lexBot : undefined;
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
const args = argsOrState;
|
|
94
|
+
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
95
|
+
throw new Error("Missing required property 'instanceId'");
|
|
96
|
+
}
|
|
97
|
+
if ((!args || args.lexBot === undefined) && !opts.urn) {
|
|
98
|
+
throw new Error("Missing required property 'lexBot'");
|
|
99
|
+
}
|
|
100
|
+
inputs["instanceId"] = args ? args.instanceId : undefined;
|
|
101
|
+
inputs["lexBot"] = args ? args.lexBot : undefined;
|
|
102
|
+
}
|
|
103
|
+
if (!opts.version) {
|
|
104
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
105
|
+
}
|
|
106
|
+
super(BotAssociation.__pulumiType, name, inputs, opts);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Get an existing BotAssociation resource's state with the given name, ID, and optional extra
|
|
110
|
+
* properties used to qualify the lookup.
|
|
111
|
+
*
|
|
112
|
+
* @param name The _unique_ name of the resulting resource.
|
|
113
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
114
|
+
* @param state Any extra arguments used during the lookup.
|
|
115
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
116
|
+
*/
|
|
117
|
+
static get(name, id, state, opts) {
|
|
118
|
+
return new BotAssociation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Returns true if the given object is an instance of BotAssociation. This is designed to work even
|
|
122
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
123
|
+
*/
|
|
124
|
+
static isInstance(obj) {
|
|
125
|
+
if (obj === undefined || obj === null) {
|
|
126
|
+
return false;
|
|
127
|
+
}
|
|
128
|
+
return obj['__pulumiType'] === BotAssociation.__pulumiType;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
exports.BotAssociation = BotAssociation;
|
|
132
|
+
/** @internal */
|
|
133
|
+
BotAssociation.__pulumiType = 'aws:connect/botAssociation:BotAssociation';
|
|
134
|
+
//# sourceMappingURL=botAssociation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{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,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SACrD;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;IAlED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;;AA1BL,wCAoEC;AAtDG,gBAAgB;AACO,2BAAY,GAAG,2CAA2C,CAAC"}
|
package/connect/contactFlow.d.ts
CHANGED
|
@@ -109,13 +109,13 @@ export declare class ContactFlow extends pulumi.CustomResource {
|
|
|
109
109
|
*/
|
|
110
110
|
readonly name: pulumi.Output<string>;
|
|
111
111
|
/**
|
|
112
|
-
* Tags to apply to the Contact Flow. If configured with a provider
|
|
112
|
+
* Tags to apply to the Contact Flow. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
113
113
|
*/
|
|
114
114
|
readonly tags: pulumi.Output<{
|
|
115
115
|
[key: string]: string;
|
|
116
116
|
} | undefined>;
|
|
117
117
|
/**
|
|
118
|
-
* A map of tags assigned to the resource, including those inherited from the provider
|
|
118
|
+
* A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
119
119
|
*/
|
|
120
120
|
readonly tagsAll: pulumi.Output<{
|
|
121
121
|
[key: string]: string;
|
|
@@ -167,13 +167,13 @@ export interface ContactFlowState {
|
|
|
167
167
|
*/
|
|
168
168
|
name?: pulumi.Input<string>;
|
|
169
169
|
/**
|
|
170
|
-
* Tags to apply to the Contact Flow. If configured with a provider
|
|
170
|
+
* Tags to apply to the Contact Flow. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
171
171
|
*/
|
|
172
172
|
tags?: pulumi.Input<{
|
|
173
173
|
[key: string]: pulumi.Input<string>;
|
|
174
174
|
}>;
|
|
175
175
|
/**
|
|
176
|
-
* A map of tags assigned to the resource, including those inherited from the provider
|
|
176
|
+
* A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
177
177
|
*/
|
|
178
178
|
tagsAll?: pulumi.Input<{
|
|
179
179
|
[key: string]: pulumi.Input<string>;
|
|
@@ -209,7 +209,7 @@ export interface ContactFlowArgs {
|
|
|
209
209
|
*/
|
|
210
210
|
name?: pulumi.Input<string>;
|
|
211
211
|
/**
|
|
212
|
-
* Tags to apply to the Contact Flow. If configured with a provider
|
|
212
|
+
* Tags to apply to the Contact Flow. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
213
213
|
*/
|
|
214
214
|
tags?: pulumi.Input<{
|
|
215
215
|
[key: string]: pulumi.Input<string>;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Provides details about a specific Lex (V1) Bot associated with an Amazon Connect instance.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
* ### By name
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aws from "@pulumi/aws";
|
|
12
|
+
*
|
|
13
|
+
* const example = pulumi.output(aws.connect.getBotAssociation({
|
|
14
|
+
* instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
|
|
15
|
+
* lexBot: {
|
|
16
|
+
* name: "Test",
|
|
17
|
+
* },
|
|
18
|
+
* }));
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare function getBotAssociation(args: GetBotAssociationArgs, opts?: pulumi.InvokeOptions): Promise<GetBotAssociationResult>;
|
|
22
|
+
/**
|
|
23
|
+
* A collection of arguments for invoking getBotAssociation.
|
|
24
|
+
*/
|
|
25
|
+
export interface GetBotAssociationArgs {
|
|
26
|
+
/**
|
|
27
|
+
* The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
|
|
28
|
+
*/
|
|
29
|
+
instanceId: string;
|
|
30
|
+
/**
|
|
31
|
+
* Configuration information of an Amazon Lex (V1) bot. Detailed below.
|
|
32
|
+
*/
|
|
33
|
+
lexBot: inputs.connect.GetBotAssociationLexBot;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* A collection of values returned by getBotAssociation.
|
|
37
|
+
*/
|
|
38
|
+
export interface GetBotAssociationResult {
|
|
39
|
+
/**
|
|
40
|
+
* The provider-assigned unique ID for this managed resource.
|
|
41
|
+
*/
|
|
42
|
+
readonly id: string;
|
|
43
|
+
readonly instanceId: string;
|
|
44
|
+
readonly lexBot: outputs.connect.GetBotAssociationLexBot;
|
|
45
|
+
}
|
|
46
|
+
export declare function getBotAssociationOutput(args: GetBotAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetBotAssociationResult>;
|
|
47
|
+
/**
|
|
48
|
+
* A collection of arguments for invoking getBotAssociation.
|
|
49
|
+
*/
|
|
50
|
+
export interface GetBotAssociationOutputArgs {
|
|
51
|
+
/**
|
|
52
|
+
* The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
|
|
53
|
+
*/
|
|
54
|
+
instanceId: pulumi.Input<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Configuration information of an Amazon Lex (V1) bot. Detailed below.
|
|
57
|
+
*/
|
|
58
|
+
lexBot: pulumi.Input<inputs.connect.GetBotAssociationLexBotArgs>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.getBotAssociationOutput = exports.getBotAssociation = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides details about a specific Lex (V1) Bot associated with an Amazon Connect instance.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
* ### By name
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as aws from "@pulumi/aws";
|
|
17
|
+
*
|
|
18
|
+
* const example = pulumi.output(aws.connect.getBotAssociation({
|
|
19
|
+
* instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
|
|
20
|
+
* lexBot: {
|
|
21
|
+
* name: "Test",
|
|
22
|
+
* },
|
|
23
|
+
* }));
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
function getBotAssociation(args, opts) {
|
|
27
|
+
if (!opts) {
|
|
28
|
+
opts = {};
|
|
29
|
+
}
|
|
30
|
+
if (!opts.version) {
|
|
31
|
+
opts.version = utilities.getVersion();
|
|
32
|
+
}
|
|
33
|
+
return pulumi.runtime.invoke("aws:connect/getBotAssociation:getBotAssociation", {
|
|
34
|
+
"instanceId": args.instanceId,
|
|
35
|
+
"lexBot": args.lexBot,
|
|
36
|
+
}, opts);
|
|
37
|
+
}
|
|
38
|
+
exports.getBotAssociation = getBotAssociation;
|
|
39
|
+
function getBotAssociationOutput(args, opts) {
|
|
40
|
+
return pulumi.output(args).apply(a => getBotAssociation(a, opts));
|
|
41
|
+
}
|
|
42
|
+
exports.getBotAssociationOutput = getBotAssociationOutput;
|
|
43
|
+
//# sourceMappingURL=getBotAssociation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getBotAssociation.js","sourceRoot":"","sources":["../../connect/getBotAssociation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,8CAYC;AA4BD,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,0DAEC"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Provides details about a specific Amazon Connect Hours of Operation.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* By `name`
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as aws from "@pulumi/aws";
|
|
13
|
+
*
|
|
14
|
+
* const test = pulumi.output(aws.connect.getHoursOfOperation({
|
|
15
|
+
* instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
|
|
16
|
+
* name: "Test",
|
|
17
|
+
* }));
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* By `hoursOfOperationId`
|
|
21
|
+
*
|
|
22
|
+
* ```typescript
|
|
23
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
24
|
+
* import * as aws from "@pulumi/aws";
|
|
25
|
+
*
|
|
26
|
+
* const test = pulumi.output(aws.connect.getHoursOfOperation({
|
|
27
|
+
* hoursOfOperationId: "cccccccc-bbbb-cccc-dddd-111111111111",
|
|
28
|
+
* instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
|
|
29
|
+
* }));
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export declare function getHoursOfOperation(args: GetHoursOfOperationArgs, opts?: pulumi.InvokeOptions): Promise<GetHoursOfOperationResult>;
|
|
33
|
+
/**
|
|
34
|
+
* A collection of arguments for invoking getHoursOfOperation.
|
|
35
|
+
*/
|
|
36
|
+
export interface GetHoursOfOperationArgs {
|
|
37
|
+
/**
|
|
38
|
+
* Returns information on a specific Hours of Operation by hours of operation id
|
|
39
|
+
*/
|
|
40
|
+
hoursOfOperationId?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Reference to the hosting Amazon Connect Instance
|
|
43
|
+
*/
|
|
44
|
+
instanceId: string;
|
|
45
|
+
/**
|
|
46
|
+
* Returns information on a specific Hours of Operation by name
|
|
47
|
+
*/
|
|
48
|
+
name?: string;
|
|
49
|
+
/**
|
|
50
|
+
* A the map of tags to assign to the Hours of Operation.
|
|
51
|
+
*/
|
|
52
|
+
tags?: {
|
|
53
|
+
[key: string]: string;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* A collection of values returned by getHoursOfOperation.
|
|
58
|
+
*/
|
|
59
|
+
export interface GetHoursOfOperationResult {
|
|
60
|
+
/**
|
|
61
|
+
* Specifies configuration information for the hours of operation: day, start time, and end time . Config blocks are documented below. Config blocks are documented below.
|
|
62
|
+
*/
|
|
63
|
+
readonly configs: outputs.connect.GetHoursOfOperationConfig[];
|
|
64
|
+
/**
|
|
65
|
+
* Specifies the description of the Hours of Operation.
|
|
66
|
+
*/
|
|
67
|
+
readonly description: string;
|
|
68
|
+
/**
|
|
69
|
+
* The Amazon Resource Name (ARN) of the Hours of Operation.
|
|
70
|
+
*/
|
|
71
|
+
readonly hoursOfOperationArn: string;
|
|
72
|
+
/**
|
|
73
|
+
* The identifier for the hours of operation.
|
|
74
|
+
*/
|
|
75
|
+
readonly hoursOfOperationId: string;
|
|
76
|
+
/**
|
|
77
|
+
* The provider-assigned unique ID for this managed resource.
|
|
78
|
+
*/
|
|
79
|
+
readonly id: string;
|
|
80
|
+
/**
|
|
81
|
+
* Specifies the identifier of the hosting Amazon Connect Instance.
|
|
82
|
+
*/
|
|
83
|
+
readonly instanceId: string;
|
|
84
|
+
/**
|
|
85
|
+
* Specifies the name of the Hours of Operation.
|
|
86
|
+
*/
|
|
87
|
+
readonly name: string;
|
|
88
|
+
/**
|
|
89
|
+
* A the map of tags to assign to the Hours of Operation.
|
|
90
|
+
*/
|
|
91
|
+
readonly tags: {
|
|
92
|
+
[key: string]: string;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Specifies the time zone of the Hours of Operation.
|
|
96
|
+
*/
|
|
97
|
+
readonly timeZone: string;
|
|
98
|
+
}
|
|
99
|
+
export declare function getHoursOfOperationOutput(args: GetHoursOfOperationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetHoursOfOperationResult>;
|
|
100
|
+
/**
|
|
101
|
+
* A collection of arguments for invoking getHoursOfOperation.
|
|
102
|
+
*/
|
|
103
|
+
export interface GetHoursOfOperationOutputArgs {
|
|
104
|
+
/**
|
|
105
|
+
* Returns information on a specific Hours of Operation by hours of operation id
|
|
106
|
+
*/
|
|
107
|
+
hoursOfOperationId?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Reference to the hosting Amazon Connect Instance
|
|
110
|
+
*/
|
|
111
|
+
instanceId: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Returns information on a specific Hours of Operation by name
|
|
114
|
+
*/
|
|
115
|
+
name?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* A the map of tags to assign to the Hours of Operation.
|
|
118
|
+
*/
|
|
119
|
+
tags?: pulumi.Input<{
|
|
120
|
+
[key: string]: pulumi.Input<string>;
|
|
121
|
+
}>;
|
|
122
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.getHoursOfOperationOutput = exports.getHoursOfOperation = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides details about a specific Amazon Connect Hours of Operation.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* By `name`
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const test = pulumi.output(aws.connect.getHoursOfOperation({
|
|
20
|
+
* instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
|
|
21
|
+
* name: "Test",
|
|
22
|
+
* }));
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* By `hoursOfOperationId`
|
|
26
|
+
*
|
|
27
|
+
* ```typescript
|
|
28
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
+
* import * as aws from "@pulumi/aws";
|
|
30
|
+
*
|
|
31
|
+
* const test = pulumi.output(aws.connect.getHoursOfOperation({
|
|
32
|
+
* hoursOfOperationId: "cccccccc-bbbb-cccc-dddd-111111111111",
|
|
33
|
+
* instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
|
|
34
|
+
* }));
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
function getHoursOfOperation(args, opts) {
|
|
38
|
+
if (!opts) {
|
|
39
|
+
opts = {};
|
|
40
|
+
}
|
|
41
|
+
if (!opts.version) {
|
|
42
|
+
opts.version = utilities.getVersion();
|
|
43
|
+
}
|
|
44
|
+
return pulumi.runtime.invoke("aws:connect/getHoursOfOperation:getHoursOfOperation", {
|
|
45
|
+
"hoursOfOperationId": args.hoursOfOperationId,
|
|
46
|
+
"instanceId": args.instanceId,
|
|
47
|
+
"name": args.name,
|
|
48
|
+
"tags": args.tags,
|
|
49
|
+
}, opts);
|
|
50
|
+
}
|
|
51
|
+
exports.getHoursOfOperation = getHoursOfOperation;
|
|
52
|
+
function getHoursOfOperationOutput(args, opts) {
|
|
53
|
+
return pulumi.output(args).apply(a => getHoursOfOperation(a, opts));
|
|
54
|
+
}
|
|
55
|
+
exports.getHoursOfOperationOutput = getHoursOfOperationOutput;
|
|
56
|
+
//# sourceMappingURL=getHoursOfOperation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getHoursOfOperation.js","sourceRoot":"","sources":["../../connect/getHoursOfOperation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qDAAqD,EAAE;QAChF,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,kDAcC;AAkED,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,8DAEC"}
|